Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/BJe1E2R5KX/BJe1E2R5KX.md +0 -0
- parse/train/BJe1E2R5KX/BJe1E2R5KX_content_list.json +0 -0
- parse/train/BJe1E2R5KX/BJe1E2R5KX_middle.json +0 -0
- parse/train/BJe1E2R5KX/BJe1E2R5KX_model.json +0 -0
- parse/train/Bk9nkMa4G/Bk9nkMa4G.md +250 -0
- parse/train/Bk9nkMa4G/Bk9nkMa4G_content_list.json +1402 -0
- parse/train/Bk9nkMa4G/Bk9nkMa4G_middle.json +0 -0
- parse/train/Bk9nkMa4G/Bk9nkMa4G_model.json +0 -0
- parse/train/HkGzUjR5tQ/HkGzUjR5tQ.md +290 -0
- parse/train/HkGzUjR5tQ/HkGzUjR5tQ_content_list.json +1562 -0
- parse/train/HkGzUjR5tQ/HkGzUjR5tQ_middle.json +0 -0
- parse/train/HkGzUjR5tQ/HkGzUjR5tQ_model.json +0 -0
- parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H.md +227 -0
- parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_content_list.json +1262 -0
- parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_middle.json +0 -0
- parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_model.json +0 -0
- parse/train/vrCiOrqgl3B/vrCiOrqgl3B.md +683 -0
- parse/train/vrCiOrqgl3B/vrCiOrqgl3B_content_list.json +0 -0
- parse/train/vrCiOrqgl3B/vrCiOrqgl3B_middle.json +0 -0
- parse/train/vrCiOrqgl3B/vrCiOrqgl3B_model.json +0 -0
parse/train/BJe1E2R5KX/BJe1E2R5KX.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJe1E2R5KX/BJe1E2R5KX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJe1E2R5KX/BJe1E2R5KX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJe1E2R5KX/BJe1E2R5KX_model.json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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# BAYESIAN EMBEDDINGS FOR LONG-TAILED DATASETS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
The statistics of the real visual world presents a long-tailed distribution: a few classes have significantly more training instances than the remaining classes in a dataset. This is because the real visual world has a few classes that are common while others are rare. Unfortunately, the performance of a convolutional neural network is typically unsatisfactory when trained using a long-tailed dataset. To alleviate this issue, we propose a method that discriminatively learns an embedding in which a simple Bayesian classifier can balance the class-priors to generalize well for rare classes. To this end, the proposed approach uses a Gaussian mixture model to factor out class-likelihoods and class-priors in a long-tailed dataset. The proposed method is simple and easy-to-implement in existing deep learning frameworks. Experiments on publicly available datasets show that the proposed approach improves the performance on classes with few training instances, while maintaining a comparable performance to the state-of-the-art on classes with abundant training examples.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep convolutional neural networks (CNN) have achieved impressive results in large-scale visual recognition tasks (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; Szegedy et al., 2015; Mnih et al., 2015; 2013; He et al., 2016; Huang et al., 2017). However, despite the significant impact in visual perception, the vast majority of these advancements learn from artificially balanced largescale datasets that are not representative of the real visual world (Nene et al., 1996; Griffin et al., 2007; Deng et al., 2009; Quattoni & Torralba, 2009; Lin et al., 2014; Russakovsky et al., 2015). The statistics of the real visual world follow a long-tailed distribution (Zhu et al., 2014; 2016; Van Horn & Perona, 2017; Salakhutdinov et al., 2011; Wang & Hebert, 2016; Wang et al., 2017). This means that a few classes are predominant in the world while others are rare. Consequently, representative real-world datasets have a few classes with significantly more training instances than the remaining classes in the set; see Fig. 1(a) for an illustration of a long-tailed dataset. We refer to classes with abundant training instances as classes in the head, and unrepresented classes as classes in the tail.
|
| 12 |
+
|
| 13 |
+
As Van Horn & Perona (2017) note, the main motivation for visual recognition is to understand and learn from the real visual world. Thus, while the state-of-the-art can challenge humans in visual recognition tasks, it misses a mechanism that effectively learns from long-tailed datasets. As Van Horn & Perona (2017) found, training models using long-tailed datasets often leads to unsatisfying performance. This is because classifiers tend to generalize well for classes in the head, but lack generalization for classes in the tail.
|
| 14 |
+
|
| 15 |
+
To alleviate this issue, learned classifiers need to generalize for classes in the tail while maintaining a good performance for all the classes. Recent efforts that aim to learn from long-tailed datasets consider penalities in the optimization-learning problem (Huang et al., 2016), sampling-based methods (He & Garcia, 2009), and transfer-learning algorithms (Wang & Hebert, 2016; Wang et al., 2017). In contrast with these solutions, the proposed method aims to learn an embedding in which the distribution of the real visual world allows a simple Bayesian classifier to predict robustly given a long-tailed dataset.
|
| 16 |
+
|
| 17 |
+
Long-tailed datasets have class-prior statistics that heavily skew towards classes in the head. This skew can bias classifiers towards classes in the head, and consequently can reduce generalization for classes in the tail. To remove this skew, we appeal to Bayesian classifiers that can explicitly factor out the likelihood and prior when computing posteriors over class labels. Thus, the main goal of this work is to learn a feature embedding in which class prior statistics do not affect/skew class likelihoods. The proposed approach uses a simple Gaussian mixture model (GMM) to describe the statistics of a long-tailed dataset. This is because it enables a clean factorization of the class-likelihoods and class-priors. Moreover, it easily fits within an empirical Bayesian classification framework, because a GMM enables the computation of closed-form maximum likelihood estimation (MLE) of class-specific means, covariance matrices, and priors. We show that such closed-form estimates can be integrated into existing deep learning optimizers without much effort. By fixing the covariance matrices of all the classes to be the identity and the priors over each class to be uniform, we can explicitly enforce that both rare classes in the tail and dominant classes in the head have equal weight for Bayesian classification. In simple terms: we learn a discriminative embedding of training data such that Bayesian classifiers with balanced priors produce accurate class posteriors. As a point of clarity, the proposed approach does not learn an embedding in the traditional Bayesian sense, which might define a prior distribution over embeddings that is then combined with training data to produce a posterior embedding. Rather, it learns a single embedding that is discriminatively trained to produce accurate features for Bayesian classifiers. See Fig. 1 for an illustration about the proposed approach.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: (a) The real visual world yields long-tailed datasets. Classes in the head are common (e.g., cats) while classes in the tail are rare (e.g., white reindeers). (b) The proposed approach builds a generative (Bayesian) classifier over a learned embedding to compute class-posterior probabilities. In an empirical Bayesian framework, posteriors are computed through class likelihoods and priors fit to the data (e.g., sample means, variances, and counts assuming Gaussian Mixture Models). We introduce an end-to-end pipeline for jointly learning embeddings and Bayesian models built upon them. (c) Bayesian models are particularly well-suited for long-tailed datasets because class priors and likelihoods can be fixed to be uniform and isotropic, ensuring that the learned representation is balanced across the head and tail.
|
| 21 |
+
|
| 22 |
+
A GMM not only is useful for learning an embedding using a long-tailed dataset, but also provides flexibility at the evaluation stage. This is because it enables the measurement of generalization for classes in the tail by simply setting equal class-prior probabilities. In addition, it enables the possibility of giving more importance to the most frequent classes by adjusting their respective class-prior probabilities.
|
| 23 |
+
|
| 24 |
+
In sum, the proposed approach aims to learn an embedding in which a GMM enables a Bayesian classifier to generalize well for classes in the tail by balancing out class-priors. The proposed method is simple, easy-to-train using deep learning frameworks, and increases classification performance for classes in the tail. The experiments on publicly available datasets show that this approach tends to perform better on classes in the tail than the competing methods, while performing comparable to the state-of-the-art on classes with abundant training instances.
|
| 25 |
+
|
| 26 |
+
# 2 RELATED WORK
|
| 27 |
+
|
| 28 |
+
The main challenges for learning models using long-tailed datasets comprise learning parameters that generalize from a few-shots and avoiding classifier bias. While the proposed approach aims to tackle these two problems simultaneously, methods that tackle each of these problems independently are still relevant. As such, this section not only covers prior work on learning using imbalanced datasets, but also covers relevant solutions for few-shot learning. Given that the proposed approach is based on a GMM model, this section also covers recent approaches that use class-centroid representations for incremental learning and for improving discriminative properties.
|
| 29 |
+
|
| 30 |
+
# 2.1 LEARNING FROM LONG-TAILED DATASETS
|
| 31 |
+
|
| 32 |
+
Simple techniques that deal with imbalanced datasets use random sampling to artificially create a more balanced training set (He & Garcia, 2009). For instance, random oversampling effectively “repeats” training instances from the classes in the tail, while random undersampling “removes” instances from the classes with abundant training instances. Thus, these techniques address imbalanced datasets by means of artificially balancing the training set. An alternative approach to deal with long-tailed datasets use transfer learning techniques. Wang et al. (2017) proposed MetaModelNet, a meta-learning algorithm that learns the evolution of parameters when gradually including more training samples. MetaModelNet improves the performance of CNN models since it transfers the parameter-evolution knowledge from data-rich classes to categories in the tail. Rather than artificially modifying the training set or use transfer learning, the proposed approach aims to learn an embedding that allows classifiers to generalize when learning from a long-tailed dataset. Consequently, the proposed method can complement sampling or transfer-learning-based methods.
|
| 33 |
+
|
| 34 |
+
# 2.2 FEW-SHOT LEARNING AND CLASS-CENTROID-BASED REPRESENTATIONS
|
| 35 |
+
|
| 36 |
+
Recent approaches in this category aim to learn good parameters from a few training instances (Snell et al., 2017; Hariharan & Girshick, 2017). A recent approach that considers an imbalanced dataset to tackle few-shot learning is the work by Hariharan & Girshick (2017). Their proposed approach learns a feature embedding from the classes with the most samples in the dataset. Then, the approach “hallucinates” samples for classes with a few training instances in the learned embedding. While this work learns from an imabalanced dataset, it considers a different setting that that of the proposed approach. The work by Hariharan & Girshick (2017) assumes that classes with few instances are added incrementally. The proposed approach differs in this regard, since the introduced method aims to learn the embedding using the entire long-tailed dataset, generalize, and avoid any bias towards the classes with abundant training instances.
|
| 37 |
+
|
| 38 |
+
To achieve generalization given a few shots in an incremental learning context, Rebuffi et al. (2017) proposed iCaRL, a deep-learning-based incremental classifier. Similarly to the proposed approach, iCaRL represents each class using a single centroid in an embedding learned using a regular CNN model. However, instead of using the learned softmax classifier, it uses a nearestclass-mean (Mensink et al., 2013) classifier. Unlike iCaRL that uses features from a learned CNNsoftmax model, the proposed approach learns an embedding using a generative model. It is worth noting that the proposed approach uses a GMM, which by default includes a nearest-class-mean classifier as part of the learning problem. The use of class-centroids in learning representations is also useful to improve discriminative properties. Wen et al. (2016) proposed a loss that aims to minimize intra-class variation in CNN-softmax models. Unlike the center-loss approach, the proposed method minimizes the intra-class variation automatically by finding the GMM parameters in the learned embedding. Different from the center-loss that requires a mechanism to estimate the class-centroids, the proposed approach uses back-propagation to learn the GMM parameters. A recent approach that aims to generalize by using class-centroid representations are the Prototypical Networks (proto-nets) by Snell et al. (2017). Proto-nets estimate the class centroids from a slice of a mini-batch-like subset of the training set. Then, they evaluate the loss from the complementary slice of the mini-batch-like subset, and update the feature encoder weights. The proposed approach has two main differences with proto-nets. First, the proposed approach is based on generative models describing the statistics of an imbalanced dataset, rather than learning an embedding tailored for a nearest-class-mean classifier that requires specific parameter-update rules. Second, the proposed approach uses regular batching mechanisms and updates parameters using back-propagation. Thus, in constrast with proto-nets, the proposed approach avoids modifying components in the deep learning frameworks.
|
| 39 |
+
|
| 40 |
+
# 3 BAYESIAN EMBEDDINGS
|
| 41 |
+
|
| 42 |
+
The goal of this work is to learn an embedding that allows a simple Bayesian classifier to robustly operate given a long-tailed training dataset. Specifically, this work aims to learn an encoder $f _ { w } ( \cdot )$ , parameterized by its set of weights $w$ , that produces a good representation for Bayesian classification given a long-tailed dataset.
|
| 43 |
+
|
| 44 |
+
In order to learn the aforementioned encoder, the proposed approach requires a model that describes the distribution of the data. Let $x = f _ { w } ( I )$ be the encoded feature for image $I$ and $y$ be its corresponding class label. Thus, the distribution of the training set can be described with the following joint probability:
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\begin{array} { r l } & { p ( x , y ) = p ( x \mid y ) p ( y ) } \\ & { \qquad = p ( f _ { w } ( I ) \mid y ; \theta _ { y } ) \pi _ { y } } \\ & { \qquad = p ( x , y ; \ w , \theta ) } \end{array}
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $p ( f _ { w } ( I ) \mid y ; \theta _ { y } )$ represents the likelihood of observing the feature vector $x$ as part of class $y$ , and $\pi _ { y }$ is the prior probabilities for class $y$ . The likelihood is a function with parameters $\theta _ { y }$ (e.g., parameters of a multivariate Gaussian) that describes the distribution of the feature vectors in the embedding. Thus, the joint probability of the data $p ( x , y ; ~ w , \theta )$ is a function with parameters composed by the the encoder $w$ parameters, and the Bayesian parameters $\theta$ which include the likelihood parameters $\theta _ { y }$ , and priors $\pi _ { y }$ . In practice, the likelihood parameters proves most crucial as it is not sensitive to class priors, which can be misleading in the long-tailed setting (as discussed in Section 3.1).
|
| 51 |
+
|
| 52 |
+
Given the above joint probability model, the posterior probability for class $y$ given a feature vector $x$ can be computed using Bayes rule as follows:
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
p ( y \mid x ; \boldsymbol { w } , \boldsymbol { \theta } ) = \frac { p ( f _ { w } ( I ) \mid y ; \theta _ { y } ) \pi _ { y } } { \sum _ { k } p ( f _ { w } ( I ) \mid k ; \theta _ { k } ) \pi _ { k } } ,
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $\theta$ is a concatenation of the likelihood parameters and priors of all the classes. Thus, the class posterior probability is a function that depends on the encoder parameters $w$ and the Bayesian parameters $\theta$ .
|
| 59 |
+
|
| 60 |
+
The overall objective of this work is to jointly learn the weights $w$ of the feature encoder and the Bayesian parameters $\theta$ to guarantee a good classification performance. Given a training dataset of images and label pairs $\mathcal { D } = \{ ( x _ { i } , y _ { i } ) \}$ , we propose to learn parameters by maximizing the Bayesian class-posterior probability of the true class labels:
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\operatorname* { m i n i m i z e } _ { \boldsymbol { w } } \sum _ { i } - \log p ( \boldsymbol { y } _ { i } \mid \boldsymbol { x } _ { i } ; \boldsymbol { w } , \boldsymbol { \theta } ) \qquad \mathrm { s u b j e c t ~ t o } \qquad \boldsymbol { \theta } = \mathbf { M L E } ( \mathcal { D } ) ,
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
where MLE is a function that computes the closed form maximum likelihood estimates of the parameters of our Bayesian model, a procedure commonly known as Empirical Bayes (Bishop, 2006).
|
| 67 |
+
|
| 68 |
+
To use existing solvers for learning deep networks, we reformulate the problem shown in Eq. (3) as an unconstrained optimization by using a Lagrangian penalty (Boyd & Vandenberghe, 2004) that penalizes solutions which violate the constraint:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\operatorname* { m i n i m i z e } _ { \boldsymbol { w } , \boldsymbol { \theta } } \quad \sum _ { i } - \log p ( y _ { i } \mid \boldsymbol { x } _ { i } ; \boldsymbol { w } , \boldsymbol { \theta } ) + \lambda \| \boldsymbol { \theta } - \mathbf { M } \mathbf { L } \mathbf { E } ( \mathcal { D } ) \| ^ { 2 } \quad ,
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
where $\lambda \geq 0$ . In this formulation, the optimization explicitly searches over the feature encoder parameters $w$ and the Bayesian parameters $\theta$ so as to maximize class posterior probabilities. The last term penalizes deviations of the $\theta$ parameters from their MLE estimates, effectively acting as a regularizer.
|
| 75 |
+
|
| 76 |
+
# 3.1 GMM EMBEDDINGS FOR HEAVILY TAILED DATASETS
|
| 77 |
+
|
| 78 |
+
GMMs: The likelihood models are crucial to determine the parameters that allows the proposed approach to learn the feature encoder given a long-tailed dataset. We propose to use a multivariate Gaussian probability density function as the likelihood model. Given this likelihood model, the proposed approach implicitly uses a Gaussian mixture model to represent the distribution of the training set. Using a multivariate Gaussian brings benefits to the proposed formulation. This is because its parameters (the centroid $\mu$ , covariance matrix $\Sigma$ , and prior $\pi$ ) have an intuitive meaning and closed-form-maximum-likelihood estimators. Interestingly, as discussed by van den Oord & Schrauwen (2014) and Patel et al. (2016), a mixture of multivariate Gaussians can be used to theoretically motivate the success of deep learning.
|
| 79 |
+
|
| 80 |
+
Balancing: The use of a GMM not only brings simplicity into the formulation, but also allows the feature encoder to generalize better for classes in the tail. The generalization aspect of a GMM model comes from the fact that a class is described with a single centroid. The benefit of this class representation is that estimating the centroid with a handful of examples is simple and produces a good estimate. Perhaps more importantly, a GMM allows us to access specific parameters that control the probabilistic “footprint” of each class in the embedded space. We can set these parameters to ensure balanced footprints by fixing the covariance matrices to be the identity and the class priors to be uniform - see Fig. 1-(c). The remaining parameters to be estimated are then the class means $\boldsymbol { \mu } = ( \mu _ { 1 } , \dots , \mu _ { n _ { c } } )$ . Given this setting and considering that deep-learning frameworks use mini batches, the unconstrained problem shown in Eq. (4) becomes:
|
| 81 |
+
|
| 82 |
+

|
| 83 |
+
Figure 2: We compare the effect of gradient-based updates for a traditional softmax classifier versus our Bayesian embedding model. Recall that our approach learns an embedding for which Bayesian classifiers produce accurate class posteriors. During softmax training, an “easy” example of a class will tend to not generate a strong gradient update, and so is not useful for learning (left). This might be considered paradoxical: when children learn a new concept (for say, a never-before-seen animal), an easy or “protypical” example might be most informative for learning. On the other hand, in our framework, an easy example of a class will change its centroid, generating a strong signal for updating our learned representation (right).
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\underset { w , \mu } { \mathrm { n i m i z e } } \quad \frac { 1 } { m } \sum _ { i = 1 } ^ { m } - \log \left( \frac { \exp \left( - \frac { 1 } { 2 } \| f _ { w } ( I _ { i } ) - \mu _ { y _ { i } } \| ^ { 2 } \right) } { \sum _ { k } \exp \left( - \frac { 1 } { 2 } \| f _ { w } ( I _ { i } ) - \mu _ { k } \| ^ { 2 } \right) } \right) + \lambda \sum _ { j \in \mathcal { M } } \| \mu _ { j } - \frac { 1 } { n _ { j } } \sum _ { i ^ { \prime } : y _ { i ^ { \prime } } = j } f _ { w } ( I _ { i ^ { \prime } } ) \| ^ { 2 } \quad ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $y _ { i }$ is the true class label/index for the $i$ -th data point, $m$ is the batch size, $\mathcal { M }$ is the set of class indices in the batch, $n _ { j }$ is the number of samples of the $j$ -th class in the batch, and $i ^ { \prime }$ is the index running over instances in the batch.
|
| 90 |
+
|
| 91 |
+
# 3.2 DISCUSSION
|
| 92 |
+
|
| 93 |
+
Other probabilistic models: Our analysis and experiments focus on Gaussian Mixture Models, but the general learning problem from Eq. (4) holds for other probabilistic models. For example, deep embeddings can be learned for rectified (nonnegative) or binary features (Agrawal et al., 2014; Erin Liong et al., 2015). For such embeddings, likelihood models based on rectified Gaussians or multivariate Bernoulli distributions may be more appropriate Socci et al. (1998); Teugels (1990). Such models do not appear to have closed form maximum likelihood estimates, and so may be challenging to formulate precisely as a constrained optimization problem.
|
| 94 |
+
|
| 95 |
+
Relationship to softmax: The GMM-based formulation has a direct relationship with softmax classifiers. This relationship can be obtained by expanding the squared distance terms in the classposterior probability, yielding the following:
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\begin{array} { r l } & { p \left( y _ { i } \mid f _ { w } ( I _ { i } ) ; \boldsymbol { w } , \mu \right) = \frac { \exp \big ( - \frac { 1 } { 2 } \| f _ { w } ( I _ { i } ) - \mu _ { j } \| ^ { 2 } \big ) } { \sum _ { k } \exp \big ( - \frac { 1 } { 2 } \| f _ { w } ( I _ { i } ) - \mu _ { k } \| ^ { 2 } \big ) } } \\ & { \qquad = \frac { \exp \big ( \mu _ { j } ^ { T } f _ { w } ( I _ { i } ) - \frac { 1 } { 2 } \big ( \| f _ { w } ( I _ { i } ) \| ^ { 2 } + \| \mu _ { j } \| ^ { 2 } \big ) \big ) } { \sum _ { k } \exp \big ( \mu _ { k } ^ { T } f _ { w } ( I _ { i } ) - \frac { 1 } { 2 } \big ( \| f _ { w } ( I _ { i } ) \| ^ { 2 } + \| \mu _ { k } \| ^ { 2 } \big ) \big ) } , } \\ & { \qquad = \frac { \exp \big ( v _ { j } ^ { T } f _ { w } ( I _ { i } ) + b _ { j } \big ) } { \sum _ { k } \exp \big ( v _ { k } ^ { T } f _ { w } ( I _ { i } ) + b _ { k } \big ) } } \end{array}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where $v _ { j } = \mu _ { j }$ and $b _ { j } = - { \textstyle \frac { 1 } { 2 } } \| v _ { j } \| ^ { 2 }$ , since $- \frac { 1 } { 2 } \| f _ { w } ( I _ { i } ) \| ^ { 2 }$ is a common term between the numerator and denominator. This relationship thus indicates that the proposed approach fits linear classifiers with restricted biases. This relationship is useful for an easy implementation in many deep learning frameworks. This is because this approach can be implemented using a dense layer without the bias terms. In addition, this relationship shows that the proposed approach requires fewer parametersto-learn in comparison with classical CNN-softmax models. An more intuitive comparison between GMMs and softmax classifiers can be made with respect to to their parameter updates. Intuitively, during softmax training, an “easy” example of a class will not generate a model update. In some sense, this might be considered paradoxical. When children learn a new concept (for say, a neverbefore-seen animal), they tend to be presented with an easy or “protypical” example. On the other hand, an easy example of a class will change its centroid, generating a signal for learning - see Fig. 2.
|
| 102 |
+
|
| 103 |
+
# 4 EXPERIMENTS
|
| 104 |
+
|
| 105 |
+
This section presents a series of experiments evaluating the learned embedding computed using the proposed method and long-tailed datasets. Since the goal of the experiments is to evaluate the feature encoder, all the experiments trained all the baselines or competing methods and the proposed one from scratch. An additional goal of the experiments is to show that the proposed approach can be adapted to any CNN architecture. For this reason, the experiments also used legacy and recent CNN architectures.
|
| 106 |
+
|
| 107 |
+
Datasets: One evaluation aspect of the experiments is to measure the performance on smalland medium-scale datasets. The experiments included MNIST (LeCun et al., 1998) and CIFAR 10 (Krizhevsky & Hinton, 2009) as the small-scale datasets (each with ten classes); and CIFAR 100 (Krizhevsky & Hinton, 2009) and Tiny ImageNet 1 as the medium-scale datasets (with hundred and two hundred classes, respectively). The balanced MNIST dataset contains 60,000 and 10,000 $2 8 \mathbf { x } 2 8$ training and testing images depicting hand-written digits, respectively. The CIFAR 10 dataset contains 50,000 and $1 0 , 0 0 0 3 2 \mathrm { x } 3 2$ training and testing images, respectively. The CIFAR 100 dataset contains 500 and $1 0 0 \ 3 2 \mathrm { x } \lambda 2$ training and testing images per class, respectively. Lastly, Tiny ImageNet has 500 and 50 64x64 training and testing images for every class, respectively. However, the experiments used a $2 2 4 \mathbf { x } 2 2 4$ image instead. See Sec. 4.1 for details on how the experiments processed these datasets to evaluate classifiers using long-tailed datasets.
|
| 108 |
+
|
| 109 |
+
Baselines: The experiments included recent approaches that deal with imbalanced datasets. These approaches include iCaRL (Rebuffi et al., 2017), center loss (Wen et al., 2016), and a plain softmax classifier. The experiments also consider a variation of iCaRL. This variation does not use normalized feature vectors as originally proposed by Rebuffi et al. (2017). While prototypical networks (Snell et al., 2017) are similar to the proposed approach, they require a balanced dataset with a few training instances for every class. Since prototypical networks do not assume a long-tailed dataset, these experiments did not include it as a competing method. The experiment also considered a method that uses a full GMM model (i.e., full covariance, means, and priors) of a softmax representation of the training set. As discussed in Sec. 2, MetaModelNet (Wang et al., 2017) deals with long-tailed datasets by operating at the classifier-parameter level, since it is a meta-learning algorithm. Thus, MetaModelNet does not learn an embedding, and consequently complements the proposed method.
|
| 110 |
+
|
| 111 |
+
Implementation Details: All the experiments were implemented on top of TensorFlow Models $( \mathrm { T F M } ) ^ { 2 }$ . This open-source project implements various legacy architectures, and several preprocessing imaging techniques (e.g., random translations and shifts). The experiments used the following CNN architectures: LeNet (LeCun et al., 1998) for MNIST; CifarNet (Krizhevsky & Hinton, 2009) for CIFAR 10; AllCNN (Springenberg et al., 2014) for CIFAR 100; and VGG 16 (Simonyan & Zisserman, 2015) for Tiny ImageNet. We implemented center loss (Wen et al., 2016) and verified correctness using a balanced setting. We implemented the proposed approach in TFM using a fully connected layer with a restrictive bias. This is possible thanks to the relationship with linear classifiers discussed in Sec. 3.2. The regularizer was implemented using plain Tensorflow operations and was added as a regularizer function for the fully connected layer with restrictive bias. We will release the code upon publication. The hyperparameters for center-loss and the proposed approach were estimated using a validation set for every dataset. See Sec. A in the Appendix for the specific parameters.
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
Figure 3: Histogram of the number of training instances per class in the long-tailed datasets. From left to right, the datasets are MNIST, CIFAR 10, CIFAR 100, and Tiny ImageNet.
|
| 115 |
+
|
| 116 |
+
# 4.1 EVALUATION FOR LONG-TAILED DATASETS
|
| 117 |
+
|
| 118 |
+
The main motivation of this work is to learn from a realistic dataset representing the statistics of the real visual world. Recall that realistic datasets are long-tailed since the visual world has a few predominant classes while others are rare. As such, the performance evaluation of the visual recognition system in this setting needs to be discussed, since common evaluation methods may not be adequate given this context.
|
| 119 |
+
|
| 120 |
+
Intuitively, since the visual world yields long-tailed datasets, then the test set should ideally be long-tailed as well. While this rationale is logical given the statistics of the world, it has a main drawback: a simple classifier that is biased towards classes in the head is likely to perform well using a long-tailed testing set. While this setting may reflect a good performance for the common classes in practice, achieving a good performance for classes in the tail is still desirable in real practical applications. For instance, consider a self-driving car: the vehicle may easily detect common objects or events, e.g., pedestrians walking on the sidewalk. However, children playing soccer on the street is a rare event that can occur in the real world, and it is important to evaluate autonomous systems on such rare but crucial events. Thus, although rare events are infrequent, classifiers still need to account for them. Consequently, average accuracy on a long-tailed dataset is not an adequate measure of performance across rare classes.
|
| 121 |
+
|
| 122 |
+
An alternative approach using long-tailed testing sets is to evaluate per-class accuracy. This explicitly weights all classes – both in the head and tail – equally. However, this has the drawback that performance estimates of rare classes in the tail have high variability and can be unreliable. In the autonomous vehicle scenario above, we might encounter very few (or even no) examples of children playing street soccer in any finite testset. This means that performance estimates fort tail classes can be unreliable.
|
| 123 |
+
|
| 124 |
+
We propose an evaluation approach that addresses the bias towards the head and intra-class variation of classes in the tail. The proposed evaluation protocol requires a training and an evaluation procedure. The training setting includes several training trials that used different versions of long-tailed training sets. The evaluation procedure uses a balanced dataset. The use of a balanced testing set addresses the issue of classifiers that are biased towards the head since the class-priors are uniform and both classes in the head and tail contribute to the performance measure. Training a classifier using different long-tailed sets accounts for intra-class variation for classes in the tail. Consequently, aggregates of performance from these different trials account for the intra-class variation noise from classes in the tail. The experiments report a per-class accuracy average, the average class-accuracy, and their standard deviations over three different trails.
|
| 125 |
+
|
| 126 |
+
Because the considered datasets are balanced, the experiments “long-tailed” these datasets following the procedure proposed by Wang et al. (2017). For every class, the procedure computed the number of samples to draw from the balanced set using an exponential distribution. Thus, as the class index grows, the number of training instances decreases according to the exponential distribution. Given the computed number of samples to draw, the procedure randomly selects these instances from the balanced set to generate a training long-tailed dataset version. Fig. 3 shows a visualization of the training-instance distribution of the resultant long-tailed datasets. The experiments used the balanced testing sets because the goal is to measure generalization and overall performance.
|
| 127 |
+
|
| 128 |
+
# 4.2 PERFORMANCE ON LONG-TAILED DATASETS
|
| 129 |
+
|
| 130 |
+
The goal of this experiment is to evaluate the learned embedding using a long-tailed dataset. To do so, the experiments used the long-tailed datasets described above. In particular, the target is to measure any classification improvement for classes in the tail with respect to the regular softmax classifier. Since most of the baselines rely on class-centroids to classify, the experiments use a nearest-class-mean (Mensink et al., 2013) classifier. Thus, the experiments computed the deepfeatures for the training and testing sets after learning the feature encoder $f _ { w } ( \cdot )$ ; a deep feature is the output of $f _ { w } ( \cdot )$ which is the input tensor to the classifier or softmax layer. Then, the experiments computed a class centroid using the long-tailed training set for every method.
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 4: Left column: Relative classification accuracy gain of the competing and proposed methods with respect to a softmax classifier using long-tailed datasets. Overall, the proposed method tends to achieve a comparable accuracy to that of a softmax classifier while delivering an increase for tail classes. Right column: The performance of a softmax classifier. The performance for classes in the head is higher than that of the classes in the tail.
|
| 134 |
+
|
| 135 |
+
To measure the classification improvements, the experiments trained all the methods with three different long-tailed datasets and used the balanced testing sets. Then, the experiment computed an average class-accuracy from the three trials for every baseline. To measure the relative performance with respect to a softmax classifier, the experiment computed the ratio between the average classaccuracy of a competing method (i.e., iCaRL (Rebuffi et al., 2017), center loss (Wen et al., 2016), and the proposed method) and the average class-accuracy of a softmax classifier; the softmax classifier is the reference because it tends to bias towards classes in the head (Wang et al., 2017).
|
| 136 |
+
|
| 137 |
+
Table 1: Average relative performance with respect to a softmax classifier for classes in the head (H column) and tail (T column); the relative performance is the ratio between the class accuracies of a competing method and a softmax classifier. The proposed method increases the performance on classes in the tail while maintaining a comparable performance to that of a softmax classifier for classes in the head. Bold numbers indicate the highest performance per dataset in each row.
|
| 138 |
+
|
| 139 |
+
<table><tr><td rowspan="2">Datasets</td><td rowspan="2">iCarl [Unorm] H</td><td rowspan="2">T</td><td rowspan="2">H</td><td rowspan="2">iCarl [Norm] T</td><td rowspan="2">Center loss H</td><td rowspan="2">T</td><td colspan="2">Proposed</td></tr><tr><td>H</td><td>T</td></tr><tr><td>MNIST</td><td>0.98</td><td>1.00</td><td>0.99</td><td>1.01</td><td>0.99</td><td>1.00</td><td>0.99</td><td>1.01</td></tr><tr><td>CIFAR 10</td><td>0.95</td><td>2.22</td><td>0.95</td><td>2.22</td><td>0.92</td><td>1.8</td><td>0.98</td><td>2.44</td></tr><tr><td>CIFAR 100</td><td>0.72</td><td>0.80</td><td>0.83</td><td>0.90</td><td>0.71</td><td>0.66</td><td>0.96</td><td>1.04</td></tr><tr><td>Tiny ImageNet</td><td>0.86</td><td>1.07</td><td>0.95</td><td>1.06</td><td>0.76</td><td>0.8</td><td>0.97</td><td>1.12</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Fig. 4 shows the results of this experiment on small- and medium-scale datasets in the first two rows and last two rows, respectively. The Figure shows the relative performance for all the classes in a dataset in the left column, the class accuracy of a softmax classifier on the right column, and the average class-accuracy of the compared methods in the labels. All the plots in the left column show a black solid line indicating the performance of a softmax classifier. Thus, a decrement falls below the line while an increment raises above the line.
|
| 142 |
+
|
| 143 |
+
The results on the MNIST dataset (first row) show that most of the competing methods perform comparable to that of a softmax classifier. However, the GMM method underperforms for classes in the tail. For this dataset, a softmax classifier does not present a significant bias towards classes in the head. Thus, these results indicate that the competing and proposed methods, with the exception of the GMM, operate well given a dataset with minor visual variations (e.g., illumination variations, pose, occlusion, among others). Consequently, these results effectively work as a sanity check of the proposed and competing methods (i.e., iCaRl and Centerloss). The results on CIFAR 10 (second row) show that the proposed approach and competing methods tend to perform comparable to a softmax classifier for classes in the head (i.e., the first three classes). In addition, the results show that the GMM also underperforms for classes in the tail. However, the proposed approach and competing methods tend to increase relative performance for classes in the tail. In this dataset, the proposed approach achieved an average class-accuracy of $68 \%$ , which is the highest compared to all the methods.
|
| 144 |
+
|
| 145 |
+
The plots in the third row show the results on CIFAR 100. The plot in the left shows that the proposed method achieves a comparable performance with respect to a softmax classifier for classes in the head (i.e., the first twenty classes). On the other hand, the competing methods have a larger decrease in accuracy for classes in the head. The GMM in this dataset again underperforms for classes in the tail. The plot in the left shows that the proposed approach tends to increase the relative performance for classes in the tail. Overall, they tend to be larger than those of the competing methods and a softmax classifier. Lastly, the plot at the bottom shows the results on Tiny ImageNet. The plot in the left shows similar observations. The proposed approach maintains a comparable performance with respect to a softmax classifier for classes in the head. However, it delivers an increase in relative performance for classes in the tail. The GMM approach suffers for classes in the tail because the covariance estimates are poor due to the lack of data.
|
| 146 |
+
|
| 147 |
+
To highlight the previous observations, Table 1 shows a break down of the average relative performance for classes in the head (H column) and in the tail (T column); this experiment excludes the GMM approach. To measure an average relative performance for classes in the head, the experiments used a weighted average of the relative performance considering all the classes. The average used the fraction of instances for a given class in the training set as its corresponding weight. Specifically, the weight for the $i$ -th class is $\begin{array} { r } { w _ { i } = { \frac { n _ { i } } { n } } } \\ { \qquad \mathbf { \cdots } \qquad } \end{array}$ , where $n _ { i }$ is the number of training instances for the $i$ -th class and $n$ is the total number of training instances in the long-tailed training set. Thus, this average emphasizes the relative performance of classes with abundant training instances while decreasing the contribution of the classes with scarce training data. To compute a weighted average of the relative performance for classes in the tail, the experiment calculated the weight $w _ { i } ^ { \prime }$ for the $i$ -th class as follows: $\begin{array} { r } { w _ { i } ^ { \prime } = \frac { 1 - w _ { i } } { \sum _ { i } 1 - w _ { i } } } \end{array}$ These weights emphasize the relative performance of the classes in the tail while diminishing the relative performance of classes in the head. The results in Table 1 show that the proposed method maintains a comparable peformance for classes in the head with respect to a softmax classifier. At the same time, the proposed method consistently improves the performance for classes in the tail.
|
| 148 |
+
|
| 149 |
+
Table 2: Classification performance improvement by using the regularizer in the proposed approach on CIFAR 10. The proposed approach with regularizer achieves a higher classification accuracy than the approach without the regularizer.
|
| 150 |
+
|
| 151 |
+
<table><tr><td rowspan="2">Configuration</td><td colspan="10">Class Index</td><td rowspan="2">Avg. Acc.</td></tr><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr><tr><td>w/regularizer</td><td>81</td><td>85</td><td>68</td><td>62</td><td>67</td><td>58</td><td>70</td><td>61</td><td>65</td><td>68</td><td>68</td></tr><tr><td>w/o regularizer</td><td>72</td><td>72</td><td>57</td><td>63</td><td>65</td><td>55</td><td>67</td><td>63</td><td>68</td><td>58</td><td>64</td></tr></table>
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
Figure 5: Accuracy increase achieved by using the proposed regularizer on CIFAR 100. Overall, the proposed approach with regularizer tends to increase the accuracy across all classes compared to the proposed approach without one.
|
| 155 |
+
|
| 156 |
+
# 4.3 EFFECT OF THE CENTROIDS REGULARIZER
|
| 157 |
+
|
| 158 |
+
The goal of this experiment is to measure the benefits of the regularizer in the proposed method. To do so, this experiment compared the proposed method with a hyperparemeter $\lambda = 0$ , leaving only the Bayesian classifier, and the configuration tested in the previous Section. Note that this setting is equivalent to only using a linear classifier with restricted bias, according to the discussion in Sec. 3.2. This experiment only considered CIFAR 10 and 100, and tested performance also considering three different long-tailed training sets for each dataset.
|
| 159 |
+
|
| 160 |
+
The results of this experiment on CIFAR 10 are shown in Table 2. The table shows the average accuracies per class for the proposed method using a regularizer with $\lambda = 0 . 0 0 1$ (top row), and without a regularizer (bottom row). The last column of the table shows the average classification performance. This table shows that the regularizer overall improves classification performance. This is expected since the regularizer aims to retain the centroid-parameters that are as close as possible to the batch-sample-mean centroids.
|
| 161 |
+
|
| 162 |
+
Fig. 5 presents the results of this experiment on CIFAR 100. The plot shows the accuracy gains obtained by comparing the accuracies of the proposed method using a regularizer with $\lambda = 0 . 0 0 0 1$ across all classes. Also, the plot shows the average accuracies for both methods. The plot indicates that the regularizer consistently provides an accuracy increase across classes. Thus, the regularizer is an important component that overall improves the classification performance.
|
| 163 |
+
|
| 164 |
+
# 5 CONCLUSION
|
| 165 |
+
|
| 166 |
+
This work introduced a method that improves the classification performance for classes in the tail. The proposed approach is based on a Gaussian mixture model that allows a Bayesian classifier to represent the distribution of a long-tailed dataset and to compute the class-prediction probabilities. The experiments on publicly available dataset show that the proposed approach tends to increase the classification accuracy for classes in the tail while maintaining a comparable accuracy to that of a softmax classifier for classes in the head. In addition, this work introduced an evaluation method for methods that tackle the learning of concepts from a long-tailed dataset. Finally, this work demonstrated that class-centroid approaches overall tend to generalize well for classes in the tail while maintaining a comparable performance to that of a softmax classifiers for classes in the head.
|
| 167 |
+
|
| 168 |
+
# REFERENCES
|
| 169 |
+
|
| 170 |
+
Pulkit Agrawal, Ross Girshick, and Jitendra Malik. Analyzing the performance of multilayer neural networks for object recognition. In European conference on computer vision, pp. 329–344. Springer, 2014.
|
| 171 |
+
|
| 172 |
+
Christopher M Bishop. Pattern recognition and machine learning. springer, 2006.
|
| 173 |
+
|
| 174 |
+
Stephen Boyd and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004.
|
| 175 |
+
|
| 176 |
+
J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2009.
|
| 177 |
+
|
| 178 |
+
Venice Erin Liong, Jiwen Lu, Gang Wang, Pierre Moulin, and Jie Zhou. Deep hashing for compact binary codes learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2475–2483, 2015.
|
| 179 |
+
|
| 180 |
+
Gregory Griffin, Alex Holub, and Pietro Perona. Caltech-256 object category dataset, 2007.
|
| 181 |
+
|
| 182 |
+
Bharath Hariharan and Ross Girshick. Low-shot visual recognition by shrinking and hallucinating features. In Proc. of the IEEE International Conf. on Computer Vision (ICCV), October 2017.
|
| 183 |
+
|
| 184 |
+
Haibo He and Edwardo A Garcia. Learning from imbalanced data. IEEE Trans. on Knowledge and Data Engineering, 21(9):1263–1284, 2009.
|
| 185 |
+
|
| 186 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2016.
|
| 187 |
+
|
| 188 |
+
Chen Huang, Yining Li, Chen Change Loy, and Xiaoou Tang. Learning deep representation for imbalanced classification. In Proc. of the IEEE Conf. Computer Vision and Pattern Recognition (CVPR), June 2016.
|
| 189 |
+
|
| 190 |
+
Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2017.
|
| 191 |
+
|
| 192 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014.
|
| 193 |
+
|
| 194 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009.
|
| 195 |
+
|
| 196 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems (NIPS). 2012.
|
| 197 |
+
|
| 198 |
+
Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 199 |
+
|
| 200 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European Conference on Computer Vision, pp. 740–755. Springer, 2014.
|
| 201 |
+
|
| 202 |
+
Thomas Mensink, Jakob Verbeek, Florent Perronnin, and Gabriela Csurka. Distance-based image classification: Generalizing to new classes at near-zero cost. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(11):2624–2637, 2013.
|
| 203 |
+
|
| 204 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin A. Riedmiller. Playing atari with deep reinforcement learning. CoRR, abs/1312.5602, 2013.
|
| 205 |
+
|
| 206 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 207 |
+
|
| 208 |
+
Sameer A. Nene, Shree K. Nayar, and Hiroshi Murase. Columbia object image library (coil-20. Technical report, 1996.
|
| 209 |
+
|
| 210 |
+
Ankit B Patel, Minh Tan Nguyen, and Richard Baraniuk. A probabilistic framework for deep learning. In Advances in Neural Information Processing Systems (NIPS), pp. 2558–2566. 2016.
|
| 211 |
+
|
| 212 |
+
Ariadna Quattoni and Antonio Torralba. Recognizing indoor scenes. In Proc of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2009.
|
| 213 |
+
|
| 214 |
+
Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. iCaRL: Incremental Classifier and Representation Learning. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), July 2017.
|
| 215 |
+
|
| 216 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision (IJCV), 115(3): 211–252, December 2015.
|
| 217 |
+
|
| 218 |
+
Ruslan Salakhutdinov, Antonio Torralba, and Josh Tenenbaum. Learning to share visual appearance for multiclass object detection. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2011.
|
| 219 |
+
|
| 220 |
+
K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In Proc. of the International Conference on Learning Representations (ICLR), 2015.
|
| 221 |
+
|
| 222 |
+
J. Snell, K. Swersky, and R. S. Zemel. Prototypical Networks for Few-shot Learning. In Advances in Neural Information Processing Systems (NIPS). 2017.
|
| 223 |
+
|
| 224 |
+
Nicholas D Socci, Daniel D Lee, and H Sebastian Seung. The rectified gaussian distribution. In Advances in neural information processing systems, pp. 350–356, 1998.
|
| 225 |
+
|
| 226 |
+
Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmiller. Striving for simplicity: The all convolutional net. arXiv preprint arXiv:1412.6806, 2014.
|
| 227 |
+
|
| 228 |
+
Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2015.
|
| 229 |
+
|
| 230 |
+
Jozef L Teugels. Some representations of the multivariate bernoulli and binomial distributions. Journal of multivariate analysis, 32(2):256–268, 1990.
|
| 231 |
+
|
| 232 |
+
Aaron van den Oord and Benjamin Schrauwen. Factoring variations in natural images with deep gaussian mixture models. In Advances in Neural Information Processing Systems (NIPS), pp. 3518–3526. 2014.
|
| 233 |
+
|
| 234 |
+
Grant Van Horn and Pietro Perona. The devil is in the tails: Fine-grained classification in the wild. arXiv preprint arXiv:1709.01450, 2017.
|
| 235 |
+
|
| 236 |
+
Yu-Xiong Wang and Martial Hebert. Learning from Small Sample Sets by Combining Unsupervised Meta-Training with CNNs. In Advances in Neural Information Processing Systems (NIPS). 2016.
|
| 237 |
+
|
| 238 |
+
Yu-Xiong Wang, Deva Ramanan, and Martial Hebert. Learning To Model the Tail. In Advances in Neural Information Processing Systems (NIPS). 2017.
|
| 239 |
+
|
| 240 |
+
Yandong Wen, Kaipeng Zhang, Zhifeng Li, and Yu Qiao. A discriminative feature learning approach for deep face recognition. In Proc. of the European Conference on Computer Vision (ECCV), pp. 499–515. Springer, 2016.
|
| 241 |
+
|
| 242 |
+
Xiangxin Zhu, Dragomir Anguelov, and Deva Ramanan. Capturing long-tail distributions of object subcategories. In Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2014.
|
| 243 |
+
|
| 244 |
+
Xiangxin Zhu, Carl Vondrick, Charless C. Fowlkes, and Deva Ramanan. Do we need more training data? International Journal of Computer Vision (IJCV), 119(1):76–92, Aug 2016.
|
| 245 |
+
|
| 246 |
+
# A HYPERPARAMETERS AND IMPLEMENTATION DETAILS
|
| 247 |
+
|
| 248 |
+
In order to guarantee similar training conditions for all the methods, the experiments used the same framework parameters (e.g., number of steps, learning rate, decay factors, among others) for all the considered methods.
|
| 249 |
+
|
| 250 |
+
All the tested methods used an Adam optimizer (Kingma & Ba, 2014) and a batch size of 32. The experiments used a learning rate of 0.01 and 0.1 for the small- and medium-scale datasets, respectively. The experiments used the default exponential-learning-rate decay, weight decay, and drop-out parameters provided in TensorFlow Models. The hyperparameters used for center-loss are 0.5 for the centroids learning rate and a scale value of 0.001 for MNIST and CIFAR 10, 0.0001 for CIFAR 100 and Tiny ImageNet the proposed method. The hyperparameter for the proposed approach was set to 0.001 for MNIST and CIFAR 10, and 0.0001 for CIFAR 100 and Tiny ImageNet.
|
parse/train/Bk9nkMa4G/Bk9nkMa4G_content_list.json
ADDED
|
@@ -0,0 +1,1402 @@
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "BAYESIAN EMBEDDINGS FOR LONG-TAILED DATASETS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
400,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "The statistics of the real visual world presents a long-tailed distribution: a few classes have significantly more training instances than the remaining classes in a dataset. This is because the real visual world has a few classes that are common while others are rare. Unfortunately, the performance of a convolutional neural network is typically unsatisfactory when trained using a long-tailed dataset. To alleviate this issue, we propose a method that discriminatively learns an embedding in which a simple Bayesian classifier can balance the class-priors to generalize well for rare classes. To this end, the proposed approach uses a Gaussian mixture model to factor out class-likelihoods and class-priors in a long-tailed dataset. The proposed method is simple and easy-to-implement in existing deep learning frameworks. Experiments on publicly available datasets show that the proposed approach improves the performance on classes with few training instances, while maintaining a comparable performance to the state-of-the-art on classes with abundant training examples. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
263,
|
| 43 |
+
764,
|
| 44 |
+
458
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
178,
|
| 54 |
+
482,
|
| 55 |
+
336,
|
| 56 |
+
498
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep convolutional neural networks (CNN) have achieved impressive results in large-scale visual recognition tasks (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; Szegedy et al., 2015; Mnih et al., 2015; 2013; He et al., 2016; Huang et al., 2017). However, despite the significant impact in visual perception, the vast majority of these advancements learn from artificially balanced largescale datasets that are not representative of the real visual world (Nene et al., 1996; Griffin et al., 2007; Deng et al., 2009; Quattoni & Torralba, 2009; Lin et al., 2014; Russakovsky et al., 2015). The statistics of the real visual world follow a long-tailed distribution (Zhu et al., 2014; 2016; Van Horn & Perona, 2017; Salakhutdinov et al., 2011; Wang & Hebert, 2016; Wang et al., 2017). This means that a few classes are predominant in the world while others are rare. Consequently, representative real-world datasets have a few classes with significantly more training instances than the remaining classes in the set; see Fig. 1(a) for an illustration of a long-tailed dataset. We refer to classes with abundant training instances as classes in the head, and unrepresented classes as classes in the tail. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
512,
|
| 66 |
+
825,
|
| 67 |
+
679
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "As Van Horn & Perona (2017) note, the main motivation for visual recognition is to understand and learn from the real visual world. Thus, while the state-of-the-art can challenge humans in visual recognition tasks, it misses a mechanism that effectively learns from long-tailed datasets. As Van Horn & Perona (2017) found, training models using long-tailed datasets often leads to unsatisfying performance. This is because classifiers tend to generalize well for classes in the head, but lack generalization for classes in the tail. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
686,
|
| 77 |
+
825,
|
| 78 |
+
770
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "To alleviate this issue, learned classifiers need to generalize for classes in the tail while maintaining a good performance for all the classes. Recent efforts that aim to learn from long-tailed datasets consider penalities in the optimization-learning problem (Huang et al., 2016), sampling-based methods (He & Garcia, 2009), and transfer-learning algorithms (Wang & Hebert, 2016; Wang et al., 2017). In contrast with these solutions, the proposed method aims to learn an embedding in which the distribution of the real visual world allows a simple Bayesian classifier to predict robustly given a long-tailed dataset. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
777,
|
| 88 |
+
823,
|
| 89 |
+
875
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Long-tailed datasets have class-prior statistics that heavily skew towards classes in the head. This skew can bias classifiers towards classes in the head, and consequently can reduce generalization for classes in the tail. To remove this skew, we appeal to Bayesian classifiers that can explicitly factor out the likelihood and prior when computing posteriors over class labels. Thus, the main goal of this work is to learn a feature embedding in which class prior statistics do not affect/skew class likelihoods. The proposed approach uses a simple Gaussian mixture model (GMM) to describe the statistics of a long-tailed dataset. This is because it enables a clean factorization of the class-likelihoods and class-priors. Moreover, it easily fits within an empirical Bayesian classification framework, because a GMM enables the computation of closed-form maximum likelihood estimation (MLE) of class-specific means, covariance matrices, and priors. We show that such closed-form estimates can be integrated into existing deep learning optimizers without much effort. By fixing the covariance matrices of all the classes to be the identity and the priors over each class to be uniform, we can explicitly enforce that both rare classes in the tail and dominant classes in the head have equal weight for Bayesian classification. In simple terms: we learn a discriminative embedding of training data such that Bayesian classifiers with balanced priors produce accurate class posteriors. As a point of clarity, the proposed approach does not learn an embedding in the traditional Bayesian sense, which might define a prior distribution over embeddings that is then combined with training data to produce a posterior embedding. Rather, it learns a single embedding that is discriminatively trained to produce accurate features for Bayesian classifiers. See Fig. 1 for an illustration about the proposed approach. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
882,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/1d2129a3dbac2fa15d2af3f0eb09c915cc1c4fc9698fffe6985a1f92708b292b.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: (a) The real visual world yields long-tailed datasets. Classes in the head are common (e.g., cats) while classes in the tail are rare (e.g., white reindeers). (b) The proposed approach builds a generative (Bayesian) classifier over a learned embedding to compute class-posterior probabilities. In an empirical Bayesian framework, posteriors are computed through class likelihoods and priors fit to the data (e.g., sample means, variances, and counts assuming Gaussian Mixture Models). We introduce an end-to-end pipeline for jointly learning embeddings and Bayesian models built upon them. (c) Bayesian models are particularly well-suited for long-tailed datasets because class priors and likelihoods can be fixed to be uniform and isotropic, ensuring that the learned representation is balanced across the head and tail. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
108,
|
| 114 |
+
825,
|
| 115 |
+
200
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
358,
|
| 125 |
+
825,
|
| 126 |
+
594
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "A GMM not only is useful for learning an embedding using a long-tailed dataset, but also provides flexibility at the evaluation stage. This is because it enables the measurement of generalization for classes in the tail by simply setting equal class-prior probabilities. In addition, it enables the possibility of giving more importance to the most frequent classes by adjusting their respective class-prior probabilities. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
601,
|
| 136 |
+
825,
|
| 137 |
+
671
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "In sum, the proposed approach aims to learn an embedding in which a GMM enables a Bayesian classifier to generalize well for classes in the tail by balancing out class-priors. The proposed method is simple, easy-to-train using deep learning frameworks, and increases classification performance for classes in the tail. The experiments on publicly available datasets show that this approach tends to perform better on classes in the tail than the competing methods, while performing comparable to the state-of-the-art on classes with abundant training instances. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
678,
|
| 147 |
+
825,
|
| 148 |
+
762
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 RELATED WORK ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
779,
|
| 159 |
+
343,
|
| 160 |
+
795
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "The main challenges for learning models using long-tailed datasets comprise learning parameters that generalize from a few-shots and avoiding classifier bias. While the proposed approach aims to tackle these two problems simultaneously, methods that tackle each of these problems independently are still relevant. As such, this section not only covers prior work on learning using imbalanced datasets, but also covers relevant solutions for few-shot learning. Given that the proposed approach is based on a GMM model, this section also covers recent approaches that use class-centroid representations for incremental learning and for improving discriminative properties. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
825,
|
| 170 |
+
825,
|
| 171 |
+
924
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "2.1 LEARNING FROM LONG-TAILED DATASETS ",
|
| 178 |
+
"text_level": 1,
|
| 179 |
+
"bbox": [
|
| 180 |
+
176,
|
| 181 |
+
104,
|
| 182 |
+
511,
|
| 183 |
+
117
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "Simple techniques that deal with imbalanced datasets use random sampling to artificially create a more balanced training set (He & Garcia, 2009). For instance, random oversampling effectively “repeats” training instances from the classes in the tail, while random undersampling “removes” instances from the classes with abundant training instances. Thus, these techniques address imbalanced datasets by means of artificially balancing the training set. An alternative approach to deal with long-tailed datasets use transfer learning techniques. Wang et al. (2017) proposed MetaModelNet, a meta-learning algorithm that learns the evolution of parameters when gradually including more training samples. MetaModelNet improves the performance of CNN models since it transfers the parameter-evolution knowledge from data-rich classes to categories in the tail. Rather than artificially modifying the training set or use transfer learning, the proposed approach aims to learn an embedding that allows classifiers to generalize when learning from a long-tailed dataset. Consequently, the proposed method can complement sampling or transfer-learning-based methods. ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
131,
|
| 193 |
+
825,
|
| 194 |
+
297
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "2.2 FEW-SHOT LEARNING AND CLASS-CENTROID-BASED REPRESENTATIONS ",
|
| 201 |
+
"text_level": 1,
|
| 202 |
+
"bbox": [
|
| 203 |
+
176,
|
| 204 |
+
318,
|
| 205 |
+
725,
|
| 206 |
+
332
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "Recent approaches in this category aim to learn good parameters from a few training instances (Snell et al., 2017; Hariharan & Girshick, 2017). A recent approach that considers an imbalanced dataset to tackle few-shot learning is the work by Hariharan & Girshick (2017). Their proposed approach learns a feature embedding from the classes with the most samples in the dataset. Then, the approach “hallucinates” samples for classes with a few training instances in the learned embedding. While this work learns from an imabalanced dataset, it considers a different setting that that of the proposed approach. The work by Hariharan & Girshick (2017) assumes that classes with few instances are added incrementally. The proposed approach differs in this regard, since the introduced method aims to learn the embedding using the entire long-tailed dataset, generalize, and avoid any bias towards the classes with abundant training instances. ",
|
| 213 |
+
"bbox": [
|
| 214 |
+
174,
|
| 215 |
+
345,
|
| 216 |
+
825,
|
| 217 |
+
484
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "To achieve generalization given a few shots in an incremental learning context, Rebuffi et al. (2017) proposed iCaRL, a deep-learning-based incremental classifier. Similarly to the proposed approach, iCaRL represents each class using a single centroid in an embedding learned using a regular CNN model. However, instead of using the learned softmax classifier, it uses a nearestclass-mean (Mensink et al., 2013) classifier. Unlike iCaRL that uses features from a learned CNNsoftmax model, the proposed approach learns an embedding using a generative model. It is worth noting that the proposed approach uses a GMM, which by default includes a nearest-class-mean classifier as part of the learning problem. The use of class-centroids in learning representations is also useful to improve discriminative properties. Wen et al. (2016) proposed a loss that aims to minimize intra-class variation in CNN-softmax models. Unlike the center-loss approach, the proposed method minimizes the intra-class variation automatically by finding the GMM parameters in the learned embedding. Different from the center-loss that requires a mechanism to estimate the class-centroids, the proposed approach uses back-propagation to learn the GMM parameters. A recent approach that aims to generalize by using class-centroid representations are the Prototypical Networks (proto-nets) by Snell et al. (2017). Proto-nets estimate the class centroids from a slice of a mini-batch-like subset of the training set. Then, they evaluate the loss from the complementary slice of the mini-batch-like subset, and update the feature encoder weights. The proposed approach has two main differences with proto-nets. First, the proposed approach is based on generative models describing the statistics of an imbalanced dataset, rather than learning an embedding tailored for a nearest-class-mean classifier that requires specific parameter-update rules. Second, the proposed approach uses regular batching mechanisms and updates parameters using back-propagation. Thus, in constrast with proto-nets, the proposed approach avoids modifying components in the deep learning frameworks. ",
|
| 224 |
+
"bbox": [
|
| 225 |
+
174,
|
| 226 |
+
491,
|
| 227 |
+
825,
|
| 228 |
+
809
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "3 BAYESIAN EMBEDDINGS ",
|
| 235 |
+
"text_level": 1,
|
| 236 |
+
"bbox": [
|
| 237 |
+
176,
|
| 238 |
+
834,
|
| 239 |
+
411,
|
| 240 |
+
851
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "The goal of this work is to learn an embedding that allows a simple Bayesian classifier to robustly operate given a long-tailed training dataset. Specifically, this work aims to learn an encoder $f _ { w } ( \\cdot )$ , parameterized by its set of weights $w$ , that produces a good representation for Bayesian classification given a long-tailed dataset. ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
176,
|
| 249 |
+
867,
|
| 250 |
+
823,
|
| 251 |
+
922
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "In order to learn the aforementioned encoder, the proposed approach requires a model that describes the distribution of the data. Let $x = f _ { w } ( I )$ be the encoded feature for image $I$ and $y$ be its corresponding class label. Thus, the distribution of the training set can be described with the following joint probability: ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
173,
|
| 260 |
+
103,
|
| 261 |
+
825,
|
| 262 |
+
159
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 3
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "equation",
|
| 268 |
+
"img_path": "images/7e7755a1a2e9a02175afa7ed526f973ba8a21c1ecf67fbb71f340ba3a455b5d0.jpg",
|
| 269 |
+
"text": "$$\n\\begin{array} { r l } & { p ( x , y ) = p ( x \\mid y ) p ( y ) } \\\\ & { \\qquad = p ( f _ { w } ( I ) \\mid y ; \\theta _ { y } ) \\pi _ { y } } \\\\ & { \\qquad = p ( x , y ; \\ w , \\theta ) } \\end{array}\n$$",
|
| 270 |
+
"text_format": "latex",
|
| 271 |
+
"bbox": [
|
| 272 |
+
398,
|
| 273 |
+
156,
|
| 274 |
+
598,
|
| 275 |
+
212
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "where $p ( f _ { w } ( I ) \\mid y ; \\theta _ { y } )$ represents the likelihood of observing the feature vector $x$ as part of class $y$ , and $\\pi _ { y }$ is the prior probabilities for class $y$ . The likelihood is a function with parameters $\\theta _ { y }$ (e.g., parameters of a multivariate Gaussian) that describes the distribution of the feature vectors in the embedding. Thus, the joint probability of the data $p ( x , y ; ~ w , \\theta )$ is a function with parameters composed by the the encoder $w$ parameters, and the Bayesian parameters $\\theta$ which include the likelihood parameters $\\theta _ { y }$ , and priors $\\pi _ { y }$ . In practice, the likelihood parameters proves most crucial as it is not sensitive to class priors, which can be misleading in the long-tailed setting (as discussed in Section 3.1). ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
173,
|
| 284 |
+
212,
|
| 285 |
+
825,
|
| 286 |
+
324
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Given the above joint probability model, the posterior probability for class $y$ given a feature vector $x$ can be computed using Bayes rule as follows: ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
176,
|
| 295 |
+
330,
|
| 296 |
+
821,
|
| 297 |
+
358
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "equation",
|
| 303 |
+
"img_path": "images/1806c576b02c37fd902c4b49a288604d601658cf015f11290c6b0c60fa9afafb.jpg",
|
| 304 |
+
"text": "$$\np ( y \\mid x ; \\boldsymbol { w } , \\boldsymbol { \\theta } ) = \\frac { p ( f _ { w } ( I ) \\mid y ; \\theta _ { y } ) \\pi _ { y } } { \\sum _ { k } p ( f _ { w } ( I ) \\mid k ; \\theta _ { k } ) \\pi _ { k } } ,\n$$",
|
| 305 |
+
"text_format": "latex",
|
| 306 |
+
"bbox": [
|
| 307 |
+
359,
|
| 308 |
+
362,
|
| 309 |
+
637,
|
| 310 |
+
397
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "where $\\theta$ is a concatenation of the likelihood parameters and priors of all the classes. Thus, the class posterior probability is a function that depends on the encoder parameters $w$ and the Bayesian parameters $\\theta$ . ",
|
| 317 |
+
"bbox": [
|
| 318 |
+
176,
|
| 319 |
+
401,
|
| 320 |
+
823,
|
| 321 |
+
443
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "The overall objective of this work is to jointly learn the weights $w$ of the feature encoder and the Bayesian parameters $\\theta$ to guarantee a good classification performance. Given a training dataset of images and label pairs $\\mathcal { D } = \\{ ( x _ { i } , y _ { i } ) \\}$ , we propose to learn parameters by maximizing the Bayesian class-posterior probability of the true class labels: ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
173,
|
| 330 |
+
449,
|
| 331 |
+
825,
|
| 332 |
+
506
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "equation",
|
| 338 |
+
"img_path": "images/2b4c2f1a5b3c96066d8bc7d8a23c3538c5f48208ad94621899edcbc58875c193.jpg",
|
| 339 |
+
"text": "$$\n\\operatorname* { m i n i m i z e } _ { \\boldsymbol { w } } \\sum _ { i } - \\log p ( \\boldsymbol { y } _ { i } \\mid \\boldsymbol { x } _ { i } ; \\boldsymbol { w } , \\boldsymbol { \\theta } ) \\qquad \\mathrm { s u b j e c t ~ t o } \\qquad \\boldsymbol { \\theta } = \\mathbf { M L E } ( \\mathcal { D } ) ,\n$$",
|
| 340 |
+
"text_format": "latex",
|
| 341 |
+
"bbox": [
|
| 342 |
+
267,
|
| 343 |
+
510,
|
| 344 |
+
725,
|
| 345 |
+
542
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "where MLE is a function that computes the closed form maximum likelihood estimates of the parameters of our Bayesian model, a procedure commonly known as Empirical Bayes (Bishop, 2006). ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
174,
|
| 354 |
+
546,
|
| 355 |
+
825,
|
| 356 |
+
575
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "To use existing solvers for learning deep networks, we reformulate the problem shown in Eq. (3) as an unconstrained optimization by using a Lagrangian penalty (Boyd & Vandenberghe, 2004) that penalizes solutions which violate the constraint: ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
174,
|
| 365 |
+
582,
|
| 366 |
+
825,
|
| 367 |
+
623
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "equation",
|
| 373 |
+
"img_path": "images/c71f538dff5d633d2fb1ea6b5553229aa31b36d7361466936bee3f471f0d6998.jpg",
|
| 374 |
+
"text": "$$\n\\operatorname* { m i n i m i z e } _ { \\boldsymbol { w } , \\boldsymbol { \\theta } } \\quad \\sum _ { i } - \\log p ( y _ { i } \\mid \\boldsymbol { x } _ { i } ; \\boldsymbol { w } , \\boldsymbol { \\theta } ) + \\lambda \\| \\boldsymbol { \\theta } - \\mathbf { M } \\mathbf { L } \\mathbf { E } ( \\mathcal { D } ) \\| ^ { 2 } \\quad ,\n$$",
|
| 375 |
+
"text_format": "latex",
|
| 376 |
+
"bbox": [
|
| 377 |
+
290,
|
| 378 |
+
627,
|
| 379 |
+
705,
|
| 380 |
+
661
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "where $\\lambda \\geq 0$ . In this formulation, the optimization explicitly searches over the feature encoder parameters $w$ and the Bayesian parameters $\\theta$ so as to maximize class posterior probabilities. The last term penalizes deviations of the $\\theta$ parameters from their MLE estimates, effectively acting as a regularizer. ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
173,
|
| 389 |
+
665,
|
| 390 |
+
825,
|
| 391 |
+
720
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "3.1 GMM EMBEDDINGS FOR HEAVILY TAILED DATASETS ",
|
| 398 |
+
"text_level": 1,
|
| 399 |
+
"bbox": [
|
| 400 |
+
174,
|
| 401 |
+
736,
|
| 402 |
+
589,
|
| 403 |
+
752
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "GMMs: The likelihood models are crucial to determine the parameters that allows the proposed approach to learn the feature encoder given a long-tailed dataset. We propose to use a multivariate Gaussian probability density function as the likelihood model. Given this likelihood model, the proposed approach implicitly uses a Gaussian mixture model to represent the distribution of the training set. Using a multivariate Gaussian brings benefits to the proposed formulation. This is because its parameters (the centroid $\\mu$ , covariance matrix $\\Sigma$ , and prior $\\pi$ ) have an intuitive meaning and closed-form-maximum-likelihood estimators. Interestingly, as discussed by van den Oord & Schrauwen (2014) and Patel et al. (2016), a mixture of multivariate Gaussians can be used to theoretically motivate the success of deep learning. ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
173,
|
| 412 |
+
762,
|
| 413 |
+
825,
|
| 414 |
+
888
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "Balancing: The use of a GMM not only brings simplicity into the formulation, but also allows the feature encoder to generalize better for classes in the tail. The generalization aspect of a GMM model comes from the fact that a class is described with a single centroid. The benefit of this class representation is that estimating the centroid with a handful of examples is simple and produces a good estimate. Perhaps more importantly, a GMM allows us to access specific parameters that control the probabilistic “footprint” of each class in the embedded space. We can set these parameters to ensure balanced footprints by fixing the covariance matrices to be the identity and the class priors to be uniform - see Fig. 1-(c). The remaining parameters to be estimated are then the class means $\\boldsymbol { \\mu } = ( \\mu _ { 1 } , \\dots , \\mu _ { n _ { c } } )$ . Given this setting and considering that deep-learning frameworks use mini batches, the unconstrained problem shown in Eq. (4) becomes: ",
|
| 421 |
+
"bbox": [
|
| 422 |
+
173,
|
| 423 |
+
895,
|
| 424 |
+
823,
|
| 425 |
+
924
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "image",
|
| 431 |
+
"img_path": "images/91335f7e72779fdebb18a37fd60ffe71643340e092071ef8efcdf04d035d7840.jpg",
|
| 432 |
+
"image_caption": [
|
| 433 |
+
"Figure 2: We compare the effect of gradient-based updates for a traditional softmax classifier versus our Bayesian embedding model. Recall that our approach learns an embedding for which Bayesian classifiers produce accurate class posteriors. During softmax training, an “easy” example of a class will tend to not generate a strong gradient update, and so is not useful for learning (left). This might be considered paradoxical: when children learn a new concept (for say, a never-before-seen animal), an easy or “protypical” example might be most informative for learning. On the other hand, in our framework, an easy example of a class will change its centroid, generating a strong signal for updating our learned representation (right). "
|
| 434 |
+
],
|
| 435 |
+
"image_footnote": [],
|
| 436 |
+
"bbox": [
|
| 437 |
+
299,
|
| 438 |
+
102,
|
| 439 |
+
691,
|
| 440 |
+
222
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
359,
|
| 450 |
+
825,
|
| 451 |
+
472
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/c3a7cea735edb20a8cb8b3c0bda96a1590ef3f95e24822f93503e918818936c6.jpg",
|
| 458 |
+
"text": "$$\n\\underset { w , \\mu } { \\mathrm { n i m i z e } } \\quad \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } - \\log \\left( \\frac { \\exp \\left( - \\frac { 1 } { 2 } \\| f _ { w } ( I _ { i } ) - \\mu _ { y _ { i } } \\| ^ { 2 } \\right) } { \\sum _ { k } \\exp \\left( - \\frac { 1 } { 2 } \\| f _ { w } ( I _ { i } ) - \\mu _ { k } \\| ^ { 2 } \\right) } \\right) + \\lambda \\sum _ { j \\in \\mathcal { M } } \\| \\mu _ { j } - \\frac { 1 } { n _ { j } } \\sum _ { i ^ { \\prime } : y _ { i ^ { \\prime } } = j } f _ { w } ( I _ { i ^ { \\prime } } ) \\| ^ { 2 } \\quad ,\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
181,
|
| 462 |
+
477,
|
| 463 |
+
834,
|
| 464 |
+
522
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "where $y _ { i }$ is the true class label/index for the $i$ -th data point, $m$ is the batch size, $\\mathcal { M }$ is the set of class indices in the batch, $n _ { j }$ is the number of samples of the $j$ -th class in the batch, and $i ^ { \\prime }$ is the index running over instances in the batch. ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
174,
|
| 473 |
+
532,
|
| 474 |
+
823,
|
| 475 |
+
575
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "3.2 DISCUSSION ",
|
| 482 |
+
"text_level": 1,
|
| 483 |
+
"bbox": [
|
| 484 |
+
174,
|
| 485 |
+
592,
|
| 486 |
+
302,
|
| 487 |
+
607
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "Other probabilistic models: Our analysis and experiments focus on Gaussian Mixture Models, but the general learning problem from Eq. (4) holds for other probabilistic models. For example, deep embeddings can be learned for rectified (nonnegative) or binary features (Agrawal et al., 2014; Erin Liong et al., 2015). For such embeddings, likelihood models based on rectified Gaussians or multivariate Bernoulli distributions may be more appropriate Socci et al. (1998); Teugels (1990). Such models do not appear to have closed form maximum likelihood estimates, and so may be challenging to formulate precisely as a constrained optimization problem. ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
173,
|
| 496 |
+
618,
|
| 497 |
+
825,
|
| 498 |
+
717
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Relationship to softmax: The GMM-based formulation has a direct relationship with softmax classifiers. This relationship can be obtained by expanding the squared distance terms in the classposterior probability, yielding the following: ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
176,
|
| 507 |
+
722,
|
| 508 |
+
823,
|
| 509 |
+
765
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "equation",
|
| 515 |
+
"img_path": "images/50b0a44c8fb92ad24e3b16b3a459c2363ece227cccf0380cc9badf5ac110015c.jpg",
|
| 516 |
+
"text": "$$\n\\begin{array} { r l } & { p \\left( y _ { i } \\mid f _ { w } ( I _ { i } ) ; \\boldsymbol { w } , \\mu \\right) = \\frac { \\exp \\big ( - \\frac { 1 } { 2 } \\| f _ { w } ( I _ { i } ) - \\mu _ { j } \\| ^ { 2 } \\big ) } { \\sum _ { k } \\exp \\big ( - \\frac { 1 } { 2 } \\| f _ { w } ( I _ { i } ) - \\mu _ { k } \\| ^ { 2 } \\big ) } } \\\\ & { \\qquad = \\frac { \\exp \\big ( \\mu _ { j } ^ { T } f _ { w } ( I _ { i } ) - \\frac { 1 } { 2 } \\big ( \\| f _ { w } ( I _ { i } ) \\| ^ { 2 } + \\| \\mu _ { j } \\| ^ { 2 } \\big ) \\big ) } { \\sum _ { k } \\exp \\big ( \\mu _ { k } ^ { T } f _ { w } ( I _ { i } ) - \\frac { 1 } { 2 } \\big ( \\| f _ { w } ( I _ { i } ) \\| ^ { 2 } + \\| \\mu _ { k } \\| ^ { 2 } \\big ) \\big ) } , } \\\\ & { \\qquad = \\frac { \\exp \\big ( v _ { j } ^ { T } f _ { w } ( I _ { i } ) + b _ { j } \\big ) } { \\sum _ { k } \\exp \\big ( v _ { k } ^ { T } f _ { w } ( I _ { i } ) + b _ { k } \\big ) } } \\end{array}\n$$",
|
| 517 |
+
"text_format": "latex",
|
| 518 |
+
"bbox": [
|
| 519 |
+
258,
|
| 520 |
+
771,
|
| 521 |
+
736,
|
| 522 |
+
891
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "where $v _ { j } = \\mu _ { j }$ and $b _ { j } = - { \\textstyle \\frac { 1 } { 2 } } \\| v _ { j } \\| ^ { 2 }$ , since $- \\frac { 1 } { 2 } \\| f _ { w } ( I _ { i } ) \\| ^ { 2 }$ is a common term between the numerator and denominator. This relationship thus indicates that the proposed approach fits linear classifiers with restricted biases. This relationship is useful for an easy implementation in many deep learning frameworks. This is because this approach can be implemented using a dense layer without the bias terms. In addition, this relationship shows that the proposed approach requires fewer parametersto-learn in comparison with classical CNN-softmax models. An more intuitive comparison between GMMs and softmax classifiers can be made with respect to to their parameter updates. Intuitively, during softmax training, an “easy” example of a class will not generate a model update. In some sense, this might be considered paradoxical. When children learn a new concept (for say, a neverbefore-seen animal), they tend to be presented with an easy or “protypical” example. On the other hand, an easy example of a class will change its centroid, generating a signal for learning - see Fig. 2. ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
173,
|
| 531 |
+
893,
|
| 532 |
+
823,
|
| 533 |
+
924
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "",
|
| 540 |
+
"bbox": [
|
| 541 |
+
174,
|
| 542 |
+
103,
|
| 543 |
+
825,
|
| 544 |
+
229
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 5
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "4 EXPERIMENTS ",
|
| 551 |
+
"text_level": 1,
|
| 552 |
+
"bbox": [
|
| 553 |
+
174,
|
| 554 |
+
236,
|
| 555 |
+
328,
|
| 556 |
+
251
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 5
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "This section presents a series of experiments evaluating the learned embedding computed using the proposed method and long-tailed datasets. Since the goal of the experiments is to evaluate the feature encoder, all the experiments trained all the baselines or competing methods and the proposed one from scratch. An additional goal of the experiments is to show that the proposed approach can be adapted to any CNN architecture. For this reason, the experiments also used legacy and recent CNN architectures. ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
253,
|
| 566 |
+
825,
|
| 567 |
+
337
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Datasets: One evaluation aspect of the experiments is to measure the performance on smalland medium-scale datasets. The experiments included MNIST (LeCun et al., 1998) and CIFAR 10 (Krizhevsky & Hinton, 2009) as the small-scale datasets (each with ten classes); and CIFAR 100 (Krizhevsky & Hinton, 2009) and Tiny ImageNet 1 as the medium-scale datasets (with hundred and two hundred classes, respectively). The balanced MNIST dataset contains 60,000 and 10,000 $2 8 \\mathbf { x } 2 8$ training and testing images depicting hand-written digits, respectively. The CIFAR 10 dataset contains 50,000 and $1 0 , 0 0 0 3 2 \\mathrm { x } 3 2$ training and testing images, respectively. The CIFAR 100 dataset contains 500 and $1 0 0 \\ 3 2 \\mathrm { x } \\lambda 2$ training and testing images per class, respectively. Lastly, Tiny ImageNet has 500 and 50 64x64 training and testing images for every class, respectively. However, the experiments used a $2 2 4 \\mathbf { x } 2 2 4$ image instead. See Sec. 4.1 for details on how the experiments processed these datasets to evaluate classifiers using long-tailed datasets. ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
353,
|
| 577 |
+
825,
|
| 578 |
+
506
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "Baselines: The experiments included recent approaches that deal with imbalanced datasets. These approaches include iCaRL (Rebuffi et al., 2017), center loss (Wen et al., 2016), and a plain softmax classifier. The experiments also consider a variation of iCaRL. This variation does not use normalized feature vectors as originally proposed by Rebuffi et al. (2017). While prototypical networks (Snell et al., 2017) are similar to the proposed approach, they require a balanced dataset with a few training instances for every class. Since prototypical networks do not assume a long-tailed dataset, these experiments did not include it as a competing method. The experiment also considered a method that uses a full GMM model (i.e., full covariance, means, and priors) of a softmax representation of the training set. As discussed in Sec. 2, MetaModelNet (Wang et al., 2017) deals with long-tailed datasets by operating at the classifier-parameter level, since it is a meta-learning algorithm. Thus, MetaModelNet does not learn an embedding, and consequently complements the proposed method. ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
522,
|
| 588 |
+
825,
|
| 589 |
+
688
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 5
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "Implementation Details: All the experiments were implemented on top of TensorFlow Models $( \\mathrm { T F M } ) ^ { 2 }$ . This open-source project implements various legacy architectures, and several preprocessing imaging techniques (e.g., random translations and shifts). The experiments used the following CNN architectures: LeNet (LeCun et al., 1998) for MNIST; CifarNet (Krizhevsky & Hinton, 2009) for CIFAR 10; AllCNN (Springenberg et al., 2014) for CIFAR 100; and VGG 16 (Simonyan & Zisserman, 2015) for Tiny ImageNet. We implemented center loss (Wen et al., 2016) and verified correctness using a balanced setting. We implemented the proposed approach in TFM using a fully connected layer with a restrictive bias. This is possible thanks to the relationship with linear classifiers discussed in Sec. 3.2. The regularizer was implemented using plain Tensorflow operations and was added as a regularizer function for the fully connected layer with restrictive bias. We will release the code upon publication. The hyperparameters for center-loss and the proposed approach were estimated using a validation set for every dataset. See Sec. A in the Appendix for the specific parameters. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
704,
|
| 599 |
+
825,
|
| 600 |
+
883
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "image",
|
| 606 |
+
"img_path": "images/04550cb04c486edb38153b88e185b99d5ab24c22f5da6dd192fc128774d55a5b.jpg",
|
| 607 |
+
"image_caption": [
|
| 608 |
+
"Figure 3: Histogram of the number of training instances per class in the long-tailed datasets. From left to right, the datasets are MNIST, CIFAR 10, CIFAR 100, and Tiny ImageNet. "
|
| 609 |
+
],
|
| 610 |
+
"image_footnote": [],
|
| 611 |
+
"bbox": [
|
| 612 |
+
173,
|
| 613 |
+
102,
|
| 614 |
+
821,
|
| 615 |
+
170
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 6
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "4.1 EVALUATION FOR LONG-TAILED DATASETS ",
|
| 622 |
+
"text_level": 1,
|
| 623 |
+
"bbox": [
|
| 624 |
+
174,
|
| 625 |
+
212,
|
| 626 |
+
517,
|
| 627 |
+
227
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 6
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "The main motivation of this work is to learn from a realistic dataset representing the statistics of the real visual world. Recall that realistic datasets are long-tailed since the visual world has a few predominant classes while others are rare. As such, the performance evaluation of the visual recognition system in this setting needs to be discussed, since common evaluation methods may not be adequate given this context. ",
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
238,
|
| 637 |
+
825,
|
| 638 |
+
308
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "Intuitively, since the visual world yields long-tailed datasets, then the test set should ideally be long-tailed as well. While this rationale is logical given the statistics of the world, it has a main drawback: a simple classifier that is biased towards classes in the head is likely to perform well using a long-tailed testing set. While this setting may reflect a good performance for the common classes in practice, achieving a good performance for classes in the tail is still desirable in real practical applications. For instance, consider a self-driving car: the vehicle may easily detect common objects or events, e.g., pedestrians walking on the sidewalk. However, children playing soccer on the street is a rare event that can occur in the real world, and it is important to evaluate autonomous systems on such rare but crucial events. Thus, although rare events are infrequent, classifiers still need to account for them. Consequently, average accuracy on a long-tailed dataset is not an adequate measure of performance across rare classes. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
174,
|
| 647 |
+
315,
|
| 648 |
+
825,
|
| 649 |
+
468
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "An alternative approach using long-tailed testing sets is to evaluate per-class accuracy. This explicitly weights all classes – both in the head and tail – equally. However, this has the drawback that performance estimates of rare classes in the tail have high variability and can be unreliable. In the autonomous vehicle scenario above, we might encounter very few (or even no) examples of children playing street soccer in any finite testset. This means that performance estimates fort tail classes can be unreliable. ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
474,
|
| 659 |
+
825,
|
| 660 |
+
559
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 6
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "We propose an evaluation approach that addresses the bias towards the head and intra-class variation of classes in the tail. The proposed evaluation protocol requires a training and an evaluation procedure. The training setting includes several training trials that used different versions of long-tailed training sets. The evaluation procedure uses a balanced dataset. The use of a balanced testing set addresses the issue of classifiers that are biased towards the head since the class-priors are uniform and both classes in the head and tail contribute to the performance measure. Training a classifier using different long-tailed sets accounts for intra-class variation for classes in the tail. Consequently, aggregates of performance from these different trials account for the intra-class variation noise from classes in the tail. The experiments report a per-class accuracy average, the average class-accuracy, and their standard deviations over three different trails. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
174,
|
| 669 |
+
565,
|
| 670 |
+
825,
|
| 671 |
+
704
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "Because the considered datasets are balanced, the experiments “long-tailed” these datasets following the procedure proposed by Wang et al. (2017). For every class, the procedure computed the number of samples to draw from the balanced set using an exponential distribution. Thus, as the class index grows, the number of training instances decreases according to the exponential distribution. Given the computed number of samples to draw, the procedure randomly selects these instances from the balanced set to generate a training long-tailed dataset version. Fig. 3 shows a visualization of the training-instance distribution of the resultant long-tailed datasets. The experiments used the balanced testing sets because the goal is to measure generalization and overall performance. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
712,
|
| 681 |
+
825,
|
| 682 |
+
823
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "4.2 PERFORMANCE ON LONG-TAILED DATASETS",
|
| 689 |
+
"text_level": 1,
|
| 690 |
+
"bbox": [
|
| 691 |
+
178,
|
| 692 |
+
840,
|
| 693 |
+
524,
|
| 694 |
+
856
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 6
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "The goal of this experiment is to evaluate the learned embedding using a long-tailed dataset. To do so, the experiments used the long-tailed datasets described above. In particular, the target is to measure any classification improvement for classes in the tail with respect to the regular softmax classifier. Since most of the baselines rely on class-centroids to classify, the experiments use a nearest-class-mean (Mensink et al., 2013) classifier. Thus, the experiments computed the deepfeatures for the training and testing sets after learning the feature encoder $f _ { w } ( \\cdot )$ ; a deep feature is the output of $f _ { w } ( \\cdot )$ which is the input tensor to the classifier or softmax layer. Then, the experiments computed a class centroid using the long-tailed training set for every method. ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
174,
|
| 703 |
+
867,
|
| 704 |
+
823,
|
| 705 |
+
922
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 6
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "image",
|
| 711 |
+
"img_path": "images/696dbac649133647dbfaa21c3422527d3f197a60b304f84a44f8345d043cce28.jpg",
|
| 712 |
+
"image_caption": [
|
| 713 |
+
"Figure 4: Left column: Relative classification accuracy gain of the competing and proposed methods with respect to a softmax classifier using long-tailed datasets. Overall, the proposed method tends to achieve a comparable accuracy to that of a softmax classifier while delivering an increase for tail classes. Right column: The performance of a softmax classifier. The performance for classes in the head is higher than that of the classes in the tail. "
|
| 714 |
+
],
|
| 715 |
+
"image_footnote": [],
|
| 716 |
+
"bbox": [
|
| 717 |
+
178,
|
| 718 |
+
98,
|
| 719 |
+
820,
|
| 720 |
+
700
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 7
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "",
|
| 727 |
+
"bbox": [
|
| 728 |
+
174,
|
| 729 |
+
790,
|
| 730 |
+
823,
|
| 731 |
+
847
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 7
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "To measure the classification improvements, the experiments trained all the methods with three different long-tailed datasets and used the balanced testing sets. Then, the experiment computed an average class-accuracy from the three trials for every baseline. To measure the relative performance with respect to a softmax classifier, the experiment computed the ratio between the average classaccuracy of a competing method (i.e., iCaRL (Rebuffi et al., 2017), center loss (Wen et al., 2016), and the proposed method) and the average class-accuracy of a softmax classifier; the softmax classifier is the reference because it tends to bias towards classes in the head (Wang et al., 2017). ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
854,
|
| 741 |
+
823,
|
| 742 |
+
924
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 7
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "table",
|
| 748 |
+
"img_path": "images/f15737100b2934a598eb272df160e86877bbd816356e5b4018a14f1c087f578f.jpg",
|
| 749 |
+
"table_caption": [
|
| 750 |
+
"Table 1: Average relative performance with respect to a softmax classifier for classes in the head (H column) and tail (T column); the relative performance is the ratio between the class accuracies of a competing method and a softmax classifier. The proposed method increases the performance on classes in the tail while maintaining a comparable performance to that of a softmax classifier for classes in the head. Bold numbers indicate the highest performance per dataset in each row. "
|
| 751 |
+
],
|
| 752 |
+
"table_footnote": [],
|
| 753 |
+
"table_body": "<table><tr><td rowspan=\"2\">Datasets</td><td rowspan=\"2\">iCarl [Unorm] H</td><td rowspan=\"2\">T</td><td rowspan=\"2\">H</td><td rowspan=\"2\">iCarl [Norm] T</td><td rowspan=\"2\">Center loss H</td><td rowspan=\"2\">T</td><td colspan=\"2\">Proposed</td></tr><tr><td>H</td><td>T</td></tr><tr><td>MNIST</td><td>0.98</td><td>1.00</td><td>0.99</td><td>1.01</td><td>0.99</td><td>1.00</td><td>0.99</td><td>1.01</td></tr><tr><td>CIFAR 10</td><td>0.95</td><td>2.22</td><td>0.95</td><td>2.22</td><td>0.92</td><td>1.8</td><td>0.98</td><td>2.44</td></tr><tr><td>CIFAR 100</td><td>0.72</td><td>0.80</td><td>0.83</td><td>0.90</td><td>0.71</td><td>0.66</td><td>0.96</td><td>1.04</td></tr><tr><td>Tiny ImageNet</td><td>0.86</td><td>1.07</td><td>0.95</td><td>1.06</td><td>0.76</td><td>0.8</td><td>0.97</td><td>1.12</td></tr></table>",
|
| 754 |
+
"bbox": [
|
| 755 |
+
248,
|
| 756 |
+
183,
|
| 757 |
+
741,
|
| 758 |
+
261
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 8
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "",
|
| 765 |
+
"bbox": [
|
| 766 |
+
173,
|
| 767 |
+
280,
|
| 768 |
+
823,
|
| 769 |
+
308
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 8
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "Fig. 4 shows the results of this experiment on small- and medium-scale datasets in the first two rows and last two rows, respectively. The Figure shows the relative performance for all the classes in a dataset in the left column, the class accuracy of a softmax classifier on the right column, and the average class-accuracy of the compared methods in the labels. All the plots in the left column show a black solid line indicating the performance of a softmax classifier. Thus, a decrement falls below the line while an increment raises above the line. ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
173,
|
| 778 |
+
314,
|
| 779 |
+
825,
|
| 780 |
+
397
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 8
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "The results on the MNIST dataset (first row) show that most of the competing methods perform comparable to that of a softmax classifier. However, the GMM method underperforms for classes in the tail. For this dataset, a softmax classifier does not present a significant bias towards classes in the head. Thus, these results indicate that the competing and proposed methods, with the exception of the GMM, operate well given a dataset with minor visual variations (e.g., illumination variations, pose, occlusion, among others). Consequently, these results effectively work as a sanity check of the proposed and competing methods (i.e., iCaRl and Centerloss). The results on CIFAR 10 (second row) show that the proposed approach and competing methods tend to perform comparable to a softmax classifier for classes in the head (i.e., the first three classes). In addition, the results show that the GMM also underperforms for classes in the tail. However, the proposed approach and competing methods tend to increase relative performance for classes in the tail. In this dataset, the proposed approach achieved an average class-accuracy of $68 \\%$ , which is the highest compared to all the methods. ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
174,
|
| 789 |
+
405,
|
| 790 |
+
825,
|
| 791 |
+
585
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 8
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "The plots in the third row show the results on CIFAR 100. The plot in the left shows that the proposed method achieves a comparable performance with respect to a softmax classifier for classes in the head (i.e., the first twenty classes). On the other hand, the competing methods have a larger decrease in accuracy for classes in the head. The GMM in this dataset again underperforms for classes in the tail. The plot in the left shows that the proposed approach tends to increase the relative performance for classes in the tail. Overall, they tend to be larger than those of the competing methods and a softmax classifier. Lastly, the plot at the bottom shows the results on Tiny ImageNet. The plot in the left shows similar observations. The proposed approach maintains a comparable performance with respect to a softmax classifier for classes in the head. However, it delivers an increase in relative performance for classes in the tail. The GMM approach suffers for classes in the tail because the covariance estimates are poor due to the lack of data. ",
|
| 798 |
+
"bbox": [
|
| 799 |
+
174,
|
| 800 |
+
592,
|
| 801 |
+
825,
|
| 802 |
+
746
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 8
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "To highlight the previous observations, Table 1 shows a break down of the average relative performance for classes in the head (H column) and in the tail (T column); this experiment excludes the GMM approach. To measure an average relative performance for classes in the head, the experiments used a weighted average of the relative performance considering all the classes. The average used the fraction of instances for a given class in the training set as its corresponding weight. Specifically, the weight for the $i$ -th class is $\\begin{array} { r } { w _ { i } = { \\frac { n _ { i } } { n } } } \\\\ { \\qquad \\mathbf { \\cdots } \\qquad } \\end{array}$ , where $n _ { i }$ is the number of training instances for the $i$ -th class and $n$ is the total number of training instances in the long-tailed training set. Thus, this average emphasizes the relative performance of classes with abundant training instances while decreasing the contribution of the classes with scarce training data. To compute a weighted average of the relative performance for classes in the tail, the experiment calculated the weight $w _ { i } ^ { \\prime }$ for the $i$ -th class as follows: $\\begin{array} { r } { w _ { i } ^ { \\prime } = \\frac { 1 - w _ { i } } { \\sum _ { i } 1 - w _ { i } } } \\end{array}$ These weights emphasize the relative performance of the classes in the tail while diminishing the relative performance of classes in the head. The results in Table 1 show that the proposed method maintains a comparable peformance for classes in the head with respect to a softmax classifier. At the same time, the proposed method consistently improves the performance for classes in the tail. ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
173,
|
| 811 |
+
752,
|
| 812 |
+
825,
|
| 813 |
+
924
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 8
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "table",
|
| 819 |
+
"img_path": "images/3294334cc4c853edb6a7d75bb60f3974a69b9bd3936370cc303b3cc4599edbb7.jpg",
|
| 820 |
+
"table_caption": [
|
| 821 |
+
"Table 2: Classification performance improvement by using the regularizer in the proposed approach on CIFAR 10. The proposed approach with regularizer achieves a higher classification accuracy than the approach without the regularizer. "
|
| 822 |
+
],
|
| 823 |
+
"table_footnote": [],
|
| 824 |
+
"table_body": "<table><tr><td rowspan=\"2\">Configuration</td><td colspan=\"10\">Class Index</td><td rowspan=\"2\">Avg. Acc.</td></tr><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr><tr><td>w/regularizer</td><td>81</td><td>85</td><td>68</td><td>62</td><td>67</td><td>58</td><td>70</td><td>61</td><td>65</td><td>68</td><td>68</td></tr><tr><td>w/o regularizer</td><td>72</td><td>72</td><td>57</td><td>63</td><td>65</td><td>55</td><td>67</td><td>63</td><td>68</td><td>58</td><td>64</td></tr></table>",
|
| 825 |
+
"bbox": [
|
| 826 |
+
246,
|
| 827 |
+
156,
|
| 828 |
+
750,
|
| 829 |
+
210
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 9
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "image",
|
| 835 |
+
"img_path": "images/2d8f2a40598e5cf35e43968af729b45f30c97d6162de793775d9693763a43076.jpg",
|
| 836 |
+
"image_caption": [
|
| 837 |
+
"Figure 5: Accuracy increase achieved by using the proposed regularizer on CIFAR 100. Overall, the proposed approach with regularizer tends to increase the accuracy across all classes compared to the proposed approach without one. "
|
| 838 |
+
],
|
| 839 |
+
"image_footnote": [],
|
| 840 |
+
"bbox": [
|
| 841 |
+
294,
|
| 842 |
+
226,
|
| 843 |
+
691,
|
| 844 |
+
390
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 9
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
450,
|
| 854 |
+
826,
|
| 855 |
+
493
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 9
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "4.3 EFFECT OF THE CENTROIDS REGULARIZER ",
|
| 862 |
+
"text_level": 1,
|
| 863 |
+
"bbox": [
|
| 864 |
+
173,
|
| 865 |
+
515,
|
| 866 |
+
514,
|
| 867 |
+
529
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 9
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "The goal of this experiment is to measure the benefits of the regularizer in the proposed method. To do so, this experiment compared the proposed method with a hyperparemeter $\\lambda = 0$ , leaving only the Bayesian classifier, and the configuration tested in the previous Section. Note that this setting is equivalent to only using a linear classifier with restricted bias, according to the discussion in Sec. 3.2. This experiment only considered CIFAR 10 and 100, and tested performance also considering three different long-tailed training sets for each dataset. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
174,
|
| 876 |
+
531,
|
| 877 |
+
825,
|
| 878 |
+
614
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 9
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "The results of this experiment on CIFAR 10 are shown in Table 2. The table shows the average accuracies per class for the proposed method using a regularizer with $\\lambda = 0 . 0 0 1$ (top row), and without a regularizer (bottom row). The last column of the table shows the average classification performance. This table shows that the regularizer overall improves classification performance. This is expected since the regularizer aims to retain the centroid-parameters that are as close as possible to the batch-sample-mean centroids. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
621,
|
| 888 |
+
825,
|
| 889 |
+
705
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 9
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Fig. 5 presents the results of this experiment on CIFAR 100. The plot shows the accuracy gains obtained by comparing the accuracies of the proposed method using a regularizer with $\\lambda = 0 . 0 0 0 1$ across all classes. Also, the plot shows the average accuracies for both methods. The plot indicates that the regularizer consistently provides an accuracy increase across classes. Thus, the regularizer is an important component that overall improves the classification performance. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
174,
|
| 898 |
+
712,
|
| 899 |
+
825,
|
| 900 |
+
782
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 9
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "5 CONCLUSION ",
|
| 907 |
+
"text_level": 1,
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
792,
|
| 911 |
+
318,
|
| 912 |
+
808
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 9
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "This work introduced a method that improves the classification performance for classes in the tail. The proposed approach is based on a Gaussian mixture model that allows a Bayesian classifier to represent the distribution of a long-tailed dataset and to compute the class-prediction probabilities. The experiments on publicly available dataset show that the proposed approach tends to increase the classification accuracy for classes in the tail while maintaining a comparable accuracy to that of a softmax classifier for classes in the head. In addition, this work introduced an evaluation method for methods that tackle the learning of concepts from a long-tailed dataset. Finally, this work demonstrated that class-centroid approaches overall tend to generalize well for classes in the tail while maintaining a comparable performance to that of a softmax classifiers for classes in the head. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
825,
|
| 922 |
+
825,
|
| 923 |
+
924
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 9
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "",
|
| 930 |
+
"bbox": [
|
| 931 |
+
171,
|
| 932 |
+
103,
|
| 933 |
+
823,
|
| 934 |
+
132
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 10
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "REFERENCES ",
|
| 941 |
+
"text_level": 1,
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
154,
|
| 945 |
+
287,
|
| 946 |
+
167
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 10
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "Pulkit Agrawal, Ross Girshick, and Jitendra Malik. Analyzing the performance of multilayer neural networks for object recognition. In European conference on computer vision, pp. 329–344. Springer, 2014. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
176,
|
| 955 |
+
176,
|
| 956 |
+
823,
|
| 957 |
+
218
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 10
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "Christopher M Bishop. Pattern recognition and machine learning. springer, 2006. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
228,
|
| 967 |
+
710,
|
| 968 |
+
243
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 10
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Stephen Boyd and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
171,
|
| 977 |
+
252,
|
| 978 |
+
816,
|
| 979 |
+
268
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 10
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2009. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
173,
|
| 988 |
+
276,
|
| 989 |
+
823,
|
| 990 |
+
319
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 10
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Venice Erin Liong, Jiwen Lu, Gang Wang, Pierre Moulin, and Jie Zhou. Deep hashing for compact binary codes learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2475–2483, 2015. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
176,
|
| 999 |
+
329,
|
| 1000 |
+
825,
|
| 1001 |
+
372
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 10
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Gregory Griffin, Alex Holub, and Pietro Perona. Caltech-256 object category dataset, 2007. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
171,
|
| 1010 |
+
381,
|
| 1011 |
+
774,
|
| 1012 |
+
397
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 10
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Bharath Hariharan and Ross Girshick. Low-shot visual recognition by shrinking and hallucinating features. In Proc. of the IEEE International Conf. on Computer Vision (ICCV), October 2017. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
173,
|
| 1021 |
+
405,
|
| 1022 |
+
823,
|
| 1023 |
+
435
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 10
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "Haibo He and Edwardo A Garcia. Learning from imbalanced data. IEEE Trans. on Knowledge and Data Engineering, 21(9):1263–1284, 2009. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
171,
|
| 1032 |
+
443,
|
| 1033 |
+
823,
|
| 1034 |
+
473
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 10
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2016. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
481,
|
| 1044 |
+
825,
|
| 1045 |
+
523
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 10
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Chen Huang, Yining Li, Chen Change Loy, and Xiaoou Tang. Learning deep representation for imbalanced classification. In Proc. of the IEEE Conf. Computer Vision and Pattern Recognition (CVPR), June 2016. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
174,
|
| 1054 |
+
534,
|
| 1055 |
+
825,
|
| 1056 |
+
577
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 10
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2017. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
173,
|
| 1065 |
+
585,
|
| 1066 |
+
825,
|
| 1067 |
+
628
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 10
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014. ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
173,
|
| 1076 |
+
638,
|
| 1077 |
+
823,
|
| 1078 |
+
666
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 10
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
174,
|
| 1087 |
+
676,
|
| 1088 |
+
821,
|
| 1089 |
+
693
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 10
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"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. ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
174,
|
| 1098 |
+
700,
|
| 1099 |
+
823,
|
| 1100 |
+
729
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 10
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "Yann LeCun, Leon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to ´ document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
171,
|
| 1109 |
+
738,
|
| 1110 |
+
823,
|
| 1111 |
+
768
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 10
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European Conference on Computer Vision, pp. 740–755. Springer, 2014. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
176,
|
| 1120 |
+
776,
|
| 1121 |
+
825,
|
| 1122 |
+
820
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 10
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "Thomas Mensink, Jakob Verbeek, Florent Perronnin, and Gabriela Csurka. Distance-based image classification: Generalizing to new classes at near-zero cost. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(11):2624–2637, 2013. ",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
176,
|
| 1131 |
+
829,
|
| 1132 |
+
823,
|
| 1133 |
+
872
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 10
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin A. Riedmiller. Playing atari with deep reinforcement learning. CoRR, abs/1312.5602, 2013. ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
176,
|
| 1142 |
+
881,
|
| 1143 |
+
823,
|
| 1144 |
+
924
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 10
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015. ",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
176,
|
| 1153 |
+
103,
|
| 1154 |
+
820,
|
| 1155 |
+
146
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 11
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "Sameer A. Nene, Shree K. Nayar, and Hiroshi Murase. Columbia object image library (coil-20. Technical report, 1996. ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
173,
|
| 1164 |
+
154,
|
| 1165 |
+
821,
|
| 1166 |
+
183
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 11
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Ankit B Patel, Minh Tan Nguyen, and Richard Baraniuk. A probabilistic framework for deep learning. In Advances in Neural Information Processing Systems (NIPS), pp. 2558–2566. 2016. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
173,
|
| 1175 |
+
190,
|
| 1176 |
+
821,
|
| 1177 |
+
220
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 11
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Ariadna Quattoni and Antonio Torralba. Recognizing indoor scenes. In Proc of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2009. ",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
171,
|
| 1186 |
+
228,
|
| 1187 |
+
825,
|
| 1188 |
+
257
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 11
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H. Lampert. iCaRL: Incremental Classifier and Representation Learning. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), July 2017. ",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
176,
|
| 1197 |
+
265,
|
| 1198 |
+
825,
|
| 1199 |
+
309
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 11
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision (IJCV), 115(3): 211–252, December 2015. ",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
173,
|
| 1208 |
+
315,
|
| 1209 |
+
825,
|
| 1210 |
+
372
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 11
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Ruslan Salakhutdinov, Antonio Torralba, and Josh Tenenbaum. Learning to share visual appearance for multiclass object detection. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2011. ",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
174,
|
| 1219 |
+
381,
|
| 1220 |
+
823,
|
| 1221 |
+
424
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 11
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In Proc. of the International Conference on Learning Representations (ICLR), 2015. ",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
174,
|
| 1230 |
+
431,
|
| 1231 |
+
820,
|
| 1232 |
+
462
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 11
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "J. Snell, K. Swersky, and R. S. Zemel. Prototypical Networks for Few-shot Learning. In Advances in Neural Information Processing Systems (NIPS). 2017. ",
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
174,
|
| 1241 |
+
468,
|
| 1242 |
+
821,
|
| 1243 |
+
498
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 11
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"text": "Nicholas D Socci, Daniel D Lee, and H Sebastian Seung. The rectified gaussian distribution. In Advances in neural information processing systems, pp. 350–356, 1998. ",
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
174,
|
| 1252 |
+
506,
|
| 1253 |
+
823,
|
| 1254 |
+
536
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 11
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmiller. Striving for simplicity: The all convolutional net. arXiv preprint arXiv:1412.6806, 2014. ",
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
171,
|
| 1263 |
+
542,
|
| 1264 |
+
823,
|
| 1265 |
+
571
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 11
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proc. of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2015. ",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
176,
|
| 1274 |
+
579,
|
| 1275 |
+
823,
|
| 1276 |
+
623
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 11
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "Jozef L Teugels. Some representations of the multivariate bernoulli and binomial distributions. Journal of multivariate analysis, 32(2):256–268, 1990. ",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
169,
|
| 1285 |
+
631,
|
| 1286 |
+
821,
|
| 1287 |
+
660
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 11
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"text": "Aaron van den Oord and Benjamin Schrauwen. Factoring variations in natural images with deep gaussian mixture models. In Advances in Neural Information Processing Systems (NIPS), pp. 3518–3526. 2014. ",
|
| 1294 |
+
"bbox": [
|
| 1295 |
+
173,
|
| 1296 |
+
667,
|
| 1297 |
+
823,
|
| 1298 |
+
710
|
| 1299 |
+
],
|
| 1300 |
+
"page_idx": 11
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "text",
|
| 1304 |
+
"text": "Grant Van Horn and Pietro Perona. The devil is in the tails: Fine-grained classification in the wild. arXiv preprint arXiv:1709.01450, 2017. ",
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
169,
|
| 1307 |
+
718,
|
| 1308 |
+
821,
|
| 1309 |
+
747
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 11
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "Yu-Xiong Wang and Martial Hebert. Learning from Small Sample Sets by Combining Unsupervised Meta-Training with CNNs. In Advances in Neural Information Processing Systems (NIPS). 2016. ",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
174,
|
| 1318 |
+
756,
|
| 1319 |
+
821,
|
| 1320 |
+
785
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 11
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"text": "Yu-Xiong Wang, Deva Ramanan, and Martial Hebert. Learning To Model the Tail. In Advances in Neural Information Processing Systems (NIPS). 2017. ",
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
171,
|
| 1329 |
+
792,
|
| 1330 |
+
823,
|
| 1331 |
+
821
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 11
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "Yandong Wen, Kaipeng Zhang, Zhifeng Li, and Yu Qiao. A discriminative feature learning approach for deep face recognition. In Proc. of the European Conference on Computer Vision (ECCV), pp. 499–515. Springer, 2016. ",
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
176,
|
| 1340 |
+
830,
|
| 1341 |
+
823,
|
| 1342 |
+
873
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 11
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"text": "Xiangxin Zhu, Dragomir Anguelov, and Deva Ramanan. Capturing long-tail distributions of object subcategories. In Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2014. ",
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
174,
|
| 1351 |
+
882,
|
| 1352 |
+
825,
|
| 1353 |
+
924
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 11
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "Xiangxin Zhu, Carl Vondrick, Charless C. Fowlkes, and Deva Ramanan. Do we need more training data? International Journal of Computer Vision (IJCV), 119(1):76–92, Aug 2016. ",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
176,
|
| 1362 |
+
103,
|
| 1363 |
+
823,
|
| 1364 |
+
132
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 12
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"text": "A HYPERPARAMETERS AND IMPLEMENTATION DETAILS ",
|
| 1371 |
+
"text_level": 1,
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
176,
|
| 1374 |
+
159,
|
| 1375 |
+
656,
|
| 1376 |
+
174
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 12
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "In order to guarantee similar training conditions for all the methods, the experiments used the same framework parameters (e.g., number of steps, learning rate, decay factors, among others) for all the considered methods. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
178,
|
| 1385 |
+
189,
|
| 1386 |
+
823,
|
| 1387 |
+
232
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 12
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "All the tested methods used an Adam optimizer (Kingma & Ba, 2014) and a batch size of 32. The experiments used a learning rate of 0.01 and 0.1 for the small- and medium-scale datasets, respectively. The experiments used the default exponential-learning-rate decay, weight decay, and drop-out parameters provided in TensorFlow Models. The hyperparameters used for center-loss are 0.5 for the centroids learning rate and a scale value of 0.001 for MNIST and CIFAR 10, 0.0001 for CIFAR 100 and Tiny ImageNet the proposed method. The hyperparameter for the proposed approach was set to 0.001 for MNIST and CIFAR 10, and 0.0001 for CIFAR 100 and Tiny ImageNet. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
174,
|
| 1396 |
+
238,
|
| 1397 |
+
825,
|
| 1398 |
+
337
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 12
|
| 1401 |
+
}
|
| 1402 |
+
]
|
parse/train/Bk9nkMa4G/Bk9nkMa4G_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bk9nkMa4G/Bk9nkMa4G_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkGzUjR5tQ/HkGzUjR5tQ.md
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 6 |
+
|
| 7 |
+
We propose a new architecture termed Dual Adversarial Transfer Network (DATNet) for addressing low-resource Named Entity Recognition (NER). Specifically, two variants of DATNet, i.e., DATNet-F and DATNet-P, are proposed to explore effective feature fusion between high and low resource. To address the noisy and imbalanced training data, we propose a novel Generalized ResourceAdversarial Discriminator (GRAD). Additionally, adversarial training is adopted to boost model generalization. We examine the effects of different components in DATNet across domains and languages, and show that significant improvement can be obtained especially for low-resource data. Without augmenting any additional hand-crafted features, we achieve new state-of-the-art performances on CoNLL and Twitter NER— $8 8 . 1 6 \%$ F1 for Spanish, $5 3 . 4 3 \%$ F1 for WNUT-2016, and $4 2 . 8 3 \%$ F1 for WNUT- $2 0 1 7 ^ { 1 }$ .
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Named entity recognition (NER) is an important step in most natural language processing (NLP) applications. It detects not only the type of named entity, but also the entity boundaries, which requires deep understanding of the contextual semantics to disambiguate the different entity types of same tokens. To tackle this challenging problem, most early studies were based on hand-crafted rules, which suffered from limited performance in practice. Current methods are devoted to developing learning based algorithms, especially neural network based methods, and have been advancing the state-of-the-art consecutively (Collobert et al., 2011; Huang et al., 2015; Lample et al., 2016; Chiu & Nichols, 2016; Ma & Hovy, 2016). These end-to-end models generalize well on new entities based on features automatically learned from the data. However, when the annotated corpora is small, especially in the low resource scenario (Zhang et al., 2016), the performance of these methods degrades significantly since the hidden feature representations cannot be learned adequately.
|
| 12 |
+
|
| 13 |
+
Recently, more and more approaches have been proposed to address low-resource NER. Early works (Chen et al., 2010; Li et al., 2012) primarily assumed a large parallel corpus and focused on exploiting them to project information from high- to low-resource. Unfortunately, such a large parallel corpus may not be available for many low-resource languages. More recently, cross-resource word embedding (Fang & Cohn, 2017; Adams et al., 2017; Yang et al., 2017) was proposed to bridge the low and high resources and enable knowledge transfer. Although the aforementioned transferbased methods show promising performance in low-resource NER, there are two issues deserved to be further investigated on: 1) Representation Difference - they did not consider the representation difference across resources and enforced the feature representation to be shared across languages/domains; 2) Resource Data Imbalance - the training size of high-resource is usually much larger than that of low-resource. The existing methods neglect such difference in their models, resulting in poor generalization.
|
| 14 |
+
|
| 15 |
+
In this work, we present an approach termed Dual Adversarial Transfer Network (DATNet) to address the above issues in a unified framework for low-resource NER. Specifically, to handle the representation difference, we first investigate on two architectures of hidden layers (we use bidirectional long-short term memory (BiLSTM) model as hidden layer) for transfer. The first one is that all the units in hidden layers are common units shared across languages/domains. The second one is composed of both private and common units, where the private part preserves the independent language/domain information. Extensive experiments are conducted to show their advantages over each other in different situations. On top of common units, the adversarial discriminator (AD) loss is introduced to encourage the resource-agnostic representation so that the knowledge from high resource can be more compatible with low resource. To handle the resource data imbalance issue, we further propose a variant of the AD loss, termed Generalized Resource-Adversarial Discriminator (GRAD), to impose the resource weight during training so that low-resource and hard samples can be paid more attention to. In addition, we create adversarial samples to conduct the Adversarial Training (AT), further improving the generalization and alleviating over-fitting problem. We unify two kinds of adversarial learning, i.e., GRAD and AT, into one transfer learning model, termed Dual Adversarial Transfer Network (DATNet), to achieve end-to-end training and obtain the state-of-the-art performance on a series of NER tasks– $8 8 . 1 6 \%$ F1 for CoNLL-2002 Spanish, $5 3 . 4 3 \%$ and $4 2 . 8 3 \%$ F1 for WNUT-2016 and 2017. Different from prior works, we do not use additional hand-crafted features and do not use cross-lingual word embeddings while addressing the cross-language tasks.
|
| 16 |
+
|
| 17 |
+
# 2 RELATED WORK
|
| 18 |
+
|
| 19 |
+
Named Entity Recognition NER is typically framed as a sequence labeling task which aims at automatic detection of named entities (e.g., person, organization, location and etc.) from free text (Marrero et al., 2013). The early works applied CRF, SVM, and perception models with handcrafted features (Ratinov & Roth, 2009; Passos et al., 2014; Luo et al., 2015). With the advent of deep learning, research focus has been shifting towards deep neural networks (DNN), which requires little feature engineering and domain knowledge (Lample et al., 2016; Zukov Gregoric et al., 2018). Collobert et al. (2011) proposed a feed-forward neural network with a fixed sized window for each word, which failed in considering useful relations between long-distance words. To overcome this limitation, Chiu & Nichols (2016) presented a bidirectional LSTM-CNNs architecture that automatically detects word- and character-level features. Ma & Hovy (2016) further extended it into bidirectional LSTM-CNNs-CRF architecture, where the CRF module was added to optimize the output label sequence. Liu et al. (2018) proposed task-aware neural language model termed LMLSTM-CRF, where character-aware neural language models were incorporated to extract characterlevel embedding under a multi-task framework.
|
| 20 |
+
|
| 21 |
+
Transfer Learning for NER Transfer learning can be a powerful tool to low resource NER tasks. To bridge high and low resource, transfer learning methods for NER can be divided into two types: the parallel corpora based transfer and the shared representation based transfer. Early works mainly focused on exploiting parallel corpora to project information between the high- and low-resource language (Yarowsky et al., 2001; Chen et al., 2010; Li et al., 2012; Feng et al., 2018). For example, Chen et al. (2010) and Feng et al. (2018) proposed to jointly identify and align bilingual named entities. On the other hand, the shared representation methods do not require the parallel correspondence (Rei & Søgaard, 2018). For instance, Fang & Cohn (2017) proposed cross-lingual word embeddings to transfer knowledge across resources. Yang et al. (2017) presented a transfer learning approach based on a deep hierarchical recurrent neural network (RNN), where full/partial hidden features between source and target tasks are shared. Ni et al. (Ni & Florian, 2016; Ni et al., 2017) utilized the Wikipedia entity type mappings to improve low-resource NER. Al-Rfou’ et al. (2015) built massive multilingual annotators with minimal human expertise by using language agnostic techniques. Mayhew et al. (2017) created a cross-language NER system, which works well for very minimal resources by translate annotated data of high-resource into low-resource. Cotterell & Duh (2017) proposed character-level neural CRFs to jointly train and predict low- and high-resource languages. Pan et al. (2017) proposes a large-scale cross-lingual named entity dataset which contains 282 languages for evaluation. In addition, multi-task learning (Yang et al., 2016; Luong et al., 2016; Rei, 2017; Aguilar et al., 2017; Hashimoto et al., 2017; Lin et al., 2018) shows that jointly training on multiple tasks/languages helps improve performance. Different from transfer learning methods, multi-task learning aims at improving the performance of all the resources instead of low resource only.
|
| 22 |
+
|
| 23 |
+
Adversarial Learning Adversarial learning originates from Generative Adversarial Nets (GAN) (Goodfellow et al., 2014), which shows impressing results in computer vision. Recently, many papers have tried to apply adversarial learning to NLP tasks. Liu et al. (2017) presented an adversarial multi-task learning framework for text classification. Gui et al. (2017) applied the adversarial discriminator to POS tagging for Twitter. Kim et al. (2017) proposed a language discriminator to enable language-adversarial training for cross-language POS tagging. Apart from adversarial discriminator, adversarial training is another concept originally introduced by (Szegedy et al., 2014; Goodfellow et al., 2015) to improve the robustness of image classification model by injecting malicious perturbations into input images. Recently, Miyato et al. (2017) proposed a semi-supervised text classification method by applying adversarial training, where for the first time adversarial perturbations were added onto word embeddings. Yasunaga et al. (2018) applied adversarial training to POS tagging. Different from all these adversarial learning methods, our method integrates both the adversarial discriminator and adversarial training in an unified framework to enable end-to-end training.
|
| 24 |
+
|
| 25 |
+
# 3 DUAL ADVERSARIAL TRANSFER NETWORK (DATNET)
|
| 26 |
+
|
| 27 |
+
In this section, we introduce DATNet in more details. We first describe a base model for NER, and then discuss two proposed transfer architectures for DATNet.
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: The general architecture of proposed models.
|
| 31 |
+
|
| 32 |
+
# 3.1 BASIC ARCHITECTURE
|
| 33 |
+
|
| 34 |
+
We follow state-of-the-art models for NER task (Huang et al., 2015; Lample et al., 2016; Chiu & Nichols, 2016; Ma & Hovy, 2016), i.e., LSTM-CNNs-CRF based structure, to build the base model. It consists of the following pieces: character-level embedding, word-level embedding, BiLSTM for feature representation, and CRF as the decoder. The character-level embedding takes a sequence of characters in the word as atomic units input to derive the word representation that encodes the morphological information, such as root, prefix, and suffix. These character features are usually encoded by character-level CNN or BiLSTM, then concatenated with word-level embedding to form the final word vectors. On top of them, the network further incorporates the contextual information using BiLSTM to output new feature representations, which is subsequently fed into CRF layer to predict label sequence. Although both of the word-level layer and the character-level layer can be implemented using CNNs or RNNs, we use CNNs for extracting character-level and RNNs for extracting word-level representation. Fig. 1(a) shows the the architecture of the base model.
|
| 35 |
+
|
| 36 |
+
# 3.2 DUAL ADVERSARIAL TRANSFER ARCHITECTURE
|
| 37 |
+
|
| 38 |
+
# 3.2.1 CHARACTER-LEVEL ENCODER
|
| 39 |
+
|
| 40 |
+
Previous works have shown that character features can boost sequence labeling performance by capturing morphological and semantic information (Lin et al., 2018). For low-resource dataset to obtain high-quality word features, character features learned from other language/domain may provide crucial information for labeling, especially for rare and out-of-vocabulary words. Character-level encoder usually contains BiLSTM (Lample et al., 2016) and CNN (Chiu & Nichols, 2016; Ma & Hovy,
|
| 41 |
+
|
| 42 |
+
2016) approaches. In practice, Reimers & Gurevych (2017) observed that the difference between the two approaches is statistically insignificant in sequence labeling tasks, but character-level CNN is more efficient and has less parameters. Thus, we use character-level CNN and share character features between high- and low-resource tasks to enhance the representations of low-resource.
|
| 43 |
+
|
| 44 |
+
# 3.2.2 WORD-LEVEL ENCODER
|
| 45 |
+
|
| 46 |
+
To learn a better word-level representation, we concatenate character-level features of each word with a latent word embedding as $\mathbf { w } _ { i } = [ \mathbf { w } _ { i } ^ { c h a r } , \mathbf { w } _ { i } ^ { e m b } ]$ , where the latent word embedding $\mathbf { w } _ { i } ^ { e m b }$ is initialized with pre-trained embeddings and fixed during training. One unique characteristic of NER is that the historical and future input for a given time step could be useful for label inference. To exploit such a characteristic, we use a bidirectional LSTM architecture (Hochreiter & Schmidhuber, 1997) to extract contextualized word-level features. In this way, we can gather the information from the past and future for a particular time frame $t$ as follows, $\vec { \mathbf { h } } _ { t } = \mathtt { l s t m } ( \vec { \mathbf { h } } _ { t - 1 } , \mathbf { w } _ { t } ) , \ \overleftarrow { \mathbf { h } } _ { t } $ $\left\{ \overline { { \mathbf { h } } } _ { t } = \right.$ $\mathtt { l s t m } ( \overleftarrow { \mathbf { h } } _ { t + 1 } , \mathbf { w } _ { t } )$ . After the LSTM layer, the representation of a word is obtained by concatenating its left and right context representation as follows, $\mathbf h _ { t } = [ \widehat { \mathbf h } _ { t } , \widetilde { \mathbf h } _ { t } ]$ .
|
| 47 |
+
|
| 48 |
+
To consider the resource representation difference on word-level features, we introduce two kinds of transferable word-level encoder in our model, namely DATNet-Full Share (DATNet-F) and DATNetPart Share (DATNet-P). In DATNet-F, all the BiLSTM units are shared by both resources while word embeddings for different resources are disparate. The illustrative figure is depicted in the Fig. 1(c). Different from DATNet-F, the DATNet-P decomposes the BiLSTM units into the shared component and the resource-related one, which is shown in the Fig. 1(b).
|
| 49 |
+
|
| 50 |
+
# 3.2.3 GENERALIZED RESOURCE-ADVERSARIAL DISCRIMINATOR
|
| 51 |
+
|
| 52 |
+
In order to make the feature representation extracted from the source domain more compatible with those from the target domain, we encourage the outputs of the shared BiLSTM part to be resourceagnostic by constructing a resource-adversarial discriminator, which is inspired by the LanguageAdversarial Discriminator proposed by Kim et al. (2017). Unfortunately, previous works did not consider the imbalance of training size for two resources. Specifically, the target domain consists of very limited labeled training data, e.g., 10 sentences. In contrast, labeled training data in the source domain are much richer, e.g., 10k sentences. If such imbalance was not considered during training, the stochastic gradient descent (SGD) optimization would make the model more biased to high resource (Lin et al., 2017b). To address this imbalance problem, we impose a weight $\alpha$ on two resources to balance their influences. However, in the experiment we also observe that the easily classified samples from high resource comprise the majority of the loss and dominate the gradient. To overcome this issue, we further propose Generalized Resource-Adversarial Discriminator (GRAD) to enable adaptive weights for each sample (note that the sample here means each sentence of resource), which focuses the model training on hard samples.
|
| 53 |
+
|
| 54 |
+
To compute the loss of GRAD, the output sequence of the shared BiLSTM is firstly encoded into a single vector via a self-attention module (Bahdanau et al., 2015), and then projected into a scalar $r$ via a linear transformation. The loss function of the resource classifier is formulated as:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\ell _ { G R A D } = - \sum _ { i } \{ \mathbf { I } _ { i \in \mathcal { D } _ { S } } \alpha ( 1 - r _ { i } ) ^ { \gamma } \log r _ { i } + \mathbf { I } _ { i \in \mathcal { D } _ { T } } ( 1 - \alpha ) r _ { i } ^ { \gamma } \log ( 1 - r _ { i } ) \}
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $\mathbf { I } _ { i \in \mathcal { D } _ { S } } , \mathbf { I } _ { i \in \mathcal { D } _ { T } }$ are the identity functions to denote whether a sentence is from high resource (source) and low resource (target), respectively; $\alpha$ is a weighting factor to balance the loss contribution from high and low resource; the parameter $( 1 - r _ { i } ) ^ { \gamma }$ (or $r _ { i } ^ { \gamma }$ ) controls the loss contribution from individual samples by measuring the discrepancy between prediction and true label (easy samples have smaller contribution); and $\gamma$ scales the contrast of loss contribution from hard and easy samples. In practice, the value of $\gamma$ does not need to be tuned much and usually set as 2 in our experiment. Intuitively, the weighting factors $\alpha$ and $( 1 - r _ { i } ) ^ { \gamma }$ reduce the loss contribution from high resource and easy samples, respectively. Note that though the resource classifier is optimized to minimize the resource classification error, when the gradients originated from the resource classification loss are back-propagated to the other model parts than the resource classifier, they are negated for parameter updates so that these bottom layers are trained to be resource-agnostic.
|
| 61 |
+
|
| 62 |
+
# 3.2.4 LABEL DECODER
|
| 63 |
+
|
| 64 |
+
The label decoder induces a probability distribution over sequences of labels, conditioned on the word-level encoder features. In this paper, we use a linear chain model based on the first-order Markov chain structure, termed the chain conditional random field (CRF) Lafferty et al. (2001), as the decoder. In this decoder, there are two kinds of cliques: local cliques and transition cliques. Specifically, local cliques correspond to the individual elements in the sequence. And transition cliques, on the other hand, reflect the evolution of states between two neighboring elements at time $t - 1$ and $t$ and we define the transition distribution as $\theta$ . Formally, a linear-chain CRF can be written $\begin{array} { r } { p ( \mathbf { y } | \mathbf { h } _ { 1 : T } ) = \frac { 1 } { Z ( \mathbf { h } _ { 1 : T } ) } \exp \left\{ \sum _ { t = 2 } ^ { T } \theta _ { y _ { t - 1 } , y _ { t } } + \sum _ { t = 1 } ^ { T } \mathbf { W } _ { y _ { t } } \mathbf { h } _ { t } \right\} } \end{array}$ , where $Z ( \mathbf { h } _ { 1 : T } )$ is a normalization term and $\mathbf { y }$ is the sequence of predicted labels as follows: $\mathbf { y } = y _ { 1 : T }$ . Model parameters are optimized to maximize this conditional log likelihood, which acts as the objective function of the model. We define the loss function for source and target resources as follows, $\begin{array} { r } { \ell _ { S } = - \sum _ { i } \log p ( \mathbf { y } | \mathbf { h } _ { 1 : T } ) } \end{array}$ , $\ell _ { T } =$ $\begin{array} { r } { - \sum _ { i } \log p ( \mathbf { y } | \mathbf { h } _ { 1 : T } ) } \end{array}$ .
|
| 65 |
+
|
| 66 |
+
# 3.2.5 ADVERSARIAL TRAINING
|
| 67 |
+
|
| 68 |
+
So far our model can be trained end-to-end with standard back-propagation by minimizing the following loss:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\ell = \ell _ { G R A D } + \ell _ { S } + \ell _ { T }
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
Recent works have demonstrated that deep learning models are fragile to adversarial examples Goodfellow et al. (2015). In computer vision, those adversarial examples can be constructed by changing a very small number of pixels, which are virtually indistinguishable to human perception (Pin-Yu et al., 2018). Recently, adversarial samples are widely incorporated into training to improve the generalization and robustness of the model, which is so-called adversarial training (AT) (Miyato et al., 2017). It emerges as a powerful regularization tool to stabilize training and prevent the model from being stuck in local minimum. In this paper, we explore AT in context of NER. To be specific, we prepare an adversarial sample by adding the original sample with a perturbation bounded by a small norm $\epsilon$ to maximize the loss function as follows:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\eta _ { \mathbf { x } } = \arg \operatorname* { m a x } _ { \eta : \| \eta \| _ { 2 } \leq \epsilon } \ell ( \Theta ; \mathbf { x } + \eta )
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where $\Theta$ is the current model parameters set. However, we cannot calculate the value of $\eta$ exactly in general, because the exact optimization with respect to $\eta$ is intractable in neural networks. Following the strategy in Goodfellow et al. (2015), this value can be approximated by linearizing it as follows,
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\eta _ { \mathbf { x } } = \epsilon \frac { \mathbf { g } } { \| \mathbf { g } \| _ { 2 } } , \mathrm { w h e r e } \mathbf { g } = \nabla \ell ( \Theta ; \mathbf { x } )
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $\epsilon$ can be determined on the validation set. In this way, adversarial examples are generated by adding small perturbations to the inputs in the direction that most significantly increases the loss function of the model. We find such $\eta$ against the current model parameterized by $\Theta$ , at each training step, and construct an adversarial example by ${ \bf x } _ { a d v } = { \bf x } + \eta _ { \bf x }$ . Noted that we generate this adversarial example on the word and character embedding layer, respectively, as shown in the Fig. 1(b) and 1(c). Then, the classifier is trained on the mixture of original and adversarial examples to improve the generalization. To this end, we augment the loss in Eqn. 2 and define the loss function for adversarial training as:
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\ell _ { A T } = \ell ( \Theta ; \mathbf { x } ) + \ell ( \Theta ; \mathbf { x } _ { a d v } )
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
where $\ell ( \Theta ; { \mathbf x } ) , \ell ( \Theta ; { \mathbf x } _ { a d v } )$ represents the loss from an original example and its adversarial counterpart, respectively. Note that we present the AT in a general form for the convenience of presentation. For different samples, the loss and parameters should correspond to their counterparts. For example, for the source data with word embedding $\mathbf { w } _ { S }$ , the loss for AT can be defined as follows, $\bar { \ell _ { A T } } = \ell ( \Theta ; \mathbf { w } _ { S } ) + \ell ( \Theta ; \mathbf { w } _ { S , a d v } )$ with $\mathbf { w } _ { S , a d v } = \mathbf { w } _ { S } + \eta _ { \mathbf { w } _ { S } }$ and $\ell = \ell _ { G R A D } + \ell _ { S }$ . Similarly, we can compute the perturbations $\eta _ { \mathbf { c } }$ for char-embedding and $\eta _ { \mathbf { w } _ { T } }$ for target word embedding.
|
| 93 |
+
|
| 94 |
+
# 4 EXPERIMENTS
|
| 95 |
+
|
| 96 |
+
# 4.1 DATASETS
|
| 97 |
+
|
| 98 |
+
In order to evaluate the performance of DATNet, we conduct the experiments on following widely used NER datasets: CoNLL-2003 English NER (Kim & De, 2003), CoNLL-2002 Spanish & Dutch NER (Kim, 2002), WNUT-2016 & 2017 English Twitter NER (Zeman, 2017). The statistics of these datasets are described in Table 1. We use the official split of training/validation/test sets. Since our goal is to study the effects of transferring knowledge from high-resource dataset to low-resource dataset, unlike previous works (Collobert et al., 2011; Chiu & Nichols, 2016; Yang et al., 2017) to append one-hot gazetteer features to the input of the CRF layer, and the works (Partalas et al., 2016; Limsopatham & Collier, 2016; Aguilar et al., 2017) to introduce orthographic feature as additional input for learning social media NER in tweets, we do not experiment with hand-crafted features and only consider words and characters embeddings as the inputs of our model. To be noted, we used only train set for model training for all datasets except the WNUT-2016 NER dataset. Since in this dataset, all the previous studies merged the training and validation sets together for training, we followed the same way for fair comparison. Specifically, we use CoNLL-2003 English NER dataset as high-resource (i.e., source) for all the experiments on CoNLL and WNUT datasets, while CoNLL-2002 Spanish & Dutch NER datasets and WNUT-2016 & 2017 Twitter NER datasets as low-resource (i.e., target) in cross-language and cross-domain NER settings, respectively.
|
| 99 |
+
|
| 100 |
+
Table 1: Statistics of CoNLL and WNUT Named Entity Recognition Datasets.
|
| 101 |
+
|
| 102 |
+
<table><tr><td>Benchmark</td><td>Resource</td><td>Language</td><td># Training Tokens (# Entities)</td><td># Dev Tokens (# Entities)</td><td># Test Tokens (# Entities)</td></tr><tr><td>CoNLL-2003</td><td>English</td><td></td><td>204,567 (23,499)</td><td>51,578 (5,942)</td><td>46,666 (5,648)</td></tr><tr><td colspan="6">Cross-language NER</td></tr><tr><td>CoNLL-2002</td><td>Target</td><td>Spanish</td><td>207,484 (18,797)</td><td>51,645 (4,351)</td><td>52.098 (3,558)</td></tr><tr><td>CoNLL-2002</td><td>Target</td><td>Dutch</td><td>202,931 (13,344)</td><td>37,761 (2.616)</td><td>68,994 (3.941)</td></tr><tr><td colspan="6">Cross-domain NER</td></tr><tr><td>WNUT-2016</td><td>Target</td><td>English</td><td>46,469 (2,462)</td><td>16,261 (1,128)</td><td>61,908 (5,955)</td></tr><tr><td>WNUT-2017</td><td>Target</td><td>English</td><td>62,730 (3,160)</td><td>15,733 (1,250)</td><td>23,394 (1,740)</td></tr></table>
|
| 103 |
+
|
| 104 |
+
In addition to the CoNLL and WNUT datasets, we also experiment on the cross-language named entity dataset described in Pan et al. (2017), which contains datasets for 282 languages, to evaluate our methods and investigate the transferability of different linguistic families and branches in both low- and high-resource scenarios. We choose 9 languages in our experiment, where Galician (gl), West Frisian (fy), Ukrainian (uk) and Marathi (mr) are target languages, the corresponding source languages are Spanish (es), Dutch (nl), Russian $( r u )$ and Hindi (hi), and Arabic (ar) is also a source language, which is from different linguistic family. Following the setting in Cotterell & Duh (2017), we also simulate the low- and high-resource scenarios by creating 100 and 10,000 sentences split for training target language datasets, respectively. Then we create 1,000 sentences split for validation and test, respectively. For source languages, we create 10,000 sentence split for training only. For high-resource scenario, we only conduct experiments on Galician (gl-high) and Ukrainian (uk-high). The list of selected datasets are described in Table 2.
|
| 105 |
+
|
| 106 |
+
Table 2: List of Named Entity Recognition Datasets in Pan et al. (2017).
|
| 107 |
+
|
| 108 |
+
<table><tr><td>Language</td><td>Resource</td><td>Linguistic Family</td><td></td><td>Linguistic Branch # Training Sentences# Dev Sentences</td><td></td><td>:#Test Sentences</td></tr><tr><td>Spanish (es)</td><td>Source</td><td>Indo-European</td><td>Romance</td><td>10,000</td><td></td><td></td></tr><tr><td>Galician (gl/ gl-high)</td><td>Target</td><td>Indo-European</td><td>Romance</td><td>100 /10.000</td><td>1,000</td><td>1,000</td></tr><tr><td>Dutch (nl)</td><td>Source</td><td>Indo-European</td><td>Germanic</td><td>10,000</td><td></td><td></td></tr><tr><td>West Frisian (fy)</td><td>Target</td><td>Indo-European</td><td>Germanic</td><td>100</td><td>1,000</td><td>1,000</td></tr><tr><td>Russian (ru)</td><td>Source</td><td>Indo-European</td><td>Slavic</td><td>10,000</td><td></td><td></td></tr><tr><td>Ukrainian (uk /uk-high)</td><td>Target</td><td>Indo-European</td><td>Slavic</td><td>100 /10.000</td><td>1,000</td><td>1,000</td></tr><tr><td>Hindi (hi)</td><td>Source</td><td>Indo-European</td><td>Indo-Aryan</td><td>10.000</td><td></td><td></td></tr><tr><td>Marathi (mr)</td><td>Target</td><td>Indo-European</td><td>Indo-Aryan</td><td>100</td><td>1,000</td><td>1,000</td></tr><tr><td>Arabic (ar)</td><td>Source</td><td>Afro-Asiatic</td><td>Semitic</td><td>10.000</td><td>-</td><td>-</td></tr></table>
|
| 109 |
+
|
| 110 |
+
# 4.2 EXPERIMENTAL SETUP
|
| 111 |
+
|
| 112 |
+
We use 50-dimensional publicly available pre-trained word embeddings for English, Spanish and Dutch languages of CoNLL and WNUT datasets in our experiments, which are trained by word2vec package2 on the corresponding Wikipedia articles (2017-12-20 dumps) (Lin et al., 2018). For the named entity datasets selected from Pan et al. (2017), we use 300-dimensional pre-trained word embeddings trained by fastText package3 on Wikipedia (Bojanowski et al., 2017), and the 30- dimensional randomly initialized character embeddings are used for all the datasets. We set the filter number as 20 for char-level CNN and the dimension of hidden states of the word-level LSTM as 200 for both base model and DATNet-F. For DATNet-P, we set 100 for source, share, and target LSTMs dimension, respectively. Parameters optimization is performed by Adam optimizer (Kingma & Ba, 2014) with gradient clipping of 5.0 and learning rate decay strategy. We set the initial learning rate of $\beta _ { 0 } ~ = ~ 0 . 0 0 1$ for all experiments. At each epoch $t$ , learning rate $\beta _ { t }$ is updated using $\beta _ { t } = \beta _ { 0 } / ( 1 + \rho \times t )$ , where $\rho$ is decay rate with 0.05. To reduce over-fitting, we also apply Dropout (Srivastava et al., 2014) to the embedding layer and the output of the LSTM layer, respectively.
|
| 113 |
+
|
| 114 |
+
# 4.3 COMPARISON WITH STATE-OF-THE-ART RESULTS
|
| 115 |
+
|
| 116 |
+
In this section, we compare our approach with state-of-the-art (SOTA) methods on CoNLL and WNUT benchmark datasets. In the experiment, we exploit all the source data (i.e., CoNLL-2003 English NER) and target data to improve performance of target tasks. The averaged results with standard deviation over 10 repetitive runs are summarized in Table 3, and we also report the best results on each task for fair comparison with other SOTA methods. From results, we observe that incorporating the additional resource is helpful to improve performance. DATNet-P model achieves the highest F1 score on CoNLL-2002 Spanish and second F1 score on CoNLL-2002 Dutch dataset while DATNet-F model beats others on WNUT-2016 and WNUT-2017 English Twitter datasets. Different from other state-of-the-art models, DATNets do not use any addition features4.
|
| 117 |
+
|
| 118 |
+
Table 3: Comparison with State-of-the-art Results in CoNLL and WNUT datasets (F1-score)
|
| 119 |
+
|
| 120 |
+
<table><tr><td rowspan="2">Mode</td><td rowspan="2">Methods</td><td rowspan="2"></td><td colspan="2">Additional Features</td><td colspan="2">CoNLL Datasets</td><td colspan="2">WNUT Datasets</td></tr><tr><td></td><td>POS Gazetteers Orthographic</td><td>Spanish</td><td>Dutch</td><td>WNUT-2016 WNUT-2017</td><td></td></tr><tr><td rowspan="7">Mono-language /domain</td><td>Gillick et al. (2016)</td><td>×</td><td>×</td><td>×</td><td>82.59</td><td>82.84</td><td></td><td></td></tr><tr><td>Lample et al. (2016)</td><td>×</td><td><√√x</td><td>× <</td><td>85.75</td><td>81.74</td><td>-</td><td></td></tr><tr><td>Partalas et al. (2016)</td><td></td><td></td><td></td><td>=</td><td>=</td><td>46.16</td><td></td></tr><tr><td>Limsopatham& Collier (2016)</td><td></td><td></td><td></td><td></td><td>=</td><td>52.41</td><td></td></tr><tr><td rowspan="2">Lin et al. (2017a)</td><td></td><td>√</td><td>√</td><td></td><td></td><td></td><td>40.42</td></tr><tr><td>Best Our Base Model Mean& Std</td><td>×</td><td></td><td></td><td>85.53</td><td>85.55 44.96</td><td>35.20 34.67±0.34</td></tr><tr><td colspan="2"></td><td></td><td>× √</td><td>× ×</td><td>85.35±0.15 85.24±0.21 85.77</td><td></td><td>44.37±0.31</td><td></td></tr><tr><td rowspan="8">Cross-language</td><td colspan="2">Yang et al. (2017)</td><td></td><td></td><td></td><td>85.19</td><td></td><td></td></tr><tr><td colspan="2">Lin et al. (2018)</td><td></td><td></td><td>85.88</td><td>86.55 88.39</td><td></td><td></td></tr><tr><td colspan="2">Feng et al. (2018)</td><td></td><td></td><td></td><td>86.42</td><td></td><td></td></tr><tr><td colspan="2">von Däniken & Cieliebak (2017)</td><td>×</td><td>√ ×</td><td>√</td><td></td><td></td><td>40.78</td></tr><tr><td rowspan="2">Aguilar et al. (2017) DATNet-P</td><td></td><td>√</td><td></td><td>88.16</td><td>88.32</td><td>50.85</td><td>41.86</td></tr><tr><td>Best</td><td></td><td>×</td><td></td><td></td><td></td><td>41.12</td></tr><tr><td rowspan="2">DATNet-F</td><td>Mean& Std</td><td>×</td><td></td><td>87.89±0.18 87.04</td><td>87.77</td><td>88.09±0.13 50.41±0.32 53.43</td><td>40.52±0.38 42.83</td></tr><tr><td>Best Mean& Std</td><td>×</td><td>×</td><td>×</td><td>86.79±0.20</td><td>87.52±0.19</td><td>53.03±0.24 42.32±0.32</td></tr></table>
|
| 121 |
+
|
| 122 |
+
Table 4 summarizes the results of our methods under different cross-language transfer settings as well as the comparison with Cotterell & Duh (2017). In this experiment, we study the transferability between languages not only from same linguistic family and branch, but also from different linguistic families or branches. According to the results, DATNets outperform the transfer method of Cotterell & Duh (2017) for both low- and high-resource scenarios within the same linguistic family and branch (i.e., in-family in-branch) transfer case. We also observe that: 1) For the low-resource scenario, transfer learning is significantly helpful for improving the performance of target datasets within both same and different linguistic family or branch (i.e., in/cross-family in/cross-branch) transfer cases, while the improvements are more prominent under the in-family in-branch case. 2) For the high-resource scenario, say, when the target language data is sufficient, the improvements of transfer learning are not very distinct compared with that for low-resource scenario under in-family in-branch case. We also find that there is no effect by transferring knowledge from Arabic to Galician and Ukrainian. We suspect that it is caused by the great linguistic differences between source and target languages, since, for example, Arabic and Galician are from totally different linguistic families.
|
| 123 |
+
|
| 124 |
+
Table 4: Results of Varying Cross-language Transfer Settings in Pan et al. (2017) Datasets (F1-score).
|
| 125 |
+
|
| 126 |
+
<table><tr><td colspan="2">Language</td><td rowspan="2">Transferring Strategy</td><td colspan="2">Cotterell & Duh (2017)</td><td colspan="3">Our Methods</td></tr><tr><td>Source</td><td>Target</td><td>Base Model</td><td>Transfer</td><td>Base Model</td><td>DATNet-P</td><td>DATNet-F</td></tr><tr><td>nl</td><td>fy</td><td>In-Family In-Branch</td><td>58.43</td><td>72.12</td><td>57.47</td><td>75.08</td><td>76.05</td></tr><tr><td>hi</td><td>fy</td><td>In-Family Cross-Branch</td><td>-</td><td>-</td><td>57.47</td><td>69.25</td><td>68.44</td></tr><tr><td>ar</td><td>fy</td><td>Cross-Family Cross-Branch</td><td>1</td><td>1</td><td>57.47</td><td>67.89</td><td>66.05</td></tr><tr><td>hi</td><td>mr</td><td>In-Family In-Branch</td><td>39.02</td><td>60.92</td><td>43.55</td><td>68.55</td><td>64.87</td></tr><tr><td>nl</td><td>mr</td><td>In-Family Cross-Branch</td><td>-</td><td>1</td><td>43.55</td><td>63.83</td><td>60.50</td></tr><tr><td>ar</td><td>mr</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>43.55</td><td>63.28</td><td>59.76</td></tr><tr><td>es</td><td>g</td><td>In-Family In-Branch</td><td>49.19</td><td>76.40</td><td>49.94</td><td>79.60</td><td>86.01</td></tr><tr><td>hi</td><td>g</td><td>In-Family Cross-Branch</td><td>-</td><td>-</td><td>49.94</td><td>60.57</td><td>61.68</td></tr><tr><td>ar</td><td>g</td><td>Cross-Family Cross-Branch</td><td></td><td>-</td><td>49.94</td><td>59.18</td><td>60.43</td></tr><tr><td>es</td><td>gl-high</td><td>In-Family In-Branch</td><td>89.42</td><td>89.46</td><td>92.78</td><td>93.14</td><td>93.02</td></tr><tr><td>ar</td><td>gl-high</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>92.78</td><td>92.63</td><td>92.21</td></tr><tr><td>ru</td><td>uk</td><td>In-Family In-Branch</td><td>60.65</td><td>76.74</td><td>61.48</td><td>79.02</td><td>80.76</td></tr><tr><td>hi</td><td>uk</td><td>In-Family Cross-Branch</td><td>1</td><td>-</td><td>61.48</td><td>72.73</td><td>73.84</td></tr><tr><td>ar</td><td>uk</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>61.48</td><td>71.55</td><td>72.24</td></tr><tr><td>ru</td><td>uk-high</td><td>In-Family In-Branch</td><td>87.39</td><td>87.42</td><td>93.29</td><td>93.62</td><td>93.51</td></tr><tr><td>ar</td><td>uk-high</td><td>Cross-Family Cross-Branch</td><td>-1</td><td>-</td><td>93.29</td><td>92.83</td><td>92.42</td></tr></table>
|
| 127 |
+
|
| 128 |
+
\* Base model means the model is trained by using target language dataset only.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 2: Comparison with Different Target Data Ratio, where AT stands for adversarial training, F(P)- Transfer denotes the DATNet-F(P) without AT.
|
| 132 |
+
|
| 133 |
+
# 4.4 TRANSFER LEARNING PERFORMANCE
|
| 134 |
+
|
| 135 |
+
In this section, we investigate on improvements with transfer learning under multiple low-resource settings with partial target data. To simulate a low-resource setting, we randomly select subsets of target data with varying data ratio at 0.05, 0.1, 0.2, 0.4, 0.6, and 1.0. For example, 20,748 training tokens are sampled from the training set under a data ratio of $r ~ = ~ 0 . 1$ for the dataset CoNLL-2002 Spanish NER (Cf. Table 1). The results for cross-language and cross-domain transfer are shown in Fig. 2(a) and 2(b), respectively, where we compare the results with each part of DATNet under various data ratios. From those figures, we have the following observations: 1) both adversarial training and adversarial discriminator in DATNet consistently contribute to the performance improvement; 2) the transfer learning component in the DATNet consistently improve over the base model results and the improvement margin is more substantial when the target data ratio is lower. For example, when the data ratio is 0.05, DATNet-P model outperforms the base model by more than $4 \%$ absolutely in F1-score on Spanish NER and DATNet-F model improves around $13 \%$ absolutely in F1-score compared to base model on WNUT-2016 NER.
|
| 136 |
+
|
| 137 |
+
Table 5: Experiments on Extremely Low Resource (F1-score).
|
| 138 |
+
|
| 139 |
+
<table><tr><td colspan="2">Tasks</td><td colspan="5">CoNLL-2002 2Spanish NER</td><td colspan="5">WNUT-2016 Twitter NER</td></tr><tr><td>#Target train sentences</td><td>10</td><td>50</td><td>100</td><td>200</td><td>500</td><td>1000</td><td>10</td><td>50</td><td>100</td><td>200 500</td><td>1000</td></tr><tr><td>Base</td><td>21.53</td><td>42.18</td><td>48.35</td><td>63.66</td><td>68.83</td><td>76.69</td><td>3.80 14.07</td><td>17.99</td><td>26.20</td><td>31.78</td><td>36.99</td></tr><tr><td>+ AT</td><td>19.23</td><td>41.01</td><td>50.46</td><td>64.83</td><td>70.85</td><td>77.91</td><td>4.34 16.87</td><td>18.43</td><td>26.32</td><td>35.68</td><td>41.69</td></tr><tr><td>+ P-Transfer</td><td>29.78</td><td>61.09</td><td>64.78</td><td>66.54</td><td>72.94</td><td>78.49</td><td>7.71 16.17</td><td>20.43</td><td>29.20</td><td>34.90</td><td>41.20</td></tr><tr><td>+ F-Transfer</td><td>39.72</td><td>63.00</td><td>63.36</td><td>66.39</td><td>72.88</td><td>78.04</td><td>15.26 20.04</td><td>26.60</td><td>32.22</td><td>38.35</td><td>44.81</td></tr><tr><td>DATNet-P</td><td>39.52</td><td>62.57</td><td>64.05</td><td>68.95</td><td>75.19</td><td>79.46</td><td>9.94 17.09</td><td>25.39</td><td>30.71</td><td>36.05</td><td>42.30</td></tr><tr><td>DATNet-F</td><td>44.52</td><td>63.89</td><td>66.67</td><td>68.35</td><td>74.24</td><td>78.56</td><td>17.14 22.59</td><td>28.41</td><td>32.48</td><td>39.20</td><td>45.25</td></tr></table>
|
| 140 |
+
|
| 141 |
+
In the second experiment, we further investigate DATNet on the extremely low resource cases, e.g., the number of training target sentences is 10, 50, 100, 200, 500 and 1,000. The setting is quite challenging and fewer previous works have studied before. The results are summarized in Table 5. We have two interesting observations 5: 1) DATNet-F outperforms DATNet-P on cross-language transfer when the target resource is extremely low, however, this situation is reversed when the target dataset size is large enough (here for this specific dataset, the threshold is 100 sentences); 2) DATNet-F is always superior to DATNet-P on cross-domain transfer. For the first observation, it is because DATNet-F with more shared hidden units is more efficient to transfer knowledge than DATNet-P when data size is extremely small. For the second observation, because cross-domain transfer are in the same language, more knowledge is common between the source and target domains, requiring more shared hidden features to carry with these knowledge compared to cross-language transfer. Therefore, for cross-language transfer with an extremely low resource and cross-domain transfer, we suggest using DATNet-F model to achieve better performance. As for cross-language transfer with relatively more training data, DATNet-P model is preferred.
|
| 142 |
+
|
| 143 |
+

|
| 144 |
+
Figure 3: The visualization of extracted features from shared bidirectional-LSTM layer. The left, middle, and right figures show the results when no Adversarial Discriminator (AD), AD, and GRAD is performed, respectively. Red points correspond to the source CoNLL-2003 English examples, and blue points correspond to the target CoNLL-2002 Spanish examples.
|
| 145 |
+
|
| 146 |
+
# 4.5 ABLATION STUDY OF DATNET
|
| 147 |
+
|
| 148 |
+
In the proposed DATNet, both GRAD and AT play important roles in low resource NER. In this experiment, we further investigate how GRAD and AT help transfer knowledge across language/domain. In the first experiment6, we used t-SNE (Maaten & Hinton, 2008) to visualize the feature distribution of BiLSTM outputs without AD, with normal AD (GRAD without considering data imbalance), and with the proposed GRAD in Figure 3. From this figure, we can see that the GRAD in DATNet makes the distribution of extracted features from the source and target datasets much more similar by considering the data imbalance, which indicates that the outputs of BiLSTM are resource-invariant.
|
| 149 |
+
|
| 150 |
+
Table 6: Quantitative Performance Comparison between Models with Different Components.
|
| 151 |
+
|
| 152 |
+
<table><tr><td colspan="4">CoNLL-2002 Spanish NER</td><td colspan="4">WNUT-2016TwitterNER</td></tr><tr><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td></tr><tr><td>Base</td><td>85.35</td><td>+AT</td><td>86.12</td><td>Base</td><td>44.37</td><td>+AT</td><td>47.41</td></tr><tr><td>+P-T (no AD)</td><td>86.15</td><td>+AT +P-T (no AD)</td><td>86.90</td><td>+P-T (no AD)</td><td>47.66</td><td>+AT +P-T (no AD)</td><td>48.44</td></tr><tr><td>+F-T (no AD)</td><td>85.46</td><td>+AT +F-T (no AD)</td><td>86.17</td><td>+F-T (no AD)</td><td>49.79</td><td>+AT +F-T (no AD)</td><td>50.93</td></tr><tr><td>+P-T (AD)</td><td>86.32</td><td>+AT +P-T (AD)</td><td>87.19</td><td>+P-T (AD)</td><td>48.14</td><td>+AT+P-T (AD)</td><td>49.41</td></tr><tr><td>+F-T(AD)</td><td>85.58</td><td>+AT +F-T (AD) +AT +P-T (GRAD)</td><td>86.38</td><td>+F-T(AD)</td><td>50.48</td><td>+AT +F-T (AD)</td><td>51.84</td></tr><tr><td>+P-T (GRAD)</td><td>86.93</td><td>(DATNet-P)</td><td>88.16</td><td>+P-T (GRAD)</td><td>48.91</td><td>+AT+P-T (GRAD) (DATNet-P)</td><td>50.85</td></tr><tr><td>+F-T(GRAD)</td><td>85.91</td><td>+AT+F-T (GRAD) (DATNet-F)</td><td>87.04</td><td>+F-T(GRAD)</td><td>51.31</td><td>+AT +F-T (GRAD) (DATNet-F)</td><td>53.43</td></tr></table>
|
| 153 |
+
|
| 154 |
+
\* AT: Adversarial Training; P-T: P-Transfer; F-T: F-Transfer; AD: Adversarial Discriminator; GRAD: Generalized Resource-Adversarial Discriminator.
|
| 155 |
+
|
| 156 |
+
To better understand the working mechanism, Table 6 further reports the quantitative performance comparison between models with different components. We observe that GRAD shows the stable superiority over the normal AD regardless of other components. There are no always winner between DATNet-P and DATNet-F on different settings. DATNet-P architecture is more suitable to cross-language transfer while DATNet-F is more suitable to cross-domain transfer.
|
| 157 |
+
|
| 158 |
+
Table 7: Analysis of Maximum Perturbation $\epsilon _ { \mathbf { w } _ { T } }$ in AT with Varying Data Ratio $\rho$ (F1-score).
|
| 159 |
+
|
| 160 |
+
<table><tr><td>EwT</td><td>1.0</td><td>3.0</td><td>5.0</td><td>7.0</td><td>9.0</td></tr><tr><td>Ratio</td><td colspan="5">CoNLL-2002 Spanish NER</td></tr><tr><td>p=0.1</td><td>75.90</td><td>76.23</td><td>77.38</td><td>77.77</td><td>78.13</td></tr><tr><td>p=0.2</td><td>81.54</td><td>81.65</td><td>81.32</td><td>81.81</td><td>81.68</td></tr><tr><td>p=0.4</td><td>83.62</td><td>83.83</td><td>83.43</td><td>83.99</td><td>83.40</td></tr><tr><td>p=0.6</td><td>84.44</td><td>84.47</td><td>84.72</td><td>84.04</td><td>84.05</td></tr></table>
|
| 161 |
+
|
| 162 |
+
From the previous results, we know that AT helps enhance the overall performance by adding perturbations to inputs with the limit of $\epsilon = 5$ , i.e., $\| \bar { \boldsymbol { \eta } } \| _ { 2 } \le 5$ . In this experiment, we further investigate how target perturbation $\epsilon _ { \mathbf { w } _ { T } }$ with fixed source perturbation ${ \epsilon _ { { \bf w } _ { S } } } = 5$ in AT affects knowledge transfer and the results on Spanish NER are summarized in Table 7. The results generally indicate that less training data require a larger $\epsilon$ to prevent over-fitting, which further validates the necessity of AT in the case of low resource data.
|
| 163 |
+
|
| 164 |
+
Table 8: Analysis of Discriminator Weight $\alpha$ in GRAD with Varying Data Ratio $\rho$ (F1-score).
|
| 165 |
+
|
| 166 |
+
<table><tr><td>α</td><td>0.1</td><td>0.15</td><td>0.2</td><td>0.25</td><td>0.3</td><td>0.35</td><td>0.4</td><td>0.45</td><td>0.5</td><td>0.55</td><td>0.6</td><td>0.65</td><td>0.7</td><td>0.75</td><td>0.8</td></tr><tr><td>Ratio</td><td></td><td></td><td></td><td></td><td></td><td></td><td>CoNLL-2002 Spanish NER</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>p=0.1</td><td>78.37</td><td>78.63</td><td>78.70</td><td>78.32</td><td>77.96</td><td>77.92</td><td>77.88</td><td>77.78</td><td>77.85</td><td>77.90</td><td>77.65</td><td>77.57</td><td>77.38</td><td>77.49</td><td>77.29</td></tr><tr><td>p=0.2</td><td>80.99</td><td>81.71</td><td>82.18</td><td>81.57</td><td>81.53</td><td>81.55</td><td>81.44</td><td>81.25</td><td>81.32</td><td>81.16</td><td>81.02</td><td>81.16</td><td>80.63</td><td>80.79</td><td>80.54</td></tr><tr><td>p=0.4</td><td>83.76</td><td>83.73</td><td>84.18</td><td>84.48</td><td>84.26</td><td>84.12</td><td>83.54</td><td>83.40</td><td>83.52</td><td>84.18</td><td>83.42</td><td>83.47</td><td>83.28</td><td>83.33</td><td>83.19</td></tr><tr><td>p=0.6</td><td>85.18</td><td>85.24</td><td>85.85</td><td>85.68</td><td>85.84</td><td>86.10</td><td>85.71</td><td>85.74</td><td>85.42</td><td>85.60</td><td>85.20</td><td>85.40</td><td>85.26</td><td>85.24</td><td>84.98</td></tr></table>
|
| 167 |
+
|
| 168 |
+
Finally, we analyze the discriminator weight $\alpha$ in GRAD and results are summarized in Table 8. From the results, it is interesting to find that $\alpha$ is directly proportional to the data ratio $\rho$ , basically, which means that more target training data requires larger $\alpha$ (i.e., smaller $1 - \alpha$ to reduce training emphasis on the target domain) to achieve better performance.
|
| 169 |
+
|
| 170 |
+
# 5 CONCLUSION
|
| 171 |
+
|
| 172 |
+
In this paper we develop a transfer learning model DATNet for low-resource NER, which aims at addressing two problems remained in existing work, namely representation difference and resource data imbalance. We introduce two variants of DATNet, DATNet-F and DATNet-P, which can be chosen for use according to the cross-language/domain user case and the target dataset size. To improve model generalization, we propose dual adversarial learning strategies, i.e., AT and GRAD. Extensive experiments show the superiority of DATNet over existing models and it achieves new state-of-the-art performance on CoNLL NER and WNUT NER benchmark datasets.
|
| 173 |
+
|
| 174 |
+
# REFERENCES
|
| 175 |
+
|
| 176 |
+
Oliver Adams, Adam Makarucha, Graham Neubig, Steven Bird, and Trevor Cohn. Cross-lingual word embeddings for low-resource language modeling. In EACL, pp. 937–947. Association for Computational Linguistics, 2017.
|
| 177 |
+
|
| 178 |
+
Gustavo Aguilar, Suraj Maharjan, Adrian Pastor Lopez Monroy, and Thamar Solorio. A multi-task ´ approach for named entity recognition in social media data. In Proceedings of the 3rd Workshop on Noisy User-generated Text, pp. 148–153, 2017.
|
| 179 |
+
|
| 180 |
+
Rami Al-Rfou’, Vivek Kulkarni, Bryan Perozzi, and Steven Skiena. Polyglot-ner: Massive multilingual named entity recognition. In SDM, 2015.
|
| 181 |
+
|
| 182 |
+
Dzmitry Bahdanau, KyungHyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015.
|
| 183 |
+
|
| 184 |
+
Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5:135–146, 2017.
|
| 185 |
+
|
| 186 |
+
Yufeng Chen, Chengqing Zong, and Keh-Yih Su. On jointly recognizing and aligning bilingual named entities. In ACL, pp. 631–639, 2010.
|
| 187 |
+
|
| 188 |
+
Jason Chiu and Eric Nichols. Named entity recognition with bidirectional lstm-cnns. Transactions of the Association for Computational Linguistics, 4:357–370, 2016.
|
| 189 |
+
|
| 190 |
+
Ronan Collobert, Jason Weston, Leon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel ´ Kuksa. Natural language processing (almost) from scratch. JMLR, pp. 2493–2537, 2011.
|
| 191 |
+
|
| 192 |
+
Ryan Cotterell and Kevin Duh. Low-resource named entity recognition with cross-lingual, character-level neural conditional random fields. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pp. 91–96. Asian Federation of Natural Language Processing, 2017.
|
| 193 |
+
|
| 194 |
+
Meng Fang and Trevor Cohn. Model transfer for tagging low-resource languages using a bilingual dictionary. In ACL, pp. 587–593, 2017.
|
| 195 |
+
|
| 196 |
+
Xiaocheng Feng, Xiachong Feng, Bing Qin, Zhangyin Feng, and Ting Liu. Improving low resource named entity recognition using cross-lingual knowledge transfer. In IJCAI, pp. 4071–4077, 2018.
|
| 197 |
+
|
| 198 |
+
Dan Gillick, Cliff Brunk, Oriol Vinyals, and Amarnag Subramanya. Multilingual language processing from bytes. In NAACL HLT, pp. 1296–1306, 2016.
|
| 199 |
+
|
| 200 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, 2014.
|
| 201 |
+
|
| 202 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015.
|
| 203 |
+
|
| 204 |
+
Tao Gui, Qi Zhang, Haoran Huang, Minlong Peng, and Xuanjing Huang. Part-of-speech tagging for twitter with adversarial neural networks. In EMNLP, pp. 2411–2420, 2017.
|
| 205 |
+
|
| 206 |
+
Kazuma Hashimoto, caiming xiong, Yoshimasa Tsuruoka, and Richard Socher. A joint many-task model: Growing a neural network for multiple nlp tasks. In EMNLP, pp. 1923–1933, 2017.
|
| 207 |
+
|
| 208 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 1997.
|
| 209 |
+
|
| 210 |
+
Zhiheng Huang, Wei Xu, and Kai Yu. Bidirectional lstm-crf models for sequence tagging. CoRR, abs/1508.01991, 2015.
|
| 211 |
+
|
| 212 |
+
Joo-Kyung Kim, Young-Bum Kim, Ruhi Sarikaya, and Eric Fosler-Lussier. Cross-lingual transfer learning for pos tagging without cross-lingual resources. In EMNLP, pp. 2832–2838, 2017.
|
| 213 |
+
|
| 214 |
+
Sang Erik F. Tjong Kim. Introduction to the conll-2002 shared task: Language-independent named entity recognition. In COLING-02: The 6th Conference on Natural Language Learning 2002 (CoNLL-2002), 2002.
|
| 215 |
+
|
| 216 |
+
Sang Erik F. Tjong Kim and Meulder Fien De. Introduction to the conll-2003 shared task: Languageindependent named entity recognition. In NAACL HLT, 2003.
|
| 217 |
+
|
| 218 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, 2014.
|
| 219 |
+
|
| 220 |
+
John D. Lafferty, Andrew McCallum, and Fernando C. N. Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of the Eighteenth International Conference on Machine Learning, ICML ’01, 2001.
|
| 221 |
+
|
| 222 |
+
Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recognition. In NAACL HLT, pp. 260–270, 2016.
|
| 223 |
+
|
| 224 |
+
Qi Li, Haibo Li, Heng Ji, Wen Wang, Jing Zheng, and Fei Huang. Joint bilingual name tagging for parallel corpora. In CIKM ’12, pp. 1727–1731, 2012.
|
| 225 |
+
|
| 226 |
+
Nut Limsopatham and Nigel Collier. Bidirectional lstm for named entity recognition in twitter messages. In Proceedings of the 2nd Workshop on Noisy User-generated Text (WNUT), pp. 145– 152, 2016.
|
| 227 |
+
|
| 228 |
+
Bill Y. Lin, Frank Xu, Zhiyi Luo, and Kenny Zhu. Multi-channel bilstm-crf model for emerging named entity recognition in social media. In Proceedings of the 3rd Workshop on Noisy Usergenerated Text, pp. 160–165, 2017a.
|
| 229 |
+
|
| 230 |
+
T. Lin, P. Goyal, R. Girshick, K. He, and P. Dollar. Focal loss for dense object detection. In 2017 IEEE International Conference on Computer Vision (ICCV), 2017b.
|
| 231 |
+
|
| 232 |
+
Ying Lin, Shengqi Yang, Veselin Stoyanov, and Heng Ji. A multi-lingual multi-task architecture for low-resource sequence labeling. In ACL, 2018.
|
| 233 |
+
|
| 234 |
+
L. Liu, J. Shang, F. Xu, X. Ren, H. Gui, J. Peng, and J. Han. Empower sequence labeling with task-aware neural language model. In AAAI, 2018.
|
| 235 |
+
|
| 236 |
+
Pengfei Liu, Xipeng Qiu, and Xuanjing Huang. Adversarial multi-task learning for text classification. In ACL, 2017.
|
| 237 |
+
|
| 238 |
+
Gang Luo, Xiaojiang Huang, Chin-Yew Lin, and Zaiqing Nie. Joint entity recognition and disambiguation. In EMNLP, pp. 879–888, 2015.
|
| 239 |
+
|
| 240 |
+
Minh-Thang Luong, Quoc V. Le, Ilya Sutskever, Oriol Vinyals, and Lukasz Kaiser. Multi-task sequence to sequence learning. In ICLR, 2016.
|
| 241 |
+
|
| 242 |
+
Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf. In ACL, pp. 1064–1074, 2016.
|
| 243 |
+
|
| 244 |
+
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. JMLR, 9:2579–2605, 2008.
|
| 245 |
+
|
| 246 |
+
Monica Marrero, Juli ´ an Urbano, Sonia S ´ anchez-Cuadrado, Jorge Morato, and Juan Miguel G ´ omez- ´ Berb´ıs. Named entity recognition: Fallacies, challenges and opportunities. Computer Standards & Interfaces, (5):482–489, 2013.
|
| 247 |
+
|
| 248 |
+
Stephen Mayhew, Chen-Tse Tsai, and Dan Roth. Cheap translation for cross-lingual named entity recognition. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2536–2545. Association for Computational Linguistics, 2017.
|
| 249 |
+
|
| 250 |
+
Takeru Miyato, Andrew M Dai, and Ian Goodfellow. Adversarial training methods for semisupervised text classification. In ICLR, 2017.
|
| 251 |
+
|
| 252 |
+
Jian Ni and Radu Florian. Improving multilingual named entity recognition with wikipedia entity type mapping. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 1275–1284, 2016.
|
| 253 |
+
|
| 254 |
+
Jian Ni, Georgiana Dinu, and Radu Florian. Weakly supervised cross-lingual named entity recognition via effective annotation and representation projection. In ACL, pp. 1470–1480, 2017.
|
| 255 |
+
|
| 256 |
+
Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. Crosslingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1946–1958. Association for Computational Linguistics, 2017.
|
| 257 |
+
|
| 258 |
+
Ioannis Partalas, Cedric Lopez, Nadia Derbas, and Ruslan Kalitvianski. Learning to search for rec-´ ognizing named entities in twitter. In Proceedings of the 2nd Workshop on Noisy User-generated Text (WNUT), pp. 171–177, 2016.
|
| 259 |
+
|
| 260 |
+
Alexandre Passos, Vineet Kumar, and Andrew McCallum. Lexicon infused phrase embeddings for named entity resolution. arXiv preprint arXiv:1404.5367, 2014.
|
| 261 |
+
|
| 262 |
+
Chen Pin-Yu, Sharma Yash, Zhang Huan, Yi Jinfeng, and Cho-Jui Hsieh. Ead: Elastic-net attacks to deep neural networks via adversarial examples. In AAAI, 2018.
|
| 263 |
+
|
| 264 |
+
Lev Ratinov and Dan Roth. Design challenges and misconceptions in named entity recognition. In Proceedings of the Thirteenth Conference on Computational Natural Language Learning, pp. 147–155, 2009.
|
| 265 |
+
|
| 266 |
+
Marek Rei. Semi-supervised multitask learning for sequence labeling. In ACL, pp. 2121–2130, 2017.
|
| 267 |
+
|
| 268 |
+
Marek Rei and Anders Søgaard. Zero-shot sequence labeling: Transferring knowledge from sentences to tokens. In NAACL HLT, pp. 293–302, 2018.
|
| 269 |
+
|
| 270 |
+
Nils Reimers and Iryna Gurevych. Reporting score distributions makes a difference: Performance study of lstm-networks for sequence tagging. In EMNLP, pp. 338–348, 2017.
|
| 271 |
+
|
| 272 |
+
Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, pp. 1929–1958, 2014.
|
| 273 |
+
|
| 274 |
+
Christian Szegedy, Wojciech Zaremba, Dumitru Erhan Ian Goodfellow Ilya Sutskever, Joan Bruna, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014.
|
| 275 |
+
|
| 276 |
+
Pius von Daniken and Mark Cieliebak. Transfer learning and sentence level features for named ¨ entity recognition on tweets. In Proceedings of the 3rd Workshop on Noisy User-generated Text, pp. 166–171, 2017.
|
| 277 |
+
|
| 278 |
+
Zhilin Yang, Ruslan Salakhutdinov, and William W. Cohen. Multi-task cross-lingual sequence tagging from scratch. CoRR, abs/1603.06270, 2016.
|
| 279 |
+
|
| 280 |
+
Zhilin Yang, Ruslan Salakhutdinov, and William W. Cohen. Transfer learning for sequence tagging with hierarchical recurrent networks. In ICLR, 2017.
|
| 281 |
+
|
| 282 |
+
David Yarowsky, Grace Ngai, and Richard Wicentowski. Inducing multilingual text analysis tools via robust projection across aligned corpora. In Proceedings of the first international conference on Human language technology research, pp. 1–8, 2001.
|
| 283 |
+
|
| 284 |
+
Michihiro Yasunaga, Jungo Kasai, and Dragomir Radev. Robust multilingual part-of-speech tagging via adversarial training. In NAACL HLT, pp. 976–986, 2018.
|
| 285 |
+
|
| 286 |
+
Daniel et al. Zeman. Conll 2017 shared task: Multilingual parsing from raw text to universal dependencies. In Proceedings of the CoNLL 2017 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pp. 1–19, 2017.
|
| 287 |
+
|
| 288 |
+
Boliang Zhang, Xiaoman Pan, Tianlu Wang, Ashish Vaswani, Heng Ji, Kevin Knight, and Daniel Marcu. Name tagging for low-resource incident languages based on expectation-driven learning. In NAACL HLT, pp. 249–259, 2016.
|
| 289 |
+
|
| 290 |
+
Andrej Zukov Gregoric, Yoram Bachrach, and Sam Coope. Named entity recognition with parallel recurrent neural networks. In ACL, pp. 69–74, 2018.
|
parse/train/HkGzUjR5tQ/HkGzUjR5tQ_content_list.json
ADDED
|
@@ -0,0 +1,1562 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DATNET: DUAL ADVERSARIAL TRANSFER FOR LOWRESOURCE NAMED ENTITY RECOGNITION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 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": "We propose a new architecture termed Dual Adversarial Transfer Network (DATNet) for addressing low-resource Named Entity Recognition (NER). Specifically, two variants of DATNet, i.e., DATNet-F and DATNet-P, are proposed to explore effective feature fusion between high and low resource. To address the noisy and imbalanced training data, we propose a novel Generalized ResourceAdversarial Discriminator (GRAD). Additionally, adversarial training is adopted to boost model generalization. We examine the effects of different components in DATNet across domains and languages, and show that significant improvement can be obtained especially for low-resource data. Without augmenting any additional hand-crafted features, we achieve new state-of-the-art performances on CoNLL and Twitter NER— $8 8 . 1 6 \\%$ F1 for Spanish, $5 3 . 4 3 \\%$ F1 for WNUT-2016, and $4 2 . 8 3 \\%$ F1 for WNUT- $2 0 1 7 ^ { 1 }$ . ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
433
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
462,
|
| 55 |
+
336,
|
| 56 |
+
478
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Named entity recognition (NER) is an important step in most natural language processing (NLP) applications. It detects not only the type of named entity, but also the entity boundaries, which requires deep understanding of the contextual semantics to disambiguate the different entity types of same tokens. To tackle this challenging problem, most early studies were based on hand-crafted rules, which suffered from limited performance in practice. Current methods are devoted to developing learning based algorithms, especially neural network based methods, and have been advancing the state-of-the-art consecutively (Collobert et al., 2011; Huang et al., 2015; Lample et al., 2016; Chiu & Nichols, 2016; Ma & Hovy, 2016). These end-to-end models generalize well on new entities based on features automatically learned from the data. However, when the annotated corpora is small, especially in the low resource scenario (Zhang et al., 2016), the performance of these methods degrades significantly since the hidden feature representations cannot be learned adequately. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
173,
|
| 65 |
+
494,
|
| 66 |
+
825,
|
| 67 |
+
647
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Recently, more and more approaches have been proposed to address low-resource NER. Early works (Chen et al., 2010; Li et al., 2012) primarily assumed a large parallel corpus and focused on exploiting them to project information from high- to low-resource. Unfortunately, such a large parallel corpus may not be available for many low-resource languages. More recently, cross-resource word embedding (Fang & Cohn, 2017; Adams et al., 2017; Yang et al., 2017) was proposed to bridge the low and high resources and enable knowledge transfer. Although the aforementioned transferbased methods show promising performance in low-resource NER, there are two issues deserved to be further investigated on: 1) Representation Difference - they did not consider the representation difference across resources and enforced the feature representation to be shared across languages/domains; 2) Resource Data Imbalance - the training size of high-resource is usually much larger than that of low-resource. The existing methods neglect such difference in their models, resulting in poor generalization. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
655,
|
| 77 |
+
825,
|
| 78 |
+
820
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this work, we present an approach termed Dual Adversarial Transfer Network (DATNet) to address the above issues in a unified framework for low-resource NER. Specifically, to handle the representation difference, we first investigate on two architectures of hidden layers (we use bidirectional long-short term memory (BiLSTM) model as hidden layer) for transfer. The first one is that all the units in hidden layers are common units shared across languages/domains. The second one is composed of both private and common units, where the private part preserves the independent language/domain information. Extensive experiments are conducted to show their advantages over each other in different situations. On top of common units, the adversarial discriminator (AD) loss is introduced to encourage the resource-agnostic representation so that the knowledge from high resource can be more compatible with low resource. To handle the resource data imbalance issue, we further propose a variant of the AD loss, termed Generalized Resource-Adversarial Discriminator (GRAD), to impose the resource weight during training so that low-resource and hard samples can be paid more attention to. In addition, we create adversarial samples to conduct the Adversarial Training (AT), further improving the generalization and alleviating over-fitting problem. We unify two kinds of adversarial learning, i.e., GRAD and AT, into one transfer learning model, termed Dual Adversarial Transfer Network (DATNet), to achieve end-to-end training and obtain the state-of-the-art performance on a series of NER tasks– $8 8 . 1 6 \\%$ F1 for CoNLL-2002 Spanish, $5 3 . 4 3 \\%$ and $4 2 . 8 3 \\%$ F1 for WNUT-2016 and 2017. Different from prior works, we do not use additional hand-crafted features and do not use cross-lingual word embeddings while addressing the cross-language tasks. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
828,
|
| 88 |
+
823,
|
| 89 |
+
897
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
297
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2 RELATED WORK ",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
176,
|
| 110 |
+
320,
|
| 111 |
+
344,
|
| 112 |
+
337
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Named Entity Recognition NER is typically framed as a sequence labeling task which aims at automatic detection of named entities (e.g., person, organization, location and etc.) from free text (Marrero et al., 2013). The early works applied CRF, SVM, and perception models with handcrafted features (Ratinov & Roth, 2009; Passos et al., 2014; Luo et al., 2015). With the advent of deep learning, research focus has been shifting towards deep neural networks (DNN), which requires little feature engineering and domain knowledge (Lample et al., 2016; Zukov Gregoric et al., 2018). Collobert et al. (2011) proposed a feed-forward neural network with a fixed sized window for each word, which failed in considering useful relations between long-distance words. To overcome this limitation, Chiu & Nichols (2016) presented a bidirectional LSTM-CNNs architecture that automatically detects word- and character-level features. Ma & Hovy (2016) further extended it into bidirectional LSTM-CNNs-CRF architecture, where the CRF module was added to optimize the output label sequence. Liu et al. (2018) proposed task-aware neural language model termed LMLSTM-CRF, where character-aware neural language models were incorporated to extract characterlevel embedding under a multi-task framework. ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
354,
|
| 122 |
+
825,
|
| 123 |
+
549
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Transfer Learning for NER Transfer learning can be a powerful tool to low resource NER tasks. To bridge high and low resource, transfer learning methods for NER can be divided into two types: the parallel corpora based transfer and the shared representation based transfer. Early works mainly focused on exploiting parallel corpora to project information between the high- and low-resource language (Yarowsky et al., 2001; Chen et al., 2010; Li et al., 2012; Feng et al., 2018). For example, Chen et al. (2010) and Feng et al. (2018) proposed to jointly identify and align bilingual named entities. On the other hand, the shared representation methods do not require the parallel correspondence (Rei & Søgaard, 2018). For instance, Fang & Cohn (2017) proposed cross-lingual word embeddings to transfer knowledge across resources. Yang et al. (2017) presented a transfer learning approach based on a deep hierarchical recurrent neural network (RNN), where full/partial hidden features between source and target tasks are shared. Ni et al. (Ni & Florian, 2016; Ni et al., 2017) utilized the Wikipedia entity type mappings to improve low-resource NER. Al-Rfou’ et al. (2015) built massive multilingual annotators with minimal human expertise by using language agnostic techniques. Mayhew et al. (2017) created a cross-language NER system, which works well for very minimal resources by translate annotated data of high-resource into low-resource. Cotterell & Duh (2017) proposed character-level neural CRFs to jointly train and predict low- and high-resource languages. Pan et al. (2017) proposes a large-scale cross-lingual named entity dataset which contains 282 languages for evaluation. In addition, multi-task learning (Yang et al., 2016; Luong et al., 2016; Rei, 2017; Aguilar et al., 2017; Hashimoto et al., 2017; Lin et al., 2018) shows that jointly training on multiple tasks/languages helps improve performance. Different from transfer learning methods, multi-task learning aims at improving the performance of all the resources instead of low resource only. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
173,
|
| 132 |
+
555,
|
| 133 |
+
825,
|
| 134 |
+
861
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Adversarial Learning Adversarial learning originates from Generative Adversarial Nets (GAN) (Goodfellow et al., 2014), which shows impressing results in computer vision. Recently, many papers have tried to apply adversarial learning to NLP tasks. Liu et al. (2017) presented an adversarial multi-task learning framework for text classification. Gui et al. (2017) applied the adversarial discriminator to POS tagging for Twitter. Kim et al. (2017) proposed a language discriminator to enable language-adversarial training for cross-language POS tagging. Apart from adversarial discriminator, adversarial training is another concept originally introduced by (Szegedy et al., 2014; Goodfellow et al., 2015) to improve the robustness of image classification model by injecting malicious perturbations into input images. Recently, Miyato et al. (2017) proposed a semi-supervised text classification method by applying adversarial training, where for the first time adversarial perturbations were added onto word embeddings. Yasunaga et al. (2018) applied adversarial training to POS tagging. Different from all these adversarial learning methods, our method integrates both the adversarial discriminator and adversarial training in an unified framework to enable end-to-end training. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
867,
|
| 144 |
+
823,
|
| 145 |
+
924
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
103,
|
| 155 |
+
825,
|
| 156 |
+
242
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 2
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "3 DUAL ADVERSARIAL TRANSFER NETWORK (DATNET) ",
|
| 163 |
+
"text_level": 1,
|
| 164 |
+
"bbox": [
|
| 165 |
+
174,
|
| 166 |
+
263,
|
| 167 |
+
666,
|
| 168 |
+
280
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 2
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "In this section, we introduce DATNet in more details. We first describe a base model for NER, and then discuss two proposed transfer architectures for DATNet. ",
|
| 175 |
+
"bbox": [
|
| 176 |
+
173,
|
| 177 |
+
296,
|
| 178 |
+
826,
|
| 179 |
+
324
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 2
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "image",
|
| 185 |
+
"img_path": "images/c12e79f3e88fd641871ac1c2081f1c626fa1b8792b17590e421f4bb59c842530.jpg",
|
| 186 |
+
"image_caption": [
|
| 187 |
+
"Figure 1: The general architecture of proposed models. "
|
| 188 |
+
],
|
| 189 |
+
"image_footnote": [],
|
| 190 |
+
"bbox": [
|
| 191 |
+
178,
|
| 192 |
+
344,
|
| 193 |
+
821,
|
| 194 |
+
535
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "3.1 BASIC ARCHITECTURE ",
|
| 201 |
+
"text_level": 1,
|
| 202 |
+
"bbox": [
|
| 203 |
+
176,
|
| 204 |
+
590,
|
| 205 |
+
374,
|
| 206 |
+
604
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "We follow state-of-the-art models for NER task (Huang et al., 2015; Lample et al., 2016; Chiu & Nichols, 2016; Ma & Hovy, 2016), i.e., LSTM-CNNs-CRF based structure, to build the base model. It consists of the following pieces: character-level embedding, word-level embedding, BiLSTM for feature representation, and CRF as the decoder. The character-level embedding takes a sequence of characters in the word as atomic units input to derive the word representation that encodes the morphological information, such as root, prefix, and suffix. These character features are usually encoded by character-level CNN or BiLSTM, then concatenated with word-level embedding to form the final word vectors. On top of them, the network further incorporates the contextual information using BiLSTM to output new feature representations, which is subsequently fed into CRF layer to predict label sequence. Although both of the word-level layer and the character-level layer can be implemented using CNNs or RNNs, we use CNNs for extracting character-level and RNNs for extracting word-level representation. Fig. 1(a) shows the the architecture of the base model. ",
|
| 213 |
+
"bbox": [
|
| 214 |
+
173,
|
| 215 |
+
617,
|
| 216 |
+
825,
|
| 217 |
+
784
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "3.2 DUAL ADVERSARIAL TRANSFER ARCHITECTURE ",
|
| 224 |
+
"text_level": 1,
|
| 225 |
+
"bbox": [
|
| 226 |
+
174,
|
| 227 |
+
803,
|
| 228 |
+
557,
|
| 229 |
+
816
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "3.2.1 CHARACTER-LEVEL ENCODER ",
|
| 236 |
+
"text_level": 1,
|
| 237 |
+
"bbox": [
|
| 238 |
+
176,
|
| 239 |
+
829,
|
| 240 |
+
441,
|
| 241 |
+
843
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "Previous works have shown that character features can boost sequence labeling performance by capturing morphological and semantic information (Lin et al., 2018). For low-resource dataset to obtain high-quality word features, character features learned from other language/domain may provide crucial information for labeling, especially for rare and out-of-vocabulary words. Character-level encoder usually contains BiLSTM (Lample et al., 2016) and CNN (Chiu & Nichols, 2016; Ma & Hovy, ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
174,
|
| 250 |
+
854,
|
| 251 |
+
823,
|
| 252 |
+
924
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "2016) approaches. In practice, Reimers & Gurevych (2017) observed that the difference between the two approaches is statistically insignificant in sequence labeling tasks, but character-level CNN is more efficient and has less parameters. Thus, we use character-level CNN and share character features between high- and low-resource tasks to enhance the representations of low-resource. ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
174,
|
| 261 |
+
103,
|
| 262 |
+
823,
|
| 263 |
+
159
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 3
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "3.2.2 WORD-LEVEL ENCODER ",
|
| 270 |
+
"text_level": 1,
|
| 271 |
+
"bbox": [
|
| 272 |
+
176,
|
| 273 |
+
179,
|
| 274 |
+
398,
|
| 275 |
+
193
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "To learn a better word-level representation, we concatenate character-level features of each word with a latent word embedding as $\\mathbf { w } _ { i } = [ \\mathbf { w } _ { i } ^ { c h a r } , \\mathbf { w } _ { i } ^ { e m b } ]$ , where the latent word embedding $\\mathbf { w } _ { i } ^ { e m b }$ is initialized with pre-trained embeddings and fixed during training. One unique characteristic of NER is that the historical and future input for a given time step could be useful for label inference. To exploit such a characteristic, we use a bidirectional LSTM architecture (Hochreiter & Schmidhuber, 1997) to extract contextualized word-level features. In this way, we can gather the information from the past and future for a particular time frame $t$ as follows, $\\vec { \\mathbf { h } } _ { t } = \\mathtt { l s t m } ( \\vec { \\mathbf { h } } _ { t - 1 } , \\mathbf { w } _ { t } ) , \\ \\overleftarrow { \\mathbf { h } } _ { t } $ $\\left\\{ \\overline { { \\mathbf { h } } } _ { t } = \\right.$ $\\mathtt { l s t m } ( \\overleftarrow { \\mathbf { h } } _ { t + 1 } , \\mathbf { w } _ { t } )$ . After the LSTM layer, the representation of a word is obtained by concatenating its left and right context representation as follows, $\\mathbf h _ { t } = [ \\widehat { \\mathbf h } _ { t } , \\widetilde { \\mathbf h } _ { t } ]$ . ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
174,
|
| 284 |
+
205,
|
| 285 |
+
825,
|
| 286 |
+
342
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "To consider the resource representation difference on word-level features, we introduce two kinds of transferable word-level encoder in our model, namely DATNet-Full Share (DATNet-F) and DATNetPart Share (DATNet-P). In DATNet-F, all the BiLSTM units are shared by both resources while word embeddings for different resources are disparate. The illustrative figure is depicted in the Fig. 1(c). Different from DATNet-F, the DATNet-P decomposes the BiLSTM units into the shared component and the resource-related one, which is shown in the Fig. 1(b). ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
174,
|
| 295 |
+
348,
|
| 296 |
+
825,
|
| 297 |
+
433
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "3.2.3 GENERALIZED RESOURCE-ADVERSARIAL DISCRIMINATOR ",
|
| 304 |
+
"text_level": 1,
|
| 305 |
+
"bbox": [
|
| 306 |
+
174,
|
| 307 |
+
452,
|
| 308 |
+
637,
|
| 309 |
+
465
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "In order to make the feature representation extracted from the source domain more compatible with those from the target domain, we encourage the outputs of the shared BiLSTM part to be resourceagnostic by constructing a resource-adversarial discriminator, which is inspired by the LanguageAdversarial Discriminator proposed by Kim et al. (2017). Unfortunately, previous works did not consider the imbalance of training size for two resources. Specifically, the target domain consists of very limited labeled training data, e.g., 10 sentences. In contrast, labeled training data in the source domain are much richer, e.g., 10k sentences. If such imbalance was not considered during training, the stochastic gradient descent (SGD) optimization would make the model more biased to high resource (Lin et al., 2017b). To address this imbalance problem, we impose a weight $\\alpha$ on two resources to balance their influences. However, in the experiment we also observe that the easily classified samples from high resource comprise the majority of the loss and dominate the gradient. To overcome this issue, we further propose Generalized Resource-Adversarial Discriminator (GRAD) to enable adaptive weights for each sample (note that the sample here means each sentence of resource), which focuses the model training on hard samples. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
174,
|
| 318 |
+
477,
|
| 319 |
+
825,
|
| 320 |
+
672
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "To compute the loss of GRAD, the output sequence of the shared BiLSTM is firstly encoded into a single vector via a self-attention module (Bahdanau et al., 2015), and then projected into a scalar $r$ via a linear transformation. The loss function of the resource classifier is formulated as: ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
679,
|
| 330 |
+
823,
|
| 331 |
+
720
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "equation",
|
| 337 |
+
"img_path": "images/fb4734e92cf79b73ca9f975418b0d1cd0a507d203bfe5bbc9a4d5b8ca974ff59.jpg",
|
| 338 |
+
"text": "$$\n\\ell _ { G R A D } = - \\sum _ { i } \\{ \\mathbf { I } _ { i \\in \\mathcal { D } _ { S } } \\alpha ( 1 - r _ { i } ) ^ { \\gamma } \\log r _ { i } + \\mathbf { I } _ { i \\in \\mathcal { D } _ { T } } ( 1 - \\alpha ) r _ { i } ^ { \\gamma } \\log ( 1 - r _ { i } ) \\}\n$$",
|
| 339 |
+
"text_format": "latex",
|
| 340 |
+
"bbox": [
|
| 341 |
+
238,
|
| 342 |
+
727,
|
| 343 |
+
725,
|
| 344 |
+
761
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "where $\\mathbf { I } _ { i \\in \\mathcal { D } _ { S } } , \\mathbf { I } _ { i \\in \\mathcal { D } _ { T } }$ are the identity functions to denote whether a sentence is from high resource (source) and low resource (target), respectively; $\\alpha$ is a weighting factor to balance the loss contribution from high and low resource; the parameter $( 1 - r _ { i } ) ^ { \\gamma }$ (or $r _ { i } ^ { \\gamma }$ ) controls the loss contribution from individual samples by measuring the discrepancy between prediction and true label (easy samples have smaller contribution); and $\\gamma$ scales the contrast of loss contribution from hard and easy samples. In practice, the value of $\\gamma$ does not need to be tuned much and usually set as 2 in our experiment. Intuitively, the weighting factors $\\alpha$ and $( 1 - r _ { i } ) ^ { \\gamma }$ reduce the loss contribution from high resource and easy samples, respectively. Note that though the resource classifier is optimized to minimize the resource classification error, when the gradients originated from the resource classification loss are back-propagated to the other model parts than the resource classifier, they are negated for parameter updates so that these bottom layers are trained to be resource-agnostic. ",
|
| 351 |
+
"bbox": [
|
| 352 |
+
173,
|
| 353 |
+
770,
|
| 354 |
+
825,
|
| 355 |
+
924
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "3.2.4 LABEL DECODER ",
|
| 362 |
+
"text_level": 1,
|
| 363 |
+
"bbox": [
|
| 364 |
+
176,
|
| 365 |
+
103,
|
| 366 |
+
349,
|
| 367 |
+
117
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 4
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "The label decoder induces a probability distribution over sequences of labels, conditioned on the word-level encoder features. In this paper, we use a linear chain model based on the first-order Markov chain structure, termed the chain conditional random field (CRF) Lafferty et al. (2001), as the decoder. In this decoder, there are two kinds of cliques: local cliques and transition cliques. Specifically, local cliques correspond to the individual elements in the sequence. And transition cliques, on the other hand, reflect the evolution of states between two neighboring elements at time $t - 1$ and $t$ and we define the transition distribution as $\\theta$ . Formally, a linear-chain CRF can be written $\\begin{array} { r } { p ( \\mathbf { y } | \\mathbf { h } _ { 1 : T } ) = \\frac { 1 } { Z ( \\mathbf { h } _ { 1 : T } ) } \\exp \\left\\{ \\sum _ { t = 2 } ^ { T } \\theta _ { y _ { t - 1 } , y _ { t } } + \\sum _ { t = 1 } ^ { T } \\mathbf { W } _ { y _ { t } } \\mathbf { h } _ { t } \\right\\} } \\end{array}$ , where $Z ( \\mathbf { h } _ { 1 : T } )$ is a normalization term and $\\mathbf { y }$ is the sequence of predicted labels as follows: $\\mathbf { y } = y _ { 1 : T }$ . Model parameters are optimized to maximize this conditional log likelihood, which acts as the objective function of the model. We define the loss function for source and target resources as follows, $\\begin{array} { r } { \\ell _ { S } = - \\sum _ { i } \\log p ( \\mathbf { y } | \\mathbf { h } _ { 1 : T } ) } \\end{array}$ , $\\ell _ { T } =$ $\\begin{array} { r } { - \\sum _ { i } \\log p ( \\mathbf { y } | \\mathbf { h } _ { 1 : T } ) } \\end{array}$ . ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
173,
|
| 376 |
+
130,
|
| 377 |
+
826,
|
| 378 |
+
308
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 4
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "3.2.5 ADVERSARIAL TRAINING",
|
| 385 |
+
"text_level": 1,
|
| 386 |
+
"bbox": [
|
| 387 |
+
176,
|
| 388 |
+
327,
|
| 389 |
+
406,
|
| 390 |
+
342
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 4
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "So far our model can be trained end-to-end with standard back-propagation by minimizing the following loss: ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
353,
|
| 400 |
+
823,
|
| 401 |
+
382
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 4
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "equation",
|
| 407 |
+
"img_path": "images/9fb7cf1f186e404920d937ab5013353c17fb14f303723b0073da6077b9c5d135.jpg",
|
| 408 |
+
"text": "$$\n\\ell = \\ell _ { G R A D } + \\ell _ { S } + \\ell _ { T }\n$$",
|
| 409 |
+
"text_format": "latex",
|
| 410 |
+
"bbox": [
|
| 411 |
+
405,
|
| 412 |
+
395,
|
| 413 |
+
560,
|
| 414 |
+
411
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 4
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "Recent works have demonstrated that deep learning models are fragile to adversarial examples Goodfellow et al. (2015). In computer vision, those adversarial examples can be constructed by changing a very small number of pixels, which are virtually indistinguishable to human perception (Pin-Yu et al., 2018). Recently, adversarial samples are widely incorporated into training to improve the generalization and robustness of the model, which is so-called adversarial training (AT) (Miyato et al., 2017). It emerges as a powerful regularization tool to stabilize training and prevent the model from being stuck in local minimum. In this paper, we explore AT in context of NER. To be specific, we prepare an adversarial sample by adding the original sample with a perturbation bounded by a small norm $\\epsilon$ to maximize the loss function as follows: ",
|
| 421 |
+
"bbox": [
|
| 422 |
+
173,
|
| 423 |
+
422,
|
| 424 |
+
825,
|
| 425 |
+
549
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 4
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "equation",
|
| 431 |
+
"img_path": "images/9aa627b3cc788957e8a28a8dbd177ecb5542f175894321fb52bcd86f8e3b7913.jpg",
|
| 432 |
+
"text": "$$\n\\eta _ { \\mathbf { x } } = \\arg \\operatorname* { m a x } _ { \\eta : \\| \\eta \\| _ { 2 } \\leq \\epsilon } \\ell ( \\Theta ; \\mathbf { x } + \\eta )\n$$",
|
| 433 |
+
"text_format": "latex",
|
| 434 |
+
"bbox": [
|
| 435 |
+
397,
|
| 436 |
+
560,
|
| 437 |
+
599,
|
| 438 |
+
587
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "where $\\Theta$ is the current model parameters set. However, we cannot calculate the value of $\\eta$ exactly in general, because the exact optimization with respect to $\\eta$ is intractable in neural networks. Following the strategy in Goodfellow et al. (2015), this value can be approximated by linearizing it as follows, ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
598,
|
| 448 |
+
825,
|
| 449 |
+
641
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "equation",
|
| 455 |
+
"img_path": "images/0d461bc07d4cbeac3e127b210945e9763d99498076f9b92f28d50d81d011d955.jpg",
|
| 456 |
+
"text": "$$\n\\eta _ { \\mathbf { x } } = \\epsilon \\frac { \\mathbf { g } } { \\| \\mathbf { g } \\| _ { 2 } } , \\mathrm { w h e r e } \\mathbf { g } = \\nabla \\ell ( \\Theta ; \\mathbf { x } )\n$$",
|
| 457 |
+
"text_format": "latex",
|
| 458 |
+
"bbox": [
|
| 459 |
+
374,
|
| 460 |
+
651,
|
| 461 |
+
624,
|
| 462 |
+
683
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "where $\\epsilon$ can be determined on the validation set. In this way, adversarial examples are generated by adding small perturbations to the inputs in the direction that most significantly increases the loss function of the model. We find such $\\eta$ against the current model parameterized by $\\Theta$ , at each training step, and construct an adversarial example by ${ \\bf x } _ { a d v } = { \\bf x } + \\eta _ { \\bf x }$ . Noted that we generate this adversarial example on the word and character embedding layer, respectively, as shown in the Fig. 1(b) and 1(c). Then, the classifier is trained on the mixture of original and adversarial examples to improve the generalization. To this end, we augment the loss in Eqn. 2 and define the loss function for adversarial training as: ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
173,
|
| 471 |
+
694,
|
| 472 |
+
825,
|
| 473 |
+
806
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "equation",
|
| 479 |
+
"img_path": "images/26c3cff52ea49bab4a0e7b6786af97c4186475b40103a30258d666d362992977.jpg",
|
| 480 |
+
"text": "$$\n\\ell _ { A T } = \\ell ( \\Theta ; \\mathbf { x } ) + \\ell ( \\Theta ; \\mathbf { x } _ { a d v } )\n$$",
|
| 481 |
+
"text_format": "latex",
|
| 482 |
+
"bbox": [
|
| 483 |
+
401,
|
| 484 |
+
811,
|
| 485 |
+
596,
|
| 486 |
+
829
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 4
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "where $\\ell ( \\Theta ; { \\mathbf x } ) , \\ell ( \\Theta ; { \\mathbf x } _ { a d v } )$ represents the loss from an original example and its adversarial counterpart, respectively. Note that we present the AT in a general form for the convenience of presentation. For different samples, the loss and parameters should correspond to their counterparts. For example, for the source data with word embedding $\\mathbf { w } _ { S }$ , the loss for AT can be defined as follows, $\\bar { \\ell _ { A T } } = \\ell ( \\Theta ; \\mathbf { w } _ { S } ) + \\ell ( \\Theta ; \\mathbf { w } _ { S , a d v } )$ with $\\mathbf { w } _ { S , a d v } = \\mathbf { w } _ { S } + \\eta _ { \\mathbf { w } _ { S } }$ and $\\ell = \\ell _ { G R A D } + \\ell _ { S }$ . Similarly, we can compute the perturbations $\\eta _ { \\mathbf { c } }$ for char-embedding and $\\eta _ { \\mathbf { w } _ { T } }$ for target word embedding. ",
|
| 493 |
+
"bbox": [
|
| 494 |
+
173,
|
| 495 |
+
839,
|
| 496 |
+
825,
|
| 497 |
+
924
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "4 EXPERIMENTS ",
|
| 504 |
+
"text_level": 1,
|
| 505 |
+
"bbox": [
|
| 506 |
+
174,
|
| 507 |
+
102,
|
| 508 |
+
326,
|
| 509 |
+
118
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 5
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "4.1 DATASETS ",
|
| 516 |
+
"text_level": 1,
|
| 517 |
+
"bbox": [
|
| 518 |
+
174,
|
| 519 |
+
133,
|
| 520 |
+
287,
|
| 521 |
+
148
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 5
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "In order to evaluate the performance of DATNet, we conduct the experiments on following widely used NER datasets: CoNLL-2003 English NER (Kim & De, 2003), CoNLL-2002 Spanish & Dutch NER (Kim, 2002), WNUT-2016 & 2017 English Twitter NER (Zeman, 2017). The statistics of these datasets are described in Table 1. We use the official split of training/validation/test sets. Since our goal is to study the effects of transferring knowledge from high-resource dataset to low-resource dataset, unlike previous works (Collobert et al., 2011; Chiu & Nichols, 2016; Yang et al., 2017) to append one-hot gazetteer features to the input of the CRF layer, and the works (Partalas et al., 2016; Limsopatham & Collier, 2016; Aguilar et al., 2017) to introduce orthographic feature as additional input for learning social media NER in tweets, we do not experiment with hand-crafted features and only consider words and characters embeddings as the inputs of our model. To be noted, we used only train set for model training for all datasets except the WNUT-2016 NER dataset. Since in this dataset, all the previous studies merged the training and validation sets together for training, we followed the same way for fair comparison. Specifically, we use CoNLL-2003 English NER dataset as high-resource (i.e., source) for all the experiments on CoNLL and WNUT datasets, while CoNLL-2002 Spanish & Dutch NER datasets and WNUT-2016 & 2017 Twitter NER datasets as low-resource (i.e., target) in cross-language and cross-domain NER settings, respectively. ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
161,
|
| 531 |
+
825,
|
| 532 |
+
382
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 5
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "table",
|
| 538 |
+
"img_path": "images/29341e6bf175142c4f735b15f3f97d8c9267116689aea131fb76cce1a3e4abe6.jpg",
|
| 539 |
+
"table_caption": [
|
| 540 |
+
"Table 1: Statistics of CoNLL and WNUT Named Entity Recognition Datasets. "
|
| 541 |
+
],
|
| 542 |
+
"table_footnote": [],
|
| 543 |
+
"table_body": "<table><tr><td>Benchmark</td><td>Resource</td><td>Language</td><td># Training Tokens (# Entities)</td><td># Dev Tokens (# Entities)</td><td># Test Tokens (# Entities)</td></tr><tr><td>CoNLL-2003</td><td>English</td><td></td><td>204,567 (23,499)</td><td>51,578 (5,942)</td><td>46,666 (5,648)</td></tr><tr><td colspan=\"6\">Cross-language NER</td></tr><tr><td>CoNLL-2002</td><td>Target</td><td>Spanish</td><td>207,484 (18,797)</td><td>51,645 (4,351)</td><td>52.098 (3,558)</td></tr><tr><td>CoNLL-2002</td><td>Target</td><td>Dutch</td><td>202,931 (13,344)</td><td>37,761 (2.616)</td><td>68,994 (3.941)</td></tr><tr><td colspan=\"6\">Cross-domain NER</td></tr><tr><td>WNUT-2016</td><td>Target</td><td>English</td><td>46,469 (2,462)</td><td>16,261 (1,128)</td><td>61,908 (5,955)</td></tr><tr><td>WNUT-2017</td><td>Target</td><td>English</td><td>62,730 (3,160)</td><td>15,733 (1,250)</td><td>23,394 (1,740)</td></tr></table>",
|
| 544 |
+
"bbox": [
|
| 545 |
+
178,
|
| 546 |
+
422,
|
| 547 |
+
820,
|
| 548 |
+
545
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "In addition to the CoNLL and WNUT datasets, we also experiment on the cross-language named entity dataset described in Pan et al. (2017), which contains datasets for 282 languages, to evaluate our methods and investigate the transferability of different linguistic families and branches in both low- and high-resource scenarios. We choose 9 languages in our experiment, where Galician (gl), West Frisian (fy), Ukrainian (uk) and Marathi (mr) are target languages, the corresponding source languages are Spanish (es), Dutch (nl), Russian $( r u )$ and Hindi (hi), and Arabic (ar) is also a source language, which is from different linguistic family. Following the setting in Cotterell & Duh (2017), we also simulate the low- and high-resource scenarios by creating 100 and 10,000 sentences split for training target language datasets, respectively. Then we create 1,000 sentences split for validation and test, respectively. For source languages, we create 10,000 sentence split for training only. For high-resource scenario, we only conduct experiments on Galician (gl-high) and Ukrainian (uk-high). The list of selected datasets are described in Table 2. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
173,
|
| 557 |
+
568,
|
| 558 |
+
825,
|
| 559 |
+
733
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "table",
|
| 565 |
+
"img_path": "images/83dafb84daa367f902048f3bbc62ade5516e512de77742c2a2b5e0180769b71a.jpg",
|
| 566 |
+
"table_caption": [
|
| 567 |
+
"Table 2: List of Named Entity Recognition Datasets in Pan et al. (2017). "
|
| 568 |
+
],
|
| 569 |
+
"table_footnote": [],
|
| 570 |
+
"table_body": "<table><tr><td>Language</td><td>Resource</td><td>Linguistic Family</td><td></td><td>Linguistic Branch # Training Sentences# Dev Sentences</td><td></td><td>:#Test Sentences</td></tr><tr><td>Spanish (es)</td><td>Source</td><td>Indo-European</td><td>Romance</td><td>10,000</td><td></td><td></td></tr><tr><td>Galician (gl/ gl-high)</td><td>Target</td><td>Indo-European</td><td>Romance</td><td>100 /10.000</td><td>1,000</td><td>1,000</td></tr><tr><td>Dutch (nl)</td><td>Source</td><td>Indo-European</td><td>Germanic</td><td>10,000</td><td></td><td></td></tr><tr><td>West Frisian (fy)</td><td>Target</td><td>Indo-European</td><td>Germanic</td><td>100</td><td>1,000</td><td>1,000</td></tr><tr><td>Russian (ru)</td><td>Source</td><td>Indo-European</td><td>Slavic</td><td>10,000</td><td></td><td></td></tr><tr><td>Ukrainian (uk /uk-high)</td><td>Target</td><td>Indo-European</td><td>Slavic</td><td>100 /10.000</td><td>1,000</td><td>1,000</td></tr><tr><td>Hindi (hi)</td><td>Source</td><td>Indo-European</td><td>Indo-Aryan</td><td>10.000</td><td></td><td></td></tr><tr><td>Marathi (mr)</td><td>Target</td><td>Indo-European</td><td>Indo-Aryan</td><td>100</td><td>1,000</td><td>1,000</td></tr><tr><td>Arabic (ar)</td><td>Source</td><td>Afro-Asiatic</td><td>Semitic</td><td>10.000</td><td>-</td><td>-</td></tr></table>",
|
| 571 |
+
"bbox": [
|
| 572 |
+
173,
|
| 573 |
+
772,
|
| 574 |
+
825,
|
| 575 |
+
912
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "4.2 EXPERIMENTAL SETUP ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
176,
|
| 585 |
+
103,
|
| 586 |
+
375,
|
| 587 |
+
117
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 6
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "We use 50-dimensional publicly available pre-trained word embeddings for English, Spanish and Dutch languages of CoNLL and WNUT datasets in our experiments, which are trained by word2vec package2 on the corresponding Wikipedia articles (2017-12-20 dumps) (Lin et al., 2018). For the named entity datasets selected from Pan et al. (2017), we use 300-dimensional pre-trained word embeddings trained by fastText package3 on Wikipedia (Bojanowski et al., 2017), and the 30- dimensional randomly initialized character embeddings are used for all the datasets. We set the filter number as 20 for char-level CNN and the dimension of hidden states of the word-level LSTM as 200 for both base model and DATNet-F. For DATNet-P, we set 100 for source, share, and target LSTMs dimension, respectively. Parameters optimization is performed by Adam optimizer (Kingma & Ba, 2014) with gradient clipping of 5.0 and learning rate decay strategy. We set the initial learning rate of $\\beta _ { 0 } ~ = ~ 0 . 0 0 1$ for all experiments. At each epoch $t$ , learning rate $\\beta _ { t }$ is updated using $\\beta _ { t } = \\beta _ { 0 } / ( 1 + \\rho \\times t )$ , where $\\rho$ is decay rate with 0.05. To reduce over-fitting, we also apply Dropout (Srivastava et al., 2014) to the embedding layer and the output of the LSTM layer, respectively. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
173,
|
| 596 |
+
130,
|
| 597 |
+
825,
|
| 598 |
+
310
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 6
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "4.3 COMPARISON WITH STATE-OF-THE-ART RESULTS ",
|
| 605 |
+
"text_level": 1,
|
| 606 |
+
"bbox": [
|
| 607 |
+
174,
|
| 608 |
+
328,
|
| 609 |
+
562,
|
| 610 |
+
342
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 6
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "In this section, we compare our approach with state-of-the-art (SOTA) methods on CoNLL and WNUT benchmark datasets. In the experiment, we exploit all the source data (i.e., CoNLL-2003 English NER) and target data to improve performance of target tasks. The averaged results with standard deviation over 10 repetitive runs are summarized in Table 3, and we also report the best results on each task for fair comparison with other SOTA methods. From results, we observe that incorporating the additional resource is helpful to improve performance. DATNet-P model achieves the highest F1 score on CoNLL-2002 Spanish and second F1 score on CoNLL-2002 Dutch dataset while DATNet-F model beats others on WNUT-2016 and WNUT-2017 English Twitter datasets. Different from other state-of-the-art models, DATNets do not use any addition features4. ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
174,
|
| 619 |
+
354,
|
| 620 |
+
825,
|
| 621 |
+
478
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 6
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "table",
|
| 627 |
+
"img_path": "images/8fbc5242f710a2a9610dfcd56406972ac35e9ae13cdb1a1e052980196348a6e6.jpg",
|
| 628 |
+
"table_caption": [
|
| 629 |
+
"Table 3: Comparison with State-of-the-art Results in CoNLL and WNUT datasets (F1-score) "
|
| 630 |
+
],
|
| 631 |
+
"table_footnote": [],
|
| 632 |
+
"table_body": "<table><tr><td rowspan=\"2\">Mode</td><td rowspan=\"2\">Methods</td><td rowspan=\"2\"></td><td colspan=\"2\">Additional Features</td><td colspan=\"2\">CoNLL Datasets</td><td colspan=\"2\">WNUT Datasets</td></tr><tr><td></td><td>POS Gazetteers Orthographic</td><td>Spanish</td><td>Dutch</td><td>WNUT-2016 WNUT-2017</td><td></td></tr><tr><td rowspan=\"7\">Mono-language /domain</td><td>Gillick et al. (2016)</td><td>×</td><td>×</td><td>×</td><td>82.59</td><td>82.84</td><td></td><td></td></tr><tr><td>Lample et al. (2016)</td><td>×</td><td><√√x</td><td>× <</td><td>85.75</td><td>81.74</td><td>-</td><td></td></tr><tr><td>Partalas et al. (2016)</td><td></td><td></td><td></td><td>=</td><td>=</td><td>46.16</td><td></td></tr><tr><td>Limsopatham& Collier (2016)</td><td></td><td></td><td></td><td></td><td>=</td><td>52.41</td><td></td></tr><tr><td rowspan=\"2\">Lin et al. (2017a)</td><td></td><td>√</td><td>√</td><td></td><td></td><td></td><td>40.42</td></tr><tr><td>Best Our Base Model Mean& Std</td><td>×</td><td></td><td></td><td>85.53</td><td>85.55 44.96</td><td>35.20 34.67±0.34</td></tr><tr><td colspan=\"2\"></td><td></td><td>× √</td><td>× ×</td><td>85.35±0.15 85.24±0.21 85.77</td><td></td><td>44.37±0.31</td><td></td></tr><tr><td rowspan=\"8\">Cross-language</td><td colspan=\"2\">Yang et al. (2017)</td><td></td><td></td><td></td><td>85.19</td><td></td><td></td></tr><tr><td colspan=\"2\">Lin et al. (2018)</td><td></td><td></td><td>85.88</td><td>86.55 88.39</td><td></td><td></td></tr><tr><td colspan=\"2\">Feng et al. (2018)</td><td></td><td></td><td></td><td>86.42</td><td></td><td></td></tr><tr><td colspan=\"2\">von Däniken & Cieliebak (2017)</td><td>×</td><td>√ ×</td><td>√</td><td></td><td></td><td>40.78</td></tr><tr><td rowspan=\"2\">Aguilar et al. (2017) DATNet-P</td><td></td><td>√</td><td></td><td>88.16</td><td>88.32</td><td>50.85</td><td>41.86</td></tr><tr><td>Best</td><td></td><td>×</td><td></td><td></td><td></td><td>41.12</td></tr><tr><td rowspan=\"2\">DATNet-F</td><td>Mean& Std</td><td>×</td><td></td><td>87.89±0.18 87.04</td><td>87.77</td><td>88.09±0.13 50.41±0.32 53.43</td><td>40.52±0.38 42.83</td></tr><tr><td>Best Mean& Std</td><td>×</td><td>×</td><td>×</td><td>86.79±0.20</td><td>87.52±0.19</td><td>53.03±0.24 42.32±0.32</td></tr></table>",
|
| 633 |
+
"bbox": [
|
| 634 |
+
174,
|
| 635 |
+
518,
|
| 636 |
+
825,
|
| 637 |
+
722
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 6
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "Table 4 summarizes the results of our methods under different cross-language transfer settings as well as the comparison with Cotterell & Duh (2017). In this experiment, we study the transferability between languages not only from same linguistic family and branch, but also from different linguistic families or branches. According to the results, DATNets outperform the transfer method of Cotterell & Duh (2017) for both low- and high-resource scenarios within the same linguistic family and branch (i.e., in-family in-branch) transfer case. We also observe that: 1) For the low-resource scenario, transfer learning is significantly helpful for improving the performance of target datasets within both same and different linguistic family or branch (i.e., in/cross-family in/cross-branch) transfer cases, while the improvements are more prominent under the in-family in-branch case. 2) For the high-resource scenario, say, when the target language data is sufficient, the improvements of transfer learning are not very distinct compared with that for low-resource scenario under in-family in-branch case. We also find that there is no effect by transferring knowledge from Arabic to Galician and Ukrainian. We suspect that it is caused by the great linguistic differences between source and target languages, since, for example, Arabic and Galician are from totally different linguistic families. ",
|
| 644 |
+
"bbox": [
|
| 645 |
+
173,
|
| 646 |
+
736,
|
| 647 |
+
825,
|
| 648 |
+
834
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 6
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "",
|
| 655 |
+
"bbox": [
|
| 656 |
+
174,
|
| 657 |
+
103,
|
| 658 |
+
825,
|
| 659 |
+
214
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 7
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "table",
|
| 665 |
+
"img_path": "images/5ab26db08b3f4e7ada1acba9a79fa9894fd42bc26bdb7ce10a5ab1741707cc2f.jpg",
|
| 666 |
+
"table_caption": [
|
| 667 |
+
"Table 4: Results of Varying Cross-language Transfer Settings in Pan et al. (2017) Datasets (F1-score). "
|
| 668 |
+
],
|
| 669 |
+
"table_footnote": [
|
| 670 |
+
"\\* Base model means the model is trained by using target language dataset only. "
|
| 671 |
+
],
|
| 672 |
+
"table_body": "<table><tr><td colspan=\"2\">Language</td><td rowspan=\"2\">Transferring Strategy</td><td colspan=\"2\">Cotterell & Duh (2017)</td><td colspan=\"3\">Our Methods</td></tr><tr><td>Source</td><td>Target</td><td>Base Model</td><td>Transfer</td><td>Base Model</td><td>DATNet-P</td><td>DATNet-F</td></tr><tr><td>nl</td><td>fy</td><td>In-Family In-Branch</td><td>58.43</td><td>72.12</td><td>57.47</td><td>75.08</td><td>76.05</td></tr><tr><td>hi</td><td>fy</td><td>In-Family Cross-Branch</td><td>-</td><td>-</td><td>57.47</td><td>69.25</td><td>68.44</td></tr><tr><td>ar</td><td>fy</td><td>Cross-Family Cross-Branch</td><td>1</td><td>1</td><td>57.47</td><td>67.89</td><td>66.05</td></tr><tr><td>hi</td><td>mr</td><td>In-Family In-Branch</td><td>39.02</td><td>60.92</td><td>43.55</td><td>68.55</td><td>64.87</td></tr><tr><td>nl</td><td>mr</td><td>In-Family Cross-Branch</td><td>-</td><td>1</td><td>43.55</td><td>63.83</td><td>60.50</td></tr><tr><td>ar</td><td>mr</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>43.55</td><td>63.28</td><td>59.76</td></tr><tr><td>es</td><td>g</td><td>In-Family In-Branch</td><td>49.19</td><td>76.40</td><td>49.94</td><td>79.60</td><td>86.01</td></tr><tr><td>hi</td><td>g</td><td>In-Family Cross-Branch</td><td>-</td><td>-</td><td>49.94</td><td>60.57</td><td>61.68</td></tr><tr><td>ar</td><td>g</td><td>Cross-Family Cross-Branch</td><td></td><td>-</td><td>49.94</td><td>59.18</td><td>60.43</td></tr><tr><td>es</td><td>gl-high</td><td>In-Family In-Branch</td><td>89.42</td><td>89.46</td><td>92.78</td><td>93.14</td><td>93.02</td></tr><tr><td>ar</td><td>gl-high</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>92.78</td><td>92.63</td><td>92.21</td></tr><tr><td>ru</td><td>uk</td><td>In-Family In-Branch</td><td>60.65</td><td>76.74</td><td>61.48</td><td>79.02</td><td>80.76</td></tr><tr><td>hi</td><td>uk</td><td>In-Family Cross-Branch</td><td>1</td><td>-</td><td>61.48</td><td>72.73</td><td>73.84</td></tr><tr><td>ar</td><td>uk</td><td>Cross-Family Cross-Branch</td><td>-</td><td>1</td><td>61.48</td><td>71.55</td><td>72.24</td></tr><tr><td>ru</td><td>uk-high</td><td>In-Family In-Branch</td><td>87.39</td><td>87.42</td><td>93.29</td><td>93.62</td><td>93.51</td></tr><tr><td>ar</td><td>uk-high</td><td>Cross-Family Cross-Branch</td><td>-1</td><td>-</td><td>93.29</td><td>92.83</td><td>92.42</td></tr></table>",
|
| 673 |
+
"bbox": [
|
| 674 |
+
199,
|
| 675 |
+
251,
|
| 676 |
+
799,
|
| 677 |
+
443
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 7
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "image",
|
| 683 |
+
"img_path": "images/f72145ff1803baccf438290560a949df8356f92a886dcdb22b498b0c0e817679.jpg",
|
| 684 |
+
"image_caption": [
|
| 685 |
+
"Figure 2: Comparison with Different Target Data Ratio, where AT stands for adversarial training, F(P)- Transfer denotes the DATNet-F(P) without AT. "
|
| 686 |
+
],
|
| 687 |
+
"image_footnote": [],
|
| 688 |
+
"bbox": [
|
| 689 |
+
212,
|
| 690 |
+
482,
|
| 691 |
+
784,
|
| 692 |
+
689
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 7
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "4.4 TRANSFER LEARNING PERFORMANCE ",
|
| 699 |
+
"text_level": 1,
|
| 700 |
+
"bbox": [
|
| 701 |
+
176,
|
| 702 |
+
758,
|
| 703 |
+
478,
|
| 704 |
+
772
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 7
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "In this section, we investigate on improvements with transfer learning under multiple low-resource settings with partial target data. To simulate a low-resource setting, we randomly select subsets of target data with varying data ratio at 0.05, 0.1, 0.2, 0.4, 0.6, and 1.0. For example, 20,748 training tokens are sampled from the training set under a data ratio of $r ~ = ~ 0 . 1$ for the dataset CoNLL-2002 Spanish NER (Cf. Table 1). The results for cross-language and cross-domain transfer are shown in Fig. 2(a) and 2(b), respectively, where we compare the results with each part of DATNet under various data ratios. From those figures, we have the following observations: 1) both adversarial training and adversarial discriminator in DATNet consistently contribute to the performance improvement; 2) the transfer learning component in the DATNet consistently improve over the base model results and the improvement margin is more substantial when the target data ratio is lower. For example, when the data ratio is 0.05, DATNet-P model outperforms the base model by more than $4 \\%$ absolutely in F1-score on Spanish NER and DATNet-F model improves around $13 \\%$ absolutely in F1-score compared to base model on WNUT-2016 NER. ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
173,
|
| 713 |
+
785,
|
| 714 |
+
825,
|
| 715 |
+
924
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 7
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "table",
|
| 721 |
+
"img_path": "images/dad44cdf103cebd336b9a09e2d103ee0bc772e982dda6352266c537654a2fe06.jpg",
|
| 722 |
+
"table_caption": [
|
| 723 |
+
"Table 5: Experiments on Extremely Low Resource (F1-score). "
|
| 724 |
+
],
|
| 725 |
+
"table_footnote": [],
|
| 726 |
+
"table_body": "<table><tr><td colspan=\"2\">Tasks</td><td colspan=\"5\">CoNLL-2002 2Spanish NER</td><td colspan=\"5\">WNUT-2016 Twitter NER</td></tr><tr><td>#Target train sentences</td><td>10</td><td>50</td><td>100</td><td>200</td><td>500</td><td>1000</td><td>10</td><td>50</td><td>100</td><td>200 500</td><td>1000</td></tr><tr><td>Base</td><td>21.53</td><td>42.18</td><td>48.35</td><td>63.66</td><td>68.83</td><td>76.69</td><td>3.80 14.07</td><td>17.99</td><td>26.20</td><td>31.78</td><td>36.99</td></tr><tr><td>+ AT</td><td>19.23</td><td>41.01</td><td>50.46</td><td>64.83</td><td>70.85</td><td>77.91</td><td>4.34 16.87</td><td>18.43</td><td>26.32</td><td>35.68</td><td>41.69</td></tr><tr><td>+ P-Transfer</td><td>29.78</td><td>61.09</td><td>64.78</td><td>66.54</td><td>72.94</td><td>78.49</td><td>7.71 16.17</td><td>20.43</td><td>29.20</td><td>34.90</td><td>41.20</td></tr><tr><td>+ F-Transfer</td><td>39.72</td><td>63.00</td><td>63.36</td><td>66.39</td><td>72.88</td><td>78.04</td><td>15.26 20.04</td><td>26.60</td><td>32.22</td><td>38.35</td><td>44.81</td></tr><tr><td>DATNet-P</td><td>39.52</td><td>62.57</td><td>64.05</td><td>68.95</td><td>75.19</td><td>79.46</td><td>9.94 17.09</td><td>25.39</td><td>30.71</td><td>36.05</td><td>42.30</td></tr><tr><td>DATNet-F</td><td>44.52</td><td>63.89</td><td>66.67</td><td>68.35</td><td>74.24</td><td>78.56</td><td>17.14 22.59</td><td>28.41</td><td>32.48</td><td>39.20</td><td>45.25</td></tr></table>",
|
| 727 |
+
"bbox": [
|
| 728 |
+
173,
|
| 729 |
+
127,
|
| 730 |
+
825,
|
| 731 |
+
217
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 8
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
243,
|
| 741 |
+
825,
|
| 742 |
+
285
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 8
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "In the second experiment, we further investigate DATNet on the extremely low resource cases, e.g., the number of training target sentences is 10, 50, 100, 200, 500 and 1,000. The setting is quite challenging and fewer previous works have studied before. The results are summarized in Table 5. We have two interesting observations 5: 1) DATNet-F outperforms DATNet-P on cross-language transfer when the target resource is extremely low, however, this situation is reversed when the target dataset size is large enough (here for this specific dataset, the threshold is 100 sentences); 2) DATNet-F is always superior to DATNet-P on cross-domain transfer. For the first observation, it is because DATNet-F with more shared hidden units is more efficient to transfer knowledge than DATNet-P when data size is extremely small. For the second observation, because cross-domain transfer are in the same language, more knowledge is common between the source and target domains, requiring more shared hidden features to carry with these knowledge compared to cross-language transfer. Therefore, for cross-language transfer with an extremely low resource and cross-domain transfer, we suggest using DATNet-F model to achieve better performance. As for cross-language transfer with relatively more training data, DATNet-P model is preferred. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
292,
|
| 752 |
+
825,
|
| 753 |
+
487
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 8
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "image",
|
| 759 |
+
"img_path": "images/38bd30d068e4b39c5cd4a5729fc9ffba13a24ca5e60e11bf15adfd7bfc834cd6.jpg",
|
| 760 |
+
"image_caption": [
|
| 761 |
+
"Figure 3: The visualization of extracted features from shared bidirectional-LSTM layer. The left, middle, and right figures show the results when no Adversarial Discriminator (AD), AD, and GRAD is performed, respectively. Red points correspond to the source CoNLL-2003 English examples, and blue points correspond to the target CoNLL-2002 Spanish examples. "
|
| 762 |
+
],
|
| 763 |
+
"image_footnote": [],
|
| 764 |
+
"bbox": [
|
| 765 |
+
212,
|
| 766 |
+
520,
|
| 767 |
+
789,
|
| 768 |
+
669
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 8
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "4.5 ABLATION STUDY OF DATNET ",
|
| 775 |
+
"text_level": 1,
|
| 776 |
+
"bbox": [
|
| 777 |
+
176,
|
| 778 |
+
762,
|
| 779 |
+
429,
|
| 780 |
+
776
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 8
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "In the proposed DATNet, both GRAD and AT play important roles in low resource NER. In this experiment, we further investigate how GRAD and AT help transfer knowledge across language/domain. In the first experiment6, we used t-SNE (Maaten & Hinton, 2008) to visualize the feature distribution of BiLSTM outputs without AD, with normal AD (GRAD without considering data imbalance), and with the proposed GRAD in Figure 3. From this figure, we can see that the GRAD in DATNet makes the distribution of extracted features from the source and target datasets much more similar by considering the data imbalance, which indicates that the outputs of BiLSTM are resource-invariant. ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
173,
|
| 789 |
+
787,
|
| 790 |
+
825,
|
| 791 |
+
872
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 8
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "",
|
| 798 |
+
"bbox": [
|
| 799 |
+
173,
|
| 800 |
+
103,
|
| 801 |
+
825,
|
| 802 |
+
132
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 9
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "table",
|
| 808 |
+
"img_path": "images/879c87615ce1b3fa60f22a527f9ddcf6bd7aea8e9e18bf9b6d089cd55c78a8db.jpg",
|
| 809 |
+
"table_caption": [
|
| 810 |
+
"Table 6: Quantitative Performance Comparison between Models with Different Components. "
|
| 811 |
+
],
|
| 812 |
+
"table_footnote": [
|
| 813 |
+
"\\* AT: Adversarial Training; P-T: P-Transfer; F-T: F-Transfer; AD: Adversarial Discriminator; GRAD: Generalized Resource-Adversarial Discriminator. "
|
| 814 |
+
],
|
| 815 |
+
"table_body": "<table><tr><td colspan=\"4\">CoNLL-2002 Spanish NER</td><td colspan=\"4\">WNUT-2016TwitterNER</td></tr><tr><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td><td>Model</td><td>F1-score</td></tr><tr><td>Base</td><td>85.35</td><td>+AT</td><td>86.12</td><td>Base</td><td>44.37</td><td>+AT</td><td>47.41</td></tr><tr><td>+P-T (no AD)</td><td>86.15</td><td>+AT +P-T (no AD)</td><td>86.90</td><td>+P-T (no AD)</td><td>47.66</td><td>+AT +P-T (no AD)</td><td>48.44</td></tr><tr><td>+F-T (no AD)</td><td>85.46</td><td>+AT +F-T (no AD)</td><td>86.17</td><td>+F-T (no AD)</td><td>49.79</td><td>+AT +F-T (no AD)</td><td>50.93</td></tr><tr><td>+P-T (AD)</td><td>86.32</td><td>+AT +P-T (AD)</td><td>87.19</td><td>+P-T (AD)</td><td>48.14</td><td>+AT+P-T (AD)</td><td>49.41</td></tr><tr><td>+F-T(AD)</td><td>85.58</td><td>+AT +F-T (AD) +AT +P-T (GRAD)</td><td>86.38</td><td>+F-T(AD)</td><td>50.48</td><td>+AT +F-T (AD)</td><td>51.84</td></tr><tr><td>+P-T (GRAD)</td><td>86.93</td><td>(DATNet-P)</td><td>88.16</td><td>+P-T (GRAD)</td><td>48.91</td><td>+AT+P-T (GRAD) (DATNet-P)</td><td>50.85</td></tr><tr><td>+F-T(GRAD)</td><td>85.91</td><td>+AT+F-T (GRAD) (DATNet-F)</td><td>87.04</td><td>+F-T(GRAD)</td><td>51.31</td><td>+AT +F-T (GRAD) (DATNet-F)</td><td>53.43</td></tr></table>",
|
| 816 |
+
"bbox": [
|
| 817 |
+
209,
|
| 818 |
+
166,
|
| 819 |
+
789,
|
| 820 |
+
284
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 9
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "To better understand the working mechanism, Table 6 further reports the quantitative performance comparison between models with different components. We observe that GRAD shows the stable superiority over the normal AD regardless of other components. There are no always winner between DATNet-P and DATNet-F on different settings. DATNet-P architecture is more suitable to cross-language transfer while DATNet-F is more suitable to cross-domain transfer. ",
|
| 827 |
+
"bbox": [
|
| 828 |
+
173,
|
| 829 |
+
319,
|
| 830 |
+
825,
|
| 831 |
+
388
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 9
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "table",
|
| 837 |
+
"img_path": "images/b008a19b7e8bd708e0846846d7a5e4727332b2f74bcb1de9f2500d1cdd018006.jpg",
|
| 838 |
+
"table_caption": [
|
| 839 |
+
"Table 7: Analysis of Maximum Perturbation $\\epsilon _ { \\mathbf { w } _ { T } }$ in AT with Varying Data Ratio $\\rho$ (F1-score). "
|
| 840 |
+
],
|
| 841 |
+
"table_footnote": [],
|
| 842 |
+
"table_body": "<table><tr><td>EwT</td><td>1.0</td><td>3.0</td><td>5.0</td><td>7.0</td><td>9.0</td></tr><tr><td>Ratio</td><td colspan=\"5\">CoNLL-2002 Spanish NER</td></tr><tr><td>p=0.1</td><td>75.90</td><td>76.23</td><td>77.38</td><td>77.77</td><td>78.13</td></tr><tr><td>p=0.2</td><td>81.54</td><td>81.65</td><td>81.32</td><td>81.81</td><td>81.68</td></tr><tr><td>p=0.4</td><td>83.62</td><td>83.83</td><td>83.43</td><td>83.99</td><td>83.40</td></tr><tr><td>p=0.6</td><td>84.44</td><td>84.47</td><td>84.72</td><td>84.04</td><td>84.05</td></tr></table>",
|
| 843 |
+
"bbox": [
|
| 844 |
+
352,
|
| 845 |
+
426,
|
| 846 |
+
643,
|
| 847 |
+
501
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 9
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "From the previous results, we know that AT helps enhance the overall performance by adding perturbations to inputs with the limit of $\\epsilon = 5$ , i.e., $\\| \\bar { \\boldsymbol { \\eta } } \\| _ { 2 } \\le 5$ . In this experiment, we further investigate how target perturbation $\\epsilon _ { \\mathbf { w } _ { T } }$ with fixed source perturbation ${ \\epsilon _ { { \\bf w } _ { S } } } = 5$ in AT affects knowledge transfer and the results on Spanish NER are summarized in Table 7. The results generally indicate that less training data require a larger $\\epsilon$ to prevent over-fitting, which further validates the necessity of AT in the case of low resource data. ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
173,
|
| 856 |
+
512,
|
| 857 |
+
825,
|
| 858 |
+
597
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 9
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "table",
|
| 864 |
+
"img_path": "images/66ce326e1f55e4e7567de0a4b932b55e1fa58c164549af21c66b846305090d8c.jpg",
|
| 865 |
+
"table_caption": [
|
| 866 |
+
"Table 8: Analysis of Discriminator Weight $\\alpha$ in GRAD with Varying Data Ratio $\\rho$ (F1-score). "
|
| 867 |
+
],
|
| 868 |
+
"table_footnote": [],
|
| 869 |
+
"table_body": "<table><tr><td>α</td><td>0.1</td><td>0.15</td><td>0.2</td><td>0.25</td><td>0.3</td><td>0.35</td><td>0.4</td><td>0.45</td><td>0.5</td><td>0.55</td><td>0.6</td><td>0.65</td><td>0.7</td><td>0.75</td><td>0.8</td></tr><tr><td>Ratio</td><td></td><td></td><td></td><td></td><td></td><td></td><td>CoNLL-2002 Spanish NER</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>p=0.1</td><td>78.37</td><td>78.63</td><td>78.70</td><td>78.32</td><td>77.96</td><td>77.92</td><td>77.88</td><td>77.78</td><td>77.85</td><td>77.90</td><td>77.65</td><td>77.57</td><td>77.38</td><td>77.49</td><td>77.29</td></tr><tr><td>p=0.2</td><td>80.99</td><td>81.71</td><td>82.18</td><td>81.57</td><td>81.53</td><td>81.55</td><td>81.44</td><td>81.25</td><td>81.32</td><td>81.16</td><td>81.02</td><td>81.16</td><td>80.63</td><td>80.79</td><td>80.54</td></tr><tr><td>p=0.4</td><td>83.76</td><td>83.73</td><td>84.18</td><td>84.48</td><td>84.26</td><td>84.12</td><td>83.54</td><td>83.40</td><td>83.52</td><td>84.18</td><td>83.42</td><td>83.47</td><td>83.28</td><td>83.33</td><td>83.19</td></tr><tr><td>p=0.6</td><td>85.18</td><td>85.24</td><td>85.85</td><td>85.68</td><td>85.84</td><td>86.10</td><td>85.71</td><td>85.74</td><td>85.42</td><td>85.60</td><td>85.20</td><td>85.40</td><td>85.26</td><td>85.24</td><td>84.98</td></tr></table>",
|
| 870 |
+
"bbox": [
|
| 871 |
+
173,
|
| 872 |
+
631,
|
| 873 |
+
830,
|
| 874 |
+
707
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 9
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "Finally, we analyze the discriminator weight $\\alpha$ in GRAD and results are summarized in Table 8. From the results, it is interesting to find that $\\alpha$ is directly proportional to the data ratio $\\rho$ , basically, which means that more target training data requires larger $\\alpha$ (i.e., smaller $1 - \\alpha$ to reduce training emphasis on the target domain) to achieve better performance. ",
|
| 881 |
+
"bbox": [
|
| 882 |
+
173,
|
| 883 |
+
720,
|
| 884 |
+
825,
|
| 885 |
+
777
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 9
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "5 CONCLUSION ",
|
| 892 |
+
"text_level": 1,
|
| 893 |
+
"bbox": [
|
| 894 |
+
176,
|
| 895 |
+
795,
|
| 896 |
+
318,
|
| 897 |
+
811
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 9
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "In this paper we develop a transfer learning model DATNet for low-resource NER, which aims at addressing two problems remained in existing work, namely representation difference and resource data imbalance. We introduce two variants of DATNet, DATNet-F and DATNet-P, which can be chosen for use according to the cross-language/domain user case and the target dataset size. To improve model generalization, we propose dual adversarial learning strategies, i.e., AT and GRAD. Extensive experiments show the superiority of DATNet over existing models and it achieves new state-of-the-art performance on CoNLL NER and WNUT NER benchmark datasets. ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
173,
|
| 906 |
+
825,
|
| 907 |
+
825,
|
| 908 |
+
924
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 9
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "REFERENCES ",
|
| 915 |
+
"text_level": 1,
|
| 916 |
+
"bbox": [
|
| 917 |
+
176,
|
| 918 |
+
102,
|
| 919 |
+
287,
|
| 920 |
+
117
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 10
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Oliver Adams, Adam Makarucha, Graham Neubig, Steven Bird, and Trevor Cohn. Cross-lingual word embeddings for low-resource language modeling. In EACL, pp. 937–947. Association for Computational Linguistics, 2017. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
176,
|
| 929 |
+
126,
|
| 930 |
+
823,
|
| 931 |
+
169
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 10
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "Gustavo Aguilar, Suraj Maharjan, Adrian Pastor Lopez Monroy, and Thamar Solorio. A multi-task ´ approach for named entity recognition in social media data. In Proceedings of the 3rd Workshop on Noisy User-generated Text, pp. 148–153, 2017. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
176,
|
| 940 |
+
179,
|
| 941 |
+
823,
|
| 942 |
+
222
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 10
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Rami Al-Rfou’, Vivek Kulkarni, Bryan Perozzi, and Steven Skiena. Polyglot-ner: Massive multilingual named entity recognition. In SDM, 2015. ",
|
| 949 |
+
"bbox": [
|
| 950 |
+
173,
|
| 951 |
+
231,
|
| 952 |
+
821,
|
| 953 |
+
261
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 10
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Dzmitry Bahdanau, KyungHyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. ",
|
| 960 |
+
"bbox": [
|
| 961 |
+
174,
|
| 962 |
+
270,
|
| 963 |
+
821,
|
| 964 |
+
299
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 10
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5:135–146, 2017. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
173,
|
| 973 |
+
309,
|
| 974 |
+
825,
|
| 975 |
+
352
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 10
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Yufeng Chen, Chengqing Zong, and Keh-Yih Su. On jointly recognizing and aligning bilingual named entities. In ACL, pp. 631–639, 2010. ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
361,
|
| 985 |
+
823,
|
| 986 |
+
392
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 10
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Jason Chiu and Eric Nichols. Named entity recognition with bidirectional lstm-cnns. Transactions of the Association for Computational Linguistics, 4:357–370, 2016. ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
173,
|
| 995 |
+
400,
|
| 996 |
+
823,
|
| 997 |
+
430
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 10
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Ronan Collobert, Jason Weston, Leon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel ´ Kuksa. Natural language processing (almost) from scratch. JMLR, pp. 2493–2537, 2011. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
171,
|
| 1006 |
+
439,
|
| 1007 |
+
823,
|
| 1008 |
+
469
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 10
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Ryan Cotterell and Kevin Duh. Low-resource named entity recognition with cross-lingual, character-level neural conditional random fields. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pp. 91–96. Asian Federation of Natural Language Processing, 2017. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
173,
|
| 1017 |
+
478,
|
| 1018 |
+
825,
|
| 1019 |
+
536
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 10
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "Meng Fang and Trevor Cohn. Model transfer for tagging low-resource languages using a bilingual dictionary. In ACL, pp. 587–593, 2017. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
173,
|
| 1028 |
+
545,
|
| 1029 |
+
823,
|
| 1030 |
+
575
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 10
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "Xiaocheng Feng, Xiachong Feng, Bing Qin, Zhangyin Feng, and Ting Liu. Improving low resource named entity recognition using cross-lingual knowledge transfer. In IJCAI, pp. 4071–4077, 2018. ",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
173,
|
| 1039 |
+
583,
|
| 1040 |
+
823,
|
| 1041 |
+
613
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 10
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Dan Gillick, Cliff Brunk, Oriol Vinyals, and Amarnag Subramanya. Multilingual language processing from bytes. In NAACL HLT, pp. 1296–1306, 2016. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
173,
|
| 1050 |
+
622,
|
| 1051 |
+
823,
|
| 1052 |
+
652
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 10
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, 2014. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
173,
|
| 1061 |
+
661,
|
| 1062 |
+
825,
|
| 1063 |
+
705
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 10
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015. ",
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
169,
|
| 1072 |
+
714,
|
| 1073 |
+
823,
|
| 1074 |
+
743
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 10
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "text",
|
| 1080 |
+
"text": "Tao Gui, Qi Zhang, Haoran Huang, Minlong Peng, and Xuanjing Huang. Part-of-speech tagging for twitter with adversarial neural networks. In EMNLP, pp. 2411–2420, 2017. ",
|
| 1081 |
+
"bbox": [
|
| 1082 |
+
173,
|
| 1083 |
+
752,
|
| 1084 |
+
823,
|
| 1085 |
+
784
|
| 1086 |
+
],
|
| 1087 |
+
"page_idx": 10
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "text",
|
| 1091 |
+
"text": "Kazuma Hashimoto, caiming xiong, Yoshimasa Tsuruoka, and Richard Socher. A joint many-task model: Growing a neural network for multiple nlp tasks. In EMNLP, pp. 1923–1933, 2017. ",
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
171,
|
| 1094 |
+
792,
|
| 1095 |
+
823,
|
| 1096 |
+
821
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 10
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 1997. ",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
174,
|
| 1105 |
+
830,
|
| 1106 |
+
807,
|
| 1107 |
+
847
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 10
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "Zhiheng Huang, Wei Xu, and Kai Yu. Bidirectional lstm-crf models for sequence tagging. CoRR, abs/1508.01991, 2015. ",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
173,
|
| 1116 |
+
856,
|
| 1117 |
+
823,
|
| 1118 |
+
886
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 10
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "Joo-Kyung Kim, Young-Bum Kim, Ruhi Sarikaya, and Eric Fosler-Lussier. Cross-lingual transfer learning for pos tagging without cross-lingual resources. In EMNLP, pp. 2832–2838, 2017. ",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
174,
|
| 1127 |
+
895,
|
| 1128 |
+
821,
|
| 1129 |
+
924
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 10
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Sang Erik F. Tjong Kim. Introduction to the conll-2002 shared task: Language-independent named entity recognition. In COLING-02: The 6th Conference on Natural Language Learning 2002 (CoNLL-2002), 2002. ",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
173,
|
| 1138 |
+
103,
|
| 1139 |
+
821,
|
| 1140 |
+
146
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 11
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Sang Erik F. Tjong Kim and Meulder Fien De. Introduction to the conll-2003 shared task: Languageindependent named entity recognition. In NAACL HLT, 2003. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
173,
|
| 1149 |
+
154,
|
| 1150 |
+
823,
|
| 1151 |
+
184
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 11
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, 2014. ",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
173,
|
| 1160 |
+
191,
|
| 1161 |
+
800,
|
| 1162 |
+
208
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 11
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "John D. Lafferty, Andrew McCallum, and Fernando C. N. Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of the Eighteenth International Conference on Machine Learning, ICML ’01, 2001. ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
174,
|
| 1171 |
+
214,
|
| 1172 |
+
821,
|
| 1173 |
+
258
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 11
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recognition. In NAACL HLT, pp. 260–270, 2016. ",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
173,
|
| 1182 |
+
266,
|
| 1183 |
+
823,
|
| 1184 |
+
296
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 11
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "Qi Li, Haibo Li, Heng Ji, Wen Wang, Jing Zheng, and Fei Huang. Joint bilingual name tagging for parallel corpora. In CIKM ’12, pp. 1727–1731, 2012. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
171,
|
| 1193 |
+
303,
|
| 1194 |
+
823,
|
| 1195 |
+
333
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 11
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Nut Limsopatham and Nigel Collier. Bidirectional lstm for named entity recognition in twitter messages. In Proceedings of the 2nd Workshop on Noisy User-generated Text (WNUT), pp. 145– 152, 2016. ",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
174,
|
| 1204 |
+
340,
|
| 1205 |
+
823,
|
| 1206 |
+
383
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 11
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "Bill Y. Lin, Frank Xu, Zhiyi Luo, and Kenny Zhu. Multi-channel bilstm-crf model for emerging named entity recognition in social media. In Proceedings of the 3rd Workshop on Noisy Usergenerated Text, pp. 160–165, 2017a. ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
174,
|
| 1215 |
+
391,
|
| 1216 |
+
823,
|
| 1217 |
+
435
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 11
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "T. Lin, P. Goyal, R. Girshick, K. He, and P. Dollar. Focal loss for dense object detection. In 2017 IEEE International Conference on Computer Vision (ICCV), 2017b. ",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
171,
|
| 1226 |
+
443,
|
| 1227 |
+
823,
|
| 1228 |
+
472
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 11
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "Ying Lin, Shengqi Yang, Veselin Stoyanov, and Heng Ji. A multi-lingual multi-task architecture for low-resource sequence labeling. In ACL, 2018. ",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
171,
|
| 1237 |
+
479,
|
| 1238 |
+
823,
|
| 1239 |
+
510
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 11
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "L. Liu, J. Shang, F. Xu, X. Ren, H. Gui, J. Peng, and J. Han. Empower sequence labeling with task-aware neural language model. In AAAI, 2018. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
171,
|
| 1248 |
+
517,
|
| 1249 |
+
823,
|
| 1250 |
+
546
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 11
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Pengfei Liu, Xipeng Qiu, and Xuanjing Huang. Adversarial multi-task learning for text classification. In ACL, 2017. ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
171,
|
| 1259 |
+
554,
|
| 1260 |
+
823,
|
| 1261 |
+
584
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 11
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "Gang Luo, Xiaojiang Huang, Chin-Yew Lin, and Zaiqing Nie. Joint entity recognition and disambiguation. In EMNLP, pp. 879–888, 2015. ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
171,
|
| 1270 |
+
592,
|
| 1271 |
+
823,
|
| 1272 |
+
622
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 11
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Minh-Thang Luong, Quoc V. Le, Ilya Sutskever, Oriol Vinyals, and Lukasz Kaiser. Multi-task sequence to sequence learning. In ICLR, 2016. ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
171,
|
| 1281 |
+
628,
|
| 1282 |
+
823,
|
| 1283 |
+
660
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 11
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf. In ACL, pp. 1064–1074, 2016. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
169,
|
| 1292 |
+
666,
|
| 1293 |
+
823,
|
| 1294 |
+
696
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 11
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. JMLR, 9:2579–2605, 2008. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
169,
|
| 1303 |
+
704,
|
| 1304 |
+
825,
|
| 1305 |
+
733
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 11
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Monica Marrero, Juli ´ an Urbano, Sonia S ´ anchez-Cuadrado, Jorge Morato, and Juan Miguel G ´ omez- ´ Berb´ıs. Named entity recognition: Fallacies, challenges and opportunities. Computer Standards & Interfaces, (5):482–489, 2013. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
174,
|
| 1314 |
+
741,
|
| 1315 |
+
825,
|
| 1316 |
+
784
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 11
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Stephen Mayhew, Chen-Tse Tsai, and Dan Roth. Cheap translation for cross-lingual named entity recognition. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2536–2545. Association for Computational Linguistics, 2017. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
174,
|
| 1325 |
+
792,
|
| 1326 |
+
823,
|
| 1327 |
+
835
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 11
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Takeru Miyato, Andrew M Dai, and Ian Goodfellow. Adversarial training methods for semisupervised text classification. In ICLR, 2017. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
173,
|
| 1336 |
+
843,
|
| 1337 |
+
820,
|
| 1338 |
+
873
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 11
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "Jian Ni and Radu Florian. Improving multilingual named entity recognition with wikipedia entity type mapping. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 1275–1284, 2016. ",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
174,
|
| 1347 |
+
882,
|
| 1348 |
+
823,
|
| 1349 |
+
924
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 11
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "Jian Ni, Georgiana Dinu, and Radu Florian. Weakly supervised cross-lingual named entity recognition via effective annotation and representation projection. In ACL, pp. 1470–1480, 2017. ",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
171,
|
| 1358 |
+
103,
|
| 1359 |
+
821,
|
| 1360 |
+
132
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 12
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. Crosslingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1946–1958. Association for Computational Linguistics, 2017. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
173,
|
| 1369 |
+
140,
|
| 1370 |
+
825,
|
| 1371 |
+
196
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 12
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "Ioannis Partalas, Cedric Lopez, Nadia Derbas, and Ruslan Kalitvianski. Learning to search for rec-´ ognizing named entities in twitter. In Proceedings of the 2nd Workshop on Noisy User-generated Text (WNUT), pp. 171–177, 2016. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
178,
|
| 1380 |
+
204,
|
| 1381 |
+
823,
|
| 1382 |
+
247
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 12
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Alexandre Passos, Vineet Kumar, and Andrew McCallum. Lexicon infused phrase embeddings for named entity resolution. arXiv preprint arXiv:1404.5367, 2014. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
173,
|
| 1391 |
+
255,
|
| 1392 |
+
823,
|
| 1393 |
+
285
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 12
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Chen Pin-Yu, Sharma Yash, Zhang Huan, Yi Jinfeng, and Cho-Jui Hsieh. Ead: Elastic-net attacks to deep neural networks via adversarial examples. In AAAI, 2018. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
173,
|
| 1402 |
+
291,
|
| 1403 |
+
823,
|
| 1404 |
+
321
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 12
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Lev Ratinov and Dan Roth. Design challenges and misconceptions in named entity recognition. In Proceedings of the Thirteenth Conference on Computational Natural Language Learning, pp. 147–155, 2009. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
174,
|
| 1413 |
+
329,
|
| 1414 |
+
823,
|
| 1415 |
+
372
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 12
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Marek Rei. Semi-supervised multitask learning for sequence labeling. In ACL, pp. 2121–2130, 2017. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
171,
|
| 1424 |
+
380,
|
| 1425 |
+
823,
|
| 1426 |
+
409
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 12
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "Marek Rei and Anders Søgaard. Zero-shot sequence labeling: Transferring knowledge from sentences to tokens. In NAACL HLT, pp. 293–302, 2018. ",
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
173,
|
| 1435 |
+
416,
|
| 1436 |
+
823,
|
| 1437 |
+
446
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 12
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Nils Reimers and Iryna Gurevych. Reporting score distributions makes a difference: Performance study of lstm-networks for sequence tagging. In EMNLP, pp. 338–348, 2017. ",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
171,
|
| 1446 |
+
454,
|
| 1447 |
+
823,
|
| 1448 |
+
483
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 12
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, pp. 1929–1958, 2014. ",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
178,
|
| 1457 |
+
491,
|
| 1458 |
+
821,
|
| 1459 |
+
534
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 12
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Dumitru Erhan Ian Goodfellow Ilya Sutskever, Joan Bruna, and Rob Fergus. Intriguing properties of neural networks. In ICLR, 2014. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
173,
|
| 1468 |
+
541,
|
| 1469 |
+
823,
|
| 1470 |
+
570
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 12
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "Pius von Daniken and Mark Cieliebak. Transfer learning and sentence level features for named ¨ entity recognition on tweets. In Proceedings of the 3rd Workshop on Noisy User-generated Text, pp. 166–171, 2017. ",
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
174,
|
| 1479 |
+
578,
|
| 1480 |
+
821,
|
| 1481 |
+
621
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 12
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "text",
|
| 1487 |
+
"text": "Zhilin Yang, Ruslan Salakhutdinov, and William W. Cohen. Multi-task cross-lingual sequence tagging from scratch. CoRR, abs/1603.06270, 2016. ",
|
| 1488 |
+
"bbox": [
|
| 1489 |
+
169,
|
| 1490 |
+
628,
|
| 1491 |
+
823,
|
| 1492 |
+
659
|
| 1493 |
+
],
|
| 1494 |
+
"page_idx": 12
|
| 1495 |
+
},
|
| 1496 |
+
{
|
| 1497 |
+
"type": "text",
|
| 1498 |
+
"text": "Zhilin Yang, Ruslan Salakhutdinov, and William W. Cohen. Transfer learning for sequence tagging with hierarchical recurrent networks. In ICLR, 2017. ",
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
169,
|
| 1501 |
+
666,
|
| 1502 |
+
823,
|
| 1503 |
+
695
|
| 1504 |
+
],
|
| 1505 |
+
"page_idx": 12
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"type": "text",
|
| 1509 |
+
"text": "David Yarowsky, Grace Ngai, and Richard Wicentowski. Inducing multilingual text analysis tools via robust projection across aligned corpora. In Proceedings of the first international conference on Human language technology research, pp. 1–8, 2001. ",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
174,
|
| 1512 |
+
703,
|
| 1513 |
+
823,
|
| 1514 |
+
747
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 12
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "Michihiro Yasunaga, Jungo Kasai, and Dragomir Radev. Robust multilingual part-of-speech tagging via adversarial training. In NAACL HLT, pp. 976–986, 2018. ",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
169,
|
| 1523 |
+
753,
|
| 1524 |
+
823,
|
| 1525 |
+
784
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 12
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "Daniel et al. Zeman. Conll 2017 shared task: Multilingual parsing from raw text to universal dependencies. In Proceedings of the CoNLL 2017 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies, pp. 1–19, 2017. ",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
174,
|
| 1534 |
+
791,
|
| 1535 |
+
823,
|
| 1536 |
+
834
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 12
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "Boliang Zhang, Xiaoman Pan, Tianlu Wang, Ashish Vaswani, Heng Ji, Kevin Knight, and Daniel Marcu. Name tagging for low-resource incident languages based on expectation-driven learning. In NAACL HLT, pp. 249–259, 2016. ",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
173,
|
| 1545 |
+
842,
|
| 1546 |
+
823,
|
| 1547 |
+
885
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 12
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "text",
|
| 1553 |
+
"text": "Andrej Zukov Gregoric, Yoram Bachrach, and Sam Coope. Named entity recognition with parallel recurrent neural networks. In ACL, pp. 69–74, 2018. ",
|
| 1554 |
+
"bbox": [
|
| 1555 |
+
169,
|
| 1556 |
+
892,
|
| 1557 |
+
823,
|
| 1558 |
+
921
|
| 1559 |
+
],
|
| 1560 |
+
"page_idx": 12
|
| 1561 |
+
}
|
| 1562 |
+
]
|
parse/train/HkGzUjR5tQ/HkGzUjR5tQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkGzUjR5tQ/HkGzUjR5tQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H.md
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SUCCINCT NETWORK CHANNEL AND SPATIAL PRUNING VIA DISCRETE VARIABLE QCQP
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Reducing the heavy computational cost of large convolutional neural networks is crucial when deploying the networks to resource-constrained environments. In this context, recent works propose channel pruning via greedy channel selection to achieve practical acceleration and memory footprint reduction. We first show this channel-wise approach ignores the inherent quadratic coupling between channels in the neighboring layers and cannot safely remove inactive weights during the pruning procedure. Furthermore, we show that these pruning methods cannot guarantee the given resource constraints are satisfied and cause discrepancy with the true objective. To this end, we formulate a principled optimization framework with discrete variable QCQP, which provably prevents any inactive weights and enables the exact guarantee of meeting the resource constraints in terms of FLOPs and memory. Also, we extend the pruning granularity beyond channels and jointly prune individual 2D convolution filters spatially for greater efficiency. Our experiments show competitive pruning results under the target resource constraints on CIFAR-10 and ImageNet datasets on various network architectures.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep neural networks are the bedrock of artificial intelligence tasks such as object detection, speech recognition, and natural language processing (Redmon & Farhadi, 2018; Chorowski et al., 2015; Devlin et al., 2019). While modern networks have hundreds of millions to billions of parameters to train, it has been recently shown that these parameters are highly redundant and can be pruned without significant loss in accuracy (Han et al., 2015; Guo et al., 2016). This discovery has led practitioners to desire training and running the models on resource-constrained mobile devices, provoking a large body of research on network pruning.
|
| 12 |
+
|
| 13 |
+
Unstructured pruning, however, does not directly lead to any practical acceleration or memory footprint reduction due to poor data locality (Wen et al., 2016), and this motivated research on structured pruning to achieve practical usage under limited resource budgets. To this end, a line of research on channel pruning considers completely pruning the convolution filters along the input and output channel dimensions, where the resulting pruned model becomes a smaller dense network suited for practical acceleration and memory footprint reduction (Li et al., 2017; Luo et al., 2017; He et al., 2019; Wen et al., 2016; He et al., 2018a).
|
| 14 |
+
|
| 15 |
+
However, existing channel pruning methods perform the pruning operations with a greedy approach and does not consider the inherent quadratic coupling between channels in the neighboring layers. Although these methods are easy to model and optimize, they cannot safely remove inactive weights during the pruning procedure, suffer from discrepancies with the true objective, and prohibit the strict satisfaction of the required resource constraints during the pruning process.
|
| 16 |
+
|
| 17 |
+
The ability to specify hard target resource constraints into the pruning optimization process is important since this allows the user to run the pruning and optional finetuning process only once. When the pruning process ignores the target specifications, the users may need to apply multiple rounds of pruning and finetuning until the specifications are eventually met, resulting in an extra computation overhead (Han et al., 2015; He et al., 2018a; Liu et al., 2017).
|
| 18 |
+
|
| 19 |
+
In this paper, we formulate a principled optimization problem that prunes the network layer channels while respecting the quadratic coupling and exactly satisfying the user-specified FLOPs and memory constraints. This new formulation leads to an interesting discrete variable QCQP (Quadratic Constrained Quadratic Program) optimization problem, which directly maximizes the importance of neurons in the pruned network under the specified resource constraints. Also, we increase the pruning granularity beyond channels and jointly prune individual 2D convolution filters spatially for greater efficiency. Furthermore, we generalize our formulation to cover nonsequential convolution operations, such as skip connections, and propose a principled optimization framework for handling various architectural implementations of skip connections in ResNet (He et al., 2016). Our experiments on CIFAR-10 and ImageNet datasets show the state of the art results compared to other channel pruning methods that start from pretrained networks.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Illustration of a channel pruning procedure that leads to inactive weights. When $j$ -th output channel of $l$ -th convolution weights $W _ { \cdot , j } ^ { ( \bar { l } ) }$ is pruned, i.e. $W _ { \cdot , j } ^ { ( l ) } = 0 _ { C _ { l - 1 } , K _ { l } , K _ { l } }$ , then the $j$ -th feature map of l-th layer X (l)j should also be 0. Consequently, $X _ { j } ^ { ( l ) }$ yields inactive weights $W _ { j } ^ { ( l + 1 ) }$ . Note that we use W (l)·,j to denote the tensor $W _ { \cdot , j , \cdot , \cdot } ^ { ( l ) } .$ , following the indexing rules of NumPy (Van Der Walt et al., 2011).
|
| 23 |
+
|
| 24 |
+
# 2 MOTIVATION
|
| 25 |
+
|
| 26 |
+
In this section, we first discuss the motivation of our method concretely. Suppose the weights in a sequential CNN form a sequence of 4-D tensors, $W ^ { ( l ) } \in \mathbb { R } ^ { C _ { l - 1 } \times C _ { l } \times K _ { l } \times K _ { l } } \forall \bar { l } \in [ L ]$ where $C _ { l - 1 } , C _ { l }$ , and $K _ { l }$ represent the number of input channels, the number of output channels, and the filter size of $l$ -th convolution weight tensor, respectively. We denote the feature map after $l$ -th convolution as $X ^ { ( l ) } \in \mathbb { R } ^ { C _ { l } \times H _ { l } \times W _ { l } }$ . Con, ncretely, denotes $X _ { j } ^ { ( \bar { l } ) } = \sigma ( X _ { \cdot } ^ { ( l - 1 ) } \odot W _ { \cdot , j } ^ { ( l ) } ) = \sigma ( \sum _ { i = 1 } ^ { C _ { l - 1 } } \bar { X } _ { i \ \cdot } ^ { ( l - 1 ) } * W _ { i , j } ^ { ( l ) } )$ , where hannel- $\sigma$ isse $^ *$ $\odot$
|
| 27 |
+
2-D convolutions. Now consider pruning these weights in channel-wise direction. We show that naive channel-wise pruning methods prevent exact specification of the target resource constraints due to unpruned inactive weights and deviate away from the true objective by ignoring quadratic coupling between channels in the neighboring layers.
|
| 28 |
+
|
| 29 |
+
# 2.1 INACTIVE WEIGHTS
|
| 30 |
+
|
| 31 |
+
According to Han et al. (2015), network pruning produces dead neurons with zero input or output connections. These dead neurons cause inactive weights1, which do not affect the final output activations of the pruned network. These inactive weights may not be excluded automatically through the standard pruning procedure and require additional post-processing which relies on ad-hoc heuristics. For example, Figure 1 shows a standard channel pruning procedure that deletes weights across the output channel direction but fails to prune the inactive weights. Concretely, deletion of j el of l-th convolution layer leads to W (l)·,j weights on becomes a -th output channead neuron since $W _ { \cdot , j } ^ { ( l ) } = 0 _ { C _ { l - 1 } , K _ { l } , K _ { l } }$ $X _ { j } ^ { ( l ) }$ $\begin{array} { r } { \boldsymbol { X } _ { j } ^ { ( l ) } = \sigma ( \boldsymbol { X } ^ { ( l - 1 ) } \odot \boldsymbol { W } _ { \cdot , j } ^ { ( l ) } ) = \sigma ( \sum _ { i = 1 } ^ { { C } _ { l - 1 } } \boldsymbol { X } _ { i } ^ { ( l - 1 ) } * \boldsymbol { W } _ { i , j } ^ { ( l ) } ) = \boldsymbol { 0 } _ { C _ { l } , H _ { l } , W _ { l } } . } \end{array}$
|
| 32 |
+
|
| 33 |
+
The convolution operation on the dead neuron results in a trivially zero output, as below:
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
X _ { p } ^ { ( l + 1 ) } = \sigma \left( \sum _ { i = 1 } ^ { C _ { l } } X _ { i } ^ { ( l ) } * W _ { i , p } ^ { ( l + 1 ) } \right) = \sigma \left( \sum _ { i = 1 } ^ { C _ { l } } \mathbb { 1 } _ { i \neq j } X _ { i } ^ { ( l ) } * W _ { i , p } ^ { ( l + 1 ) } + \underbrace { X _ { j } ^ { ( l ) } * \underbrace { W _ { j , p } ^ { ( l + 1 ) } } _ { \mathrm { d e a d } } } _ { = \mathbb { 0 } _ { H _ { l + 1 } , W _ { l + 1 } } } \right) .
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
Equation (1) shows that the dead neuron X(l)j causes weights W (l+1)j,p , $W _ { j , p } ^ { ( l + 1 ) } , \forall p \in [ C _ { l + 1 } ]$ to be inactive. Such inactive weights do not account for the actual resource usage, even when they remain in the pruned network, which prevents the exact modeling of the user-specified hard resource constraints (FLOPs and network size). Furthermore, inactive weights unpruned during the pruning procedure are a bigger problem for nonsequential convolutional networks due to their skip connections. To address this problem, we introduce a quadratic optimization-based algorithm that provably eliminates all the inactive weights during the pruning procedure.
|
| 40 |
+
|
| 41 |
+
# 2.2 QUADRATIC COUPLING
|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
Figure 2: A comparison of the greedy channel pruning method and our pruning method. Parallelograms represent feature maps and squares represent 2-D filters of convolution weights. Gray squares are filters which account for the objective. The numbers on each squares represent the absolute sum of weights in the filter.
|
| 45 |
+
|
| 46 |
+
Existing channel pruning methods remove channels according to their importance. However, measuring a channel’s contribution to the network should also take into account the channels in the neighboring layers, as illustrated in Figure 2. In the example, we define the importance of a channel as the absolute sum of weights in the channel, as in Li et al. (2017), and assume the objective is to maximize the absolute sum of weights in the whole pruned network, excluding the inactive weights. We compare two different channel pruning methods: (a) a standard channel pruning method that greedily prunes each channel independently, and (b) our pruning method that considers the effect of the channels in neighboring layers when pruning. As a result of running each pruning algorithms, (a) will prune the second output channel of the first convolution and the third output channel of the second convolution, and (b) will prune the first output channel of the first convolution, the third output channel of the second convolution, and the first input channel of the second convolution. The objective values for each pruned networks are (a) 18 and (b) 21, respectively.
|
| 47 |
+
|
| 48 |
+
This shows that the coupling effect of the channels in neighboring layers directly affects the objective values, and finally results in a performance gap between (a) and (b). We call this coupling relationship as the quadratic coupling between the neighboring layers and formulate the contributions to the objective by quadratic terms of neighboring channel activations. To address this quadratic coupling, we propose a channel pruning method based on the QCQP framework with importance evaluation respecting both the input and the output channels.
|
| 49 |
+
|
| 50 |
+
# 3 METHOD
|
| 51 |
+
|
| 52 |
+
In this section, we first propose our discrete QCQP formulation of channel pruning for the sequential convolutional neural networks (CNNs). Then, we present an extended version of our formulation for joint channel and shape pruning of 2D convolution filters. The generalization to the nonsequential convolution (skip addition and skip concatenation) is introduced in Supplementary material A.
|
| 53 |
+
|
| 54 |
+
To capture the importance of weights in $W ^ { ( l ) }$ , we define the importance tensor as $I ^ { ( l ) } \in \Sigma ^ { }$ $\mathbb { R } _ { + } ^ { C _ { l - 1 } \times C _ { l } \times K _ { l } \times K _ { l } }$ . Following the protocol of Han et al. (2015); Guo et al. (2016), we set $I ^ { ( i ) } = \gamma _ { l } | W ^ { ( l ) } |$ where $\gamma _ { l }$ is the $\ell _ { 2 }$ normalizing factor in $l$ -th layer or $\lVert \mathrm { v e c } ( W ^ { ( l ) } ) \rVert ^ { - 1 }$ . Then, we define the binary pruning mask as $A ^ { ( l ) } \in \{ 0 , 1 \} ^ { C _ { l - 1 } \times C _ { l } \times K _ { l } \times K _ { l } }$ . For channel pruning in sequential CNNs, we define channel activation $r ^ { ( l ) } \in \{ 0 , 1 \} ^ { C _ { l } }$ to indicate which indices of channels remain in the $l$ -th layer of the pruned network. Then, the weights in $W _ { i , j } ^ { ( l ) }$ are active if and only if $r _ { i } ^ { ( l - 1 ) } r _ { j } ^ { ( l ) } = 1$ , which leads to A(l)i,j $A _ { i , j } ^ { ( l ) } = r _ { i } ^ { ( l - 1 ) } r _ { j } ^ { ( l ) } J _ { K _ { l } }$ . For example, in Figure 2b, $\boldsymbol { r } ^ { ( l - 1 ) } = [ 1 , 1 , 1 ] ^ { \intercal }$ , $r ^ { ( l ) } = [ 0 , 1 ] ^ { \intercal }$ and $\boldsymbol { r } ^ { ( l + 1 ) } = [ 1 , 1 , 0 ] ^ { \intercal }$ , therefore, $A ^ { ( l ) } = \binom { 0 } { 0 } 1 \Biggr ] \otimes J _ { K _ { l } }$ and $A ^ { ( l + 1 ) } = { \binom { 0 } { 1 } } ^ { 0 } \quad 0 \quad 0 ] \otimes J _ { K _ { l + 1 } } .$
|
| 55 |
+
|
| 56 |
+
We wish to directly maximize the sum of the importance of active weights after the pruning procedure under given resource constraints $: 1$ ) FLOPs, 2) memory, and 3) network size. Concretely, our optimization problem is 2
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\begin{array} { l } { \displaystyle \operatorname* { m a x i m i z e } _ { r ^ { ( 0 : L ) } } \ \sum _ { l = 1 } ^ { L } \left. I ^ { ( l ) } , A ^ { ( l ) } \right. } \\ { \mathrm { s u b j e c t \ t o } \ \displaystyle \sum _ { l = 0 } ^ { L } a _ { l } \left\| r ^ { ( l ) } \right\| _ { 1 } + \displaystyle \sum _ { l = 1 } ^ { L } b _ { l } \left\| A ^ { ( l ) } \right\| _ { 1 } \leq M } \\ { \displaystyle A ^ { ( l ) } = r ^ { ( l - 1 ) } r ^ { ( l ) \top } \otimes J _ { K _ { l } } \quad \forall l \in [ L ] } \\ { \displaystyle r ^ { ( l ) } \in \{ 0 , 1 \} ^ { C _ { l } } . } \end{array}
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
In our formulation, the actual resource usage of the pruned network is exactly computed by specifying the number of channels in the pruned network $( = \bar { \Vert _ { r } ( l ) _ { \Vert _ { 1 } } } )$ and the pruning mask sparsity $\dot { ( } = \| A ^ { ( \dot { l } ) } \| _ { 1 } \dot { ) }$ in each layer. Concretely, the left hand side of the inequality in the first constraint in Equation (2) indicates the actual resource usage. Table 1 shows $a _ { l } , b _ { l }$ terms used for computing usage of each resource. Note that this optimization problem is a discrete nonconvex QCQP of the channel activations $[ r ^ { ( 0 ) } , \dots , r ^ { ( L ) } ]$ , where the objective, which is the same with the objective in Section 2.2, respects the quadratic coupling of channel activations $( = r ^ { ( l ) } )$ . Please refer to Supplementary material E for the details on the standard QCQP form of Equation (2).
|
| 63 |
+
|
| 64 |
+
# 3.2 FORMULATION OF JOINT CHANNEL AND SPATIAL PRUNING
|
| 65 |
+
|
| 66 |
+
For further efficiency, we increase the pruning granularity to additionally perform spatial pruning in 2-D convolution filters. Concretely, we prune by each weight vector across the input channel direction instead of each channel to perform channel and spatial pruning processes simultaneously.
|
| 67 |
+
|
| 68 |
+
<table><tr><td>Resource constraint (M)</td><td>a</td><td>b</td></tr><tr><td>Network size</td><td>0</td><td>1</td></tr><tr><td>Memory</td><td>HW</td><td>1</td></tr><tr><td>FLOPs</td><td>0</td><td>HWt</td></tr></table>
|
| 69 |
+
|
| 70 |
+
First, we define the shape column W (l)·,j,a by
|
| 71 |
+
|
| 72 |
+
Table 1: Resource constraints and the corresponding $a _ { l } , b _ { l }$ values.
|
| 73 |
+
|
| 74 |
+
the vector of weights at spatial position $( a , b )$ of a 2-D convolution filter along the $j$ -th output channel dimension. Then, we define shape column activation $q ^ { ( l ) } \in \{ 0 , 1 \} ^ { C _ { l } \times K _ { l } \times K _ { l } }$ to indicate which shape columns in the $l$ -th convolution layer remain in the pruned network. Figure 3 shows the illustration of each variables.
|
| 75 |
+
|
| 76 |
+
Note that this definition induces constraints on the channel activation variables. In detail, the $j$ -th output channel activation in $l$ -th layer is set if and only if at least one shape column activation in the $j$ -th output channel is set. Concretely, the new formulation should include the constraints $\begin{array} { r } { r _ { j } ^ { ( l ) } \le \sum _ { a , b } q _ { j , a , b } ^ { ( l ) } } \end{array}$ and $q _ { j , a , b } ^ { ( l ) } \leq r _ { j } ^ { ( l ) } \forall a , b$ .
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 3: Input channel activation $\left( = r ^ { ( l - 1 ) } \right)$ , shape column activation $\left( = q ^ { \left( l \right) } \right)$ , and the corresponding mask $\left( = A ^ { ( l ) } \right)$ for $l$ -th convolution layer, where $A ^ { ( l ) } = r ^ { ( l - 1 ) } \otimes q ^ { ( l ) }$ .
|
| 80 |
+
|
| 81 |
+
We now reformulate the optimization problem to include the shape column activation variables. Again, we aim to maximize the sum of the importance of active weights after pruning under the given resource constraints. Then, our optimization problem for simultaneous channel and spatial pruning is
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\begin{array} { l } { \displaystyle \underset { r ^ { ( s , L ) } , q ^ { ( 1 ; L ) } } { \mathrm { m a x i m i z e } } \ ~ \sum _ { l = 1 } ^ { L } \left. I ^ { ( l ) } , A ^ { ( l ) } \right. } \\ { \mathrm { s u b j e c t ~ t o } \ \displaystyle \sum _ { l = 0 } ^ { L } a _ { l } \left\| r ^ { ( l ) } \right\| _ { 1 } + \displaystyle \sum _ { l = 1 } ^ { L } b _ { l } \left\| A ^ { ( l ) } \right\| _ { 1 } \leq M } \\ { \displaystyle r _ { j } ^ { ( l ) } \leq \sum _ { a , b } q _ { j , a , b } ^ { ( l ) } \quad \mathrm { a n d } \quad q _ { j , a , b } ^ { ( l ) } \leq r _ { j } ^ { ( l ) } \quad \forall l , j , a , b } \\ { \displaystyle A ^ { ( l ) } = r ^ { ( l - 1 ) } \otimes q ^ { ( l ) } \quad \forall l } \\ { \displaystyle r ^ { ( l ) } \in \{ 0 , 1 \} ^ { C } \ a \mathrm { n d } \ q ^ { ( l ) } \in \{ 0 , 1 \} ^ { C } \times K _ { l } \times K _ { l } \quad \forall l \in [ L ] . } \end{array}
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
We note that this optimization problem is also a discrete nonconvex QCQP. The details on the standard QCQP form of Equation (3) is provided in Supplementary material E. Furthermore, Proposition 1 below shows that the constraints in Equation (2) and Equation (3) provably eliminate any unpruned inactive weights and accurately model the resource usage as well as the objective of the pruned network. Also, Proposition 1 can be generalized to nonsequential networks with skip addition. The generalization and the proofs are given in Supplementary material D.
|
| 88 |
+
|
| 89 |
+
Proposition 1. Optimizing over the input and output channel activation variables ${ r ^ { ( 0 : L ) } }$ and shape column activation variables $q ^ { ( 1 : L ) }$ under the constraints in Equation (3) provably removes any inactive weights in the pruned network, guaranteeing exact computation of 1) resource usage and 2) the sum of the importance of active weights in the pruned network.
|
| 90 |
+
|
| 91 |
+
# 3.3 OPTIMIZATION
|
| 92 |
+
|
| 93 |
+
Concretely, Equation (2) and Equation (3) fall into the category of binary Mixed Integer Quadratic Constraint Quadratic Programming (MIQCQP). We solve these discrete QCQP problems with the CPLEX library (INC, 1993), which provides MIQCQP solvers based on the branch and cut technique. However, the branch and cut algorithm can lead to exponential search time (Mitchell, 2002) on large problems. Therefore, we provide a practical alternative utilizing a block coordinate descent style optimization method in Supplementary material B.
|
| 94 |
+
|
| 95 |
+
# 4 RELATED WORKS
|
| 96 |
+
|
| 97 |
+
Importance of channels Most of the channel pruning methods prune away the least important channels with a simple greedy approach, and the evaluation method for the importance of channels has been the main research problem (Molchanov et al., 2017; 2019; Liu et al., 2019). Channel pruning is divided into two major branches according to the method of evaluating the importance of channels: the trainable-importance method, which evaluates the importance of channels while training the whole network from scratch, and the fixed-importance method, which directly evaluates the importance of channels on the pretrained network. Trainable-importance channel pruning methods include the regularizer-based methods with group sparsity regularizers (Wen et al., 2016; Alvarez & Salzmann, 2016; Yang et al., 2019; Liu et al., 2017; Louizos et al., 2018; Liu et al., 2017; Gordon et al., 2018) and data-driven channel pruning methods (Kang & Han, 2020; You et al., 2019). Fixedimportance channel pruning methods first prune away most of the weights and then finetune the significantly smaller pruned network (Molchanov et al., 2017; 2019; Hu et al., 2016; He et al., 2018a; Li et al., 2017; He et al., 2019; Luo et al., 2017). As a result, fixed-importance methods are much more efficient than the trainable-importance channel pruning methods in terms of computational cost and memory as trainable-importance methods have to train the whole unpruned network. Our framework is on the line of fixed-importance channel pruning works.
|
| 98 |
+
|
| 99 |
+
Predefined target structure and Automatic target structure Layer-wise channel pruning methods (Li et al., 2017; He et al., 2019), which perform pruning operations per each layer independently, require users to predefine the target pruned structure. Also, LCCL(Dong et al., 2017) exploits a predefined low-cost network to improve inference time. Another line of research finds the appropriate target structure automatically (He et al., 2018b; Yang et al., 2018; Liu et al., 2019; Molchanov et al., 2017). Our method also finds the target structure automatically under the explicit target resource constraints.
|
| 100 |
+
|
| 101 |
+
Dynamic pruning and static pruning Dynamic pruning has a different network structure depending on the input during inference time, while static pruning has a fixed network structure during inference time. CGNet (Hua et al., 2019) dynamically identifies unnecessary features to reduce the computation, and FBS (Gao et al., 2019) dynamically skip computations on the unimportant channels. Our framework is static pruning and has a fixed network structure during inference time.
|
| 102 |
+
|
| 103 |
+
Quadratic coupling CCP (Peng et al., 2019) formulates a QP (quadratic formulation) to consider the quadratic coupling between channels in the same layer under layer-wise constraints on the maximum number of channels. On the other hand, our formulation considers the quadratic coupling between channels in the neighboring layers under the target resource constraints.
|
| 104 |
+
|
| 105 |
+
Channel pruning in nonsequential blocks Many network architectures contain nonsequential convolution operations, such as skip addition (He et al., 2016; Sandler et al., 2018; Tan & Le, 2019) and skip concatenation (Huang et al., 2017). Since these network architectures outperform sequential network architectures, pruning a network with nonsequential convolution operations is crucial. However, most channel pruning methods (Liu et al., 2017; He et al., 2018a; 2019; Molchanov et al., 2017; 2019) do not consider the nonsequential convolution operations and use the same method from the sequential network architecture. However, channel pruning methods ignorant of nonsequential convolution operations may result in the misalignment of feature maps connected by skip connections (You et al., 2019). GBN (You et al., 2019) forces parameters connected by a nonsequential convolution operation to share the same pruning pattern to solve this misalignment problem. In contrast, our formulation does not require strict pattern sharing. This flexibility allows for our methods to delete more channels under given constraints.
|
| 106 |
+
|
| 107 |
+
Spatial pruning of convolution filters Spatial pruning methods aim to prune convolution filters along the channel dimension for inference efficiency. Spatial pruning methods manually define the spatial patterns of filters (Lebedev & Lempitsky, 2016; Anwar et al., 2017) or optimize spatial patterns of filters with group sparse regularizers (Wen et al., 2016; Lebedev & Lempitsky, 2016). Among these works, Lebedev & Lempitsky (2016) empirically demonstrates that enforcing sparse spatial patterns in 2-D filters along the input channel leads to great speed-up during inference time using group sparse convolution operations (Chellapilla et al., 2006). Our proposed method enforces the spatial patterns in 2-D filters as in Lebedev & Lempitsky (2016) for speed-up in inference.
|
| 108 |
+
|
| 109 |
+
# 5 EXPERIMENTS
|
| 110 |
+
|
| 111 |
+
We compare the classification accuracy of the pruned network against several pruning baselines on CIFAR-10 (Krizhevsky et al., 2009) and ImageNet (Russakovsky et al., 2015) datasets using various ResNet architectures (He et al., 2016), DenseNet-40 (Huang et al., 2017), and VGG-16 (Simonyan & Zisserman, 2015). Note that most pruning baselines apply an iterative pruning procedure, which repeatedly alternates between network pruning and finetuning until the target resource constraints are satisfied (Han et al., 2015; He et al., 2018a; Liu et al., 2017; Yang et al., 2018). In contrast, since our methods explicitly include the target resource constraint to the optimization framework, we only need one round of pruning and finetuning.
|
| 112 |
+
|
| 113 |
+
# 5.1 EXPERIMENTAL SETTINGS
|
| 114 |
+
|
| 115 |
+
We follow the ‘smaller-norm-less-important’ criterion (Ye et al., 2018; Liu et al., 2017), which evaluates the importance of weights as the absolute value of weight (Han et al., 2015; Guo et al., 2016). We assume the network size and FLOPs reduction are linearly proportional to the sparsity in shape column activations, as empirically shown in Lebedev & Lempitsky (2016). Also, we ignore the extra memory overhead for storing the shape column activations due to its negligible size compared to the total network size. In the experiment tables, FLOPs and the network size of the pruned network are computed according to the resource specifications in Equations (2) and (3). Also, ‘Pruning ratio’ in the tables denotes the ratio of pruned weights among the total weights in baseline networks. ‘ours-c’ and ‘ours-cs’ in the tables denote our method with channel pruning and our method with both the channel and spatial pruning, respectively.
|
| 116 |
+
|
| 117 |
+
Table 2: Pruned accuracy and accuracy drop from the baseline network at given FLOPs (left) and pruning ratios (right) on various network architectures (ResNet-20,32,56 and DenseNet-40) at CIFAR-10.
|
| 118 |
+
|
| 119 |
+
<table><tr><td rowspan="2"></td><td rowspan="2">Method</td><td rowspan="2">Baseline acc</td><td colspan="3">FLOPs</td></tr><tr><td>Pruned acc↑</td><td>Acc drop↓</td><td>FLOPs(%)↓</td></tr><tr><td rowspan="9">ResNet-20</td><td>FPGM (He et al.,2019)</td><td>92.21 (0.18)</td><td>91.26 (0.24)</td><td>0.95</td><td>46.0</td></tr><tr><td>ours-c</td><td>92.21 (0.18)</td><td>90.96 (0.15)</td><td>1.25</td><td>46.0</td></tr><tr><td>ours-cs</td><td>92.21 (0.18)</td><td>91.70 (0.18)</td><td>0.51</td><td>46.0</td></tr><tr><td>LCCL (Dong et al.,2017)</td><td>92.74</td><td>91.68</td><td>1.06</td><td>62.1</td></tr><tr><td>SFP (He et al.,2018a)</td><td>92.20 (0.18)</td><td>90.83 (0.31)</td><td>1.37</td><td>57.8</td></tr><tr><td>FPGM (He et al.,2019)</td><td>92.21 (0.18)</td><td>91.72 (0.20)</td><td>0.49</td><td>57.8</td></tr><tr><td>ours-c</td><td>92.21 (0.18)</td><td>91.74 (0.20)</td><td>0.47</td><td>58.3</td></tr><tr><td>ours-cs</td><td>92.21 (0.18)</td><td>92.26 (0.10)</td><td>-0.05</td><td>57.8</td></tr><tr><td>FPGM(He et al.,2019)</td><td>92.88 (0.86)</td><td>91.96 (0.76)</td><td>0.92</td><td>46.8</td></tr><tr><td rowspan="9">ResNet-32</td><td>ours-c</td><td>92.88 (0.86)</td><td>91.98 (0.42)</td><td>0.90</td><td>46.8</td></tr><tr><td>ours-cs</td><td>92.88 (0.86)</td><td>92.33 (0.41)</td><td>0.55</td><td>47.0</td></tr><tr><td>LCCL (Dong et al.,2017)</td><td>92.33</td><td>90.74</td><td>1.59</td><td>69.0</td></tr><tr><td>SFP (He et al.,2018a)</td><td>92.63 (0.70)</td><td>92.08 (0.08)</td><td>0.55</td><td>58.5</td></tr><tr><td>FPGM (He et al.,2019)</td><td>92.88 (0.86)</td><td>92.51 (0.90)</td><td>0.37</td><td>58.5</td></tr><tr><td>ours-c</td><td>92.88 (0.86)</td><td>92.52 (0.46)</td><td>0.36</td><td>57.2</td></tr><tr><td>ours-cs</td><td>92.88 (0.86)</td><td>92.80 (0.61)</td><td>0.08</td><td>57.9</td></tr><tr><td>SFP (He et al.,2018a)</td><td>93.59 (0.58)</td><td>92.26 (0.31)</td><td>1.33</td><td>47.5</td></tr><tr><td>FPGM (He et al.,2019)</td><td>93.59 (0.58)</td><td>93.49 (0.13)</td><td>0.10</td><td>47.5</td></tr><tr><td rowspan="8"></td><td></td><td>93.50</td><td>93.42</td><td>0.08</td><td>47.4</td></tr><tr><td>CCP (Peng et al.,2019)</td><td>92.8</td><td>91.9</td><td></td><td></td></tr><tr><td>AMC (He et al.,2018b)</td><td></td><td></td><td>0.9</td><td>50.0</td></tr><tr><td>SCP(Kang & Han,2020)</td><td>93.69</td><td>93.23</td><td>0.46</td><td>48.5</td></tr><tr><td>ours-c</td><td>93.59 (0.58)</td><td>93.36 (0.68)</td><td>0.23</td><td>47.4</td></tr><tr><td>ours-cs</td><td>93.59 (0.58)</td><td>93.59 (0.36)</td><td>0.00</td><td>47.4</td></tr><tr><td>SCP(Kang& Han,2020)</td><td>94.39</td><td>93.77</td><td>0.62</td><td>29.2</td></tr><tr><td>ours-c</td><td>95.01</td><td>93.80</td><td>1.21</td><td>29.2</td></tr><tr><td rowspan="8"></td><td>ours-cs</td><td>95.01</td><td>94.25</td><td>0.76</td><td>29.2</td></tr><tr><td>slimming (Liu et al.,2017)</td><td>93.89</td><td>94.35</td><td>-0.46</td><td>45.0</td></tr><tr><td>ours-c</td><td>95.01</td><td>94.38</td><td>0.63</td><td>45.0</td></tr><tr><td>ours-cs</td><td>95.01</td><td>94.85</td><td>0.16</td><td>45.0</td></tr><tr><td>slimming (Liu et al.,2017)</td><td>93.89</td><td>94.81</td><td>-0.92</td><td>71.6</td></tr><tr><td>ours-c</td><td></td><td>94.82</td><td>0.19</td><td>71.0</td></tr><tr><td></td><td>95.01</td><td></td><td></td><td></td></tr><tr><td>ours-cs</td><td>95.01</td><td>95.02</td><td>-0.01</td><td>71.0</td></tr></table>
|
| 120 |
+
|
| 121 |
+
<table><tr><td colspan="3">Network size</td></tr><tr><td>Pruned acc↑</td><td>Acc drop↓</td><td>Pruning ratio(%)↑</td></tr><tr><td>91.26 (0.24)</td><td>0.95</td><td>54.0</td></tr><tr><td>91.26 (0.18)</td><td>0.95</td><td>54.1</td></tr><tr><td>92.02 (0.10)</td><td>0.19</td><td>54.0</td></tr><tr><td>91.68</td><td>1.06</td><td>33.1</td></tr><tr><td>90.83 (0.31)</td><td>1.37</td><td>42.2</td></tr><tr><td>91.72 (0.20)</td><td>0.49</td><td>42.2</td></tr><tr><td>92.27 (0.17).</td><td>-0.06</td><td>42.3</td></tr><tr><td>92.35 (0.10)</td><td>-0.14</td><td>42.2</td></tr><tr><td>91.96 (0.76)</td><td>0.92</td><td>53.2</td></tr><tr><td>92.22 (1.02)</td><td>0.66</td><td>53.2</td></tr><tr><td>92.78 (0.97)</td><td>0.10</td><td>53.2</td></tr><tr><td>90.74</td><td>1.59</td><td>37.5</td></tr><tr><td>92.08 (0.08)</td><td>0.55</td><td>41.5</td></tr><tr><td>92.51 (0.90)</td><td>0.37</td><td>41.5</td></tr><tr><td>92.42 (0.77)</td><td>0.46</td><td>42.7</td></tr><tr><td>92.83 (0.83)</td><td>0.05</td><td>42.7</td></tr><tr><td>92.26 (0.31)</td><td>1.33</td><td>52.6</td></tr><tr><td>93.49 (0.13)</td><td>0.10</td><td>52.6</td></tr><tr><td>=</td><td>-</td><td>-</td></tr><tr><td></td><td>=</td><td>=</td></tr><tr><td>93.23</td><td>0.46</td><td>51.5</td></tr><tr><td>93.37 (0.96)</td><td>0.22</td><td>52.7</td></tr><tr><td>93.69 (0.69)</td><td>-0.10</td><td>52.6</td></tr><tr><td></td><td></td><td>-</td></tr><tr><td></td><td></td><td>=</td></tr><tr><td></td><td>=</td><td>=</td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></table>
|
| 122 |
+
|
| 123 |
+
# 5.2 CIFAR-10
|
| 124 |
+
|
| 125 |
+
CIFAR-10 dataset has 10 different classes with $5 k$ training images and $1 k$ test images per each class Krizhevsky et al. (2009). In CIFAR-10 experiments, we evaluate our methods on various network architectures: ResNet-20, 32, 56, and DenseNet-40. We provide implementation of the details for the experiments in Supplementary material C. We show the experiment results of pruning under FLOPs constraints in the left column of Table 2 and under final network size constraints in the right column of Table 2.
|
| 126 |
+
|
| 127 |
+
On the FLOPs experiments in the left column of Table 2, ‘ours-c’ shows comparable results against FPGM, which is the previous state of the art method, on ResNet-20, 32, and 56. Moreover, ‘ours-cs’ significantly outperforms both ‘ours-c’ and FPGM on the same architectures showing the state of the art performance. Also, ‘ours-c’ shows comparable results against slimming (Liu et al., 2017) and SCP (Kang & Han, 2020), while ‘ours-cs’ outperforms existing baselines by a large margin on DenseNet-40.
|
| 128 |
+
|
| 129 |
+
On the network size experiments in the right column of Table 2, ‘ours-c’ shows results competitive to FPGM and SCP, while ‘ours-cs’ again achieves the state of the art performance on ResNet-20, 32, and 56. Notably, in ResNet-56, ‘ours-cs’ achieves a minimal accuracy drop of $- 0 . 1 0$ with the pruning ratio of $5 2 . 6 \%$ . These results show simultaneous channel and spatial pruning produces more efficient networks with better performance compared to other channel pruning methods on CIFAR-10.
|
| 130 |
+
|
| 131 |
+
# 5.3 IMAGENET
|
| 132 |
+
|
| 133 |
+
ILSVRC-2012 (Russakovsky et al., 2015) is a large-scale dataset with 1000 classes that comes with $1 . 2 8 M$ training images and $5 0 k$ validation images. We conduct our methods under the fixed FLOPs constraint on ResNet-18,50, and VGG-16. For more implementation details of the ImageNet experiments, refer to Supplementary material C. Table 3 shows the experiment results on ImageNet. In ResNet-50, ‘ours- $. \mathrm { c } '$ ’ and ‘ours-cs’ achieve results comparable to GBN, a trainable-importance channel pruning method which is the previous state of the art, even though our method is a fixedimportance channel pruning method. In particular, top1 pruned accuracy in ‘ours-cs’ exceeds SFP by $1 . 3 2 \%$ using a similar number of FLOPs. Both ‘ours-cs’ and ‘ours-c’ clearly outperform FPGM in ResNet-50. Also, ‘ours- $\cdot \mathrm { c } '$ and ‘ours-cs’ show significantly better performance than Molchanov et al. (2017) on VGG-16.
|
| 134 |
+
|
| 135 |
+
Table 3: Top1,5 pruned accuracy and accuracy drop from the baseline network at given FLOPs on various network architectures (ResNet-18,50, and VGG-16) at ImageNet.
|
| 136 |
+
|
| 137 |
+
<table><tr><td>Network</td><td>Method</td><td>Top1 Pruned Acc↑</td><td>Topl Acc drop↓</td><td>Top5 Pruned Acc↑</td><td>Top5 Acc drop↓</td><td>FLOPs(%)↓</td></tr><tr><td rowspan="6">ResNet-18</td><td rowspan="6">SFP (He et al.,2018a) FPGM (He et al.,2019) ours-c</td><td>67.10</td><td>3.18</td><td>87.78</td><td>1.85</td><td>58.2</td></tr><tr><td>68.41</td><td>1.87</td><td>88.48</td><td>1.15</td><td>58.2</td></tr><tr><td>67.48</td><td>2.28</td><td>87.78</td><td>1.30</td><td>60.9</td></tr><tr><td>69.59</td><td>0.17</td><td>88.94</td><td>0.14</td><td>58.2</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>LCCL (Dong et al.,2017) 66.33 68.65</td><td>3.65 1.11</td><td>86.94 88.69</td><td>2.29 0.39</td><td>65.3 65.9</td></tr><tr><td rowspan="6">ResNet-50</td><td rowspan="6">ours-cs SFP (He et al.,2018a) FPGM (He et al.,2019)</td><td>70.05</td><td>-0.29</td><td>89.24</td><td>-0.16</td><td>65.9</td></tr><tr><td>74.61</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>1.54</td><td>92.06</td><td>0.81</td><td>58.3</td></tr><tr><td>75.50</td><td>0.65</td><td>92.63</td><td>0.21</td><td>57.8</td></tr><tr><td>75.78</td><td>0.37</td><td>91.86</td><td>1.01</td><td>57.8</td></tr><tr><td>75.93</td><td>0.22</td><td>92.68</td><td>0.19</td><td>57.8</td></tr><tr><td rowspan="6"></td><td>GBN (You et al.,2019) ours-c ours-cs</td><td>76.19 75.89</td><td>-0.31 0.26</td><td>92.83 92.84</td><td>-0.16 0.03</td><td>59.5 61.5</td></tr><tr><td></td><td>76.00</td><td>0.15</td><td>92.76</td><td>0.11</td><td>59.0</td></tr><tr><td>Molchanov et al. (2017)</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>ours-c</td><td>- 65.92</td><td></td><td>84.5</td><td>5.9</td><td>51.7</td></tr><tr><td></td><td></td><td>5.67</td><td>87.20</td><td>3.18</td><td>51.7</td></tr><tr><td>ours-cs</td><td>66.36</td><td>5.23</td><td>87.36</td><td>3.02</td><td>51.7</td></tr></table>
|
| 138 |
+
|
| 139 |
+
# 6 CONCLUSION
|
| 140 |
+
|
| 141 |
+
We present a discrete QCQP based optimization framework for jointly pruning channel and spatial filters under various architecture realizations. Since our methods model the inherent quadratic coupling between channels in the neighboring layers to eliminate any inactive weights during the pruning procedure, they allow exact modeling of the user-specified resource constraints and enable the direct optimization of the true objective on the pruned network. The experiments show our proposed method significantly outperforms other fixed-importance channel pruning methods, finding smaller and faster networks with the least drop in accuracy.
|
| 142 |
+
|
| 143 |
+
# REFERENCES
|
| 144 |
+
|
| 145 |
+
Jose M Alvarez and Mathieu Salzmann. Learning the number of neurons in deep networks. In NeurIPS, 2016.
|
| 146 |
+
|
| 147 |
+
Sajid Anwar, Kyuyeon Hwang, and Wonyong Sung. Structured pruning of deep convolutional neural networks. In JETC, 2017.
|
| 148 |
+
|
| 149 |
+
Kumar Chellapilla, Sidd Puri, and Patrice Simard. High performance convolutional neural networks for document processing. In IWFHR, 2006.
|
| 150 |
+
|
| 151 |
+
Jan K Chorowski, Dzmitry Bahdanau, Dmitriy Serdyuk, Kyunghyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. In NeurIPS. 2015.
|
| 152 |
+
|
| 153 |
+
J. Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT, 2019.
|
| 154 |
+
|
| 155 |
+
Xuanyi Dong, Junshi Huang, Yi Yang, and Shuicheng Yan. More is less: A more complicated network with less inference complexity. In CVPR, 2017.
|
| 156 |
+
|
| 157 |
+
Xitong Gao, Yiren Zhao, Łukasz Dudziak, Robert Mullins, and Cheng-zhong Xu. Dynamic channel pruning: Feature boosting and suppression. 2019.
|
| 158 |
+
|
| 159 |
+
Ariel Gordon, Elad Eban, Ofir Nachum, Bo Chen, Hao Wu, Tien-Ju Yang, and Edward Choi. Morphnet: Fast & simple resource-constrained structure learning of deep networks. In CVPR, 2018.
|
| 160 |
+
|
| 161 |
+
Yiwen Guo, Anbang Yao, and Yurong Chen. Dynamic network surgery for efficient dnns. In NeurIPS, 2016.
|
| 162 |
+
|
| 163 |
+
Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NeurIPS, 2015.
|
| 164 |
+
|
| 165 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016.
|
| 166 |
+
|
| 167 |
+
Yang He, Guoliang Kang, Xuanyi Dong, Yanwei Fu, and Yi Yang. Soft filter pruning for accelerating deep convolutional neural networks. In IJCAI, 2018a.
|
| 168 |
+
|
| 169 |
+
Yang He, Ping Liu, Ziwei Wang, Zhilan Hu, and Yi Yang. Filter pruning via geometric median for deep convolutional neural networks acceleration. In CVPR, 2019.
|
| 170 |
+
|
| 171 |
+
Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. Amc: Automl for model compression and acceleration on mobile devices. In ECCV, 2018b.
|
| 172 |
+
|
| 173 |
+
Hengyuan Hu, Rui Peng, Yu-Wing Tai, and Chi-Keung Tang. Network trimming: A data-driven neuron pruning approach towards efficient deep architectures. In arXiv:1607.03250, 2016.
|
| 174 |
+
|
| 175 |
+
Weizhe Hua, Yuan Zhou, Christopher M De Sa, Zhiru Zhang, and G Edward Suh. Channel gating neural networks. In NIPS, 2019.
|
| 176 |
+
|
| 177 |
+
Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017.
|
| 178 |
+
|
| 179 |
+
CPLEX OPTIMIZATION INC. Using the cplex callable library and cplex mixed integer library. In Incline Village, NV, 1993.
|
| 180 |
+
|
| 181 |
+
Minsoo Kang and Bohyung Han. Operation-aware soft channel pruning using differentiable masks. In ICML, 2020.
|
| 182 |
+
|
| 183 |
+
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. In Tech Report, 2009.
|
| 184 |
+
|
| 185 |
+
Vadim Lebedev and Victor Lempitsky. Fast convnets using group-wise brain damage. In CVPR, 2016.
|
| 186 |
+
|
| 187 |
+
Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient convnets. In ICLR, 2017.
|
| 188 |
+
|
| 189 |
+
Z. Liu, H. Mu, X. Zhang, Z. Guo, X. Yang, K. Cheng, and J. Sun. Metapruning: Meta learning for automatic neural network channel pruning. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 2019.
|
| 190 |
+
|
| 191 |
+
Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through network slimming. In ICCV, 2017.
|
| 192 |
+
|
| 193 |
+
Zhuang Liu, Mingjie Sun, Tinghui Zhou, Gao Huang, and Trevor Darrell. Rethinking the value of network pruning. In ICLR, 2019.
|
| 194 |
+
|
| 195 |
+
Christos Louizos, Max Welling, and Diederik P Kingma. Learning sparse neural networks through l_0 regularization. In ICLR, 2018.
|
| 196 |
+
|
| 197 |
+
Jian-Hao Luo, Jianxin Wu, and Weiyao Lin. Thinet: A filter level pruning method for deep neural network compression. In ICCV, 2017.
|
| 198 |
+
|
| 199 |
+
John E Mitchell. Branch-and-cut algorithms for combinatorial optimization problems. In Handbook of applied optimization, 2002.
|
| 200 |
+
|
| 201 |
+
Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convolutional neural networks for resource efficient inference. In ICLR, 2017.
|
| 202 |
+
|
| 203 |
+
Pavlo Molchanov, Arun Mallya, Stephen Tyree, Iuri Frosio, and Jan Kautz. Importance estimation for neural network pruning. In CVPR, 2019.
|
| 204 |
+
|
| 205 |
+
Hanyu Peng, Jiaxiang Wu, Shifeng Chen, and Junzhou Huang. Collaborative channel pruning for deep networks. In ICML, 2019.
|
| 206 |
+
|
| 207 |
+
Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. In arXiv:1804.02767, 2018.
|
| 208 |
+
|
| 209 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. In IJCV, 2015.
|
| 210 |
+
|
| 211 |
+
Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In CVPR, 2018.
|
| 212 |
+
|
| 213 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
|
| 214 |
+
|
| 215 |
+
Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In ICML, 2019.
|
| 216 |
+
|
| 217 |
+
Stefan Van Der Walt, S Chris Colbert, and Gael Varoquaux. The numpy array: a structure for efficient numerical computation. In CISE, 2011.
|
| 218 |
+
|
| 219 |
+
Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. In NeurIPS, 2016.
|
| 220 |
+
|
| 221 |
+
Huanrui Yang, Wei Wen, and Hai Li. Deephoyer: Learning sparser neural network with differentiable scale-invariant sparsity measures. In ICLR, 2019.
|
| 222 |
+
|
| 223 |
+
Tien-Ju Yang, Andrew Howard, Bo Chen, Xiao Zhang, Alec Go, Mark Sandler, Vivienne Sze, and Hartwig Adam. Netadapt: Platform-aware neural network adaptation for mobile applications. In ECCV, 2018.
|
| 224 |
+
|
| 225 |
+
Jianbo Ye, Xin Lu, Zhe Lin, and James Z Wang. Rethinking the smaller-norm-less-informative assumption in channel pruning of convolution layers. In ICLR, 2018.
|
| 226 |
+
|
| 227 |
+
Zhonghui You, Kun Yan, Jinmian Ye, Meng Ma, and Ping Wang. Gate decorator: Global filter pruning method for accelerating deep convolutional neural networks. In NeurIPS, 2019.
|
parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_content_list.json
ADDED
|
@@ -0,0 +1,1262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SUCCINCT NETWORK CHANNEL AND SPATIAL PRUNING VIA DISCRETE VARIABLE QCQP ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
826,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
172,
|
| 20 |
+
398,
|
| 21 |
+
200
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
237,
|
| 32 |
+
544,
|
| 33 |
+
252
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Reducing the heavy computational cost of large convolutional neural networks is crucial when deploying the networks to resource-constrained environments. In this context, recent works propose channel pruning via greedy channel selection to achieve practical acceleration and memory footprint reduction. We first show this channel-wise approach ignores the inherent quadratic coupling between channels in the neighboring layers and cannot safely remove inactive weights during the pruning procedure. Furthermore, we show that these pruning methods cannot guarantee the given resource constraints are satisfied and cause discrepancy with the true objective. To this end, we formulate a principled optimization framework with discrete variable QCQP, which provably prevents any inactive weights and enables the exact guarantee of meeting the resource constraints in terms of FLOPs and memory. Also, we extend the pruning granularity beyond channels and jointly prune individual 2D convolution filters spatially for greater efficiency. Our experiments show competitive pruning results under the target resource constraints on CIFAR-10 and ImageNet datasets on various network architectures. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
268,
|
| 43 |
+
764,
|
| 44 |
+
476
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
502,
|
| 55 |
+
336,
|
| 56 |
+
517
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep neural networks are the bedrock of artificial intelligence tasks such as object detection, speech recognition, and natural language processing (Redmon & Farhadi, 2018; Chorowski et al., 2015; Devlin et al., 2019). While modern networks have hundreds of millions to billions of parameters to train, it has been recently shown that these parameters are highly redundant and can be pruned without significant loss in accuracy (Han et al., 2015; Guo et al., 2016). This discovery has led practitioners to desire training and running the models on resource-constrained mobile devices, provoking a large body of research on network pruning. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
532,
|
| 66 |
+
825,
|
| 67 |
+
631
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Unstructured pruning, however, does not directly lead to any practical acceleration or memory footprint reduction due to poor data locality (Wen et al., 2016), and this motivated research on structured pruning to achieve practical usage under limited resource budgets. To this end, a line of research on channel pruning considers completely pruning the convolution filters along the input and output channel dimensions, where the resulting pruned model becomes a smaller dense network suited for practical acceleration and memory footprint reduction (Li et al., 2017; Luo et al., 2017; He et al., 2019; Wen et al., 2016; He et al., 2018a). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
637,
|
| 77 |
+
825,
|
| 78 |
+
734
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "However, existing channel pruning methods perform the pruning operations with a greedy approach and does not consider the inherent quadratic coupling between channels in the neighboring layers. Although these methods are easy to model and optimize, they cannot safely remove inactive weights during the pruning procedure, suffer from discrepancies with the true objective, and prohibit the strict satisfaction of the required resource constraints during the pruning process. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
742,
|
| 88 |
+
825,
|
| 89 |
+
811
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "The ability to specify hard target resource constraints into the pruning optimization process is important since this allows the user to run the pruning and optional finetuning process only once. When the pruning process ignores the target specifications, the users may need to apply multiple rounds of pruning and finetuning until the specifications are eventually met, resulting in an extra computation overhead (Han et al., 2015; He et al., 2018a; Liu et al., 2017). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
819,
|
| 99 |
+
825,
|
| 100 |
+
888
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we formulate a principled optimization problem that prunes the network layer channels while respecting the quadratic coupling and exactly satisfying the user-specified FLOPs and memory constraints. This new formulation leads to an interesting discrete variable QCQP (Quadratic Constrained Quadratic Program) optimization problem, which directly maximizes the importance of neurons in the pruned network under the specified resource constraints. Also, we increase the pruning granularity beyond channels and jointly prune individual 2D convolution filters spatially for greater efficiency. Furthermore, we generalize our formulation to cover nonsequential convolution operations, such as skip connections, and propose a principled optimization framework for handling various architectural implementations of skip connections in ResNet (He et al., 2016). Our experiments on CIFAR-10 and ImageNet datasets show the state of the art results compared to other channel pruning methods that start from pretrained networks. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
895,
|
| 110 |
+
823,
|
| 111 |
+
924
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/30607c2e56d734ec141791edf273f5b524a27effd00ad6c64c08ad72be07d27d.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Illustration of a channel pruning procedure that leads to inactive weights. When $j$ -th output channel of $l$ -th convolution weights $W _ { \\cdot , j } ^ { ( \\bar { l } ) }$ is pruned, i.e. $W _ { \\cdot , j } ^ { ( l ) } = 0 _ { C _ { l - 1 } , K _ { l } , K _ { l } }$ , then the $j$ -th feature map of l-th layer X (l)j should also be 0. Consequently, $X _ { j } ^ { ( l ) }$ yields inactive weights $W _ { j } ^ { ( l + 1 ) }$ . Note that we use W (l)·,j to denote the tensor $W _ { \\cdot , j , \\cdot , \\cdot } ^ { ( l ) } .$ , following the indexing rules of NumPy (Van Der Walt et al., 2011). "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
181,
|
| 124 |
+
103,
|
| 125 |
+
825,
|
| 126 |
+
246
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
377,
|
| 136 |
+
825,
|
| 137 |
+
503
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 MOTIVATION ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
531,
|
| 148 |
+
313,
|
| 149 |
+
547
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "In this section, we first discuss the motivation of our method concretely. Suppose the weights in a sequential CNN form a sequence of 4-D tensors, $W ^ { ( l ) } \\in \\mathbb { R } ^ { C _ { l - 1 } \\times C _ { l } \\times K _ { l } \\times K _ { l } } \\forall \\bar { l } \\in [ L ]$ where $C _ { l - 1 } , C _ { l }$ , and $K _ { l }$ represent the number of input channels, the number of output channels, and the filter size of $l$ -th convolution weight tensor, respectively. We denote the feature map after $l$ -th convolution as $X ^ { ( l ) } \\in \\mathbb { R } ^ { C _ { l } \\times H _ { l } \\times W _ { l } }$ . Con, ncretely, denotes $X _ { j } ^ { ( \\bar { l } ) } = \\sigma ( X _ { \\cdot } ^ { ( l - 1 ) } \\odot W _ { \\cdot , j } ^ { ( l ) } ) = \\sigma ( \\sum _ { i = 1 } ^ { C _ { l - 1 } } \\bar { X } _ { i \\ \\cdot } ^ { ( l - 1 ) } * W _ { i , j } ^ { ( l ) } )$ , where hannel- $\\sigma$ isse $^ *$ $\\odot$ \n2-D convolutions. Now consider pruning these weights in channel-wise direction. We show that naive channel-wise pruning methods prevent exact specification of the target resource constraints due to unpruned inactive weights and deviate away from the true objective by ignoring quadratic coupling between channels in the neighboring layers. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
566,
|
| 159 |
+
826,
|
| 160 |
+
712
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "2.1 INACTIVE WEIGHTS",
|
| 167 |
+
"text_level": 1,
|
| 168 |
+
"bbox": [
|
| 169 |
+
176,
|
| 170 |
+
734,
|
| 171 |
+
351,
|
| 172 |
+
750
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 1
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "According to Han et al. (2015), network pruning produces dead neurons with zero input or output connections. These dead neurons cause inactive weights1, which do not affect the final output activations of the pruned network. These inactive weights may not be excluded automatically through the standard pruning procedure and require additional post-processing which relies on ad-hoc heuristics. For example, Figure 1 shows a standard channel pruning procedure that deletes weights across the output channel direction but fails to prune the inactive weights. Concretely, deletion of j el of l-th convolution layer leads to W (l)·,j weights on becomes a -th output channead neuron since $W _ { \\cdot , j } ^ { ( l ) } = 0 _ { C _ { l - 1 } , K _ { l } , K _ { l } }$ $X _ { j } ^ { ( l ) }$ $\\begin{array} { r } { \\boldsymbol { X } _ { j } ^ { ( l ) } = \\sigma ( \\boldsymbol { X } ^ { ( l - 1 ) } \\odot \\boldsymbol { W } _ { \\cdot , j } ^ { ( l ) } ) = \\sigma ( \\sum _ { i = 1 } ^ { { C } _ { l - 1 } } \\boldsymbol { X } _ { i } ^ { ( l - 1 ) } * \\boldsymbol { W } _ { i , j } ^ { ( l ) } ) = \\boldsymbol { 0 } _ { C _ { l } , H _ { l } , W _ { l } } . } \\end{array}$ ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
173,
|
| 181 |
+
763,
|
| 182 |
+
825,
|
| 183 |
+
887
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "The convolution operation on the dead neuron results in a trivially zero output, as below: ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
171,
|
| 192 |
+
103,
|
| 193 |
+
754,
|
| 194 |
+
118
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "equation",
|
| 200 |
+
"img_path": "images/ce1b74ef0c59c5f871463e9567add9e1e8d1a9a442b9f10c56eade661e3f59be.jpg",
|
| 201 |
+
"text": "$$\nX _ { p } ^ { ( l + 1 ) } = \\sigma \\left( \\sum _ { i = 1 } ^ { C _ { l } } X _ { i } ^ { ( l ) } * W _ { i , p } ^ { ( l + 1 ) } \\right) = \\sigma \\left( \\sum _ { i = 1 } ^ { C _ { l } } \\mathbb { 1 } _ { i \\neq j } X _ { i } ^ { ( l ) } * W _ { i , p } ^ { ( l + 1 ) } + \\underbrace { X _ { j } ^ { ( l ) } * \\underbrace { W _ { j , p } ^ { ( l + 1 ) } } _ { \\mathrm { d e a d } } } _ { = \\mathbb { 0 } _ { H _ { l + 1 } , W _ { l + 1 } } } \\right) .\n$$",
|
| 202 |
+
"text_format": "latex",
|
| 203 |
+
"bbox": [
|
| 204 |
+
223,
|
| 205 |
+
125,
|
| 206 |
+
772,
|
| 207 |
+
196
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 2
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "Equation (1) shows that the dead neuron X(l)j causes weights W (l+1)j,p , $W _ { j , p } ^ { ( l + 1 ) } , \\forall p \\in [ C _ { l + 1 } ]$ to be inactive. Such inactive weights do not account for the actual resource usage, even when they remain in the pruned network, which prevents the exact modeling of the user-specified hard resource constraints (FLOPs and network size). Furthermore, inactive weights unpruned during the pruning procedure are a bigger problem for nonsequential convolutional networks due to their skip connections. To address this problem, we introduce a quadratic optimization-based algorithm that provably eliminates all the inactive weights during the pruning procedure. ",
|
| 214 |
+
"bbox": [
|
| 215 |
+
173,
|
| 216 |
+
202,
|
| 217 |
+
826,
|
| 218 |
+
304
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "2.2 QUADRATIC COUPLING ",
|
| 225 |
+
"text_level": 1,
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
320,
|
| 229 |
+
377,
|
| 230 |
+
334
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "image",
|
| 236 |
+
"img_path": "images/1a7cf02ee11375b60d23ae20a288b50d1f0a3933ed1213db30253f98b7026be9.jpg",
|
| 237 |
+
"image_caption": [
|
| 238 |
+
"Figure 2: A comparison of the greedy channel pruning method and our pruning method. Parallelograms represent feature maps and squares represent 2-D filters of convolution weights. Gray squares are filters which account for the objective. The numbers on each squares represent the absolute sum of weights in the filter. "
|
| 239 |
+
],
|
| 240 |
+
"image_footnote": [],
|
| 241 |
+
"bbox": [
|
| 242 |
+
223,
|
| 243 |
+
351,
|
| 244 |
+
774,
|
| 245 |
+
477
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "Existing channel pruning methods remove channels according to their importance. However, measuring a channel’s contribution to the network should also take into account the channels in the neighboring layers, as illustrated in Figure 2. In the example, we define the importance of a channel as the absolute sum of weights in the channel, as in Li et al. (2017), and assume the objective is to maximize the absolute sum of weights in the whole pruned network, excluding the inactive weights. We compare two different channel pruning methods: (a) a standard channel pruning method that greedily prunes each channel independently, and (b) our pruning method that considers the effect of the channels in neighboring layers when pruning. As a result of running each pruning algorithms, (a) will prune the second output channel of the first convolution and the third output channel of the second convolution, and (b) will prune the first output channel of the first convolution, the third output channel of the second convolution, and the first input channel of the second convolution. The objective values for each pruned networks are (a) 18 and (b) 21, respectively. ",
|
| 252 |
+
"bbox": [
|
| 253 |
+
173,
|
| 254 |
+
558,
|
| 255 |
+
825,
|
| 256 |
+
726
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "This shows that the coupling effect of the channels in neighboring layers directly affects the objective values, and finally results in a performance gap between (a) and (b). We call this coupling relationship as the quadratic coupling between the neighboring layers and formulate the contributions to the objective by quadratic terms of neighboring channel activations. To address this quadratic coupling, we propose a channel pruning method based on the QCQP framework with importance evaluation respecting both the input and the output channels. ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
174,
|
| 265 |
+
732,
|
| 266 |
+
825,
|
| 267 |
+
816
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "3 METHOD ",
|
| 274 |
+
"text_level": 1,
|
| 275 |
+
"bbox": [
|
| 276 |
+
176,
|
| 277 |
+
837,
|
| 278 |
+
281,
|
| 279 |
+
852
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "In this section, we first propose our discrete QCQP formulation of channel pruning for the sequential convolutional neural networks (CNNs). Then, we present an extended version of our formulation for joint channel and shape pruning of 2D convolution filters. The generalization to the nonsequential convolution (skip addition and skip concatenation) is introduced in Supplementary material A. ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
867,
|
| 289 |
+
825,
|
| 290 |
+
924
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 2
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "To capture the importance of weights in $W ^ { ( l ) }$ , we define the importance tensor as $I ^ { ( l ) } \\in \\Sigma ^ { }$ $\\mathbb { R } _ { + } ^ { C _ { l - 1 } \\times C _ { l } \\times K _ { l } \\times K _ { l } }$ . Following the protocol of Han et al. (2015); Guo et al. (2016), we set $I ^ { ( i ) } = \\gamma _ { l } | W ^ { ( l ) } |$ where $\\gamma _ { l }$ is the $\\ell _ { 2 }$ normalizing factor in $l$ -th layer or $\\lVert \\mathrm { v e c } ( W ^ { ( l ) } ) \\rVert ^ { - 1 }$ . Then, we define the binary pruning mask as $A ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C _ { l - 1 } \\times C _ { l } \\times K _ { l } \\times K _ { l } }$ . For channel pruning in sequential CNNs, we define channel activation $r ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C _ { l } }$ to indicate which indices of channels remain in the $l$ -th layer of the pruned network. Then, the weights in $W _ { i , j } ^ { ( l ) }$ are active if and only if $r _ { i } ^ { ( l - 1 ) } r _ { j } ^ { ( l ) } = 1$ , which leads to A(l)i,j $A _ { i , j } ^ { ( l ) } = r _ { i } ^ { ( l - 1 ) } r _ { j } ^ { ( l ) } J _ { K _ { l } }$ . For example, in Figure 2b, $\\boldsymbol { r } ^ { ( l - 1 ) } = [ 1 , 1 , 1 ] ^ { \\intercal }$ , $r ^ { ( l ) } = [ 0 , 1 ] ^ { \\intercal }$ and $\\boldsymbol { r } ^ { ( l + 1 ) } = [ 1 , 1 , 0 ] ^ { \\intercal }$ , therefore, $A ^ { ( l ) } = \\binom { 0 } { 0 } 1 \\Biggr ] \\otimes J _ { K _ { l } }$ and $A ^ { ( l + 1 ) } = { \\binom { 0 } { 1 } } ^ { 0 } \\quad 0 \\quad 0 ] \\otimes J _ { K _ { l + 1 } } .$ ",
|
| 297 |
+
"bbox": [
|
| 298 |
+
173,
|
| 299 |
+
127,
|
| 300 |
+
826,
|
| 301 |
+
299
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 3
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "text",
|
| 307 |
+
"text": "We wish to directly maximize the sum of the importance of active weights after the pruning procedure under given resource constraints $: 1$ ) FLOPs, 2) memory, and 3) network size. Concretely, our optimization problem is 2 ",
|
| 308 |
+
"bbox": [
|
| 309 |
+
174,
|
| 310 |
+
305,
|
| 311 |
+
825,
|
| 312 |
+
348
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 3
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "equation",
|
| 318 |
+
"img_path": "images/8ea5207739f9d9f22e51f60bc89b20b820245514036702f15dab23b3b048b6a1.jpg",
|
| 319 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\operatorname* { m a x i m i z e } _ { r ^ { ( 0 : L ) } } \\ \\sum _ { l = 1 } ^ { L } \\left. I ^ { ( l ) } , A ^ { ( l ) } \\right. } \\\\ { \\mathrm { s u b j e c t \\ t o } \\ \\displaystyle \\sum _ { l = 0 } ^ { L } a _ { l } \\left\\| r ^ { ( l ) } \\right\\| _ { 1 } + \\displaystyle \\sum _ { l = 1 } ^ { L } b _ { l } \\left\\| A ^ { ( l ) } \\right\\| _ { 1 } \\leq M } \\\\ { \\displaystyle A ^ { ( l ) } = r ^ { ( l - 1 ) } r ^ { ( l ) \\top } \\otimes J _ { K _ { l } } \\quad \\forall l \\in [ L ] } \\\\ { \\displaystyle r ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C _ { l } } . } \\end{array}\n$$",
|
| 320 |
+
"text_format": "latex",
|
| 321 |
+
"bbox": [
|
| 322 |
+
334,
|
| 323 |
+
354,
|
| 324 |
+
665,
|
| 325 |
+
487
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "In our formulation, the actual resource usage of the pruned network is exactly computed by specifying the number of channels in the pruned network $( = \\bar { \\Vert _ { r } ( l ) _ { \\Vert _ { 1 } } } )$ and the pruning mask sparsity $\\dot { ( } = \\| A ^ { ( \\dot { l } ) } \\| _ { 1 } \\dot { ) }$ in each layer. Concretely, the left hand side of the inequality in the first constraint in Equation (2) indicates the actual resource usage. Table 1 shows $a _ { l } , b _ { l }$ terms used for computing usage of each resource. Note that this optimization problem is a discrete nonconvex QCQP of the channel activations $[ r ^ { ( 0 ) } , \\dots , r ^ { ( L ) } ]$ , where the objective, which is the same with the objective in Section 2.2, respects the quadratic coupling of channel activations $( = r ^ { ( l ) } )$ . Please refer to Supplementary material E for the details on the standard QCQP form of Equation (2). ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
173,
|
| 334 |
+
489,
|
| 335 |
+
826,
|
| 336 |
+
607
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "3.2 FORMULATION OF JOINT CHANNEL AND SPATIAL PRUNING ",
|
| 343 |
+
"text_level": 1,
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
625,
|
| 347 |
+
620,
|
| 348 |
+
637
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "For further efficiency, we increase the pruning granularity to additionally perform spatial pruning in 2-D convolution filters. Concretely, we prune by each weight vector across the input channel direction instead of each channel to perform channel and spatial pruning processes simultaneously. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
648,
|
| 358 |
+
473,
|
| 359 |
+
747
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "table",
|
| 365 |
+
"img_path": "images/44c22a863aeba71f8d803bd8b191058e7802062c2ae4360b694251d2ef274dd7.jpg",
|
| 366 |
+
"table_caption": [],
|
| 367 |
+
"table_footnote": [],
|
| 368 |
+
"table_body": "<table><tr><td>Resource constraint (M)</td><td>a</td><td>b</td></tr><tr><td>Network size</td><td>0</td><td>1</td></tr><tr><td>Memory</td><td>HW</td><td>1</td></tr><tr><td>FLOPs</td><td>0</td><td>HWt</td></tr></table>",
|
| 369 |
+
"bbox": [
|
| 370 |
+
485,
|
| 371 |
+
666,
|
| 372 |
+
784,
|
| 373 |
+
738
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "First, we define the shape column W (l)·,j,a by ",
|
| 380 |
+
"bbox": [
|
| 381 |
+
173,
|
| 382 |
+
752,
|
| 383 |
+
473,
|
| 384 |
+
773
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "Table 1: Resource constraints and the corresponding $a _ { l } , b _ { l }$ values. ",
|
| 391 |
+
"bbox": [
|
| 392 |
+
485,
|
| 393 |
+
748,
|
| 394 |
+
825,
|
| 395 |
+
775
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 3
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "the vector of weights at spatial position $( a , b )$ of a 2-D convolution filter along the $j$ -th output channel dimension. Then, we define shape column activation $q ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C _ { l } \\times K _ { l } \\times K _ { l } }$ to indicate which shape columns in the $l$ -th convolution layer remain in the pruned network. Figure 3 shows the illustration of each variables. ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
173,
|
| 404 |
+
775,
|
| 405 |
+
825,
|
| 406 |
+
830
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "Note that this definition induces constraints on the channel activation variables. In detail, the $j$ -th output channel activation in $l$ -th layer is set if and only if at least one shape column activation in the $j$ -th output channel is set. Concretely, the new formulation should include the constraints $\\begin{array} { r } { r _ { j } ^ { ( l ) } \\le \\sum _ { a , b } q _ { j , a , b } ^ { ( l ) } } \\end{array}$ and $q _ { j , a , b } ^ { ( l ) } \\leq r _ { j } ^ { ( l ) } \\forall a , b$ . ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
173,
|
| 415 |
+
837,
|
| 416 |
+
825,
|
| 417 |
+
901
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "image",
|
| 423 |
+
"img_path": "images/3aa112f2df91bd35c67a87050d367e0bb2b1dbaa345bc04d75a26c81aa7782b6.jpg",
|
| 424 |
+
"image_caption": [
|
| 425 |
+
"Figure 3: Input channel activation $\\left( = r ^ { ( l - 1 ) } \\right)$ , shape column activation $\\left( = q ^ { \\left( l \\right) } \\right)$ , and the corresponding mask $\\left( = A ^ { ( l ) } \\right)$ for $l$ -th convolution layer, where $A ^ { ( l ) } = r ^ { ( l - 1 ) } \\otimes q ^ { ( l ) }$ . "
|
| 426 |
+
],
|
| 427 |
+
"image_footnote": [],
|
| 428 |
+
"bbox": [
|
| 429 |
+
192,
|
| 430 |
+
101,
|
| 431 |
+
816,
|
| 432 |
+
356
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 4
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "We now reformulate the optimization problem to include the shape column activation variables. Again, we aim to maximize the sum of the importance of active weights after pruning under the given resource constraints. Then, our optimization problem for simultaneous channel and spatial pruning is ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
176,
|
| 441 |
+
431,
|
| 442 |
+
826,
|
| 443 |
+
474
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 4
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "equation",
|
| 449 |
+
"img_path": "images/848267483c4ec188e6c3fd8c8b1d666c9c643f871dd27af9cb5d6277364a5e4a.jpg",
|
| 450 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\underset { r ^ { ( s , L ) } , q ^ { ( 1 ; L ) } } { \\mathrm { m a x i m i z e } } \\ ~ \\sum _ { l = 1 } ^ { L } \\left. I ^ { ( l ) } , A ^ { ( l ) } \\right. } \\\\ { \\mathrm { s u b j e c t ~ t o } \\ \\displaystyle \\sum _ { l = 0 } ^ { L } a _ { l } \\left\\| r ^ { ( l ) } \\right\\| _ { 1 } + \\displaystyle \\sum _ { l = 1 } ^ { L } b _ { l } \\left\\| A ^ { ( l ) } \\right\\| _ { 1 } \\leq M } \\\\ { \\displaystyle r _ { j } ^ { ( l ) } \\leq \\sum _ { a , b } q _ { j , a , b } ^ { ( l ) } \\quad \\mathrm { a n d } \\quad q _ { j , a , b } ^ { ( l ) } \\leq r _ { j } ^ { ( l ) } \\quad \\forall l , j , a , b } \\\\ { \\displaystyle A ^ { ( l ) } = r ^ { ( l - 1 ) } \\otimes q ^ { ( l ) } \\quad \\forall l } \\\\ { \\displaystyle r ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C } \\ a \\mathrm { n d } \\ q ^ { ( l ) } \\in \\{ 0 , 1 \\} ^ { C } \\times K _ { l } \\times K _ { l } \\quad \\forall l \\in [ L ] . } \\end{array}\n$$",
|
| 451 |
+
"text_format": "latex",
|
| 452 |
+
"bbox": [
|
| 453 |
+
272,
|
| 454 |
+
481,
|
| 455 |
+
728,
|
| 456 |
+
648
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 4
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "We note that this optimization problem is also a discrete nonconvex QCQP. The details on the standard QCQP form of Equation (3) is provided in Supplementary material E. Furthermore, Proposition 1 below shows that the constraints in Equation (2) and Equation (3) provably eliminate any unpruned inactive weights and accurately model the resource usage as well as the objective of the pruned network. Also, Proposition 1 can be generalized to nonsequential networks with skip addition. The generalization and the proofs are given in Supplementary material D. ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
173,
|
| 465 |
+
651,
|
| 466 |
+
825,
|
| 467 |
+
736
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "Proposition 1. Optimizing over the input and output channel activation variables ${ r ^ { ( 0 : L ) } }$ and shape column activation variables $q ^ { ( 1 : L ) }$ under the constraints in Equation (3) provably removes any inactive weights in the pruned network, guaranteeing exact computation of 1) resource usage and 2) the sum of the importance of active weights in the pruned network. ",
|
| 474 |
+
"bbox": [
|
| 475 |
+
174,
|
| 476 |
+
741,
|
| 477 |
+
825,
|
| 478 |
+
797
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 4
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "3.3 OPTIMIZATION ",
|
| 485 |
+
"text_level": 1,
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
814,
|
| 489 |
+
318,
|
| 490 |
+
829
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "Concretely, Equation (2) and Equation (3) fall into the category of binary Mixed Integer Quadratic Constraint Quadratic Programming (MIQCQP). We solve these discrete QCQP problems with the CPLEX library (INC, 1993), which provides MIQCQP solvers based on the branch and cut technique. However, the branch and cut algorithm can lead to exponential search time (Mitchell, 2002) on large problems. Therefore, we provide a practical alternative utilizing a block coordinate descent style optimization method in Supplementary material B. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
839,
|
| 500 |
+
825,
|
| 501 |
+
924
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "4 RELATED WORKS ",
|
| 508 |
+
"text_level": 1,
|
| 509 |
+
"bbox": [
|
| 510 |
+
176,
|
| 511 |
+
102,
|
| 512 |
+
349,
|
| 513 |
+
117
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 5
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "Importance of channels Most of the channel pruning methods prune away the least important channels with a simple greedy approach, and the evaluation method for the importance of channels has been the main research problem (Molchanov et al., 2017; 2019; Liu et al., 2019). Channel pruning is divided into two major branches according to the method of evaluating the importance of channels: the trainable-importance method, which evaluates the importance of channels while training the whole network from scratch, and the fixed-importance method, which directly evaluates the importance of channels on the pretrained network. Trainable-importance channel pruning methods include the regularizer-based methods with group sparsity regularizers (Wen et al., 2016; Alvarez & Salzmann, 2016; Yang et al., 2019; Liu et al., 2017; Louizos et al., 2018; Liu et al., 2017; Gordon et al., 2018) and data-driven channel pruning methods (Kang & Han, 2020; You et al., 2019). Fixedimportance channel pruning methods first prune away most of the weights and then finetune the significantly smaller pruned network (Molchanov et al., 2017; 2019; Hu et al., 2016; He et al., 2018a; Li et al., 2017; He et al., 2019; Luo et al., 2017). As a result, fixed-importance methods are much more efficient than the trainable-importance channel pruning methods in terms of computational cost and memory as trainable-importance methods have to train the whole unpruned network. Our framework is on the line of fixed-importance channel pruning works. ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
174,
|
| 522 |
+
136,
|
| 523 |
+
825,
|
| 524 |
+
357
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 5
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Predefined target structure and Automatic target structure Layer-wise channel pruning methods (Li et al., 2017; He et al., 2019), which perform pruning operations per each layer independently, require users to predefine the target pruned structure. Also, LCCL(Dong et al., 2017) exploits a predefined low-cost network to improve inference time. Another line of research finds the appropriate target structure automatically (He et al., 2018b; Yang et al., 2018; Liu et al., 2019; Molchanov et al., 2017). Our method also finds the target structure automatically under the explicit target resource constraints. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
174,
|
| 533 |
+
376,
|
| 534 |
+
825,
|
| 535 |
+
473
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "Dynamic pruning and static pruning Dynamic pruning has a different network structure depending on the input during inference time, while static pruning has a fixed network structure during inference time. CGNet (Hua et al., 2019) dynamically identifies unnecessary features to reduce the computation, and FBS (Gao et al., 2019) dynamically skip computations on the unimportant channels. Our framework is static pruning and has a fixed network structure during inference time. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
492,
|
| 545 |
+
825,
|
| 546 |
+
561
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 5
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "Quadratic coupling CCP (Peng et al., 2019) formulates a QP (quadratic formulation) to consider the quadratic coupling between channels in the same layer under layer-wise constraints on the maximum number of channels. On the other hand, our formulation considers the quadratic coupling between channels in the neighboring layers under the target resource constraints. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
580,
|
| 556 |
+
825,
|
| 557 |
+
636
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 5
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Channel pruning in nonsequential blocks Many network architectures contain nonsequential convolution operations, such as skip addition (He et al., 2016; Sandler et al., 2018; Tan & Le, 2019) and skip concatenation (Huang et al., 2017). Since these network architectures outperform sequential network architectures, pruning a network with nonsequential convolution operations is crucial. However, most channel pruning methods (Liu et al., 2017; He et al., 2018a; 2019; Molchanov et al., 2017; 2019) do not consider the nonsequential convolution operations and use the same method from the sequential network architecture. However, channel pruning methods ignorant of nonsequential convolution operations may result in the misalignment of feature maps connected by skip connections (You et al., 2019). GBN (You et al., 2019) forces parameters connected by a nonsequential convolution operation to share the same pruning pattern to solve this misalignment problem. In contrast, our formulation does not require strict pattern sharing. This flexibility allows for our methods to delete more channels under given constraints. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
655,
|
| 567 |
+
825,
|
| 568 |
+
821
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 5
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "Spatial pruning of convolution filters Spatial pruning methods aim to prune convolution filters along the channel dimension for inference efficiency. Spatial pruning methods manually define the spatial patterns of filters (Lebedev & Lempitsky, 2016; Anwar et al., 2017) or optimize spatial patterns of filters with group sparse regularizers (Wen et al., 2016; Lebedev & Lempitsky, 2016). Among these works, Lebedev & Lempitsky (2016) empirically demonstrates that enforcing sparse spatial patterns in 2-D filters along the input channel leads to great speed-up during inference time using group sparse convolution operations (Chellapilla et al., 2006). Our proposed method enforces the spatial patterns in 2-D filters as in Lebedev & Lempitsky (2016) for speed-up in inference. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
174,
|
| 577 |
+
840,
|
| 578 |
+
825,
|
| 579 |
+
924
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "",
|
| 586 |
+
"bbox": [
|
| 587 |
+
173,
|
| 588 |
+
103,
|
| 589 |
+
823,
|
| 590 |
+
132
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 6
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "5 EXPERIMENTS ",
|
| 597 |
+
"text_level": 1,
|
| 598 |
+
"bbox": [
|
| 599 |
+
176,
|
| 600 |
+
152,
|
| 601 |
+
326,
|
| 602 |
+
167
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 6
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "We compare the classification accuracy of the pruned network against several pruning baselines on CIFAR-10 (Krizhevsky et al., 2009) and ImageNet (Russakovsky et al., 2015) datasets using various ResNet architectures (He et al., 2016), DenseNet-40 (Huang et al., 2017), and VGG-16 (Simonyan & Zisserman, 2015). Note that most pruning baselines apply an iterative pruning procedure, which repeatedly alternates between network pruning and finetuning until the target resource constraints are satisfied (Han et al., 2015; He et al., 2018a; Liu et al., 2017; Yang et al., 2018). In contrast, since our methods explicitly include the target resource constraint to the optimization framework, we only need one round of pruning and finetuning. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
184,
|
| 612 |
+
825,
|
| 613 |
+
296
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 6
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "5.1 EXPERIMENTAL SETTINGS ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
313,
|
| 624 |
+
397,
|
| 625 |
+
327
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 6
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "We follow the ‘smaller-norm-less-important’ criterion (Ye et al., 2018; Liu et al., 2017), which evaluates the importance of weights as the absolute value of weight (Han et al., 2015; Guo et al., 2016). We assume the network size and FLOPs reduction are linearly proportional to the sparsity in shape column activations, as empirically shown in Lebedev & Lempitsky (2016). Also, we ignore the extra memory overhead for storing the shape column activations due to its negligible size compared to the total network size. In the experiment tables, FLOPs and the network size of the pruned network are computed according to the resource specifications in Equations (2) and (3). Also, ‘Pruning ratio’ in the tables denotes the ratio of pruned weights among the total weights in baseline networks. ‘ours-c’ and ‘ours-cs’ in the tables denote our method with channel pruning and our method with both the channel and spatial pruning, respectively. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
338,
|
| 635 |
+
825,
|
| 636 |
+
478
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 6
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "table",
|
| 642 |
+
"img_path": "images/8ed482cb7e51d2ec9d8fd6dcf4ef3bc1c09db2e774bdc67bb82df5bc3183593c.jpg",
|
| 643 |
+
"table_caption": [
|
| 644 |
+
"Table 2: Pruned accuracy and accuracy drop from the baseline network at given FLOPs (left) and pruning ratios (right) on various network architectures (ResNet-20,32,56 and DenseNet-40) at CIFAR-10. "
|
| 645 |
+
],
|
| 646 |
+
"table_footnote": [],
|
| 647 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\">Method</td><td rowspan=\"2\">Baseline acc</td><td colspan=\"3\">FLOPs</td></tr><tr><td>Pruned acc↑</td><td>Acc drop↓</td><td>FLOPs(%)↓</td></tr><tr><td rowspan=\"9\">ResNet-20</td><td>FPGM (He et al.,2019)</td><td>92.21 (0.18)</td><td>91.26 (0.24)</td><td>0.95</td><td>46.0</td></tr><tr><td>ours-c</td><td>92.21 (0.18)</td><td>90.96 (0.15)</td><td>1.25</td><td>46.0</td></tr><tr><td>ours-cs</td><td>92.21 (0.18)</td><td>91.70 (0.18)</td><td>0.51</td><td>46.0</td></tr><tr><td>LCCL (Dong et al.,2017)</td><td>92.74</td><td>91.68</td><td>1.06</td><td>62.1</td></tr><tr><td>SFP (He et al.,2018a)</td><td>92.20 (0.18)</td><td>90.83 (0.31)</td><td>1.37</td><td>57.8</td></tr><tr><td>FPGM (He et al.,2019)</td><td>92.21 (0.18)</td><td>91.72 (0.20)</td><td>0.49</td><td>57.8</td></tr><tr><td>ours-c</td><td>92.21 (0.18)</td><td>91.74 (0.20)</td><td>0.47</td><td>58.3</td></tr><tr><td>ours-cs</td><td>92.21 (0.18)</td><td>92.26 (0.10)</td><td>-0.05</td><td>57.8</td></tr><tr><td>FPGM(He et al.,2019)</td><td>92.88 (0.86)</td><td>91.96 (0.76)</td><td>0.92</td><td>46.8</td></tr><tr><td rowspan=\"9\">ResNet-32</td><td>ours-c</td><td>92.88 (0.86)</td><td>91.98 (0.42)</td><td>0.90</td><td>46.8</td></tr><tr><td>ours-cs</td><td>92.88 (0.86)</td><td>92.33 (0.41)</td><td>0.55</td><td>47.0</td></tr><tr><td>LCCL (Dong et al.,2017)</td><td>92.33</td><td>90.74</td><td>1.59</td><td>69.0</td></tr><tr><td>SFP (He et al.,2018a)</td><td>92.63 (0.70)</td><td>92.08 (0.08)</td><td>0.55</td><td>58.5</td></tr><tr><td>FPGM (He et al.,2019)</td><td>92.88 (0.86)</td><td>92.51 (0.90)</td><td>0.37</td><td>58.5</td></tr><tr><td>ours-c</td><td>92.88 (0.86)</td><td>92.52 (0.46)</td><td>0.36</td><td>57.2</td></tr><tr><td>ours-cs</td><td>92.88 (0.86)</td><td>92.80 (0.61)</td><td>0.08</td><td>57.9</td></tr><tr><td>SFP (He et al.,2018a)</td><td>93.59 (0.58)</td><td>92.26 (0.31)</td><td>1.33</td><td>47.5</td></tr><tr><td>FPGM (He et al.,2019)</td><td>93.59 (0.58)</td><td>93.49 (0.13)</td><td>0.10</td><td>47.5</td></tr><tr><td rowspan=\"8\"></td><td></td><td>93.50</td><td>93.42</td><td>0.08</td><td>47.4</td></tr><tr><td>CCP (Peng et al.,2019)</td><td>92.8</td><td>91.9</td><td></td><td></td></tr><tr><td>AMC (He et al.,2018b)</td><td></td><td></td><td>0.9</td><td>50.0</td></tr><tr><td>SCP(Kang & Han,2020)</td><td>93.69</td><td>93.23</td><td>0.46</td><td>48.5</td></tr><tr><td>ours-c</td><td>93.59 (0.58)</td><td>93.36 (0.68)</td><td>0.23</td><td>47.4</td></tr><tr><td>ours-cs</td><td>93.59 (0.58)</td><td>93.59 (0.36)</td><td>0.00</td><td>47.4</td></tr><tr><td>SCP(Kang& Han,2020)</td><td>94.39</td><td>93.77</td><td>0.62</td><td>29.2</td></tr><tr><td>ours-c</td><td>95.01</td><td>93.80</td><td>1.21</td><td>29.2</td></tr><tr><td rowspan=\"8\"></td><td>ours-cs</td><td>95.01</td><td>94.25</td><td>0.76</td><td>29.2</td></tr><tr><td>slimming (Liu et al.,2017)</td><td>93.89</td><td>94.35</td><td>-0.46</td><td>45.0</td></tr><tr><td>ours-c</td><td>95.01</td><td>94.38</td><td>0.63</td><td>45.0</td></tr><tr><td>ours-cs</td><td>95.01</td><td>94.85</td><td>0.16</td><td>45.0</td></tr><tr><td>slimming (Liu et al.,2017)</td><td>93.89</td><td>94.81</td><td>-0.92</td><td>71.6</td></tr><tr><td>ours-c</td><td></td><td>94.82</td><td>0.19</td><td>71.0</td></tr><tr><td></td><td>95.01</td><td></td><td></td><td></td></tr><tr><td>ours-cs</td><td>95.01</td><td>95.02</td><td>-0.01</td><td>71.0</td></tr></table>",
|
| 648 |
+
"bbox": [
|
| 649 |
+
176,
|
| 650 |
+
492,
|
| 651 |
+
622,
|
| 652 |
+
857
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 6
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "table",
|
| 658 |
+
"img_path": "images/23e4242ce6cd82cce786b1bc2ad11338cd04b65912bd144c36189cf4e35b9def.jpg",
|
| 659 |
+
"table_caption": [],
|
| 660 |
+
"table_footnote": [],
|
| 661 |
+
"table_body": "<table><tr><td colspan=\"3\">Network size</td></tr><tr><td>Pruned acc↑</td><td>Acc drop↓</td><td>Pruning ratio(%)↑</td></tr><tr><td>91.26 (0.24)</td><td>0.95</td><td>54.0</td></tr><tr><td>91.26 (0.18)</td><td>0.95</td><td>54.1</td></tr><tr><td>92.02 (0.10)</td><td>0.19</td><td>54.0</td></tr><tr><td>91.68</td><td>1.06</td><td>33.1</td></tr><tr><td>90.83 (0.31)</td><td>1.37</td><td>42.2</td></tr><tr><td>91.72 (0.20)</td><td>0.49</td><td>42.2</td></tr><tr><td>92.27 (0.17).</td><td>-0.06</td><td>42.3</td></tr><tr><td>92.35 (0.10)</td><td>-0.14</td><td>42.2</td></tr><tr><td>91.96 (0.76)</td><td>0.92</td><td>53.2</td></tr><tr><td>92.22 (1.02)</td><td>0.66</td><td>53.2</td></tr><tr><td>92.78 (0.97)</td><td>0.10</td><td>53.2</td></tr><tr><td>90.74</td><td>1.59</td><td>37.5</td></tr><tr><td>92.08 (0.08)</td><td>0.55</td><td>41.5</td></tr><tr><td>92.51 (0.90)</td><td>0.37</td><td>41.5</td></tr><tr><td>92.42 (0.77)</td><td>0.46</td><td>42.7</td></tr><tr><td>92.83 (0.83)</td><td>0.05</td><td>42.7</td></tr><tr><td>92.26 (0.31)</td><td>1.33</td><td>52.6</td></tr><tr><td>93.49 (0.13)</td><td>0.10</td><td>52.6</td></tr><tr><td>=</td><td>-</td><td>-</td></tr><tr><td></td><td>=</td><td>=</td></tr><tr><td>93.23</td><td>0.46</td><td>51.5</td></tr><tr><td>93.37 (0.96)</td><td>0.22</td><td>52.7</td></tr><tr><td>93.69 (0.69)</td><td>-0.10</td><td>52.6</td></tr><tr><td></td><td></td><td>-</td></tr><tr><td></td><td></td><td>=</td></tr><tr><td></td><td>=</td><td>=</td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></table>",
|
| 662 |
+
"bbox": [
|
| 663 |
+
635,
|
| 664 |
+
492,
|
| 665 |
+
820,
|
| 666 |
+
857
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 6
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "5.2 CIFAR-10 ",
|
| 673 |
+
"text_level": 1,
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
103,
|
| 677 |
+
290,
|
| 678 |
+
117
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 7
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "CIFAR-10 dataset has 10 different classes with $5 k$ training images and $1 k$ test images per each class Krizhevsky et al. (2009). In CIFAR-10 experiments, we evaluate our methods on various network architectures: ResNet-20, 32, 56, and DenseNet-40. We provide implementation of the details for the experiments in Supplementary material C. We show the experiment results of pruning under FLOPs constraints in the left column of Table 2 and under final network size constraints in the right column of Table 2. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
128,
|
| 688 |
+
825,
|
| 689 |
+
213
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 7
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "On the FLOPs experiments in the left column of Table 2, ‘ours-c’ shows comparable results against FPGM, which is the previous state of the art method, on ResNet-20, 32, and 56. Moreover, ‘ours-cs’ significantly outperforms both ‘ours-c’ and FPGM on the same architectures showing the state of the art performance. Also, ‘ours-c’ shows comparable results against slimming (Liu et al., 2017) and SCP (Kang & Han, 2020), while ‘ours-cs’ outperforms existing baselines by a large margin on DenseNet-40. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
219,
|
| 699 |
+
825,
|
| 700 |
+
303
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 7
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "On the network size experiments in the right column of Table 2, ‘ours-c’ shows results competitive to FPGM and SCP, while ‘ours-cs’ again achieves the state of the art performance on ResNet-20, 32, and 56. Notably, in ResNet-56, ‘ours-cs’ achieves a minimal accuracy drop of $- 0 . 1 0$ with the pruning ratio of $5 2 . 6 \\%$ . These results show simultaneous channel and spatial pruning produces more efficient networks with better performance compared to other channel pruning methods on CIFAR-10. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
310,
|
| 710 |
+
825,
|
| 711 |
+
381
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 7
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "5.3 IMAGENET ",
|
| 718 |
+
"text_level": 1,
|
| 719 |
+
"bbox": [
|
| 720 |
+
174,
|
| 721 |
+
397,
|
| 722 |
+
292,
|
| 723 |
+
411
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 7
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "text",
|
| 729 |
+
"text": "ILSVRC-2012 (Russakovsky et al., 2015) is a large-scale dataset with 1000 classes that comes with $1 . 2 8 M$ training images and $5 0 k$ validation images. We conduct our methods under the fixed FLOPs constraint on ResNet-18,50, and VGG-16. For more implementation details of the ImageNet experiments, refer to Supplementary material C. Table 3 shows the experiment results on ImageNet. In ResNet-50, ‘ours- $. \\mathrm { c } '$ ’ and ‘ours-cs’ achieve results comparable to GBN, a trainable-importance channel pruning method which is the previous state of the art, even though our method is a fixedimportance channel pruning method. In particular, top1 pruned accuracy in ‘ours-cs’ exceeds SFP by $1 . 3 2 \\%$ using a similar number of FLOPs. Both ‘ours-cs’ and ‘ours-c’ clearly outperform FPGM in ResNet-50. Also, ‘ours- $\\cdot \\mathrm { c } '$ and ‘ours-cs’ show significantly better performance than Molchanov et al. (2017) on VGG-16. ",
|
| 730 |
+
"bbox": [
|
| 731 |
+
173,
|
| 732 |
+
422,
|
| 733 |
+
825,
|
| 734 |
+
563
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "table",
|
| 740 |
+
"img_path": "images/ab65cd639c68c4b5ab992d57c24660308420e3ed2516ebe267b4d271c23c74af.jpg",
|
| 741 |
+
"table_caption": [
|
| 742 |
+
"Table 3: Top1,5 pruned accuracy and accuracy drop from the baseline network at given FLOPs on various network architectures (ResNet-18,50, and VGG-16) at ImageNet. "
|
| 743 |
+
],
|
| 744 |
+
"table_footnote": [],
|
| 745 |
+
"table_body": "<table><tr><td>Network</td><td>Method</td><td>Top1 Pruned Acc↑</td><td>Topl Acc drop↓</td><td>Top5 Pruned Acc↑</td><td>Top5 Acc drop↓</td><td>FLOPs(%)↓</td></tr><tr><td rowspan=\"6\">ResNet-18</td><td rowspan=\"6\">SFP (He et al.,2018a) FPGM (He et al.,2019) ours-c</td><td>67.10</td><td>3.18</td><td>87.78</td><td>1.85</td><td>58.2</td></tr><tr><td>68.41</td><td>1.87</td><td>88.48</td><td>1.15</td><td>58.2</td></tr><tr><td>67.48</td><td>2.28</td><td>87.78</td><td>1.30</td><td>60.9</td></tr><tr><td>69.59</td><td>0.17</td><td>88.94</td><td>0.14</td><td>58.2</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>LCCL (Dong et al.,2017) 66.33 68.65</td><td>3.65 1.11</td><td>86.94 88.69</td><td>2.29 0.39</td><td>65.3 65.9</td></tr><tr><td rowspan=\"6\">ResNet-50</td><td rowspan=\"6\">ours-cs SFP (He et al.,2018a) FPGM (He et al.,2019)</td><td>70.05</td><td>-0.29</td><td>89.24</td><td>-0.16</td><td>65.9</td></tr><tr><td>74.61</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td>1.54</td><td>92.06</td><td>0.81</td><td>58.3</td></tr><tr><td>75.50</td><td>0.65</td><td>92.63</td><td>0.21</td><td>57.8</td></tr><tr><td>75.78</td><td>0.37</td><td>91.86</td><td>1.01</td><td>57.8</td></tr><tr><td>75.93</td><td>0.22</td><td>92.68</td><td>0.19</td><td>57.8</td></tr><tr><td rowspan=\"6\"></td><td>GBN (You et al.,2019) ours-c ours-cs</td><td>76.19 75.89</td><td>-0.31 0.26</td><td>92.83 92.84</td><td>-0.16 0.03</td><td>59.5 61.5</td></tr><tr><td></td><td>76.00</td><td>0.15</td><td>92.76</td><td>0.11</td><td>59.0</td></tr><tr><td>Molchanov et al. (2017)</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>ours-c</td><td>- 65.92</td><td></td><td>84.5</td><td>5.9</td><td>51.7</td></tr><tr><td></td><td></td><td>5.67</td><td>87.20</td><td>3.18</td><td>51.7</td></tr><tr><td>ours-cs</td><td>66.36</td><td>5.23</td><td>87.36</td><td>3.02</td><td>51.7</td></tr></table>",
|
| 746 |
+
"bbox": [
|
| 747 |
+
173,
|
| 748 |
+
574,
|
| 749 |
+
825,
|
| 750 |
+
782
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "6 CONCLUSION ",
|
| 757 |
+
"text_level": 1,
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
849,
|
| 761 |
+
318,
|
| 762 |
+
866
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "We present a discrete QCQP based optimization framework for jointly pruning channel and spatial filters under various architecture realizations. Since our methods model the inherent quadratic coupling between channels in the neighboring layers to eliminate any inactive weights during the pruning procedure, they allow exact modeling of the user-specified resource constraints and enable the direct optimization of the true objective on the pruned network. The experiments show our proposed method significantly outperforms other fixed-importance channel pruning methods, finding smaller and faster networks with the least drop in accuracy. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
882,
|
| 772 |
+
823,
|
| 773 |
+
924
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "",
|
| 780 |
+
"bbox": [
|
| 781 |
+
174,
|
| 782 |
+
103,
|
| 783 |
+
825,
|
| 784 |
+
160
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 8
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "REFERENCES ",
|
| 791 |
+
"text_level": 1,
|
| 792 |
+
"bbox": [
|
| 793 |
+
176,
|
| 794 |
+
181,
|
| 795 |
+
285,
|
| 796 |
+
195
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Jose M Alvarez and Mathieu Salzmann. Learning the number of neurons in deep networks. In NeurIPS, 2016. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
171,
|
| 805 |
+
204,
|
| 806 |
+
825,
|
| 807 |
+
233
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 8
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "Sajid Anwar, Kyuyeon Hwang, and Wonyong Sung. Structured pruning of deep convolutional neural networks. In JETC, 2017. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
174,
|
| 816 |
+
241,
|
| 817 |
+
823,
|
| 818 |
+
270
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 8
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Kumar Chellapilla, Sidd Puri, and Patrice Simard. High performance convolutional neural networks for document processing. In IWFHR, 2006. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
173,
|
| 827 |
+
279,
|
| 828 |
+
825,
|
| 829 |
+
308
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 8
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "Jan K Chorowski, Dzmitry Bahdanau, Dmitriy Serdyuk, Kyunghyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. In NeurIPS. 2015. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
169,
|
| 838 |
+
315,
|
| 839 |
+
825,
|
| 840 |
+
345
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 8
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "J. Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT, 2019. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
171,
|
| 849 |
+
354,
|
| 850 |
+
823,
|
| 851 |
+
383
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 8
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Xuanyi Dong, Junshi Huang, Yi Yang, and Shuicheng Yan. More is less: A more complicated network with less inference complexity. In CVPR, 2017. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
173,
|
| 860 |
+
392,
|
| 861 |
+
823,
|
| 862 |
+
421
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Xitong Gao, Yiren Zhao, Łukasz Dudziak, Robert Mullins, and Cheng-zhong Xu. Dynamic channel pruning: Feature boosting and suppression. 2019. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
171,
|
| 871 |
+
429,
|
| 872 |
+
825,
|
| 873 |
+
458
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 8
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Ariel Gordon, Elad Eban, Ofir Nachum, Bo Chen, Hao Wu, Tien-Ju Yang, and Edward Choi. Morphnet: Fast & simple resource-constrained structure learning of deep networks. In CVPR, 2018. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
467,
|
| 883 |
+
825,
|
| 884 |
+
510
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 8
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Yiwen Guo, Anbang Yao, and Yurong Chen. Dynamic network surgery for efficient dnns. In NeurIPS, 2016. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
518,
|
| 894 |
+
823,
|
| 895 |
+
547
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 8
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In NeurIPS, 2015. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
176,
|
| 904 |
+
555,
|
| 905 |
+
823,
|
| 906 |
+
585
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 8
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
593,
|
| 916 |
+
823,
|
| 917 |
+
623
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 8
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Yang He, Guoliang Kang, Xuanyi Dong, Yanwei Fu, and Yi Yang. Soft filter pruning for accelerating deep convolutional neural networks. In IJCAI, 2018a. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
631,
|
| 927 |
+
821,
|
| 928 |
+
661
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Yang He, Ping Liu, Ziwei Wang, Zhilan Hu, and Yi Yang. Filter pruning via geometric median for deep convolutional neural networks acceleration. In CVPR, 2019. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
176,
|
| 937 |
+
669,
|
| 938 |
+
821,
|
| 939 |
+
698
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 8
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. Amc: Automl for model compression and acceleration on mobile devices. In ECCV, 2018b. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
707,
|
| 949 |
+
821,
|
| 950 |
+
736
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 8
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Hengyuan Hu, Rui Peng, Yu-Wing Tai, and Chi-Keung Tang. Network trimming: A data-driven neuron pruning approach towards efficient deep architectures. In arXiv:1607.03250, 2016. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
744,
|
| 960 |
+
821,
|
| 961 |
+
773
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 8
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Weizhe Hua, Yuan Zhou, Christopher M De Sa, Zhiru Zhang, and G Edward Suh. Channel gating neural networks. In NIPS, 2019. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
176,
|
| 970 |
+
781,
|
| 971 |
+
823,
|
| 972 |
+
810
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
176,
|
| 981 |
+
819,
|
| 982 |
+
821,
|
| 983 |
+
849
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "CPLEX OPTIMIZATION INC. Using the cplex callable library and cplex mixed integer library. In Incline Village, NV, 1993. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
174,
|
| 992 |
+
857,
|
| 993 |
+
821,
|
| 994 |
+
887
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 8
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Minsoo Kang and Bohyung Han. Operation-aware soft channel pruning using differentiable masks. In ICML, 2020. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
174,
|
| 1003 |
+
895,
|
| 1004 |
+
821,
|
| 1005 |
+
924
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 8
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. In Tech Report, 2009. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
103,
|
| 1015 |
+
825,
|
| 1016 |
+
132
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Vadim Lebedev and Victor Lempitsky. Fast convnets using group-wise brain damage. In CVPR, 2016. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
141,
|
| 1026 |
+
825,
|
| 1027 |
+
171
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 9
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, and Hans Peter Graf. Pruning filters for efficient convnets. In ICLR, 2017. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
171,
|
| 1036 |
+
179,
|
| 1037 |
+
823,
|
| 1038 |
+
209
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Z. Liu, H. Mu, X. Zhang, Z. Guo, X. Yang, K. Cheng, and J. Sun. Metapruning: Meta learning for automatic neural network channel pruning. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 2019. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
176,
|
| 1047 |
+
217,
|
| 1048 |
+
823,
|
| 1049 |
+
261
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Zhuang Liu, Jianguo Li, Zhiqiang Shen, Gao Huang, Shoumeng Yan, and Changshui Zhang. Learning efficient convolutional networks through network slimming. In ICCV, 2017. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
173,
|
| 1058 |
+
270,
|
| 1059 |
+
821,
|
| 1060 |
+
299
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Zhuang Liu, Mingjie Sun, Tinghui Zhou, Gao Huang, and Trevor Darrell. Rethinking the value of network pruning. In ICLR, 2019. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
173,
|
| 1069 |
+
308,
|
| 1070 |
+
821,
|
| 1071 |
+
337
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Christos Louizos, Max Welling, and Diederik P Kingma. Learning sparse neural networks through l_0 regularization. In ICLR, 2018. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
173,
|
| 1080 |
+
345,
|
| 1081 |
+
823,
|
| 1082 |
+
376
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Jian-Hao Luo, Jianxin Wu, and Weiyao Lin. Thinet: A filter level pruning method for deep neural network compression. In ICCV, 2017. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
171,
|
| 1091 |
+
383,
|
| 1092 |
+
823,
|
| 1093 |
+
414
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 9
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "John E Mitchell. Branch-and-cut algorithms for combinatorial optimization problems. In Handbook of applied optimization, 2002. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
173,
|
| 1102 |
+
422,
|
| 1103 |
+
823,
|
| 1104 |
+
452
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 9
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convolutional neural networks for resource efficient inference. In ICLR, 2017. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
173,
|
| 1113 |
+
460,
|
| 1114 |
+
823,
|
| 1115 |
+
489
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 9
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Pavlo Molchanov, Arun Mallya, Stephen Tyree, Iuri Frosio, and Jan Kautz. Importance estimation for neural network pruning. In CVPR, 2019. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
174,
|
| 1124 |
+
498,
|
| 1125 |
+
823,
|
| 1126 |
+
529
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 9
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Hanyu Peng, Jiaxiang Wu, Shifeng Chen, and Junzhou Huang. Collaborative channel pruning for deep networks. In ICML, 2019. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
174,
|
| 1135 |
+
536,
|
| 1136 |
+
823,
|
| 1137 |
+
566
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 9
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. In arXiv:1804.02767, 2018. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
173,
|
| 1146 |
+
574,
|
| 1147 |
+
823,
|
| 1148 |
+
592
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 9
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. In IJCV, 2015. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
176,
|
| 1157 |
+
599,
|
| 1158 |
+
823,
|
| 1159 |
+
642
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 9
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, and Liang-Chieh Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In CVPR, 2018. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
169,
|
| 1168 |
+
651,
|
| 1169 |
+
825,
|
| 1170 |
+
681
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
171,
|
| 1179 |
+
689,
|
| 1180 |
+
825,
|
| 1181 |
+
719
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In ICML, 2019. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
171,
|
| 1190 |
+
728,
|
| 1191 |
+
825,
|
| 1192 |
+
757
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 9
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Stefan Van Der Walt, S Chris Colbert, and Gael Varoquaux. The numpy array: a structure for efficient numerical computation. In CISE, 2011. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
171,
|
| 1201 |
+
766,
|
| 1202 |
+
825,
|
| 1203 |
+
796
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 9
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. In NeurIPS, 2016. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
804,
|
| 1213 |
+
825,
|
| 1214 |
+
834
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 9
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Huanrui Yang, Wei Wen, and Hai Li. Deephoyer: Learning sparser neural network with differentiable scale-invariant sparsity measures. In ICLR, 2019. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
169,
|
| 1223 |
+
843,
|
| 1224 |
+
823,
|
| 1225 |
+
872
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 9
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Tien-Ju Yang, Andrew Howard, Bo Chen, Xiao Zhang, Alec Go, Mark Sandler, Vivienne Sze, and Hartwig Adam. Netadapt: Platform-aware neural network adaptation for mobile applications. In ECCV, 2018. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
176,
|
| 1234 |
+
881,
|
| 1235 |
+
825,
|
| 1236 |
+
924
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 9
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Jianbo Ye, Xin Lu, Zhe Lin, and James Z Wang. Rethinking the smaller-norm-less-informative assumption in channel pruning of convolution layers. In ICLR, 2018. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
173,
|
| 1245 |
+
103,
|
| 1246 |
+
823,
|
| 1247 |
+
132
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Zhonghui You, Kun Yan, Jinmian Ye, Meng Ma, and Ping Wang. Gate decorator: Global filter pruning method for accelerating deep convolutional neural networks. In NeurIPS, 2019. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
176,
|
| 1256 |
+
141,
|
| 1257 |
+
823,
|
| 1258 |
+
170
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
}
|
| 1262 |
+
]
|
parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/IkYEJ5Cps5H/IkYEJ5Cps5H_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vrCiOrqgl3B/vrCiOrqgl3B.md
ADDED
|
@@ -0,0 +1,683 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OUTLIER-ROBUST OPTIMAL TRANSPORT
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Optimal transport (OT) provides a way of measuring distances between distributions that depends on the geometry of the sample space. In light of recent advances in solving the OT problem, OT distances are widely used as loss functions in minimum distance estimation. Despite its prevalence and advantages, however, OT is extremely sensitive to outliers. A single adversarially-picked outlier can increase OT distance arbitrarily. To address this issue, in this work we propose an outlier-robust OT formulation. Our formulation is convex but challenging to scale at a first glance. We proceed by deriving an equivalent formulation based on cost truncation that is easy to incorporate into modern stochastic algorithms for regularized OT. We demonstrate our model applied to mean estimation under the Huber contamination model in simulation as well as outlier detection on real data.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Optimal transport is a fundamental problem in applied mathematics. In its original form (Monge, 1781), the problem entails finding the minimum cost way to transport mass from a prescribed probability distribution $\mu$ on $\mathcal { X }$ to another prescribed distribution $\nu$ on $\mathcal { X }$ . Kantorovich (1942) relaxed Monge’s formulation of the optimal transport problem to obtain the Kantorovich formulation:
|
| 12 |
+
|
| 13 |
+
$$
|
| 14 |
+
{ \mathrm { O T } } ( \mu , \nu ) \triangleq \operatorname* { m i n } _ { \Pi \in { \mathcal { F } } ( \mu , \nu ) } \mathbb { E } _ { ( X _ { 1 } , X _ { 2 } ) \sim \Pi } { \big [ } c ( X _ { 1 } , X _ { 2 } ) { \big ] } ,
|
| 15 |
+
$$
|
| 16 |
+
|
| 17 |
+
where $\mathcal { F } ( \mu , \nu )$ is the set of couplings between $\mu$ and $\nu$ (probability distributions on $\mathcal { X } \times \mathcal { X }$ whose marginals are $\mu$ and $\nu$ ) and $c$ is a cost function, where we typically assume $c ( x , y ) ~ \geq ~ 0$ and $c ( x , x ) = 0$ . Compared to other notions of distance between probability distributions, optimal transport uniquely depends on the geometry of the sample space.
|
| 18 |
+
|
| 19 |
+
Recent advancements in optimization for optimal transport (Cuturi, 2013; Solomon et al., 2015; Genevay et al., 2016; Seguy et al., 2018) enabled its broad adaptation in machine learning applications where geometry of the data is important. See (Peyre & Cuturi, 2018) for a survey. Optimal ´ transport has found applications in natural language processing (Kusner et al., 2015; Huang et al., 2016; Alvarez-Melis & Jaakkola, 2018; Yurochkin et al., 2019), generative modeling (Arjovsky et al., 2017), clustering (Ho et al., 2017), domain adaptation (Courty et al., 2014; 2017), large-scale Bayesian modeling (Srivastava et al., 2018), and many other domains.
|
| 20 |
+
|
| 21 |
+
Many applications use OT as a loss in an optimization problem of the form:
|
| 22 |
+
|
| 23 |
+
$$
|
| 24 |
+
\theta \in { \mathrm { a r g } } \operatorname* { m i n } _ { \theta \in \Theta } \mathrm { O T } ( \mu _ { n } , \nu _ { \theta } ) ,
|
| 25 |
+
$$
|
| 26 |
+
|
| 27 |
+
where $\{ \nu _ { \theta } \} _ { \theta \in \Theta }$ is a collection of parametric models, $\mu _ { n }$ is the empirical distribution of the samples. Such estimators are called minimum Kantorovich estimators $( M K E )$ (Bassetti et al., 2006). They are popular alternatives to likelihood-based estimators, especially in generative modeling. For example, when $\operatorname { O T } ( \cdot , \cdot )$ is the Wasserstein-1 distance and $\nu _ { \theta }$ is a generator parameterized by a neural network with weights $\theta$ , equation 1.2 corresponds to the Wasserstein GAN (Arjovsky et al., 2017).
|
| 28 |
+
|
| 29 |
+
One drawback of optimal transport is its sensitivity to outliers. Because all the mass in $\mu$ must be transported to $\nu$ , a small fraction of outliers can have an outsized impact on the optimal transport problem. For statistics and machine learning applications in which the data is corrupted or noisy, this is a major issue. For example, the poor performance of Wasserstein GANs in the presence of outliers was noted in the recent works on outlier-robust generative learning with $f$ -divergence GANs (Chao et al., 2018; Wu et al., 2020). The problem of outlier-robustness in MKE has not been studied, with the exception of two concurrent works (Staerman et al., 2020; Balaji et al., 2020).
|
| 30 |
+
|
| 31 |
+
In this paper, we propose a modification of OT to address its sensitivity to outliers. Our formulation can be used as a loss in equation 1.2 so that it is robust to a small fraction of outliers in the data. To keep things simple, we consider the $\epsilon$ -contamination model (Huber & Ronchetti, 2009). Let $\nu _ { \theta _ { 0 } }$ be a member of a parametric model $\{ \nu _ { \theta } : \theta \in \Theta \}$ and let
|
| 32 |
+
|
| 33 |
+
$$
|
| 34 |
+
\mu = ( 1 - \epsilon ) \nu _ { \theta _ { 0 } } + \epsilon \tilde { \nu } ,
|
| 35 |
+
$$
|
| 36 |
+
|
| 37 |
+
where $\mu$ is the data-generating distribution, $\epsilon > 0$ is the fraction of outliers, and $\tilde { \nu }$ is the distribution of the outliers. Although the fraction of outliers is capped at $\epsilon$ , the value of the outliers is arbitrary, so the outliers may have an arbitrarily large impact on the optimal transport problem. Our goal is to modify the optimal transport problem so that it is more robust to outliers. We have in mind the downstream application of learning $\theta _ { 0 }$ from (samples from) $\mu$ in the $\epsilon$ -contamination model. Our main contributions are as follows:
|
| 38 |
+
|
| 39 |
+
1. We propose a robust OT formulation that is suitable for statistical estimation in the $\epsilon$ - contamination model using MKE. 2. We show that our formulation is equivalent to the original OT problem with a clipped transport cost. This connection enables us to leverage the voluminous literature on computational optimal transport to develop efficient algorithm to perform MKE robust to outliers. 3. Our formulation enables a new application of optimal transport: outlier detection in data.
|
| 40 |
+
|
| 41 |
+
# 2 PROBLEM FORMULATION
|
| 42 |
+
|
| 43 |
+
# 2.1 ROBUST OT FOR MKE
|
| 44 |
+
|
| 45 |
+
To promote outlier-robustness in MKE, we need to allow the corresponding OT problem to ignore the outliers in the data distribution $\mu$ . The $\epsilon$ -contamination model imposes a cap on the fraction of outliers, so it is not hard to see that $\| \mu - \nu _ { \theta _ { 0 } } \| _ { \mathsf { T V } } \leq \epsilon$ , where $\| \cdot \| _ { \mathsf { T V } }$ is the total-variation norm defined as $\begin{array} { r } { \| \mu \| _ { \mathrm { I V } } = \int \frac { 1 } { 2 } | \mu ( \mathrm { d } x ) | } \end{array}$ . This suggests we solve a TV-constrained/regularized version of equation 1.2. The constrained version
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\begin{array} { l l } { \displaystyle \operatorname* { m i n } _ { \theta \in \Theta , \tilde { \mu } } } & { \mathrm { O T } ( \tilde { \mu } , \nu _ { \theta } ) } \\ { \mathsf { s u b j e c t } \mathrm { t o } } & { \| \mu - \tilde { \mu } \| _ { \mathsf { T V } } \leq \epsilon } \end{array}
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
suffers from identification issues. In particular, it cannot distinguish between “clean” distributions within TV distance $\epsilon$ of $\nu _ { \theta _ { 0 } }$ . This makes it unsuitable as a loss function for statistical estimation, because it cannot lead to a consistent estimator. However, its regularized counterpart
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\operatorname* { m i n } _ { \theta \in \Theta , s } \mathrm { O T } ( \mu + s , \nu _ { \theta } ) + \lambda \| s \| _ { \mathsf { T V } } ,
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $\lambda > 0$ is a regularization parameter, does not suffer from this issue. In the rest of this paper, we work with the TV-regularized formulation equation 2.1.
|
| 58 |
+
|
| 59 |
+
The main idea of our formulation is to allow for modifications of $\mu$ , while penalizing their magnitude and ensuring that the modified $\mu$ is still a probability measure. Below we formulate this intuition in an optimization problem titled ROBOT (ROBust Optimal Transport):
|
| 60 |
+
|
| 61 |
+
# Formulation 1:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\begin{array} { r } { \mathrm { R O B O T } ( \mu , \nu ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \Pi \in \mathcal { F } ^ { + } ( \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } ) } } & { \displaystyle \int C ( x , y ) \Pi ( \mathrm { d } x , \mathrm { d } y ) + \lambda \| s \| _ { \mathbb { T } \mathbb { V } } } \\ { \displaystyle s \epsilon \mathcal { F } ( \mathbb { R } ^ { d } ) } & { \displaystyle \int _ { B \times \mathbb { R } ^ { d } } \Pi ( \mathrm { d } x , \mathrm { d } y ) = \int _ { B } ( \mu ( \mathrm { d } x ) + s ( \mathrm { d } x ) ) \geq 0 } \\ & { ~ \forall B \in \mathcal { B } ( \mathbb { R } ^ { d } ) \mathrm { ~ ( B o r e ~ } | \sigma - \mathrm { a } | \mathrm { g e b r a } ) } \\ & { ~ \displaystyle \int _ { \mathbb { R } ^ { d } \times \mathcal { C } } \Pi ( \mathrm { d } x , \mathrm { d } y ) = \int _ { C } \nu ( \mathrm { d } y ) ~ \forall C \in \mathcal { B } ( \mathbb { R } ^ { d } ) } \\ & { ~ \displaystyle \int _ { s ( \mathrm { d } x ) = 0 } s ( \mathrm { d } x ) = 0 . } \end{array} \right. } \end{array}
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
Here ${ \mathcal { F } } ( \mathbb { R } ^ { d } )$ denotes the set of all signed measures with finite total variation on $\mathbb { R } ^ { d }$ , $\mathcal { F } ^ { + } ( \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } )$ is the set of all measures with finite total variation on $\mathbb { R } ^ { d } \times \mathbb { R } ^ { d }$ .
|
| 68 |
+
|
| 69 |
+
The first and the last constraints ensure that $\mu + s$ is a valid probability measure, while $\lambda \| s \| _ { \mathrm { T V } }$ penalizes the amount of modifications in $\mu$ . It is worth noting that we can identify exact locations of outliers in $\mu$ by inspecting $\mu + s$ , i.e. if $\dot { \mu ( x ) } + s ( x ) = 0$ , then $x$ got eliminated and is an outlier.
|
| 70 |
+
|
| 71 |
+
ROBOT, unlike classical OT, guarantees that an adversarially picked outliers can not increase the distance arbitrarily. Let $\tilde { \mu } = ( 1 - \epsilon ) \mu + \epsilon \mu _ { c }$ , i.e. $\tilde { \mu }$ is $\mu$ contaminated with outliers from $\mu _ { c }$ , and let $\nu$ be an arbitrary measure (in MKE, $\tilde { \mu }$ is the contaminated data and $\nu$ is the model we learn). Adversary can arbitrarily increase $\operatorname { O T } ( \tilde { \mu } , \nu )$ by manipulating the outlier distribution $\mu _ { c }$ . For ROBOT we have the following bound:
|
| 72 |
+
|
| 73 |
+
Theorem 2.1. Let $\tilde { \mu } = ( 1 - \epsilon ) \mu + \epsilon \mu _ { c }$ for some $\epsilon \in [ 0 , 1 )$ , then
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\mathrm { R O B O T } ( \tilde { \mu } , \nu ) \leq ( \mathrm { O T } ( \mu , \nu ) + \lambda \epsilon \| \mu - \mu _ { c } \| _ { \mathrm { T V } } ) \wedge \lambda \| \tilde { \mu } - \nu \| _ { \mathrm { T V } } \wedge \mathrm { O T } ( \tilde { \mu } , \nu ) .
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
This bound has two key takeaways: since TV norm of any two distributions is bounded by 1, adversary can not increase $\mathrm { R O B O T } ( \tilde { \mu } , \nu )$ arbitrarily; in the absence of outliers, ROBOT is bounded by classical OT. See Appendix C for the proof.
|
| 80 |
+
|
| 81 |
+
Related work We note connection between equation 2.2 and unbalanced OT (UOT) (Chizat., 2017; Chizat et al., 2018). UOT is typically formulated by replacing TV norm with $\operatorname { K L } ( \mu + s | \mu )$ and adding an analogous term for $\nu$ . Chizat et al. (2018) studied entropy regularized UOT with various divergences penalizing marginal violations. Optimization problems similar to equation 2.2 have also been considered outside of the ML literature (Piccoli & Rossi, 2014; Liero et al., 2018). We are unaware of prior applications of UOT to outlier-robustness, but it was studied in the concurrent work of Balaji et al. (2020). Another relevant variation of OT is partial OT (Figalli, 2010; Caffarelli & McCann, 2010). It may also be considered for outlier-robustness, but it has a drawback of forcing mass destruction rather than adjusting marginals to ignore outliers when they are present. A concurrent work by Staerman et al. (2020) took a different path: they replaced the expectation in the Wasserstein-1 dual with a median-of-means to promote robustness. It is unclear what is the corresponding primal, making it hard to interpret as an optimal transport problem.
|
| 82 |
+
|
| 83 |
+
A major challenge with the aforementioned methods, including our Formulation 1, is the difficulty of the optimization problem. This is especially the case for MKEs, where a transport problem has to be solved in every iteration to obtain the gradient of the model parameters. Chizat et al. (2018) proposed a Sinkhorn-like algorithm for entropy regularized UOT, but it is not amenable to stochastic optimization. Balaji et al. (2020) proposed a stochastic optimization algorithm based on the UOT dual, but it requires two additional neural networks (total of four including dual potentials) to parameterize modified marginal distributions (i.e., $\mu + s$ and analogous one for $\nu$ ). Optimizing with a median-of-means in the objective function as in (Staerman et al., 2020) is also challenging. The key contribution of our work is a formulation equivalent to equation 2.2, which is easily compatible with the large body of classical OT optimization techniques (Cuturi, 2013; Solomon et al., 2015; Genevay et al., 2016; Seguy et al., 2018).
|
| 84 |
+
|
| 85 |
+
More efficient equivalent formulation At a first glance, there are two issues with equation 2.2: it appears asymmetric and it is unclear if it can be optimized efficiently. Below we present an equivalent formulation that is free of these issues:
|
| 86 |
+
|
| 87 |
+
# Formulation 2:
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\mathrm { R O B O T } ( \mu , \nu ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \Pi \in \mathcal { F } ^ { + } ( \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } ) } } & { \displaystyle \int C _ { \lambda } ( x , y ) \Pi ( \mathrm { d } x , \mathrm { d } y ) } \\ { \mathrm { s u b j e c t ~ t o } } & { \displaystyle \int _ { B \times \mathbb { R } ^ { d } } \Pi ( \mathrm { d } x , \mathrm { d } y ) = \int _ { B } \mu ( \mathrm { d } x ) \vee B \in \mathcal { B } ( \mathbb { R } ^ { d } ) } \\ & { \displaystyle \int _ { \mathbb { R } ^ { d } \times C } \Pi ( \mathrm { d } x , \mathrm { d } y ) = \int _ { C } \nu ( \mathrm { d } y ) \ \forall C \in \mathcal { B } ( \mathbb { R } ^ { d } ) , } \end{array} \right.
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
where $C _ { \lambda }$ is the truncated cost function defined as $C _ { \lambda } ( x , y ) = C ( x , y ) \wedge 2 \lambda$ . Looking at equation 2.4, it is not apparent that it adds robustness to MKE, but it is symmetric, easy to combine with entropic regularization by simply truncating the cost, and benefits from stochastic optimization algorithms (Genevay et al., 2016; Seguy et al., 2018). This formulation also has a distant relation to the idea of loss truncation for achieving robustness (Shen & Sanghavi, 2019). Pele & Werman (2009) considered the Earth Mover Distance (discrete OT) with truncated cost to achieve computational improvements; they also mentioned its potential to promote robustness against outlier noise but did not explore this direction.
|
| 94 |
+
|
| 95 |
+
In Section 3, we establish equivalence between the two ROBOT formulations, equation 2.2 and equation 2.4. This equivalence allows us to obtain an efficient algorithm based on equation 2.4 for robust MKE. We also provide a simple procedure for computing optimal $s$ in equation 2.2 from the solution of equation 2.4, enabling a new OT application: outlier detection. We verify the effectiveness of robust MKE and outlier detection in our experiments in Section 4. Before presenting the equivalence proof, we formulate the discrete analogs of the two ROBOT formulations for their practical value.
|
| 96 |
+
|
| 97 |
+
# 2.2 DISCRETE ROBOT FORMULATIONS
|
| 98 |
+
|
| 99 |
+
In practice we typically encounter samples from the distributions, rather then the distributions themselves. Sampling is also built into stochastic optimization. In this subsection, we present the discrete versions of the ROBOT formulations. The key detail is that, in equation 2.2, $\mu , \nu$ and $s$ are all supported on $\mathbb { R } ^ { d }$ , while in the discrete case the empirical measures $\mu _ { n } \in \Delta ^ { n - 1 }$ and $\nu _ { m } \in \Delta ^ { m \bar { - } 1 }$ are supported on a set of points ( $\Delta ^ { r }$ is the unit probability simplex in $\mathbb { R } ^ { r }$ ). As a result, to formulate a discrete version of equation 2.2, we need to augment $\mu _ { n }$ and $\nu _ { m }$ with each others’ supports. To be precise, let $\mathrm { s u p } \bar { \mathrm { p } } ( \mu _ { n } ) = \{ X _ { 1 } , \ldots , X _ { n } \}$ and $\operatorname { s u p p } ( \nu _ { m } ) = \{ Y _ { 1 } , . . . , Y _ { m } \}$ . Define $\mathcal { C } = \{ Z _ { 1 } , Z _ { 2 } , \ldots , Z _ { m + n } \} = \{ X _ { 1 } , \ldots , X _ { n } , Y _ { 1 } , \ldots , Y _ { m } \}$ . Then discrete analog of equation 2.2 is
|
| 100 |
+
|
| 101 |
+
# Formulation 1 (discrete):
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\begin{array} { r } { \mathbf { R O B O T } ( \mu _ { n } , \nu _ { m } ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \Pi \in \mathbb { R } ^ { ( m + n ) \times ( m + n ) } } } & { \langle C _ { a u g } , \Pi \rangle + \lambda [ \| s _ { 1 } \| _ { 1 } + \| t _ { 1 } \| _ { 1 } ] } \\ { \mathrm { s t R } \mathrm { ~ e x t e } ^ { m + n } } & \\ { \mathrm { s u b j e c t ~ t o } } & { \Pi \mathrm { l } _ { m + n } = \left[ \begin{array} { l } { \mu _ { n } + s _ { 1 } } \\ { t _ { 1 } } \end{array} \right] , } & { \Pi ^ { \top } \mathrm { 1 } _ { m + n } = \left[ \begin{array} { l } { 0 } \\ { \nu _ { m } } \end{array} \right] } \\ & { \Pi \succeq 0 , ~ 1 _ { m + n } ^ { \top } \mathrm { s } = 0 , } \end{array} \right. } \end{array}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $C _ { a u g } \in \mathbb { R } ^ { ( m + n ) \times ( m + n ) }$ is the augmented cost function $C _ { a u g , i , j } = c ( Z _ { i } , Z _ { j } )$ ( $c$ is the ground cost, e.g., squared Euclidean distance), $\mathbf { s } = ( s _ { 1 } , t _ { 1 } )$ and $1 _ { r }$ is the vector all ones in $\mathbb { R } ^ { r }$ . The TV norm got replaced with its discrete analog, the $L _ { 1 }$ norm. Similarly to its continuous counterpart, the optimization problem is harder than the typical OT due to additional constraint optimization variable s and increased cost matrix size.
|
| 108 |
+
|
| 109 |
+
The discrete analog of equation 2.4 is straightforward:
|
| 110 |
+
|
| 111 |
+
# Formulation 2 (discrete):
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\mathrm { R O B O T } ( \mu _ { n } , \nu _ { m } ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \Pi \in \mathbb { R } ^ { n \times m } } } & { \langle C _ { \lambda } , \Pi \rangle } \\ { \mathrm { s u b j e c t ~ t o } } & { \Pi 1 _ { n } = \mu _ { n } , \Pi ^ { \top } 1 _ { m } = \nu _ { m } , \Pi \succeq 0 , } \end{array} \right.
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
where $C _ { \lambda , i , j } = c ( X _ { i } , Y _ { j } ) { \wedge } 2 { \lambda }$ . As in the continuous case, it is easy to adapt modern (regularized) OT solvers without any computational overhead. As in the continuous case, formulations of equation 2.5 and equation 2.6 are equivalent. It is also possible to recover s of equation 2.5 from the solution of equation 2.6 to perform outlier detection.
|
| 118 |
+
|
| 119 |
+
Two-sided formulation So far we have assumed that one of the input distributions does not have outliers, which is the setting of MKE, where the clean distribution corresponds to the model we learn. In some applications, both distributions may be corrupted. To address this case, we provide an equivalent two-sided formulation, analogous to UOT with TV norm:
|
| 120 |
+
|
| 121 |
+
# Formulation 3 (two-sided):
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array} { r } { \small \mathrm { 3 O B O T } ( \mu _ { n } , \nu _ { m } ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \mathrm { \Pi } \in \mathbb { R } ^ { ( m + n ) \times ( m + n ) } } } & { \langle C _ { a u g } , \Pi \rangle + \lambda [ \| s _ { 1 } \| _ { 1 } + \| t _ { 1 } \| _ { 1 } + \| s _ { 2 } \| _ { 1 } + \| t _ { 2 } \| _ { 1 } ] } \\ { \mathrm { s } _ { 1 } \in \mathbb { R } ^ { m + n } , \mathrm { s } _ { 2 } \in \mathbb { R } ^ { m + n } } \\ { \mathrm { s u b j e c t ~ t o } } & { \Pi \mathrm { 1 } _ { m + n } = \left[ { \mu _ { n } + s _ { 1 } } \right] , \quad \Pi ^ { \top } \mathrm { 1 } _ { m + n } = \left[ { \nu _ { m } + t _ { 2 } } \right] } \\ & { \Pi \succeq 0 , \quad \Pi _ { m + n } ^ { \top } \mathrm { s } _ { 1 } = 0 , \quad \lambda _ { m + n } ^ { \top } \mathrm { s } _ { 2 } = 0 . } \end{array} \right. } \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
where $\mathbf { s } _ { 1 } = ( s _ { 1 } ^ { \top } , t _ { 1 } ^ { \top } ) ^ { \top }$ and $\mathbf { s } _ { 2 } = ( s _ { 2 } ^ { \top } , t _ { 2 } ^ { \top } ) ^ { \top }$ .
|
| 128 |
+
|
| 129 |
+
# 3 EQUIVALENCE OF THE ROBOT FORMULATIONS
|
| 130 |
+
|
| 131 |
+
In this section we present our main theorem, which demonstrates the equivalence between two formulations of the robust optimal transport:
|
| 132 |
+
|
| 133 |
+
Theorem 3.1. For any two measures $\mu$ and $\nu$ , $R O B O T ( \mu , \nu )$ has same value for both the formulations, i.e., Formulation 1 is equivalent to Formulation 2 both for continuous and discrete case. Moreover, we can recover optimal coupling of one formulation from the other.
|
| 134 |
+
|
| 135 |
+
Below we sketch the proof of this theorem and highlight some important techniques used in the proof. We focus on the discrete case as it is more intuitive and has concrete practical implications in our experiments. A complete proof can be found in Appendix A. Please also see Appendix A.2 for the proof of equivalence between Formulations 1, 2 and 3 in the discrete case.
|
| 136 |
+
|
| 137 |
+
# 3.1 PROOF SKETCH
|
| 138 |
+
|
| 139 |
+
In the remainder of this section we consider the discrete case, i.e., equation 2.5 for Formulation 1 (F1) and equation 2.6 for Formulation 2 (F2). Suppose $\Pi _ { 2 } ^ { * }$ is an optimal solution of F2. Then we construct a feasible solution $\Pi _ { 1 } ^ { * }$ , $\mathbf { s } _ { 1 } ^ { * } = ( s _ { 1 } ^ { * } , t _ { 1 } ^ { * } )$ of F1 based on $\Pi _ { 2 } ^ { * }$ with the same value of the objective function as F2 and claim that $( \Pi _ { 1 } ^ { * } , \mathbf { s } _ { 1 } ^ { * } )$ is an optimal solution. We prove the claim by contradiction: if $( \Pi _ { 1 } ^ { * } , \mathbf { s } _ { 1 } ^ { * } )$ is not optimal, then there exists another pair $( \tilde { \Pi } _ { 1 } , \tilde { \bf s } _ { 1 } )$ which is optimal for F1 with strictly 1 1less objective value. We then construct another feasible solution $\Pi _ { 2 , n e w } ^ { * }$ of Formulation 2 which has the same objective value as of $( \tilde { \Pi } _ { 1 } , \tilde { \bf s } _ { 1 } )$ for F1. This implies $\Pi _ { 2 , n e w } ^ { * }$ has strictly less objective value for F2 than $\Pi _ { 2 } ^ { * }$ , which is a contradiction.
|
| 140 |
+
|
| 141 |
+
The two main pillars of this proof are (1) to construct a feasible solution of F1 starting from a feasible solution of F2 and (2) to show that the solution constructed is indeed optimal for F1. Hence step (1) gives a recipe to construct an optimal solution of F1 starting from an optimal solution of F2. We elaborate the first point in the next subsection, which has practical implications for outlier detection. The other point is more technical; interested readers may go through the proof in Appendix A.1.
|
| 142 |
+
|
| 143 |
+
# Algorithm 1 Generating optimal solution of F1 from F2
|
| 144 |
+
|
| 145 |
+
1: Start with $\Pi _ { 2 } ^ { * } \in \mathbb { R } ^ { n \times m }$ , an optimal solution of Formulation 2.
|
| 146 |
+
2: Create an augmented matrix $\mathbf { \bar { I } } \mathbf { I } \in \mathbb { R } ^ { m + n \times m + n }$ with all 0. Divide $\Pi$ into four blocks:
|
| 147 |
+
|
| 148 |
+
$$
|
| 149 |
+
\Pi = \left[ \underbrace { \Pi _ { 1 1 } } _ { n \times n } \underbrace { \Pi _ { 1 2 } } _ { n \times m } \right]
|
| 150 |
+
$$
|
| 151 |
+
|
| 152 |
+
3: Set $\Pi _ { 1 2 } \Pi _ { 2 } ^ { * }$ and collect all the indices $\mathcal { T } = \{ ( i , j ) : C _ { i , j } > 2 \lambda \}$ .
|
| 153 |
+
4: Set $\Pi _ { 1 2 } ( i , j ) 0$ for $( i , j ) \in \mathcal { T }$ .
|
| 154 |
+
5: Set $\begin{array} { r } { \Pi _ { 2 2 } ( j , j ) \sum _ { i = 1 } ^ { n } \Pi _ { 2 } ^ { * } ( i , j ) \mathtt { 1 } _ { ( i , j ) \in \mathcal { I } } } \end{array}$ for all $1 \leq j \leq m$ and set $\Pi _ { 1 } ^ { * } \Pi$ .
|
| 155 |
+
6: Set $\begin{array} { r } { s _ { 1 } ^ { * } ( i ) \leq \sum _ { j = 1 } ^ { m } \Pi _ { 2 } ^ { * } ( i , j ) \mathbb { 1 } _ { ( i , j ) \in \mathcal { I } } } \end{array}$ for all $1 \leq i \leq n$ .
|
| 156 |
+
7: Set $t _ { 1 } ^ { * } ( j ) = \Pi _ { 2 2 } ( j , j )$ for all $1 \leq j \leq m$ .
|
| 157 |
+
8: return $\Pi _ { 1 } ^ { * } , s _ { 1 } ^ { * } , t _ { 1 } ^ { * }$ .
|
| 158 |
+
|
| 159 |
+
# 3.2 GOING FROM FORMULATION 2 TO FORMULATION 1
|
| 160 |
+
|
| 161 |
+
Let $\Pi _ { 2 } ^ { * }$ (respectively $\Pi _ { 1 } ^ { * }$ ) be an optimal solution of F2 (respectively F1). Recall that $\Pi _ { 1 } ^ { * }$ has dimension $( m + n ) \times ( m + n )$ . From the column sum constraint in F1, we need to take the first $n$ columns of $\Pi _ { 1 } ^ { * }$ to be exactly 0, whereas the last $m$ columns must sum up to $\nu _ { m }$ . For any matrix $A$ , we denote by $\mathbf { \bar { \xi } } A [ ( a : b ) \times ( c : d ) ]$ the submatrix consisting of rows from $a$ to $b$ and columns from $c$ to $d$ . Our main idea is to put a modified version of $\Pi _ { 2 } ^ { * }$ in $\bar { \Pi } _ { 1 } ^ { * } [ ( 1 : n ) \times ( n + 1 : m + n ) ]$ and make $\Pi _ { 1 } ^ { * } [ ( n + 1 : m + n ) \times ( n + 1 : m + n ) ]$ diagonal. First we describe how to modify $\Pi _ { 2 } ^ { * }$ . Observe that, if for some $\left( i , j \right) C _ { i , j } > 2 \lambda$ , we expect $X _ { i } \in \mathrm { s u p p } ( \mu _ { n } )$ to be an outlier resulting in high transportation cost, which is why we truncate the cost in F2. Therefore, to get an optimal solution of F1, we make the corresponding value of optimal plan 0 and dump the mass into the corresponding slack variable $t _ { 1 } ^ { * }$ in the diagonal of the bottom right submatrix. This changes the row sum, which is taken care of by $s _ { 1 } ^ { * }$ . But, as we are not moving this mass outside the corresponding column, the column sum of $\bar { \Pi } _ { 1 } ^ { * } [ ( \bar { 1 } : ( m + n ) ) : ( ( n + 1 ) : \bar { ( m + n ) } ) ]$ remains same as column sum of $\Pi _ { 2 } ^ { * }$ , which is $\nu _ { n }$ . We summarize this procedure in Algorithm 1.
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 1: Constructing optimal solution of Formulation 1 from optimal solution of Formulation 2.
|
| 165 |
+
|
| 166 |
+
Example. In Figure 1, we provide an example to visualize the construction. On the left, we have $\Pi _ { 2 } ^ { * }$ , an optimal solution of Formulation 2. The blue triangles denote the positions where the corresponding cost value is $\leq 2 \lambda$ , and light-green squares denote the positions where the corresponding value of the cost matrix is $> 2 \lambda$ . To construct an optimal solution $\Pi _ { 1 } ^ { * }$ of Formulation 1 from this $\Pi _ { 2 } ^ { * }$ , we first create an augmented matrix of size $6 \times 6$ . We keep all the entries of of left $6 \times 3$ sub-matrix as 0 (in this picture blank elements indicate 0). On the right submatrix, we put $\Pi _ { 2 } ^ { * }$ into the top-right block, but remove the masses from light-green squares, i.e. where cost value is $> 2 \lambda$ , and put it in the diagonal entries of the bottom right block as shown in Figure 1. This mass contributes to the slack variables $s _ { 1 }$ and $t _ { 1 }$ , and this augmented matrix along with $s _ { 1 } , t _ { 1 }$ give us an optimal solution of Formulation 1.
|
| 167 |
+
|
| 168 |
+
# 3.3 OUTLIER DETECTION WITH ROBOT
|
| 169 |
+
|
| 170 |
+
Our construction algorithm has practical consequences for outlier detection. Suppose we have two datasets, a clean dataset $\nu _ { m }$ (i.e., has no outliers) and an outlier-contaminated dataset $\mu _ { n }$ . We can detect the outliers in $\mu _ { n }$ without directly solving costly Formulation 1 by following Algorithm 2. In this algorithm, $\lambda$ is a regularization parameter that can be chosen via cross-validation or heuristically (see Section 4.2 for an example). In Section 4.2, we use this algorithm to perform outlier detection on image data.
|
| 171 |
+
|
| 172 |
+
# Algorithm 2 Outlier detection in contaminated data
|
| 173 |
+
|
| 174 |
+
<table><tr><td>Algorithm2 Outlierdetectionincontaminateddata</td></tr><tr><td>1: Start with μn (contaminted data) and Vm (clean data).</td></tr><tr><td>2:Solve Formulation 2 and obtain II* using a suitable value of 入.</td></tr><tr><td>3: Use Algorithm 1 to obtain II*,s*,t* from II*.</td></tr><tr><td>4: Find I,the set of all the indices where μn + s* = 0.</td></tr><tr><td> 5: Return I as the indices of outliers in μn·</td></tr></table>
|
| 175 |
+
|
| 176 |
+
Table 1: Robust mean estimation with GANs using different distribution divergences. True mean is $\eta _ { 0 } = \mathbf { 0 } _ { 5 }$ ; sample size $n = 1 0 0 0$ ; contamination proportion $\epsilon = 0 . 2$ . We report results over 30 experiment restarts.
|
| 177 |
+
|
| 178 |
+
<table><tr><td>Contamination</td><td> JS Loss</td><td>SH Loss</td><td>RKL Loss</td><td>ROBOT</td><td>UOT</td></tr><tr><td>N(0.1·15, I5)</td><td>0.09 ± 0.03</td><td>0.11 ± 0.03</td><td>0.115±0.03</td><td>0.1 ± 0.03</td><td>0.1 ± 0.04</td></tr><tr><td>N(0.5·15,I5)</td><td>0.23 ± 0.04</td><td>0.24 ± 0.05</td><td>0.24 ± 0.05</td><td>0.117±0.03</td><td>0.2 ± 0.04</td></tr><tr><td>N(1·15,I5)</td><td>0.43 ± 0.05</td><td>0.43 ± 0.06</td><td>0.43±0.06</td><td>0.261±0.06</td><td>0.25 ± 0.05</td></tr><tr><td>N(2·15,15)</td><td>0.67 ± 0.07</td><td>0.67 ± 0.08</td><td>0.67 ± 0.08</td><td>0.106 ± 0.03</td><td>0.1 ± 0.03</td></tr></table>
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 2: Empirical study of regularization hyperparameter $\lambda$ sensitivity
|
| 182 |
+
|
| 183 |
+
# 4 EMPIRICAL STUDIES
|
| 184 |
+
|
| 185 |
+
To evaluate effectiveness of ROBOT, we consider the task of robust mean estimation under the Huber contamination model. The data is generated from $( 1 - \epsilon ) \mathcal { N } ( \eta _ { 0 } , I _ { d } ) + \epsilon \mathcal { N } ( \eta _ { 1 } , I _ { d } )$ and the goal is to estimate $\eta _ { 0 }$ . Prior work has advocated for using $f$ -divergence GANs (Chao et al., 2018; Wu et al., 2020) for this problem and pointed out inefficiencies of Wasserstein GAN in the presence of outliers. We show that our robust OT formulation allows us to estimate the uncontaminated mean $\eta _ { 0 }$ comparably or better than a variety of $f$ -divergence GANs. We also use this simulated setup to study sensitivity to the regularization hyperparameter $\lambda$ .
|
| 186 |
+
|
| 187 |
+
In our second experiment, we present a new application of optimal transport enabled by ROBOT. Suppose we have collected a curated dataset $\nu _ { m }$ (i.e., we know that it has no outliers)—such data collection is expensive, and we want to benefit from it to automate subsequent data collection. Let $\mu _ { n }$ be a second dataset collected “in the wild,” i.e., it may or may not have outliers. We demonstrate how ROBOT can be used to identify outliers in $\mu _ { n }$ using the curated dataset $\nu _ { m }$ .
|
| 188 |
+
|
| 189 |
+
# 4.1 ROBUST MEAN ESTIMATION
|
| 190 |
+
|
| 191 |
+
Following Wu et al. (2020), we consider a simple generator of the form $g _ { \theta } ( x ) = x + \theta ,$ $x \sim$ $\mathcal { N } ( 0 , I _ { d } )$ , $d$ is the data dimension. The basic idea of robust mean estimation with GANs is to minimize various distributional divergences between samples from $g _ { \theta }$ and observed data simulated from $( 1 - \epsilon ) \mathcal { N } ( \eta _ { 0 } , I _ { d } ) + \epsilon \mathcal { N } ( \eta _ { 1 } , I _ { d } )$ . The goal is to estimate $\eta _ { 0 }$ with $\theta$ . To efficiently implement ROBOT GAN, we use a standard min-max optimization approach: solve the inner max (ROBOT) and use gradient descent for the outer min parameter. To solve ROBOT, it is straightforward to adopt any of the prior stochastic regularized OT solvers: the only modification is the truncation of the cost entries as in equation 2.6. We use the stochastic algorithm for semi-discrete regularized OT from (Genevay et al., 2016, Algorithm 2). We summarize ROBOT GAN in Algorithm 3. Line 5 - Line 10 perform the inner optimization where we solve entropy regularized OT dual with truncated cost and Line 11 - Line 12 perform gradient update of $\theta$ .
|
| 192 |
+
|
| 193 |
+
# Algorithm 3 ROBOT GAN
|
| 194 |
+
|
| 195 |
+
1: Input: robustness regularizion $\lambda$ , entropic regularization $\alpha$ , data distribution $\mu _ { n } \in \Delta ^ { n - 1 }$ ,
|
| 196 |
+
$s u p p ( \mu _ { n } ) = \mathcal { X } = [ X _ { 1 } , \ldots , X _ { n } ]$ , steps sizes $\tau$ and $\gamma$
|
| 197 |
+
2: Initialize: Initialize $\theta = \theta _ { i n i t }$ , set number of iterations $M$ and $L$ , $i = 0$ , ${ \bf v } = \tilde { \bf v } = { \bf 0 }$ .
|
| 198 |
+
3: for $j = 1 , \dots , M$ do
|
| 199 |
+
4: Generate $\tilde { z } \sim \mathcal { N } ( 0 , I _ { d } )$ and set $z = \tilde { z } + \theta$ .
|
| 200 |
+
5: Set the cost vector $\mathbf { c } \in \mathbb { R } ^ { n }$ as $\mathbf { c } ( k ) = c ( X _ { k } , z ) \wedge 2 \lambda$ for $k = 1 , \dots , n$ .
|
| 201 |
+
6: for $i = 1 , \ldots , L$ do $\triangleright$ solve entropy regularized OT dual
|
| 202 |
+
7: Set $\mathbf { h } { \frac { \tilde { \mathbf { v } } - \mathbf { c } } { \alpha } }$ and do the normalized exponential transformation $\mathbf { \bar { u } } \gets \frac { e ^ { \mathbf { h } } } { \langle \mathbf { 1 } , e ^ { \mathbf { h } } \rangle }$ .
|
| 203 |
+
8: Calculate the gradient $\nabla \tilde { \mathbf { v } } \mu _ { n } - \mathbf { u }$ .
|
| 204 |
+
9: Update $\tilde { \mathbf { v } } \tilde { \mathbf { v } } + \gamma \nabla \tilde { \mathbf { v } }$ and $\mathbf { v } ( 1 / ( j + i ) ) \tilde { \mathbf { v } } + ( j + i - 1 / ( j + i ) ) \mathbf { v } .$ .
|
| 205 |
+
10: Do the same transformation of $\mathbf { v }$ as in Step 7, i.e. set $\mathbf { h } { \frac { \mathbf { v } - \mathbf { c } } { \alpha } }$ and set $\begin{array} { r } { \bar { \Pi } \frac { e ^ { \mathbf { h } } } { \langle \mathbf { 1 } , e ^ { \mathbf { h } } \rangle } } \end{array}$ .
|
| 206 |
+
11: Set $\Pi ( k ) = 0$ for $k$ such that $C ( X _ { k } , z ) > 2 \lambda$ for $k = 1 , \dots , n$ .
|
| 207 |
+
12: Calculate gradient with respect to $\theta$ as $\begin{array} { r } { \nabla \theta = 2 \left[ z \sum _ { k } \Pi ( k ) - \mathcal { X } ^ { \top } \Pi \right] } \end{array}$
|
| 208 |
+
13: Update $\theta \theta - \tau \nabla \theta$ .
|
| 209 |
+
|
| 210 |
+
14: Ouput: $\theta$
|
| 211 |
+
|
| 212 |
+
For the $f$ -divergence GANs (Nowozin et al., 2016) we use the code of Wu et al. (2020) for GANs with Jensen-Shannon (JS) loss, squared Hellinger (SH) loss and Reverse Kullback-Leibler (RKL) loss. For the exact expression of these divergences see Table 1 of $\mathbf { W } \mathbf { u }$ et al. (2020). We report estimation error measured by the Euclidean distance between true uncontaminated mean $\eta _ { 0 }$ and estimated mean $\theta$ for various contamination distributions in Table 1. ROBOT GAN performs well across all considered contamination distributions. As the difference between true mean $\eta _ { 0 }$ and contamination mean $\eta _ { 1 }$ increases, the estimation error of all methods tends to increase. However, when it becomes easier to distinguish outliers from clean samples, i.e., $\eta _ { 1 } = 2 \cdot { \bf 1 _ { 5 } }$ , performance of ROBOT noticeably improves.
|
| 213 |
+
|
| 214 |
+
We also compared to the Sinkhorn-based UOT algorithm (Chizat et al., 2018) available in the Python Optimal Transport (POT) library (Flamary & Courty, 2017); to obtain a UOT GAN, we modified steps 5-11 of Algorithm 3 for computing Π. Unsurprisingly, both ROBOT and UOT perform similarly: recall equivalence to Formulation 3, which is similar to UOT with TV norm. The key insight of our work is the equivalence to classical OT with truncated cost, that greatly simplifies optimization and allows to use existing stochastic OT algorithms. In this experiment, the sample size $n = 1 0 0 0$ is sufficiently small for the Sinkhorn-based UOT POT implementation to be effective, but it breaks in the experiment we present in Section 4.2. We also tried the code of Balaji et al. (2020) based on CVXPY (Diamond & Boyd, 2016), but it is too slow even for the $n = 1 0 0 0$ sample size.
|
| 215 |
+
|
| 216 |
+
In the previous experiment, we set $\lambda = 0 . 5$ . Now we demonstrate empirically that there is a broad range of $\lambda$ values performing well. In Figure 2a, we study sensitivity of $\lambda$ under various contamination proportions $\epsilon$ holding $\eta _ { 0 } = \mathbf { 1 } _ { 5 }$ and $\eta _ { 1 } = 5 \cdot { \bf 1 } _ { 5 }$ fixed. Horizontal lines correspond to $\lambda = \infty$ , i.e., vanilla OT. The key observations are: there is a wide range of $\lambda$ efficient at all contamination proportions, and ROBOT is always at least as good as vanilla OT (even when there is no contamination $\epsilon = 0$ ). In Figure 2b, we present a similar study varying the mean of the contamination distribution and holding $\epsilon = 0 . 2$ fixed. We see that as the contamination distribution gets closer to the true distribution, it becomes harder to pick a good $\lambda$ , but the performance is always at least as good as the vanilla OT (horizontal lines).
|
| 217 |
+
|
| 218 |
+
# 4.2 OUTLIER DETECTION FOR DATA COLLECTION
|
| 219 |
+
|
| 220 |
+
Our robust OT formulation equation 2.5 enables outlier identification. Let $\nu _ { m }$ be a clean dataset and $\mu _ { n }$ potentially contaminated with outliers. Recall that ROBOT allows modification of one of the input distributions to eliminate potential outliers. We can identify outliers in $\mu _ { n }$ as follows: if $\mu _ { n } ( i ) \mathbf { \bar { + } } s _ { 1 } ^ { * } ( i ) = 0$ , then $X _ { i }$ , the $i$ th point in $\mu _ { n }$ , is an outlier. Instead of directly solving equation 2.5, which may be inefficient, we use our equivalence results and solve an easier optimization problem equation 2.6, followed by recovering s to find outliers via Algorithm 2.
|
| 221 |
+
|
| 222 |
+

|
| 223 |
+
Figure 3: Random sample of outliers detected by ROBOT from a dataset of MNIST digits contaminated with Fashion MNIST images.
|
| 224 |
+
|
| 225 |
+
Let $\nu _ { m }$ be a clean dataset consisting of 10k MNIST digits and $\mu _ { n }$ be a dataset collected “in the wild” consisting of (different) 8k MNIST digits and 2k Fashion MNIST images. We compute $\mathrm { R O B O T } ( \mu _ { n } , \nu _ { m } )$ to identify outlier Fashion MNIST images in $\mu _ { n }$ . For each point in $\mu _ { n }$ we obtain a prediction, outlier or clean, which allows us to evaluate accuracy. ROBOT outlier detection is $90 \%$ accurate in this experiment. We also comment on $\lambda$ selection: since we know that $\nu _ { m }$ is clean, we can subsample two datasets from it, compute vanilla OT to obtain transportation plan $\Pi$ and set $\lambda$ to be half the maximum distance between matched elements, i.e. $2 \lambda = \mathrm { \bar { m a x } } _ { i , j } \{ C _ { i j } ^ { - } : \Pi _ { i j } > 0 \}$ , where $C$ is the cost matrix for the two subsampled datasets. This procedure is essentially estimating maximum distance between matched clean samples. We also present a random sample of outliers identified by our method in Figure 3. All of the sampled outliers are Fashion MNIST images, although $90 \%$ accuracy suggests that some of the outliers were not identified. Decreasing $\lambda$ can help to find more outliers, but may result in some clean samples being mistaken for outliers. We conclude that ROBOT can be used to assist in data collection once an initial set of clean data has been acquired. As we mentioned previously, the Sinkhorn-based UOT POT implementation is too expensive for this experiment due to larger sample size, yielding memory errors on a personal laptop with 16GB RAM.
|
| 226 |
+
|
| 227 |
+
For comparison, we also consider a heuristic distance-based approach for identifying outliers. We estimate diameter $\tau$ of the set of clean dataset $\nu _ { m }$ by taking the 99th percentile of the pairwise distance matrix of samples in $\nu _ { m }$ . If outliers and clean data have disjoint support, we can adopt a simple heuristic: for each sample in the potentially contaminated $\mu _ { n }$ compute an average distance to the clean samples in $\nu _ { m }$ and declare a sample as an outlier if this average distance is greater than the diameter $\tau$ of the clean data. The accuracy of this procedure is $8 5 . 4 \%$ , inferior to the ROBOT accuracy of $90 \%$ . The disjoint support assumption justifying the distance-based heuristic might be too strong in practice. ROBOT continues to be effective even when the supports of clean and outlier distributions are not easily separable.
|
| 228 |
+
|
| 229 |
+
# 5 SUMMARY AND DISCUSSION
|
| 230 |
+
|
| 231 |
+
We proposed and studied ROBOT, a robust formulation of optimal transport. We showed that although the problem is seemingly asymmetric and challenging to optimize, there is an equivalent formulation based on cost truncation that is symmetric and compatible with modern stochastic optimization methods for OT.
|
| 232 |
+
|
| 233 |
+
ROBOT closely resembles unbalanced optimal transport (UOT). In our formulation, we added a TV regularizer to the vanilla optimal transport problem. This is motivated by the $\epsilon$ -contamination model. In UOT, the TV regularizer is typically replaced with a KL divergence. Other choices of the regularizer may lead to new properties and applications. Studying equivalent, simpler formulations of UOT with different divergences may be a fruitful future work direction.
|
| 234 |
+
|
| 235 |
+
From the practical perspective, in our experiments we observed no degradation of ROBOT GAN in comparison to OT GAN, even when there were no outliers. It is possible that replacing OT with ROBOT may be beneficial for various machine learning applications of OT. Data encountered in practice may not be explicitly contaminated with outliers, but it often has errors and other deficiencies, suggesting that a “no-harm” robustness is desirable.
|
| 236 |
+
|
| 237 |
+
# REFERENCES
|
| 238 |
+
|
| 239 |
+
David Alvarez-Melis and Tommi S Jaakkola. Gromov-Wasserstein alignment of word embedding spaces. arXiv:1809.00013, 2018.
|
| 240 |
+
|
| 241 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. ´ arXiv:1701.07875 [cs, stat], January 2017.
|
| 242 |
+
|
| 243 |
+
Yogesh Balaji, Rama Chellappa, and Soheil Feizi. Robust optimal transport with applications in generative modeling and domain adaptation. Advances in Neural Information Processing Systems, 33, 2020.
|
| 244 |
+
|
| 245 |
+
Federico Bassetti, Antonella Bodini, and Eugenio Regazzini. On minimum Kantorovich distance estimators. Statistics & Probability Letters, 76(12):1298–1302, 2006.
|
| 246 |
+
|
| 247 |
+
Luis A Caffarelli and Robert J McCann. Free boundaries in optimal transport and Monge-Ampere obstacle problems. Annals of Mathematics, pp. 673–730, 2010.
|
| 248 |
+
|
| 249 |
+
Gao Chao, Yao Yuan, and Zhu Weizhi. Robust estimation via generative adversarial networks. In International Conference on Learning Representations, 2018.
|
| 250 |
+
|
| 251 |
+
Lenaic Chizat, Gabriel Peyre, Bernhard Schmitzer, and Franc¸ois-Xavier Vialard. Scaling algorithms ´ for unbalanced optimal transport problems. Mathematics of Computation, 87(314):2563–2609, 2018.
|
| 252 |
+
|
| 253 |
+
Lena¨ıc Chizat. Unbalanced optimal transport: Models, numerical methods, applications. Numerical Analysis [math.NA]. Universite Paris sciences et lettres ´ , 2017.
|
| 254 |
+
|
| 255 |
+
Nicolas Courty, Remi Flamary, and Devis Tuia. Domain adaptation with regularized optimal´ transport. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 274–289. Springer, 2014.
|
| 256 |
+
|
| 257 |
+
Nicolas Courty, Remi Flamary, Amaury Habrard, and Alain Rakotomamonjy. Joint distribution ´ optimal transportation for domain adaptation. In Advances in Neural Information Processing Systems, pp. 3730–3739, 2017.
|
| 258 |
+
|
| 259 |
+
Marco Cuturi. Sinkhorn Distances: Lightspeed Computation of Optimal Transport. In C. J. C. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 26, pp. 2292–2300. Curran Associates, Inc., 2013.
|
| 260 |
+
|
| 261 |
+
Steven Diamond and Stephen Boyd. CVXPY: A Python-embedded modeling language for convex optimization. Journal of Machine Learning Research, 17(83):1–5, 2016.
|
| 262 |
+
|
| 263 |
+
Alessio Figalli. The optimal partial transport problem. Archive for Rational Mechanics and Analysis, 195(2):533–560, 2010.
|
| 264 |
+
|
| 265 |
+
Remi Flamary and Nicolas Courty. POT Python optimal transport library, 2017. URL ´ https: //pythonot.github.io/.
|
| 266 |
+
|
| 267 |
+
Aude Genevay, Marco Cuturi, Gabriel Peyre, and Francis Bach. Stochastic optimization for large- ´ scale optimal transport. In Advances in Neural Information Processing Systems, pp. 3440–3448, 2016.
|
| 268 |
+
|
| 269 |
+
Nhat Ho, XuanLong Nguyen, Mikhail Yurochkin, Hung Hai Bui, Viet Huynh, and Dinh Phung. Multilevel clustering via Wasserstein means. In International Conference on Machine Learning, pp. 1501–1509, 2017.
|
| 270 |
+
|
| 271 |
+
Gao Huang, Chuan Guo, Matt J Kusner, Yu Sun, Fei Sha, and Kilian Q Weinberger. Supervised word mover’s distance. In Advances in Neural Information Processing Systems, pp. 4862–4870, 2016.
|
| 272 |
+
|
| 273 |
+
Peter J. Huber and Elvezio Ronchetti. Robust Statistics. Wiley Series in Probability and Statistics. Wiley, Hoboken, N.J, 2nd ed edition, 2009. ISBN 978-0-470-12990-6.
|
| 274 |
+
|
| 275 |
+
Leonid Vitalievich Kantorovich. On the translocation of masses. In Dokl. Akad. Nauk. USSR (NS), volume 37, pp. 199–201, 1942.
|
| 276 |
+
|
| 277 |
+
Matt Kusner, Yu Sun, Nicholas Kolkin, and Kilian Weinberger. From Word Embeddings To Document Distances. In International Conference on Machine Learning, pp. 957–966, June 2015.
|
| 278 |
+
|
| 279 |
+
Matthias Liero, Alexander Mielke, and Giuseppe Savare. Optimal entropy-transport problems and a ´ new Hellinger–Kantorovich distance between positive measures. Inventiones Mathematicae, 211 (3):969–1117, 2018.
|
| 280 |
+
|
| 281 |
+
Gaspard Monge. Memoire sur la th ´ eorie des d ´ eblais et des remblais ´ . De l’Imprimerie Royale, 1781.
|
| 282 |
+
|
| 283 |
+
Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-GAN: Training generative neural samplers using variational divergence minimization. In Advances in Neural Information Processing Systems, pp. 271–279, 2016.
|
| 284 |
+
|
| 285 |
+
Ofir Pele and Michael Werman. Fast and robust earth mover’s distances. In 2009 IEEE 12th International Conference on Computer Vision, pp. 460–467. IEEE, 2009.
|
| 286 |
+
|
| 287 |
+
Gabriel Peyre and Marco Cuturi. Computational Optimal Transport. ´ arXiv:1803.00567 [stat], March 2018.
|
| 288 |
+
|
| 289 |
+
Benedetto Piccoli and Francesco Rossi. Generalized Wasserstein distance and its application to transport equations with source. Archive for Rational Mechanics and Analysis, 211(1):335–358, 2014.
|
| 290 |
+
|
| 291 |
+
Vivien Seguy, Bharath Bhushan Damodaran, Remi Flamary, Nicolas Courty, Antoine Rolet, and ´ Mathieu Blondel. Large-Scale Optimal Transport and Mapping Estimation. arXiv:1711.02283 [stat], February 2018.
|
| 292 |
+
|
| 293 |
+
Yanyao Shen and Sujay Sanghavi. Learning with bad training data via iterative trimmed loss minimization. In International Conference on Machine Learning, pp. 5739–5748. PMLR, 2019.
|
| 294 |
+
|
| 295 |
+
Justin Solomon, Fernando De Goes, Gabriel Peyre, Marco Cuturi, Adrian Butscher, Andy Nguyen, ´ Tao Du, and Leonidas Guibas. Convolutional Wasserstein distances: Efficient optimal transportation on geometric domains. ACM Transactions on Graphics (TOG), 34(4):1–11, 2015.
|
| 296 |
+
|
| 297 |
+
Sanvesh Srivastava, Cheng Li, and David B. Dunson. Scalable Bayes via Barycenter in Wasserstein Space. arXiv:1508.05880 [stat], June 2018.
|
| 298 |
+
|
| 299 |
+
Guillaume Staerman, Pierre Laforgue, Pavlo Mozharovskyi, and Florence d’Alche Buc. When OT´ meets MOM: Robust estimation of Wasserstein distance. arXiv:2006.10325, 2020.
|
| 300 |
+
|
| 301 |
+
C. Villani. Optimal Transport: Old and New. Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of Mathemtical Sciences]. Springer, Berlin, 2009.
|
| 302 |
+
|
| 303 |
+
Kaiwen Wu, Gavin Weiguang Ding, Ruitong Huang, and Yaoliang Yu. On Minimax Optimality of GANs for Robust Mean Estimation. In International Conference on Artificial Intelligence and Statistics, pp. 4541–4551, June 2020.
|
| 304 |
+
|
| 305 |
+
Mikhail Yurochkin, Sebastian Claici, Edward Chien, Farzaneh Mirzazadeh, and Justin Solomon. Hierarchical Optimal Transport for Document Representation. arXiv:1906.10827 [cs, stat], June 2019.
|
| 306 |
+
|
| 307 |
+
# A PROOF OF THEOREM 3.1
|
| 308 |
+
|
| 309 |
+
A.1 PROOF OF DISCRETE VERSION
|
| 310 |
+
|
| 311 |
+
Proof. Define a matrix $\Pi$ as:
|
| 312 |
+
|
| 313 |
+
$$
|
| 314 |
+
\Pi ( i , j ) = { \left\{ \begin{array} { l l } { 0 , } & { { \mathrm { i f ~ } } C ( i , j ) > 2 \lambda } \\ { \Pi _ { 2 } ^ { * } ( i , j ) , } & { { \mathrm { o t h e r w i s e } } } \end{array} \right. }
|
| 315 |
+
$$
|
| 316 |
+
|
| 317 |
+
Also define $s \in \mathbb { R } ^ { n }$ and $t \in \mathbb { R } ^ { m }$ as:
|
| 318 |
+
|
| 319 |
+
$$
|
| 320 |
+
s _ { 1 } ^ { * } ( i ) = - \sum _ { j = 1 } ^ { m } \Pi _ { 2 } ^ { * } ( i , j ) \mathbb { 1 } _ { C ( i , j ) > 2 \lambda }
|
| 321 |
+
$$
|
| 322 |
+
|
| 323 |
+
and similarly define:
|
| 324 |
+
|
| 325 |
+
$$
|
| 326 |
+
t _ { 1 } ^ { * } ( j ) = \sum _ { i = 1 } ^ { n } \Pi _ { 2 } ^ { * } ( i , j ) \mathbb { 1 } _ { C ( i , j ) > 2 \lambda }
|
| 327 |
+
$$
|
| 328 |
+
|
| 329 |
+
These vectors corresponds to the row sums and the column sums of the elements of the optimal transport plan of Formulation 2, where the cost function exceeds $2 \lambda$ . Note that, these co-ordinates of the optimal transport plan corresponding to those co-ordinates of cost matrix, where the cost is greater than $2 \lambda$ and contribute to the objective value via their sum only, hence any different arrangement of these transition probabilities with same sum gives the same objective value.
|
| 330 |
+
|
| 331 |
+
Now based on this $\Pi$ obtained we construct a feasible solution of Formulation 1 following Algorithm 1:
|
| 332 |
+
|
| 333 |
+
$$
|
| 334 |
+
\Pi _ { 1 } ^ { * } = \left[ \mathbf { 0 } \atop \mathbf { 0 } \quad \mathbf { d i a g } ( t _ { 1 } ^ { * } ) \right]
|
| 335 |
+
$$
|
| 336 |
+
|
| 337 |
+
The row sums of $\Pi _ { 1 } ^ { * }$ is:
|
| 338 |
+
|
| 339 |
+
$$
|
| 340 |
+
\Pi _ { 1 } ^ { * } \mathbf { 1 } = \left[ { \mu _ { n } + s _ { 1 } ^ { * } } \right]
|
| 341 |
+
$$
|
| 342 |
+
|
| 343 |
+
and it is immediate from the construction that the column sums of $\Pi _ { 1 } ^ { * }$ is $\nu _ { m }$ . Also as:
|
| 344 |
+
|
| 345 |
+
$$
|
| 346 |
+
\sum _ { i = 1 } ^ { n } s _ { 1 } ^ { * } ( i ) = \sum _ { j = 1 } ^ { m } t _ { 1 } ^ { * } ( j ) = \sum _ { ( i , j ) : C _ { i , j } > 2 \lambda } \Pi _ { 2 } ^ { * } ( i , j ) \nonumber
|
| 347 |
+
$$
|
| 348 |
+
|
| 349 |
+
and $s _ { 1 } ^ { * } \preceq 0 , t _ { 1 } ^ { * } \succeq 0$ , we have:
|
| 350 |
+
|
| 351 |
+
$$
|
| 352 |
+
\mathbf { 1 } ^ { \top } ( \mu _ { n } + s _ { 1 } ^ { * } + t _ { 1 } ^ { * } ) = \mathbf { 1 } ^ { \top } p = 1 .
|
| 353 |
+
$$
|
| 354 |
+
|
| 355 |
+
Therefore, we have $( \Pi _ { 1 } ^ { * } , s _ { 1 } ^ { * } , t _ { 1 } ^ { * } )$ is a feasible solution of Formulation 1. Now suppose this is not an optimal solution. Pick an optimal solution $\tilde { \Pi } , \tilde { s } , \tilde { t }$ of Formulation 1 so that:
|
| 356 |
+
|
| 357 |
+
$$
|
| 358 |
+
\langle C _ { a u g } , \tilde { \Pi } \rangle + \lambda \left[ \lVert \tilde { s } \rVert _ { 1 } + \lVert \tilde { t } \rVert _ { 1 } \right] < \langle C _ { a u g } , \Pi _ { 1 } ^ { * } \rangle + \lambda \left[ \lVert s _ { 1 } ^ { * } \rVert _ { 1 } + \lVert t _ { 1 } ^ { * } \rVert _ { 1 } \right]
|
| 359 |
+
$$
|
| 360 |
+
|
| 361 |
+
The following two lemmas provide some structural properties of any optimal solution of Formulation 1:
|
| 362 |
+
|
| 363 |
+
Lemma A.1. Suppose $\Pi _ { 1 } ^ { * } , s _ { 1 } ^ { * } , t _ { 1 } ^ { * }$ are optimal solution for Formulation $^ { l }$ . Divide $\Pi _ { 1 } ^ { * }$ into four parts corresponding to augmentation as in algorithm $I$ :
|
| 364 |
+
|
| 365 |
+
$$
|
| 366 |
+
\Pi _ { 1 } ^ { * } = \left[ \begin{array} { c c } { { \Pi _ { 1 , 1 1 } ^ { * } } } & { { \Pi _ { 1 , 1 2 } ^ { * } } } \\ { { \Pi _ { 1 , 2 1 } ^ { * } } } & { { \Pi _ { 1 , 2 2 } ^ { * } } } \end{array} \right]
|
| 367 |
+
$$
|
| 368 |
+
|
| 369 |
+
Then we have $\Pi _ { 1 , 1 1 } ^ { * } = \Pi _ { 1 , 2 1 } ^ { * } = \mathbf { 0 }$ and $\Pi _ { 1 , 2 2 } ^ { * }$ is a diagonal matrix.
|
| 370 |
+
|
| 371 |
+
Lemma A.2. $H \Pi _ { 1 } ^ { * } , s _ { 1 } ^ { * } , t _ { 1 } ^ { * }$ is an optimal solution of Formulation $^ { l }$ then:
|
| 372 |
+
|
| 373 |
+
1. If $C _ { i , j } > 2 \lambda$ then $\Pi _ { 1 } ^ { * } ( i , j ) = 0$ .
|
| 374 |
+
2. If $C _ { i , j } < 2 \lambda$ for some i and for all $1 \leq j \leq n$ , then $s _ { 1 } ^ { * } ( i ) = 0$ .
|
| 375 |
+
3. If $C _ { i , j } < 2 \lambda$ for some $j$ and for all $1 \leq i \leq m$ , then $t _ { 1 } ^ { * } ( j ) = 0$
|
| 376 |
+
4. If $C _ { i , j } < 2 \lambda$ then $s _ { 1 } ^ { * } ( i ) t _ { 1 } ^ { * } ( j ) = 0$ .
|
| 377 |
+
|
| 378 |
+
We provide the proofs in the next subsection. By Lemma A.1 we can assume without loss of generality:
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\tilde { \Pi } = \left[ \begin{array} { c c } { \mathbf { 0 } } & { \tilde { \Pi } _ { 1 2 } } \\ { \mathbf { 0 } } & { \mathsf { d i a g } ( \tilde { t } ) } \end{array} \right]
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
Now based on $\Big ( \tilde { \Pi } , \tilde { s } , \tilde { t } \Big )$ we create a feasible solution namely $\Pi _ { 2 , n e w } ^ { * }$ of Formulation 2 as follows: Define the set of indices $\{ i _ { 1 } , \cdots , i _ { k } \}$ and $\{ j _ { 1 } , \ldots , j _ { l } \}$ as:
|
| 385 |
+
|
| 386 |
+
$$
|
| 387 |
+
\begin{array} { r } { \tilde { s } _ { i _ { 1 } } , \tilde { s } _ { i _ { 2 } } , \ldots , \tilde { s } _ { i _ { k } } > 0 \quad \mathrm { a n d } \quad \tilde { t } _ { j _ { 1 } } , \tilde { t } _ { j _ { 2 } } , \ldots , \tilde { t } _ { j _ { l } } > 0 . } \end{array}
|
| 388 |
+
$$
|
| 389 |
+
|
| 390 |
+
Then by part (4) of Lemma A.2 we have $C _ { i _ { \alpha } , j _ { \beta } } > 2 \lambda$ for $\alpha \in \{ 1 , \ldots , k \}$ and $\beta \in \{ 1 , \ldots , l \}$ . Also by part (2) of Lemma A.2 the value of transport plan at these co-ordinates is 0. Now distribute the mass of slack variables in these co-ordinates such that the marginals of new transport plan becomes exactly $\mu _ { n }$ and $\nu _ { m }$ . This new transport plan is our $\Pi _ { 2 , n e w } ^ { * }$ . Recall that, $\| \tilde { s } \| _ { 1 } = \widetilde { \| \dot { t } \| _ { 1 } }$ . Hence, here the regularizer value decreases by $2 \lambda \| \tilde { s } \| _ { 1 }$ and the cost value increased by exactly $2 \lambda \| \tilde { s } \| _ { 1 }$ as we are truncating the cost. Hence we have:
|
| 391 |
+
|
| 392 |
+
$$
|
| 393 |
+
\begin{array} { r l } & { \langle C _ { \lambda } , \Pi _ { 2 , n e w } ^ { * } \rangle = \langle C _ { a u g } , \tilde { \Pi } \rangle + \lambda \left[ \Vert \tilde { s } \Vert _ { 1 } + \Vert \tilde { t } \Vert _ { 1 } \right] } \\ & { \qquad < \langle C _ { a u g } , \Pi _ { 1 } ^ { * } \rangle + \lambda \left[ \Vert s _ { 1 } ^ { * } \Vert _ { 1 } + \Vert t _ { 1 } ^ { * } \Vert _ { 1 } \right] } \\ & { \qquad = \langle C _ { \lambda } , \Pi _ { 2 } ^ { * } \rangle } \end{array}
|
| 394 |
+
$$
|
| 395 |
+
|
| 396 |
+
which is contradiction as $\Pi _ { 2 } ^ { * }$ is the optimal solution of Formulation 2. This completes the proof for the discrete part.
|
| 397 |
+
|
| 398 |
+
# A.2 PROOF OF EQUIVALENCE FOR TWO SIDED FORMULATION
|
| 399 |
+
|
| 400 |
+
Here we prove that our two sided formulation, i.e. Formulation 3 (equation 2.7) is equivalent to Formulation 1 (equation 2.5) for the discrete case. Towards that end, we introduce another auxiliary formulation and show that both Formulation 1 and Formulation 3 are equivalent to the following auxiliary formulation of the problem.
|
| 401 |
+
|
| 402 |
+
# Formulation 4:
|
| 403 |
+
|
| 404 |
+
$$
|
| 405 |
+
W _ { \mathbf { R } , \mathbf { L } , 4 } ( p , q ) = \left\{ \begin{array} { l l } { \operatorname* { m i n } _ { \Pi \in \mathbb { R } ^ { m \times n } , s _ { 1 } \in \mathbb { R } ^ { m } , s _ { 2 } \in \mathbb { R } ^ { n } } } & { \langle C , \Pi \rangle + \lambda [ \| s _ { 1 } \| _ { 1 } + \| s _ { 2 } \| _ { 1 } ] } \\ { \mathrm { s u b j e c t ~ t o } } & { \Pi 1 _ { n } = p + s _ { 1 } } \\ & { \Pi ^ { T } 1 _ { m } = q + s _ { 2 } } \\ & { \Pi \succeq 0 } \end{array} \right.
|
| 406 |
+
$$
|
| 407 |
+
|
| 408 |
+
First we show that Formulation 1 and Formulation 4 are equivalent in a sense that they have the same optimal objective value.
|
| 409 |
+
|
| 410 |
+
Theorem A.3. Suppose $C$ is a cost function such that $C ( x , x ) = 0$ . Then Formulation $^ { l }$ and Formulation $^ { 4 }$ has same optimal objective value.
|
| 411 |
+
|
| 412 |
+
Proof. Towards that end, we show that given one optimal variables of one formulation we can get optimal variables of other formulation with the same objective value. Before going into details we need the following lemma whose proof is provided in Appendix B:
|
| 413 |
+
|
| 414 |
+
Lemma A.4. Suppose $\Pi _ { 4 } ^ { * }$ $\boldsymbol { \cdot } , s _ { 4 , 1 } ^ { * } , s _ { 4 , 2 } ^ { * }$ are the optimal variables of Formulation 4. Then $s _ { 4 , 1 } ^ { * } \preceq 0$ and $s _ { 4 , 2 } ^ { * } \preceq 0$ .
|
| 415 |
+
|
| 416 |
+
Now we prove that optimal value of Formulation 1 and Formulation 4 are same. Let $( \Pi _ { 1 } ^ { * } , s _ { 1 , 1 } ^ { * } , t _ { 1 , 1 } ^ { * } )$ is an optimal solution of Formulation 1. Then we claim that $( \Pi _ { 1 } ^ { * } , s _ { 1 , 1 } ^ { * } , t _ { 1 , 1 } ^ { * } )$ is also an optimal solution of Formulation 4. Clearly it is feasible solution of Formulation 4. Suppose it is not optimal, i.e. there exists another optimal solution $( \tilde { \Pi } _ { 4 } , \tilde { s } _ { 4 , 1 } , \tilde { s } _ { 4 , 2 } )$ such that:
|
| 417 |
+
|
| 418 |
+
$$
|
| 419 |
+
\langle C , \tilde { \Pi } _ { 4 } \rangle + \lambda ( \lVert \tilde { s } _ { 4 , 1 } \rVert _ { 1 } + \lVert \tilde { s } _ { 4 , 2 } \rVert _ { 2 } ) < \langle C , \Pi _ { 1 , 1 2 } ^ { * } \rangle + \lambda ( \lVert s _ { 1 , 1 } ^ { * } \rVert _ { 1 } + \lVert t _ { 1 , 1 } ^ { * } \rVert _ { 1 } )
|
| 420 |
+
$$
|
| 421 |
+
|
| 422 |
+
Now based on $( \tilde { \Pi } _ { 4 } , \tilde { s } _ { 4 , 1 } , \tilde { s } _ { 4 , 2 } )$ we construct a feasible solution of Formulation 1 as follows:
|
| 423 |
+
|
| 424 |
+
$$
|
| 425 |
+
\tilde { \Pi } _ { 1 } = \left[ \begin{array} { c c } { { { \bf 0 } } } & { { \tilde { \Pi } _ { 4 } } } \\ { { { \bf 0 } } } & { { - { \bf d i a g } ( \tilde { s } _ { 4 , 2 } ) } } \end{array} \right]
|
| 426 |
+
$$
|
| 427 |
+
|
| 428 |
+
Note that we proved in Lemma A. $. 4 \ \tilde { s } _ { 4 , 2 } \preceq 0$ , hence we have $\tilde { \Pi } _ { 1 } \succeq 0$ . Now as the column sums of $\tilde { \Pi } _ { 4 }$ is $q + \tilde { s } _ { 4 , 2 }$ , we have column sums of $\tilde { \Pi } _ { 1 } = [ \mathbf { 0 } \mathbf { \Lambda } \boldsymbol { q } ^ { \top } ] ^ { \top }$ and the row sums are $[ ( p + \tilde { s } _ { 4 , 1 } ) ^ { \top } \quad \tilde { s } _ { 4 , 2 } ^ { \top } ] ^ { \top }$ . Hence we take $\tilde { s } _ { 1 , 1 } = \tilde { s } _ { 4 , 1 }$ and $\tilde { s } _ { 1 , 2 } = \tilde { s } _ { 4 , 2 }$ . Then it follows:
|
| 429 |
+
|
| 430 |
+
$$
|
| 431 |
+
\begin{array} { r l r } & { } & { \langle C _ { a u g } , \tilde { \Pi } _ { 1 } \rangle + \lambda [ \| \tilde { s } _ { 1 , 1 } \| _ { 1 } + \| \tilde { s } _ { 1 , 2 } \| _ { 1 } ] = \langle C , \tilde { \Pi } _ { 4 } \rangle + \lambda [ \| \tilde { s } _ { 4 , 1 } \| _ { 1 } + \| \tilde { s } _ { 4 , 2 } \| _ { 1 } ] \qquad } \\ & { } & { < \langle C , \Pi _ { 1 , 1 2 } ^ { * } \rangle + \lambda \left[ \| s _ { 1 , 1 } ^ { * } \| _ { 1 } + \| t _ { 1 , 1 } ^ { * } \| _ { 1 } \right] } \\ & { } & { = \langle C _ { a u g } , \Pi _ { 1 } ^ { * } \rangle + \lambda \left[ \| s _ { 1 , 1 } ^ { * } \| _ { 1 } + \| t _ { 1 , 1 } ^ { * } \| _ { 1 } \right] } \end{array}
|
| 432 |
+
$$
|
| 433 |
+
|
| 434 |
+
This is contradiction as we assumed $( \Pi _ { 1 } ^ { * } , s _ { 1 , 1 } ^ { * } , t _ { 1 , 2 } ^ { * } )$ is an optimal solution of Formulation 1. Therefore we conclude $( \Pi _ { 1 } ^ { * } , s _ { 1 , 1 } ^ { * } , t _ { 1 , 1 } ^ { * } )$ is also an optimal solution of Formulation 4 which further concludes Formulation 1 and Formulation 4 have same optimal values. This completes the proof of the theorem. □
|
| 435 |
+
|
| 436 |
+
Theorem A.5. The optimal objective value of Formulation 3 and Formulation 4 are same.
|
| 437 |
+
|
| 438 |
+
Proof. Like in the proof of Theorem A.3 we also prove couple of lemmas.
|
| 439 |
+
|
| 440 |
+
Lemma A.6. Any optimal transport plan $\Pi _ { 3 } ^ { * }$ of Formulation 3 has the following structure: If we write,
|
| 441 |
+
|
| 442 |
+
$$
|
| 443 |
+
\Pi _ { 3 } ^ { * } = \left[ \begin{array} { c c } { { \Pi _ { 3 , 1 1 } ^ { * } } } & { { \Pi _ { 3 , 1 2 } ^ { * } } } \\ { { \Pi _ { 3 , 2 1 } ^ { * } } } & { { \Pi _ { 3 , 2 2 } ^ { * } } } \end{array} \right]
|
| 444 |
+
$$
|
| 445 |
+
|
| 446 |
+
then $\Pi _ { 3 , 1 1 } ^ { * }$ and $\Pi _ { 3 , 2 2 } ^ { * }$ are diagonal matrices and $\Pi _ { 3 , 2 1 } ^ { * } = \mathbf { 0 }$
|
| 447 |
+
|
| 448 |
+
. If and $s _ { 3 , 1 } ^ { * } , t _ { 3 , 1 } ^ { * } , s _ { 3 , 2 } ^ { * } , t _ { 3 , 2 } ^ { * }$ are four optimal slack variables in Formulation 3, then $s _ { 3 , 1 } ^ { * } , t _ { 3 , 1 } ^ { * } \preceq 0$ $s _ { 3 , 2 } ^ { * } , t _ { 3 , 2 } ^ { * } \succeq 0$
|
| 449 |
+
|
| 450 |
+
Proof. The line of argument is same as in proof of Lemma A.4.
|
| 451 |
+
|
| 452 |
+
Next we establish equivalence. Suppose $( \Pi _ { 3 } ^ { * } , s _ { 3 , 1 } ^ { * } , t _ { 3 , 1 } ^ { * } , s _ { 3 , 2 } ^ { * } , t _ { 3 , 2 } ^ { * } )$ are optimal values of Formulation 3. We claim that $( \Pi _ { 3 , 1 2 } ^ { * } , s _ { 3 , 1 } ^ { * } - s _ { 3 , 2 } ^ { * } , t _ { 3 , 1 } ^ { * } - t _ { 3 , 2 } ^ { * } )$ forms an optimal solution of Formulation 4. The objective value will then also be same as $s _ { 3 , 1 } ^ { * } \preceq 0 , s _ { 3 , 2 } ^ { * } \succeq 0$ (Lemma A.7) implies $\| s _ { 3 , 1 } ^ { * } - s _ { 3 , 2 } ^ { * } \| _ { 1 } =$ $\lVert s _ { 3 , 1 } ^ { * } \rVert _ { 1 } + \lVert s _ { 3 , 2 } ^ { * } \rVert _ { 1 }$ and similarly $t _ { 3 , 1 . } ^ { * } \preceq 0 , t _ { 3 , 2 } ^ { * } \succeq 0$ implies $\lVert t _ { 3 , 1 } ^ { * } - t _ { 3 , 2 } ^ { * } \rVert _ { 1 } = \lVert t _ { 3 , 1 } ^ { * } \rVert _ { 1 } + \lVert t _ { 3 , 2 } ^ { * } \rVert _ { 1 }$ . Feasibility is immediate. Now for optimality, we again prove by contradiction. Suppose they are not optimal. Then lets say $\tilde { \Pi } _ { 4 } , \tilde { s } _ { 4 , 1 } , \tilde { s } _ { 4 , 2 }$ are an optimal triplet of Formulation 4. Now construct another feasible solution of Formulation 3 as follows: Set $\tilde { s } _ { 3 , 2 } = \tilde { t } _ { 3 , 2 } = 0 , \tilde { s } _ { 3 , 1 } = \tilde { s } _ { 4 , 1 }$ and $\tilde { t } _ { 3 , 1 } = \tilde { s } _ { 4 , 2 }$ . Set the matrix as:
|
| 453 |
+
|
| 454 |
+
$$
|
| 455 |
+
\tilde { \Pi } _ { 3 } = \left[ \begin{array} { c c } { { { \bf 0 } } } & { { \tilde { \Pi } _ { 4 } } } \\ { { { \bf 0 } } } & { { - { \bf d i a g } ( \tilde { s } _ { 4 , 2 } ) } } \end{array} \right]
|
| 456 |
+
$$
|
| 457 |
+
|
| 458 |
+
Then it follows that $\left( \tilde { \Pi } _ { 3 } , \tilde { s } _ { 3 , 1 } , \tilde { s } _ { 3 , 2 } , \tilde { t } _ { 3 , 1 } , \tilde { t } _ { 3 , 2 } \right)$ is a feasible solution of Formulation 3. Finally we have:
|
| 459 |
+
|
| 460 |
+
$$
|
| 461 |
+
\begin{array} { r l } & { \langle C _ { a u g } , \tilde { \Pi } _ { 3 } \rangle + \lambda \left[ \| \tilde { s } _ { 3 , 1 } \| _ { 1 } + \| \tilde { s } _ { 3 , 2 } \| _ { 1 } + \| \tilde { t } _ { 3 , 1 } \| _ { 1 } + \| \tilde { t } _ { 3 , 2 } \| _ { 1 } \right] } \\ & { = \langle C _ { a u g } , \tilde { \Pi } _ { 3 } \rangle + \lambda \left[ \| \tilde { s } _ { 4 , 1 } \| _ { 1 } + \| \tilde { s } _ { 4 , 2 } \| _ { 1 } \right] } \\ & { = \langle C , \tilde { \Pi } _ { 4 } \rangle + \lambda \left[ \| \tilde { s } _ { 4 , 1 } \| _ { 1 } + \| \tilde { s } _ { 4 , 2 } \| _ { 1 } \right] } \\ & { < \langle C , \Pi _ { 3 , 1 2 } ^ { * } \rangle + \lambda \left[ \| s _ { 3 , 1 } ^ { * } - s _ { 3 , 2 } ^ { * } \| _ { 1 } + \| t _ { 3 , 1 } ^ { * } - t _ { 3 , 2 } ^ { * } \| _ { 1 } \right] } \\ & { = \langle C _ { a u g } , \Pi _ { 3 } ^ { * } \rangle + \lambda \left[ \| s _ { 3 , 1 } ^ { * } \| _ { 1 } + \| s _ { 3 , 2 } ^ { * } \| _ { 1 } + \| t _ { 3 , 1 } ^ { * } \| _ { 1 } + \| t _ { 3 , 2 } ^ { * } \| _ { 1 } \right] } \end{array}
|
| 462 |
+
$$
|
| 463 |
+
|
| 464 |
+
This contradicts the optimality of $( \Pi _ { 3 } ^ { * } , s _ { 3 , 1 } ^ { * } , s _ { 3 , 2 } ^ { * } , t _ { 3 , 1 } ^ { * } , t _ { 3 , 2 } ^ { * } )$ . This completes the proof.
|
| 465 |
+
|
| 466 |
+
# A.3 PROOF OF CONTINUOUS VERSION
|
| 467 |
+
|
| 468 |
+
Proof. In this proof we denote by $F _ { 1 }$ the optimization problem of equation equation 2.2 and by $F _ { 2 }$ the optimization problem equation equation 2.4. Assume that $\mu _ { n }$ and $\nu _ { m }$ denote the respective empirical measures relative to $\mu , \nu$ . From Villani (2009), we know that $\mu _ { n } , \nu _ { n }$ converge weakly to $\mu$ and $\nu$ respectively. Therefore, $R O B O T _ { 2 } ( \mu _ { n } , \mu ) 0$ . Similary for $\nu _ { n }$ and $\nu$ . Thus, by triangle inequality,
|
| 469 |
+
|
| 470 |
+
$$
|
| 471 |
+
\operatorname* { l i m } _ { n \to \infty } | F _ { 2 } ( \mu _ { n } , \nu _ { n } ) - F _ { 2 } ( \mu , \nu ) | = 0 .
|
| 472 |
+
$$
|
| 473 |
+
|
| 474 |
+
But $R O B O T _ { 2 } ( \mu _ { n } , \nu _ { n } ) = R O B O T _ { 1 } ( \mu _ { n } , \nu _ { n } )$ . Therefore, our proof is complete if we can show that
|
| 475 |
+
|
| 476 |
+
$$
|
| 477 |
+
\operatorname* { l i m } _ { n , m \to \infty } \left| F _ { 1 } ( \mu _ { n } , \nu _ { m } ) - F _ { 1 } ( \mu , \nu ) \right| \to 0 .
|
| 478 |
+
$$
|
| 479 |
+
|
| 480 |
+
Let $\mathcal { S } = \{ s$ signed measure : $\mu + s$ is a probability measure in $\mathbb { R } ^ { d } \}$ . For $s \in \mathcal S$ , define
|
| 481 |
+
|
| 482 |
+
$$
|
| 483 |
+
\begin{array} { r } { V ( \mu + S , \nu ) = \left\{ \begin{array} { l l } { \displaystyle \operatorname* { m i n } _ { \Pi \in \mathcal { F } ( \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } ) } } & { \displaystyle \int C ( x , y ) \ \Pi ( \mathrm { d } x , \mathrm { d } y ) + \lambda \| s \| _ { T V } } \\ { \displaystyle \mathrm { s u b j e c t ~ t o } } & { \displaystyle \int _ { A } \Pi ( \mathrm { d } x , \mathrm { d } y ) \geq 0 \forall A \in \mathcal { B } ( \mathbb { R } ^ { d } \times \mathbb { R } ^ { d } ) } \\ { \displaystyle \mu ( \mathrm { d } x ) + s ( \mathrm { d } x ) ) \geq 0 } & { \displaystyle \forall B \in \mathcal { B } ( \mathbb { R } ^ { d } ) } \\ & { \displaystyle \int _ { \mathbb { R } ^ { d } \times C } \Pi ( \mathrm { d } x , \mathrm { d } y ) = \int _ { C } \nu ( \mathrm { d } y ) \ \forall C \in \mathcal { B } ( \mathbb { R } ^ { d } ) . } \end{array} \right. } \end{array}
|
| 484 |
+
$$
|
| 485 |
+
|
| 486 |
+
By Lemma A.8, ∃ $s \in \mathcal S$ such that $R O B O T _ { \cdot } ( \mu , \nu ) = W ( \mu + s , \nu ) + \lambda \| s \| _ { T V }$ . Let $s = s ^ { + } - s ^ { - }$ where $s ^ { + }$ and $s ^ { - }$ are positive measures on $\mathbb { R } ^ { d }$ . Let $\| s \| _ { T V } = \gamma$ . Then, $\| s ^ { - } \| _ { T V } = \| s ^ { + } \| _ { T V } = \gamma / 2$
|
| 487 |
+
|
| 488 |
+
Then consider $X _ { 1 } , \dots , X _ { n } \sim ( P - s ^ { - } ) / ( 1 - \gamma ) , Y _ { 1 } , \dots , Y _ { n } \sim s ^ { - } / \gamma , Z _ { 1 } , \dots , Z _ { n } \sim s ^ { + } / \gamma .$ Then for any bounded continuous function $f$ ,
|
| 489 |
+
|
| 490 |
+
$$
|
| 491 |
+
\begin{array} { r c l } { \displaystyle \underset { n \to \infty } { \operatorname* { l i m } } \displaystyle \sum _ { i } f ( X _ { i } ) / n } & { = } & { \displaystyle \int f ( x ) \frac { \left( P - s ^ { - } \right) } { ( 1 - \gamma ) } ( \mathrm { d } x ) } \\ { \displaystyle \underset { n \to \infty } { \operatorname* { l i m } } \displaystyle \sum _ { i } f ( Z _ { i } ) / n } & { = } & { \displaystyle \int f ( x ) \frac { s ^ { + } } { \gamma } ( \mathrm { d } x ) } \end{array}
|
| 492 |
+
$$
|
| 493 |
+
|
| 494 |
+
Therefore, the distribution given by $( P + s ) _ { n } = \frac { ( 1 - \gamma ) } { n } \sum _ { i } \delta _ { X _ { i } } + \frac { \gamma } { n } \sum _ { i } \delta _ { Z _ { i } }$ satisfies, $( P + s ) _ { n } \stackrel { \mathcal { L } } { }$ $P + s$ , and therefore from (Villani, 2009), $\begin{array} { r } { \operatorname* { l i m } _ { n \to \infty } \tilde { W } _ { C } ( ( P + S ) _ { n } , \bar { \nu } _ { n } ) \to W ( P + S , Q ) } \end{array}$ . Here $\delta _ { x }$ is the Dirac mass at $x$ . Moreover, $\| s _ { n } \| = \| s \|$ , where $s _ { n }$ satisfies $s _ { n } = \frac { \gamma } { n } ( \sum _ { i } \delta _ { Z _ { i } } - \sum _ { i } \delta _ { Y _ { i } } )$ .
|
| 495 |
+
|
| 496 |
+
Also, $R O B O T ( \mu _ { n } , \nu _ { n } ) ~ \le ~ W ( ( P ~ + ~ s ) _ { n } , \nu _ { n } ) ~ + ~ \lambda \| s \| _ { T V }$ , and therefore $R O B O T _ { 2 } ( \mu , \nu ) ) \ =$ lim $\begin{array} { r } { \gimel \operatorname* { s u p } _ { n \to \infty } R O B O T ( \mu _ { n } , \nu _ { n } ) \leq R O B O T ( \mu , \nu ) } \end{array}$ .
|
| 497 |
+
|
| 498 |
+
Now, let $\tilde { s } _ { n }$ satisfy $W _ { 1 } ( \mu _ { n } + \tilde { s } _ { n } , \nu _ { n } ) + \lambda \| \tilde { s } _ { n } \| _ { T V } = R O B O T ( \mu _ { n } , \nu _ { n } )$ . Such an ${ \tilde { s } } _ { n }$ exists by the proof of the discrete part because $\mu _ { n } , \nu _ { n }$ are discrete measures.
|
| 499 |
+
|
| 500 |
+
Then, similar to the Step 1 in the proof of Lemma A.8, there exists a probability measure $\mu \oplus s$ and a subsequence $\{ n _ { k } \} _ { k \ge 1 }$ such that $\mu _ { n _ { k } } + s _ { n _ { k } }$ almost surely converges weakly to $\mu \oplus s$ .
|
| 501 |
+
|
| 502 |
+
Moreover, similar to Step 2 of Lemma A.8 $W _ { 1 } ( \mu _ { n _ { k } } + s _ { n _ { k } } , \mu \oplus s ) \to 0$ as well as $\| s _ { n _ { k } } \| _ { T V } $ $\| \mu \oplus s - \mu \| _ { T V }$ . Thus, $W _ { 1 } ( \mu _ { n _ { k } } + s _ { n _ { k } } , \nu _ { n _ { k } } ) + \lambda \| s _ { n _ { k } } \| _ { T V } W _ { 1 } ( \mu \oplus s , \nu ) + \lambda \| \mu \oplus s - \mu \| _ { T V } .$ But by the proof of the discrete part $R O B O T ( \mu _ { n _ { k } } , \nu _ { n _ { k } } ) = R O B O T _ { 2 } ( \mu _ { n _ { k } } , \nu _ { n _ { k } } ) .$ ROBOT2(µ, ν). Therefore, with $s = \mu \oplus s - \mu$ , $W _ { 1 } ( \mu + s , \nu ) + \lambda \| s \| _ { T V } = R O B O T _ { 2 } ( \mu , \nu )$ .
|
| 503 |
+
|
| 504 |
+
Therefore, $R O B O T _ { 2 } ( \mu , \nu ) = \operatorname* { l i m } \operatorname* { s u p } _ { n \to \infty } R O B O T ( \mu _ { n } , \nu _ { n } ) \geq R O B O T ( \mu , \nu )$ . Thus the equality holds.
|
| 505 |
+
|
| 506 |
+
Lemma A.8. Assume that $\mu , \nu$ is such that $\begin{array} { r } { \int \| \boldsymbol { x } \| \mathrm { d } \mu , \ \int \| \boldsymbol { x } \| \mathrm { d } \nu < \infty } \end{array}$ . Moreover, assume that $C ( x , y )$ in equation 2.2 is the $l _ { 1 }$ norm, i.e., $C ( \dot { x } , y ) = \| x - y \|$ . Then, there exists s with $\mu + s$ being a probability measure such that
|
| 507 |
+
|
| 508 |
+
$$
|
| 509 |
+
W _ { 1 } ( \mu + s , \nu ) + \lambda \| s \| _ { T V } = R O B O T ( \mu , \nu ) ,
|
| 510 |
+
$$
|
| 511 |
+
|
| 512 |
+
where $W _ { 1 }$ is the Wasserstein-1 norm with the cost function $C ( \cdot , \cdot )$ as mentioned above.
|
| 513 |
+
|
| 514 |
+
Proof. Let $\mu _ { n } , \nu _ { m }$ be the empirical measures relative to $\mu , \nu$ respectively. We know that since $\mu _ { n } , \nu _ { m }$ are discrete, there exists $s _ { n }$ satisfying $W _ { 1 } ( \mu _ { n } + s _ { n } , \nu _ { m } ) = R O B O T ( \mu _ { n } , \nu _ { m } )$ . We provide the proof in the following steps.
|
| 515 |
+
|
| 516 |
+
Step 1: Almost surely $\mu \times \nu$ , there exists a subsequence $\{ n _ { k } \} _ { k \ge 1 }$ such that $\{ \mu _ { n } + s _ { n } \} _ { n }$ and $\{ \nu _ { n } \} _ { n }$ is relatively compact.
|
| 517 |
+
|
| 518 |
+
$\mu$ and $\nu$ are probability measures on $\mathbb { R } ^ { d }$ and are therefore tight.
|
| 519 |
+
Let $K _ { \epsilon }$ be such that $\dot { P _ { \mu } } ( X \notin K _ { \epsilon } ) , P _ { \nu } ( Y \notin K _ { \epsilon } ) \le \epsilon / 4$ .
|
| 520 |
+
|
| 521 |
+
Consider the empirical distributions $\nu _ { n } = \textstyle \sum _ { i } \delta _ { Y _ { i } } / n , \mu _ { n } \textstyle \sum _ { i } \delta _ { X _ { i } } / n$ of $\nu , \mu$ respectively. Here, $X _ { i } \sim$ $\mu$ and $Y _ { i } \sim _ { \nu }$ .
|
| 522 |
+
|
| 523 |
+
Fix an $\omega$ . Then $\{ X _ { 1 } , . . . , X _ { n } , Y _ { 1 } , . . . , Y _ { n } \}$ is fixed. Now by the construction for the discrete case, $s _ { n }$ has support in $\{ X _ { 1 } , . . . , X _ { n } , Y _ { 1 } , . . . , Y _ { n } \}$ .
|
| 524 |
+
|
| 525 |
+
Let $T _ { n }$ be the optimal transport map from $\mu _ { n }$ to $\nu _ { n }$ . Then, for every $i \leq n$ , there exists a unique $j \ \leq \ n$ , such that $T _ { n } ( X _ { i } ) ~ = ~ Y _ { j }$ . Define $\tau _ { n } : \{ 1 , \dots , n \} \to \{ 1 , \dots , n \}$ such that $\tau _ { n } ( i ) = j$ if $T _ { n } ( X _ { i } ) = Y _ { j }$ .Then $\mu _ { n } + s _ { n } = \sum _ { i } \delta _ { Z _ { i } } / n$ , where $Z _ { i } = X _ { i }$ or $Y _ { \tau _ { n } ( i ) }$ and $\delta _ { x }$ is the Dirac delta mass at $x$ .
|
| 526 |
+
|
| 527 |
+
Then, let $Z \sim \mu _ { n } + s _ { n }$
|
| 528 |
+
|
| 529 |
+
$$
|
| 530 |
+
P _ { \omega } ( Z \notin K _ { \epsilon } | \mu _ { n } + s _ { n } ) \le \sum _ { i } \mathbb { 1 } _ { ( X _ { i } \notin K _ { \epsilon } ) } / n + \sum _ { i } \mathbb { 1 } _ { ( Y _ { i } \notin K _ { \epsilon } ) } / n
|
| 531 |
+
$$
|
| 532 |
+
|
| 533 |
+
Therefore, $\mathbb { E } ( P _ { \omega } ( Z \notin K _ { \epsilon } | \mu _ { n } + s _ { n } ) ) \le \epsilon / 2$ . Moreover, ${ \cal V } a r ( P _ { \omega } ( Z \not \in K _ { \epsilon } | \mu _ { n } + s _ { n } ) ) = o ( n ^ { - 1 } ) \to 0$ . Therefore, $\begin{array} { r } { \operatorname* { l i m } _ { n \infty } P _ { \mu ^ { n } \times \nu ^ { n } } \big ( P _ { \omega } ( Z \notin K _ { \epsilon } | \mu _ { n } + s _ { n } ) \le \epsilon \big ) 1 } \end{array}$ . Therefore $\mu _ { n } + s _ { n }$ is almost surely tight and thus by Prokhorov’s Theorem also relatively compact.
|
| 534 |
+
|
| 535 |
+
Step 2: Therefore, for $\omega$ almost surely, there exists a subsequence $\{ n _ { k } \} _ { k \ge 1 }$ such that $\mu _ { n _ { k } } + s _ { n _ { k } }$ converges weakly to a limit (dependent on $\omega$ ) $\mu \oplus s$ which is a probability measure. Moreover, $\textstyle \int \| x \| \bar { \mathrm { d } } ( \mu _ { n _ { k } } + s _ { n _ { k } } ) < \infty$ almost surely. By Bolzano-Weierstrass Theorem, there exists a further subsequence $\{ n _ { k _ { l } } \} _ { l }$ such that $\begin{array} { r } { \int \| x \| \mathrm { d } ( \mu _ { n _ { k _ { l } } } + s _ { n _ { k _ { l } } } ) \int \| x \| \mathrm { d } ( \mu + s ) } \end{array}$ almost surely. For the sake of convenience, without loss of generality, we will replace the sub-subsequence $\{ n _ { k _ { l } } \} _ { l }$ with $\{ n _ { k } \} _ { k \ge 1 }$ henceforth.
|
| 536 |
+
|
| 537 |
+
Thus, by Theorem 6.9 of (Villani, 2009) , $W _ { 1 } ( \mu _ { n _ { k } } + s _ { n _ { k } } , \mu \oplus s ) \to 0$ almost surely. Moreover, $W _ { 1 } ( \mu _ { n _ { k } } , \mu ) \to 0$ almost surely. Therefore $\| s _ { n _ { k } } \| _ { T V } \to \| \mu \oplus s - \mu \| _ { T V }$ almost surely.
|
| 538 |
+
|
| 539 |
+
Step 3: Consider an arbitrary $S = S ^ { + } - S ^ { - }$ , such that $S ^ { + }$ and $S ^ { - }$ are positive measures on $\mathbb { R } ^ { d }$ , and $\mu + S$ is a probability measure. Let $\| S \| _ { T V } = \gamma$ . Then, $\| S ^ { - } \| _ { T V } = \| S ^ { + } \| _ { T V } = \gamma / 2$ .
|
| 540 |
+
|
| 541 |
+
Then consider $X _ { 1 } , \dots , X _ { n } \sim ( \mu - S ^ { - } ) / ( 1 - \gamma ) , Y _ { 1 } , \dots , Y _ { n } \sim S ^ { - } / \gamma , Z _ { 1 } , \dots , Z _ { n } \sim S ^ { + } / \gamma$ . Then for any bounded continuous function $f$ ,
|
| 542 |
+
|
| 543 |
+
$$
|
| 544 |
+
\begin{array} { r c l } { { \displaystyle \operatorname* { l i m } _ { n \to \infty } \sum _ { i } f ( X _ { i } ) / n } } & { { = } } & { { \displaystyle \int f ( x ) \frac { \left( P - s ^ { - } \right) } { ( 1 - \gamma ) } ( \mathrm { d } x ) } } \\ { { \displaystyle \operatorname* { l i m } _ { n \to \infty } \sum _ { i } f ( Z _ { i } ) / n } } & { { = } } & { { \displaystyle \int f ( x ) \frac { s ^ { + } } { \gamma } ( \mathrm { d } x ) } } \end{array}
|
| 545 |
+
$$
|
| 546 |
+
|
| 547 |
+
Therefore, the distribution given by $\begin{array} { r } { ( \mu + S ) _ { n } ( A ) = ( 1 - \gamma ) \sum _ { i } \mathbb { 1 } _ { X _ { i } \in A } + ( \gamma ) \sum _ { i } \mathbb { 1 } _ { Z _ { i } \in A } } \end{array}$ satisfies, $( \mu + S ) _ { n } \stackrel { \mathcal { L } } { \to } \mu + S$ , and therefore from (Villani, 2009), $\begin{array} { r } { \operatorname* { l i m } _ { n \to \infty } W _ { 1 } ( ( \mu + S ) _ { n } , \nu _ { n } ) \to W _ { 1 } ( \mu + S , \nu ) } \end{array}$ . Moreover, $\| S _ { n } \| _ { T V } = \| S \| _ { T V }$ , where $S _ { n }$ satisfies $S _ { n } ( A ) = { \frac { \gamma } { n } } \sum _ { i } \mathbb { 1 } _ { Z _ { i } \in A } - \sum _ { i } \mathbb { 1 } _ { Y _ { i } \in A }$ .
|
| 548 |
+
|
| 549 |
+
But, $W _ { 1 } ( \mu _ { n _ { k } } + s _ { n _ { k } } , \nu _ { n _ { k } } ) + \lambda \| s _ { n _ { k } } \| _ { T V } \leq W _ { 1 } ( ( \mu + S ) _ { n _ { k } } , \nu _ { n _ { k } } ) + \lambda \| S _ { n _ { k } } \| _ { T V }$ . Therefore, taking limits, $W _ { 1 } ( \mu \oplus s , \nu ) + \lambda \| \mu \oplus s - \mu \| _ { T V } \leq W _ { 1 } ( \mu + S , \nu ) + \lambda \| S \| _ { T V }$ , and thus the proof holds with $s = \mu \oplus s - \mu$ .
|
| 550 |
+
|
| 551 |
+
# B PROOF OF ADDITIONAL LEMMAS
|
| 552 |
+
|
| 553 |
+
# B.1 PROOF OF LEMMA A.1
|
| 554 |
+
|
| 555 |
+
Proof. The fact that $\Pi _ { 1 , 1 1 } ^ { * } = \Pi _ { 1 , 2 1 } ^ { * } = \mathbf { 0 }$ follows from the fact that $\Pi _ { 1 } ^ { * } \succeq 0$ and $\Pi _ { 1 } ^ { * } \mathbf { 1 } = \mathbf { Q }$ . To prove that $\Pi _ { 1 , 2 2 } ^ { * }$ is diagonal, we use the fact that the any diagonal entry the cost matrix is 0. Now suppose $\Pi _ { 1 , 2 2 } ^ { * }$ is not diagonal. Then define a matrix $\hat { \Pi }$ as following: set $\hat { \Pi } _ { 1 1 } = \hat { \Pi } _ { 2 1 } = \mathbf { 0 }$ , $\hat { \Pi } _ { 1 2 } = \Pi _ { 1 , 1 2 } ^ { * }$ and:
|
| 556 |
+
|
| 557 |
+
$$
|
| 558 |
+
\hat { \Pi } _ { 2 2 } ( i , j ) = \left\{ \begin{array} { l l } { \sum _ { k = 1 } ^ { m } \Pi _ { 1 , 2 2 } ^ { * } ( k , i ) , } & { \mathrm { i f ~ } j = i } \\ { 0 , } & { \mathrm { i f ~ } j \ne i } \end{array} \right.
|
| 559 |
+
$$
|
| 560 |
+
|
| 561 |
+
Also define $\hat { s } = s _ { 1 } ^ { * }$ and $\hat { t }$ as $\hat { t } ( i ) = \hat { \Pi } _ { 2 2 } ( i , i )$ . Then clearly $( \hat { \Pi } , \hat { s } , \hat { t } )$ is a feasible solution of Formulation 1. Note that:
|
| 562 |
+
|
| 563 |
+
$$
|
| 564 |
+
\Vert \hat { t } \Vert _ { 1 } = 1 ^ { \top } \hat { \Pi } _ { 2 2 } 1 = 1 ^ { \top } \Pi _ { 1 , 2 2 } ^ { * } 1 = \Vert t _ { 1 } ^ { * } \Vert _ { 1 }
|
| 565 |
+
$$
|
| 566 |
+
|
| 567 |
+
and by our construction $\left. C _ { a u g } , \hat { \Pi } \right. < \left. C _ { a u g } , \Pi _ { 1 } ^ { * } \right.$ . Hence $( { \hat { \Pi } } , { \hat { s } } , { \hat { t } } )$ reduces the value of the objective function of Formulation 1 which is a contradiction. This completes the proof.
|
| 568 |
+
|
| 569 |
+
# B.2 PROOF OF LEMMA A.2
|
| 570 |
+
|
| 571 |
+
Proof. 1. Suppose $\Pi _ { 1 } ^ { * } ( i , j ) ~ > ~ 0$ . Then dump this mass to $s _ { 1 } ^ { * } ( j )$ and make it 0. In this way $\left. C _ { a u g } , \Pi _ { 1 } ^ { * } \right.$ will decrease by $> 2 \lambda \Pi _ { 1 } ^ { * } ( i , j )$ and the regularizer value will increase by atmost $2 \lambda \Pi _ { 1 } ^ { * } ( i , j )$ , resulting in overall reduction in the objective value, which leads to a contradiction.
|
| 572 |
+
|
| 573 |
+
2. Suppose each entry of $i ^ { t h }$ row of $C$ is $< 2 \lambda$ . Then if $s _ { 1 } ^ { * } ( i ) > 0$ , we can distribute this mass in the $\bar { i } ^ { t h }$ row such that, $s _ { 1 } ^ { * } ( i ) = a _ { 1 } + a _ { 2 } + \cdot \cdot \cdot + a _ { m }$ with the condition that $t _ { 1 } ^ { * } ( j ) \geq a _ { j }$ . Now we reduce $t _ { 1 } ^ { * }$ as:
|
| 574 |
+
|
| 575 |
+
$$
|
| 576 |
+
t _ { 1 } ^ { * } ( j ) \gets t _ { 1 } ^ { * } ( j ) - a _ { j }
|
| 577 |
+
$$
|
| 578 |
+
|
| 579 |
+
Hence the value $\left. C _ { a u g } , \Pi _ { 1 } ^ { * } ( i , j ) \right.$ will increase by a value $< 2 \lambda s _ { 1 } ^ { * } ( i )$ but the value of regularizer will decrease by the value of $2 \lambda s _ { 1 } ^ { * } ( i )$ , resulting in overall decrease in the value of objective function.
|
| 580 |
+
|
| 581 |
+
3. Same as proof of part (2) by interchanging row and column in the argument.
|
| 582 |
+
|
| 583 |
+
4. Suppose not. Then choose $\epsilon < s _ { 1 } ^ { * } ( i ) \bar { \wedge } t _ { 1 } ^ { * } ( j )$ , Add $\epsilon$ to $\Pi _ { 1 } ^ { * } ( i , j )$ . Hence the cost function value $\left. C _ { a u g } , \Pi _ { 1 } ^ { * } \right.$ will increase by $< 2 \lambda \epsilon$ but the regularizer value will decrease by $2 \lambda \epsilon$ , resulting in overall decrease in the objective function.
|
| 584 |
+
|
| 585 |
+
# B.3 PROOF OF LEMMA A.4
|
| 586 |
+
|
| 587 |
+
Proof. For the notational simplicity, we drop the subscript 4 now as we will only deal with the solution of Formulation 4 and there will be no ambiguity. We prove the Lemma by contradiction. Suppose $s _ { 1 , i } ^ { * } > 0$ . Then we show one can come up with another solution $( \tilde { \Pi } , \tilde { s } _ { 1 } , \tilde { s } _ { 2 } )$ of Formulation 4 such that it has lower objective value. To construct this new solution, make:
|
| 588 |
+
|
| 589 |
+
$$
|
| 590 |
+
\tilde { s } _ { 1 , j } = \left\{ \begin{array} { l l } { s _ { 1 , j } ^ { * } , } & { \mathrm { i f } \ j \ne i } \\ { 0 , } & { \mathrm { i f } \ j = i } \end{array} \right.
|
| 591 |
+
$$
|
| 592 |
+
|
| 593 |
+
Now to change the optimal transport plan, we will only change $i ^ { t h }$ row of $\Pi ^ { * }$ . We subtract $a _ { 1 } , a _ { 2 } , \ldots , a _ { n } \geq 0$ from $i ^ { t h }$ column of $\Pi ^ { * }$ in such a way, such that none of the elements are negative. Hence the column sum will be change, i.e. the value of ${ \tilde { s } } _ { 2 }$ will be:
|
| 594 |
+
|
| 595 |
+
$$
|
| 596 |
+
\tilde { s } _ { 2 , j } = s _ { 2 , j } ^ { * } - a _ { j } \forall 1 \leq j \leq n .
|
| 597 |
+
$$
|
| 598 |
+
|
| 599 |
+
Now clearly from our construction:
|
| 600 |
+
|
| 601 |
+
$$
|
| 602 |
+
\langle C , \tilde { \Pi } \rangle \leq \langle C , \Pi ^ { * } \rangle
|
| 603 |
+
$$
|
| 604 |
+
|
| 605 |
+
For the regularization part, note that, as we only reduced $i ^ { t h }$ element of $s _ { 1 } ^ { * }$ , we have $\| \tilde { s } _ { 1 } \| _ { 1 } =$ $\| s _ { 1 } ^ { * } \| _ { 1 } - s _ { 1 , i } ^ { * }$ . And by simple triangle inequality,
|
| 606 |
+
|
| 607 |
+
$$
|
| 608 |
+
\| \widetilde s _ { 2 } \| _ { 1 } \leq \| s _ { 2 } ^ { * } \| _ { 1 } + \| a _ { 1 } \| _ { 1 } = \| s _ { 2 } ^ { * } \| _ { 1 } + s _ { 1 , i } ^ { * }
|
| 609 |
+
$$
|
| 610 |
+
|
| 611 |
+
by construction $a _ { i }$ ’s, as $a _ { i } \geq 0$ and $\textstyle \sum _ { i } a _ { i } = s _ { 1 , i } ^ { * }$ . Hence we have:
|
| 612 |
+
|
| 613 |
+
$$
|
| 614 |
+
\| \widetilde s _ { 1 } \| _ { 1 } + \| \widetilde s _ { 2 } \| _ { 1 } \leq \| s _ { 1 } ^ { * } \| _ { 1 } - s _ { 1 , i } ^ { * } + \| s _ { 2 } ^ { * } \| _ { 1 } + s _ { 1 , i } ^ { * } = \| s _ { 1 } ^ { * } \| _ { 1 } + \| s _ { 2 } ^ { * } \| _ { 1 } .
|
| 615 |
+
$$
|
| 616 |
+
|
| 617 |
+
Hence the value corresponding to regularizer will also decrease. This completes the proof.
|
| 618 |
+
|
| 619 |
+
# B.4 PROOF OF LEMMA A.6
|
| 620 |
+
|
| 621 |
+
Proof. We prove this lemma by contradiction. Suppose $\Pi _ { 3 } ^ { * }$ does not have the structure mentioned in the statement of Lemma. Construct another transport plan for Formulation $3 \tilde { \Pi } _ { 3 }$ as follows: Keep $\tilde { \Pi } _ { 3 , 1 2 } = \Pi _ { 3 , 1 2 } ^ { * }$ and set $\tilde { \Pi } _ { 3 , 1 2 } = \mathbf { 0 }$ . Construct the other parts as:
|
| 622 |
+
|
| 623 |
+
$$
|
| 624 |
+
\begin{array} { r } { \tilde { \Pi } _ { 3 , 1 1 } ( i , j ) = \left\{ \begin{array} { l l } { \sum _ { k = 1 } ^ { m } \Pi _ { 3 , 1 1 } ^ { * } ( i , k ) + \sum _ { k = 1 } ^ { n } \Pi _ { 3 , 2 1 } ^ { * } ( k , i ) , } & { \mathrm { i f ~ } i = j } \\ { 0 , } & { \mathrm { i f ~ } i \ne j } \end{array} \right. } \end{array}
|
| 625 |
+
$$
|
| 626 |
+
|
| 627 |
+
and
|
| 628 |
+
|
| 629 |
+
$$
|
| 630 |
+
\tilde { \Pi } _ { 3 , 2 2 } ( i , j ) = \left\{ \begin{array} { l l } { \sum _ { k = 1 } ^ { n } \Pi _ { 3 , 2 2 } ^ { * } ( k , i ) , } & { \mathrm { i f ~ } i = j } \\ { 0 , } & { \mathrm { i f ~ } i \ne j } \end{array} \right.
|
| 631 |
+
$$
|
| 632 |
+
|
| 633 |
+
It is immediate from the construction that:
|
| 634 |
+
|
| 635 |
+
$$
|
| 636 |
+
\left. C _ { a u g } , \tilde { \Pi } _ { 3 } \right. \leq \left. C _ { a u g } , \Pi _ { 3 } ^ { * } \right.
|
| 637 |
+
$$
|
| 638 |
+
|
| 639 |
+
As for the regularization term: Note the by our construction ${ \tilde { s } } _ { 4 }$ will be same as $s _ { 4 } ^ { * }$ as column sum of $\tilde { \Pi } _ { 3 , 2 2 }$ is same as $\Pi _ { 3 , 2 2 } ^ { * }$ . For the other three:
|
| 640 |
+
|
| 641 |
+
$$
|
| 642 |
+
\tilde { s } _ { 3 } ( i ) = \tilde { \Pi } _ { 3 , 1 1 } ( i , i ) = \sum _ { k = 1 } ^ { m } \Pi _ { 3 , 1 1 } ^ { * } ( i , k ) + \sum _ { k = 1 } ^ { n } \Pi _ { 3 , 2 1 } ^ { * } ( k , i )
|
| 643 |
+
$$
|
| 644 |
+
|
| 645 |
+
$$
|
| 646 |
+
\tilde { s } _ { 2 } ( i ) = \tilde { \Pi } _ { 3 , 2 2 } ( i , i ) = \sum _ { k = 1 } ^ { n } \Pi _ { 3 , 2 2 } ^ { * } ( k , i )
|
| 647 |
+
$$
|
| 648 |
+
|
| 649 |
+
and hence by construction:
|
| 650 |
+
|
| 651 |
+
$$
|
| 652 |
+
\begin{array} { r } { \| \tilde { s } _ { 2 } \| _ { 1 } = \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 2 } ^ { * } \mathbf { 1 } = \| s _ { 2 } ^ { * } \| _ { 1 } - \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 1 } ^ { * } \mathbf { 1 } . } \\ { \| \tilde { s } _ { 3 } \| _ { 1 } = \mathbf { 1 } ^ { \top } \Pi _ { 3 , 1 1 } ^ { * } \mathbf { 1 } + \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 1 } ^ { * } \mathbf { 1 } = \| s _ { 3 } ^ { * } \| _ { 1 } } \end{array}
|
| 653 |
+
$$
|
| 654 |
+
|
| 655 |
+
And also by our construction, $\tilde { s } _ { 1 } = s _ { 1 } ^ { * } + c$ where $c = ( \Pi _ { 3 , 2 1 } ^ { * } ) ^ { \top } \mathbf { 1 }$ . As a consequence we have $\Vert c \Vert _ { 1 } = \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 1 } ^ { * } \mathbf { 1 }$ . Then it follows:
|
| 656 |
+
|
| 657 |
+
$$
|
| 658 |
+
\begin{array} { l } { \displaystyle \sum _ { i = 1 } ^ { 4 } \| \widetilde s _ { i } \| _ { 1 } = \| s _ { 1 } ^ { * } + c \| + \| s _ { 2 } ^ { * } \| _ { 1 } - \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 1 } ^ { * } \mathbf { 1 } + \| s _ { 3 } ^ { * } \| _ { 1 } + \| s _ { 4 } ^ { * } \| _ { 1 } } \\ { \displaystyle \qquad \leq \displaystyle \sum _ { i = 1 } ^ { 4 } \| s _ { i } ^ { * } \| _ { 1 } + \| c \| _ { 1 } - \mathbf { 1 } ^ { \top } \Pi _ { 3 , 2 1 } ^ { * } \mathbf { 1 } } \\ { \displaystyle \qquad = \displaystyle \sum _ { i = 1 } ^ { 4 } \| s _ { i } ^ { * } \| _ { 1 } } \end{array}
|
| 659 |
+
$$
|
| 660 |
+
|
| 661 |
+
So the objective value is overall reduced. This contradicts the optimality of $\Pi _ { 3 } ^ { * }$ which completes the proof.
|
| 662 |
+
|
| 663 |
+
# C PROOF OF THEOREM 2.1
|
| 664 |
+
|
| 665 |
+
Proof. The proof is immediate from the Formulation 1. Recall that the Formulation 1 can restructured as:
|
| 666 |
+
|
| 667 |
+
$$
|
| 668 |
+
R O B O T ( \tilde { \mu } , \nu ) = \operatorname* { i n f } _ { P } \left\{ O T ( P , \nu ) + \lambda \| P - \tilde { \mu } \| _ { T V } \right\} .
|
| 669 |
+
$$
|
| 670 |
+
|
| 671 |
+
where the infimum is taking over all measure dominated by some common measure $\sigma$ (with respect to which $\mu , \mu _ { c } , \nu$ are dominated). Hence,
|
| 672 |
+
|
| 673 |
+
$$
|
| 674 |
+
R O B O T ( \tilde { \mu } , \nu ) \leq O T ( P , \nu ) + \lambda \| P - \tilde { \mu } \| _ { T V }
|
| 675 |
+
$$
|
| 676 |
+
|
| 677 |
+
for any particular choice of $P$ . Taking $P = \mu$ we get that
|
| 678 |
+
|
| 679 |
+
$$
|
| 680 |
+
R O B O T ( \tilde { \mu } , \nu ) \leq O T ( \mu , \nu ) + \lambda \| \mu - \tilde { \mu } \| _ { T V } = O T ( \mu , \nu ) ) + \lambda \epsilon \| \mu - \mu _ { c } \| _ { T V }
|
| 681 |
+
$$
|
| 682 |
+
|
| 683 |
+
Taking $P ~ = ~ \nu$ we get $R O B O T ( \tilde { \mu } , \nu ) ~ \leq ~ \lambda \| \nu - \tilde { \mu } \| _ { T V }$ and finally taking $P = ~ \tilde { \mu }$ we get $R O B \bar { O } T ( \tilde { \mu } , \nu ) \le O \bar { T } ( \tilde { \mu } , \nu )$ . This completes the proof.
|
parse/train/vrCiOrqgl3B/vrCiOrqgl3B_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vrCiOrqgl3B/vrCiOrqgl3B_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vrCiOrqgl3B/vrCiOrqgl3B_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|