Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/B1esx6EYvr/B1esx6EYvr.md +278 -0
- parse/train/B1esx6EYvr/B1esx6EYvr_middle.json +0 -0
- parse/train/SJxbu6VKDr/SJxbu6VKDr.md +280 -0
- parse/train/SJxbu6VKDr/SJxbu6VKDr_content_list.json +1502 -0
- parse/train/SJxbu6VKDr/SJxbu6VKDr_middle.json +0 -0
- parse/train/SJxbu6VKDr/SJxbu6VKDr_model.json +0 -0
- parse/train/Syez3j0cKX/Syez3j0cKX.md +320 -0
- parse/train/Syez3j0cKX/Syez3j0cKX_content_list.json +1644 -0
- parse/train/Syez3j0cKX/Syez3j0cKX_middle.json +0 -0
- parse/train/Syez3j0cKX/Syez3j0cKX_model.json +0 -0
- parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5.md +272 -0
- parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5_middle.json +0 -0
- parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5_model.json +0 -0
- parse/train/rJe04p4YDB/rJe04p4YDB.md +362 -0
- parse/train/rJe04p4YDB/rJe04p4YDB_content_list.json +1805 -0
- parse/train/rJe04p4YDB/rJe04p4YDB_middle.json +0 -0
- parse/train/rJe04p4YDB/rJe04p4YDB_model.json +0 -0
- parse/train/rkhlb8lCZ/rkhlb8lCZ.md +303 -0
- parse/train/rkhlb8lCZ/rkhlb8lCZ_middle.json +0 -0
- parse/train/rkhlb8lCZ/rkhlb8lCZ_model.json +0 -0
- vlm/dev/42zs3qa2kpy/0.png +3 -0
- vlm/dev/42zs3qa2kpy/1.png +3 -0
- vlm/dev/42zs3qa2kpy/10.png +3 -0
- vlm/dev/42zs3qa2kpy/11.png +3 -0
- vlm/dev/42zs3qa2kpy/12.png +3 -0
- vlm/dev/42zs3qa2kpy/13.png +3 -0
- vlm/dev/42zs3qa2kpy/14.png +3 -0
- vlm/dev/42zs3qa2kpy/15.png +3 -0
- vlm/dev/42zs3qa2kpy/16.png +3 -0
- vlm/dev/42zs3qa2kpy/17.png +3 -0
- vlm/dev/42zs3qa2kpy/18.png +3 -0
- vlm/dev/42zs3qa2kpy/19.png +3 -0
- vlm/dev/42zs3qa2kpy/2.png +3 -0
- vlm/dev/42zs3qa2kpy/20.png +3 -0
- vlm/dev/42zs3qa2kpy/3.png +3 -0
- vlm/dev/42zs3qa2kpy/4.png +3 -0
- vlm/dev/42zs3qa2kpy/5.png +3 -0
- vlm/dev/42zs3qa2kpy/6.png +3 -0
- vlm/dev/42zs3qa2kpy/7.png +3 -0
- vlm/dev/42zs3qa2kpy/8.png +3 -0
- vlm/dev/42zs3qa2kpy/9.png +3 -0
- vlm/dev/4AZz9osqrar/0.png +3 -0
- vlm/dev/4AZz9osqrar/1.png +3 -0
- vlm/dev/4AZz9osqrar/10.png +3 -0
- vlm/dev/4AZz9osqrar/11.png +3 -0
- vlm/dev/4AZz9osqrar/14.png +3 -0
- vlm/dev/4AZz9osqrar/15.png +3 -0
- vlm/dev/4AZz9osqrar/17.png +3 -0
- vlm/dev/4AZz9osqrar/2.png +3 -0
- vlm/dev/4AZz9osqrar/21.png +3 -0
parse/train/B1esx6EYvr/B1esx6EYvr.md
ADDED
|
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# A CRITICAL ANALYSIS OF SELF-SUPERVISION, ORWHAT WE CAN LEARN FROM A SINGLE IMAGE
|
| 2 |
+
|
| 3 |
+
Yuki M. Asano Christian Rupprecht
|
| 4 |
+
|
| 5 |
+
Andrea Vedaldi
|
| 6 |
+
|
| 7 |
+
Visual Geometry Group
|
| 8 |
+
University of Oxford
|
| 9 |
+
{yuki,chrisr,vedaldi}@robots.ox.ac.uk
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
We look critically at popular self-supervision techniques for learning deep convolutional neural networks without manual labels. We show that three different and representative methods, BiGAN, RotNet and DeepCluster, can learn the first few layers of a convolutional network from a single image as well as using millions of images and manual labels, provided that strong data augmentation is used. However, for deeper layers the gap with manual supervision cannot be closed even if millions of unlabelled images are used for training. We conclude that: (1) the weights of the early layers of deep networks contain limited information about the statistics of natural images, that (2) such low-level statistics can be learned through self-supervision just as well as through strong supervision, and that (3) the low-level statistics can be captured via synthetic transformations instead of using a large image dataset.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Despite tremendous progress in supervised learning, learning without external supervision remains difficult. Self-supervision has recently emerged as one of the most promising approaches to address this limitation. Self-supervision builds on the fact that convolutional neural networks (CNNs) transfer well between tasks (Shin et al., 2016; Oquab et al., 2014; Girshick, 2015; Huh et al., 2016). The idea then is to pre-train networks via pretext tasks that do not require expensive manual annotations and can be automatically generated from the data itself. Once pre-trained, networks can be applied to a target task by using only a modest amount of labelled data.
|
| 18 |
+
|
| 19 |
+
Early successes in self-supervision have encouraged authors to develop a large variety of pretext tasks, from colorization to rotation estimation and image autoencoding. Recent papers have shown performance competitive with supervised learning by learning complex neural networks on very large image datasets. Nevertheless, for a given model complexity, pre-training by using an off-theshelf annotated image datasets such as ImageNet remains much more efficient.
|
| 20 |
+
|
| 21 |
+
In this paper, we aim to investigate the effectiveness of current self-supervised approaches by characterizing how much information they can extract from a given dataset of images. Since deep networks learn a hierarchy of representations, we further break down this investigation on a per-layer basis. We are motivated by the fact that the first few layers of most networks extract low-level information (Yosinski et al., 2014), and thus learning them may not require the high-level semantic information captured by manual labels.
|
| 22 |
+
|
| 23 |
+
Concretely, in this paper we answer the following simple question: “is self-supervision able to exploit the information contained in a large number of images in order to learn different parts of a neural network?”
|
| 24 |
+
|
| 25 |
+
We contribute two key findings. First, we show that as little as a single image is sufficient, when combined with self-supervision and data augmentation, to learn the first few layers of standard deep networks as well as using millions of images and full supervision (Figure 1). Hence, while selfsupervised learning works well for these layers, this may be due more to the limited complexity of such features than the strength of the supervisory technique. This also confirms the intuition that early layers in a convolutional network amounts to low-level feature extractors, analogous to early learned and hand-crafted features for visual recognition (Olshausen & Field, 1997; Lowe, 2004; Dalal & Triggs, 2005). Finally, it demonstrates the importance of image transformations in learning such low-level features as opposed to image diversity.1
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: Single-image self-supervision. We show that several self-supervision methods can be used to train the first few layers of a deep neural networks using a single training image, such as this Image A, B or even C (above), provided that sufficient data augmentation is used.
|
| 31 |
+
|
| 32 |
+
Our second finding is about the deeper layers of the network. For these, self-supervision remains inferior to strong supervision even if millions of images are used for training. Our finding is that this is unlikely to change with the addition of more data. In particular, we show that training these layers with self-supervision and a single image already achieves as much as two thirds of the performance that can be achieved by using a million different images.
|
| 33 |
+
|
| 34 |
+
We show that these conclusions hold true for three different self-supervised methods, BiGAN (Donahue et al., 2017), RotNet (Gidaris et al., 2018) and DeepCluster (Caron et al., 2018), which are representative of the spectrum of techniques that are currently popular. We find that performance as a function of the amount of data is dependent on the method, but all three methods can indeed leverage a single image to learn the first few layers of a deep network almost “perfectly”.
|
| 35 |
+
|
| 36 |
+
Overall, while our results do not improve self-supervision per-se, they help to characterize the limitations of current methods and to better focus on the important open challenges.
|
| 37 |
+
|
| 38 |
+
# 2 RELATED WORK
|
| 39 |
+
|
| 40 |
+
Our paper relates to three broad areas of research: (a) self-supervised/unsupervised learning, (b) learning from a single sample, and (c) designing/learning low-level feature extractors. We discuss closely related work for each.
|
| 41 |
+
|
| 42 |
+
Self-supervised learning: A wide variety of proxy tasks, requiring no manual annotations, have been proposed for the self-training of deep convolutional neural networks. These methods use various cues and tasks namely, in-painting (Pathak et al., 2016), patch context and jigsaw puzzles (Doersch et al., 2015; Noroozi & Favaro, 2016; Noroozi et al., 2018; Mundhenk et al., 2017), clustering (Caron et al., 2018), noise-as-targets (Bojanowski & Joulin, 2017), colorization (Zhang et al., 2016; Larsson et al., 2017), generation (Jenni & Favaro, 2018; Ren & Lee, 2018; Donahue et al., 2017), geometry (Dosovitskiy et al., 2016; Gidaris et al., 2018) and counting (Noroozi et al., 2017). The idea is that the pretext task can be constructed automatically and easily on images alone. Thus, methods often modify information in the images and require the network to recover them. Inpainting or colorization techniques fall in this category. However these methods have the downside that the features are learned on modified images which potentially harms the generalization to unmodified ones. For example, colorization uses a gray scale image as input, thus the network cannot learn to extract color information, which can be important for other tasks.
|
| 43 |
+
|
| 44 |
+
Slightly less related are methods that use additional information to learn features. Here, often temporal information is used in the form of videos. Typical pretext tasks are based on temporalcontext (Misra et al., 2016; Wei et al., 2018; Lee et al., 2017; Sermanet et al., 2018), spatio-temporal cues (Isola et al., 2015; Gao et al., 2016; Wang et al., 2017), foreground-background segmentation via video segmentation (Pathak et al., 2017), optical-flow (Gan et al., 2018; Mahendran et al., 2018), future-frame synthesis (Srivastava et al., 2015), audio prediction from video (de Sa, 1994; Owens et al., 2016), audio-video alignment (Arandjelovic & Zisserman ´ , 2017), ego-motion estimation (Jayaraman & Grauman, 2015), slow feature analysis with higher order temporal coherence (Jayaraman & Grauman, 2016), transformation between frames (Agrawal et al., 2015) and patch tracking in videos (Wang & Gupta, 2015). Since we are interested in learning features from as little data as one image, we cannot make use of methods that rely on video input.
|
| 45 |
+
|
| 46 |
+
Our contribution inspects three unsupervised feature learning methods that use very different means of extracting information from the data: BiGAN (Donahue et al., 2017) utilizes a generative adversarial task, RotNet (Gidaris et al., 2018) exploits the photographic bias in the dataset and DeepCluster (Caron et al., 2018) learns stable feature representations under a number of image transformations by proxy labels obtained from clustering. These are described in more detail in the Methods section.
|
| 47 |
+
|
| 48 |
+
Learning from a single sample: In some applications of computer vision, the bold idea of learning from a single sample comes out of necessity. For general object tracking, methods such as max margin correlation filters (Rodriguez et al., 2013) learn robust tracking templates from a single sample of the patch. A single image can also be used to learn and interpolate multi-scale textures with a GAN framework (Rott Shaham et al., 2019). Single sample learning was pursued by the semi-parametric exemplar SVM model (Malisiewicz et al., 2011). They learn one SVM per positive sample separating it from all negative patches mined from the background. While only one sample is used for the positive set, the negative set consists of thousands of images and is a necessary component of their method. The negative space was approximated by a multi-dimensional Gaussian by the Exemplar LDA (Hariharan et al., 2012). These SVMs, one per positive sample, are pooled together using a max aggregation. We differ from both of these approaches in that we do not use a large collection of negative images to train our model. Instead we restrict ourselves to a single or a few images with a systematic augmentation strategy.
|
| 49 |
+
|
| 50 |
+
Classical learned and hand-crafted low-level feature extractors: Learning and hand-crafting features pre-dates modern deep learning approaches and self-supervision techniques. For example the classical work of (Olshausen & Field, 1997) shows that edge-like filters can be learned via sparse coding of just 10 natural scene images. SIFT (Lowe, 2004) and HOG (Dalal & Triggs, 2005) have been used extensively before the advent of convolutional neural networks and, in many ways, they resemble the first layers of these networks. The scatter transform of Bruna & Mallat (2013); Oyallon et al. (2017) is an handcrafted design that aims at replacing at least the first few layers of a deep network. While these results show that effective low-level features can be handcrafted, this is insufficient to clarify the power and limitation of self-supervision in deep networks. For instance, it is not obvious whether deep networks can learn better low level features than these, how many images may be required to learn them, and how effective self-supervision may be in doing so. For instance, as we also show in the experiments, replacing low-level layers in a convolutional networks with handcrafted features such as Oyallon et al. (2017) may still decrease the overall performance of the model. Furthermore, this says little about deeper layers, which we also investigate.
|
| 51 |
+
|
| 52 |
+
In this work we show that current deep learning methods learn slightly better low-level representations than hand crafted features such as the scattering transform. Additionally, these representations can be learned from one single image with augmentations and without supervision. The results show how current self-supervised learning approaches that use one million images yield only relatively small gains when compared to what can be achieved from one image and augmentations, and motivates a renewed focus on augmentations and incorporating prior knowledge into feature extractors.
|
| 53 |
+
|
| 54 |
+
# 3 METHODS
|
| 55 |
+
|
| 56 |
+
We discuss first our data and data augmentation strategy (section 3.1) and then we summarize the three different methods for unsupervised feature learning used in the experiments (section 3.2).
|
| 57 |
+
|
| 58 |
+
# 3.1 DATA
|
| 59 |
+
|
| 60 |
+
Our goal is to understand the performance of representation learning methods as a function of the image data used to train them. To make comparisons as fair as possible, we develop a protocol where only the nature of the training data is changed, but all other parameters remain fixed.
|
| 61 |
+
|
| 62 |
+
In order to do so, given a baseline method trained on $d$ source images, we replace those with another set of $d$ images. Of these, now only $N \ll d$ are source images (i.e. i.i.d. samples), while the remaining $d - N$ are augmentations of the source ones. Thus, the amount of information in the training data is controlled by $N$ and we can generate a continuum of datasets that vary from one extreme, utilizing a single source image $N = 1$ , to the other extreme, using all $N { = } d$ original training set images. For example, if the baseline method is trained on ImageNet, then $d = 1 , 2 8 1 , 1 6 7$ . When $N = 1$ , it means that we train the method using a single source image and generate the remaining 1,281,166 images via augmentation. Other baselines use CIFAR-10/100 images, so in those cases $d = 5 0 , 0 0 0$ instead.
|
| 63 |
+
|
| 64 |
+
The data augmentation protocol, is an extreme version of augmentations already employed by most deep learning protocols. Each method we test, in fact, already performs some data augmentation internally. Thus, when the method is applied on our augmented data, this can be equivalently thought of as incrementing these “native” augmentations by concatenating them with our own.
|
| 65 |
+
|
| 66 |
+
Choice of augmentations. Next, we describe how the $N$ source images are expanded to additional $d - N$ images so that the models can be trained on exactly $d$ images, independent from the choice of $N$ . The idea is to use an aggressive form of data augmentation involving cropping, scaling, rotation, contrast changes, and adding noise. These transformations are representative of invariances that one may wish to incorporate in the features. Augmentation can be seen as imposing a prior on how we expect the manifold of natural images to look like. When training with very few images, these priors become more important since the model cannot extract them directly from data.
|
| 67 |
+
|
| 68 |
+
Given a source image of size size $H \times W$ , we first extract a certain number of random patches of size $( w , h )$ , where $w \leq W$ and $h \leq H$ satisfy the additional constraints $\beta \le \frac { w h } { W H }$ and $\begin{array} { r } { \gamma \leq \frac { h } { w } \leq \gamma ^ { - 1 } } \end{array}$ . Thus, the smallest size of the crops is limited to be at least $\beta W H$ and at most the whole image. Additionally, changes to the aspect ratio are limited by $\gamma$ . In practice we use $\beta = 1 0 ^ { - 3 }$ and $\textstyle \gamma = { \frac { 3 } { 4 } }$ .
|
| 69 |
+
|
| 70 |
+
Second, good features should not change much by small image rotations, so images are rotated (before cropping to avoid border artifacts) by $\alpha \in \mathsf { \Gamma } ( - 3 5 , 3 5 )$ degrees. Due to symmetry in image statistics, images are also flipped left-to-right with $50 \%$ probability.
|
| 71 |
+
|
| 72 |
+
Illumination changes are common in natural images, we thus expect image features to be robust to color and contrast changes. Thus, we employ a set of linear transformations in RGB space to model this variability in real data. Additionally, the color/intensity of single pixels should not affect the feature representation, as this does not change the contents of the image. To this end, color jitter with additive brightness, contrast and saturation are sampled from three uniform distributions in (0.6, 1.4) and hue noise from $( - 0 . 1 , 0 . 1 )$ is applied to the image patches. Finally, the cropped and transformed patches are scaled to the color range $( - 1 , 1 )$ and then rescaled to full $S \times S$ resolution to be supplied to each representation learning method, using bilinear interpolation. This formulation ensures that the patches are created in the target resolution $S$ , independent from the size and aspect ratio $W , H$ of the source image.
|
| 73 |
+
|
| 74 |
+
Real samples. The images used for the $N { = } 1$ and $N { = } 1 0$ experiments are shown in Figure 1 and the appendix respectively (this is all the training data used in such experiments). For the special case of using a single training image, i.e. $N { = } 1$ , we have chosen one photographic $( 2 5 6 0 \times 1 9 2 0 )$ ) and one drawn image $( 6 0 0 \times 2 2 5 )$ , which we call Image A and Image $B$ , respectively. The two images were manually selected as they contain rich texture and are diverse, but their choice was not optimized for performance. We test only two images due to the cost of running a full set of experiments (each image is expanded up to $1 . 2 \mathbf { M }$ times for training some of the models, as explained above). However, this is sufficient to prove our main points. We also test another $( 1 1 6 5 \times 5 8 5 )$ ) Image $C$ to ablate the “crowdedness” of an image, as this latter contains large areas covering no objects. While resolution matters to some extent as a bigger image contains more pixels, the information within is still far more correlated, and thus more redundant than sampling several smaller images. In particular, the resolution difference in Image $\mathtt { A }$ and $_ \mathrm { B }$ appears to be negligible in our experiments. For CIFAR-10, where $S = 3 2$ we only use Image B due to the resolution difference. In direct comparison, Image B is the size of about 132 CIFAR images which is still much less than $d = 5 0 { , } 0 0 0$ . For $N > 1$ , we select the source images randomly from each method’s training set.
|
| 75 |
+
|
| 76 |
+
# 3.2 REPRESENTATION LEARNING METHODS
|
| 77 |
+
|
| 78 |
+
Generative models. Generative Adversarial Networks (GANs) (Goodfellow et al., 2014) learn to generate images using an adversarial objective: a generator network maps noise samples to image samples, approximating a target image distribution and a discriminator network is tasked with distinguishing generated and real samples. Generator and discriminator are pitched one against the other and learned together; when an equilibrium is reached, the generator produces images indistinguishable (at least from the viewpoint of the discriminator) from real ones.
|
| 79 |
+
|
| 80 |
+
Bidirectional Generative Adversarial Networks (BiGAN) (Donahue et al., 2017; Dumoulin et al., 2016) are an extension of GANs designed to learn a useful image representation as an approximate inverse of the generator through joint inference on an encoding and the image. This method’s native augmentation uses random crops and random horizontal flips to learn features from $S = 1 2 8$ sized images. As opposed to the other two methods discussed below it employs leaky ReLU nonlinearities as is typical in GAN discriminators.
|
| 81 |
+
|
| 82 |
+
Rotation. Most image datasets contain pictures that are ‘upright’ as this is how humans prefer to take and look at them. This photographer bias can be understood as a form of implicit data labelling. RotNet (Gidaris et al., 2018) exploits this by tasking a network with predicting the upright direction of a picture after applying to it a random rotation multiple of 90 degrees (in practice this is formulated as a 4-way classification problem). The authors reason that the concept of ‘upright’ requires learning high level concepts in the image and hence this method is not vulnerable to exploiting low-level visual information, encouraging the network to learn more abstract features. In our experiments, we test this hypothesis by learning from impoverished datasets that may lack the photographer bias. The native augmentations that RotNet uses on the $S { = } 2 5 6$ inputs only comprise horizontal flips and non-scaled random crops to $2 2 4 \times 2 2 4$ .
|
| 83 |
+
|
| 84 |
+
Clustering. DeepCluster (Caron et al., 2018) is a recent state-of-the-art unsupervised representation learning method. This approach alternates $k$ -means clustering to produce pseudo-labels for the data and feature learning to fit the representation to these labels. The authors attribute the success of the method to the prior knowledge ingrained in the structure of the convolutional neural network (Ulyanov et al., 2018).
|
| 85 |
+
|
| 86 |
+
The method alternatives between a clustering step, in which $k$ -means is applied on the PCA-reduced features with ID for each i $k = 1 0 ^ { 4 }$ , and a learning step, in which the network is trainedder a set of augmentations (random resized crops with usterand $\beta { \dot { = } } 0 . 0 8 , \gamma = { \textstyle \frac { 3 } { 4 } }$ horizontal flips) that constitute its native augmentations used on top of the $S { = } 2 5 6$ input images.
|
| 87 |
+
|
| 88 |
+
# 4 EXPERIMENTS
|
| 89 |
+
|
| 90 |
+
We evaluate the representation learning methods on ImageNet and CIFAR-10/100 using linear probes (Section 4.1). After ablating various choices of transformations in our augmentation protocol (Section 4.2), we move to the core question of the paper: whether a large dataset is beneficial to unsupervised learning, especially for learning early convolutional features (Section 4.3).
|
| 91 |
+
|
| 92 |
+
# 4.1 LINEAR PROBES AND BASELINE ARCHITECTURE
|
| 93 |
+
|
| 94 |
+
In order to quantify if a neural network has learned useful feature representations, we follow the standard approach of using linear probes (Zhang et al., 2017). This amounts to solving a difficult task such as ImageNet classification by training a linear classifier on top of pre-trained feature representations, which are kept fixed. Linear classifiers heavily rely on the quality of the representation since their discriminative power is low.
|
| 95 |
+
|
| 96 |
+
We apply linear probes to all intermediate convolutional layers of networks and train on the ImageNet LSVRC-12 (Deng et al., 2009) and CIFAR-10/100 (Krizhevsky, 2009) datasets, which are the standard benchmarks for evaluation in self-supervised learning. Our base encoder architecture is AlexNet (Krizhevsky et al., 2012) with BatchNorm, since this is a good representative model and is most often used in other unsupervised learning work for the purpose of benchmarking. This model has five convolutional blocks (each comprising a linear convolution later followed by ReLU and optionally max pooling). We insert the probes right after the ReLU layer in each block, and denote these entry points conv1 to conv5. Applying the linear probes at each convolutional layer allows studying the quality of the representation learned at different depths of the network.
|
| 97 |
+
|
| 98 |
+
Table 1: Ablating data augmentation using MonoGAN (left). Training a linear classifier on the features extracted at different depths of the network for CIFAR-10.
|
| 99 |
+
|
| 100 |
+
<table><tr><td></td><td colspan="4">CIFAR-10</td></tr><tr><td></td><td>conv1</td><td>conv2</td><td>conv3</td><td>conv4</td></tr><tr><td>(a) Fully sup.</td><td>66.5</td><td>70.1</td><td>72.4</td><td>75.9</td></tr><tr><td>(b) Random feat.</td><td>57.8</td><td>55.5</td><td>54.2</td><td>47.3</td></tr><tr><td>(c) No aug.</td><td>57.9</td><td>56.2</td><td>54.2</td><td>47.8</td></tr><tr><td>d) Jitter</td><td>58.9</td><td>58.0</td><td>57.0</td><td>49.8</td></tr><tr><td>通 Rotation</td><td>61.4</td><td>58.8</td><td>56.1</td><td>47.5</td></tr><tr><td>(f) Scale</td><td>67.9</td><td>69.3</td><td>67.9</td><td>59.1</td></tr><tr><td>(g) Rot.&jitter</td><td>64.9</td><td>63.6</td><td>61.0</td><td>53.4</td></tr><tr><td>? Rot.& scale</td><td>67.6</td><td>69.9</td><td>68.0</td><td>60.7</td></tr><tr><td>i Jitter & scale</td><td>68.1</td><td>71.3</td><td>69.5</td><td>62.4</td></tr><tr><td>i All</td><td>68.1</td><td>72.3</td><td>70.8</td><td>63.5</td></tr></table>
|
| 101 |
+
|
| 102 |
+
Table 2: ImageNet LSVRC-12 linear probing evaluation (below). A linear classifier is trained on the (downsampled) activations of each layer in the pretrained model. We report classification accuracy averaged over 10 crops. The ‡ indicated that numbers are taken from (Zhang et al., 2017).
|
| 103 |
+
|
| 104 |
+
<table><tr><td rowspan="2">Method, Reference</td><td rowspan="2"></td><td colspan="6">ILSVRC-12</td></tr><tr><td>#images</td><td>conv1</td><td>conv2</td><td>conv3</td><td>conv4</td><td>conv5</td></tr><tr><td>(a)</td><td>Full-supervision‡</td><td>1,281,167</td><td>19.3</td><td>36.3</td><td>44.2</td><td>48.3</td><td>50.5</td></tr><tr><td>(b)</td><td>(Oyallon et al., 2017): Scattering</td><td>0</td><td>-</td><td>18.9</td><td>-</td><td>1</td><td>1</td></tr><tr><td>(c)</td><td>Random*</td><td>0</td><td>11.6</td><td>17.1</td><td>16.9</td><td>16.3</td><td>14.1</td></tr><tr><td>(d)</td><td>(Krahenbuhl et al., 2016):k-means‡</td><td>~160</td><td>17.5</td><td>23.0</td><td>24.5</td><td>23.2</td><td>20.6</td></tr><tr><td>(e)</td><td>(Donahue et al., 2017): BiGAN‡</td><td>1,281,167</td><td>17.7</td><td>24.5</td><td>31.0</td><td>29.9</td><td>28.0</td></tr><tr><td>(f)</td><td>mono,Image A</td><td>1</td><td>20.4</td><td>30.9</td><td>33.4</td><td>28.4</td><td>16.0</td></tr><tr><td>(g)</td><td>mono, Image B</td><td>1</td><td>20.5</td><td>30.4</td><td>31.6</td><td>27.0</td><td>16.8</td></tr><tr><td>(h)</td><td>deka</td><td>10</td><td>16.2</td><td>16.5</td><td>16.5</td><td>13.1</td><td>7.5</td></tr><tr><td>(i</td><td>kilo</td><td>1,000</td><td>16.1</td><td>17.7</td><td>18.3</td><td>17.6</td><td>13.5</td></tr><tr><td>i</td><td>(Gidaris et al., 2018): RotNet</td><td>1,281,167</td><td>18.8</td><td>31.7</td><td>38.7</td><td>38.2</td><td>36.5</td></tr><tr><td>()</td><td>mono,Image A</td><td>1</td><td>19.9</td><td>30.2</td><td>30.6</td><td>27.6</td><td>21.9</td></tr><tr><td>1</td><td>mono, Image B</td><td>1</td><td>17.8</td><td>27.6</td><td>27.9</td><td>25.4</td><td>20.2</td></tr><tr><td>(m)</td><td>deka</td><td>10</td><td>19.6</td><td>30.7</td><td>32.6</td><td>28.9</td><td>22.6</td></tr><tr><td>(n)</td><td>kilo</td><td>1,000</td><td>21.0</td><td>33.5</td><td>36.5</td><td>34.0</td><td>29.4</td></tr><tr><td>(0)</td><td>(Caron et al., 2018): DeepCluster</td><td>1,281,167</td><td>18.0</td><td>32.5</td><td>39.2</td><td>37.2</td><td>30.6</td></tr><tr><td>(p)</td><td>mono, Image A</td><td>1</td><td>20.7</td><td>31.5</td><td>32.5</td><td>28.5</td><td>21.0</td></tr><tr><td>(q)</td><td>mono,Image B</td><td>1</td><td>19.7</td><td>30.1</td><td>31.6</td><td>28.5</td><td>20.4</td></tr><tr><td>(r)</td><td>mono, Image C</td><td>1</td><td>18.9</td><td>29.2</td><td>31.5</td><td>28.9</td><td>23.5</td></tr><tr><td>(s)</td><td>deka</td><td>10</td><td>18.5</td><td>29.0</td><td>31.1</td><td>28.2</td><td>21.9</td></tr><tr><td>(t</td><td>kilo</td><td>1,000</td><td>19.5</td><td>29.8</td><td>33.0</td><td>31.7</td><td>26.8</td></tr></table>
|
| 105 |
+
|
| 106 |
+
Table 3: CIFAR-10/100. Accuracy of linear classifiers on different network layers.
|
| 107 |
+
|
| 108 |
+
<table><tr><td rowspan="2">Dataset</td><td colspan="4"></td><td colspan="4">CIFAR-100</td></tr><tr><td>conv1</td><td>conv2</td><td>CIFAR-10 conv3</td><td>conv4</td><td>conv1</td><td>conv2</td><td>conv3</td><td>conv4</td></tr><tr><td>Fully supervised</td><td>66.5</td><td>70.1</td><td>72.4</td><td>75.9</td><td>38.7</td><td>43.6</td><td>44.4</td><td>46.5</td></tr><tr><td>Random</td><td>57.8</td><td>55.5</td><td>54.2</td><td>47.3</td><td>30.9</td><td>29.8</td><td>28.6</td><td>24.1</td></tr><tr><td>RotNet</td><td>64.4</td><td>65.6</td><td>65.6</td><td>59.1</td><td>36.0</td><td>35.9</td><td>34.2</td><td>25.8</td></tr><tr><td>GAN (CIFAR-10)</td><td>67.7</td><td>73.0</td><td>72.5</td><td>69.2</td><td>39.6</td><td>46.0</td><td>45.1</td><td>39.9</td></tr><tr><td>GAN (CIFAR-100)</td><td>1</td><td>1</td><td>1</td><td>1</td><td>38.1</td><td>42.2</td><td>44.0</td><td>46.6</td></tr><tr><td>MonoGAN</td><td>68.1</td><td>72.3</td><td>70.8</td><td>63.5</td><td>39.9</td><td>46.9</td><td>44.5</td><td>38.8</td></tr></table>
|
| 109 |
+
|
| 110 |
+
Details. While linear probes are conceptually straightforward, there are several technical details that affect the final accuracy by a few percentage points. Unfortunately, prior work has used several slightly different setups, so that comparing results of different publications must be done with caution. To make matters more difficult, not all papers released evaluation source code. We prove this standardized testing code here2.
|
| 111 |
+
|
| 112 |
+
In our implementation, we follow the original proposal (Zhang et al., 2017) in pooling each representation to a vector with 9600, 9216, 9600, 9600, 9216 dimensions for $\mathtt { c o n v l - 5 }$ using adaptive max-pooling, and absorb the batch normalization weights into the preceding convolutions. For evaluation on ImageNet we follow RotNet to train linear probes: images are resized such that the shorter edge has a length of 256 pixels, random crops of $2 2 4 \times 2 2 4$ are computed and flipped horizontally with $5 0 \%$ probability. Learning lasts for 36 epochs and the learning rate schedule starts from 0.01 and is divided by five at epochs 5, 15 and 25. The top-1 accuracy of the linear classifier is then measured on the ImageNet validation subset. This uses DeepCluster’s protocol, extracting 10 crops for each validation image (four at the corners and one at the center along with their horizontal flips) and averaging the prediction scores before the accuracy is computed. For CIFAR-10/100 data, we follow the same learning rate schedule and for both training and evaluation we do not reduce the dimensionality of the representations and keep the images’ original size of $3 2 \times 3 2$ .
|
| 113 |
+
|
| 114 |
+
# 4.2 EFFECT OF AUGMENTATIONS
|
| 115 |
+
|
| 116 |
+
In order to better understand which image transformations are important to learn a good feature representations, we analyze the impact of augmentation settings. For speed, these experiments are conducted using the CIFAR-10 images $Q = 5 0$ , 000 in the training set) and with the smaller source Image $_ \mathrm { B }$ and a GAN using the Wasserstein GAN formulation with gradient penalty (Gulrajani et al., 2017). The encoder is a smaller AlexNet-like CNN consisting of four convolutional layers (kernel sizes: $7 , 5 , 3 , 3$ ; strides: 3, 2, 2, 1) followed by a single fully connected layer as the discriminator. Given that the GAN is trained on a single image (w/ augmentations), we call this setting MonoGAN.
|
| 117 |
+
|
| 118 |
+
Table 1 reports all $2 ^ { 3 }$ combinations of the three main augmentations (scale, rotation, and jitter) and a randomly initialized network baseline (see Table 1 (b)) using the linear probes protocol discussed above. Without data augmentation the model only achieves marginally better performance than the random network (which also achieves a non-negligible level of performance (Ulyanov et al., 2017; Caron et al., 2018)). This is understandable since the dataset literally consists of a single training image cloned $d$ times. Color jitter and rotation slightly improve the performance of all probes by 1- $2 \%$ points, but random rescaling adds at least ten points at every depth (see Table 1 (f,h,i)) and is the most important single augmentation. A similar conclusion can be drawn when two augmentations are combined, although there are diminishing returns as more augmentations are combined. Overall, we find all three types of augmentations are of importance when training in the ultra-low data setting.
|
| 119 |
+
|
| 120 |
+
# 4.3 BENCHMARK EVALUATION
|
| 121 |
+
|
| 122 |
+
We analyze how performance varies as a function $N$ , the number of actual samples that are used to generated the augmented datasets, and compare it to the gold-standard setup (in terms of choice of training data) defined in the papers that introduced each method. The evaluation is again based on linear probes (Section 4.1).
|
| 123 |
+
|
| 124 |
+
Mono is enough. From Table 2 we make the following observations. Training with just a single source image (f,g,k,l,p,q) is much better than random initialization (c) for all layers. Notably, these models also outperform Gabor-like filters from Scattering networks (Bruna & Mallat, 2013), which are hand crafted image features, replacing the first two convolutional layers as in (Oyallon et al., 2017). Using the same protocol as in the paper, this only achieves an accuracy of $1 8 . 9 \%$ compared to (p)’s conv $2 > 3 0 \%$ .
|
| 125 |
+
|
| 126 |
+
More importantly, when comparing within pretext task, even with one image we are able to improve the quality of conv1–conv3 features compared to full (unsupervised) ImageNet training for GAN based self-supervision (e-i). For the other methods $( \mathrm { j \cdot }$ -n, o-s) we reach and also surpass the performance for the first layer and are within $1 . 5 \%$ points for the second. Given that the best unsupervised performance for conv2 is 32.5, our method using a single source Image A (Table 2, p) is remarkably close with 31.5.
|
| 127 |
+
|
| 128 |
+
Image contents. While we surpass the GAN based approach of (Donahue et al., 2017) for both single source images, we find more nuanced results for the other two methods: For RotNet, as expected, the photographic bias cannot be extracted from a single image. Thus its performance is low with little training data and increases together with the number of images (Table 2, j-n). When comparing Image A and B trained networks for RotNet, we find that the photograph yields better performance than the hand drawn animal image. This indicates that the method can extract rotation information from low level image features such as patches which is at first counter intuitive. Considering that the hand-drawn image does not work well, we can assume that lighting and shadows even in small patches can indeed give important cues on the up direction which can be learned even from a single (real) image. DeepCluster shows poor performance in conv1 which we can improve upon in the single image setting (Table 2, o-r). Naturally, the image content matters: a trivial image without any image gradient (e.g. picture of a white wall) would not provide enough signal for any method. To better understand this issue, we also train DeepCluster on the much less cluttered Image C to analyze how much the image influences our claims. We find that even though this image contains large parts of sky and sea, the performance is only slightly lower than that of Image A. This finding indicates that the augmentations can even compensate for large untextured areas and the exact choice of image is not critical.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 2: conv1 filters trained using a single image. The 96 learned $( 3 \times 1 1 \times 1 1 )$ filters for the first layer of AlexNet are shown for each single training image and method along with their linear classifier performance. For visualization, each filter is normalized to be in the range of $( - 1 , 1 )$ .
|
| 132 |
+
|
| 133 |
+
More than one image. While BiGAN fails to converge for $N \in \{ 1 0 , 1 0 0 0 \}$ , most likely due to issues in learning from a distribution which is neither whole images nor only patches, we find that both RotNet and DeepCluster improve their performance in deeper layers when increasing the number of training images. However, for conv1 and conv2, a single image is enough. In deeper layers, DeepCluster seems to require large amounts of source images to yield the reported results as the deka- and kilo- variants start improving over the single image case (Table 2, o-t). This need for data also explains the gap between the two input images which have different resolutions. Summarizing Table 2, we can conclude that learning conv1, conv2 and for the most part conv3 (33.4 vs. 39.4) on over 1M images does not yield a significant performance increase over using one single training image — a highly unexpected result.
|
| 134 |
+
|
| 135 |
+
Generalization. In Table 3, we show the results of training linear classifiers for the CIFAR-10 dataset and compare against various baselines. We find that the GAN trained on the smaller Image B outperforms all other methods including the fully-supervised trained one for the first convolutional layer. We also outperform the same architecture trained on the full CIFAR-10 training set using RotNet, which might be due to the fact that either CIFAR images do not contain much information about the orientation of the picture or because they do not contain as many objects as in ImageNet. While the GAN trained on the whole dataset outperforms the MonoGAN on the deeper layers, the gap stays very small until the last layer. These findings are also reflected in the experiments on the CIFAR-100 dataset shown in Table 3. We find that our method obtains the best performance for the first two layers, even against the fully supervised version. The gap between our mono variant and the other methods increases again with deeper layers, hinting to the fact that we cannot learn very high level concepts in deeper layers from just one single image. These results corroborate the finding that our method allows learning very generalizable early features that are not domain dependent.
|
| 136 |
+
|
| 137 |
+
# 4.4 QUALITATIVE ANALYSIS
|
| 138 |
+
|
| 139 |
+
Visual comparison of weights. In Figure 2, we compare the learned filters of all first-layer convolutions of an AlexNet trained with the different methods and a single image. First, we find that the filters closely resemble those obtained via supervised training: Gabor-like edge detectors and various color blobs. Second, we find that the look is not easily predictive of its performance, e.g.
|
| 140 |
+
|
| 141 |
+
while generatively learned filters (BiGAN) show many edge detectors, its linear probes performance is about the same as that of DeepCluster which seems to learn many somewhat redundant point features. However, we also find that some edge detectors are required, as we can confirm from RotNet and DeepCluster trained on Image B, which yield less crisp filters and worse performances.
|
| 142 |
+
|
| 143 |
+
Table 4: Finetuning experiments The pretrained model’s first two convolutions are left frozen (or replaced by the Scattering transform) and the nework is retrained using ImageNet LSVRC-12 training set.
|
| 144 |
+
|
| 145 |
+
<table><tr><td></td><td>Top-1</td></tr><tr><td>Full sup.</td><td>59.4</td></tr><tr><td>Random</td><td>42.6</td></tr><tr><td>Scattering</td><td>49.2</td></tr><tr><td>BiGAN, A</td><td>51.4</td></tr><tr><td>RotNet, A</td><td>49.5</td></tr><tr><td>DeepCluster A</td><td>52.5</td></tr></table>
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 3: Style transfer with single-image pretraining. We show two style transfer results using the Image A trained BiGAN and the ImageNet pretrained AlexNet.
|
| 149 |
+
|
| 150 |
+
Fine-tuning instead of freezing. In Tab. 4, we show the results of retraining a network with the first two convolutional filters, or the scattering transform from (Oyallon et al., 2017), left frozen. We observe that our single image trained DeepCluster and BiGAN models achieve performances closes to the supervised benchmark. Notably, the scattering transform as a replacement for conv1-2 performs slightly worse than the analyzed single image methods. We also show in the appendix the results of retraining a network initialized with the first two convolutional layers obtained from a single image and subsequently linearly probing the model. The results are shown in Appendix Tab. 5 and we find that we can recover the performance of fully-supervised networks, i.e. the first two convolutional filters trained from just a single image generalize well and do not get stuck in an image specific minimum.
|
| 151 |
+
|
| 152 |
+
Neural style transfer. Lastly, we show how our features trained on only a single image can be used for other applications. In Figure 3 we show two basic style transfers using the method of (Gatys et al., 2016) from an official PyTorch tutorial3. Image content and style are separated and the style is transferred from the source to target image using all CNN features, not just the shallow layers. We visually compare the results of using our features and from full ImageNet supervision. We find almost no visual differences in the stylized images and can conclude that our early features are equally powerful as fully supervised ones for this task.
|
| 153 |
+
|
| 154 |
+
# 5 CONCLUSIONS
|
| 155 |
+
|
| 156 |
+
We have made the surprising observation that we can learn good and generalizable features through self-supervision from one single source image, provided that sufficient data augmentation is used. Our results complement recent works (Mahajan et al., 2018; Goyal et al., 2019) that have investigated self-supervision in the very large data regime. Our main conclusion is that these methods succeed perfectly in capturing the simplest image statistics, but that for deeper layers a gap exist with strong supervision which is compensated only in limited manner by using large datasets. This novel finding motivates a renewed focus on the role of augmentations in self-supervised learning and critical rethinking of how to better leverage the available data.
|
| 157 |
+
|
| 158 |
+
# ACKNOWLEDGEMENTS.
|
| 159 |
+
|
| 160 |
+
We thank Aravindh Mahendran for fruitful discussions. Yuki Asano gratefully acknowledges support from the EPSRC Centre for Doctoral Training in Autonomous Intelligent Machines & Systems (EP/L015897/1). The work is supported by ERC IDIU-638009.
|
| 161 |
+
|
| 162 |
+
REFERENCES
|
| 163 |
+
Pulkit Agrawal, Joao Carreira, and Jitendra Malik. Learning to see by moving. In Proc. ICCV, pp. 37–45. IEEE, 2015. 3
|
| 164 |
+
R. Arandjelovic and A. Zisserman. Look, listen and learn. In ´ Proc. ICCV, 2017. 3
|
| 165 |
+
Piotr Bojanowski and Armand Joulin. Unsupervised learning by predicting noise. In Proc. ICML, pp. 517–526. PMLR, 2017. 2
|
| 166 |
+
Joan Bruna and Stephane Mallat. Invariant scattering convolution networks. ´ IEEE transactions on pattern analysis and machine intelligence, 35(8):1872–1886, 2013. 3, 7
|
| 167 |
+
M. Caron, P. Bojanowski, A. Joulin, and M. Douze. Deep clustering for unsupervised learning of visual features. In Proc. ECCV, 2018. 2, 3, 5, 6, 7, 13
|
| 168 |
+
N. Dalal and B Triggs. Histogram of Oriented Gradients for Human Detection. In Proc. CVPR, volume 2, pp. 886–893, 2005. 2, 3
|
| 169 |
+
Virginia R de Sa. Learning classification with unlabeled data. In NIPS, pp. 112–119, 1994. 3
|
| 170 |
+
J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In Proc. CVPR, 2009. 5
|
| 171 |
+
Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proc. ICCV, pp. 1422–1430, 2015. 2
|
| 172 |
+
Jeff Donahue, Philipp Krhenbhl, and Trevor Darrell. Adversarial feature learning. Proc. ICLR, 2017. 2, 3, 5, 6, 7
|
| 173 |
+
A. Dosovitskiy, P. Fischer, J. T. Springenberg, M. Riedmiller, and T. Brox. Discriminative unsupervised feature learning with exemplar convolutional neural networks. IEEE PAMI, 38(9):1734–1747, Sept 2016. ISSN 0162-8828. doi: 10.1109/TPAMI.2015.2496141. 2
|
| 174 |
+
V. Dumoulin, I. Belghazi, B. Poole, O. Mastropietro, A. Lamb, M. Arjovsky, and A. Courville. Adversarially learned inference. arXiv preprint arXiv:1606.00704, 2016. 5
|
| 175 |
+
D. Erhan, Y. Bengio, A. Courville, and P. Vincent. Visualizing higher-layer features of a deep network. Technical Report 1341, University of Montreal, Jun 2009. 13
|
| 176 |
+
Chuang Gan, Boqing Gong, Kun Liu, Hao Su, and Leonidas J Guibas. Geometry guided convolutional neural networks for self-supervised video representation learning. In Proc. CVPR, 2018. 3
|
| 177 |
+
Rouhan Gao, Dinesh Jayaraman, and Kristen Grauman. Object-centric representation learning from unlabeled videos. In Proc. ACCV, 2016. 3
|
| 178 |
+
Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Image style transfer using convolutional neural networks. In Proc. CVPR, pp. 2414–2423, 2016. 2, 9
|
| 179 |
+
R. Geirhos, P. Rubisch, C. Michaelis, M. Bethge, F. A. Wichmann, and W. Brendel. Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In International Conference on Learning Representations, 2019. 14
|
| 180 |
+
Spyros Gidaris, Praveen Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In Proc. ICLR, 2018. 2, 3, 5, 6
|
| 181 |
+
R. B. Girshick. Fast R-CNN. In Proc. ICCV, 2015. 1
|
| 182 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680, 2014. 5
|
| 183 |
+
Priya Goyal, Dhruv Mahajan, Abhinav Gupta, and Ishan Misra. Scaling and benchmarking self-supervised visual representation learning. arXiv preprint arXiv:1905.01235, 2019. 9
|
| 184 |
+
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In NIPS, pp. 5767–5777, 2017. 7
|
| 185 |
+
B. Hariharan, J. Malik, and D. Ramanan. Discriminative decorrelation for clustering and classification. In Proc. ECCV, 2012. 3
|
| 186 |
+
M. Huh, P. Agrawal, and A. A. Efros. What makes imagenet good for transfer learning? arXiv preprint arXiv:1608.08614, 2016. 1
|
| 187 |
+
Phillip Isola, Daniel Zoran, Dilip Krishnan, and Edward H Adelson. Learning visual groups from cooccurrences in space and time. In Proc. ICLR, 2015. 3
|
| 188 |
+
Dinesh Jayaraman and Kristen Grauman. Learning image representations tied to ego-motion. In Proc. ICCV, 2015. 3
|
| 189 |
+
Dinesh Jayaraman and Kristen Grauman. Slow and steady feature analysis: higher order temporal coherence in video. In Proc. CVPR, 2016. 3
|
| 190 |
+
Simon Jenni and Paolo Favaro. Self-supervised feature learning by learning to spot artifacts. In Proc. CVPR, 2018. 2
|
| 191 |
+
J. Johnson, A. Alahi, and L. Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In Proc. ECCV, pp. 694–711, 2016. 2
|
| 192 |
+
R. Kat, R. Jevnisek, and S. Avidan. Matching pixels using co-occurrence statistics. In Proc. ICCV, pp. 1751– 1759, 2018. 2
|
| 193 |
+
Philipp Krahenb ¨ uhl, Carl Doersch, Jeff Donahue, and Trevor Darrell. Data-dependent initializations of convo-¨ lutional neural networks. Proc. ICLR, 2016. 6
|
| 194 |
+
A. Krizhevsky, I. Sutskever, and G. E. Hinton. ImageNet classification with deep convolutional neural networks. In NIPS, pp. 1106–1114, 2012. 5
|
| 195 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. 5
|
| 196 |
+
Gustav Larsson, Michael Maire, and Gregory Shakhnarovich. Colorization as a proxy task for visual understanding. In Proc. CVPR, 2017. 2
|
| 197 |
+
Hsin-Ying Lee, Jia-Bin Huang, Maneesh Kumar Singh, and Ming-Hsuan Yang. Unsupervised representation learning by sorting sequence. In Proc. ICCV, 2017. 2
|
| 198 |
+
D. Lowe. Distinctive image features from scale-invariant keypoints. IJCV, 60(2):91–110, 2004. 2, 3
|
| 199 |
+
Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 181–196, 2018. 9
|
| 200 |
+
A. Mahendran, J. Thewlis, and A. Vedaldi. Cross pixel optical-flow similarity for self-supervised learning. In Proc. ACCV, 2018. 3
|
| 201 |
+
T. Malisiewicz, A. Gupta, and A. A. Efros. Ensemble of exemplar-SVMs for object detection and beyond. In Proc. ICCV, 2011. 3
|
| 202 |
+
Ishan Misra, C. Lawrence Zitnick, and Martial Hebert. Shuffle and learn: Unsupervised learning using temporal order verification. In Proc. ECCV, 2016. 2
|
| 203 |
+
T Mundhenk, Daniel Ho, and Barry Y. Chen. Improvements to context based self-supervised learning. In Proc. CVPR, 2017. 2
|
| 204 |
+
Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In Proc. ECCV, pp. 69–84. Springer, 2016. 2
|
| 205 |
+
Mehdi Noroozi, Hamed Pirsiavash, and Paolo Favaro. Representation learning by learning to count. In Proc. ICCV, 2017. 2
|
| 206 |
+
Mehdi Noroozi, Ananth Vinjimoor, Paolo Favaro, and Hamed Pirsiavash. Boosting self-supervised learning via knowledge transfer. In Proc. CVPR, 2018. 2
|
| 207 |
+
Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The building blocks of interpretability. Distill, 3(3):e10, 2018. 13
|
| 208 |
+
B. A. Olshausen and D. J. Field. Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research, 37(23):3311–3325, 1997. 2, 3
|
| 209 |
+
M. Oquab, L. Bottou, I. Laptev, and J. Sivic. Learning and Transferring Mid-Level Image Representations using Convolutional Neural Networks. In Proc. CVPR, 2014. 1
|
| 210 |
+
Andrew Owens, Phillip Isola, Josh H. McDermott, Antonio Torralba, Edward H. Adelson, and William T. Freeman. Visually indicated sounds. In Proc. CVPR, pp. 2405–2413, 2016. 3
|
| 211 |
+
Edouard Oyallon, Eugene Belilovsky, and Sergey Zagoruyko. Scaling the scattering transform: Deep hybrid networks. pp. 5618–5627, 2017. 3, 6, 7, 9
|
| 212 |
+
Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, and Alexei A Efros. Context encoders: Feature learning by inpainting. In Proc. CVPR, pp. 2536–2544, 2016. 2
|
| 213 |
+
Deepak Pathak, Ross Girshick, Piotr Dollar, Trevor Darrell, and Bharath Hariharan. Learning features by ´ watching objects move. In Proc. CVPR, 2017. 3
|
| 214 |
+
Zhongzheng Ren and Yong Jae Lee. Cross-domain self-supervised multi-task feature learning using synthetic imagery. In Proc. CVPR, 2018. 2
|
| 215 |
+
A. Rodriguez, V. Naresh Boddeti, BVK V. Kumar, and A. Mahalanobis. Maximum margin correlation filter: A new approach for localization and classification. IEEE Transactions on Image Processing, 22(2):631–643, 2013. 3
|
| 216 |
+
Tamar Rott Shaham, Tali Dekel, and Tomer Michaeli. Singan: Learning a generative model from a single natural image. In Computer Vision (ICCV), IEEE International Conference on, 2019. 3
|
| 217 |
+
Pierre Sermanet et al. Time-contrastive networks: Self-supervised learning from video. In Proc. Intl. Conf. on Robotics and Automation, 2018. 2
|
| 218 |
+
H. Shin, H. R. Roth, M. Gao, L. Lu, Z. Xu, I. Nogues, J. Yao, D. Mollura, and R. M. Summers. Deep convolutional neural networks for computer-aided detection: Cnn architectures, dataset characteristics and transfer learning. IEEE Trans. on Medical Imaging, 35(5):1285–1298, May 2016. ISSN 0278-0062. 1
|
| 219 |
+
N. Srivastava, E. Mansimov, and R. Salakhudinov. Unsupervised learning of video representations using lstms. In Proc. ICML, 2015. 3
|
| 220 |
+
I. Talmi, R. Mechrez, and L. Zelnik-Manor. Template matching with deformable diversity similarity. In Proc. CVPR, pp. 175–183, 2017. 2
|
| 221 |
+
D. Ulyanov, A. Vedaldi, and V. Lempitsky. Improved texture networks: Maximizing quality and diversity in feed-forward stylization and texture synthesis. In Proc. CVPR, 2017. 7
|
| 222 |
+
D. Ulyanov, A. Vedaldi, and V. Lempitsky. Deep image prior. In Proc. CVPR, 2018. 5
|
| 223 |
+
X. Wang and A. Gupta. Unsupervised learning of visual representations using videos. In Proc. ICCV, pp. 2794–2802, 2015. 3
|
| 224 |
+
Xiaolong Wang, Kaiming He, and Abhinav Gupta. Transitive invariance for self-supervised visual representation learning. In Proc. ICCV, 2017. 3
|
| 225 |
+
D. Wei, J. Lim, A. Zisserman, and W. T. Freeman. Learning and using the arrow of time. In Proc. CVPR, 2018. 2
|
| 226 |
+
J. Yosinski, J. Clune, Y. Bengio, and H. Lipson. How transferable are features in deep neural networks? In NIPS, pp. 3320–3328, 2014. 1
|
| 227 |
+
M. D. Zeiler and Rob Fergus. Visualizing and understanding convolutional networks. In Proc. ECCV, 2014. 13
|
| 228 |
+
Richard Zhang, Phillip Isola, and Alexei A Efros. Colorful image colorization. In Proc. ECCV, pp. 649–666. Springer, 2016. 2
|
| 229 |
+
Richard Zhang, Phillip Isola, and Alexei A. Efros. Split-brain autoencoders: Unsupervised learning by crosschannel prediction. In Proc. CVPR, 2017. 5, 6, 7, 13
|
| 230 |
+
|
| 231 |
+
# A APPENDIX
|
| 232 |
+
|
| 233 |
+
# A.1 IMAGENET TRAINING IMAGES
|
| 234 |
+
|
| 235 |
+

|
| 236 |
+
Figure 4: ImageNet images for the $N { = } 1 0$ experiments.
|
| 237 |
+
|
| 238 |
+
The images used for the $N { = } 1 0$ experiments are shown in fig. 4.
|
| 239 |
+
|
| 240 |
+
# A.2 VISUAL COMPARISON OF FILTERS
|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
Figure 5: Filter visualization. We show activation maximization (left) and retrieval of top 9 activated images from the training set of ImageNet (right) for four random non-cherrypicked target filters. From top to bottom: conv1-5 of the BiGAN trained on a single image A. The filter visualization is obtained by learning a (regularized) input image that maximizes the response to the target filter using the library Lucid (Olah et al., 2018).
|
| 244 |
+
|
| 245 |
+
In order to understand what deeper neurons are responding to in our model, we visualize random neurons via activation maximization (Erhan et al., 2009; Zeiler & Fergus, 2014) in each layer. Additionally, we retrieve the top-9 images in the ImageNet training set that activate each neuron most in Figure 5. Since the mono networks are not trained on the ImageNet dataset, it can be used here for visualization. From the first convolutional layer we find typical neurons strongly reacting to oriented edges. In layers 2-4 we find patterns such as grids (conv2:3), and textures such as leopard skin (conv2:2) and round grid cover (conv4:4). Confirming our hypothesis that the neural network is only extracting patterns and not semantic information, we do not find any neurons particularly specialized to certain objects even in higher levels as for example dog faces or similar which can be fund in supervised networks. This finding aligns with the observations of other unsupervised methods (Caron et al., 2018; Zhang et al., 2017). As most neurons extract simple patterns and textures, the surprising effectiveness of training a network using a single image can be explained by the recent finding that even CNNs trained on ImageNet rely on texture (as opposed to shape) information to classify (Geirhos et al., 2019).
|
| 246 |
+
|
| 247 |
+
Table 5: Finetuning experiments Models are initialized using conv1 and conv2 from various single image trained models and the whole network is fine-tuned using ImageNet LSVRC-12 training set. Accuracy is averaged over 10 crops.
|
| 248 |
+
|
| 249 |
+
<table><tr><td>c1</td><td>c2 c3</td><td>c4</td><td>c5</td></tr><tr><td>Full sup.</td><td>19.3 36.3 44.2</td><td>48.3 50.5</td><td></td></tr><tr><td>BiGAN, A</td><td>22.5 37.6 44.2</td><td>47.6 48.3</td><td></td></tr><tr><td>RotNet, A</td><td>22.0 38.2</td><td>44.8 49.2 51.8</td><td></td></tr><tr><td>DeepCluster, A 21.8 35.9</td><td>43.6</td><td>48.8</td><td>50.4</td></tr></table>
|
| 250 |
+
|
| 251 |
+
# A.3 RETRAINING FROM SINGLE IMAGE INITIALIZATION
|
| 252 |
+
|
| 253 |
+
In Table 5, we initialize AlexNet models using the first two convolutional filters learned from a single image and retrain them using ImageNet. We find that the networks recover their performance fully and the first filters do not make the network stuck in a bad local minimum despite having been trained on a single image from a different distribution. The difference from the BiGAN to the full supervision model is likely due to it using a smaller input resolution (112 instead of 224), as the BiGAN’s output resolution is limited.
|
| 254 |
+
|
| 255 |
+
# A.4 LINEAR PROBES ON IMAGENET
|
| 256 |
+
|
| 257 |
+
We show two plots of the ImageNet linear probes results (Table 2 of the paper) in fig. 6. On the left we plot performance per layer in absolute scale. Naturally the performance of the supervised model improves with depth, while all unsupervised models degrade after conv3. From the relative plot on the right, it becomes clear that with our training scheme, we can even slightly surpass supervised performance on conv1 presumably since our model is trained with sometimes very small patches, thus receiving an emphasis on learning good low level filters. The gap between all self-supervised methods and the supervised baseline increases with depth, due to the fact that the supervised model is trained for this specific task, whereas the self-supervised models learn from a surrogate task without labels.
|
| 258 |
+
|
| 259 |
+

|
| 260 |
+
Figure 6: Linear Classifiers on ImageNet. Classification accuracies of linear classifiers trained on the representations from Table 2 are shown in absolute scale.
|
| 261 |
+
|
| 262 |
+
# A.5 EXAMPLE AUGMENTED TRAINING DATA
|
| 263 |
+
|
| 264 |
+
In figs. 7 to 10 we show example patches generated by our augmentation strategy for the datasets with different N. Even though the images and patches are very different in color and shape distribu
|
| 265 |
+
|
| 266 |
+
tion, our model learns weights that perform similarly in the linear probes benchmark (see Table 2 in the paper).
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
Figure 7: Example crops of Image A ( $N = 1$ ) dataset.
|
| 270 |
+
|
| 271 |
+

|
| 272 |
+
Figure 8: Example crops of Image B $N = 1$ ) dataset. 50 samples were selected randomly.
|
| 273 |
+
|
| 274 |
+

|
| 275 |
+
Figure 9: Example crops of deka $N = 1 0$ ) dataset. 50 samples were selected randomly.
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
Figure 10: Example crops of kilo ( $\overline { { N = 1 0 0 0 } }$ ) dataset. 50 samples were selected randomly.
|
parse/train/B1esx6EYvr/B1esx6EYvr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJxbu6VKDr/SJxbu6VKDr.md
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GATED CHANNEL TRANSFORMATION FOR VISUAL RECOGNITION
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
In this work, we propose a generally applicable transformation unit for visual recognition with deep convolutional neural networks. This transformation explicitly models channel relationships with explainable control variables. These variables determine the neuron behaviors of competition or cooperation, and they are jointly optimized with convolutional weights towards more accurate recognition. In Squeeze-and-Excitation (SE) Networks, the channel relationships are implicitly learned by fully connected layers, and the SE block is integrated at the block-level. We instead introduce a channel normalization layer to reduce the number of parameters and computational complexity. This lightweight layer incorporates a simple $l _ { 2 }$ normalization, enabling our transformation unit applicable to operator-level without much increase of additional parameters. Extensive experiments demonstrate the effectiveness of our unit with clear margins on many vision tasks, i.e., image classification on ImageNet, object detection and instance segmentation on COCO, video classification on Kinetics.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Convolutional Neural Networks (CNNs) have proven to be critical and robust in visual recognition tasks, such as image classification (Huang et al., 2018), detection (Singh et al., 2018), and segmentation (Singh et al., 2018). Notably, a single convolutional layer operates only on a neighboring local context of each spatial position of a feature map, which could possibly lead to local ambiguities (Torralba, 2003). To relief this problem, VGGNets (Simonyan & Zisserman, 2015) were proposed to construct deep CNNs, using a series of convolutional layers with non-linear activation functions and downsampling operators to cover a large extent of context. Moreover, He et al. (2016a) introduced a residual connection to help CNNs benefit from deeper architectures further.
|
| 12 |
+
|
| 13 |
+
Apart from improving the depth of CNNs, another branch of methods focuses on augmenting convolutional layer with modules that directly operate on context across large neighborhoods. Squeezeand-Excitation Networks (SE-Nets) (Hu et al., 2018b) leveraged globally embedding information to model channel relationship and modulate feature maps on the channel-wise level. Moreover, its following method, GE-Nets (Hu et al., 2018a), used largely neighboring embedding instead. These modules can be conveniently assembled into modern networks, such as ResNets (He et al., 2016a) and Inception (Szegedy et al., 2015) networks, to improve the representational ability of networks.
|
| 14 |
+
|
| 15 |
+
However, the SE module uses two fully connected $( F C )$ layers to process channel-wise embeddings, which leads to two problems. First, the number of SE modules to be applied in CNNs is limited. In Hu et al. (2018b), SE module was applied at the block-level, i.e., a single SE module is utilized per Res-block (He et al., 2016a) or Inception-block (Szegedy et al., 2016). The dimension of the $F C$ layer is decreased to save the computational cost further. However, the designed $F C$ layers still hinder the wide deployment of SE modules across all layers. Second, due to the complexity of the parameters in $F C$ (or convolutional layer in GE), it is difficult to analyze the interactions among the channels at different layers. The channel relationships learned by convolution and FC operations are inherently implicit (Hu et al., 2018b), resulting in agnostic behaviors of the neuron outputs.
|
| 16 |
+
|
| 17 |
+
In this paper, we propose a Gated Channel Transformation (GCT) for efficient and accurate contextual information modeling. First, we use a normalization component to replace the $F C$ layers. Normalization methods, e.g., Local Response Normalization (LRN) (Krizhevsky et al., 2012), create competitions among different neurons in neural networks. Batch normalization (Ioffe & Szegedy,
|
| 18 |
+
|
| 19 |
+
2015) and its variants can smooth gradient and have been widely used in accelerating CNNs training process. We leverage a simple $l _ { 2 }$ normalization for modeling channel relationship, which is more stable and computationally efficient comparing to FC layers. Second, we introduce a few channelwise parameters to control the behavior of the gated adaptation of feature channels. Compared to the large number of parameters in $F C$ , our designed parameters are much more lightweight. Besides, the gating weight parameter is convenient for channel relationship analysis and is helpful to understand the effect of GCT modules across different layers. According to our visualization analysis, GCT prefers to encourage cooperation in shallower layers, but competition is enhanced in deeper layers.
|
| 20 |
+
|
| 21 |
+
Our experiments show that GCT is a simple and effective architecture for modeling relationship among channels. It significantly improves the generalization capability of deep convolutional networks across visual recognition tasks and datasets.
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
Gating and attention mechanisms. Gating mechanisms have been successfully deployed in some recurrent neural network architectures. Long Short-Term Memory (LSTM) (Hochreiter & Schmidhuber, 1997) introduced an input gate, output gate and forget gate, which are used to regulate the flow of information into and out of the module. Based on gating mechanisms, some attention methods focus on forcing computational resources towards the most informative components of features (Larochelle & Hinton, 2010; Mnih et al., 2014; Vaswani et al., 2017). Recent works introduce the attention mechanism into convolutional networks (e.g., (Gehring et al., 2017; Dauphin et al., 2017)). Following these studies, SE-Nets (Hu et al., 2018b) and its following work GE-Nets (Hu et al., 2018a) introduced a lightweight gating mechanism which focuses on enhancing the representational power of the convolutional network by modeling channel-wise relationship. Compared to the SE module, our GCT also pays attention to the cross-channel relationship but can achieve better performance gains with less computation and parameters.
|
| 26 |
+
|
| 27 |
+
Normalization layers. In recent years, normalization layers have been widely used in deep networks to create competition between neurons (Krizhevsky et al., 2012) and produce smoother optimization surfaces (Ioffe & Szegedy, 2015). Local Response Normalization (LRN) (Krizhevsky et al., 2012) computes the statistics in a small neighborhood among channels for each pixel. Batch Normalization (BN) (Ioffe & Szegedy, 2015) utilizes global spatial information along the batch dimension and suggests to be deployed for all layers. Layer Normalization (LN) (Ba et al., 2016) computes along the channel dimension instead of the batch dimension. Group Normalization (GN) (Wu & He, 2018) differently divides the channels into groups and computes within each group the mean and variance for normalization. Similar to LRN, GN and LN, our GCT also utilizes channel-related information with normalization structure.
|
| 28 |
+
|
| 29 |
+
Deep architectures. VGGNets (Simonyan & Zisserman, 2015) and Inception networks (Szegedy et al., 2015) demonstrated that it was significant to improve the quality of representation by increasing the depth of a network. ResNets (He et al., 2016a) utilized shortcut connections to identity-based skip connections, and proved that it was highly effective to build considerably deeper and stronger networks with them. Some other researchers focused on improving the representation ability of the computational elements contained within a network (Szegedy et al., 2016). The more diverse composition of operators within a computational element can be constructed with multi-branch convolutions or pooling layers. Other than this, grouped convolutions have proven to be a practical method to increase the cardinality of learned transformations (Xie et al., 2017). We build our GCT on these deep architectures. All these networks with GCT achieve promising performance improvements, but the growth of computational complexity is negligible.
|
| 30 |
+
|
| 31 |
+
# 3 GATED CHANNEL TRANSFORMATION
|
| 32 |
+
|
| 33 |
+
SE-Nets proposed a lightweight SE module to augment convolutional networks by operating on a global context. The SE module contains two operators, i.e., a “squeeze” operator to embed channel context and an “excitation” operator to modulate the feature maps. The architecture of our Gated Channel Transformation benefits from this framework. Differently, GCT leverages a normalization operator instead of the $F C$ layers in the SE module for channel relationship modeling. Notably, the normalization operator is parameter-free. To make GCT learnable, we redesign the structure of the “squeeze” and “excitation” operators. Our new operators contain three sets of channel-wise trainable parameters. Thus, GCT is more convenient to be deployed occupying a small number of parameters. The gating parameters can be visualized for easier analysis of GCT’s behavior, while the discriminative ability is maintained.
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: An overview of the structure of Gated Channel Transformation (GCT).
|
| 37 |
+
|
| 38 |
+
Let $\mathbf { x } \in \mathbb { R } ^ { C \times H \times W }$ be an activation feature in a convolutional network, where $H$ and $W$ are the spatial height and width, and $C$ is the number of channels. In general, GCT performs the following transformation:
|
| 39 |
+
|
| 40 |
+
$$
|
| 41 |
+
\begin{array} { r } { \hat { \mathbf { x } } = F ( \mathbf { x } | \alpha , \gamma , \beta ) , \alpha , \gamma , \beta \in \mathbb { R } ^ { C } . } \end{array}
|
| 42 |
+
$$
|
| 43 |
+
|
| 44 |
+
Here $\alpha , \gamma$ and $\beta$ are trainable parameters. Embedding weights $_ { \pmb { \alpha } }$ are responsible for adapting the embedding outputs. The gating weights $\gamma$ and biases $\beta$ control the activation of the gate. They determine the behavior of GCT in each channel. The parameter complexity of GCT is $\bar { O ( C ) }$ , which is smaller than the SE module $( O ( C ^ { 2 } ) )$ ( $\mathrm { H u }$ et al., 2018b). In SE-Net, two $F C$ layers are leveraged, which have the parameter complexity of $O ( C ^ { 2 } )$ .
|
| 45 |
+
|
| 46 |
+
An illustration of the structure of GCT is shown in Fig. 1. Let $\textbf { x } = ~ [ x _ { 1 } , x _ { 2 } , . . . , x _ { C } ] , x _ { c } ~ =$ $[ x _ { c } ^ { i , j } ] _ { H \times W } ~ \in ~ \mathbb { R } ^ { H \times W } , c ~ \in ~ \{ 1 , 2 , . . . , C \}$ , where $x _ { c }$ is corresponding to each channel of $\mathbf { x }$ . The detailed transformation consists of following parts.
|
| 47 |
+
|
| 48 |
+
Global Context Embedding. Global context embedding (GCE) aggregates global context in each channel. GCE can exploit global contextual information outside the small receptive fields of convolutional layers. Given the embedding weights ${ \pmb { \alpha } } = [ \alpha _ { 1 } , . . . , \alpha _ { C } ]$ , GCE is defined as:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
s _ { c } = \alpha _ { c } | | x _ { c } | | _ { 2 } = \alpha _ { c } \{ [ \sum _ { i = 1 } ^ { H } \sum _ { j = 1 } ^ { W } ( x _ { c } ^ { i , j } ) ^ { 2 } ] + \epsilon \} ^ { \frac { 1 } { 2 } } ,
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $\epsilon$ is a small constant to avoid the problem of derivation at the zero point. Different from SE, GCT does not use global average pooling (GAP) to aggregate channel context. GAP might fail in some extreme cases. For example, if SE is deployed after the Instance Normalization (Ulyanov et al., 2016) layer that is popular in style transfer task, the output of GAP will be constant for any inputs since IN fixes the mean of each channel of features. To avoid this problem, we choose $\ell _ { p }$ -norm instead. It is worth noting that GCT is robust with different $\ell _ { p }$ -norms. In Sec. 4.5, we compare the performance of some popular $\ell _ { p }$ -norms and choose the best one, $\ell _ { 2 }$ -norm, to be our default setting. Notably, the performance of $\ell _ { 1 }$ -norm is very close to $\ell _ { 2 }$ -norm and $\ell _ { 1 }$ -norm can be equivalently replaced by GAP when the input of GCT is always non-negative (for example, after ReLU activation). In this case, $\ell _ { 1 }$ -norm is more computationally efficient.
|
| 55 |
+
|
| 56 |
+
Besides, we use trainable parameters $\alpha _ { c }$ to adjust each channel because different channels should have different significance.
|
| 57 |
+
|
| 58 |
+
Channel Normalization. Normalization methods can model relationship in visual or photographic features (Lyu & Simoncelli, 2008) with lightweight computing resource (e.g., Ioffe & Szegedy (2015)). Similar to LRN, we use a $\ell _ { 2 }$ normalization to operate across channels, namely channel normalization (CN). Let $\mathbf { s } = [ s _ { 1 } , . . . , s _ { C } ]$ , the formula of CN is:
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
Figure 2: Training curve comparisons for ResNets with different depth on ImageNet.
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\hat { s } _ { c } = \frac { \sqrt { C } s _ { c } } { | | \mathbf { s } | | _ { 2 } } = \frac { \sqrt { C } s _ { c } } { [ ( \displaystyle \sum _ { c = 1 } ^ { C } s _ { c } ^ { 2 } ) + \epsilon ] ^ { \frac { 1 } { 2 } } } ,
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
where $\epsilon$ is a small constant. The scalar $\sqrt { C }$ is used to normalize the scale of $\hat { s } _ { c }$ , avoiding a too small scale of $\hat { s } _ { c }$ when $C$ is large. Compared to the $F C$ layers used by SE, our CN operator has less computational complexity $( O ( C ) )$ compared to the $F C$ layers $( O ( C ^ { 2 } ) )$ .
|
| 68 |
+
|
| 69 |
+
Gating Adaptation. We employ a gating mechanism, namely gating adaptation, to adapt the original feature. By introducing the gating mechanism, our GCT can facilitate both competition and cooperation during the training process. Let the gating weights $\gamma = [ \gamma _ { 1 } , . . . , \gamma _ { C } ]$ and the gating biases $\beta = [ \beta _ { 1 } , . . . , \beta _ { C } ]$ , we design the following gating function:
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
\hat { x } _ { c } = x _ { c } [ 1 + \operatorname { t a n h } ( \gamma _ { c } \hat { s } _ { c } + \beta _ { c } ) ] .
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
The scale of each original channel $x _ { c }$ will be adapted by its corresponding gate, i.e., $1 + \operatorname { t a n h } ( \gamma _ { c } \hat { s } _ { c } +$ $\beta _ { c , \ - }$ ). The trainable $\gamma _ { c }$ and $\beta _ { c }$ are employed to control the activation of gate. LRN benefits from only the competitions among the neurons (Krizhevsky et al., 2012). However, the gating mechanism in GCT is able to create both competition and cooperation among different channels. This capability is more consistent with the training process in biological neural networks (Demin & Nekhaev, 2018). When the gating weight of one channel $( \gamma _ { c } )$ is activated positively, GCT promotes this channel to compete with the others as in LRN. When the gating weight is activated negatively, GCT encourages this channel to cooperate with the others. We analyze these adaptive channel relationships in Sec.4.4.
|
| 76 |
+
|
| 77 |
+
Besides, this gate function allows original features to pass to the next layer when the gating weights and biases are zeros, which is
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\hat { \mathbf { x } } = F ( \mathbf { x } | \alpha , \mathbf { 0 } , \mathbf { 0 } ) = \mathbf { 1 } \mathbf { x } = \mathbf { x } .
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
The ability of modeling identity mapping can effectively improve the robustness to the degradation problem in deep networks. ResNets also benefits from this idea. Therefore, we propose to initialize $\gamma$ and $\beta$ to 0 in the initialization of GCT layers. By doing this, the initial steps of the training process will be more stable, and the final performance of GCT will be better.
|
| 84 |
+
|
| 85 |
+
# 4 EXPERIMENTS
|
| 86 |
+
|
| 87 |
+
We apply GCT for all the convolutional layers in deep networks rather than block-level deployment in SE-Net. In all GCT counterparts, we employ one GCT layer before each convolutional layer. In the Kinetics experiments, we apply GCT at the last two convolutional layers in each Res-Block. More training details are shown in Appendix A.
|
| 88 |
+
|
| 89 |
+
# 4.1 EXPERIMENTS ON IMAGENET
|
| 90 |
+
|
| 91 |
+
We experiment on the ImageNet 2012 dataset (Russakovsky et al., 2015) with $1 , 0 0 0$ classes. We train all the models on the 1.28M training images and evaluate on the $5 0 , 0 0 0$ validation images. We also conduct classification experiments on CIFAR (Krizhevsky & Hinton, 2009) in Appendix B.
|
| 92 |
+
|
| 93 |
+
Implementation details. In the training process of all the models, the input image is $2 2 4 \times 2 2 4$ randomly cropped from a resized image using the same augmentation in Szegedy et al. (2015). We use SGD with a mini-batch size of 256. For ResNet-152 and ResNeXt-50, we use half mini-batch size and double the training steps). The weight decay is 0.0001, and the momentum is 0.9. The base learning rate is 0.1, and we divide it by 10 every 30 epochs. All models are trained for 100 epochs from scratch, using the weight initialization strategy described in He et al. (2015). Besides, we start the training process with a learning rate of 0.01 for 1 epoch. After the warmup, we go back to the original learning rate schedule. In all comparisons, we evaluate the error on the single $2 2 4 \times 2 2 4$ center crop from an image whose shorter side is 256. For ResNet-200 (He et al., 2016b), we evaluate on $3 2 0 \times 3 2 0$ following He et al. (2016b).
|
| 94 |
+
|
| 95 |
+
Table 1: Improvement in error performance $( \% )$ on ImageNet. The numbers in brackets denote the improvement in performance over the baselines. ResNet- ${ } ^ { 2 0 0 ^ { * } }$ means we follow the strategy in (He et al., 2016b) to train this model on $2 2 4 \times 2 2 4$ but evaluate on $3 2 0 \times 3 2 0$ .
|
| 96 |
+
|
| 97 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>original</td><td rowspan=1 colspan=2>GCT</td></tr><tr><td rowspan=1 colspan=1>Network</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>VGG-16 (Simonyan & Zisserman,2015)</td><td rowspan=1 colspan=1>26.2</td><td rowspan=1 colspan=1>8.3</td><td rowspan=1 colspan=1>25.1(1.1)</td><td rowspan=1 colspan=1>7.5(0.8)</td></tr><tr><td rowspan=1 colspan=1>Inception-v3 (Szegedy et al., 2016)</td><td rowspan=1 colspan=1>24.3</td><td rowspan=1 colspan=1>7.3</td><td rowspan=1 colspan=1>23.7(0.6)</td><td rowspan=1 colspan=1>7.1(0.2)</td></tr><tr><td rowspan=1 colspan=1>ResNeXt-50 (Xie et al., 2017)</td><td rowspan=1 colspan=1>22.4</td><td rowspan=1 colspan=1>6.3</td><td rowspan=1 colspan=1>21.7(0.7)</td><td rowspan=1 colspan=1>6.0(0.3)</td></tr><tr><td rowspan=1 colspan=1>ResNet-50 (He et al., 2016a)</td><td rowspan=1 colspan=1>23.8</td><td rowspan=1 colspan=1>7.0</td><td rowspan=1 colspan=1>22.7(1.1)</td><td rowspan=1 colspan=1>6.3(0.7)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101 (He et al.,2016a)</td><td rowspan=1 colspan=1>22.2</td><td rowspan=1 colspan=1>6.2</td><td rowspan=1 colspan=1>21.4(0.8)</td><td rowspan=1 colspan=1>5.9(0.3)</td></tr><tr><td rowspan=1 colspan=1>ResNet-152 (He et al.,2016a)</td><td rowspan=1 colspan=1>21.6</td><td rowspan=1 colspan=1>5.9</td><td rowspan=1 colspan=1>20.8(0.8)</td><td rowspan=1 colspan=1>5.5(0.4)</td></tr><tr><td rowspan=1 colspan=1>ResNet-200*(He et al.,2016b)</td><td rowspan=1 colspan=1>20.7</td><td rowspan=1 colspan=1>5.2</td><td rowspan=1 colspan=1>19.7(1.0)</td><td rowspan=1 colspan=1>4.8(0.4)</td></tr></table>
|
| 98 |
+
|
| 99 |
+
Table 2: Compared to SE in different networks on ImageNet. We evaluate the models of error performance $( \% )$ , GFLOPs (G) and parameters (M). G/P means GFLOPs/parameters. In VGG-16 experiments, SE is employed for all the convolutional layers, which is the same as GCT. In other experiments, SE is only employed in block level (Res-Block or Inception-Block) as proposed (Hu et al., 2018b). This difference makes that SE uses comparable GFLOPs with GCT.
|
| 100 |
+
|
| 101 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>original</td><td rowspan=1 colspan=2>SE</td><td rowspan=1 colspan=2>GCT (ours)</td></tr><tr><td rowspan=1 colspan=1>Network</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td></tr><tr><td rowspan=1 colspan=1>ResNet-50</td><td rowspan=1 colspan=1>23.8/7.0</td><td rowspan=1 colspan=1>3.879/25.61</td><td rowspan=1 colspan=1>22.9/6.6</td><td rowspan=1 colspan=1>3.893/28.14</td><td rowspan=1 colspan=1>22.7/6.3</td><td rowspan=1 colspan=1>3.900/25.68</td></tr><tr><td rowspan=1 colspan=1>ResNeXt-50</td><td rowspan=1 colspan=1>22.4/6.3</td><td rowspan=1 colspan=1>3.795/25.10</td><td rowspan=1 colspan=1>22.0/6.1</td><td rowspan=1 colspan=1>3.809/27.63</td><td rowspan=1 colspan=1>21.7/6.0</td><td rowspan=1 colspan=1>3.821/25.19</td></tr><tr><td rowspan=1 colspan=1>VGG-16</td><td rowspan=1 colspan=1>26.2/8.3</td><td rowspan=1 colspan=1>15.497/138.37</td><td rowspan=1 colspan=1>25.2/7.7</td><td rowspan=1 colspan=1>15.525/138.60</td><td rowspan=1 colspan=1>25.1/7.5</td><td rowspan=1 colspan=1>15.516/138.38</td></tr><tr><td rowspan=1 colspan=1>Inception-v3</td><td rowspan=1 colspan=1>24.3/7.3</td><td rowspan=1 colspan=1>2.847/23.87</td><td rowspan=1 colspan=1>24.0/7.2</td><td rowspan=1 colspan=1>2.851/25.53</td><td rowspan=1 colspan=1>23.7/7.1</td><td rowspan=1 colspan=1>2.862/23.99</td></tr></table>
|
| 102 |
+
|
| 103 |
+
Integration with deep modern architectures. We study the effects of integrating GCT layers with some state-of-the-art backbone architectures, e.g., ResNets and ResNeXts (Xie et al., 2017), in which we apply GCT before all the convolutional layers. We report all these results in Table 1. Compared to original architectures, we observe significant performance improvements by introducing GCT into networks. Particularly, the top-1 error of GCT-ResNet-101 is ${ \bf 2 1 . 4 \% }$ , which is even better than the ResNet-152 baseline $( 2 1 . 6 \% )$ with a deeper network and much more parameters. In addition, GCT is able to bring stable improvement in ResNets with different depth ( ${ \bf \cdot 1 . 1 \% }$ top-1 improvement in ResNet-50, $\mathbf { 0 . 8 \bar { \% } }$ in ResNet-152 and $\mathbf { 1 . 0 \% }$ in ResNet-200). Besides, we observe a smooth improvement throughout the training schedule, which is shown in Fig.2.
|
| 104 |
+
|
| 105 |
+
We also explore the improvement with GCT in non-residual networks (e.g., VGG-16 (Simonyan & Zisserman, 2015) and Inception-v3 (Szegedy et al., 2016)). To stabilize the training process, we employ BN (Ioffe & Szegedy, 2015) layers after every convolutional layer. Similar to the effectiveness in residual architectures, GCT layers bring promising improvements in non-residual structures.
|
| 106 |
+
|
| 107 |
+
Compared to SE. We conduct experiments on ImageNet to compare SE with GCT in both residual and non-residual networks and the results are reported in Table 2. We follow the methods in (Hu et al., 2018b) to integrate SE into VGG-16 (Simonyan & Zisserman, 2015), Inception (Szegedy et al., 2016), ResNet-50 (He et al., 2016a) and ResNeXt-50 (Xie et al., 2017) and train these models in same training schedule. Compared to SE, GCT always achieves better improvement.
|
| 108 |
+
|
| 109 |
+
In order to compare computational complexity, we calculate the GFLOPs and the number of parameters. In VGG-16 experiments, SE is employed for all the convolutional layers, which is the same as GCT. Under this fair condition, GCT achieves better performance with less increase in both GFLOPs (0.019G vs.0.028G) and parameters (0.01M vs.0.23M). In other experiments, SE is only employed in block-level (Res-Block or Inception-Block) as proposed (Hu et al., 2018b), which means the number of SE is smaller than GCT. However, the increase in parameters of GCT is still much less than SE, and the value of GFLOPs is comparable. Compared to SE, the increase in parameters of GCT is negligible, but the performance is better.
|
| 110 |
+
|
| 111 |
+
Table 3: Improvement on COCO with Mask R-CNN framework. $\mathbf { B N } ^ { * }$ means BN is frozen. $^ +$ means increasing the training iterations from 90K to 270K. When using GN, we follow the strategy in the original paper (Wu & He, 2018).
|
| 112 |
+
|
| 113 |
+
<table><tr><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>box head</td><td rowspan=1 colspan=1>box AP</td><td rowspan=1 colspan=1>mask AP</td></tr><tr><td rowspan=1 colspan=1>ResNet-50BN*</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>37.8</td><td rowspan=1 colspan=1>34.2</td></tr><tr><td rowspan=1 colspan=1>ResNet-50BN*+GCT</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>39.8(2.0)</td><td rowspan=1 colspan=1>36.0(1.8)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101BN*</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>40.1</td><td rowspan=1 colspan=1>36.1</td></tr><tr><td rowspan=2 colspan=1>ResNet-101BN*+GCT+ResNet-50 BN*</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>42.0(1.9)</td><td rowspan=1 colspan=1>37.7(1.6)</td></tr><tr><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>38.6</td><td rowspan=1 colspan=1>34.5</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50 GN</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>40.8(2.2)</td><td rowspan=1 colspan=1>36.1(1.6)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50 BN*+GCT</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>41.6(3.0)</td><td rowspan=1 colspan=1>37.1(2.6)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50BN*+GCT</td><td rowspan=1 colspan=1>GN+GCT</td><td rowspan=1 colspan=1>41.8(3.2)</td><td rowspan=1 colspan=1>37.3(2.8)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-101 BN*</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>40.9</td><td rowspan=1 colspan=1>36.4</td></tr><tr><td rowspan=1 colspan=1>+ResNet-101 GN</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>42.3(1.4)</td><td rowspan=1 colspan=1>37.2(0.8)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101BN*+GCT</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>43.1(2.2)</td><td rowspan=1 colspan=1>38.3(1.9)</td></tr></table>
|
| 114 |
+
|
| 115 |
+
# 4.2 EXPERIMENTS ON COCO
|
| 116 |
+
|
| 117 |
+
Next we evaluate the generalizability on the COCO dataset (Lin et al., 2014). We train the models on the COCO train2017 set and evaluate on the COCO eval2017 set (a.k.a minival).
|
| 118 |
+
|
| 119 |
+
Implementation details. We experiment on the Mask R-CNN baselines (He et al., 2017) and its GN counterparts (Wu & He, 2018). All the backbone models are pre-trained on ImageNet using the scale and aspect ratio augmentation in Szegedy et al. (2015) and fine-tune on COCO with a batch size of 16 (2 images/GPU). Besides, all these experiments use the Feature Pyramid Network (FPN) Lin et al. (2017). We also use the same hyperparameters and two training schedules used in (Wu & He, 2018). The short schedule includes 90K iterations, in which the learning rate is divided by 10 at 60K and 80K iterations. The long schedule increases the iterations to 270K, in which the learning rate is divided by 10 at 210K and 250K. The base learning rate is 0.02 in both schedules.
|
| 120 |
+
|
| 121 |
+
Improvements on Mask R-CNN. Table 3 shows the comparison of $\mathbf { B N } ^ { * }$ (frozen BN), GN and $\mathbf { B } \mathbf { N } ^ { * } { + } \mathbf { G } \mathbf { C } \mathbf { T }$ (using GCT before all the convolutional layers of the backbones). First, we use a short training schedule to compare baselines and GCT counterparts. GCT shows stable and significant improvement in both ResNet-50 and ResNet-101. In ResNet-50, GCT improves detection AP by 2.0 and segmentation AP by 1.8. Moreover, in ResNet-101, GCT also improves detection AP by 1.9 and segmentation AP by 1.6. Then, we use the long schedule to compare GN and $\mathbf { B N ^ { * } { + } G C T }$ . GN is more effective than BN when batch size is small as in this case of detection and segmentation using Mask R-CNN. However, we deploy GCT together with BN into the backbone, and these $\mathbf { B } \mathbf { N } ^ { * } { + } \mathbf { G } \mathbf { C } \mathbf { T }$ counterparts achieve much better performance than GN backbones. Compared to GN in ResNet-101, $\mathrm { \mathbf { B } N ^ { * } { + } G C T }$ improves detection AP by 0.8 and segmentation AP by 1.1. In particular, ResNet-101 with $\mathrm { \mathbf { B } N ^ { * } { + } G C T }$ trained in the short schedule achieves better segmentation AP (37.7) than the GN counterpart (37.2) trained with the long schedule. This GN counterpart also uses GN in the backbone, the box heads, and the FPN. We also explore to combine GCT with GN by introducing GCT into GN box head. The results show $\mathrm { \bf G N { + } } \mathrm { \bf G C T }$ achieves a better performance. It demonstrates the benefits of integrating GCT with GN. We now have shown the effectiveness of GCT in working with both BN and GN.
|
| 122 |
+
|
| 123 |
+
# 4.3 EXPERIMENTS ON KINETICS
|
| 124 |
+
|
| 125 |
+
Our previous experiments demonstrate the effectiveness of GCT on image-related tasks. We now evaluate the generalizability in video understanding task of action recognition on the large scale Kinetics-400 (Kay et al., 2017) dataset. We employ the ResNet-50 (3D) and ResNet-101 (3D) as the backbone and apply GCT in the last two convolutional layers in each Res-Block. The backbone networks are pre-trained on ImageNet (Russakovsky et al., 2015).
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
Figure 3: Analysis. The visulization of parameters of $\gamma$ (Fig.(a), (b)), and the ratio of variance of GCT output and input feature (Fig.(c)) in all the GCT layers in ResNet-50 on ImageNet.
|
| 129 |
+
|
| 130 |
+
We compare with the state-of-the-art Non-Local Networks (NL-Net) (Wang et al., 2018). The results show that GCT counterparts consistently improves the recognition accuracy over both the ResNet50 and ResNet-101 baselines, as shown in Table 4. Because of our limited memory resource, we can NOT apply GCT in all the convolutional layers, which we believe can further improve the performance.
|
| 131 |
+
|
| 132 |
+
In summary, extensive experiments demonstrate that GCT is effective across a wide range of architectures, tasks, and datasets.
|
| 133 |
+
|
| 134 |
+
# 4.4 ANALYSIS
|
| 135 |
+
|
| 136 |
+
To analyze the behavior of GCT in different layers, we visualize the distribution of the gating weights $( \gamma )$ of each GCT layer in ResNet-50 on ImageNet. Further, we sort these distributions according to their layer index in 3D space (Fig. 3a). The bigger layer index means it is closer to the network output. To make the visualization clearer, we re-scale the vertical $z$ axis with $\boldsymbol { l o g ( 1 + z ) }$ , which corresponds to the percentage density of $\gamma$ . We also calculate the mean and standard deviation (std) of $\gamma$ in each layer and show them in a bar chart (Fig. 3b). As shown in Fig. 3a and 3b, the mean of $\gamma$ tends to be less than 0 in the GCT layers far from the network output. Oppositely, in the layers close to the output, the mean tends to be greater than 0.
|
| 137 |
+
|
| 138 |
+
According to Eq. 3 & 4, the adaptation of channel $x _ { c }$ is related to $\hat { s } _ { c }$ , which corresponds to the ratio of the weighted $\ell _ { 2 }$ -norm of $x _ { c }$ (i.e., $s _ { c . }$ ) and the average of all the $s _ { c }$ . When the gating weight $\gamma _ { c }$ is greater than 0, the adaptation is positively correlated to $\hat { s } _ { c }$ and increases the variance between $x _ { c }$ and others; When $\gamma _ { c }$ is lower than 0, the adaptation is negatively correlated and reduces the variance.
|
| 139 |
+
|
| 140 |
+
Based on the analysis and the results we observe, we suppose that GCT tends to reduce the difference among channels in layers far away from the output. This behavior is helpful to encourage cooperation among channels and relieve overfitting. Apart from this, GCT tends to increase the difference among channels when close to the output. Here, GCT acts like the attention mechanism that is useful for creating competition.
|
| 141 |
+
|
| 142 |
+
To further validate our hypothesis, we calculate the ratio of the variance of output and input feature of each GCT layer, which we show in Fig. 3c. More visualizations are shown in Appendix C. Generally, the shallow layers learn low-level features to capture general characteristics like textures, edges, and corners. The feature variances become larger in deeper layers, where the high-level features are more discriminative and task-related. As expected, in the layers close to network output, GCT tends to magnify the variance of input feature (the ratio is always greater than 1), but in the layers far away from the output, GCT tends to reduce the variance (the ratio is always less than 1). This phenomenon is consistent with our previous hypothesis and shows that GCT is effective in creating both competition and cooperation among channels. Our observation validates that GCT can adaptively learn the channel relationships at different layers.
|
| 143 |
+
|
| 144 |
+
# 4.5 ABLATION STUDIES.
|
| 145 |
+
|
| 146 |
+
In this section, we conduct a serial of ablation experiments to explain the relative importance of each operator in the GCT. At last, we show how the performance changes with regards to the GCT position in a network.
|
| 147 |
+
|
| 148 |
+
Table 4: Improvement in top-1 accuracy $( \% )$ over the state-ofthe-art method on Kinetics.
|
| 149 |
+
|
| 150 |
+
<table><tr><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>NL-Net</td><td rowspan=1 colspan=1>GCT</td></tr><tr><td rowspan=1 colspan=1>ResNet-50</td><td rowspan=1 colspan=1>74.6</td><td rowspan=1 colspan=1>75.1(0.5)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101</td><td rowspan=1 colspan=1>75.7</td><td rowspan=1 colspan=1>76.2(0.5)</td></tr></table>
|
| 151 |
+
|
| 152 |
+
Table 5: Ablation experiments. We evaluate error performance in GCT-ResNet-50 on ImageNet $( \% )$ . The ResNet-50 baseline achieves a top-1 of 23.8 and a top-5 of 7.0.
|
| 153 |
+
|
| 154 |
+
(a) Embedding operator.
|
| 155 |
+
|
| 156 |
+
(b) Normalization operator.
|
| 157 |
+
|
| 158 |
+
<table><tr><td rowspan=1 colspan=1>Normalization</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>mean+variance</td><td rowspan=1 colspan=1>23.7</td><td rowspan=1 colspan=1>7.1</td></tr><tr><td rowspan=1 colspan=1>l1</td><td rowspan=1 colspan=1>22.9</td><td rowspan=1 colspan=1>6.4</td></tr><tr><td rowspan=1 colspan=1>l2</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>
|
| 159 |
+
|
| 160 |
+
<table><tr><td rowspan=1 colspan=1>Norm</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>lo</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.7</td></tr><tr><td rowspan=1 colspan=1>l1</td><td rowspan=1 colspan=1>22.8</td><td rowspan=1 colspan=1>6.3</td></tr><tr><td rowspan=1 colspan=1>l2</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>
|
| 161 |
+
|
| 162 |
+
(c) Adaptation operator.
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan=1 colspan=1>Adaptation</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>Sigmoid</td><td rowspan=1 colspan=1>22.9</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>1+ELU</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.4</td></tr><tr><td rowspan=1 colspan=1>1+tanh</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>
|
| 165 |
+
|
| 166 |
+
(d) Application position.
|
| 167 |
+
|
| 168 |
+
<table><tr><td rowspan=1 colspan=1>Position</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>after BN</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.6</td></tr><tr><td rowspan=1 colspan=1>before BN</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>before Conv</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>
|
| 169 |
+
|
| 170 |
+
Table 6: Clock time comparison. We calculate average inference times (ms) per batch by using 1 GTX 1080Ti with 16 batch size for 1,000 iterations on ImageNet. For the sake of fairness, the modules are applied for all the Convs in VGG-16.
|
| 171 |
+
|
| 172 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>baseline</td><td rowspan=1 colspan=1>+SE</td><td rowspan=1 colspan=1>+GCT(l1-norm)</td><td rowspan=1 colspan=1>+GCT(l2-norm)</td></tr><tr><td rowspan=1 colspan=1>time(ms)/batch</td><td rowspan=1 colspan=1>51.11</td><td rowspan=1 colspan=1>87.3136.20↑</td><td rowspan=1 colspan=1>59.468.35↑</td><td rowspan=1 colspan=1>59.738.62↑</td></tr></table>
|
| 173 |
+
|
| 174 |
+
Embedding component. To explain the importance of $\ell _ { p }$ -norm in GCE, we compare embedding operators with different $\ell _ { p }$ norm. We report the results in Table 5a, which shows all the $\ell _ { p }$ -norms are effective in GCE, but the $\ell _ { 2 }$ -norm is slightly better than $\ell _ { 1 }$ -norm. The results demonstrate the GCE of GCT is robust to different $\ell _ { p }$ -norms. In addition, we make a clock time comparison between SE and GCTs with different embedding component. As shown in Table 6, $\ell _ { 2 }$ -norm is computationally similar to $\ell _ { 1 }$ -norm and GCT is much more efficient than SE $( { \bf 8 . 6 2 } m s \mathrm { ~ \uparrow ~ }$ vs. $3 6 . 2 0 m s \uparrow$ ).
|
| 175 |
+
|
| 176 |
+
Normalization component. We also explore the significance of $\ell _ { p }$ -norm in CN by comparing $\ell _ { p }$ normalization with mean and variance normalization. The mean and variance normalization will normalize mean to 0 and variance to 1, which is widely used in normalization layers (e.g., Ioffe & Szegedy (2015)). We show all these results in Table 5b. Particularly, mean and variance normalization achieves a top-1 error of $2 3 . 7 \%$ , which is only slightly better than the ResNet-50 baseline $( 2 3 . 8 \% )$ . Both $\ell _ { 1 }$ and $\ell _ { 2 }$ normalization make more promising improvements, and $\ell _ { 2 }$ performs slightly better. $\ell _ { p }$ normalization is better at representation learning in channel normalization.
|
| 177 |
+
|
| 178 |
+
Adaptation component. We replace the activation function of the gating adaptation with a few different non-linear activation functions and show the results in Table 5c. Compare to the baseline (top-1 of $2 3 . 8 \%$ ), all the non-linear adaptation operator achieves promising performance, and $1 +$ tanh achieves a slightly better improvement. Both $1 + t a n h$ and $1 +$ ELU (Clevert et al., 2016) can model identity mapping, and achieve better results than Sigmoid. These strong results show that GCT is also robust to the choice of activation functions and the identity mapping is important in training.
|
| 179 |
+
|
| 180 |
+
Application position. To find the best way to deploy GCT layers, we conduct experiments in ResNet-50 architecture on ImageNet by separately applying GCT after all the BN layers, before all the BN layers, and before all the convolutional layers. The results are reported in Table 5d. All the placement methods are effective in using GCT to improve the representational power of networks. However, it is better to employ GCT before all the convolutional layers, which is similar to the strategy in (Krizhevsky et al., 2012) (normalization after ReLU).
|
| 181 |
+
|
| 182 |
+
# 5 CONCLUSION AND FUTURE WORK
|
| 183 |
+
|
| 184 |
+
In this paper, we propose GCT, a novel layer that effectively improves the discriminability of deep CNNs by leveraging the relationship among channels. Benefit from the design of combining normalization and gating mechanisms, GCT can facilitate two types of neuron relations, i.e., competition and cooperation, with negligible complexity of parameters. We conduct expensive experiments to show the effectiveness and robustness of GCT across a wide range of modern CNNs and datasets. In future work, we will study the feasibility to apply GCT into recurrent networks.
|
| 185 |
+
|
| 186 |
+
# REFERENCES
|
| 187 |
+
|
| 188 |
+
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 189 |
+
|
| 190 |
+
Djork-Arne Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network ´ learning by exponential linear units (elus). In ICLR, 2016.
|
| 191 |
+
|
| 192 |
+
Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In ICML, 2017.
|
| 193 |
+
|
| 194 |
+
Vyacheslav Demin and Dmitry Nekhaev. Recurrent spiking neural network learning based on a competitive maximization of neuronal activity. Frontiers in neuroinformatics, 12, 2018.
|
| 195 |
+
|
| 196 |
+
Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann N Dauphin. Convolutional sequence to sequence learning. In ICML, 2017.
|
| 197 |
+
|
| 198 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015.
|
| 199 |
+
|
| 200 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016a.
|
| 201 |
+
|
| 202 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016b.
|
| 203 |
+
|
| 204 |
+
Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ ICCV, 2017.
|
| 205 |
+
|
| 206 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 207 |
+
|
| 208 |
+
Jie Hu, Li Shen, Samuel Albanie, Gang Sun, and Andrea Vedaldi. Gather-excite: Exploiting feature context in convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 9401–9411, 2018a.
|
| 209 |
+
|
| 210 |
+
Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In CVPR, 2018b.
|
| 211 |
+
|
| 212 |
+
Yanping Huang, Yonglong Cheng, Dehao Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V Le, and Zhifeng Chen. Gpipe: Efficient training of giant neural networks using pipeline parallelism. arXiv preprint arXiv:1811.06965, 2018.
|
| 213 |
+
|
| 214 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
|
| 215 |
+
|
| 216 |
+
Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017.
|
| 217 |
+
|
| 218 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
|
| 219 |
+
|
| 220 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012.
|
| 221 |
+
|
| 222 |
+
Hugo Larochelle and Geoffrey E Hinton. Learning to combine foveal glimpses with a third-order boltzmann machine. In NIPS, 2010.
|
| 223 |
+
|
| 224 |
+
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 ´ ECCV. Springer, 2014.
|
| 225 |
+
|
| 226 |
+
Tsung-Yi Lin, Piotr Dollar, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie.´ Feature pyramid networks for object detection. In CVPR, 2017.
|
| 227 |
+
|
| 228 |
+
Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. Learning, 10:3.
|
| 229 |
+
|
| 230 |
+
Siwei Lyu and Eero P Simoncelli. Nonlinear image representation using divisive normalization. In CVPR, 2008.
|
| 231 |
+
|
| 232 |
+
Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In NIPS, 2014.
|
| 233 |
+
|
| 234 |
+
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. IJCV, 115(3):211–252, 2015.
|
| 235 |
+
|
| 236 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
|
| 237 |
+
|
| 238 |
+
Bharat Singh, Mahyar Najibi, and Larry S Davis. Sniper: Efficient multi-scale training. In Advances in Neural Information Processing Systems, pp. 9333–9343, 2018.
|
| 239 |
+
|
| 240 |
+
Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In ICCV, 2015.
|
| 241 |
+
|
| 242 |
+
Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016.
|
| 243 |
+
|
| 244 |
+
Antonio Torralba. Contextual priming for object detection. International journal of computer vision, 53(2):169–191, 2003.
|
| 245 |
+
|
| 246 |
+
Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016.
|
| 247 |
+
|
| 248 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017.
|
| 249 |
+
|
| 250 |
+
Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, 2018.
|
| 251 |
+
|
| 252 |
+
Yuxin Wu and Kaiming He. Group normalization. In ECCV, 2018.
|
| 253 |
+
|
| 254 |
+
Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual trans-´ formations for deep neural networks. In CVPR, 2017.
|
| 255 |
+
|
| 256 |
+
# A TRAINING DETAILS
|
| 257 |
+
|
| 258 |
+
Same to modern normalization layers (e.g., BN (Ioffe & Szegedy, 2015)), we propose to apply GCT for all convolutional layers in deep networks. However, there are many different points nearby one convolutional layer to employ GCT. In deep networks, each convolutional layer always works together with a normalization layer (e.g., BN (Ioffe & Szegedy, 2015)) and an activation layer (e.g., ReLU). For this reason, there are three possible points to deploy GCT layer, which are before the convolutional layer, before the normalization layer, and after the normalization layer. All these methods are effective, but we find to be better to employ GNC before the convolutional layer. In Sec. 4.5, we compare the performance of these three application methods.
|
| 259 |
+
|
| 260 |
+
In the training process, we propose to use 1 to initialize $_ { \pmb { \alpha } }$ and use 0 to initialize all $\gamma$ and $\beta$ . By doing this, GCT will be initialized as an identity mapping module, which will make the training process more stable. Besides, to avoid the bad influence of unstable gradient on the GCT gate in initial training steps, we propose to use warmup method (to start training with a small learning rate). In all the experiments on ImageNet (Russakovsky et al., 2015) and CIFAR (Krizhevsky & Hinton, 2009), we start training with a learning rate of 0.01 for 1 epoch. After the warmup, we go back to the original learning rate schedule. Finally, we propose NOT to apply weight decay on $\beta$ parameters, which is possible to reduce the performance of GCT.
|
| 261 |
+
|
| 262 |
+
# B EXPERIMENTS ON CIFAR
|
| 263 |
+
|
| 264 |
+
We conduct more experiments on the CIFAR-10 and CIFAR-100 datasets (Krizhevsky & Hinton, 2009). We follow the same training and testing strategies in (He et al., 2016a) to conduct our experiments but with a different learning rate schedule. We use a base learning rate of 0.1 and take cosine decay method (Loshchilov & Hutter) to adjust the learning rate for 300 epochs, which achieves better baseline performance. Following the above training protocol, we start the training process with a learning rate of 0.01 for 1 epoch.
|
| 265 |
+
|
| 266 |
+
We report the performance of ResNet-110 (He et al., 2016a) and its GCT counterpart in Table 7. To reduce the variances from different runs, we repeat all experiments for 5 times and report the averaged the results. As with the previous experiments, we observe promising improvements in performance, which shows that GCT can generalize to other image classification datasets.
|
| 267 |
+
|
| 268 |
+
Table 7: Improvement in top-1 error $( \% )$ on the CIFAR-10 and CIFAR-100 datasets.
|
| 269 |
+
|
| 270 |
+
<table><tr><td rowspan=1 colspan=1>Dataset</td><td rowspan=1 colspan=1>ResNet-110</td><td rowspan=1 colspan=1>GCT</td></tr><tr><td rowspan=1 colspan=1>CIFAR-10</td><td rowspan=1 colspan=1>5.81</td><td rowspan=1 colspan=1>5.26(0.55)</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100</td><td rowspan=1 colspan=1>26.66</td><td rowspan=1 colspan=1>25.77 (0.89)</td></tr></table>
|
| 271 |
+
|
| 272 |
+
# C MORE VISUALIZATION RESULTS
|
| 273 |
+
|
| 274 |
+
In ResNet-50 (He et al., 2016a) backbone, We visualize the channel activation before and after the GCT layer in both low-level stage (far away from the network output) and high-level stage (close to the output) in Fig.4 and 5, respectively. The input image is from the validation dataset of ImageNet. As we can see, for the stages far away from the network output, the proposed GCT layer tends to reduce the variance of input feature, which encourages cooperation among channels and avoids excessive activation values or loss of useful features. On the contrary, for those stages close to the output, GCT tends to magnify the variance. Here, GCT acts like the attention mechanism that is useful for creating competition.
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
Figure 4: Visualization of the channel activation for a GCT layer in Stage 2 (low-level) of ResNet-50 on the validation dataset of ImageNet.
|
| 278 |
+
|
| 279 |
+

|
| 280 |
+
Figure 5: Visualization of the channel activation for a GCT layer in Stage 5 (high-level) of ResNet50 on the validation dataset of ImageNet.
|
parse/train/SJxbu6VKDr/SJxbu6VKDr_content_list.json
ADDED
|
@@ -0,0 +1,1502 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "GATED CHANNEL TRANSFORMATION FOR VISUAL RECOGNITION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
823,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "In this work, we propose a generally applicable transformation unit for visual recognition with deep convolutional neural networks. This transformation explicitly models channel relationships with explainable control variables. These variables determine the neuron behaviors of competition or cooperation, and they are jointly optimized with convolutional weights towards more accurate recognition. In Squeeze-and-Excitation (SE) Networks, the channel relationships are implicitly learned by fully connected layers, and the SE block is integrated at the block-level. We instead introduce a channel normalization layer to reduce the number of parameters and computational complexity. This lightweight layer incorporates a simple $l _ { 2 }$ normalization, enabling our transformation unit applicable to operator-level without much increase of additional parameters. Extensive experiments demonstrate the effectiveness of our unit with clear margins on many vision tasks, i.e., image classification on ImageNet, object detection and instance segmentation on COCO, video classification on Kinetics. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
265,
|
| 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": "Convolutional Neural Networks (CNNs) have proven to be critical and robust in visual recognition tasks, such as image classification (Huang et al., 2018), detection (Singh et al., 2018), and segmentation (Singh et al., 2018). Notably, a single convolutional layer operates only on a neighboring local context of each spatial position of a feature map, which could possibly lead to local ambiguities (Torralba, 2003). To relief this problem, VGGNets (Simonyan & Zisserman, 2015) were proposed to construct deep CNNs, using a series of convolutional layers with non-linear activation functions and downsampling operators to cover a large extent of context. Moreover, He et al. (2016a) introduced a residual connection to help CNNs benefit from deeper architectures further. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
512,
|
| 66 |
+
823,
|
| 67 |
+
625
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Apart from improving the depth of CNNs, another branch of methods focuses on augmenting convolutional layer with modules that directly operate on context across large neighborhoods. Squeezeand-Excitation Networks (SE-Nets) (Hu et al., 2018b) leveraged globally embedding information to model channel relationship and modulate feature maps on the channel-wise level. Moreover, its following method, GE-Nets (Hu et al., 2018a), used largely neighboring embedding instead. These modules can be conveniently assembled into modern networks, such as ResNets (He et al., 2016a) and Inception (Szegedy et al., 2015) networks, to improve the representational ability of networks. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
631,
|
| 77 |
+
825,
|
| 78 |
+
728
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "However, the SE module uses two fully connected $( F C )$ layers to process channel-wise embeddings, which leads to two problems. First, the number of SE modules to be applied in CNNs is limited. In Hu et al. (2018b), SE module was applied at the block-level, i.e., a single SE module is utilized per Res-block (He et al., 2016a) or Inception-block (Szegedy et al., 2016). The dimension of the $F C$ layer is decreased to save the computational cost further. However, the designed $F C$ layers still hinder the wide deployment of SE modules across all layers. Second, due to the complexity of the parameters in $F C$ (or convolutional layer in GE), it is difficult to analyze the interactions among the channels at different layers. The channel relationships learned by convolution and FC operations are inherently implicit (Hu et al., 2018b), resulting in agnostic behaviors of the neuron outputs. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
734,
|
| 88 |
+
825,
|
| 89 |
+
861
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this paper, we propose a Gated Channel Transformation (GCT) for efficient and accurate contextual information modeling. First, we use a normalization component to replace the $F C$ layers. Normalization methods, e.g., Local Response Normalization (LRN) (Krizhevsky et al., 2012), create competitions among different neurons in neural networks. Batch normalization (Ioffe & Szegedy, ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
867,
|
| 99 |
+
823,
|
| 100 |
+
922
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2015) and its variants can smooth gradient and have been widely used in accelerating CNNs training process. We leverage a simple $l _ { 2 }$ normalization for modeling channel relationship, which is more stable and computationally efficient comparing to FC layers. Second, we introduce a few channelwise parameters to control the behavior of the gated adaptation of feature channels. Compared to the large number of parameters in $F C$ , our designed parameters are much more lightweight. Besides, the gating weight parameter is convenient for channel relationship analysis and is helpful to understand the effect of GCT modules across different layers. According to our visualization analysis, GCT prefers to encourage cooperation in shallower layers, but competition is enhanced in deeper layers. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
215
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Our experiments show that GCT is a simple and effective architecture for modeling relationship among channels. It significantly improves the generalization capability of deep convolutional networks across visual recognition tasks and datasets. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
176,
|
| 120 |
+
222,
|
| 121 |
+
825,
|
| 122 |
+
263
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
281,
|
| 133 |
+
344,
|
| 134 |
+
297
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Gating and attention mechanisms. Gating mechanisms have been successfully deployed in some recurrent neural network architectures. Long Short-Term Memory (LSTM) (Hochreiter & Schmidhuber, 1997) introduced an input gate, output gate and forget gate, which are used to regulate the flow of information into and out of the module. Based on gating mechanisms, some attention methods focus on forcing computational resources towards the most informative components of features (Larochelle & Hinton, 2010; Mnih et al., 2014; Vaswani et al., 2017). Recent works introduce the attention mechanism into convolutional networks (e.g., (Gehring et al., 2017; Dauphin et al., 2017)). Following these studies, SE-Nets (Hu et al., 2018b) and its following work GE-Nets (Hu et al., 2018a) introduced a lightweight gating mechanism which focuses on enhancing the representational power of the convolutional network by modeling channel-wise relationship. Compared to the SE module, our GCT also pays attention to the cross-channel relationship but can achieve better performance gains with less computation and parameters. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
314,
|
| 144 |
+
825,
|
| 145 |
+
481
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Normalization layers. In recent years, normalization layers have been widely used in deep networks to create competition between neurons (Krizhevsky et al., 2012) and produce smoother optimization surfaces (Ioffe & Szegedy, 2015). Local Response Normalization (LRN) (Krizhevsky et al., 2012) computes the statistics in a small neighborhood among channels for each pixel. Batch Normalization (BN) (Ioffe & Szegedy, 2015) utilizes global spatial information along the batch dimension and suggests to be deployed for all layers. Layer Normalization (LN) (Ba et al., 2016) computes along the channel dimension instead of the batch dimension. Group Normalization (GN) (Wu & He, 2018) differently divides the channels into groups and computes within each group the mean and variance for normalization. Similar to LRN, GN and LN, our GCT also utilizes channel-related information with normalization structure. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
488,
|
| 155 |
+
825,
|
| 156 |
+
626
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Deep architectures. VGGNets (Simonyan & Zisserman, 2015) and Inception networks (Szegedy et al., 2015) demonstrated that it was significant to improve the quality of representation by increasing the depth of a network. ResNets (He et al., 2016a) utilized shortcut connections to identity-based skip connections, and proved that it was highly effective to build considerably deeper and stronger networks with them. Some other researchers focused on improving the representation ability of the computational elements contained within a network (Szegedy et al., 2016). The more diverse composition of operators within a computational element can be constructed with multi-branch convolutions or pooling layers. Other than this, grouped convolutions have proven to be a practical method to increase the cardinality of learned transformations (Xie et al., 2017). We build our GCT on these deep architectures. All these networks with GCT achieve promising performance improvements, but the growth of computational complexity is negligible. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
173,
|
| 165 |
+
633,
|
| 166 |
+
825,
|
| 167 |
+
786
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "3 GATED CHANNEL TRANSFORMATION ",
|
| 174 |
+
"text_level": 1,
|
| 175 |
+
"bbox": [
|
| 176 |
+
176,
|
| 177 |
+
808,
|
| 178 |
+
516,
|
| 179 |
+
824
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "SE-Nets proposed a lightweight SE module to augment convolutional networks by operating on a global context. The SE module contains two operators, i.e., a “squeeze” operator to embed channel context and an “excitation” operator to modulate the feature maps. The architecture of our Gated Channel Transformation benefits from this framework. Differently, GCT leverages a normalization operator instead of the $F C$ layers in the SE module for channel relationship modeling. Notably, the normalization operator is parameter-free. To make GCT learnable, we redesign the structure of the “squeeze” and “excitation” operators. Our new operators contain three sets of channel-wise trainable parameters. Thus, GCT is more convenient to be deployed occupying a small number of parameters. The gating parameters can be visualized for easier analysis of GCT’s behavior, while the discriminative ability is maintained. ",
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
839,
|
| 189 |
+
825,
|
| 190 |
+
922
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "image",
|
| 196 |
+
"img_path": "images/35db85c1efdd0ee01b8a5c414d84000799edc706d13baf04e0ab8d2a4f6120c9.jpg",
|
| 197 |
+
"image_caption": [
|
| 198 |
+
"Figure 1: An overview of the structure of Gated Channel Transformation (GCT). "
|
| 199 |
+
],
|
| 200 |
+
"image_footnote": [],
|
| 201 |
+
"bbox": [
|
| 202 |
+
179,
|
| 203 |
+
94,
|
| 204 |
+
813,
|
| 205 |
+
261
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "",
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
295,
|
| 215 |
+
825,
|
| 216 |
+
352
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Let $\\mathbf { x } \\in \\mathbb { R } ^ { C \\times H \\times W }$ be an activation feature in a convolutional network, where $H$ and $W$ are the spatial height and width, and $C$ is the number of channels. In general, GCT performs the following transformation: ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
357,
|
| 226 |
+
825,
|
| 227 |
+
400
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "equation",
|
| 233 |
+
"img_path": "images/198293f243bf10818637a551926c7e860bb7a60d3844498ac7aa08cdcd3fc09a.jpg",
|
| 234 |
+
"text": "$$\n\\begin{array} { r } { \\hat { \\mathbf { x } } = F ( \\mathbf { x } | \\alpha , \\gamma , \\beta ) , \\alpha , \\gamma , \\beta \\in \\mathbb { R } ^ { C } . } \\end{array}\n$$",
|
| 235 |
+
"text_format": "latex",
|
| 236 |
+
"bbox": [
|
| 237 |
+
383,
|
| 238 |
+
409,
|
| 239 |
+
612,
|
| 240 |
+
429
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "Here $\\alpha , \\gamma$ and $\\beta$ are trainable parameters. Embedding weights $_ { \\pmb { \\alpha } }$ are responsible for adapting the embedding outputs. The gating weights $\\gamma$ and biases $\\beta$ control the activation of the gate. They determine the behavior of GCT in each channel. The parameter complexity of GCT is $\\bar { O ( C ) }$ , which is smaller than the SE module $( O ( C ^ { 2 } ) )$ ( $\\mathrm { H u }$ et al., 2018b). In SE-Net, two $F C$ layers are leveraged, which have the parameter complexity of $O ( C ^ { 2 } )$ . ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
174,
|
| 249 |
+
443,
|
| 250 |
+
825,
|
| 251 |
+
515
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "An illustration of the structure of GCT is shown in Fig. 1. Let $\\textbf { x } = ~ [ x _ { 1 } , x _ { 2 } , . . . , x _ { C } ] , x _ { c } ~ =$ $[ x _ { c } ^ { i , j } ] _ { H \\times W } ~ \\in ~ \\mathbb { R } ^ { H \\times W } , c ~ \\in ~ \\{ 1 , 2 , . . . , C \\}$ , where $x _ { c }$ is corresponding to each channel of $\\mathbf { x }$ . The detailed transformation consists of following parts. ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
174,
|
| 260 |
+
520,
|
| 261 |
+
825,
|
| 262 |
+
563
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 2
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "Global Context Embedding. Global context embedding (GCE) aggregates global context in each channel. GCE can exploit global contextual information outside the small receptive fields of convolutional layers. Given the embedding weights ${ \\pmb { \\alpha } } = [ \\alpha _ { 1 } , . . . , \\alpha _ { C } ]$ , GCE is defined as: ",
|
| 269 |
+
"bbox": [
|
| 270 |
+
174,
|
| 271 |
+
569,
|
| 272 |
+
825,
|
| 273 |
+
612
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "equation",
|
| 279 |
+
"img_path": "images/6c844c1c41eb9290f9d8f1eafd09f9de4c365a5d441b589dea93abe070e1fa4c.jpg",
|
| 280 |
+
"text": "$$\ns _ { c } = \\alpha _ { c } | | x _ { c } | | _ { 2 } = \\alpha _ { c } \\{ [ \\sum _ { i = 1 } ^ { H } \\sum _ { j = 1 } ^ { W } ( x _ { c } ^ { i , j } ) ^ { 2 } ] + \\epsilon \\} ^ { \\frac { 1 } { 2 } } ,\n$$",
|
| 281 |
+
"text_format": "latex",
|
| 282 |
+
"bbox": [
|
| 283 |
+
349,
|
| 284 |
+
627,
|
| 285 |
+
647,
|
| 286 |
+
672
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "where $\\epsilon$ is a small constant to avoid the problem of derivation at the zero point. Different from SE, GCT does not use global average pooling (GAP) to aggregate channel context. GAP might fail in some extreme cases. For example, if SE is deployed after the Instance Normalization (Ulyanov et al., 2016) layer that is popular in style transfer task, the output of GAP will be constant for any inputs since IN fixes the mean of each channel of features. To avoid this problem, we choose $\\ell _ { p }$ -norm instead. It is worth noting that GCT is robust with different $\\ell _ { p }$ -norms. In Sec. 4.5, we compare the performance of some popular $\\ell _ { p }$ -norms and choose the best one, $\\ell _ { 2 }$ -norm, to be our default setting. Notably, the performance of $\\ell _ { 1 }$ -norm is very close to $\\ell _ { 2 }$ -norm and $\\ell _ { 1 }$ -norm can be equivalently replaced by GAP when the input of GCT is always non-negative (for example, after ReLU activation). In this case, $\\ell _ { 1 }$ -norm is more computationally efficient. ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
173,
|
| 295 |
+
685,
|
| 296 |
+
825,
|
| 297 |
+
827
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 2
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "Besides, we use trainable parameters $\\alpha _ { c }$ to adjust each channel because different channels should have different significance. ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
176,
|
| 306 |
+
833,
|
| 307 |
+
821,
|
| 308 |
+
861
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "Channel Normalization. Normalization methods can model relationship in visual or photographic features (Lyu & Simoncelli, 2008) with lightweight computing resource (e.g., Ioffe & Szegedy (2015)). Similar to LRN, we use a $\\ell _ { 2 }$ normalization to operate across channels, namely channel normalization (CN). Let $\\mathbf { s } = [ s _ { 1 } , . . . , s _ { C } ]$ , the formula of CN is: ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
867,
|
| 318 |
+
823,
|
| 319 |
+
924
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "image",
|
| 325 |
+
"img_path": "images/d6365d27fdc7c5de3b2e985053b879fc13c21f86cccfb69f27cebcf4ba7ab755.jpg",
|
| 326 |
+
"image_caption": [
|
| 327 |
+
"Figure 2: Training curve comparisons for ResNets with different depth on ImageNet. "
|
| 328 |
+
],
|
| 329 |
+
"image_footnote": [],
|
| 330 |
+
"bbox": [
|
| 331 |
+
186,
|
| 332 |
+
104,
|
| 333 |
+
813,
|
| 334 |
+
239
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 3
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "equation",
|
| 340 |
+
"img_path": "images/42137232532d56777079d1a7e564ddb03db8bd71f327d83e34e457835630645b.jpg",
|
| 341 |
+
"text": "$$\n\\hat { s } _ { c } = \\frac { \\sqrt { C } s _ { c } } { | | \\mathbf { s } | | _ { 2 } } = \\frac { \\sqrt { C } s _ { c } } { [ ( \\displaystyle \\sum _ { c = 1 } ^ { C } s _ { c } ^ { 2 } ) + \\epsilon ] ^ { \\frac { 1 } { 2 } } } ,\n$$",
|
| 342 |
+
"text_format": "latex",
|
| 343 |
+
"bbox": [
|
| 344 |
+
392,
|
| 345 |
+
289,
|
| 346 |
+
604,
|
| 347 |
+
344
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "text",
|
| 353 |
+
"text": "where $\\epsilon$ is a small constant. The scalar $\\sqrt { C }$ is used to normalize the scale of $\\hat { s } _ { c }$ , avoiding a too small scale of $\\hat { s } _ { c }$ when $C$ is large. Compared to the $F C$ layers used by SE, our CN operator has less computational complexity $( O ( C ) )$ compared to the $F C$ layers $( O ( C ^ { 2 } ) )$ . ",
|
| 354 |
+
"bbox": [
|
| 355 |
+
174,
|
| 356 |
+
347,
|
| 357 |
+
825,
|
| 358 |
+
391
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 3
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "text",
|
| 364 |
+
"text": "Gating Adaptation. We employ a gating mechanism, namely gating adaptation, to adapt the original feature. By introducing the gating mechanism, our GCT can facilitate both competition and cooperation during the training process. Let the gating weights $\\gamma = [ \\gamma _ { 1 } , . . . , \\gamma _ { C } ]$ and the gating biases $\\beta = [ \\beta _ { 1 } , . . . , \\beta _ { C } ]$ , we design the following gating function: ",
|
| 365 |
+
"bbox": [
|
| 366 |
+
173,
|
| 367 |
+
397,
|
| 368 |
+
825,
|
| 369 |
+
454
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "equation",
|
| 375 |
+
"img_path": "images/798572ad83622725444aa018262a9d37c4fe9cb41f44318e9565c3c7f2981c8f.jpg",
|
| 376 |
+
"text": "$$\n\\hat { x } _ { c } = x _ { c } [ 1 + \\operatorname { t a n h } ( \\gamma _ { c } \\hat { s } _ { c } + \\beta _ { c } ) ] .\n$$",
|
| 377 |
+
"text_format": "latex",
|
| 378 |
+
"bbox": [
|
| 379 |
+
397,
|
| 380 |
+
458,
|
| 381 |
+
601,
|
| 382 |
+
476
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 3
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "The scale of each original channel $x _ { c }$ will be adapted by its corresponding gate, i.e., $1 + \\operatorname { t a n h } ( \\gamma _ { c } \\hat { s } _ { c } +$ $\\beta _ { c , \\ - }$ ). The trainable $\\gamma _ { c }$ and $\\beta _ { c }$ are employed to control the activation of gate. LRN benefits from only the competitions among the neurons (Krizhevsky et al., 2012). However, the gating mechanism in GCT is able to create both competition and cooperation among different channels. This capability is more consistent with the training process in biological neural networks (Demin & Nekhaev, 2018). When the gating weight of one channel $( \\gamma _ { c } )$ is activated positively, GCT promotes this channel to compete with the others as in LRN. When the gating weight is activated negatively, GCT encourages this channel to cooperate with the others. We analyze these adaptive channel relationships in Sec.4.4. ",
|
| 389 |
+
"bbox": [
|
| 390 |
+
173,
|
| 391 |
+
479,
|
| 392 |
+
825,
|
| 393 |
+
592
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "Besides, this gate function allows original features to pass to the next layer when the gating weights and biases are zeros, which is ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
173,
|
| 402 |
+
598,
|
| 403 |
+
825,
|
| 404 |
+
626
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "equation",
|
| 410 |
+
"img_path": "images/01330840195eb129cb7f33959b136e08588985956fcde3ceb5e2bd4b1bed87e6.jpg",
|
| 411 |
+
"text": "$$\n\\hat { \\mathbf { x } } = F ( \\mathbf { x } | \\alpha , \\mathbf { 0 } , \\mathbf { 0 } ) = \\mathbf { 1 } \\mathbf { x } = \\mathbf { x } .\n$$",
|
| 412 |
+
"text_format": "latex",
|
| 413 |
+
"bbox": [
|
| 414 |
+
398,
|
| 415 |
+
626,
|
| 416 |
+
598,
|
| 417 |
+
642
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "The ability of modeling identity mapping can effectively improve the robustness to the degradation problem in deep networks. ResNets also benefits from this idea. Therefore, we propose to initialize $\\gamma$ and $\\beta$ to 0 in the initialization of GCT layers. By doing this, the initial steps of the training process will be more stable, and the final performance of GCT will be better. ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
173,
|
| 426 |
+
643,
|
| 427 |
+
825,
|
| 428 |
+
700
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "4 EXPERIMENTS ",
|
| 435 |
+
"text_level": 1,
|
| 436 |
+
"bbox": [
|
| 437 |
+
176,
|
| 438 |
+
720,
|
| 439 |
+
326,
|
| 440 |
+
736
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "We apply GCT for all the convolutional layers in deep networks rather than block-level deployment in SE-Net. In all GCT counterparts, we employ one GCT layer before each convolutional layer. In the Kinetics experiments, we apply GCT at the last two convolutional layers in each Res-Block. More training details are shown in Appendix A. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
751,
|
| 450 |
+
825,
|
| 451 |
+
808
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "4.1 EXPERIMENTS ON IMAGENET ",
|
| 458 |
+
"text_level": 1,
|
| 459 |
+
"bbox": [
|
| 460 |
+
176,
|
| 461 |
+
824,
|
| 462 |
+
421,
|
| 463 |
+
838
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 3
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "text",
|
| 469 |
+
"text": "We experiment on the ImageNet 2012 dataset (Russakovsky et al., 2015) with $1 , 0 0 0$ classes. We train all the models on the 1.28M training images and evaluate on the $5 0 , 0 0 0$ validation images. We also conduct classification experiments on CIFAR (Krizhevsky & Hinton, 2009) in Appendix B. ",
|
| 470 |
+
"bbox": [
|
| 471 |
+
174,
|
| 472 |
+
845,
|
| 473 |
+
825,
|
| 474 |
+
888
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 3
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Implementation details. In the training process of all the models, the input image is $2 2 4 \\times 2 2 4$ randomly cropped from a resized image using the same augmentation in Szegedy et al. (2015). We use SGD with a mini-batch size of 256. For ResNet-152 and ResNeXt-50, we use half mini-batch size and double the training steps). The weight decay is 0.0001, and the momentum is 0.9. The base learning rate is 0.1, and we divide it by 10 every 30 epochs. All models are trained for 100 epochs from scratch, using the weight initialization strategy described in He et al. (2015). Besides, we start the training process with a learning rate of 0.01 for 1 epoch. After the warmup, we go back to the original learning rate schedule. In all comparisons, we evaluate the error on the single $2 2 4 \\times 2 2 4$ center crop from an image whose shorter side is 256. For ResNet-200 (He et al., 2016b), we evaluate on $3 2 0 \\times 3 2 0$ following He et al. (2016b). ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
173,
|
| 483 |
+
895,
|
| 484 |
+
825,
|
| 485 |
+
924
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 3
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "table",
|
| 491 |
+
"img_path": "images/39d46841552b7d6b128eec627e94d6ff96aaf5d68893eb484944a38944f9c00d.jpg",
|
| 492 |
+
"table_caption": [
|
| 493 |
+
"Table 1: Improvement in error performance $( \\% )$ on ImageNet. The numbers in brackets denote the improvement in performance over the baselines. ResNet- ${ } ^ { 2 0 0 ^ { * } }$ means we follow the strategy in (He et al., 2016b) to train this model on $2 2 4 \\times 2 2 4$ but evaluate on $3 2 0 \\times 3 2 0$ . "
|
| 494 |
+
],
|
| 495 |
+
"table_footnote": [],
|
| 496 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>original</td><td rowspan=1 colspan=2>GCT</td></tr><tr><td rowspan=1 colspan=1>Network</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>VGG-16 (Simonyan & Zisserman,2015)</td><td rowspan=1 colspan=1>26.2</td><td rowspan=1 colspan=1>8.3</td><td rowspan=1 colspan=1>25.1(1.1)</td><td rowspan=1 colspan=1>7.5(0.8)</td></tr><tr><td rowspan=1 colspan=1>Inception-v3 (Szegedy et al., 2016)</td><td rowspan=1 colspan=1>24.3</td><td rowspan=1 colspan=1>7.3</td><td rowspan=1 colspan=1>23.7(0.6)</td><td rowspan=1 colspan=1>7.1(0.2)</td></tr><tr><td rowspan=1 colspan=1>ResNeXt-50 (Xie et al., 2017)</td><td rowspan=1 colspan=1>22.4</td><td rowspan=1 colspan=1>6.3</td><td rowspan=1 colspan=1>21.7(0.7)</td><td rowspan=1 colspan=1>6.0(0.3)</td></tr><tr><td rowspan=1 colspan=1>ResNet-50 (He et al., 2016a)</td><td rowspan=1 colspan=1>23.8</td><td rowspan=1 colspan=1>7.0</td><td rowspan=1 colspan=1>22.7(1.1)</td><td rowspan=1 colspan=1>6.3(0.7)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101 (He et al.,2016a)</td><td rowspan=1 colspan=1>22.2</td><td rowspan=1 colspan=1>6.2</td><td rowspan=1 colspan=1>21.4(0.8)</td><td rowspan=1 colspan=1>5.9(0.3)</td></tr><tr><td rowspan=1 colspan=1>ResNet-152 (He et al.,2016a)</td><td rowspan=1 colspan=1>21.6</td><td rowspan=1 colspan=1>5.9</td><td rowspan=1 colspan=1>20.8(0.8)</td><td rowspan=1 colspan=1>5.5(0.4)</td></tr><tr><td rowspan=1 colspan=1>ResNet-200*(He et al.,2016b)</td><td rowspan=1 colspan=1>20.7</td><td rowspan=1 colspan=1>5.2</td><td rowspan=1 colspan=1>19.7(1.0)</td><td rowspan=1 colspan=1>4.8(0.4)</td></tr></table>",
|
| 497 |
+
"bbox": [
|
| 498 |
+
250,
|
| 499 |
+
151,
|
| 500 |
+
748,
|
| 501 |
+
276
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 4
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "table",
|
| 507 |
+
"img_path": "images/eb9cc81b19c93d4236479a702f8640948e4b6e3ad4b85829713c5a0c3828da0c.jpg",
|
| 508 |
+
"table_caption": [
|
| 509 |
+
"Table 2: Compared to SE in different networks on ImageNet. We evaluate the models of error performance $( \\% )$ , GFLOPs (G) and parameters (M). G/P means GFLOPs/parameters. In VGG-16 experiments, SE is employed for all the convolutional layers, which is the same as GCT. In other experiments, SE is only employed in block level (Res-Block or Inception-Block) as proposed (Hu et al., 2018b). This difference makes that SE uses comparable GFLOPs with GCT. "
|
| 510 |
+
],
|
| 511 |
+
"table_footnote": [],
|
| 512 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=2>original</td><td rowspan=1 colspan=2>SE</td><td rowspan=1 colspan=2>GCT (ours)</td></tr><tr><td rowspan=1 colspan=1>Network</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td><td rowspan=1 colspan=1>top-1/5</td><td rowspan=1 colspan=1>G/P</td></tr><tr><td rowspan=1 colspan=1>ResNet-50</td><td rowspan=1 colspan=1>23.8/7.0</td><td rowspan=1 colspan=1>3.879/25.61</td><td rowspan=1 colspan=1>22.9/6.6</td><td rowspan=1 colspan=1>3.893/28.14</td><td rowspan=1 colspan=1>22.7/6.3</td><td rowspan=1 colspan=1>3.900/25.68</td></tr><tr><td rowspan=1 colspan=1>ResNeXt-50</td><td rowspan=1 colspan=1>22.4/6.3</td><td rowspan=1 colspan=1>3.795/25.10</td><td rowspan=1 colspan=1>22.0/6.1</td><td rowspan=1 colspan=1>3.809/27.63</td><td rowspan=1 colspan=1>21.7/6.0</td><td rowspan=1 colspan=1>3.821/25.19</td></tr><tr><td rowspan=1 colspan=1>VGG-16</td><td rowspan=1 colspan=1>26.2/8.3</td><td rowspan=1 colspan=1>15.497/138.37</td><td rowspan=1 colspan=1>25.2/7.7</td><td rowspan=1 colspan=1>15.525/138.60</td><td rowspan=1 colspan=1>25.1/7.5</td><td rowspan=1 colspan=1>15.516/138.38</td></tr><tr><td rowspan=1 colspan=1>Inception-v3</td><td rowspan=1 colspan=1>24.3/7.3</td><td rowspan=1 colspan=1>2.847/23.87</td><td rowspan=1 colspan=1>24.0/7.2</td><td rowspan=1 colspan=1>2.851/25.53</td><td rowspan=1 colspan=1>23.7/7.1</td><td rowspan=1 colspan=1>2.862/23.99</td></tr></table>",
|
| 513 |
+
"bbox": [
|
| 514 |
+
191,
|
| 515 |
+
359,
|
| 516 |
+
807,
|
| 517 |
+
446
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "",
|
| 524 |
+
"bbox": [
|
| 525 |
+
173,
|
| 526 |
+
463,
|
| 527 |
+
825,
|
| 528 |
+
575
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 4
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "Integration with deep modern architectures. We study the effects of integrating GCT layers with some state-of-the-art backbone architectures, e.g., ResNets and ResNeXts (Xie et al., 2017), in which we apply GCT before all the convolutional layers. We report all these results in Table 1. Compared to original architectures, we observe significant performance improvements by introducing GCT into networks. Particularly, the top-1 error of GCT-ResNet-101 is ${ \\bf 2 1 . 4 \\% }$ , which is even better than the ResNet-152 baseline $( 2 1 . 6 \\% )$ with a deeper network and much more parameters. In addition, GCT is able to bring stable improvement in ResNets with different depth ( ${ \\bf \\cdot 1 . 1 \\% }$ top-1 improvement in ResNet-50, $\\mathbf { 0 . 8 \\bar { \\% } }$ in ResNet-152 and $\\mathbf { 1 . 0 \\% }$ in ResNet-200). Besides, we observe a smooth improvement throughout the training schedule, which is shown in Fig.2. ",
|
| 535 |
+
"bbox": [
|
| 536 |
+
173,
|
| 537 |
+
582,
|
| 538 |
+
825,
|
| 539 |
+
708
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "We also explore the improvement with GCT in non-residual networks (e.g., VGG-16 (Simonyan & Zisserman, 2015) and Inception-v3 (Szegedy et al., 2016)). To stabilize the training process, we employ BN (Ioffe & Szegedy, 2015) layers after every convolutional layer. Similar to the effectiveness in residual architectures, GCT layers bring promising improvements in non-residual structures. ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
174,
|
| 548 |
+
713,
|
| 549 |
+
825,
|
| 550 |
+
771
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "Compared to SE. We conduct experiments on ImageNet to compare SE with GCT in both residual and non-residual networks and the results are reported in Table 2. We follow the methods in (Hu et al., 2018b) to integrate SE into VGG-16 (Simonyan & Zisserman, 2015), Inception (Szegedy et al., 2016), ResNet-50 (He et al., 2016a) and ResNeXt-50 (Xie et al., 2017) and train these models in same training schedule. Compared to SE, GCT always achieves better improvement. ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
173,
|
| 559 |
+
776,
|
| 560 |
+
823,
|
| 561 |
+
847
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "In order to compare computational complexity, we calculate the GFLOPs and the number of parameters. In VGG-16 experiments, SE is employed for all the convolutional layers, which is the same as GCT. Under this fair condition, GCT achieves better performance with less increase in both GFLOPs (0.019G vs.0.028G) and parameters (0.01M vs.0.23M). In other experiments, SE is only employed in block-level (Res-Block or Inception-Block) as proposed (Hu et al., 2018b), which means the number of SE is smaller than GCT. However, the increase in parameters of GCT is still much less than SE, and the value of GFLOPs is comparable. Compared to SE, the increase in parameters of GCT is negligible, but the performance is better. ",
|
| 568 |
+
"bbox": [
|
| 569 |
+
174,
|
| 570 |
+
853,
|
| 571 |
+
823,
|
| 572 |
+
924
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 4
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "table",
|
| 578 |
+
"img_path": "images/0f18880b14917db02da9170d7bf98031bc31db82cf562df90f3f0e67a163639a.jpg",
|
| 579 |
+
"table_caption": [
|
| 580 |
+
"Table 3: Improvement on COCO with Mask R-CNN framework. $\\mathbf { B N } ^ { * }$ means BN is frozen. $^ +$ means increasing the training iterations from 90K to 270K. When using GN, we follow the strategy in the original paper (Wu & He, 2018). "
|
| 581 |
+
],
|
| 582 |
+
"table_footnote": [],
|
| 583 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>box head</td><td rowspan=1 colspan=1>box AP</td><td rowspan=1 colspan=1>mask AP</td></tr><tr><td rowspan=1 colspan=1>ResNet-50BN*</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>37.8</td><td rowspan=1 colspan=1>34.2</td></tr><tr><td rowspan=1 colspan=1>ResNet-50BN*+GCT</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>39.8(2.0)</td><td rowspan=1 colspan=1>36.0(1.8)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101BN*</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>40.1</td><td rowspan=1 colspan=1>36.1</td></tr><tr><td rowspan=2 colspan=1>ResNet-101BN*+GCT+ResNet-50 BN*</td><td rowspan=1 colspan=1>二</td><td rowspan=1 colspan=1>42.0(1.9)</td><td rowspan=1 colspan=1>37.7(1.6)</td></tr><tr><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>38.6</td><td rowspan=1 colspan=1>34.5</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50 GN</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>40.8(2.2)</td><td rowspan=1 colspan=1>36.1(1.6)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50 BN*+GCT</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>41.6(3.0)</td><td rowspan=1 colspan=1>37.1(2.6)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-50BN*+GCT</td><td rowspan=1 colspan=1>GN+GCT</td><td rowspan=1 colspan=1>41.8(3.2)</td><td rowspan=1 colspan=1>37.3(2.8)</td></tr><tr><td rowspan=1 colspan=1>+ResNet-101 BN*</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>40.9</td><td rowspan=1 colspan=1>36.4</td></tr><tr><td rowspan=1 colspan=1>+ResNet-101 GN</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>42.3(1.4)</td><td rowspan=1 colspan=1>37.2(0.8)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101BN*+GCT</td><td rowspan=1 colspan=1>GN</td><td rowspan=1 colspan=1>43.1(2.2)</td><td rowspan=1 colspan=1>38.3(1.9)</td></tr></table>",
|
| 584 |
+
"bbox": [
|
| 585 |
+
299,
|
| 586 |
+
151,
|
| 587 |
+
697,
|
| 588 |
+
330
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "",
|
| 595 |
+
"bbox": [
|
| 596 |
+
176,
|
| 597 |
+
348,
|
| 598 |
+
823,
|
| 599 |
+
390
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 5
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "4.2 EXPERIMENTS ON COCO ",
|
| 606 |
+
"text_level": 1,
|
| 607 |
+
"bbox": [
|
| 608 |
+
176,
|
| 609 |
+
407,
|
| 610 |
+
393,
|
| 611 |
+
421
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "Next we evaluate the generalizability on the COCO dataset (Lin et al., 2014). We train the models on the COCO train2017 set and evaluate on the COCO eval2017 set (a.k.a minival). ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
434,
|
| 621 |
+
821,
|
| 622 |
+
462
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "Implementation details. We experiment on the Mask R-CNN baselines (He et al., 2017) and its GN counterparts (Wu & He, 2018). All the backbone models are pre-trained on ImageNet using the scale and aspect ratio augmentation in Szegedy et al. (2015) and fine-tune on COCO with a batch size of 16 (2 images/GPU). Besides, all these experiments use the Feature Pyramid Network (FPN) Lin et al. (2017). We also use the same hyperparameters and two training schedules used in (Wu & He, 2018). The short schedule includes 90K iterations, in which the learning rate is divided by 10 at 60K and 80K iterations. The long schedule increases the iterations to 270K, in which the learning rate is divided by 10 at 210K and 250K. The base learning rate is 0.02 in both schedules. ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
173,
|
| 631 |
+
469,
|
| 632 |
+
825,
|
| 633 |
+
580
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "Improvements on Mask R-CNN. Table 3 shows the comparison of $\\mathbf { B N } ^ { * }$ (frozen BN), GN and $\\mathbf { B } \\mathbf { N } ^ { * } { + } \\mathbf { G } \\mathbf { C } \\mathbf { T }$ (using GCT before all the convolutional layers of the backbones). First, we use a short training schedule to compare baselines and GCT counterparts. GCT shows stable and significant improvement in both ResNet-50 and ResNet-101. In ResNet-50, GCT improves detection AP by 2.0 and segmentation AP by 1.8. Moreover, in ResNet-101, GCT also improves detection AP by 1.9 and segmentation AP by 1.6. Then, we use the long schedule to compare GN and $\\mathbf { B N ^ { * } { + } G C T }$ . GN is more effective than BN when batch size is small as in this case of detection and segmentation using Mask R-CNN. However, we deploy GCT together with BN into the backbone, and these $\\mathbf { B } \\mathbf { N } ^ { * } { + } \\mathbf { G } \\mathbf { C } \\mathbf { T }$ counterparts achieve much better performance than GN backbones. Compared to GN in ResNet-101, $\\mathrm { \\mathbf { B } N ^ { * } { + } G C T }$ improves detection AP by 0.8 and segmentation AP by 1.1. In particular, ResNet-101 with $\\mathrm { \\mathbf { B } N ^ { * } { + } G C T }$ trained in the short schedule achieves better segmentation AP (37.7) than the GN counterpart (37.2) trained with the long schedule. This GN counterpart also uses GN in the backbone, the box heads, and the FPN. We also explore to combine GCT with GN by introducing GCT into GN box head. The results show $\\mathrm { \\bf G N { + } } \\mathrm { \\bf G C T }$ achieves a better performance. It demonstrates the benefits of integrating GCT with GN. We now have shown the effectiveness of GCT in working with both BN and GN. ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
588,
|
| 643 |
+
825,
|
| 644 |
+
809
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "4.3 EXPERIMENTS ON KINETICS ",
|
| 651 |
+
"text_level": 1,
|
| 652 |
+
"bbox": [
|
| 653 |
+
176,
|
| 654 |
+
828,
|
| 655 |
+
411,
|
| 656 |
+
842
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 5
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "Our previous experiments demonstrate the effectiveness of GCT on image-related tasks. We now evaluate the generalizability in video understanding task of action recognition on the large scale Kinetics-400 (Kay et al., 2017) dataset. We employ the ResNet-50 (3D) and ResNet-101 (3D) as the backbone and apply GCT in the last two convolutional layers in each Res-Block. The backbone networks are pre-trained on ImageNet (Russakovsky et al., 2015). ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
854,
|
| 666 |
+
823,
|
| 667 |
+
924
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "image",
|
| 673 |
+
"img_path": "images/4f3eed4af43b00704fbd313bc531759518072555c6f428f60926c05148a110c1.jpg",
|
| 674 |
+
"image_caption": [
|
| 675 |
+
"Figure 3: Analysis. The visulization of parameters of $\\gamma$ (Fig.(a), (b)), and the ratio of variance of GCT output and input feature (Fig.(c)) in all the GCT layers in ResNet-50 on ImageNet. "
|
| 676 |
+
],
|
| 677 |
+
"image_footnote": [],
|
| 678 |
+
"bbox": [
|
| 679 |
+
223,
|
| 680 |
+
102,
|
| 681 |
+
776,
|
| 682 |
+
243
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "We compare with the state-of-the-art Non-Local Networks (NL-Net) (Wang et al., 2018). The results show that GCT counterparts consistently improves the recognition accuracy over both the ResNet50 and ResNet-101 baselines, as shown in Table 4. Because of our limited memory resource, we can NOT apply GCT in all the convolutional layers, which we believe can further improve the performance. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
287,
|
| 692 |
+
825,
|
| 693 |
+
358
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 6
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "In summary, extensive experiments demonstrate that GCT is effective across a wide range of architectures, tasks, and datasets. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
173,
|
| 702 |
+
364,
|
| 703 |
+
821,
|
| 704 |
+
393
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 6
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "4.4 ANALYSIS ",
|
| 711 |
+
"text_level": 1,
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
412,
|
| 715 |
+
285,
|
| 716 |
+
426
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 6
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "To analyze the behavior of GCT in different layers, we visualize the distribution of the gating weights $( \\gamma )$ of each GCT layer in ResNet-50 on ImageNet. Further, we sort these distributions according to their layer index in 3D space (Fig. 3a). The bigger layer index means it is closer to the network output. To make the visualization clearer, we re-scale the vertical $z$ axis with $\\boldsymbol { l o g ( 1 + z ) }$ , which corresponds to the percentage density of $\\gamma$ . We also calculate the mean and standard deviation (std) of $\\gamma$ in each layer and show them in a bar chart (Fig. 3b). As shown in Fig. 3a and 3b, the mean of $\\gamma$ tends to be less than 0 in the GCT layers far from the network output. Oppositely, in the layers close to the output, the mean tends to be greater than 0. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
439,
|
| 726 |
+
825,
|
| 727 |
+
550
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 6
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "According to Eq. 3 & 4, the adaptation of channel $x _ { c }$ is related to $\\hat { s } _ { c }$ , which corresponds to the ratio of the weighted $\\ell _ { 2 }$ -norm of $x _ { c }$ (i.e., $s _ { c . }$ ) and the average of all the $s _ { c }$ . When the gating weight $\\gamma _ { c }$ is greater than 0, the adaptation is positively correlated to $\\hat { s } _ { c }$ and increases the variance between $x _ { c }$ and others; When $\\gamma _ { c }$ is lower than 0, the adaptation is negatively correlated and reduces the variance. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
558,
|
| 737 |
+
825,
|
| 738 |
+
613
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 6
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "Based on the analysis and the results we observe, we suppose that GCT tends to reduce the difference among channels in layers far away from the output. This behavior is helpful to encourage cooperation among channels and relieve overfitting. Apart from this, GCT tends to increase the difference among channels when close to the output. Here, GCT acts like the attention mechanism that is useful for creating competition. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
621,
|
| 748 |
+
825,
|
| 749 |
+
689
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 6
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "To further validate our hypothesis, we calculate the ratio of the variance of output and input feature of each GCT layer, which we show in Fig. 3c. More visualizations are shown in Appendix C. Generally, the shallow layers learn low-level features to capture general characteristics like textures, edges, and corners. The feature variances become larger in deeper layers, where the high-level features are more discriminative and task-related. As expected, in the layers close to network output, GCT tends to magnify the variance of input feature (the ratio is always greater than 1), but in the layers far away from the output, GCT tends to reduce the variance (the ratio is always less than 1). This phenomenon is consistent with our previous hypothesis and shows that GCT is effective in creating both competition and cooperation among channels. Our observation validates that GCT can adaptively learn the channel relationships at different layers. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
174,
|
| 758 |
+
696,
|
| 759 |
+
825,
|
| 760 |
+
835
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 6
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "4.5 ABLATION STUDIES. ",
|
| 767 |
+
"text_level": 1,
|
| 768 |
+
"bbox": [
|
| 769 |
+
174,
|
| 770 |
+
854,
|
| 771 |
+
356,
|
| 772 |
+
868
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 6
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "In this section, we conduct a serial of ablation experiments to explain the relative importance of each operator in the GCT. At last, we show how the performance changes with regards to the GCT position in a network. ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
176,
|
| 781 |
+
882,
|
| 782 |
+
823,
|
| 783 |
+
922
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 6
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "table",
|
| 789 |
+
"img_path": "images/03095103e11a9cccf6a53b2969533428e45418ded53e0e7ab088cb1a1d44500c.jpg",
|
| 790 |
+
"table_caption": [
|
| 791 |
+
"Table 4: Improvement in top-1 accuracy $( \\% )$ over the state-ofthe-art method on Kinetics. "
|
| 792 |
+
],
|
| 793 |
+
"table_footnote": [],
|
| 794 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Backbone</td><td rowspan=1 colspan=1>NL-Net</td><td rowspan=1 colspan=1>GCT</td></tr><tr><td rowspan=1 colspan=1>ResNet-50</td><td rowspan=1 colspan=1>74.6</td><td rowspan=1 colspan=1>75.1(0.5)</td></tr><tr><td rowspan=1 colspan=1>ResNet-101</td><td rowspan=1 colspan=1>75.7</td><td rowspan=1 colspan=1>76.2(0.5)</td></tr></table>",
|
| 795 |
+
"bbox": [
|
| 796 |
+
173,
|
| 797 |
+
181,
|
| 798 |
+
401,
|
| 799 |
+
223
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 7
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "Table 5: Ablation experiments. We evaluate error performance in GCT-ResNet-50 on ImageNet $( \\% )$ . The ResNet-50 baseline achieves a top-1 of 23.8 and a top-5 of 7.0. ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
401,
|
| 808 |
+
93,
|
| 809 |
+
820,
|
| 810 |
+
136
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 7
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "(a) Embedding operator. ",
|
| 817 |
+
"bbox": [
|
| 818 |
+
423,
|
| 819 |
+
145,
|
| 820 |
+
566,
|
| 821 |
+
157
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 7
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "table",
|
| 827 |
+
"img_path": "images/ef443284127e660d17fe46e545061756b8bb101ee5e18cba630f920fd7a5ef51.jpg",
|
| 828 |
+
"table_caption": [
|
| 829 |
+
"(b) Normalization operator. "
|
| 830 |
+
],
|
| 831 |
+
"table_footnote": [],
|
| 832 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Normalization</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>mean+variance</td><td rowspan=1 colspan=1>23.7</td><td rowspan=1 colspan=1>7.1</td></tr><tr><td rowspan=1 colspan=1>l1</td><td rowspan=1 colspan=1>22.9</td><td rowspan=1 colspan=1>6.4</td></tr><tr><td rowspan=1 colspan=1>l2</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>",
|
| 833 |
+
"bbox": [
|
| 834 |
+
594,
|
| 835 |
+
162,
|
| 836 |
+
808,
|
| 837 |
+
217
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 7
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "table",
|
| 843 |
+
"img_path": "images/3aea6e4fc286d7019ec76290823f05307ceb84e8284d0b5f38366b9f4c2631c5.jpg",
|
| 844 |
+
"table_caption": [],
|
| 845 |
+
"table_footnote": [],
|
| 846 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Norm</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>lo</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.7</td></tr><tr><td rowspan=1 colspan=1>l1</td><td rowspan=1 colspan=1>22.8</td><td rowspan=1 colspan=1>6.3</td></tr><tr><td rowspan=1 colspan=1>l2</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>",
|
| 847 |
+
"bbox": [
|
| 848 |
+
418,
|
| 849 |
+
162,
|
| 850 |
+
575,
|
| 851 |
+
217
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 7
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "table",
|
| 857 |
+
"img_path": "images/b8fc59eadd4a47ae248082027cd02f9ca8d904b3515c1e5c77c72b9987a62e37.jpg",
|
| 858 |
+
"table_caption": [
|
| 859 |
+
"(c) Adaptation operator. "
|
| 860 |
+
],
|
| 861 |
+
"table_footnote": [],
|
| 862 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Adaptation</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>Sigmoid</td><td rowspan=1 colspan=1>22.9</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>1+ELU</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.4</td></tr><tr><td rowspan=1 colspan=1>1+tanh</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>",
|
| 863 |
+
"bbox": [
|
| 864 |
+
411,
|
| 865 |
+
246,
|
| 866 |
+
599,
|
| 867 |
+
301
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 7
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "table",
|
| 873 |
+
"img_path": "images/684807e3851ac83f756d936d240b7acabf68e895949eabc70930168648a20695.jpg",
|
| 874 |
+
"table_caption": [
|
| 875 |
+
"(d) Application position. "
|
| 876 |
+
],
|
| 877 |
+
"table_footnote": [],
|
| 878 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Position</td><td rowspan=1 colspan=1>top-1</td><td rowspan=1 colspan=1>top-5</td></tr><tr><td rowspan=1 colspan=1>after BN</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.6</td></tr><tr><td rowspan=1 colspan=1>before BN</td><td rowspan=1 colspan=1>23.1</td><td rowspan=1 colspan=1>6.5</td></tr><tr><td rowspan=1 colspan=1>before Conv</td><td rowspan=1 colspan=1>22.7</td><td rowspan=1 colspan=1>6.3</td></tr></table>",
|
| 879 |
+
"bbox": [
|
| 880 |
+
619,
|
| 881 |
+
246,
|
| 882 |
+
813,
|
| 883 |
+
301
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 7
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "Table 6: Clock time comparison. We calculate average inference times (ms) per batch by using 1 GTX 1080Ti with 16 batch size for 1,000 iterations on ImageNet. For the sake of fairness, the modules are applied for all the Convs in VGG-16. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
173,
|
| 892 |
+
310,
|
| 893 |
+
825,
|
| 894 |
+
353
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 7
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "table",
|
| 900 |
+
"img_path": "images/cd57195b0d9ce936bbabd5134f4522503d2847bee9ac2da55c503f28bd57ef4b.jpg",
|
| 901 |
+
"table_caption": [],
|
| 902 |
+
"table_footnote": [],
|
| 903 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>baseline</td><td rowspan=1 colspan=1>+SE</td><td rowspan=1 colspan=1>+GCT(l1-norm)</td><td rowspan=1 colspan=1>+GCT(l2-norm)</td></tr><tr><td rowspan=1 colspan=1>time(ms)/batch</td><td rowspan=1 colspan=1>51.11</td><td rowspan=1 colspan=1>87.3136.20↑</td><td rowspan=1 colspan=1>59.468.35↑</td><td rowspan=1 colspan=1>59.738.62↑</td></tr></table>",
|
| 904 |
+
"bbox": [
|
| 905 |
+
228,
|
| 906 |
+
361,
|
| 907 |
+
766,
|
| 908 |
+
392
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 7
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Embedding component. To explain the importance of $\\ell _ { p }$ -norm in GCE, we compare embedding operators with different $\\ell _ { p }$ norm. We report the results in Table 5a, which shows all the $\\ell _ { p }$ -norms are effective in GCE, but the $\\ell _ { 2 }$ -norm is slightly better than $\\ell _ { 1 }$ -norm. The results demonstrate the GCE of GCT is robust to different $\\ell _ { p }$ -norms. In addition, we make a clock time comparison between SE and GCTs with different embedding component. As shown in Table 6, $\\ell _ { 2 }$ -norm is computationally similar to $\\ell _ { 1 }$ -norm and GCT is much more efficient than SE $( { \\bf 8 . 6 2 } m s \\mathrm { ~ \\uparrow ~ }$ vs. $3 6 . 2 0 m s \\uparrow$ ). ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
173,
|
| 917 |
+
401,
|
| 918 |
+
825,
|
| 919 |
+
486
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Normalization component. We also explore the significance of $\\ell _ { p }$ -norm in CN by comparing $\\ell _ { p }$ normalization with mean and variance normalization. The mean and variance normalization will normalize mean to 0 and variance to 1, which is widely used in normalization layers (e.g., Ioffe & Szegedy (2015)). We show all these results in Table 5b. Particularly, mean and variance normalization achieves a top-1 error of $2 3 . 7 \\%$ , which is only slightly better than the ResNet-50 baseline $( 2 3 . 8 \\% )$ . Both $\\ell _ { 1 }$ and $\\ell _ { 2 }$ normalization make more promising improvements, and $\\ell _ { 2 }$ performs slightly better. $\\ell _ { p }$ normalization is better at representation learning in channel normalization. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
173,
|
| 928 |
+
492,
|
| 929 |
+
825,
|
| 930 |
+
590
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 7
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Adaptation component. We replace the activation function of the gating adaptation with a few different non-linear activation functions and show the results in Table 5c. Compare to the baseline (top-1 of $2 3 . 8 \\%$ ), all the non-linear adaptation operator achieves promising performance, and $1 +$ tanh achieves a slightly better improvement. Both $1 + t a n h$ and $1 +$ ELU (Clevert et al., 2016) can model identity mapping, and achieve better results than Sigmoid. These strong results show that GCT is also robust to the choice of activation functions and the identity mapping is important in training. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
173,
|
| 939 |
+
597,
|
| 940 |
+
825,
|
| 941 |
+
695
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 7
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Application position. To find the best way to deploy GCT layers, we conduct experiments in ResNet-50 architecture on ImageNet by separately applying GCT after all the BN layers, before all the BN layers, and before all the convolutional layers. The results are reported in Table 5d. All the placement methods are effective in using GCT to improve the representational power of networks. However, it is better to employ GCT before all the convolutional layers, which is similar to the strategy in (Krizhevsky et al., 2012) (normalization after ReLU). ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
174,
|
| 950 |
+
700,
|
| 951 |
+
825,
|
| 952 |
+
785
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "5 CONCLUSION AND FUTURE WORK ",
|
| 959 |
+
"text_level": 1,
|
| 960 |
+
"bbox": [
|
| 961 |
+
174,
|
| 962 |
+
808,
|
| 963 |
+
495,
|
| 964 |
+
824
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 7
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "In this paper, we propose GCT, a novel layer that effectively improves the discriminability of deep CNNs by leveraging the relationship among channels. Benefit from the design of combining normalization and gating mechanisms, GCT can facilitate two types of neuron relations, i.e., competition and cooperation, with negligible complexity of parameters. We conduct expensive experiments to show the effectiveness and robustness of GCT across a wide range of modern CNNs and datasets. In future work, we will study the feasibility to apply GCT into recurrent networks. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
839,
|
| 974 |
+
825,
|
| 975 |
+
924
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "REFERENCES ",
|
| 982 |
+
"text_level": 1,
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
102,
|
| 986 |
+
287,
|
| 987 |
+
118
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
173,
|
| 996 |
+
126,
|
| 997 |
+
823,
|
| 998 |
+
155
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 8
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Djork-Arne Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network ´ learning by exponential linear units (elus). In ICLR, 2016. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
173,
|
| 1007 |
+
161,
|
| 1008 |
+
823,
|
| 1009 |
+
191
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 8
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In ICML, 2017. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
174,
|
| 1018 |
+
199,
|
| 1019 |
+
823,
|
| 1020 |
+
228
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 8
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Vyacheslav Demin and Dmitry Nekhaev. Recurrent spiking neural network learning based on a competitive maximization of neuronal activity. Frontiers in neuroinformatics, 12, 2018. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
236,
|
| 1030 |
+
825,
|
| 1031 |
+
266
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 8
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann N Dauphin. Convolutional sequence to sequence learning. In ICML, 2017. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
173,
|
| 1040 |
+
273,
|
| 1041 |
+
823,
|
| 1042 |
+
303
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 8
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In ICCV, 2015. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
174,
|
| 1051 |
+
310,
|
| 1052 |
+
825,
|
| 1053 |
+
340
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 8
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, 2016a. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
174,
|
| 1062 |
+
347,
|
| 1063 |
+
823,
|
| 1064 |
+
377
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 8
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016b. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
385,
|
| 1074 |
+
823,
|
| 1075 |
+
414
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 8
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ ICCV, 2017. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
173,
|
| 1084 |
+
421,
|
| 1085 |
+
787,
|
| 1086 |
+
438
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 8
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
173,
|
| 1095 |
+
445,
|
| 1096 |
+
821,
|
| 1097 |
+
474
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 8
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Jie Hu, Li Shen, Samuel Albanie, Gang Sun, and Andrea Vedaldi. Gather-excite: Exploiting feature context in convolutional neural networks. In Advances in Neural Information Processing Systems, pp. 9401–9411, 2018a. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
173,
|
| 1106 |
+
482,
|
| 1107 |
+
825,
|
| 1108 |
+
525
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 8
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In CVPR, 2018b. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
173,
|
| 1117 |
+
532,
|
| 1118 |
+
727,
|
| 1119 |
+
549
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 8
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Yanping Huang, Yonglong Cheng, Dehao Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V Le, and Zhifeng Chen. Gpipe: Efficient training of giant neural networks using pipeline parallelism. arXiv preprint arXiv:1811.06965, 2018. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
174,
|
| 1128 |
+
556,
|
| 1129 |
+
823,
|
| 1130 |
+
599
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 8
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
608,
|
| 1140 |
+
821,
|
| 1141 |
+
637
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 8
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijayanarasimhan, Fabio Viola, Tim Green, Trevor Back, Paul Natsev, et al. The kinetics human action video dataset. arXiv preprint arXiv:1705.06950, 2017. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
174,
|
| 1150 |
+
643,
|
| 1151 |
+
821,
|
| 1152 |
+
688
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 8
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
173,
|
| 1161 |
+
695,
|
| 1162 |
+
821,
|
| 1163 |
+
724
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 8
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
173,
|
| 1172 |
+
732,
|
| 1173 |
+
820,
|
| 1174 |
+
762
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 8
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Hugo Larochelle and Geoffrey E Hinton. Learning to combine foveal glimpses with a third-order boltzmann machine. In NIPS, 2010. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
173,
|
| 1183 |
+
770,
|
| 1184 |
+
821,
|
| 1185 |
+
799
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 8
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"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 ´ ECCV. Springer, 2014. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
174,
|
| 1194 |
+
806,
|
| 1195 |
+
825,
|
| 1196 |
+
849
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 8
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Tsung-Yi Lin, Piotr Dollar, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie.´ Feature pyramid networks for object detection. In CVPR, 2017. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
176,
|
| 1205 |
+
858,
|
| 1206 |
+
820,
|
| 1207 |
+
887
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 8
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. Learning, 10:3. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
176,
|
| 1216 |
+
895,
|
| 1217 |
+
820,
|
| 1218 |
+
922
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 8
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Siwei Lyu and Eero P Simoncelli. Nonlinear image representation using divisive normalization. In CVPR, 2008. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
173,
|
| 1227 |
+
103,
|
| 1228 |
+
825,
|
| 1229 |
+
132
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 9
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In NIPS, 2014. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
173,
|
| 1238 |
+
141,
|
| 1239 |
+
823,
|
| 1240 |
+
171
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 9
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"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. IJCV, 115(3):211–252, 2015. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
178,
|
| 1249 |
+
180,
|
| 1250 |
+
821,
|
| 1251 |
+
223
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 9
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
174,
|
| 1260 |
+
232,
|
| 1261 |
+
821,
|
| 1262 |
+
261
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 9
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Bharat Singh, Mahyar Najibi, and Larry S Davis. Sniper: Efficient multi-scale training. In Advances in Neural Information Processing Systems, pp. 9333–9343, 2018. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
173,
|
| 1271 |
+
270,
|
| 1272 |
+
823,
|
| 1273 |
+
300
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 9
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"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 ICCV, 2015. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
176,
|
| 1282 |
+
308,
|
| 1283 |
+
823,
|
| 1284 |
+
352
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 9
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
361,
|
| 1294 |
+
823,
|
| 1295 |
+
390
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 9
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Antonio Torralba. Contextual priming for object detection. International journal of computer vision, 53(2):169–191, 2003. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
174,
|
| 1304 |
+
398,
|
| 1305 |
+
821,
|
| 1306 |
+
428
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 9
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
438,
|
| 1316 |
+
823,
|
| 1317 |
+
467
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 9
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
173,
|
| 1326 |
+
476,
|
| 1327 |
+
825,
|
| 1328 |
+
506
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 9
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, 2018. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
176,
|
| 1337 |
+
515,
|
| 1338 |
+
823,
|
| 1339 |
+
544
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 9
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Yuxin Wu and Kaiming He. Group normalization. In ECCV, 2018. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
173,
|
| 1348 |
+
553,
|
| 1349 |
+
614,
|
| 1350 |
+
568
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 9
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual trans-´ formations for deep neural networks. In CVPR, 2017. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
174,
|
| 1359 |
+
577,
|
| 1360 |
+
823,
|
| 1361 |
+
606
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 9
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "A TRAINING DETAILS ",
|
| 1368 |
+
"text_level": 1,
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
176,
|
| 1371 |
+
662,
|
| 1372 |
+
370,
|
| 1373 |
+
679
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 9
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "Same to modern normalization layers (e.g., BN (Ioffe & Szegedy, 2015)), we propose to apply GCT for all convolutional layers in deep networks. However, there are many different points nearby one convolutional layer to employ GCT. In deep networks, each convolutional layer always works together with a normalization layer (e.g., BN (Ioffe & Szegedy, 2015)) and an activation layer (e.g., ReLU). For this reason, there are three possible points to deploy GCT layer, which are before the convolutional layer, before the normalization layer, and after the normalization layer. All these methods are effective, but we find to be better to employ GNC before the convolutional layer. In Sec. 4.5, we compare the performance of these three application methods. ",
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
173,
|
| 1382 |
+
694,
|
| 1383 |
+
825,
|
| 1384 |
+
805
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 9
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "In the training process, we propose to use 1 to initialize $_ { \\pmb { \\alpha } }$ and use 0 to initialize all $\\gamma$ and $\\beta$ . By doing this, GCT will be initialized as an identity mapping module, which will make the training process more stable. Besides, to avoid the bad influence of unstable gradient on the GCT gate in initial training steps, we propose to use warmup method (to start training with a small learning rate). In all the experiments on ImageNet (Russakovsky et al., 2015) and CIFAR (Krizhevsky & Hinton, 2009), we start training with a learning rate of 0.01 for 1 epoch. After the warmup, we go back to the original learning rate schedule. Finally, we propose NOT to apply weight decay on $\\beta$ parameters, which is possible to reduce the performance of GCT. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
174,
|
| 1393 |
+
813,
|
| 1394 |
+
825,
|
| 1395 |
+
924
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 9
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "B EXPERIMENTS ON CIFAR ",
|
| 1402 |
+
"text_level": 1,
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
176,
|
| 1405 |
+
102,
|
| 1406 |
+
424,
|
| 1407 |
+
117
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 10
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "We conduct more experiments on the CIFAR-10 and CIFAR-100 datasets (Krizhevsky & Hinton, 2009). We follow the same training and testing strategies in (He et al., 2016a) to conduct our experiments but with a different learning rate schedule. We use a base learning rate of 0.1 and take cosine decay method (Loshchilov & Hutter) to adjust the learning rate for 300 epochs, which achieves better baseline performance. Following the above training protocol, we start the training process with a learning rate of 0.01 for 1 epoch. ",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
173,
|
| 1416 |
+
133,
|
| 1417 |
+
825,
|
| 1418 |
+
217
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 10
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "We report the performance of ResNet-110 (He et al., 2016a) and its GCT counterpart in Table 7. To reduce the variances from different runs, we repeat all experiments for 5 times and report the averaged the results. As with the previous experiments, we observe promising improvements in performance, which shows that GCT can generalize to other image classification datasets. ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
173,
|
| 1427 |
+
223,
|
| 1428 |
+
825,
|
| 1429 |
+
280
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 10
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "table",
|
| 1435 |
+
"img_path": "images/828b461a0cbcc50120f3507e2eb8f134dca128230134117c851112cd9a49bca5.jpg",
|
| 1436 |
+
"table_caption": [
|
| 1437 |
+
"Table 7: Improvement in top-1 error $( \\% )$ on the CIFAR-10 and CIFAR-100 datasets. "
|
| 1438 |
+
],
|
| 1439 |
+
"table_footnote": [],
|
| 1440 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Dataset</td><td rowspan=1 colspan=1>ResNet-110</td><td rowspan=1 colspan=1>GCT</td></tr><tr><td rowspan=1 colspan=1>CIFAR-10</td><td rowspan=1 colspan=1>5.81</td><td rowspan=1 colspan=1>5.26(0.55)</td></tr><tr><td rowspan=1 colspan=1>CIFAR-100</td><td rowspan=1 colspan=1>26.66</td><td rowspan=1 colspan=1>25.77 (0.89)</td></tr></table>",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
366,
|
| 1443 |
+
319,
|
| 1444 |
+
632,
|
| 1445 |
+
364
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 10
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "C MORE VISUALIZATION RESULTS ",
|
| 1452 |
+
"text_level": 1,
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
173,
|
| 1455 |
+
387,
|
| 1456 |
+
482,
|
| 1457 |
+
405
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 10
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "text",
|
| 1463 |
+
"text": "In ResNet-50 (He et al., 2016a) backbone, We visualize the channel activation before and after the GCT layer in both low-level stage (far away from the network output) and high-level stage (close to the output) in Fig.4 and 5, respectively. The input image is from the validation dataset of ImageNet. As we can see, for the stages far away from the network output, the proposed GCT layer tends to reduce the variance of input feature, which encourages cooperation among channels and avoids excessive activation values or loss of useful features. On the contrary, for those stages close to the output, GCT tends to magnify the variance. Here, GCT acts like the attention mechanism that is useful for creating competition. ",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
173,
|
| 1466 |
+
417,
|
| 1467 |
+
825,
|
| 1468 |
+
531
|
| 1469 |
+
],
|
| 1470 |
+
"page_idx": 10
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"type": "image",
|
| 1474 |
+
"img_path": "images/bba516bc4d3a63602666dab0b6c5ddc5af43ac6f9c2b8eb7fc1c547621d60211.jpg",
|
| 1475 |
+
"image_caption": [
|
| 1476 |
+
"Figure 4: Visualization of the channel activation for a GCT layer in Stage 2 (low-level) of ResNet-50 on the validation dataset of ImageNet. "
|
| 1477 |
+
],
|
| 1478 |
+
"image_footnote": [],
|
| 1479 |
+
"bbox": [
|
| 1480 |
+
220,
|
| 1481 |
+
558,
|
| 1482 |
+
779,
|
| 1483 |
+
797
|
| 1484 |
+
],
|
| 1485 |
+
"page_idx": 10
|
| 1486 |
+
},
|
| 1487 |
+
{
|
| 1488 |
+
"type": "image",
|
| 1489 |
+
"img_path": "images/cfb0388bec48aea32229c87f5fc1dc827cf9259d3d4ac76c3616a7ba8b94c909.jpg",
|
| 1490 |
+
"image_caption": [
|
| 1491 |
+
"Figure 5: Visualization of the channel activation for a GCT layer in Stage 5 (high-level) of ResNet50 on the validation dataset of ImageNet. "
|
| 1492 |
+
],
|
| 1493 |
+
"image_footnote": [],
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
338,
|
| 1496 |
+
353,
|
| 1497 |
+
658,
|
| 1498 |
+
621
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 11
|
| 1501 |
+
}
|
| 1502 |
+
]
|
parse/train/SJxbu6VKDr/SJxbu6VKDr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJxbu6VKDr/SJxbu6VKDr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Syez3j0cKX/Syez3j0cKX.md
ADDED
|
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DISSECTING AN ADVERSARIAL FRAMEWORK FOR INFORMATION RETRIEVAL
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Recent advances in Generative Adversarial Networks facilitated by improvements to the framework and successful application to various problems has resulted in extensions to multiple domains. IRGAN attempts to leverage the framework for Information-Retrieval (IR), a task that can be described as modeling the correct conditional probability distribution $p ( d | q )$ over the documents $( d )$ , given the query $( q )$ . The work that proposes IRGAN claims that optimizing their minimax loss function will result in a generator which can learn the distribution, but their setup and baseline term steer the model away from an exact adversarial formulation, and this work attempts to point out certain inaccuracies in their formulation. Analyzing their loss curves gives insight into possible mistakes in the loss functions and better performance can be obtained by using the co-training like setup we propose, where two models are trained in a co-operative rather than an adversarial fashion.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Information-Retrieval (IR) involves providing a list of ranked documents $\{ d _ { 1 } , d _ { 2 } , \dots , d _ { k } \}$ in answer to a query $q$ . This general formulation can be extended to various tasks like web-search, where the documents are web pages and information needs are queries, content-recommendation, where the documents are items/content to suggest and queries are users, and Question-Answering, where the documents are answers and queries are questions. The retrieved list can also be viewed as a probability distribution over candidates, one example being $\begin{array} { r } { R a n k _ { q } ( d _ { i } ) \equiv p ( d _ { i } | q ) \propto ( \frac { 1 } { R a n k _ { q } ( d _ { i } ) } ) ^ { l } } \end{array}$ where $l$ is a hyperparameter. Even if the probability distribution is not explicit, it is desirable to retrieve a higher ranked document more often than a lower ranked document.
|
| 12 |
+
|
| 13 |
+
GANs were proposed as alternatives to generative models and have been shown to be capable of modeling the true data well. High dimensional settings like images and word sequences have seen some success. Given that the generator in GANs tries to model the training data’s distribution, adversarial setups seem like a natural fit for IR. The learned distribution can then be used to retrieve relevant documents for incoming queries. IRGAN is a framework proposed by Wang et al. (2017), with the hope of giving Information-Retrieval, access to the large literature of GANs.
|
| 14 |
+
|
| 15 |
+
IRGAN consists of a discriminator and a generator. Like in a typical setup, the discriminator learns to distinguish between documents produces by the real probability distribution or the real ranking and the generator’s probability distribution. It increases the likelihood of the former and decreases it for the latter. The generator tries to bring its probability distribution closer to the real one so that it increases the likelihood of confusing the discriminator into believing that it is the true distribution. Ideally, equilibrium is achieved when the generator manages to rank the documents according to the true distribution.
|
| 16 |
+
|
| 17 |
+
However, the formulation and implementation of the loss function in the work seems to have a few issues. Specifically, the use of the baseline term recommended in the work results in pitting the loss functions of the discriminator and the generator directly against each other and this leads to issues that are conspicuous in the loss curves. The training starts off with a pre-trained discriminator and generator, and the performance of the generator decreases as the training proceeds, while you would actually expect the opposite. When pre-training is not used, the generator does not learn at all. This forces IRGAN to choose the generator or discriminator based on whichever has better performance, while it expected that the generator is chosen at equilibrium.
|
| 18 |
+
|
| 19 |
+
Given the traction this paper has received since its inception (53 citations as of $2 7 ^ { t h }$ September 2018), it is important to critically analyze the work and attribute the claimed performance improvements correctly. To this end, we propose two models which outperform IRGAN on two of the three tasks and give a comparable performance on the third. They also serve as an ablation study by experimentally showing that the generator might not be playing a vital role during train or test time.
|
| 20 |
+
|
| 21 |
+
The following contributions are made in this work • We propose a model motivated by Co-training which outperforms IRGANs • We point out inaccuracies in the minimax loss function used in IRGANs • We substantiate the same by drawing conclusions from the loss curves
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
# 2.1 GENERATIVE ADVERSARIAL NETWORKS
|
| 26 |
+
|
| 27 |
+
Generative Adversarial Networks (GANs) (Goodfellow et al. (2014)) were proposed as an alternative to generative models (Salakhutdinov & Larochelle (2010)) which used Markov Chains or other approximations to compute intractable probability distributions. In essence, the generator tries to model the real data distribution and the discriminator learns to differentiate between real data points and generated data points. GANs are notoriously unstable to train and works like DCGANs (Radford et al. (2015)) and Wasserstein GAN (Arjovsky et al. (2017)) have successfully attempted to alleviate a few issues. Nonetheless, GANs have been widely applied to various problems like image generation, text generation, cross-modal retrieval and more niche ones like Interactive Image Generation (Zhu et al. (2016)), Text to Image (Zhang et al. (2017)), Image to Image style transfer (Isola et al. (2017)) and robotics (Bousmalis et al. (2017)).
|
| 28 |
+
|
| 29 |
+
While GANs allow generation based on a random variable $z$ , Conditional GANs (Mirza & Osindero (2014)) partition the sample variable into two parts ( $z$ and $y$ ). $y$ is used to denote which part of the probability distribution the generator has to generate from, and $z$ plays the same role played in Vanilla GANs (Goodfellow et al. (2014)). Conditional GANs dovetail with IR because $y$ can be used to represent the query or its embedding, and in theory, the model should be able to generate the required document.
|
| 30 |
+
|
| 31 |
+
$$
|
| 32 |
+
y \sim q u e r y \qquad G ( z | y ) \sim p _ { \theta } ( d | z , q )
|
| 33 |
+
$$
|
| 34 |
+
|
| 35 |
+
We feel that an eventual adversarial formulation for IR will be similar to this in flavor.
|
| 36 |
+
|
| 37 |
+
# 2.2 RETRIEVAL OF IMAGE RESPONSES
|
| 38 |
+
|
| 39 |
+
Creswell & Bharath (2016) employed Sketch-GANs for the interesting task of retrieving similar merchant seals (images) based on an input image. DCGANs (Radford et al. (2015)) are used to generate an image, and post training, the last layer of the discriminator is popped off and the rest of it is used as an encoder. This model, however, is specifically for retrieving image responses.
|
| 40 |
+
|
| 41 |
+
# 3 BACKGROUND
|
| 42 |
+
|
| 43 |
+
In the subsequent sections, $D$ denotes the discriminator, $G$ the generator, $p _ { t r u e }$ the real probability distribution over documents, $\phi$ the parameters of the discriminator, $\theta$ the parameters of the generator, $d$ the document, $q$ the query and $r$ the rank of a document with respect to a query.
|
| 44 |
+
|
| 45 |
+
The equations used to train the discriminator and generator in Goodfellow et al. (2014) are the following respectively.
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\begin{array} { r l r } { { \nabla _ { \theta _ { d } } \frac { 1 } { m } \sum _ { i = 1 } ^ { m } [ \log D ( \pmb { x } ^ { ( i ) } ) + \log ( 1 - D ( G ( \pmb { z } ^ { ( i ) } ) ) ) ] } } \\ & { } & { \nabla _ { \theta _ { g } } \frac { 1 } { m } \sum _ { i = 1 } ^ { m } \log ( 1 - D ( G ( \pmb { z } ^ { ( i ) } ) ) ) } \end{array}
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
The discriminator minimizes the likelihood of a “generated” data point and maximizes it for a “real” data point, while the generator tries to generate data points which the discriminator thinks is “real”. The two models are trained alternatively and the procedure culminates in a generator which is able to produce data which looks like the real data.
|
| 52 |
+
|
| 53 |
+
# 4 IRGAN FORMULATION
|
| 54 |
+
|
| 55 |
+
This section elucidates the IRGAN formulation (Wang et al. (2017)). Comments by the authors are in italics (in this section alone), while normal typeface is a paraphrased version of IRGAN. IRGAN is motivated by the combination of two schools of thoughts, the generative retrieval model and the discriminative retrieval model.
|
| 56 |
+
|
| 57 |
+
# 4.1 DISCRIMINATOR AND GENERATOR
|
| 58 |
+
|
| 59 |
+
The generative retrieval model $p _ { \theta } ( d | q , r )$ tries to sample relevant documents from a candidate pool with the aim of cloning the true probability distribution $p _ { t r u e }$ . The discriminative retrieval model $f _ { \phi } ( q , d )$ , which is a binary classifier, tries to discriminate between real and generated pairs $( q , d )$ .
|
| 60 |
+
|
| 61 |
+
Two different loss functions IRGAN-Pointwise and IRGAN-Pairwise are proposed.
|
| 62 |
+
|
| 63 |
+
# 4.2 IRGAN-POINTWISE
|
| 64 |
+
|
| 65 |
+
This is called so because each data point is independently used to train, unlike in IRGAN-Pairwise where pairs of points are used. The dataset is expected to have some cue with respect to how often a document is correctly retrieved for a query, if at all.
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
J ^ { G ^ { * } , D ^ { * } } = \underset { \theta } { \mathrm { m i n } } \underset { \phi } { \mathrm { m a x } } \sum _ { n = 1 } ^ { N } ( E _ { d \sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \log D ( d | q _ { n } ) ) ] + E _ { d \sim p _ { \theta } ( d | q _ { n } , r ) } [ ( \log 1 - D ( d | q _ { n } ) ) ] )
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
Note that the generator $G$ can alternately be written as $p _ { \theta } ( d | q _ { n } , r )$ , which denotes the modeled probability distribution, and $D ( d | q ) = \sigma ( \ ' f _ { \phi } ( d , q ) )$ represents the discriminator’s score.
|
| 72 |
+
|
| 73 |
+
# 4.3 IRGAN-PAIRWISE
|
| 74 |
+
|
| 75 |
+
In some IR problems the training data may not be a set of relevant documents for each query, but rather a set of ordered document pairs $R _ { n } = [ < d _ { i } , d _ { j } > | d _ { i } \succ d _ { j } ]$ , where $d _ { i } \succ d _ { j }$ means that the first document is more relevant for query $q _ { n }$ than the second document. $o$ represents a real pair $< d _ { u } , d _ { v } >$ and $o ^ { \prime }$ represents a generated pair $< d _ { u } ^ { \prime } , d _ { v } ^ { \prime } >$ . The discriminator’s goal in this setting is to discriminate between $o$ and $o ^ { \prime }$ , with $D ( o | q ) = \overset { \vartriangle } { \boldsymbol { \sigma } } ( \bar { f } _ { \phi } ( d _ { u } , q ) - f _ { \phi } ( d _ { v } , q ) )$
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
J ^ { G ^ { * } , D ^ { * } } = \underset { \theta } { \mathrm { m i n } } \underset { \phi } { \mathrm { m a x } } \sum _ { n = 1 } ^ { N } ( E _ { o \sim p _ { t r u c } ( o | q _ { n } ) } [ ( \log D ( o | q _ { n } ) ) ] + E _ { o ^ { \prime } \sim p _ { \theta } ( o ^ { \prime } | q _ { n } ) } [ ( \log 1 - D ( o ^ { \prime } | q _ { n } ) ) ] )
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Note the similarity between this and the previous formula. The problem with this formula is that $D ( o | q )$ is actually supposed to denote the probability that the pair o is from the real data distribution and not the probability that the pair is correctly ranked, as mentioned in the paper.
|
| 82 |
+
|
| 83 |
+
# 4.4 OPTIMIZING THE GENERATOR
|
| 84 |
+
|
| 85 |
+
The generator samples documents from the candidate pool based on its belief (relevance score). This sampling has the downside that the gradients cannot be backpropagated, and policy gradients (Sutton et al. (2000)) have to be used. As an intuition, the documents can be considered as the arms of a contextual multi-arm bandit (Auer et al. (2002), Lu et al. (2010)), and picking an arm can be viewed as analogous to choosing the document as relevant. The policy discovered gives us the relevance of each document and $- \log ( 1 - D ( d | q ) )$ is the reward for picking that action/document $( d )$ . Let $J ^ { \tilde { G } }$ represent the objective function of the generator that it has to maximize. The policy gradient (REINFORCE) can be written as the following.
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\nabla _ { \theta } J ^ { G } ( q _ { n } ) = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \nabla _ { \theta } \log p _ { \theta } ( d _ { k } | q _ { n } , r ) \log ( 1 + e x p ( f _ { \phi } ( d _ { k } , q _ { n } ) ) )
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
# 4.5 BASELINE TERM
|
| 92 |
+
|
| 93 |
+
To reduce the variance in REINFORCE, a standard trick is to use the advantage function instead of just the reward. This does not change the optimal parameters.
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\log ( 1 + e x p ( f _ { \phi } ( d _ { k } , q _ { n } ) ) ) - \mathbb { E } _ { p _ { \theta } ( d _ { k } | q _ { n } ) } [ \log ( 1 + e x p ( f _ { \phi } ( d _ { k } , q _ { n } ) ) ) ]
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Another baseline term that is suggested for each query is $f _ { \phi } ( d _ { + } , q )$ , where $d _ { + }$ represents the positive document. This is legal because the term does not depend on the document (action). This is motivated by the belief of a larger generator score if $f _ { \phi } ( \bar { d _ { + } } , q )$ is large and lower if $f _ { \phi } ( d _ { + } , q )$ is low. This baseline term is used in two of their three tasks and causes the violation of adversarial formulation, as we show in the following section.
|
| 100 |
+
|
| 101 |
+
# 5 INSIGHTS INTO IRGAN MINIMAX LOSS FUNCTION
|
| 102 |
+
|
| 103 |
+
Having shown that the generator can be optimized using REINFORCE, we focus on the loss function and show how the baseline term exacerbates training. We consider Stochastic Gradient Descent updates for ease of illustration. Consider a triple $( q , d _ { r } , d _ { g } )$ , where $d _ { r }$ denotes the correct document according to the true distribution and $d _ { g }$ denotes the generated document. The discriminator’s updates are in the direction of $\nabla J ^ { D }$ , with the following definition.
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
J ^ { D } = \log D ( d _ { r } | q ) + \log ( 1 - D ( d _ { g } | q ) )
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
With the baseline term included, the generator’s updates are in the direction of $\nabla J ^ { G }$ , with the following definition.
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
J ^ { G } = \log ( 1 - D ( d _ { r } | q ) ) + \log D ( d _ { g } | q )
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
Since maximizing $\log ( 1 - z )$ with respect to $z$ is the same as maximizing $- \log z$ , we can write the following equivalent loss functions
|
| 116 |
+
|
| 117 |
+
$$
|
| 118 |
+
J ^ { D } = \log D ( d _ { r } | q ) - \log D ( d _ { g } | q ) \qquad J ^ { G } = - \log D ( d _ { r } | q ) + \log D ( d _ { g } | q )
|
| 119 |
+
$$
|
| 120 |
+
|
| 121 |
+
Note that this substitution is similar in principle to the substitution in Goodfellow et al. (2014), where the motivation is to allow easier flow of gradients. It is apparent that the discriminator and the generator are optimizing directly opposite loss functions and this detrimental to the performance of the models. We provide experimental proof later that the performance improvements shown in IRGAN are mainly because of the discriminator maximizing the likelihood of the real data and not because of the generator.
|
| 122 |
+
|
| 123 |
+
# 6 PROPOSED MODELS
|
| 124 |
+
|
| 125 |
+
We propose two models to compare and critically analyze performance gains facilitated by IRGAN and illustrate them in Figure 1.
|
| 126 |
+
|
| 127 |
+
The first model increases the likelihood of the training data and decreases the likelihood of documents which are not relevant to the query but have a high score according to its own parameters. It maximizes the following, where the sampling for the second term is from a candidate pool with only negative answers (denoted by $p ^ { - } .$ ). Not following this will lead to undesirable updates because sampling positive documents for the second term will result in decreasing the likelihood of real data. $\psi$ denotes the parameters of the only model.
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
J ^ { M o d e l 1 } = \operatorname* { m a x } _ { \psi } \sum _ { n = 1 } ^ { N } ( E _ { d \sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \log D ( d | q _ { n } ) ) ] + E _ { d \sim p _ { \psi } ^ { - } ( d | q _ { n } , r ) } [ ( \log 1 - D ( d | q _ { n } ) ) ] )
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 1: Models
|
| 135 |
+
|
| 136 |
+
To alleviate the pernicious loss function of IRGAN, we propose a model which uses two discriminators in a co-operative setup influenced by Co-training (Blum & Mitchell (1998)). Instead of using two different views $( x _ { 1 } , x _ { 2 } )$ as mentioned in the work, we use the same views for both the discriminators but let them influence each other in a feedback loop. Training is similar to Model 1 with the only difference being that each discriminator decreases the likelihood of documents relevant to the other discriminator rather than itself, as shown in the equation below. This model achieves better performance than IRGAN.
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\begin{array} { r l } & { J ^ { M o d e l 1 } = \displaystyle \operatorname* { m a x } _ { \psi _ { 1 } } \sum _ { n = 1 } ^ { N } ( E _ { d \sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \log D ( d | q _ { n } ) ) ] + E _ { d \sim p _ { \psi _ { 2 } } ^ { - } ( d | q _ { n } , r ) } [ ( \log 1 - D ( d | q _ { n } ) ) ] ) } \\ & { \displaystyle } \\ & { J ^ { M o d e l 2 } = \displaystyle \operatorname* { m a x } _ { \psi _ { 2 } } \sum _ { n = 1 } ^ { N } ( E _ { d \sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \log D ( d | q _ { n } ) ) ] + E _ { d \sim p _ { \psi _ { 1 } } ^ { - } ( d | q _ { n } , r ) } [ ( \log 1 - D ( d | q _ { n } ) ) ] ) } \end{array}
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
# 7 EXPERIMENTAL SETUP
|
| 143 |
+
|
| 144 |
+
This section describes the datasets, the task and hyperparameters.
|
| 145 |
+
|
| 146 |
+
# 7.1 DATASETS
|
| 147 |
+
|
| 148 |
+
We conduct experiments on three tasks, Web Search, Item Recommendation and Question Answering, using the same datasets mentioned in IRGAN.
|
| 149 |
+
|
| 150 |
+
Table 1: Datasets
|
| 151 |
+
|
| 152 |
+
<table><tr><td>Task</td><td>Dataset</td></tr><tr><td>WebSearch</td><td>LETOR by Liu et al. (2007)</td></tr><tr><td>Item-Recommendation</td><td>Movielens</td></tr><tr><td>Question Answering</td><td>InsuranceQA by Feng et al. (2015)</td></tr></table>
|
| 153 |
+
|
| 154 |
+
# 7.2 TASK
|
| 155 |
+
|
| 156 |
+
In Web Search, the task is to retrieve the document which is most relevant to the query. Each query on average has around 5 positive documents. In Content Recommendation, users give ratings for movies and given a user, the task is to retrieve a movie that they would probably rate high. In IRGAN, any movie retrieved for which the user rating is greater than or equal to 4 (out of a scale of 5) is considered correct. Based on the dataset statistics, around $5 5 \%$ of the user-movie ratings are $\geq 5$ . This makes the problem easy to solve. In Question Answering, every query has just one relevant document in most cases. This is thus the hardest task.
|
| 157 |
+
|
| 158 |
+
# 7.3 HYPERPARAMETERS
|
| 159 |
+
|
| 160 |
+
The hyperparameters for the proposed model are the same except for absence of G Epochs, for obvious reasons. Information about hyperparameter tuning is mentioned in the Appendix.
|
| 161 |
+
|
| 162 |
+
Table 2: Hyperparameters for IRGAN
|
| 163 |
+
|
| 164 |
+
<table><tr><td>Hyperparameter</td><td>Description</td></tr><tr><td>Learning Rate</td><td>Forboth generator and discriminator</td></tr><tr><td>Batch Size</td><td>Batch size for training</td></tr><tr><td>Embed Dim</td><td>Embedding dimension of query or document</td></tr><tr><td>Epochs</td><td>Number of epochs of training</td></tr><tr><td>DEpochs</td><td>Number of epochs the discriminator is trained per epoch</td></tr><tr><td>G_Epochs Temperature</td><td>Number of epochs the generator is trained per epoch Temperature parameter for softmax sampling of documents</td></tr></table>
|
| 165 |
+
|
| 166 |
+
# 8 EXPERIMENTS AND DISCUSSION
|
| 167 |
+
|
| 168 |
+
We report only the $\mathrm { P @ 5 }$ and ${ \mathrm { N D C G } } @ 5$ values because all other metrics follow the same trend.
|
| 169 |
+
|
| 170 |
+
# 8.1 WEB SEARCH
|
| 171 |
+
|
| 172 |
+
Table 3 reports the performance of various models. As can be seen, both the Single Discriminator and the Co-training models outperform IRGAN models. The fact that each query is associated approximately with 5 positive documents provides evidence that the proposed models can perform well in sparse reward settings.
|
| 173 |
+
|
| 174 |
+
Table 3: Results on LETOR dataset used in IRGAN
|
| 175 |
+
|
| 176 |
+
<table><tr><td>Model</td><td>P@5</td><td>NDCG@5</td></tr><tr><td>RankNet (Burges et al. (2005))</td><td>0.1219</td><td>0.1709</td></tr><tr><td>LambdaRank (Burges et al. (2007))</td><td>0.1352</td><td>0.1920</td></tr><tr><td>IRGAN-pointwise</td><td>0.1657</td><td>0.2225</td></tr><tr><td>IRGAN-pairwise</td><td>0.1676</td><td>0.2154</td></tr><tr><td>Single Discriminator</td><td>0.1676</td><td>0.2190</td></tr><tr><td>Co-training</td><td>0.1733</td><td>0.2252</td></tr></table>
|
| 177 |
+
|
| 178 |
+
# 8.2 ITEM-RECOMMENDATION
|
| 179 |
+
|
| 180 |
+
This task, in contrast to the other two, has multiple relevant documents that can be retrieved for each query, making it slightly easier. Each user (query) rates a movie (document), and $5 5 \%$ of the entries in the train set and $5 6 \%$ in the test set are relevant pairs. It can be seen in Table 4 that the single discriminator model achieves only a slightly lower score, and given the small size of the dataset (943 users), it makes just 7 more mistakes when compared to IRGAN. This is not a statistically significant number, especially because the IRGAN generator is pre-initialized to a model which scores 0.34 but our model learns from scratch.
|
| 181 |
+
|
| 182 |
+
# 8.3 QUESTION ANSWERING
|
| 183 |
+
|
| 184 |
+
After close correspondence with the authors of IRGAN, we obtained all the hyperparameters required for the models. Multiple random seeds were used in vain, the results in the paper for Question-Answering tasks could not be replicated. We instead mention the best results out of all random seeds. We believe that if there is some random seed which gives better performance for IRGAN, it should do so for our model as well. The co-training model outperforms IRGAN-Pairwise.
|
| 185 |
+
|
| 186 |
+
Table 4: Results on Movielens Dataset
|
| 187 |
+
|
| 188 |
+
<table><tr><td>Model</td><td>P@5</td><td>NDCG@5</td></tr><tr><td>BPR (Rendle et al. (2009))</td><td>0.3044</td><td>0.3245</td></tr><tr><td>LambdaFM (Yuan et al. (2016))</td><td>0.3474</td><td>0.3749</td></tr><tr><td>IRGAN-pointwise</td><td>0.3750</td><td>0.4099</td></tr><tr><td>Single Discriminator</td><td>0.3675</td><td>0.3925</td></tr><tr><td>Co-training</td><td>0.345</td><td>0.373</td></tr></table>
|
| 189 |
+
|
| 190 |
+
Table 5: $\mathrm { P @ 1 }$ on InsuranceQA
|
| 191 |
+
|
| 192 |
+
<table><tr><td>Model</td><td>P@1</td></tr><tr><td>IRGAN-Pairwise Single Discriminator Co-training</td><td>0.616 0.614 0.623</td></tr></table>
|
| 193 |
+
|
| 194 |
+
# 8.4 LOSS CURVES
|
| 195 |
+
|
| 196 |
+

|
| 197 |
+
Figure 2: Performance curves
|
| 198 |
+
|
| 199 |
+
The loss curves in Figure 2 picked from IRGAN’s work show deteriorating performance of the generator, which is in contrast to what is observed in actual adversarial training. In the minimax setting, since the generator is expected to capture the real data distribution, its performance is supposed to improve and this can indirectly be seen in GANs and DCGANs where the samples generated look more and more like real-world data points. Further, a deteriorating generator implies that the discriminator’s improvement in performance is only because of the first term of $J ^ { D }$ , which hints that our proposed models might be able to do better than IRGAN. The reason offered in the paper is that “A worse generator could be the result of the sparsity of document distribution, i.e., each question usually has only one correct answer”. But this reason does not seem plausible, given that DCGANs have been able to model very high dimensional data, where the probability distribution is only a tiny part of the real space.
|
| 200 |
+
|
| 201 |
+
Further, the increase in performance of the discriminator in all cases is coupled with a deteriorating generator. This substantiates our claim that the discriminator and the generator are optimizing directly opposite loss functions.
|
| 202 |
+
|
| 203 |
+
Item-recommendation task is a little different from the other two tasks at hand because of a large number of positive answers. When the loss curves are plotted, though the generator’s performance improves, the discriminator’s loss remains high and almost constant throughout the procedure, as shown in Figure 3. This is another indication that the performance of IRGAN is not actually because of the adversarial setup, but because of the maximization of the likelihood of the real data.
|
| 204 |
+
|
| 205 |
+
# 9 CONNECTIONS TO PREVIOUS WORK
|
| 206 |
+
|
| 207 |
+
We have already shown in Section 2 that Conditional GANs are connected directly to Information Retrieval. The problem can also be viewed as a contextual multi-armed bandit problem (Li et al.
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
Figure 3: Discriminator Loss for Content-Recommendation
|
| 211 |
+
|
| 212 |
+
(2010)), where each documents is an arm and the context $x _ { q , d }$ can be used to determine the actionvalue function $f _ { \theta } ( x _ { q , d } )$ . In previous works (Li et al. (2010)) $f$ has been considered to be linear, but recent studies Collier & Llorens (2018) have modeled them as deep neural networks.
|
| 213 |
+
|
| 214 |
+
In Pfau & Vinyals (2016), a parallel is drawn between Actor-Critic algorithms (Konda & Tsitsiklis (2000)) and GANs. This is directly related to our work because REINFORCE (Sutton et al. (2000)) with a baseline can be connected to Actor-Critic algorithms when bootstrapping is used (Sutton & Barto (2018)). The work shows a restricted scenario which involves a stateless MDP, each action setting all the pixels of the image and cross-entropy loss instead of mean-squared Bellmann residual in which GANs are equivalent to Actor-Critic algorithms. But this equivalence holds only when the baseline term is not used so the formulation in IRGAN is not exactly equivalent to a GAN framework. Another study (Finn et al. (2016)) draws a parallel between Inverse Reinforcement Learning $\mathrm { N g }$ et al. (2000)) and GANs because both the methods try to “learn” the cost function to optimize for.
|
| 215 |
+
|
| 216 |
+
# 10 CONCLUSION AND FUTURE WORK
|
| 217 |
+
|
| 218 |
+
The experiments performed show that IRGAN is by no means state-of-the-art on those datasets. Further, the performance does not justify the large training time of 4 hours per generator epoch and 1 hour of discriminator epoch as opposed to 2 hours per epoch of the co-training model (11 GB GPU and Question Answering task). The shaky mathematical formulation renders the generator useless after training, and any gains in performance can be attributed directly to the first term of $J ^ { D }$ , where the likelihood of the real data is increased. We showed that the discriminator and generator are optimizing directly opposite loss functions and this is the cause of deleterious training.
|
| 219 |
+
|
| 220 |
+
The poor performance of IRGAN on Web-Search and Question Answering and only a satisfactory performance on Content-Recommendation (which has dense rewards) lead us to speculate that it does not work well in sparse reward scenarios. This is similar to a well-known problem called the Sparse Reward Reinforcement Learning. We think that a correct formulation along with established techniques from the former, like reward shaping $\mathrm { N g }$ et al. (1999)) may lead to better performance. Newer methods like Hindsight Experience Replay (Andrychowicz et al. (2017)) which allow models to learn both from mistakes and rewards may further ameliorate learning.
|
| 221 |
+
|
| 222 |
+
We would also like to explore in the direction of learning correct adversarial frameworks for more complex tasks like Image Retrieval and Question Answering which will involve learning end-toend trainable models. With advances in modeling sequences, this could also involve generation of documents rather than sampling them.
|
| 223 |
+
|
| 224 |
+
# REFERENCES
|
| 225 |
+
|
| 226 |
+
Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems, pp. 5048–5058, 2017.
|
| 227 |
+
|
| 228 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017.
|
| 229 |
+
|
| 230 |
+
Peter Auer, Nicolo Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2-3):235–256, 2002.
|
| 231 |
+
|
| 232 |
+
Avrim Blum and Tom Mitchell. Combining labeled and unlabeled data with co-training. In Proceedings of the eleventh annual conference on Computational learning theory, pp. 92–100. ACM, 1998.
|
| 233 |
+
|
| 234 |
+
Konstantinos Bousmalis, Nathan Silberman, David Dohan, Dumitru Erhan, and Dilip Krishnan. Unsupervised pixel-level domain adaptation with generative adversarial networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), volume 1, pp. 7, 2017.
|
| 235 |
+
|
| 236 |
+
Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pp. 89–96. ACM, 2005.
|
| 237 |
+
|
| 238 |
+
Christopher J Burges, Robert Ragno, and Quoc V Le. Learning to rank with nonsmooth cost functions. In Advances in neural information processing systems, pp. 193–200, 2007.
|
| 239 |
+
|
| 240 |
+
Mark Collier and Hector Urdiales Llorens. Deep contextual multi-armed bandits. arXiv preprint arXiv:1807.09809, 2018.
|
| 241 |
+
|
| 242 |
+
Antonia Creswell and Anil Anthony Bharath. Adversarial training for sketch retrieval. In European Conference on Computer Vision, pp. 798–809. Springer, 2016.
|
| 243 |
+
|
| 244 |
+
Minwei Feng, Bing Xiang, Michael R Glass, Lidan Wang, and Bowen Zhou. Applying deep learning to answer selection: A study and an open task. arXiv preprint arXiv:1508.01585, 2015.
|
| 245 |
+
|
| 246 |
+
Chelsea Finn, Paul Christiano, Pieter Abbeel, and Sergey Levine. A connection between generative adversarial networks, inverse reinforcement learning, and energy-based models. arXiv preprint arXiv:1611.03852, 2016.
|
| 247 |
+
|
| 248 |
+
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, pp. 2672–2680, 2014.
|
| 249 |
+
|
| 250 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. arXiv preprint, 2017.
|
| 251 |
+
|
| 252 |
+
Vijay R Konda and John N Tsitsiklis. Actor-critic algorithms. In Advances in neural information processing systems, pp. 1008–1014, 2000.
|
| 253 |
+
|
| 254 |
+
Lihong Li, Wei Chu, John Langford, and Robert E Schapire. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th international conference on World wide web, pp. 661–670. ACM, 2010.
|
| 255 |
+
|
| 256 |
+
Tie-Yan Liu, Jun Xu, Tao Qin, Wenying Xiong, and Hang Li. Letor: Benchmark dataset for research on learning to rank for information retrieval. In Proceedings of SIGIR 2007 workshop on learning to rank for information retrieval, volume 310. ACM Amsterdam, The Netherlands, 2007.
|
| 257 |
+
|
| 258 |
+
Tyler Lu, David P ´ al, and Martin P ´ al. Contextual multi-armed bandits. In ´ Proceedings of the Thirteenth international conference on Artificial Intelligence and Statistics, pp. 485–492, 2010.
|
| 259 |
+
|
| 260 |
+
Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014.
|
| 261 |
+
|
| 262 |
+
Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In ICML, volume 99, pp. 278–287, 1999.
|
| 263 |
+
|
| 264 |
+
Andrew Y Ng, Stuart J Russell, et al. Algorithms for inverse reinforcement learning. In Icml, pp. 663–670, 2000.
|
| 265 |
+
|
| 266 |
+
David Pfau and Oriol Vinyals. Connecting generative adversarial networks and actor-critic methods. arXiv preprint arXiv:1610.01945, 2016.
|
| 267 |
+
|
| 268 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
|
| 269 |
+
|
| 270 |
+
Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. Bpr: Bayesian personalized ranking from implicit feedback. In Proceedings of the twenty-fifth conference on uncertainty in artificial intelligence, pp. 452–461. AUAI Press, 2009.
|
| 271 |
+
|
| 272 |
+
Ruslan Salakhutdinov and Hugo Larochelle. Efficient learning of deep boltzmann machines. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 693–700, 2010.
|
| 273 |
+
|
| 274 |
+
Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
|
| 275 |
+
|
| 276 |
+
Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in neural information processing systems, pp. 1057–1063, 2000.
|
| 277 |
+
|
| 278 |
+
Jun Wang, Lantao Yu, Weinan Zhang, Yu Gong, Yinghui Xu, Benyou Wang, Peng Zhang, and Dell Zhang. Irgan: A minimax game for unifying generative and discriminative information retrieval models. In Proceedings of the 40th International ACM SIGIR conference on Research and Development in Information Retrieval, pp. 515–524. ACM, 2017.
|
| 279 |
+
|
| 280 |
+
Fajie Yuan, Guibing Guo, Joemon M Jose, Long Chen, Haitao Yu, and Weinan Zhang. Lambdafm: learning optimal ranking with factorization machines using lambda surrogates. In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, pp. 227–236. ACM, 2016.
|
| 281 |
+
|
| 282 |
+
Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaolei Huang, Xiaogang Wang, and Dimitris Metaxas. Stackgan: Text to photo-realistic image synthesis with stacked generative adversarial networks. arXiv preprint, 2017.
|
| 283 |
+
|
| 284 |
+
Jun-Yan Zhu, Philipp Krahenb ¨ uhl, Eli Shechtman, and Alexei A Efros. Generative visual manipu- ¨ lation on the natural image manifold. In European Conference on Computer Vision, pp. 597–613. Springer, 2016.
|
| 285 |
+
|
| 286 |
+
# APPENDIX A HYPERPARAMETERS
|
| 287 |
+
|
| 288 |
+
The hyperparameters are mentioned in tables 6, 7, 8, 9 and 10. The following were the ranges of hyperparameter tuning, along with the best value. Gradient Descent Optimizer was used so that the comparison with IRGAN is fair.
|
| 289 |
+
|
| 290 |
+
Table 6: Single Discriminator for Web-Search
|
| 291 |
+
|
| 292 |
+
<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.002-0.2</td><td>0.004</td></tr><tr><td>Batch Size</td><td>[8,16,32]</td><td>8</td></tr><tr><td>Feature Size</td><td>[46,92]</td><td>46</td></tr><tr><td>Random Seed</td><td>[20,40,60]</td><td>40</td></tr></table>
|
| 293 |
+
|
| 294 |
+
For the co-training model, for every epoch, we optimize the two discriminators several times. We call these the outer and inner epochs in Table 7.
|
| 295 |
+
|
| 296 |
+
Table 7: Co-training for Web-Search
|
| 297 |
+
|
| 298 |
+
<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate Outer Epochs Inner Epochs Batch Size Feature Size Random Seed</td><td>0.002-0.2 [30,50] [30,50] [8,16,32] [46,92]</td><td>0.006 50 30 8 46</td></tr></table>
|
| 299 |
+
|
| 300 |
+
DNS K in Table 8 represents the number of candidates that are chosen before performing the softmax. This is done to make the procedure computationally tractable. We use the value suggested in IRGAN.
|
| 301 |
+
|
| 302 |
+
Table 8: Single Discriminator for Content Recommendation
|
| 303 |
+
|
| 304 |
+
<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.01-0.05</td><td>0.02</td></tr><tr><td rowspan="3">Batch Size Embedding Dimension Random Seed</td><td>10</td><td>10</td></tr><tr><td>[20,40,60]</td><td>20</td></tr><tr><td>70</td><td>70</td></tr><tr><td>DNS_K</td><td>5</td><td>5</td></tr></table>
|
| 305 |
+
|
| 306 |
+
# APPENDIX B DESCRIPTION OF MODELS
|
| 307 |
+
|
| 308 |
+
The discriminator and the generator have the same architecture in all the tasks. For the Web-retrieval task, the model has a single hidden layer 46 units.
|
| 309 |
+
|
| 310 |
+
For the content-recommendation task, the model converts users and movies to a 5 dimensional embedding. This can be though to be a single hidden layer which compresses a one-hot user embedding to a 5 dimensional embedding.
|
| 311 |
+
|
| 312 |
+
For the Question-Answering task, each word is initialized to a 100 dimensional random vector. A Convolutional Neural Network is then used and the window size of the convolutional kernel is (1,2,3,5). A max-pooling-over-time strategy is then used and the output is a 100 dimensional vector because each feature map is pooled to a scalar. Note that this architecture is the same as the one used in the IRGAN paper. We refer the user to that for further description.
|
| 313 |
+
|
| 314 |
+
Table 9: Single Discriminator for Question Answering
|
| 315 |
+
|
| 316 |
+
<table><tr><td>Hyperparameter</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.05</td></tr><tr><td>Epochs</td><td>20</td></tr><tr><td>Batch Size</td><td>100</td></tr><tr><td>Embedding Dimension</td><td>100</td></tr></table>
|
| 317 |
+
|
| 318 |
+
Table 10: Co-training for Question Answering
|
| 319 |
+
|
| 320 |
+
<table><tr><td>Hyperparameter</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.05</td></tr><tr><td>Outer Epochs</td><td>20</td></tr><tr><td>Inner Epochs</td><td>1</td></tr><tr><td>Batch Size</td><td>100</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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 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Recent advances in Generative Adversarial Networks facilitated by improvements to the framework and successful application to various problems has resulted in extensions to multiple domains. IRGAN attempts to leverage the framework for Information-Retrieval (IR), a task that can be described as modeling the correct conditional probability distribution $p ( d | q )$ over the documents $( d )$ , given the query $( q )$ . The work that proposes IRGAN claims that optimizing their minimax loss function will result in a generator which can learn the distribution, but their setup and baseline term steer the model away from an exact adversarial formulation, and this work attempts to point out certain inaccuracies in their formulation. Analyzing their loss curves gives insight into possible mistakes in the loss functions and better performance can be obtained by using the co-training like setup we propose, where two models are trained in a co-operative rather than an adversarial fashion. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
463,
|
| 55 |
+
336,
|
| 56 |
+
479
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Information-Retrieval (IR) involves providing a list of ranked documents $\\{ d _ { 1 } , d _ { 2 } , \\dots , d _ { k } \\}$ in answer to a query $q$ . This general formulation can be extended to various tasks like web-search, where the documents are web pages and information needs are queries, content-recommendation, where the documents are items/content to suggest and queries are users, and Question-Answering, where the documents are answers and queries are questions. The retrieved list can also be viewed as a probability distribution over candidates, one example being $\\begin{array} { r } { R a n k _ { q } ( d _ { i } ) \\equiv p ( d _ { i } | q ) \\propto ( \\frac { 1 } { R a n k _ { q } ( d _ { i } ) } ) ^ { l } } \\end{array}$ where $l$ is a hyperparameter. Even if the probability distribution is not explicit, it is desirable to retrieve a higher ranked document more often than a lower ranked document. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
496,
|
| 66 |
+
825,
|
| 67 |
+
609
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "GANs were proposed as alternatives to generative models and have been shown to be capable of modeling the true data well. High dimensional settings like images and word sequences have seen some success. Given that the generator in GANs tries to model the training data’s distribution, adversarial setups seem like a natural fit for IR. The learned distribution can then be used to retrieve relevant documents for incoming queries. IRGAN is a framework proposed by Wang et al. (2017), with the hope of giving Information-Retrieval, access to the large literature of GANs. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
617,
|
| 77 |
+
825,
|
| 78 |
+
700
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "IRGAN consists of a discriminator and a generator. Like in a typical setup, the discriminator learns to distinguish between documents produces by the real probability distribution or the real ranking and the generator’s probability distribution. It increases the likelihood of the former and decreases it for the latter. The generator tries to bring its probability distribution closer to the real one so that it increases the likelihood of confusing the discriminator into believing that it is the true distribution. Ideally, equilibrium is achieved when the generator manages to rank the documents according to the true distribution. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
708,
|
| 88 |
+
825,
|
| 89 |
+
805
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "However, the formulation and implementation of the loss function in the work seems to have a few issues. Specifically, the use of the baseline term recommended in the work results in pitting the loss functions of the discriminator and the generator directly against each other and this leads to issues that are conspicuous in the loss curves. The training starts off with a pre-trained discriminator and generator, and the performance of the generator decreases as the training proceeds, while you would actually expect the opposite. When pre-training is not used, the generator does not learn at all. This forces IRGAN to choose the generator or discriminator based on whichever has better performance, while it expected that the generator is chosen at equilibrium. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
811,
|
| 99 |
+
825,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Given the traction this paper has received since its inception (53 citations as of $2 7 ^ { t h }$ September 2018), it is important to critically analyze the work and attribute the claimed performance improvements correctly. To this end, we propose two models which outperform IRGAN on two of the three tasks and give a comparable performance on the third. They also serve as an ablation study by experimentally showing that the generator might not be playing a vital role during train or test time. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
823,
|
| 111 |
+
174
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "The following contributions are made in this work • We propose a model motivated by Co-training which outperforms IRGANs • We point out inaccuracies in the minimax loss function used in IRGANs • We substantiate the same by drawing conclusions from the loss curves ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
180,
|
| 121 |
+
504,
|
| 122 |
+
195
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
215,
|
| 131 |
+
205,
|
| 132 |
+
725,
|
| 133 |
+
257
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 RELATED WORK ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
276,
|
| 144 |
+
344,
|
| 145 |
+
292
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "2.1 GENERATIVE ADVERSARIAL NETWORKS ",
|
| 152 |
+
"text_level": 1,
|
| 153 |
+
"bbox": [
|
| 154 |
+
174,
|
| 155 |
+
308,
|
| 156 |
+
500,
|
| 157 |
+
321
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "Generative Adversarial Networks (GANs) (Goodfellow et al. (2014)) were proposed as an alternative to generative models (Salakhutdinov & Larochelle (2010)) which used Markov Chains or other approximations to compute intractable probability distributions. In essence, the generator tries to model the real data distribution and the discriminator learns to differentiate between real data points and generated data points. GANs are notoriously unstable to train and works like DCGANs (Radford et al. (2015)) and Wasserstein GAN (Arjovsky et al. (2017)) have successfully attempted to alleviate a few issues. Nonetheless, GANs have been widely applied to various problems like image generation, text generation, cross-modal retrieval and more niche ones like Interactive Image Generation (Zhu et al. (2016)), Text to Image (Zhang et al. (2017)), Image to Image style transfer (Isola et al. (2017)) and robotics (Bousmalis et al. (2017)). ",
|
| 164 |
+
"bbox": [
|
| 165 |
+
173,
|
| 166 |
+
333,
|
| 167 |
+
825,
|
| 168 |
+
473
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "While GANs allow generation based on a random variable $z$ , Conditional GANs (Mirza & Osindero (2014)) partition the sample variable into two parts ( $z$ and $y$ ). $y$ is used to denote which part of the probability distribution the generator has to generate from, and $z$ plays the same role played in Vanilla GANs (Goodfellow et al. (2014)). Conditional GANs dovetail with IR because $y$ can be used to represent the query or its embedding, and in theory, the model should be able to generate the required document. ",
|
| 175 |
+
"bbox": [
|
| 176 |
+
173,
|
| 177 |
+
479,
|
| 178 |
+
825,
|
| 179 |
+
563
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "equation",
|
| 185 |
+
"img_path": "images/9a97be1c0f0e344a3ba3c85c727c92b24c26a9af1e7c6d45e829df950a7abe05.jpg",
|
| 186 |
+
"text": "$$\ny \\sim q u e r y \\qquad G ( z | y ) \\sim p _ { \\theta } ( d | z , q )\n$$",
|
| 187 |
+
"text_format": "latex",
|
| 188 |
+
"bbox": [
|
| 189 |
+
377,
|
| 190 |
+
560,
|
| 191 |
+
619,
|
| 192 |
+
579
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "We feel that an eventual adversarial formulation for IR will be similar to this in flavor. ",
|
| 199 |
+
"bbox": [
|
| 200 |
+
173,
|
| 201 |
+
587,
|
| 202 |
+
735,
|
| 203 |
+
602
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "2.2 RETRIEVAL OF IMAGE RESPONSES ",
|
| 210 |
+
"text_level": 1,
|
| 211 |
+
"bbox": [
|
| 212 |
+
176,
|
| 213 |
+
618,
|
| 214 |
+
455,
|
| 215 |
+
633
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Creswell & Bharath (2016) employed Sketch-GANs for the interesting task of retrieving similar merchant seals (images) based on an input image. DCGANs (Radford et al. (2015)) are used to generate an image, and post training, the last layer of the discriminator is popped off and the rest of it is used as an encoder. This model, however, is specifically for retrieving image responses. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
643,
|
| 225 |
+
825,
|
| 226 |
+
700
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "3 BACKGROUND ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
720,
|
| 237 |
+
326,
|
| 238 |
+
736
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "In the subsequent sections, $D$ denotes the discriminator, $G$ the generator, $p _ { t r u e }$ the real probability distribution over documents, $\\phi$ the parameters of the discriminator, $\\theta$ the parameters of the generator, $d$ the document, $q$ the query and $r$ the rank of a document with respect to a query. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
751,
|
| 248 |
+
825,
|
| 249 |
+
794
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 1
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "The equations used to train the discriminator and generator in Goodfellow et al. (2014) are the following respectively. ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
173,
|
| 258 |
+
800,
|
| 259 |
+
823,
|
| 260 |
+
829
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 1
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "equation",
|
| 266 |
+
"img_path": "images/44213bdfce8483287d68b89de4e3428b32e10fd92d67bf0cfc90c8558e02865a.jpg",
|
| 267 |
+
"text": "$$\n\\begin{array} { r l r } { { \\nabla _ { \\theta _ { d } } \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } [ \\log D ( \\pmb { x } ^ { ( i ) } ) + \\log ( 1 - D ( G ( \\pmb { z } ^ { ( i ) } ) ) ) ] } } \\\\ & { } & { \\nabla _ { \\theta _ { g } } \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } \\log ( 1 - D ( G ( \\pmb { z } ^ { ( i ) } ) ) ) } \\end{array}\n$$",
|
| 268 |
+
"text_format": "latex",
|
| 269 |
+
"bbox": [
|
| 270 |
+
313,
|
| 271 |
+
845,
|
| 272 |
+
683,
|
| 273 |
+
930
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 1
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "The discriminator minimizes the likelihood of a “generated” data point and maximizes it for a “real” data point, while the generator tries to generate data points which the discriminator thinks is “real”. The two models are trained alternatively and the procedure culminates in a generator which is able to produce data which looks like the real data. ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
174,
|
| 282 |
+
103,
|
| 283 |
+
825,
|
| 284 |
+
160
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "4 IRGAN FORMULATION ",
|
| 291 |
+
"text_level": 1,
|
| 292 |
+
"bbox": [
|
| 293 |
+
176,
|
| 294 |
+
179,
|
| 295 |
+
403,
|
| 296 |
+
196
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "This section elucidates the IRGAN formulation (Wang et al. (2017)). Comments by the authors are in italics (in this section alone), while normal typeface is a paraphrased version of IRGAN. IRGAN is motivated by the combination of two schools of thoughts, the generative retrieval model and the discriminative retrieval model. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
174,
|
| 305 |
+
210,
|
| 306 |
+
825,
|
| 307 |
+
267
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "4.1 DISCRIMINATOR AND GENERATOR ",
|
| 314 |
+
"text_level": 1,
|
| 315 |
+
"bbox": [
|
| 316 |
+
176,
|
| 317 |
+
284,
|
| 318 |
+
454,
|
| 319 |
+
299
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "The generative retrieval model $p _ { \\theta } ( d | q , r )$ tries to sample relevant documents from a candidate pool with the aim of cloning the true probability distribution $p _ { t r u e }$ . The discriminative retrieval model $f _ { \\phi } ( q , d )$ , which is a binary classifier, tries to discriminate between real and generated pairs $( q , d )$ . ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
174,
|
| 328 |
+
310,
|
| 329 |
+
825,
|
| 330 |
+
353
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Two different loss functions IRGAN-Pointwise and IRGAN-Pairwise are proposed. ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
358,
|
| 340 |
+
718,
|
| 341 |
+
375
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "4.2 IRGAN-POINTWISE ",
|
| 348 |
+
"text_level": 1,
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
390,
|
| 352 |
+
356,
|
| 353 |
+
405
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 2
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "This is called so because each data point is independently used to train, unlike in IRGAN-Pairwise where pairs of points are used. The dataset is expected to have some cue with respect to how often a document is correctly retrieved for a query, if at all. ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
174,
|
| 362 |
+
416,
|
| 363 |
+
825,
|
| 364 |
+
459
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 2
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "equation",
|
| 370 |
+
"img_path": "images/166a8ee4d133a85674ec16a7d7ee3a149ab24f15e65a962dec9f0b44dc4f9467.jpg",
|
| 371 |
+
"text": "$$\nJ ^ { G ^ { * } , D ^ { * } } = \\underset { \\theta } { \\mathrm { m i n } } \\underset { \\phi } { \\mathrm { m a x } } \\sum _ { n = 1 } ^ { N } ( E _ { d \\sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \\log D ( d | q _ { n } ) ) ] + E _ { d \\sim p _ { \\theta } ( d | q _ { n } , r ) } [ ( \\log 1 - D ( d | q _ { n } ) ) ] )\n$$",
|
| 372 |
+
"text_format": "latex",
|
| 373 |
+
"bbox": [
|
| 374 |
+
187,
|
| 375 |
+
465,
|
| 376 |
+
808,
|
| 377 |
+
508
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "Note that the generator $G$ can alternately be written as $p _ { \\theta } ( d | q _ { n } , r )$ , which denotes the modeled probability distribution, and $D ( d | q ) = \\sigma ( \\ ' f _ { \\phi } ( d , q ) )$ represents the discriminator’s score. ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
173,
|
| 386 |
+
522,
|
| 387 |
+
823,
|
| 388 |
+
551
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 2
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "4.3 IRGAN-PAIRWISE ",
|
| 395 |
+
"text_level": 1,
|
| 396 |
+
"bbox": [
|
| 397 |
+
174,
|
| 398 |
+
568,
|
| 399 |
+
346,
|
| 400 |
+
582
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "In some IR problems the training data may not be a set of relevant documents for each query, but rather a set of ordered document pairs $R _ { n } = [ < d _ { i } , d _ { j } > | d _ { i } \\succ d _ { j } ]$ , where $d _ { i } \\succ d _ { j }$ means that the first document is more relevant for query $q _ { n }$ than the second document. $o$ represents a real pair $< d _ { u } , d _ { v } >$ and $o ^ { \\prime }$ represents a generated pair $< d _ { u } ^ { \\prime } , d _ { v } ^ { \\prime } >$ . The discriminator’s goal in this setting is to discriminate between $o$ and $o ^ { \\prime }$ , with $D ( o | q ) = \\overset { \\vartriangle } { \\boldsymbol { \\sigma } } ( \\bar { f } _ { \\phi } ( d _ { u } , q ) - f _ { \\phi } ( d _ { v } , q ) )$ ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
593,
|
| 410 |
+
825,
|
| 411 |
+
665
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "equation",
|
| 417 |
+
"img_path": "images/d268131de5f91372211ed52026ae4c07b78369f0e040494bb5c6e26819c6a5e5.jpg",
|
| 418 |
+
"text": "$$\nJ ^ { G ^ { * } , D ^ { * } } = \\underset { \\theta } { \\mathrm { m i n } } \\underset { \\phi } { \\mathrm { m a x } } \\sum _ { n = 1 } ^ { N } ( E _ { o \\sim p _ { t r u c } ( o | q _ { n } ) } [ ( \\log D ( o | q _ { n } ) ) ] + E _ { o ^ { \\prime } \\sim p _ { \\theta } ( o ^ { \\prime } | q _ { n } ) } [ ( \\log 1 - D ( o ^ { \\prime } | q _ { n } ) ) ] )\n$$",
|
| 419 |
+
"text_format": "latex",
|
| 420 |
+
"bbox": [
|
| 421 |
+
192,
|
| 422 |
+
671,
|
| 423 |
+
803,
|
| 424 |
+
714
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 2
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Note the similarity between this and the previous formula. The problem with this formula is that $D ( o | q )$ is actually supposed to denote the probability that the pair o is from the real data distribution and not the probability that the pair is correctly ranked, as mentioned in the paper. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
173,
|
| 433 |
+
727,
|
| 434 |
+
821,
|
| 435 |
+
770
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 2
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "4.4 OPTIMIZING THE GENERATOR ",
|
| 442 |
+
"text_level": 1,
|
| 443 |
+
"bbox": [
|
| 444 |
+
176,
|
| 445 |
+
786,
|
| 446 |
+
421,
|
| 447 |
+
800
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 2
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "The generator samples documents from the candidate pool based on its belief (relevance score). This sampling has the downside that the gradients cannot be backpropagated, and policy gradients (Sutton et al. (2000)) have to be used. As an intuition, the documents can be considered as the arms of a contextual multi-arm bandit (Auer et al. (2002), Lu et al. (2010)), and picking an arm can be viewed as analogous to choosing the document as relevant. The policy discovered gives us the relevance of each document and $- \\log ( 1 - D ( d | q ) )$ is the reward for picking that action/document $( d )$ . Let $J ^ { \\tilde { G } }$ represent the objective function of the generator that it has to maximize. The policy gradient (REINFORCE) can be written as the following. ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
173,
|
| 456 |
+
811,
|
| 457 |
+
825,
|
| 458 |
+
924
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 2
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "equation",
|
| 464 |
+
"img_path": "images/53b34b332ce913e4b475d42e533df6dc5b532cf9c644611472c7b04d271caf89.jpg",
|
| 465 |
+
"text": "$$\n\\nabla _ { \\theta } J ^ { G } ( q _ { n } ) = \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\nabla _ { \\theta } \\log p _ { \\theta } ( d _ { k } | q _ { n } , r ) \\log ( 1 + e x p ( f _ { \\phi } ( d _ { k } , q _ { n } ) ) )\n$$",
|
| 466 |
+
"text_format": "latex",
|
| 467 |
+
"bbox": [
|
| 468 |
+
276,
|
| 469 |
+
113,
|
| 470 |
+
722,
|
| 471 |
+
157
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "4.5 BASELINE TERM",
|
| 478 |
+
"text_level": 1,
|
| 479 |
+
"bbox": [
|
| 480 |
+
174,
|
| 481 |
+
171,
|
| 482 |
+
331,
|
| 483 |
+
185
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 3
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "To reduce the variance in REINFORCE, a standard trick is to use the advantage function instead of just the reward. This does not change the optimal parameters. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
196,
|
| 493 |
+
825,
|
| 494 |
+
224
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 3
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "equation",
|
| 500 |
+
"img_path": "images/dc1513fcfaaaa9b5cffb2657f8a4d3bfee09e8dafac861f12cbb8eb0161d1e86.jpg",
|
| 501 |
+
"text": "$$\n\\log ( 1 + e x p ( f _ { \\phi } ( d _ { k } , q _ { n } ) ) ) - \\mathbb { E } _ { p _ { \\theta } ( d _ { k } | q _ { n } ) } [ \\log ( 1 + e x p ( f _ { \\phi } ( d _ { k } , q _ { n } ) ) ) ]\n$$",
|
| 502 |
+
"text_format": "latex",
|
| 503 |
+
"bbox": [
|
| 504 |
+
279,
|
| 505 |
+
228,
|
| 506 |
+
717,
|
| 507 |
+
247
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 3
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "Another baseline term that is suggested for each query is $f _ { \\phi } ( d _ { + } , q )$ , where $d _ { + }$ represents the positive document. This is legal because the term does not depend on the document (action). This is motivated by the belief of a larger generator score if $f _ { \\phi } ( \\bar { d _ { + } } , q )$ is large and lower if $f _ { \\phi } ( d _ { + } , q )$ is low. This baseline term is used in two of their three tasks and causes the violation of adversarial formulation, as we show in the following section. ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
173,
|
| 516 |
+
257,
|
| 517 |
+
825,
|
| 518 |
+
329
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 3
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "5 INSIGHTS INTO IRGAN MINIMAX LOSS FUNCTION ",
|
| 525 |
+
"text_level": 1,
|
| 526 |
+
"bbox": [
|
| 527 |
+
174,
|
| 528 |
+
347,
|
| 529 |
+
633,
|
| 530 |
+
364
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 3
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "Having shown that the generator can be optimized using REINFORCE, we focus on the loss function and show how the baseline term exacerbates training. We consider Stochastic Gradient Descent updates for ease of illustration. Consider a triple $( q , d _ { r } , d _ { g } )$ , where $d _ { r }$ denotes the correct document according to the true distribution and $d _ { g }$ denotes the generated document. The discriminator’s updates are in the direction of $\\nabla J ^ { D }$ , with the following definition. ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
173,
|
| 539 |
+
377,
|
| 540 |
+
825,
|
| 541 |
+
449
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 3
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "equation",
|
| 547 |
+
"img_path": "images/9f1b36d78e0e646da138a5fcb3a103d6bfeaede671622dba461fb84690a1f349.jpg",
|
| 548 |
+
"text": "$$\nJ ^ { D } = \\log D ( d _ { r } | q ) + \\log ( 1 - D ( d _ { g } | q ) )\n$$",
|
| 549 |
+
"text_format": "latex",
|
| 550 |
+
"bbox": [
|
| 551 |
+
367,
|
| 552 |
+
453,
|
| 553 |
+
632,
|
| 554 |
+
472
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 3
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "With the baseline term included, the generator’s updates are in the direction of $\\nabla J ^ { G }$ , with the following definition. ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
169,
|
| 563 |
+
483,
|
| 564 |
+
821,
|
| 565 |
+
511
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 3
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "equation",
|
| 571 |
+
"img_path": "images/9cf7ee5b67bad49b3996cbe3906ccc8847b5bc8d1af38faec03bf8e8f7ed3952.jpg",
|
| 572 |
+
"text": "$$\nJ ^ { G } = \\log ( 1 - D ( d _ { r } | q ) ) + \\log D ( d _ { g } | q )\n$$",
|
| 573 |
+
"text_format": "latex",
|
| 574 |
+
"bbox": [
|
| 575 |
+
367,
|
| 576 |
+
510,
|
| 577 |
+
630,
|
| 578 |
+
529
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 3
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "Since maximizing $\\log ( 1 - z )$ with respect to $z$ is the same as maximizing $- \\log z$ , we can write the following equivalent loss functions ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
173,
|
| 587 |
+
536,
|
| 588 |
+
825,
|
| 589 |
+
565
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 3
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "equation",
|
| 595 |
+
"img_path": "images/fbaf000615f3c276109857e9b7b692270f5d9de0a86b1ce47981cbda61e48207.jpg",
|
| 596 |
+
"text": "$$\nJ ^ { D } = \\log D ( d _ { r } | q ) - \\log D ( d _ { g } | q ) \\qquad J ^ { G } = - \\log D ( d _ { r } | q ) + \\log D ( d _ { g } | q )\n$$",
|
| 597 |
+
"text_format": "latex",
|
| 598 |
+
"bbox": [
|
| 599 |
+
251,
|
| 600 |
+
583,
|
| 601 |
+
746,
|
| 602 |
+
603
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 3
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Note that this substitution is similar in principle to the substitution in Goodfellow et al. (2014), where the motivation is to allow easier flow of gradients. It is apparent that the discriminator and the generator are optimizing directly opposite loss functions and this detrimental to the performance of the models. We provide experimental proof later that the performance improvements shown in IRGAN are mainly because of the discriminator maximizing the likelihood of the real data and not because of the generator. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
173,
|
| 611 |
+
609,
|
| 612 |
+
825,
|
| 613 |
+
694
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 3
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "6 PROPOSED MODELS ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
176,
|
| 623 |
+
713,
|
| 624 |
+
374,
|
| 625 |
+
729
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 3
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "We propose two models to compare and critically analyze performance gains facilitated by IRGAN and illustrate them in Figure 1. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
744,
|
| 635 |
+
823,
|
| 636 |
+
773
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 3
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "The first model increases the likelihood of the training data and decreases the likelihood of documents which are not relevant to the query but have a high score according to its own parameters. It maximizes the following, where the sampling for the second term is from a candidate pool with only negative answers (denoted by $p ^ { - } .$ ). Not following this will lead to undesirable updates because sampling positive documents for the second term will result in decreasing the likelihood of real data. $\\psi$ denotes the parameters of the only model. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
173,
|
| 645 |
+
779,
|
| 646 |
+
825,
|
| 647 |
+
864
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 3
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "equation",
|
| 653 |
+
"img_path": "images/fd7ac91844814373750882eeca99abbb015582ff0357c6d7cbb93b32497a572b.jpg",
|
| 654 |
+
"text": "$$\nJ ^ { M o d e l 1 } = \\operatorname* { m a x } _ { \\psi } \\sum _ { n = 1 } ^ { N } ( E _ { d \\sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \\log D ( d | q _ { n } ) ) ] + E _ { d \\sim p _ { \\psi } ^ { - } ( d | q _ { n } , r ) } [ ( \\log 1 - D ( d | q _ { n } ) ) ] )\n$$",
|
| 655 |
+
"text_format": "latex",
|
| 656 |
+
"bbox": [
|
| 657 |
+
199,
|
| 658 |
+
885,
|
| 659 |
+
799,
|
| 660 |
+
928
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 3
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "image",
|
| 666 |
+
"img_path": "images/90d72faff9848714db0f8a16698b2246a2947c87938645c125df29a2315c4b90.jpg",
|
| 667 |
+
"image_caption": [
|
| 668 |
+
"Figure 1: Models "
|
| 669 |
+
],
|
| 670 |
+
"image_footnote": [],
|
| 671 |
+
"bbox": [
|
| 672 |
+
189,
|
| 673 |
+
108,
|
| 674 |
+
820,
|
| 675 |
+
263
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 4
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "To alleviate the pernicious loss function of IRGAN, we propose a model which uses two discriminators in a co-operative setup influenced by Co-training (Blum & Mitchell (1998)). Instead of using two different views $( x _ { 1 } , x _ { 2 } )$ as mentioned in the work, we use the same views for both the discriminators but let them influence each other in a feedback loop. Training is similar to Model 1 with the only difference being that each discriminator decreases the likelihood of documents relevant to the other discriminator rather than itself, as shown in the equation below. This model achieves better performance than IRGAN. ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
314,
|
| 685 |
+
825,
|
| 686 |
+
412
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 4
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "equation",
|
| 692 |
+
"img_path": "images/775afd9ff2cdf176c2c0582a39e74b168f93e93ea46da558f387ceaeebdbd398.jpg",
|
| 693 |
+
"text": "$$\n\\begin{array} { r l } & { J ^ { M o d e l 1 } = \\displaystyle \\operatorname* { m a x } _ { \\psi _ { 1 } } \\sum _ { n = 1 } ^ { N } ( E _ { d \\sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \\log D ( d | q _ { n } ) ) ] + E _ { d \\sim p _ { \\psi _ { 2 } } ^ { - } ( d | q _ { n } , r ) } [ ( \\log 1 - D ( d | q _ { n } ) ) ] ) } \\\\ & { \\displaystyle } \\\\ & { J ^ { M o d e l 2 } = \\displaystyle \\operatorname* { m a x } _ { \\psi _ { 2 } } \\sum _ { n = 1 } ^ { N } ( E _ { d \\sim p _ { t r u e } ( d | q _ { n } , r ) } [ ( \\log D ( d | q _ { n } ) ) ] + E _ { d \\sim p _ { \\psi _ { 1 } } ^ { - } ( d | q _ { n } , r ) } [ ( \\log 1 - D ( d | q _ { n } ) ) ] ) } \\end{array}\n$$",
|
| 694 |
+
"text_format": "latex",
|
| 695 |
+
"bbox": [
|
| 696 |
+
196,
|
| 697 |
+
435,
|
| 698 |
+
800,
|
| 699 |
+
527
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 4
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "7 EXPERIMENTAL SETUP ",
|
| 706 |
+
"text_level": 1,
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
541,
|
| 710 |
+
398,
|
| 711 |
+
559
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 4
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "This section describes the datasets, the task and hyperparameters. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
573,
|
| 721 |
+
602,
|
| 722 |
+
588
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 4
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "7.1 DATASETS ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
174,
|
| 732 |
+
604,
|
| 733 |
+
287,
|
| 734 |
+
619
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 4
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "We conduct experiments on three tasks, Web Search, Item Recommendation and Question Answering, using the same datasets mentioned in IRGAN. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
173,
|
| 743 |
+
630,
|
| 744 |
+
821,
|
| 745 |
+
660
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 4
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "table",
|
| 751 |
+
"img_path": "images/9c38b95a49166b43386fb53cc11bd66102ccdc7b7ee2cdbf8ea100ee7b0e2ee1.jpg",
|
| 752 |
+
"table_caption": [
|
| 753 |
+
"Table 1: Datasets "
|
| 754 |
+
],
|
| 755 |
+
"table_footnote": [],
|
| 756 |
+
"table_body": "<table><tr><td>Task</td><td>Dataset</td></tr><tr><td>WebSearch</td><td>LETOR by Liu et al. (2007)</td></tr><tr><td>Item-Recommendation</td><td>Movielens</td></tr><tr><td>Question Answering</td><td>InsuranceQA by Feng et al. (2015)</td></tr></table>",
|
| 757 |
+
"bbox": [
|
| 758 |
+
289,
|
| 759 |
+
704,
|
| 760 |
+
709,
|
| 761 |
+
763
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 4
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "7.2 TASK ",
|
| 768 |
+
"text_level": 1,
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
800,
|
| 772 |
+
253,
|
| 773 |
+
814
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 4
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "In Web Search, the task is to retrieve the document which is most relevant to the query. Each query on average has around 5 positive documents. In Content Recommendation, users give ratings for movies and given a user, the task is to retrieve a movie that they would probably rate high. In IRGAN, any movie retrieved for which the user rating is greater than or equal to 4 (out of a scale of 5) is considered correct. Based on the dataset statistics, around $5 5 \\%$ of the user-movie ratings are $\\geq 5$ . This makes the problem easy to solve. In Question Answering, every query has just one relevant document in most cases. This is thus the hardest task. ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
173,
|
| 782 |
+
825,
|
| 783 |
+
825,
|
| 784 |
+
924
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 4
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "7.3 HYPERPARAMETERS ",
|
| 791 |
+
"text_level": 1,
|
| 792 |
+
"bbox": [
|
| 793 |
+
176,
|
| 794 |
+
103,
|
| 795 |
+
357,
|
| 796 |
+
117
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 5
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "The hyperparameters for the proposed model are the same except for absence of G Epochs, for obvious reasons. Information about hyperparameter tuning is mentioned in the Appendix. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
173,
|
| 805 |
+
130,
|
| 806 |
+
823,
|
| 807 |
+
159
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 5
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "table",
|
| 813 |
+
"img_path": "images/c2a43b621bff4c7cbd5abce861eef2f2468826dbe7a3ab2161d68a0b5ee24bda.jpg",
|
| 814 |
+
"table_caption": [
|
| 815 |
+
"Table 2: Hyperparameters for IRGAN "
|
| 816 |
+
],
|
| 817 |
+
"table_footnote": [],
|
| 818 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>Description</td></tr><tr><td>Learning Rate</td><td>Forboth generator and discriminator</td></tr><tr><td>Batch Size</td><td>Batch size for training</td></tr><tr><td>Embed Dim</td><td>Embedding dimension of query or document</td></tr><tr><td>Epochs</td><td>Number of epochs of training</td></tr><tr><td>DEpochs</td><td>Number of epochs the discriminator is trained per epoch</td></tr><tr><td>G_Epochs Temperature</td><td>Number of epochs the generator is trained per epoch Temperature parameter for softmax sampling of documents</td></tr></table>",
|
| 819 |
+
"bbox": [
|
| 820 |
+
225,
|
| 821 |
+
202,
|
| 822 |
+
771,
|
| 823 |
+
318
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 5
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "8 EXPERIMENTS AND DISCUSSION ",
|
| 830 |
+
"text_level": 1,
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
356,
|
| 834 |
+
478,
|
| 835 |
+
372
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 5
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "We report only the $\\mathrm { P @ 5 }$ and ${ \\mathrm { N D C G } } @ 5$ values because all other metrics follow the same trend. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
171,
|
| 844 |
+
387,
|
| 845 |
+
794,
|
| 846 |
+
401
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 5
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "8.1 WEB SEARCH ",
|
| 853 |
+
"text_level": 1,
|
| 854 |
+
"bbox": [
|
| 855 |
+
174,
|
| 856 |
+
417,
|
| 857 |
+
312,
|
| 858 |
+
433
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 5
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "Table 3 reports the performance of various models. As can be seen, both the Single Discriminator and the Co-training models outperform IRGAN models. The fact that each query is associated approximately with 5 positive documents provides evidence that the proposed models can perform well in sparse reward settings. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
173,
|
| 867 |
+
444,
|
| 868 |
+
825,
|
| 869 |
+
501
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 5
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "table",
|
| 875 |
+
"img_path": "images/bd612b52729167660f151032f2cfd67ac59d62d97eaa6d43b25d9319d725f222.jpg",
|
| 876 |
+
"table_caption": [
|
| 877 |
+
"Table 3: Results on LETOR dataset used in IRGAN "
|
| 878 |
+
],
|
| 879 |
+
"table_footnote": [],
|
| 880 |
+
"table_body": "<table><tr><td>Model</td><td>P@5</td><td>NDCG@5</td></tr><tr><td>RankNet (Burges et al. (2005))</td><td>0.1219</td><td>0.1709</td></tr><tr><td>LambdaRank (Burges et al. (2007))</td><td>0.1352</td><td>0.1920</td></tr><tr><td>IRGAN-pointwise</td><td>0.1657</td><td>0.2225</td></tr><tr><td>IRGAN-pairwise</td><td>0.1676</td><td>0.2154</td></tr><tr><td>Single Discriminator</td><td>0.1676</td><td>0.2190</td></tr><tr><td>Co-training</td><td>0.1733</td><td>0.2252</td></tr></table>",
|
| 881 |
+
"bbox": [
|
| 882 |
+
294,
|
| 883 |
+
544,
|
| 884 |
+
704,
|
| 885 |
+
646
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 5
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "8.2 ITEM-RECOMMENDATION ",
|
| 892 |
+
"text_level": 1,
|
| 893 |
+
"bbox": [
|
| 894 |
+
174,
|
| 895 |
+
674,
|
| 896 |
+
395,
|
| 897 |
+
689
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 5
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "This task, in contrast to the other two, has multiple relevant documents that can be retrieved for each query, making it slightly easier. Each user (query) rates a movie (document), and $5 5 \\%$ of the entries in the train set and $5 6 \\%$ in the test set are relevant pairs. It can be seen in Table 4 that the single discriminator model achieves only a slightly lower score, and given the small size of the dataset (943 users), it makes just 7 more mistakes when compared to IRGAN. This is not a statistically significant number, especially because the IRGAN generator is pre-initialized to a model which scores 0.34 but our model learns from scratch. ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
173,
|
| 906 |
+
699,
|
| 907 |
+
825,
|
| 908 |
+
797
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 5
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "8.3 QUESTION ANSWERING ",
|
| 915 |
+
"text_level": 1,
|
| 916 |
+
"bbox": [
|
| 917 |
+
174,
|
| 918 |
+
814,
|
| 919 |
+
382,
|
| 920 |
+
829
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 5
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "After close correspondence with the authors of IRGAN, we obtained all the hyperparameters required for the models. Multiple random seeds were used in vain, the results in the paper for Question-Answering tasks could not be replicated. We instead mention the best results out of all random seeds. We believe that if there is some random seed which gives better performance for IRGAN, it should do so for our model as well. The co-training model outperforms IRGAN-Pairwise. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
174,
|
| 929 |
+
839,
|
| 930 |
+
825,
|
| 931 |
+
910
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 5
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "table",
|
| 937 |
+
"img_path": "images/cd240a3aca605b9f9c46c53c6e89f2e175abbf79add3883ab48214ae7696f6f4.jpg",
|
| 938 |
+
"table_caption": [
|
| 939 |
+
"Table 4: Results on Movielens Dataset "
|
| 940 |
+
],
|
| 941 |
+
"table_footnote": [],
|
| 942 |
+
"table_body": "<table><tr><td>Model</td><td>P@5</td><td>NDCG@5</td></tr><tr><td>BPR (Rendle et al. (2009))</td><td>0.3044</td><td>0.3245</td></tr><tr><td>LambdaFM (Yuan et al. (2016))</td><td>0.3474</td><td>0.3749</td></tr><tr><td>IRGAN-pointwise</td><td>0.3750</td><td>0.4099</td></tr><tr><td>Single Discriminator</td><td>0.3675</td><td>0.3925</td></tr><tr><td>Co-training</td><td>0.345</td><td>0.373</td></tr></table>",
|
| 943 |
+
"bbox": [
|
| 944 |
+
305,
|
| 945 |
+
132,
|
| 946 |
+
691,
|
| 947 |
+
220
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 6
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "table",
|
| 953 |
+
"img_path": "images/b9c3dfe73a8dd8b31416fdcddf7953b304919f9132bd313c2cf0b7133de8bdee.jpg",
|
| 954 |
+
"table_caption": [
|
| 955 |
+
"Table 5: $\\mathrm { P @ 1 }$ on InsuranceQA "
|
| 956 |
+
],
|
| 957 |
+
"table_footnote": [],
|
| 958 |
+
"table_body": "<table><tr><td>Model</td><td>P@1</td></tr><tr><td>IRGAN-Pairwise Single Discriminator Co-training</td><td>0.616 0.614 0.623</td></tr></table>",
|
| 959 |
+
"bbox": [
|
| 960 |
+
390,
|
| 961 |
+
272,
|
| 962 |
+
606,
|
| 963 |
+
333
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 6
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "8.4 LOSS CURVES ",
|
| 970 |
+
"text_level": 1,
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
366,
|
| 974 |
+
312,
|
| 975 |
+
378
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 6
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "image",
|
| 981 |
+
"img_path": "images/9d9f5cbe6e06a42653d99ecdd9ebfc40d91d7554d358d409e99c9bf6be2943b1.jpg",
|
| 982 |
+
"image_caption": [
|
| 983 |
+
"Figure 2: Performance curves "
|
| 984 |
+
],
|
| 985 |
+
"image_footnote": [],
|
| 986 |
+
"bbox": [
|
| 987 |
+
176,
|
| 988 |
+
397,
|
| 989 |
+
825,
|
| 990 |
+
517
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 6
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "The loss curves in Figure 2 picked from IRGAN’s work show deteriorating performance of the generator, which is in contrast to what is observed in actual adversarial training. In the minimax setting, since the generator is expected to capture the real data distribution, its performance is supposed to improve and this can indirectly be seen in GANs and DCGANs where the samples generated look more and more like real-world data points. Further, a deteriorating generator implies that the discriminator’s improvement in performance is only because of the first term of $J ^ { D }$ , which hints that our proposed models might be able to do better than IRGAN. The reason offered in the paper is that “A worse generator could be the result of the sparsity of document distribution, i.e., each question usually has only one correct answer”. But this reason does not seem plausible, given that DCGANs have been able to model very high dimensional data, where the probability distribution is only a tiny part of the real space. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
563,
|
| 1000 |
+
825,
|
| 1001 |
+
715
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 6
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Further, the increase in performance of the discriminator in all cases is coupled with a deteriorating generator. This substantiates our claim that the discriminator and the generator are optimizing directly opposite loss functions. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
723,
|
| 1011 |
+
825,
|
| 1012 |
+
765
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 6
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Item-recommendation task is a little different from the other two tasks at hand because of a large number of positive answers. When the loss curves are plotted, though the generator’s performance improves, the discriminator’s loss remains high and almost constant throughout the procedure, as shown in Figure 3. This is another indication that the performance of IRGAN is not actually because of the adversarial setup, but because of the maximization of the likelihood of the real data. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
174,
|
| 1021 |
+
772,
|
| 1022 |
+
825,
|
| 1023 |
+
842
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 6
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "9 CONNECTIONS TO PREVIOUS WORK ",
|
| 1030 |
+
"text_level": 1,
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
863,
|
| 1034 |
+
508,
|
| 1035 |
+
878
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 6
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "We have already shown in Section 2 that Conditional GANs are connected directly to Information Retrieval. The problem can also be viewed as a contextual multi-armed bandit problem (Li et al. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
176,
|
| 1044 |
+
895,
|
| 1045 |
+
823,
|
| 1046 |
+
922
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 6
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "image",
|
| 1052 |
+
"img_path": "images/6d5d7efb0cd7b45fd56ee19f6142f5ea5e2a0dd6ff2125a68691f433a1d369d9.jpg",
|
| 1053 |
+
"image_caption": [
|
| 1054 |
+
"Figure 3: Discriminator Loss for Content-Recommendation "
|
| 1055 |
+
],
|
| 1056 |
+
"image_footnote": [],
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
330,
|
| 1059 |
+
114,
|
| 1060 |
+
643,
|
| 1061 |
+
305
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 7
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "(2010)), where each documents is an arm and the context $x _ { q , d }$ can be used to determine the actionvalue function $f _ { \\theta } ( x _ { q , d } )$ . In previous works (Li et al. (2010)) $f$ has been considered to be linear, but recent studies Collier & Llorens (2018) have modeled them as deep neural networks. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
174,
|
| 1070 |
+
386,
|
| 1071 |
+
823,
|
| 1072 |
+
428
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 7
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "In Pfau & Vinyals (2016), a parallel is drawn between Actor-Critic algorithms (Konda & Tsitsiklis (2000)) and GANs. This is directly related to our work because REINFORCE (Sutton et al. (2000)) with a baseline can be connected to Actor-Critic algorithms when bootstrapping is used (Sutton & Barto (2018)). The work shows a restricted scenario which involves a stateless MDP, each action setting all the pixels of the image and cross-entropy loss instead of mean-squared Bellmann residual in which GANs are equivalent to Actor-Critic algorithms. But this equivalence holds only when the baseline term is not used so the formulation in IRGAN is not exactly equivalent to a GAN framework. Another study (Finn et al. (2016)) draws a parallel between Inverse Reinforcement Learning $\\mathrm { N g }$ et al. (2000)) and GANs because both the methods try to “learn” the cost function to optimize for. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
173,
|
| 1081 |
+
434,
|
| 1082 |
+
825,
|
| 1083 |
+
574
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 7
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "10 CONCLUSION AND FUTURE WORK ",
|
| 1090 |
+
"text_level": 1,
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
176,
|
| 1093 |
+
614,
|
| 1094 |
+
504,
|
| 1095 |
+
631
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 7
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "The experiments performed show that IRGAN is by no means state-of-the-art on those datasets. Further, the performance does not justify the large training time of 4 hours per generator epoch and 1 hour of discriminator epoch as opposed to 2 hours per epoch of the co-training model (11 GB GPU and Question Answering task). The shaky mathematical formulation renders the generator useless after training, and any gains in performance can be attributed directly to the first term of $J ^ { D }$ , where the likelihood of the real data is increased. We showed that the discriminator and generator are optimizing directly opposite loss functions and this is the cause of deleterious training. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
174,
|
| 1104 |
+
659,
|
| 1105 |
+
825,
|
| 1106 |
+
756
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 7
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "The poor performance of IRGAN on Web-Search and Question Answering and only a satisfactory performance on Content-Recommendation (which has dense rewards) lead us to speculate that it does not work well in sparse reward scenarios. This is similar to a well-known problem called the Sparse Reward Reinforcement Learning. We think that a correct formulation along with established techniques from the former, like reward shaping $\\mathrm { N g }$ et al. (1999)) may lead to better performance. Newer methods like Hindsight Experience Replay (Andrychowicz et al. (2017)) which allow models to learn both from mistakes and rewards may further ameliorate learning. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
174,
|
| 1115 |
+
762,
|
| 1116 |
+
825,
|
| 1117 |
+
861
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 7
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "We would also like to explore in the direction of learning correct adversarial frameworks for more complex tasks like Image Retrieval and Question Answering which will involve learning end-toend trainable models. With advances in modeling sequences, this could also involve generation of documents rather than sampling them. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
174,
|
| 1126 |
+
867,
|
| 1127 |
+
823,
|
| 1128 |
+
924
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 7
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "REFERENCES ",
|
| 1135 |
+
"text_level": 1,
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
174,
|
| 1138 |
+
103,
|
| 1139 |
+
287,
|
| 1140 |
+
117
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 8
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems, pp. 5048–5058, 2017. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
176,
|
| 1149 |
+
126,
|
| 1150 |
+
821,
|
| 1151 |
+
170
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 8
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017. ",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
173,
|
| 1160 |
+
178,
|
| 1161 |
+
825,
|
| 1162 |
+
207
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 8
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "Peter Auer, Nicolo Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2-3):235–256, 2002. ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
173,
|
| 1171 |
+
217,
|
| 1172 |
+
823,
|
| 1173 |
+
246
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 8
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "Avrim Blum and Tom Mitchell. Combining labeled and unlabeled data with co-training. In Proceedings of the eleventh annual conference on Computational learning theory, pp. 92–100. ACM, 1998. ",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
174,
|
| 1182 |
+
256,
|
| 1183 |
+
823,
|
| 1184 |
+
297
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "Konstantinos Bousmalis, Nathan Silberman, David Dohan, Dumitru Erhan, and Dilip Krishnan. Unsupervised pixel-level domain adaptation with generative adversarial networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), volume 1, pp. 7, 2017. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
178,
|
| 1193 |
+
308,
|
| 1194 |
+
825,
|
| 1195 |
+
352
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 8
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pp. 89–96. ACM, 2005. ",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
176,
|
| 1204 |
+
361,
|
| 1205 |
+
821,
|
| 1206 |
+
405
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 8
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "Christopher J Burges, Robert Ragno, and Quoc V Le. Learning to rank with nonsmooth cost functions. In Advances in neural information processing systems, pp. 193–200, 2007. ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
171,
|
| 1215 |
+
412,
|
| 1216 |
+
821,
|
| 1217 |
+
443
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 8
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "Mark Collier and Hector Urdiales Llorens. Deep contextual multi-armed bandits. arXiv preprint arXiv:1807.09809, 2018. ",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
169,
|
| 1226 |
+
452,
|
| 1227 |
+
823,
|
| 1228 |
+
481
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 8
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "Antonia Creswell and Anil Anthony Bharath. Adversarial training for sketch retrieval. In European Conference on Computer Vision, pp. 798–809. Springer, 2016. ",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
171,
|
| 1237 |
+
491,
|
| 1238 |
+
823,
|
| 1239 |
+
521
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 8
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "Minwei Feng, Bing Xiang, Michael R Glass, Lidan Wang, and Bowen Zhou. Applying deep learning to answer selection: A study and an open task. arXiv preprint arXiv:1508.01585, 2015. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
171,
|
| 1248 |
+
530,
|
| 1249 |
+
823,
|
| 1250 |
+
559
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 8
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Chelsea Finn, Paul Christiano, Pieter Abbeel, and Sergey Levine. A connection between generative adversarial networks, inverse reinforcement learning, and energy-based models. arXiv preprint arXiv:1611.03852, 2016. ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
173,
|
| 1259 |
+
569,
|
| 1260 |
+
823,
|
| 1261 |
+
611
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 8
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"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, pp. 2672–2680, 2014. ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
173,
|
| 1270 |
+
619,
|
| 1271 |
+
826,
|
| 1272 |
+
664
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 8
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. arXiv preprint, 2017. ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
171,
|
| 1281 |
+
672,
|
| 1282 |
+
823,
|
| 1283 |
+
703
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 8
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "Vijay R Konda and John N Tsitsiklis. Actor-critic algorithms. In Advances in neural information processing systems, pp. 1008–1014, 2000. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
712,
|
| 1293 |
+
825,
|
| 1294 |
+
742
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 8
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "Lihong Li, Wei Chu, John Langford, and Robert E Schapire. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th international conference on World wide web, pp. 661–670. ACM, 2010. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
174,
|
| 1303 |
+
751,
|
| 1304 |
+
823,
|
| 1305 |
+
794
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 8
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Tie-Yan Liu, Jun Xu, Tao Qin, Wenying Xiong, and Hang Li. Letor: Benchmark dataset for research on learning to rank for information retrieval. In Proceedings of SIGIR 2007 workshop on learning to rank for information retrieval, volume 310. ACM Amsterdam, The Netherlands, 2007. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
176,
|
| 1314 |
+
803,
|
| 1315 |
+
823,
|
| 1316 |
+
847
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 8
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Tyler Lu, David P ´ al, and Martin P ´ al. Contextual multi-armed bandits. In ´ Proceedings of the Thirteenth international conference on Artificial Intelligence and Statistics, pp. 485–492, 2010. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
173,
|
| 1325 |
+
856,
|
| 1326 |
+
820,
|
| 1327 |
+
886
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 8
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
173,
|
| 1336 |
+
895,
|
| 1337 |
+
821,
|
| 1338 |
+
924
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 8
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In ICML, volume 99, pp. 278–287, 1999. ",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
173,
|
| 1347 |
+
103,
|
| 1348 |
+
823,
|
| 1349 |
+
133
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 9
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "Andrew Y Ng, Stuart J Russell, et al. Algorithms for inverse reinforcement learning. In Icml, pp. 663–670, 2000. ",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
173,
|
| 1358 |
+
141,
|
| 1359 |
+
821,
|
| 1360 |
+
170
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 9
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "David Pfau and Oriol Vinyals. Connecting generative adversarial networks and actor-critic methods. arXiv preprint arXiv:1610.01945, 2016. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
171,
|
| 1369 |
+
179,
|
| 1370 |
+
823,
|
| 1371 |
+
208
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 9
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
171,
|
| 1380 |
+
215,
|
| 1381 |
+
823,
|
| 1382 |
+
246
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 9
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. Bpr: Bayesian personalized ranking from implicit feedback. In Proceedings of the twenty-fifth conference on uncertainty in artificial intelligence, pp. 452–461. AUAI Press, 2009. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
176,
|
| 1391 |
+
253,
|
| 1392 |
+
823,
|
| 1393 |
+
297
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 9
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Ruslan Salakhutdinov and Hugo Larochelle. Efficient learning of deep boltzmann machines. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 693–700, 2010. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
174,
|
| 1402 |
+
305,
|
| 1403 |
+
823,
|
| 1404 |
+
348
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 9
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
171,
|
| 1413 |
+
357,
|
| 1414 |
+
823,
|
| 1415 |
+
373
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 9
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in neural information processing systems, pp. 1057–1063, 2000. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
173,
|
| 1424 |
+
381,
|
| 1425 |
+
823,
|
| 1426 |
+
424
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 9
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "text",
|
| 1432 |
+
"text": "Jun Wang, Lantao Yu, Weinan Zhang, Yu Gong, Yinghui Xu, Benyou Wang, Peng Zhang, and Dell Zhang. Irgan: A minimax game for unifying generative and discriminative information retrieval models. In Proceedings of the 40th International ACM SIGIR conference on Research and Development in Information Retrieval, pp. 515–524. ACM, 2017. ",
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
173,
|
| 1435 |
+
433,
|
| 1436 |
+
825,
|
| 1437 |
+
489
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 9
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Fajie Yuan, Guibing Guo, Joemon M Jose, Long Chen, Haitao Yu, and Weinan Zhang. Lambdafm: learning optimal ranking with factorization machines using lambda surrogates. In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, pp. 227–236. ACM, 2016. ",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
173,
|
| 1446 |
+
497,
|
| 1447 |
+
825,
|
| 1448 |
+
555
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 9
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "Han Zhang, Tao Xu, Hongsheng Li, Shaoting Zhang, Xiaolei Huang, Xiaogang Wang, and Dimitris Metaxas. Stackgan: Text to photo-realistic image synthesis with stacked generative adversarial networks. arXiv preprint, 2017. ",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
173,
|
| 1457 |
+
564,
|
| 1458 |
+
823,
|
| 1459 |
+
607
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 9
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "Jun-Yan Zhu, Philipp Krahenb ¨ uhl, Eli Shechtman, and Alexei A Efros. Generative visual manipu- ¨ lation on the natural image manifold. In European Conference on Computer Vision, pp. 597–613. Springer, 2016. ",
|
| 1466 |
+
"bbox": [
|
| 1467 |
+
169,
|
| 1468 |
+
614,
|
| 1469 |
+
823,
|
| 1470 |
+
659
|
| 1471 |
+
],
|
| 1472 |
+
"page_idx": 9
|
| 1473 |
+
},
|
| 1474 |
+
{
|
| 1475 |
+
"type": "text",
|
| 1476 |
+
"text": "APPENDIX A HYPERPARAMETERS ",
|
| 1477 |
+
"text_level": 1,
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
102,
|
| 1481 |
+
473,
|
| 1482 |
+
118
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 10
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "The hyperparameters are mentioned in tables 6, 7, 8, 9 and 10. The following were the ranges of hyperparameter tuning, along with the best value. Gradient Descent Optimizer was used so that the comparison with IRGAN is fair. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
174,
|
| 1491 |
+
132,
|
| 1492 |
+
825,
|
| 1493 |
+
175
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 10
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "table",
|
| 1499 |
+
"img_path": "images/7a758d47850c1b299b7f5654f7b6960cfbeb52e8e84628a812e22a30c13e090d.jpg",
|
| 1500 |
+
"table_caption": [
|
| 1501 |
+
"Table 6: Single Discriminator for Web-Search "
|
| 1502 |
+
],
|
| 1503 |
+
"table_footnote": [],
|
| 1504 |
+
"table_body": "<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.002-0.2</td><td>0.004</td></tr><tr><td>Batch Size</td><td>[8,16,32]</td><td>8</td></tr><tr><td>Feature Size</td><td>[46,92]</td><td>46</td></tr><tr><td>Random Seed</td><td>[20,40,60]</td><td>40</td></tr></table>",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
343,
|
| 1507 |
+
219,
|
| 1508 |
+
653,
|
| 1509 |
+
292
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 10
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "For the co-training model, for every epoch, we optimize the two discriminators several times. We call these the outer and inner epochs in Table 7. ",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
171,
|
| 1518 |
+
313,
|
| 1519 |
+
825,
|
| 1520 |
+
340
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 10
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "table",
|
| 1526 |
+
"img_path": "images/94370bc50feacafed87e9372094a050765746598986d531c7ca7008a70e16ca1.jpg",
|
| 1527 |
+
"table_caption": [
|
| 1528 |
+
"Table 7: Co-training for Web-Search "
|
| 1529 |
+
],
|
| 1530 |
+
"table_footnote": [],
|
| 1531 |
+
"table_body": "<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate Outer Epochs Inner Epochs Batch Size Feature Size Random Seed</td><td>0.002-0.2 [30,50] [30,50] [8,16,32] [46,92]</td><td>0.006 50 30 8 46</td></tr></table>",
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
343,
|
| 1534 |
+
385,
|
| 1535 |
+
655,
|
| 1536 |
+
486
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 10
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "text",
|
| 1542 |
+
"text": "DNS K in Table 8 represents the number of candidates that are chosen before performing the softmax. This is done to make the procedure computationally tractable. We use the value suggested in IRGAN. ",
|
| 1543 |
+
"bbox": [
|
| 1544 |
+
173,
|
| 1545 |
+
505,
|
| 1546 |
+
825,
|
| 1547 |
+
547
|
| 1548 |
+
],
|
| 1549 |
+
"page_idx": 10
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"type": "table",
|
| 1553 |
+
"img_path": "images/e37b7fe125790f73459c7b27823dea348fad8453026269198cf58ec74d7c63b6.jpg",
|
| 1554 |
+
"table_caption": [
|
| 1555 |
+
"Table 8: Single Discriminator for Content Recommendation "
|
| 1556 |
+
],
|
| 1557 |
+
"table_footnote": [],
|
| 1558 |
+
"table_body": "<table><tr><td>Hyperparameter/Seed</td><td>Range/List</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.01-0.05</td><td>0.02</td></tr><tr><td rowspan=\"3\">Batch Size Embedding Dimension Random Seed</td><td>10</td><td>10</td></tr><tr><td>[20,40,60]</td><td>20</td></tr><tr><td>70</td><td>70</td></tr><tr><td>DNS_K</td><td>5</td><td>5</td></tr></table>",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
339,
|
| 1561 |
+
589,
|
| 1562 |
+
658,
|
| 1563 |
+
676
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 10
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "text",
|
| 1569 |
+
"text": "APPENDIX B DESCRIPTION OF MODELS ",
|
| 1570 |
+
"text_level": 1,
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
176,
|
| 1573 |
+
710,
|
| 1574 |
+
519,
|
| 1575 |
+
727
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 10
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"text": "The discriminator and the generator have the same architecture in all the tasks. For the Web-retrieval task, the model has a single hidden layer 46 units. ",
|
| 1582 |
+
"bbox": [
|
| 1583 |
+
171,
|
| 1584 |
+
741,
|
| 1585 |
+
823,
|
| 1586 |
+
770
|
| 1587 |
+
],
|
| 1588 |
+
"page_idx": 10
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "text",
|
| 1592 |
+
"text": "For the content-recommendation task, the model converts users and movies to a 5 dimensional embedding. This can be though to be a single hidden layer which compresses a one-hot user embedding to a 5 dimensional embedding. ",
|
| 1593 |
+
"bbox": [
|
| 1594 |
+
174,
|
| 1595 |
+
790,
|
| 1596 |
+
825,
|
| 1597 |
+
833
|
| 1598 |
+
],
|
| 1599 |
+
"page_idx": 10
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "text",
|
| 1603 |
+
"text": "For the Question-Answering task, each word is initialized to a 100 dimensional random vector. A Convolutional Neural Network is then used and the window size of the convolutional kernel is (1,2,3,5). A max-pooling-over-time strategy is then used and the output is a 100 dimensional vector because each feature map is pooled to a scalar. Note that this architecture is the same as the one used in the IRGAN paper. We refer the user to that for further description. ",
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
174,
|
| 1606 |
+
853,
|
| 1607 |
+
823,
|
| 1608 |
+
924
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 10
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "table",
|
| 1614 |
+
"img_path": "images/fa9e70a372b5d2cf4b24e05f1aa20ab66bdf1ea0fadb1d1298c00b0e74cd3868.jpg",
|
| 1615 |
+
"table_caption": [
|
| 1616 |
+
"Table 9: Single Discriminator for Question Answering "
|
| 1617 |
+
],
|
| 1618 |
+
"table_footnote": [],
|
| 1619 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.05</td></tr><tr><td>Epochs</td><td>20</td></tr><tr><td>Batch Size</td><td>100</td></tr><tr><td>Embedding Dimension</td><td>100</td></tr></table>",
|
| 1620 |
+
"bbox": [
|
| 1621 |
+
387,
|
| 1622 |
+
277,
|
| 1623 |
+
611,
|
| 1624 |
+
351
|
| 1625 |
+
],
|
| 1626 |
+
"page_idx": 11
|
| 1627 |
+
},
|
| 1628 |
+
{
|
| 1629 |
+
"type": "table",
|
| 1630 |
+
"img_path": "images/784f1ec7f7afad31fe6f8beca79f253689be38d1d1aed1bed1024e2d8b773933.jpg",
|
| 1631 |
+
"table_caption": [
|
| 1632 |
+
"Table 10: Co-training for Question Answering "
|
| 1633 |
+
],
|
| 1634 |
+
"table_footnote": [],
|
| 1635 |
+
"table_body": "<table><tr><td>Hyperparameter</td><td>Best</td></tr><tr><td>Learning Rate</td><td>0.05</td></tr><tr><td>Outer Epochs</td><td>20</td></tr><tr><td>Inner Epochs</td><td>1</td></tr><tr><td>Batch Size</td><td>100</td></tr><tr><td>Embedding Dimension</td><td>100</td></tr></table>",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
387,
|
| 1638 |
+
684,
|
| 1639 |
+
611,
|
| 1640 |
+
772
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 11
|
| 1643 |
+
}
|
| 1644 |
+
]
|
parse/train/Syez3j0cKX/Syez3j0cKX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Syez3j0cKX/Syez3j0cKX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5.md
ADDED
|
@@ -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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Bias
|
| 2 |
+
|
| 3 |
+
Yufei Xu1∗ Qiming Zhang1∗ Jing Zhang1 Dacheng Tao2,1
|
| 4 |
+
|
| 5 |
+
1The University of Sydney, Australia, 2JD Explore Academy, China
|
| 6 |
+
|
| 7 |
+
{yuxu7116,qzha2506}@uni.sydney.edu.au, jing.zhang1@sydney.edu.au, dacheng.tao@gmail.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Transformers have shown great potential in various computer vision tasks owing to their strong capability in modeling long-range dependency using the self-attention mechanism. Nevertheless, vision transformers treat an image as 1D sequence of visual tokens, lacking an intrinsic inductive bias (IB) in modeling local visual structures and dealing with scale variance. Alternatively, they require large-scale training data and longer training schedules to learn the IB implicitly. In this paper, we propose a new Vision Transformer Advanced by Exploring intrinsic IB from convolutions, i.e., ViTAE. Technically, ViTAE has several spatial pyramid reduction modules to downsample and embed the input image into tokens with rich multi-scale context by using multiple convolutions with different dilation rates. In this way, it acquires an intrinsic scale invariance IB and is able to learn robust feature representation for objects at various scales. Moreover, in each transformer layer, ViTAE has a convolution block in parallel to the multi-head selfattention module, whose features are fused and fed into the feed-forward network. Consequently, it has the intrinsic locality IB and is able to learn local features and global dependencies collaboratively. Experiments on ImageNet as well as downstream tasks prove the superiority of ViTAE over the baseline transformer and concurrent works. Source code and pretrained models will be available at code.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Transformers [79, 17, 40, 14, 46, 61] have shown a domination trend in NLP studies owing to their strong ability in modeling long-range dependencies by the self-attention mechanism [67, 81, 51]. Such success and good properties of transformers has inspired following many works that apply them in various computer vision tasks [19, 100, 97, 80, 7]. Among them, ViT [19] is the pioneering pure transformer model that embeds images into a sequence of visual tokens and models the global dependencies among them with stacked transformer blocks. Although it achieves promising performance on image classification, it requires large-scale training data and a longer training schedule. One important reason is that ViT
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Comparison of data and training efficiency of T2T-ViT-7 and ViTAE-T on ImageNet.
|
| 19 |
+
|
| 20 |
+
lacks intrinsic inductive bias (IB) in modeling local visual structures (e.g., edges and corners) and dealing with objects at various scales like convolutions. Alternatively, ViT has to learn such IB implicitly from large-scale data.
|
| 21 |
+
|
| 22 |
+
Unlike vision transformers, Convolution Neural Networks (CNNs) naturally equip with the intrinsic IBs of scale-invariance and locality and still serve as prevalent backbones in vision tasks [26, 70, 62, 8, 96]. The success of CNNs inspires us to explore intrinsic IBs in vision transformers. We start by analyzing the above two IBs of CNNs, i.e., locality and scale-invariance. Convolution that computes local correlation among neighbor pixels is good at extracting local features such as edges and corners. Consequently, CNNs can provide plentiful low-level features at the shallow layers [94], which are then aggregated into high-level features progressively by a bulk of sequential convolutions [32, 68, 71]. Moreover, CNNs have a hierarchy structure to extract multi-scale features at different layers [68, 38, 26]. Besides, intra-layer convolutions can also learn features at different scales by varying their kernel sizes and dilation rates [25, 70, 8, 45, 96]. Consequently, scale-invariant feature representation can be obtained via intra- or inter-layer feature fusion. Nevertheless, CNNs are not well suited to model long-range dependencies2, which is the key advantage of transformers. An interesting question comes up: Can we improve vision transformers by leveraging the good properties of CNNs? Recently, DeiT [76] explores the idea of distilling knowledge from CNNs to transformers to facilitate training and improve the performance. However, it requires an off-the-shelf CNN model as the teacher and consumes extra training cost.
|
| 23 |
+
|
| 24 |
+
Different from DeiT, we explicitly introduce intrinsic IBs into vision transformers by re-designing the network structures in this paper. Current vision transformers always obtain tokens with singlescale context [19, 93, 80, 86, 47, 69, 77] and learn to adapt to objects at different scales from data. For example, T2T-ViT [93] improves ViT by delicately generating tokens in a soft split manner. Specifically, it uses a series of Tokens-to-Token transformation layers to aggregate single-scale neighboring contextual information and progressively structurizes the image to tokens. Motivated by the success of CNNs in dealing with scale variance, we explore a similar design in transformers, i.e., intra-layer convolutions with different receptive fields [70, 91], to embed multi-scale context into tokens. Such a design allows tokens to carry useful features of objects at various scales, thereby naturally having the intrinsic scale-invariance IB and explicitly facilitating transformers to learn scale-invariant features more efficiently from data. On the other hand, low-level local features are fundamental elements to generate high-level discriminative features. Although transformers can also learn such features at shallow layers from data, they are not skilled as convolutions by design. Recently, [89, 43, 21] stack convolutions and attention layers sequentially and demonstrate that locality is a reasonable compensation of global dependency. However, this serial structure ignores the global context during locality modeling (and vice versa). To avoid such a dilemma, we follow the “divide-and-conquer” idea and propose to model locality and long-range dependencies in parallel and then fuse the features to account for both. In this way, we empower transformers to learn local and long-range features within each block more effectively.
|
| 25 |
+
|
| 26 |
+
Technically, we propose a new Vision Transformers Advanced by Exploring Intrinsic Inductive Bias $( V i T A E )$ , which is a combination of two types of basic cells, i.e., reduction cell (RC) and normal cell (NC). RCs are used to downsample and embed the input images into tokens with rich multi-scale context while NCs aim to jointly model locality and global dependencies in the token sequence. Moreover, these two types of cells share a simple basic structure, i.e., paralleled attention module and convolutional layers followed by a feed-forward network (FFN). It is noteworthy that RC has an extra pyramid reduction module with atrous convolutions of different dilation rates to embed multi-scale context into tokens. Following the setting in [93], we stack three reduction cells to reduce the spatial resolution by $1 / 1 6$ and a series of NCs to learn discriminative features from data. ViTAE outperforms representative vision transformers in terms of data efficiency and training efficiency (see Figure 1), as well as classification accuracy and generalization on downstream tasks.
|
| 27 |
+
|
| 28 |
+
Our contributions are threefold. First, we explore two types of intrinsic IB in transformers, i.e., scale invariance and locality, and demonstrate the effectiveness of this idea in improving the feature learning ability of transformers. Second, we design a new transformer architecture named ViTAE based on two new reduction and normal cells to intrinsically incorporate the above two IBs. The proposed ViTAE embeds multi-scale context into tokens and learns both local and long-range features effectively. Third, ViTAE outperforms representative vision transformers regarding classification accuracy, data efficiency, training efficiency, and generalization on downstream tasks. ViTAE achieves $7 5 . 3 \%$ and $8 2 . 0 \%$ top-1 accuracy on ImageNet with 4.8M and 23.6M parameters, respectively.
|
| 29 |
+
|
| 30 |
+
# 2 Related Work
|
| 31 |
+
|
| 32 |
+
# 2.1 CNNs with intrinsic IB
|
| 33 |
+
|
| 34 |
+
CNNs have led to a series of breakthroughs in image classification [38, 94, 26, 95, 87] and downstream computer vision tasks. The convolution operations in CNNs extract local features from the neighbor pixels within the receptive field determined by the kernel size [42]. Following the intuition that local pixels are more likely to be correlated in images [41], CNNs have the intrinsic IB in modeling locality. In addition to the locality, another critical topic in visual tasks is scale-invariance, where multi-scale features are needed to represent the objects at different scales effectively [49, 90]. For example, to effectively learn features of large objects, a large receptive field is needed by either using large convolution kernels [90, 91] or a series of convolution layers in deeper architectures [26, 32, 68, 71]. To construct multi-scale feature representation, the classical idea is using image pyramid [8, 1, 55, 4, 39, 16], where features are hand-crafted or learned from a pyramid of images at different resolutions respectively [44, 8, 52, 63, 35, 3]. Accordingly, features from the small scale image mainly encode the large objects while features from the large scale image respond more to small objects. In addition to the above inter-layer fusion way, another way is to aggregate multi-scale context by using multiple convolutions with different receptive fields within a single layer, i.e., intra-layer fusion [96, 71, 70, 70, 72]. Either inter-layer fusion or intra-layer fusion empower CNNs an intrinsic IB in modeling scale-invariance. This paper introduces such an IB to vision transformers by following the intra-layer fusion idea and utilizing multiple convolutions with different dilation rates in the reduction cells to encode multi-scale context into each visual token.
|
| 35 |
+
|
| 36 |
+
# 2.2 Vision transformers with learned IB
|
| 37 |
+
|
| 38 |
+
ViT [19] is the pioneering work that applies a pure transformer to vision tasks and achieves promising results. However, since ViT lacks intrinsic inductive bias in modeling local visual structures, it indeed learns the IB from amounts of data implicitly. Following works along this direction are to simplify the model structures with fewer intrinsic IBs and directly learn them from large scale data [50, 74, 75, 22, 18, 20, 27] which have achieved promising results and been studied actively. Another direction is to leverage the intrinsic IB from CNNs to facilitate the training of vision transformers, e.g., using less training data or shorter training schedules. For example, DeiT [76] proposes to distill knowledge from CNNs to transformers during training. However, it requires an off-the-shelf CNN model as a teacher, introducing extra computation cost during training. Recently, some works try to introduce the intrinsic IB of CNNs into vision transformers explicitly [23, 58, 21, 43, 15, 89, 83, 92, 6, 47, 11]. For example, [43, 21, 83] stack convolutions and attention layers sequentially, resulting in a serial structure and modeling the locality and global dependency accordingly. [80, 28] design sequential stage-wise structures while [47, 33] apply attention within local windows. However, these serial structure may ignore the global context during locality modeling (and vice versa). [88] establishes connection across different scales at the cost of heavy computation. Instead, we follow the “divide-and-conquer” idea and propose to model locality and global dependencies simultaneously via a parallel structure within each transformer layer. Conformer [58], the most relevant concurrent work to us, employs a unit to explore inter-block interactions between parallel convolution and transformer blocks. In contrast, in ViTAE, the convolution and attention modules are designed to be complementary to each other within the transformer block. In addition, Conformer is not designed to have inherent scale invariance IB.
|
| 39 |
+
|
| 40 |
+
# 3 Methodology
|
| 41 |
+
|
| 42 |
+
# 3.1 Revisit vision transformer
|
| 43 |
+
|
| 44 |
+
We first give a brief review of vision transformer in this part. To adapt transformers to vision tasks, ViT [19] first splits an image $x \in R ^ { H \times W \times C }$ into tokens with a reduction ratio of $p$ (i.e., $x _ { t } \in R ^ { ( ( H \times W ) / p ^ { 2 } ) \times D } )$ , where $H , W$ and $C$ denote the height, width, and channel dimensions of the input image, $D = C p ^ { 2 }$ denotes the token dimension. Then, an extra class token is concatenated to the visual tokens before adding position embeddings in an element-wise manner. The resulting tokens are fed into the following transformer layers. Each transformer layer is composed of two parts, i.e., a multi-head self-attention module (MHSA) and a feed forward network (FFN).
|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
Figure 2: The structure of the proposed ViTAE. It is constructed by stacking three RCs and several NCs. Both types of cells share a simple basic structure, i.e., an MHSA module and a parallel convolutional module followed by an FFN. In particular, RC has an extra pyramid reduction module using atrous convolutions with different dilation rates to embed multi-scale context into tokens.
|
| 48 |
+
|
| 49 |
+
MHSA Multi-head self-attention extends single-head self-attention (SHSA) by using different projection matrices for each head. Specifically, the input tokens $x _ { t }$ are first projected to queries $( Q )$ , keys $( K )$ and values $( V )$ using projection matrices, i.e., $Q , K , V = x _ { t } W _ { Q } , x _ { t } Q _ { K } , x _ { t } Q _ { V }$ , where $W _ { Q / K / V } \in R ^ { D \times D }$ denotes the projection matrix for query, key, and value, respectively. Then, the self-attention operation is calculated as:
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
A t t e n t i o n ( Q , K , V ) = s o f t m a x ( \frac { Q K ^ { T } } { \sqrt { D } } ) V .
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
This SHSA module is repeated for $h$ times to formulate the MHSA module, where $h$ is the number of heads. The output features of the $h$ heads are concatenated along the channel dimension and formulate the output of the MHSA module.
|
| 56 |
+
|
| 57 |
+
FFN FFN is placed on top of the MHSA module and applied to each token identically and separately. It consists of two linear transformations with an activation function in between. Besides, a layer normalization [2] and a shortcut are added before and aside from the MHSA and FFN, respectively.
|
| 58 |
+
|
| 59 |
+
# 3.2 Overview architecture of ViTAE
|
| 60 |
+
|
| 61 |
+
ViTAE aims to introduce the intrinsic IB in CNNs to vision transformers. As shown in Figure 2, ViTAE is composed of two types of cells, i.e., RCs and NCs. RCs are responsible for embedding multi-scale context and local information into tokens, and NCs are used to further model the locality and long-range dependencies in the tokens. Taken an image $x \in R ^ { H \times W \times C }$ as input, three RCs are used to gradually downsample $x$ by $4 \times , 2 \times$ , and $2 \times$ , respectively. Thereby, the output tokens of the RCs are of size $[ H / 1 6 , W / 1 6 , D ]$ where $D$ is the token dimension (64 in our experiments). The output tokens of RCs are then flattened as $R ^ { H W / 2 5 6 \times D }$ , concatenated with the class token, and added by the sinusoid position encoding. Next, the tokens are fed into the following NCs, which keep the length of the tokens. Finally, the prediction probability is obtained using a linear classification layer on the class token from the last NC.
|
| 62 |
+
|
| 63 |
+
# 3.3 Reduction cell
|
| 64 |
+
|
| 65 |
+
Instead of directly splitting and flatten images into visual tokens based on a linear image patch embedding layer, we devise the reduction cell to embed multi-scale context and local information into visual tokens, which introduces the intrinsic scale-invariance and locality IBs from convolutions. Technically, RC has two parallel branches responsible for modeling locality and long-range dependency, respectively, followed by an FFN for feature transformation. We denote the input feature of the $i _ { t h } \ : \mathrm { R C }$ as $f _ { i } \in \dot { R } ^ { H _ { i } \times W _ { i } \times D _ { i } }$ . The input of the first RC is the image $x$ . In the global dependencies branch, $f _ { i }$ is firstly fed into a Pyramid Reduction Module (PRM) to extract multi-scale context, i.e.,
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
f _ { i } ^ { m s } \triangleq P R M _ { i } ( f _ { i } ) = C a t ( [ C o n v _ { i j } ( f _ { i } ; s _ { i j } , r _ { i } ) | s _ { i j } \in S _ { i } , r _ { i } \in { \mathcal { R } } ] ) ,
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
where $C o n v _ { i j } ( \cdot )$ indicates the $j$ th convolutional layer in the PRM $( P R M _ { i } ( \cdot ) )$ . It uses a dilation rate $s _ { i j }$ from the predefined dilation rate set $S _ { i }$ corresponding to the ith RC. Note that we use stride convolution to reduce the spatial dimension of features by a ratio $r _ { i }$ from the predefined reduction ratio set $\mathcal { R }$ . The conv features are concatenated along the channel dimension, i.e., $f _ { i } ^ { m s } \in$ $R ^ { ( W _ { i } / p ) \times ( H _ { i } / p ) \times ( | S _ { i } | D ) }$ , where $| { S _ { i } } |$ denotes the number of dilation rates in $S _ { i }$ . $f _ { i } ^ { m s }$ is then processed by an MHSA module to model long-range dependencies, i.e.,
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
f _ { i } ^ { g } = M H S A _ { i } ( I m g 2 S e q ( f _ { i } ^ { m s } ) ) ,
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
where $I m g 2 S e q ( \cdot )$ is a simple reshape operation to flatten the feature map to a 1D sequence. In this way, $f _ { i } ^ { g }$ embeds the multi-scale context in each token. In addition, we use a Parallel Convolutional Module (PCM) to embed local context within the tokens, which are fused with $f _ { i } ^ { g }$ as follows:
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
f _ { i } ^ { l g } = f _ { i } ^ { g } + { \cal P } { \cal C } M _ { i } ( f _ { i } ) .
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
Here, $P C M _ { i } ( \cdot )$ represents the PCM, which is composed of three stacked convolution layers and an $I m g 2 S e q ( \cdot )$ operation. It is noteworthy that the parallel convolution branch has the same spatial downsampling ratio as the PRM by using stride convolutions. In this way, the token features can carry both local and multi-scale context, implying that RC acquires the locality IB and scale-invariance IB by design. The fused tokens are then processed by the FFN, reshaped back to feature maps, and fed into the following RC or NC, i.e.,
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
f _ { i + 1 } = S e q 2 I m g ( F F N _ { i } ( f _ { i } ^ { l g } ) + f _ { i } ^ { l g } ) ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where the $S e q 2 I m g ( \cdot )$ is a simple reshape operation to reshape a token sequence back to feature maps. $F F N _ { i } ( \cdot )$ represents the FFN in the ith RC. In our ViTAE, three RCs are stacked sequentially to gradually reduce the input image’s spatial dimension by $4 \times , 2 \times$ , and $2 \times$ , respectively. The feature maps generated by the last RC are of a size of $[ H / 1 6 , W / 1 6 , D ]$ , which are then flattened into visual tokens and fed into the following NCs.
|
| 90 |
+
|
| 91 |
+
# 3.4 Normal cell
|
| 92 |
+
|
| 93 |
+
As shown in the bottom right part of Figure 2, NCs share a similar structure with the reduction cell except for the absence of the PRM. Due to the relatively small $( \frac { 1 } { 1 6 } \times )$ spatial size of feature maps after RCs, it is unnecessary to use PRM in NCs. Given $f _ { 3 }$ from the third RC, we first concatenate it with the class token $t _ { c l s }$ , and then add it to the positional encodings to get the input tokens $t$ for the following NCs. Here we ignore the subscript for clarity since all NCs have an identical architecture but different learnable weights. $t _ { c l s }$ is randomly initialized at the start of training and fixed during the inference. Similar to the RC, the tokens are fed into the MHSA module, i.e., $t _ { g } = M H S A ( t )$ . Meanwhile, they are reshaped to 2D feature maps and fed into the PCM, i.e., $t _ { l } = \bar { I } m g 2 S e q ( P C M ( S e q 2 I m g ( t ) ) )$ . Note that the class token is discarded in PCM because it has no spatial connections with other visual tokens. To further reduce the parameters in NCs, we use group convolutions in PCM. The features from MHSA and PCM are then fused via element-wise sum, i.e., $t _ { l g } = t _ { g } + t _ { l }$ . Finally, $t _ { l g }$ are fed into the FFN to get the output features of NC, i.e., $t _ { n c } = F F N ( t _ { l g } ) \overline { { + } } t _ { l g }$ . Similar to ViT [19], we apply layer normalization to the class token generated by the last NC and feed it to the classification head to get the final classification result.
|
| 94 |
+
|
| 95 |
+
# 3.5 Model details
|
| 96 |
+
|
| 97 |
+
We use two variants of ViTAE in our experiments for a fair comparison of other models with similar model sizes. The details of them are summarized in Table 1. In the first RC, the default convolution kernel size is $7 \times 7$ with a
|
| 98 |
+
|
| 99 |
+
Table 1: Model details of two variants of ViTAE.
|
| 100 |
+
|
| 101 |
+
<table><tr><td>Model</td><td>Reduction Cell Dilation</td><td>Cells</td><td>Normal Cell Heads Embed Cells</td><td></td><td>Params Macs (M)</td><td>(G)</td></tr><tr><td>ViTAE-T</td><td>[1,2,3,4] √</td><td>3</td><td>4 256</td><td>7</td><td>4.8</td><td>1.5</td></tr><tr><td>ViTAE-S</td><td>[1,2,3,4] √</td><td>3</td><td>6</td><td>384 14</td><td>23.6</td><td>5.6</td></tr></table>
|
| 102 |
+
|
| 103 |
+
stride of 4 and dilation rates of $\mathcal { S } _ { 1 } = [ 1 , 2 , 3 , 4 ]$ . In the following two RCs, the convolution kernel size is $3 \times 3$ with a stride of 2 and dilation rates of $S _ { 2 } = [ 1 , 2 , 3 ]$ and $S _ { 3 } = [ 1 , 2 ]$ , respectively. Since the spatial dimension of tokens decreases, there is no need to use large kernels and dilation rates. PCM in both RCs and NCs comprises three convolutional layers with a kernel size of $3 \times 3$ .
|
| 104 |
+
|
| 105 |
+
# 4 Experiments
|
| 106 |
+
|
| 107 |
+
# 4.1 Implementation details
|
| 108 |
+
|
| 109 |
+
We train and test the proposed ViTAE model on the standard ImageNet [38] dataset, which contains about 1.3 million images and covers 1k classes. Unless explicitly stated, the image size during training is set to $2 2 4 \times 2 2 4$ . We use the AdamW [48] optimizer with the cosine learning rate scheduler and uses the data augmentation strategy exactly the same as T2T [93] for a fair comparison, regarding the training strategies and the size of models. We use a batch size of 512 for training all our models and set the initial learning rate to be 5e-4. The results of our models can be found in Table 2, where all the models are trained for 300 epochs on 8 V100 GPUs. The models are built on PyTorch [57] and TIMM [82].
|
| 110 |
+
|
| 111 |
+
# 4.2 Comparison with the state-of-the-art
|
| 112 |
+
|
| 113 |
+
We compare our ViTAE with both CNN models and vision transformers with similar model sizes in Table 2. Both Top-1/5 accuracy and real Top-1 accuracy on the ImageNet validation set are reported. We categorize the methods into CNN models, vision transformers with learned IB, and vision transformers with introduced intrinsic IB. Compared with CNN models, our ViTAE-T achieves a $7 5 . 3 \%$ Top-1 accuracy, which is better than ResNet-18 with more parameters. The real Top-1 accuracy of the ViTAE model is $8 2 . 9 \%$ , which is comparable to ResNet-50 that has four more times of parameters than ours. Similarly, our ViTAE-S achieves $8 2 . 0 \%$ Top-1 accuracy with half of the parameters of ResNet-101 and ResNet-152, showing the superiority of learning both local and longrange features from specific structures with corresponding intrinsic IBs by design. Similar phenomena can also be observed when comparing ViTAE-T with MobileNetV1 [31] and MobileNetV2 [65], where ViTAE obtains better performance with fewer parameters. When compared with larger models which are searched according to NAS [73], our ViTAE-S achieves a similar performance when using $3 8 4 \times 3 8 4$ images as input, which further shows the potential of vision transformers with intrinsic IB.
|
| 114 |
+
|
| 115 |
+
In addition, among the transformers with learned IB, ViT is the first pure transformer model for visual recognition. DeiT shares the same structure with ViT but uses different data augmentation and training strategies to facilitate the learning of transformers. DeiT⚗ denotes using an off-the-shelf CNN model as the teacher model to train DeiT, which introduces the intrinsic IB from CNN to transformer implicitly in a knowledge distillation manner, showing better performance than the vanilla ViT on the ImageNet dataset. It is exciting to see that our ViTAE-T with fewer parameters even outperforms the distilled model DeiT⚗, demonstrating the efficacy of introducing intrinsic IBs in transformers by design. Besides, compared with other transformers with explicit intrinsic IB, our ViTAE with fewer parameters also achieves comparable or better performance. For instance, ViTAE-T achieves comparable performance with LocalVit-T but has 1M fewer parameters, demonstrating the superiority of the proposed RCs and NCs in introducing intrinsic IBs.
|
| 116 |
+
|
| 117 |
+
# 4.3 Ablation study
|
| 118 |
+
|
| 119 |
+
We use T2T-ViT [93] as our baseline model in the following ablation study of our ViTAE. As shown in Table 3, we investigate the hyper-parameter settings in RCs and NCs by isolating them separately. All the models are trained for 100 epochs on ImageNet and follow the same training setting and data augmentation strategy as described in Section 4.1.
|
| 120 |
+
|
| 121 |
+
Table 2: Comparison of ViTAE and SOTA methods on the ImageNet validation set.
|
| 122 |
+
|
| 123 |
+
<table><tr><td rowspan="2">Type Model</td><td rowspan="2">Params (M)</td><td rowspan="2">MACs (G)</td><td rowspan="2">Input Size</td><td colspan="3">ImageNet Real</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top-1</td></tr><tr><td rowspan="9">CNN</td><td>ResNet-18 [26]</td><td>11.7</td><td>3.6</td><td>224</td><td>70.3</td><td>86.7</td><td>77.3</td></tr><tr><td>ResNet-50 [26]</td><td>25.6</td><td>7.6</td><td>224</td><td>76.7</td><td>93.3</td><td>82.5</td></tr><tr><td>ResNet-101 [26]</td><td>44.5</td><td>15.2</td><td>224</td><td>78.3</td><td>94.1</td><td>83.7</td></tr><tr><td>ResNet-152 [26]</td><td>60.2</td><td>22.6</td><td>224</td><td>78.9</td><td>94.4</td><td>84.1</td></tr><tr><td>EfficientNet-B0 [73]</td><td>5.3</td><td>0.8</td><td>224</td><td>77.1</td><td>93.3</td><td>83.5</td></tr><tr><td>EfficientNet-B4 [73]</td><td>19.3</td><td>8.4</td><td>380</td><td>82.9</td><td>96.4</td><td>88.0</td></tr><tr><td>MobileNetV1 [31]</td><td>4.3</td><td>0.6</td><td>224</td><td>72.3</td><td>1</td><td>-</td></tr><tr><td>MobileNetV2(1.4) [65]</td><td>6.9</td><td>0.6</td><td>224</td><td>74.7</td><td>-</td><td>-</td></tr><tr><td>RegNetY-600M[62]</td><td>6.1</td><td>1.2</td><td>224</td><td>75.5</td><td>-</td><td>-</td></tr><tr><td>RegNetY-4GF[62] RegNetY-8GF[62]</td><td>20.6 39.2</td><td>8.0 16.0</td><td>224</td><td>80.0</td><td>1</td><td>86.4</td></tr><tr><td></td><td></td><td></td><td></td><td>224</td><td>81.7</td><td>1</td><td>87.4</td></tr><tr><td rowspan="14"></td><td>DeiT-T[76]</td><td>5.7</td><td>2.6</td><td>224</td><td>72.2</td><td>91.1</td><td>80.6</td></tr><tr><td>DeiT-T [76]</td><td>5.7</td><td>2.6</td><td>224</td><td>74.5</td><td>91.9</td><td>82.1</td></tr><tr><td>LocalViT-T[43]</td><td>5.9</td><td>2.6</td><td>224</td><td>74.8</td><td>92.6</td><td></td></tr><tr><td>LocalViT-T2T[43]</td><td>4.3</td><td>2.4</td><td>224</td><td>72.5</td><td>-</td><td>1 1</td></tr><tr><td>ConT-Ti [89]</td><td>5.8</td><td>1.6</td><td>224</td><td>74.9</td><td>-</td><td>-</td></tr><tr><td>PiT-Ti [29]</td><td>4.9</td><td>1.4</td><td>224</td><td>73.0</td><td>-</td><td>1</td></tr><tr><td>T2T-ViT-7 [93]</td><td>4.3</td><td>1.2</td><td>224</td><td>71.7</td><td>90.9</td><td>79.7</td></tr><tr><td>ViTAE-T</td><td>4.8</td><td>1.5</td><td>224</td><td>75.3</td><td>92.7</td><td>82.9</td></tr><tr><td>ViTAE-T ↑ 384</td><td>4.8</td><td>5.7</td><td>384</td><td>77.2</td><td>93.8</td><td>84.4</td></tr><tr><td>CeiT-T [92]</td><td>6.4</td><td>2.4</td><td>224</td><td>76.4</td><td>93.4</td><td>83.6</td></tr><tr><td>ConViT-Ti[15]</td><td>6.0</td><td>2.0</td><td>224</td><td>73.1</td><td>1</td><td>1</td></tr><tr><td>Cross ViT-Ti [6]</td><td>6.9</td><td>3.2</td><td>224</td><td>73.4</td><td>1</td><td>1</td></tr><tr><td>ViTAE-6M</td><td>6.5</td><td>2.0</td><td>224</td><td>77.9</td><td>94.1</td><td>84.9</td></tr><tr><td>PVT-T[80] LocalViT-PVT [43]</td><td>13.2</td><td>3.8</td><td>224</td><td>75.1</td><td>1</td><td></td></tr><tr><td rowspan="8">PiT-XS [29] ConT-M [89] ViTAE-13M DeiT-S [76]</td><td>13.5</td><td>9.6</td><td>224</td><td></td><td>94.2</td><td>-</td></tr><tr><td>ConViT-Ti+ [15] 10.0</td><td>4.0</td><td>224</td><td>78.2 76.7</td><td></td><td>1</td></tr><tr><td></td><td>2.8</td><td></td><td>78.1</td><td>1</td><td>-</td></tr><tr><td>10.6 19.2</td><td>6.2</td><td>224 224</td><td>80.2</td><td>-</td><td>1</td></tr><tr><td>13.2</td><td>3.4</td><td>224</td><td>81.0</td><td>- 95.4</td><td>- 86.8</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>22.1 DeiT-S [76] 22.1</td><td>9.8 9.8</td><td>224 224</td><td>79.9 81.2</td><td>95.0 95.4</td><td>85.7 86.8</td></tr><tr><td>PVT-S[80]</td><td>7.6</td><td>224</td><td>79.8</td><td>-</td><td></td></tr><tr><td></td><td>24.5 23.5</td><td>5.2</td><td></td><td>81.3</td><td></td><td>1</td></tr><tr><td>Conformer-Ti [58] Swin-T[47]</td><td></td><td></td><td>224</td><td></td><td>-</td><td></td></tr><tr><td>CeiT-S [92]</td><td>29.0</td><td>9.0</td><td>224</td><td>81.3</td><td>-</td><td>1</td></tr><tr><td>CvT-13 [83]</td><td>24.2 20.0</td><td>9.0</td><td>224</td><td>82.0 81.6</td><td>95.9</td><td>87.3 86.7</td></tr><tr><td>ConViT-S[15]</td><td>27.0</td><td>9.0 10.8</td><td>224 224</td><td>81.3</td><td>1 1</td><td>1</td></tr><tr><td>Cross ViT-S [6]</td><td>26.7</td><td>11.2</td><td>224</td><td>81.0</td><td>1</td><td>1</td></tr><tr><td>PiT-S [29]</td><td>23.5</td><td>4.8</td><td>224</td><td>80.9</td><td></td><td></td></tr><tr><td>TNT-S [23]</td><td></td><td></td><td></td><td></td><td>-</td><td>1</td></tr><tr><td>Twins-PCPVT-S[10]</td><td>23.8</td><td>10.4</td><td>224</td><td>81.3</td><td>95.6</td><td>-</td></tr><tr><td></td><td>24.1</td><td>7.4</td><td>224</td><td>81.2</td><td>-</td><td>-</td></tr><tr><td>Twins-SVT-S [10]</td><td>24.0</td><td>5.6</td><td>224</td><td>81.7</td><td>-</td><td>1</td></tr><tr><td>T2T-ViT-14 [93]</td><td>21.5</td><td>5.2</td><td>224</td><td>81.5</td><td>95.7</td><td>86.8</td></tr><tr><td>ViTAE-S</td><td>23.6</td><td>5.6</td><td>224</td><td>82.0</td><td>95.9</td><td>87.0</td></tr><tr><td>ViTAE-S ↑ 384</td><td>23.6</td><td>20.2</td><td>384</td><td>83.0</td><td>96.2</td><td>87.5</td></tr></table>
|
| 124 |
+
|
| 125 |
+
We use $\checkmark$ and $\times$ to denote whether or not the corresponding module is enabled during the experiments. If all columns under the RC and NC are marked $\times$ as shown in the first row, the model becomes the standard T2T-ViT model. “Pre” indicates the output features of PCM and MHSA are fused before FFN while “Post” indicates a late fusion strategy correspondingly. “BN” indicates whether PCM uses BN after the convolutional layer or not. $\mathit { \Omega } ^ { 6 } \times 3 \mathit { \Omega } ^ { 5 }$ in the first column denotes that the dilation rate set is the same in the three RCs. “ $[ 1 , 2 , 3 , 4 ]$ $\downarrow ^ { \circ }$ denotes using lower dilation rates in deeper RCs, i.e., $\mathcal { S } _ { 1 } = [ 1 , 2 , 3 , 4 ]$ , $S _ { 2 } = [ 1 , 2 , 3 ]$ , $S _ { 3 } = [ 1 , 2 ]$ .
|
| 126 |
+
|
| 127 |
+
As can be seen, using a pre-fusion strategy and BN achieves the best $6 9 . 9 \%$ Top-1 accuracy among other settings. It is noteworthy that all the variants of NC outperform the vanilla T2T-ViT, implying the effectiveness of PCM, which introduces the intrinsic locality IB in transformers. It can also be observed that BN plays an important role in improving the model’s performance as it can help to alleviate the scale deviation between convolution’s and attention’s features. For the RC, we first investigate the impact of using different dilation rates in the PRM, as shown in the first column. As can be seen, using larger dilation rates (e.g., 4 or 5) does not deliver better performance. We suspect that larger dilation rates may lead to plain features in the deeper RCs due to the smaller resolution of feature maps. To
|
| 128 |
+
|
| 129 |
+
Table 3: Ablation Study of RCs and NCs in our ViTAE. “Pre” indicates the output features of PCM and MHSA are fused before FFN while “Post” indicates a late fusion strategy correspondingly. “BN” indicates whether PCM uses BN or not. “ $[ 1 , 2 , 3 , 4 ]$ $\downarrow ^ { \circ }$ denotes using smaller dilation rates in deeper RCs, i.e., $\mathcal { S } _ { 1 } = [ 1 , 2 , 3 , 4 ]$ , $\mathsf { \bar { S } } _ { 2 } = [ 1 , 2 , 3 ]$ , $ { S _ { 3 } } = [ 1 , 2 ]$ .
|
| 130 |
+
|
| 131 |
+
<table><tr><td>Reduction Cell</td><td></td><td>Normal Cell</td><td rowspan="2">Top-1</td></tr><tr><td>Dilation (S1 ~ S3) PCM</td><td>Pre</td><td>BN Post</td></tr><tr><td>× ×</td><td>×</td><td>× ×</td><td>68.7</td></tr><tr><td>× ×</td><td>√</td><td>× ×</td><td>69.1</td></tr><tr><td>× ×</td><td>×</td><td>√ ×</td><td>69.0</td></tr><tr><td>× ×</td><td>×</td><td>√ √</td><td>68.8</td></tr><tr><td>× ×</td><td>√</td><td>× √</td><td>69.9</td></tr><tr><td>[1,2]×3</td><td>× ×</td><td>×</td><td>× 69.5</td></tr><tr><td>[1,2,3]×3 ×</td><td>×</td><td>× ×</td><td>69.9</td></tr><tr><td>[1,2,3,4] × 3 ×</td><td>×</td><td>× ×</td><td>69.2</td></tr><tr><td>[1,2,3,4,5] × 3 ×</td><td>×</td><td>× ×</td><td>68.9</td></tr><tr><td>[1,2,3,4]↓ ×</td><td>×</td><td>× ×</td><td>69.8</td></tr><tr><td>[1,2,3,4]↓ √</td><td>×</td><td>× ×</td><td>71.7</td></tr><tr><td>[1,2,3,4]↓ √</td><td>√</td><td>× √</td><td>72.6</td></tr></table>
|
| 132 |
+
|
| 133 |
+
validate the hypothesis, we use smaller dilation rates in deeper RCs as denoted by $[ 1 , 2 , 3 , 4 ] \downarrow$ . As can be seen, it achieves comparable performance as $[ 1 , 2 , 3 ] \times$ . However, compared with $[ 1 , 2 , 3 , 4 ] \downarrow$ , $[ 1 , 2 , 3 ] \times$ increases the amount of parameters from 4.35M to $4 . 6 \mathsf { M }$ . Therefore, we select $[ 1 , 2 , 3 , 4 ] \downarrow$ as the default setting. In addition, after using PCM in the RC, it introduces the intrinsic locality IB, and the performance increases to $7 1 . 7 \%$ Top-1 accuracy. Finally, the combination of RCs and NCs achieves the best accuracy at $7 2 . 6 \%$ , demonstrating the complementarity between our RCs and NCs.
|
| 134 |
+
|
| 135 |
+
# 4.4 Data efficiency and training efficiency
|
| 136 |
+
|
| 137 |
+
To validate the effectiveness of the introduced intrinsic IBs in improving data efficiency and training efficiency, we compare our ViTAE with T2T-ViT at different training settings: (a) training them using $20 \%$ , $60 \%$ , and $100 \%$ ImageNet training set for equivalent 100 epochs on the full ImageNet training set, e.g., we employ 5 times epochs when using $20 \%$ data for training compared with using $100 \%$ data; and (b) training them using the full ImageNet training set for 100, 200, and 300 epochs respectively. The results are shown in Figure 1. As can be seen, ViTAE consistently outperforms the T2T-ViT baseline by a large margin in terms of both data efficiency and training efficiency. For example, ViTAE using only $20 \%$ training data achieves comparable performance with T2T-ViT using all data. When $60 \%$ training data are used, ViTAE significantly outperforms T2T-ViT using all data by about an absolute $3 \%$ accuracy. It is also noteworthy that ViTAE trained for only 100 epochs has outperformed T2T-ViT trained for 300 epochs. After training ViTAE for 300 epochs, its performance is significantly boosted to $7 5 . 3 \%$ Top-1 accuracy. With the proposed RCs and NCs, the transformer layers in our ViTAE only need to focus on modeling long-range dependencies, leaving the locality and multi-scale context modeling to its convolution counterparts, i.e., PCM and PRM. Such a “divide-and-conquer” strategy facilitates the training of vision transformers, making it possible to learn more efficiently with less training data and fewer training epochs.
|
| 138 |
+
|
| 139 |
+
To further validate the data efficiency of ViTAE model, we train the ViTAE model from scratch on the smaller datasets, i.e., Cifar10 and Cifar100. The results are summarized in Table 4. It can be viewed that with only $1 / 7$ number of epochs, the ViTAE-T model achieves better classification performance on Cifar10 dataset, with far fewer parameters (4.8M v.s. 86M), which further confirms ViTAE model’s data efficiency.
|
| 140 |
+
|
| 141 |
+
Table 4: Results of training from scratch on Cifar10/100.
|
| 142 |
+
|
| 143 |
+
<table><tr><td>Model</td><td>Params (M)</td><td>Top-1 Acc</td><td>Epochs</td><td>Dataset</td></tr><tr><td>DeiT-B</td><td>86.0</td><td>97.5</td><td>7000</td><td>Cifar10</td></tr><tr><td>ViTAE-T</td><td>4.8</td><td>97.7</td><td>1000</td><td>Cifar10</td></tr><tr><td>ViTAE-T</td><td>4.8</td><td>85.0</td><td>1000</td><td>Cifar100</td></tr></table>
|
| 144 |
+
|
| 145 |
+
# 4.5 Generalization on downstream tasks
|
| 146 |
+
|
| 147 |
+
Table 5: Generalization of ViTAE and SOTA methods on different downstream tasks.
|
| 148 |
+
|
| 149 |
+
<table><tr><td>Model</td><td>Params (M)</td><td>Cifar10</td><td>Cifar100</td><td>iNat19</td><td>Cars</td><td>Flowers</td><td>Pets</td></tr><tr><td>Grafit ResNet-50 [78]</td><td>25.6</td><td>-</td><td>=</td><td>75.9</td><td>92.5</td><td>98.2</td><td>-</td></tr><tr><td>EfficientNet-B5 [73]</td><td>30</td><td>98.1</td><td>91.1</td><td>-</td><td>-</td><td>98.5</td><td>-</td></tr><tr><td>ViT-B/16 [19]</td><td>86.5</td><td>98.1</td><td>87.1</td><td>-</td><td>1</td><td>89.5</td><td>93.8</td></tr><tr><td>ViT-L/16 [19]</td><td>304.3</td><td>97.9</td><td>86.4</td><td>-</td><td>-</td><td>89.7</td><td>93.6</td></tr><tr><td>DeiT-B [76]</td><td>86.6</td><td>99.1</td><td>90.8</td><td>77.7</td><td>92.1</td><td>98.4</td><td>-</td></tr><tr><td>T2T-ViT-14 [93]</td><td>21.5</td><td>98.3</td><td>88.4</td><td>-</td><td>-</td><td>-</td><td>1</td></tr><tr><td>ViTAE-T</td><td>4.8</td><td>97.3</td><td>86.0</td><td>73.3</td><td>89.5</td><td>97.5</td><td>92.6</td></tr><tr><td>ViTAE-S</td><td>23.6</td><td>98.8</td><td>90.8</td><td>76.0</td><td>91.4</td><td>97.8</td><td>94.2</td></tr></table>
|
| 150 |
+
|
| 151 |
+
We further investigate the generalization of the proposed ViTAE models on downstream tasks by finetuning them on the training sets of several fine-grained classification tasks3, including Flowers [53], Cars [36], Pets [56], and iNaturalist19. We also fine-tune the proposed ViTAE models on Cifar10 [37] and Cifar100 [37]. The results are shown in Table 5. It can be seen that ViTAE achieves SOTA performance on most of the datasets using comparable or fewer parameters. These results demonstrate that the good generalization ability of our ViTAE.
|
| 152 |
+
|
| 153 |
+
# 4.6 Visual inspection of ViTAE
|
| 154 |
+
|
| 155 |
+
To further analyze the property of our ViTAE, we first calculate the average attention distance of each layer in ViTAE-T and the baseline T2T-ViT-7 on the ImageNet test set, respectively. The results are shown in Figure 3. It can be observed that with the usage of PCM, which focuses on modeling locality, the transformer layers in the proposed NCs can better focus on modeling long-range dependencies, especially in shallow layers. In the deep layers, the average attention distances of ViTAE-T and T2T-ViT-7 are almost the same since modeling long-range dependencies is much more important.
|
| 156 |
+
|
| 157 |
+
These results confirm the effectiveness of the adopted “divide-and-conquer” idea in the proposed ViTAE, i.e., introducing the intrinsic locality IB from convolutions into vision transformers makes it possible that transformer layers only need to be responsible to long-range dependencies, since locality can be well modeled by convolutions in PCM.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 3: The average per-layer attention distance of T2T-ViT-7 and our ViTAE-T.
|
| 161 |
+
|
| 162 |
+
Besides, we apply Grad-CAM [66] on the MHSA’s output in the last NC to qualitatively inspect ViTAE. The visualization results are provided in Figure 4. Compared with the baseline T2T-ViT, our ViTAE covers the single or multiple targets in the images more precisely and attends less to the background. Moreover, ViTAE can better handle the scale variance issue as shown in Figure 4(b). Namely, it can precisely cover the birds no matter they are in small, middle, or large size. Such observations demonstrate that introducing the intrinsic IBs of locality and scale-invariance from convolutions to transformers helps ViTAE learn more discriminate features than the pure transformers.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 4: Visual inspection of T2T-ViT and ViTAE using Grad-CAM [66]. (a) Images containing multiple or single objects and the heatmaps. (b) Images containing the same class of objects at different scales and the heatmaps (Best viewed in color).
|
| 166 |
+
|
| 167 |
+
# 5 Limitation and discussion
|
| 168 |
+
|
| 169 |
+
In this paper, we explore two types of IBs and incorporate them into transformers through the proposed reduction and normal cells. With the collaboration of these two cells, our ViTAE model achieves impressive performance on the ImageNet with fast convergence and high data efficiency. Nevertheless, due to computational resource constraints, we have not scaled the ViTAE model and train it on largesize dataset, e.g., ImageNet-21K [38] and JFT-300M [30]. Although it remains unclear by now, we are optimistic about its scale property from the following preliminary evidence. As illustrated in Figure 2, our ViTAE model can be viewed as an intra-cell ensemble of complementary transformer layers and convolution layers owing to the skip connection and parallel structure. According to the attention distance analysis shown in Figure 3, the ensemble nature enables the transformer layers and convolution layers to focus on what they are good at, i.e., modeling long-range dependencies and locality. Therefore, ViTAE is very likely to learn better feature representation from large-scale data. Besides, we only study two typical IBs in this paper. More kinds of IBs such as constituting viewpoint invariance [64] can be explored in the future study.
|
| 170 |
+
|
| 171 |
+
# 6 Conclusion
|
| 172 |
+
|
| 173 |
+
In this paper, we re-design the transformer block by proposing two basic cells (reduction cells and normal cells) to incorporate two types of intrinsic inductive bias (IB) into transformers, i.e., locality and scale-invariance, resulting in a simple yet effective vision transformer architecture named ViTAE. Extensive experiments show that ViTAE outperforms representative vision transformers in various respects including classification accuracy, data efficiency, training efficiency, and generalization ability on downstream tasks. We plan to scale ViTAE to the large or huge model size and train it on large-size datasets in the future study. In addition, other kinds of IBs will also be investigated. We hope that this study will provide valuable insights to the following studies of introducing intrinsic IB into vision transformers and understanding the impact of intrinsic and learned IBs.
|
| 174 |
+
|
| 175 |
+
Acknowledgement Dr. Jing Zhang is supported by the ARC project FL-170100117.
|
| 176 |
+
|
| 177 |
+
# References
|
| 178 |
+
|
| 179 |
+
processing. RCA engineer, 29(6):33–41, 1984. [2] J. L. Ba, J. R. Kiros, and G. E. Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 180 |
+
[3] H. Bay, T. Tuytelaars, and L. Van Gool. Surf: Speeded up robust features. In European conference on computer vision, pages 404–417. Springer, 2006. [4] P. J. Burt and E. H. Adelson. The laplacian pyramid as a compact image code. In Readings in computer vision, pages 671–679. Elsevier, 1987.
|
| 181 |
+
[5] Z. Cai and N. Vasconcelos. Cascade r-cnn: Delving into high quality object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 6154–6162, 2018. [6] C.-F. Chen, Q. Fan, and R. Panda. Crossvit: Cross-attention multi-scale vision transformer for image classification. arXiv preprint arXiv:2103.14899, 2021. [7] H. Chen, Y. Wang, T. Guo, C. Xu, Y. Deng, Z. Liu, S. Ma, C. Xu, C. Xu, and W. Gao. Pre-trained image processing transformer. arXiv preprint arXiv:2012.00364, 2020. [8] L.-C. Chen, G. Papandreou, F. Schroff, and H. Adam. Rethinking atrous convolution for semantic image segmentation. arXiv preprint arXiv:1706.05587, 2017.
|
| 182 |
+
[9] X. Chen, S. Xie, and K. He. An empirical study of training self-supervised vision transformers. arXiv preprint arXiv:2104.02057, 2021.
|
| 183 |
+
[10] X. Chu, Z. Tian, Y. Wang, B. Zhang, H. Ren, X. Wei, H. Xia, and C. Shen. Twins: Revisiting spatial attention design in vision transformers. arXiv preprint arXiv:2104.13840, 2021.
|
| 184 |
+
[11] X. Chu, Z. Tian, B. Zhang, X. Wang, X. Wei, H. Xia, and C. Shen. Conditional positional encodings for vision transformers. arXiv preprint arXiv:2102.10882, 2021.
|
| 185 |
+
[12] M. Contributors. MMSegmentation: Openmmlab semantic segmentation toolbox and benchmark. https: //github.com/open-mmlab/mmsegmentation, 2020.
|
| 186 |
+
[13] M. Contributors. Openmmlab pose estimation toolbox and benchmark. https://github.com/ open-mmlab/mmpose, 2020.
|
| 187 |
+
[14] Z. Dai, Z. Yang, Y. Yang, J. Carbonell, Q. V. Le, and R. Salakhutdinov. Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860, 2019.
|
| 188 |
+
[15] S. d’Ascoli, H. Touvron, M. Leavitt, A. Morcos, G. Biroli, and L. Sagun. Convit: Improving vision transformers with soft convolutional inductive biases. arXiv preprint arXiv:2103.10697, 2021.
|
| 189 |
+
[16] H. Demirel and G. Anbarjafari. Image resolution enhancement by using discrete and stationary wavelet decomposition. IEEE transactions on image processing, 20(5):1458–1460, 2010.
|
| 190 |
+
[17] J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 191 |
+
[18] X. Ding, X. Zhang, J. Han, and G. Ding. Repmlp: Re-parameterizing convolutions into fully-connected layers for image recognition. arXiv preprint arXiv:2105.01883, 2021.
|
| 192 |
+
[19] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 193 |
+
[20] A. El-Nouby, H. Touvron, M. Caron, P. Bojanowski, M. Douze, A. Joulin, I. Laptev, N. Neverova, G. Synnaeve, J. Verbeek, et al. Xcit: Cross-covariance image transformers. arXiv preprint arXiv:2106.09681, 2021.
|
| 194 |
+
[21] B. Graham, A. El-Nouby, H. Touvron, P. Stock, A. Joulin, H. Jégou, and M. Douze. Levit: a vision transformer in convnet’s clothing for faster inference. arXiv preprint arXiv:2104.01136, 2021.
|
| 195 |
+
[22] M.-H. Guo, Z.-N. Liu, T.-J. Mu, and S.-M. Hu. Beyond self-attention: External attention using two linear layers for visual tasks. arXiv preprint arXiv:2105.02358, 2021.
|
| 196 |
+
[23] K. Han, A. Xiao, E. Wu, J. Guo, C. Xu, and Y. Wang. Transformer in transformer. arXiv preprint arXiv:2103.00112, 2021.
|
| 197 |
+
[24] K. He, G. Gkioxari, P. Dollár, and R. Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961–2969, 2017.
|
| 198 |
+
[25] K. He, X. Zhang, S. Ren, and J. Sun. Spatial pyramid pooling in deep convolutional networks for visual recognition. IEEE transactions on pattern analysis and machine intelligence, 37(9):1904–1916, 2015.
|
| 199 |
+
[26] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
|
| 200 |
+
[27] L. He, Y. Dong, Y. Wang, D. Tao, and Z. Lin. Gauge equivariant transformer. In Thirty-Fifth Conference on Neural Information Processing Systems, 2021.
|
| 201 |
+
[28] B. Heo, S. Yun, D. Han, S. Chun, J. Choe, and S. J. Oh. Rethinking spatial dimensions of vision transformers. In International Conference on Computer Vision (ICCV), 2021.
|
| 202 |
+
[29] B. Heo, S. Yun, D. Han, S. Chun, J. Choe, and S. J. Oh. Rethinking spatial dimensions of vision transformers. arXiv preprint arXiv:2103.16302, 2021.
|
| 203 |
+
[30] G. Hinton, O. Vinyals, and J. Dean. Distilling the knowledge in a neural network. In NIPS Deep Learning and Representation Learning Workshop, 2015.
|
| 204 |
+
[31] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017.
|
| 205 |
+
[32] G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700–4708, vision transformer. arXiv preprint arXiv:2106.03650, 2021.
|
| 206 |
+
[34] S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR, 2015.
|
| 207 |
+
[35] Y. Ke and R. Sukthankar. Pca-sift: A more distinctive representation for local image descriptors. In Proceedings of the IEEE conference on computer vision and pattern recognition, volume 2, pages II–II. IEEE, 2004.
|
| 208 |
+
[36] J. Krause, M. Stark, J. Deng, and L. Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), Sydney, Australia, 2013.
|
| 209 |
+
[37] A. Krizhevsky, G. Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 210 |
+
[38] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097–1105, 2012.
|
| 211 |
+
[39] W.-S. Lai, J.-B. Huang, N. Ahuja, and M.-H. Yang. Deep laplacian pyramid networks for fast and accurate super-resolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 624–632, 2017.
|
| 212 |
+
[40] Z. Lan, M. Chen, S. Goodman, K. Gimpel, P. Sharma, and R. Soricut. Albert: A lite bert for self-supervised learning of language representations. arXiv preprint arXiv:1909.11942, 2019.
|
| 213 |
+
[41] Y. LeCun, Y. Bengio, et al. Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks, 3361(10):1995, 1995.
|
| 214 |
+
[42] Y. LeCun, Y. Bengio, and G. Hinton. Deep learning. nature, 521(7553):436–444, 2015.
|
| 215 |
+
[43] Y. Li, K. Zhang, J. Cao, R. Timofte, and L. Van Gool. Localvit: Bringing locality to vision transformers. arXiv preprint arXiv:2104.05707, 2021.
|
| 216 |
+
[44] G. Lin, C. Shen, A. Van Den Hengel, and I. Reid. Efficient piecewise training of deep structured models for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3194–3203, 2016.
|
| 217 |
+
[45] T.-Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and S. Belongie. Feature pyramid networks for object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2117–2125, 2017.
|
| 218 |
+
[46] Y. Liu, M. Ott, N. Goyal, J. Du, M. Joshi, D. Chen, O. Levy, M. Lewis, L. Zettlemoyer, and V. Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019.
|
| 219 |
+
[47] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021.
|
| 220 |
+
[48] I. Loshchilov and F. Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2018.
|
| 221 |
+
[49] W. Luo, Y. Li, R. Urtasun, and R. S. Zemel. Understanding the effective receptive field in deep convolutional neural networks. In Proceedings of the 30th International Conference on Neural Information Processing Systems, volume 29, pages 4898–4906, 2016.
|
| 222 |
+
[50] L. Melas-Kyriazi. Do you even need attention? a stack of feed-forward layers does surprisingly well on imagenet. arXiv: Computer Vision and Pattern Recognition, 2021.
|
| 223 |
+
[51] H. Nam, J.-W. Ha, and J. Kim. Dual attention networks for multimodal reasoning and matching. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 299–307, 2017.
|
| 224 |
+
[52] P. C. Ng and S. Henikoff. Sift: Predicting amino acid changes that affect protein function. Nucleic acids research, 31(13):3812–3814, 2003.
|
| 225 |
+
[53] M.-E. Nilsback and A. Zisserman. Automated flower classification over a large number of classes. In Indian Conference on Computer Vision, Graphics and Image Processing, Dec 2008.
|
| 226 |
+
[54] S. W. Oh, J.-Y. Lee, N. Xu, and S. J. Kim. Video object segmentation using space-time memory networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9226–9235, 2019.
|
| 227 |
+
[55] H. Olkkonen and P. Pesola. Gaussian pyramid wavelet transform for multiresolution analysis of images. Graphical Models and Image Processing, 58(4):394–398, 1996.
|
| 228 |
+
[56] O. M. Parkhi, A. Vedaldi, A. Zisserman, and C. V. Jawahar. Cats and dogs. In IEEE Conference on Computer Vision and Pattern Recognition, 2012.
|
| 229 |
+
[57] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein, L. Antiga, A. Desmaison, A. Kopf, E. Yang, Z. DeVito, M. Raison, A. Tejani, S. Chilamkurthy, B. Steiner, L. Fang, J. Bai, and S. Chintala. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems, volume 32, pages 8026–8037, 2019.
|
| 230 |
+
[58] Z. Peng, W. Huang, S. Gu, L. Xie, Y. Wang, J. Jiao, and Q. Ye. Conformer: Local features coupling global representations for visual recognition. arXiv preprint arXiv:2105.03889, 2021.
|
| 231 |
+
[59] F. Perazzi, J. Pont-Tuset, B. McWilliams, L. Van Gool, M. Gross, and A. Sorkine-Hornung. A benchmark dataset and evaluation methodology for video object segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 724–732, 2016.
|
| 232 |
+
[60] J. Pont-Tuset, F. Perazzi, S. Caelles, P. Arbeláez, A. Sorkine-Hornung, and L. Van Gool. The 2017 davis challenge on video object segmentation. arXiv preprint arXiv:1704.00675, 2017.
|
| 233 |
+
[61] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
|
| 234 |
+
[62] I. Radosavovic, R. P. Kosaraju, R. Girshick, K. He, and P. Dollár. Designing network design spaces. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 10428–10436, 2020.
|
| 235 |
+
[63] E. Rublee, V. Rabaud, K. Konolige, and G. Bradski. Orb: An efficient alternative to sift or surf. In Proceedings of the IEEE international conference on computer vision, pages 2564–2571. Ieee, 2011.
|
| 236 |
+
[64] S. Sabour, N. Frosst, and G. E. Hinton. Dynamic routing between capsules. arXiv preprint arXiv:1710.09829, 2017.
|
| 237 |
+
[65] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4510–4520, 2018.
|
| 238 |
+
[66] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pages 618–626, 2017.
|
| 239 |
+
[67] P. Shaw, J. Uszkoreit, and A. Vaswani. Self-attention with relative position representations. arXiv preprint arXiv:1803.02155, 2018.
|
| 240 |
+
[68] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 241 |
+
[69] A. Srinivas, T.-Y. Lin, N. Parmar, J. Shlens, P. Abbeel, and A. Vaswani. Bottleneck transformers for visual recognition. arXiv preprint arXiv:2101.11605, 2021.
|
| 242 |
+
[70] C. Szegedy, S. Ioffe, V. Vanhoucke, and A. Alemi. Inception-v4, inception-resnet and the impact of residual connections on learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 31, 2017.
|
| 243 |
+
[71] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1–9, 2015.
|
| 244 |
+
[72] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2818–2826, 2016.
|
| 245 |
+
[73] M. Tan and Q. Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, pages 6105–6114. PMLR, 2019.
|
| 246 |
+
[74] I. Tolstikhin, N. Houlsby, A. Kolesnikov, L. Beyer, X. Zhai, T. Unterthiner, J. Yung, D. Keysers, J. Uszkoreit, M. Lucic, and A. Dosovitskiy. Mlp-mixer: An all-mlp architecture for vision. arXiv preprint arXiv:2105.01601, 2021.
|
| 247 |
+
[75] H. Touvron, P. Bojanowski, M. Caron, M. Cord, A. El-Nouby, E. Grave, A. Joulin, G. Synnaeve, J. Verbeek, and H. Jégou. Resmlp: Feedforward networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021.
|
| 248 |
+
[76] H. Touvron, M. Cord, M. Douze, F. Massa, A. Sablayrolles, and H. Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 249 |
+
[77] H. Touvron, M. Cord, A. Sablayrolles, G. Synnaeve, and H. Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021.
|
| 250 |
+
[78] H. Touvron, A. Sablayrolles, M. Douze, M. Cord, and H. Jégou. Grafit: Learning fine-grained image representations with coarse labels. arXiv preprint arXiv:2011.12982, 2020.
|
| 251 |
+
[79] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In Proceedings of the 31st International Conference on Neural Information Processing Systems, volume 30, pages 5998–6008, 2017.
|
| 252 |
+
[80] W. Wang, E. Xie, X. Li, D.-P. Fan, K. Song, D. Liang, T. Lu, P. Luo, and L. Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. arXiv preprint arXiv:2102.12122, 2021.
|
| 253 |
+
[81] X. Wang, R. Girshick, A. Gupta, and K. He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018.
|
| 254 |
+
[82] R. Wightman. Pytorch image models. https://github.com/rwightman/pytorch-image-models, 2019.
|
| 255 |
+
[83] H. Wu, B. Xiao, N. Codella, M. Liu, X. Dai, L. Yuan, and L. Zhang. Cvt: Introducing convolutions to vision transformers. arXiv preprint arXiv:2103.15808, 2021.
|
| 256 |
+
[84] B. Xiao, H. Wu, and Y. Wei. Simple baselines for human pose estimation and tracking. In Proceedings of the European Conference on Computer Vision (ECCV), September 2018.
|
| 257 |
+
[85] T. Xiao, Y. Liu, B. Zhou, Y. Jiang, and J. Sun. Unified perceptual parsing for scene understanding. In Proceedings of the European Conference on Computer Vision (ECCV), pages 418–434, 2018.
|
| 258 |
+
[86] J. Xie, R. Zeng, Q. Wang, Z. Zhou, and P. Li. So-vit: Mind visual tokens for vision transformer. arXiv preprint arXiv:2104.10935, 2021.
|
| 259 |
+
[87] S. Xie, R. Girshick, P. Dollár, Z. Tu, and K. He. Aggregated residual transformations for deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1492–1500, 2017.
|
| 260 |
+
[88] W. Xu, Y. Xu, T. Chang, and Z. Tu. Co-scale conv-attentional image transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 9981–9990, October 2021.
|
| 261 |
+
[89] H. Yan, Z. Li, W. Li, C. Wang, M. Wu, and C. Zhang. Contnet: Why not use convolution and transformer at the same time? arXiv preprint arXiv:2104.13497, 2021.
|
| 262 |
+
[90] F. Yu and V. Koltun. Multi-scale context aggregation by dilated convolutions. In ICLR 2016 : International Conference on Learning Representations 2016, 2016.
|
| 263 |
+
[91] F. Yu, V. Koltun, and T. Funkhouser. Dilated residual networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 472–480, 2017.
|
| 264 |
+
[92] K. Yuan, S. Guo, Z. Liu, A. Zhou, F. Yu, and W. Wu. Incorporating convolution designs into visual transformers. arXiv preprint arXiv:2103.11816, 2021.
|
| 265 |
+
[93] L. Yuan, Y. Chen, T. Wang, W. Yu, Y. Shi, Z. Jiang, F. E. Tay, J. Feng, and S. Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet. arXiv preprint arXiv:2101.11986, 2021.
|
| 266 |
+
[94] M. D. Zeiler and R. Fergus. Visualizing and understanding convolutional networks. In European conference on computer vision, pages 818–833. Springer, 2014.
|
| 267 |
+
[95] X. Zhang, X. Zhou, M. Lin, and J. Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 6848–6856, 2018.
|
| 268 |
+
[96] H. Zhao, J. Shi, X. Qi, X. Wang, and J. Jia. Pyramid scene parsing network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 2881–2890, 2017.
|
| 269 |
+
[97] S. Zheng, J. Lu, H. Zhao, X. Zhu, Z. Luo, Y. Wang, Y. Fu, J. Feng, T. Xiang, P. H. S. Torr, and L. Zhang. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020.
|
| 270 |
+
[98] B. Zhou, H. Zhao, X. Puig, S. Fidler, A. Barriuso, and A. Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017.
|
| 271 |
+
[99] B. Zhou, H. Zhao, X. Puig, T. Xiao, S. Fidler, A. Barriuso, and A. Torralba. Semantic understanding of scenes through the ade20k dataset. International Journal of Computer Vision, 127(3):302–321, 2019.
|
| 272 |
+
[100] X. Zhu, W. Su, L. Lu, B. Li, X. Wang, and J. Dai. Deformable detr: Deformable transformers for end-to-end object detection. In International Conference on Learning Representations, 2021.
|
parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/_RnHyIeu5Y5/_RnHyIeu5Y5_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJe04p4YDB/rJe04p4YDB.md
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SEMI-SUPERVISED LEARNING BY COACHING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Recent semi-supervised learning (SSL) methods often have a teacher to train a student in order to propagate labels from labeled data to unlabeled data. We argue that a weakness of these methods is that the teacher does not learn from the student’s mistakes during the course of student’s learning. To address this weakness, we introduce Coaching, a framework where a teacher generates pseudo labels for unlabeled data, from which a student will learn and the student’s performance on labeled data will be used as reward to train the teacher using policy gradient.
|
| 8 |
+
|
| 9 |
+
Our experiments show that Coaching significantly improves over state-of-the-art SSL baselines. For instance, on CIFAR-10, with only 4,000 labeled examples, a WideResNet-28-2 trained by Coaching achieves $9 6 . 1 1 \%$ accuracy, which is better than $9 4 . 9 \%$ achieved by the same architecture trained with 45,000 labeled. On ImageNet with $10 \%$ labeled examples, Coaching trains a ResNet-50 to $7 2 . 9 4 \%$ top-1 accuracy, comfortably outperforming the existing state-of-the-art by more than $4 \%$ . Coaching also scales successfully to the high data regime with full ImageNet. Specifically, with additional 9 million unlabeled images from OpenImages, Coaching trains a ResNet-50 to $8 2 . 3 4 \%$ top-1 accuracy, setting a new state-of-the-art for the architecture on ImageNet without using extra labeled data.1
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Professional players in competitive sports such as chess, tennis, or swimming often have coaches to help improving their performance. Although coaches typically do not play as well as the players, they observe the players and provide instructions to improve the players’ performance. Modern semi-supervised learning (SSL) algorithms do not follow this strategy. They instead have a teacher model that generates pseudo labels for unlabeled data, from which a student model learns by imitation (e.g., Lee (2013); Tarvainen & Valpola (2017); Laine & Aila (2017)). A weakness of these methods is that the teacher does not adjust itself based on the student’s performance and cannot adapt to make the student better over time, unlike professional sport coaches develop their players.
|
| 14 |
+
|
| 15 |
+
Here, we propose a new semi-supervised learning method, called Coaching as shown in Figure 1, where the teacher learns throughout the course of student’s training. In our method, a teacher generates pseudo labels for unlabeled data, from which the student will learn. The student’s performance on labeled data will be used as reward to train the teacher with policy gradient.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Each step of gradient descent in Coaching consists of two steps. Updating the Student (top): The teacher network $T$ samples the labels $\hat { y }$ of unlabeled data $x _ { \mathrm { u n l } }$ for the student $S$ to learn from. Updating the Teacher (bottom): The teacher updates itself using policy gradient to improve the student’s performance on labeled data $x _ { \mathrm { l a b } }$ .
|
| 19 |
+
|
| 20 |
+
Experiments show that our method achieves significant improvements over state-of-the-art semisupervised learning baselines and can be up to $1 0 \times$ more data efficient than supervised learning. For instance, with CIFAR-10, only using 4,000 labeled examples, a WideResNet-28-2 can be coached to $9 6 . 1 1 \%$ accuracy, outperforming the same model trained with 45,000 labeled examples which achieves $9 4 . 9 \%$ . Meanwhile, on ImageNet, using ResNet-50 with only $1 0 \%$ labeled examples, our method achieves $7 2 . 9 4 \%$ top-1 accuracy, outperforming all existing semi-supervised learning methods with the same amount of labeled data, and approaching the top-1 accuracy of $7 6 . 3 \%$ of the same ResNet-50 trained with all labels. Coaching also scales to the high data regime. In particular, with all 1.28 million labeled examples from ImageNet, plus 9 million unlabeled and potentially out-of-distribution data from OpenImages (Kuznetsova et al., 2018), a ResNet-50 can be coached to the accuracy of $8 2 . 3 4 \%$ , which is a new state-of-the-art for the architecture without using extra labeled data.
|
| 21 |
+
|
| 22 |
+
# 2 METHOD
|
| 23 |
+
|
| 24 |
+
Notations. Let $T$ , $S$ respectively be the teacher network and the student network in Coaching, and $\theta _ { T }$ , $\theta _ { S }$ be their corresponding parameters. Since we work with both labeled data and unlabeled data, we use $( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } )$ to refer to a pair of an input and its corresponding label, and use $x _ { \mathrm { u n l } }$ to refer to an unlabeled example. In addition, we use $\ell ( x , y ; \theta )$ to denote the cross entropy loss computed on input $x$ by with parameter $\theta$ on label $y$ .
|
| 25 |
+
|
| 26 |
+
As shown in Figure 1, each training step in Coaching consists of two phases:
|
| 27 |
+
|
| 28 |
+
Phase 1: The student learns from data pseudo labeled by the teacher. In this phase, the teacher $T$ first performs a forward pass on $x _ { \mathrm { u n l } }$ to compute the class distribution $P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } )$ . From this distribution, the teacher samples a pseudo label $\hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } )$ . The pair $x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } }$ is then shown to the student $S$ to make an update on its parameters $\theta _ { S }$ . The update is based on the gradient computed by back-propagating from the cross entropy loss. For instance, if $\theta _ { S }$ is updated using SGD, then:
|
| 29 |
+
|
| 30 |
+
$$
|
| 31 |
+
\theta _ { S } ^ { ( t + 1 ) } : = \theta _ { S } ^ { t } - \eta \cdot \underbrace { \frac { \partial \ell ( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { S } ) } { \partial \theta _ { S } } } _ { \xrightarrow [ ] { \Delta } } \bigg | _ { \theta _ { S } = \theta _ { S } ^ { ( t ) } } = \theta _ { S } ^ { ( t ) } - \eta \cdot g _ { S } ^ { ( t ) } ,
|
| 32 |
+
$$
|
| 33 |
+
|
| 34 |
+
where $\eta$ is the learning rate.
|
| 35 |
+
|
| 36 |
+
Phase 2: The teacher learns from the student’s loss. After the student updates its parameters
|
| 37 |
+
as in Equation 1, its parameters entropy loss. The goal of the testudent is updated as in Equation $\theta _ { S } ^ { ( t + 1 ) }$ ) led example xlab, ylab is evaluated on a laben Coaching is to give tn the cross entropy loss using the crosssuch that if theill be minimized. $\hat { y } _ { \mathrm { u n l } }$ $^ { l }$ $\ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } ^ { ( t + 1 ) } )$
|
| 38 |
+
|
| 39 |
+
Clearly, $\ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } ^ { ( t + 1 ) } )$ depends on $\theta _ { S } ^ { ( t + 1 ) }$ , which in turn depends on the pseudo label $\hat { y } _ { \mathrm { u n l } }$ that the teacher samples. From the perspective of reinforcement learning, $\hat { y } _ { \mathrm { u n l } }$ can be treated as an onpolicy action of the teacher, which leads to the reward of $- \ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } ^ { ( t + 1 ) } )$ . In this perspective, we propose to train $\theta _ { T }$ to minimize the value of $\ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \bar { \theta } _ { S } ^ { ( t + 1 ) } )$ , where $\bar { \theta } _ { S } ^ { ( t + 1 ) }$ is the expected destination that the teacher will guide the student to. This expectation is taken over all possible pseudo labels $\hat { y } _ { \mathrm { u n l } }$ . Formally,
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\theta _ { T } ^ { * } = \operatorname * { a r g m i n } _ { \theta _ { T } } R ( \theta _ { T } ) \mathrm { ~ w h e r e ~ } R ( \theta _ { T } ) = \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \mathbb { E } _ { \hat { y } _ { \mathrm { t u n l } } \sim P ( \cdot | x _ { \mathrm { l a b } } ; \theta _ { T } ) } \left[ \theta _ { S } ^ { ( t + 1 ) } \right] \right)
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
To find $\theta _ { T } ^ { * }$ , we differentiate $R ( \theta _ { T } )$ in Equation 2 with respect to $\theta _ { T }$ . Here, we present the resulting gradient $g _ { T } ^ { ( t ) }$ , which has the form
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
g _ { T } ^ { ( t ) } \approx \eta \cdot \left[ \left( g _ { S } ^ { ( t ) } \right) ^ { \top } \cdot \left( \frac { \partial \ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } ) } { \partial \theta _ { S } } \bigg | _ { \theta _ { S } = \theta _ { S } ^ { ( t + 1 ) } } \right) ^ { \top } \right] \cdot \left( \frac { \partial \ell ( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { T } ) } { \partial \theta _ { T } } \bigg | _ { \theta _ { T } = \theta _ { T } ^ { ( t ) } } \right)
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
The full derivation can be found in Appendix A, but intuitively, the differentiation depends on two tools. The first tool is the is the chain rule, which we leverage to differentiate $R ( \theta _ { T } )$ with respect to $\theta _ { T }$ . The second tool is the REINFORCE equation (Williams, 1992), which we leverage to establish the relationship between $\mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } } \left[ \theta _ { S } ^ { ( t + 1 ) } \right]$ and $\theta _ { T }$ .
|
| 52 |
+
|
| 53 |
+
Coaching combines the two steps above in an SGD step. We summarize the method in Algorithm 1.
|
| 54 |
+
|
| 55 |
+
# Algorithm 1 The Coaching method.
|
| 56 |
+
|
| 57 |
+
Input :Labeled data $x _ { \mathrm { l a b } }$ , $y _ { \mathrm { l a b } }$ and unlabeled data $x _ { \mathrm { u n l } }$ .
|
| 58 |
+
1 Initialize $\theta _ { T } ^ { ( 0 ) }$ and $\theta _ { S } ^ { ( 0 ) }$
|
| 59 |
+
2 for $t = 0$ to $N - 1$ do
|
| 60 |
+
3 Sample an unlabeled example $x _ { \mathrm { u n l } }$ and a labeled example $x _ { \mathrm { l a b } }$ , $y _ { \mathrm { l a b } }$
|
| 61 |
+
4 Sample $\hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } )$
|
| 62 |
+
5 $\theta _ { S } ^ { ( t + 1 ) } : = \theta _ { S } ^ { ( t ) } - \eta \cdot g _ { S } ^ { ( t ) }$ . Compute $g _ { S } ^ { ( t ) }$ with pseudo labels as in Equation 1 and update $\theta _ { S }$
|
| 63 |
+
6 Sθ(t+1)T : $\theta _ { T } ^ { ( t + 1 ) } : = \theta _ { T } ^ { ( t ) } - \eta \cdot h ^ { ( t ) } \cdot g _ { T } ^ { ( t ) }$ . Compute the gradient $g _ { T } ^ { ( t ) }$ as in Equation 3 and update $\theta _ { T }$
|
| 64 |
+
7 end
|
| 65 |
+
8 return $\theta _ { S } ^ { ( N ) }$ . Only the student model is used for predictions and evaluations
|
| 66 |
+
|
| 67 |
+
Generalize to an arbitrary batch size. Above, we have only discussed Coaching for a single unlabeled data $x _ { \mathrm { u n l } }$ and a single labeled data $x _ { \mathrm { l a b } }$ , $y _ { \mathrm { l a b } }$ . Now, we describe how to scale Coaching to an arbitrary batch size. Scaling $x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } }$ to a minibatch of labeled example, $X _ { \mathrm { l a b } }$ , $Y _ { \mathrm { l a b } }$ is straightforward, as we can simply replace all computations of the cross entropy $\ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } ^ { ( t + 1 ) } )$ with the average cross entropy on the minibatch \`(Xlab, Ylab; θ(t+1)S ). T(1) (2) o scale a single unlabeled example xunl to a minibatch of unlabeled examples $X _ { \mathrm { u n l } } = \{ x _ { \mathrm { u n l } } ^ { ( 1 ) } , x _ { \mathrm { u n l } } ^ { ( 2 ) } , . . . , x _ { \mathrm { u n l } } ^ { ( B ) } \}$ , we treat each batch of pseudo labels $\hat { Y } _ { \mathrm { u n l } }$ as a compound action sampled from the joint distribution
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
P \left( \hat { Y } _ { \mathrm { u n l } } \middle | X _ { \mathrm { u n l } } ; \theta _ { T } \right) = P \left( \hat { y } _ { \mathrm { u n l } } ^ { ( 1 ) } , \hat { y } _ { \mathrm { u n l } } ^ { ( 2 ) } , \ldots , \hat { y } _ { \mathrm { u n l } } ^ { ( B ) } \middle | X _ { \mathrm { u n l } } ; \theta _ { T } \right) = \prod _ { i = 1 } ^ { B } P \left( \hat { y } _ { \mathrm { u n l } } ^ { ( i ) } \middle | x _ { \mathrm { u n l } } ^ { ( i ) } ; \theta _ { T } \right)
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
Since every pseudo label $\hat { y } _ { \mathrm { u n l } } ^ { ( i ) }$ is sampled independently, applying REINFORCE as in Equation 3 simply factors the per-instance cross entropy into the batch cross entropy $\begin{array} { r l } { ~ } & { { } \sum _ { i = 1 } ^ { B } \ell ( x _ { \mathrm { u n l } } ^ { ( i ) } , \hat { y } _ { \mathrm { u n l } } ^ { ( i ) } ; \theta _ { T } ) } \end{array}$ .
|
| 74 |
+
|
| 75 |
+
# 3 EXPERIMENTS
|
| 76 |
+
|
| 77 |
+
Compared to other methods that use both labeled data and unlabeled data, Coaching has three main advantages:
|
| 78 |
+
|
| 79 |
+
1. The teacher does not only demonstrate its knowledge to the student but also adjusts its teaching strategy in an adaptive manner with the student, throughout the course of the student’s learning.
|
| 80 |
+
2. The teacher in Coaching can benefit from advanced SSL techniques such as consistency regularization.
|
| 81 |
+
3. The student in Coaching never learns directly from labeled data. This does not only prevent overfitting when limited labeled data is available, but also allows us to finetune the trained student in Coaching directly on labeled data to further boost the student’s performance.
|
| 82 |
+
|
| 83 |
+
We perform experiments to verify the strength of Coaching. In Section 3.1, we consider the low data regime with typical benchmarks for SSL methods. After that, in Section 3.2, we consider the high data regime which contains potentially out-of-distribution data.
|
| 84 |
+
|
| 85 |
+
Model Architectures. In our experiments, our teacher model and our student model always have the same architecture but with different weights. For CIFAR-10 and SVHN, we use the WideResNet28-2 (Zagoruyko & Komodakis, 2016), which has 1.45 million parameters. For ImageNet, we use a ResNet-50 (He et al., 2016), which has 25.5 million parameters. For experiments that train only one model, we apply exponential moving average with a decay rate of 0.99 on the weights of the model. For experiments that have a teacher model and a student model, we apply this exponential moving average on the weights of the student model only.
|
| 86 |
+
|
| 87 |
+
Additional Implementation Details. To improve the stability and accuracy of the method, we apply a few minor enhancements to the teacher:
|
| 88 |
+
|
| 89 |
+
1. Use cosine distance instead of dot product. As the dot product $h ^ { ( t ) }$ in Equation 3 has a large value range, in order to stabilize training, we compute $h ^ { ( t ) }$ using the gradients’ cosine distance.
|
| 90 |
+
2. Use a baseline for $h ^ { ( t ) }$ . To further reduce the variance of $h ^ { ( t ) }$ , we maintain a moving average $b$ of $h ^ { ( t ) }$ and subtract $b$ from $h ^ { ( t ) }$ every time we compute $g _ { T } ^ { ( t ) }$ as in Equation 3.
|
| 91 |
+
3. Additional supervised loss for the teacher. We find that adding the supervised loss $\ell ( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { T } )$ to the teacher’s objective results in a faster learning and better student.
|
| 92 |
+
4. Consistently regularize the teacher. In the low data regime, consistency regularization improves the teacher and the student. More details are in Section 3.1.
|
| 93 |
+
5. Pre-training the teacher. When the number of classes is large, it is beneficial to initialize the teacher with a trained model so that the pseudo labels are better than random at the beginning of the student’s learning. If we pre-train the teacher, Point 3 has minimal effect.
|
| 94 |
+
6. Finetuning the student. Since the student in Coaching only learns from unlabeled data and pseudo labels generated by the teacher, finetuning a converged student on labeled data often improves the student’s performance.
|
| 95 |
+
|
| 96 |
+
The details mentioned above are mutually orthogonal. Since (1) and (2) are crucial to stabilize the Coaching process, they are always used in our experiments. In addition, we apply (3) and (4) to the low data regime, and apply (5) for the high data regime for computational efficiency and strong performance. We will explain these decisions in the corresponding sections.
|
| 97 |
+
|
| 98 |
+
# 3.1 RESULTS ON LOW DATA REGIME
|
| 99 |
+
|
| 100 |
+
Datasets. We consider three datasets with reduced numbers of labeled instances: CIFAR10 (Krizhevsky, 2009) with 4,000 labeled examples, SVHN (Netzer et al., 2011) with 1,000 labeled examples, and ImageNet (Russakovsky et al., 2015) with 128,000 labeled examples, which is approximately $1 0 \%$ of the whole ImageNet. All images in these datasets are used as unlabeled examples, which means that even the labeled images can be used as unlabeled examples. We use the image size of $3 2 \times 3 2$ for CIFAR-10 and SVHN, and the image size of $2 2 4 \times 2 2 4$ for ImageNet. These datasets, label reductions, and image sizes are standard for low data image classification.
|
| 101 |
+
|
| 102 |
+
Baselines. We compare Coaching against 3 baseline training algorithms Purely Supervised, PseudoLabel (Lee, 2013), and Unsupervised Data Augmentation (UDA; Xie et al. (2019)). We discuss these baselines more in Section 4. We choose these baselines for three reasons. First, the purely supervised baseline serves to verify our implementation and to demonstrate the overfitting of our models when labeled data is scarce. Second, comparing Coaching with Pseudo-Label confirms the benefits of continuing to train the teacher throughout the course of the student’s learning. Finally, we compare against UDA because is the state-of-the-art on the datasets that we consider.
|
| 103 |
+
|
| 104 |
+
To ensure a fair comparison, we re-implement these baselines in our environment. We follow Oliver et al. (2018)’s train/eval/test splitting, and we use the same amount of resources to tune hyperparameters for our baselines as well as for Coaching. More details are in Appendix C.
|
| 105 |
+
|
| 106 |
+
Additional baselines. In addition to the three main baselines discussed above, we also include four other baselines: Temporal Ensemble (Laine & Aila, 2017), Mean Teacher (Tarvainen & Valpola, 2017), VAT (Miyato et al., 2018), LGA (Jackson & Schulman, 2019), ICT (Verma et al., 2019), and MixMatch (Berthelot et al., 2019). We use results reported by Oliver et al. (2018). Since these methods do not share the same controlled environment, the comparison to them is not direct, and should be contextualized as suggested by Oliver et al. (2018).
|
| 107 |
+
|
| 108 |
+
Data augmentations. In our implementation of UDA and Coaching, we use RandomAugment, which is a randomized augmentation strategy over all the operations in the search space of AutoAugment (Cubuk et al., 2019). We use RandomAugment because it is simple to implement, requires no expensive search, and achieves similar performance compared to UDA with AutoAugment. More details of RandomAugment can be found in Appendix C.2.
|
| 109 |
+
Table 1: Image Classification Accuracy on reduced CIFAR-10, SVHN, and ImageNet. Higher is better. For CIFAR-10 and SVHN, we report mean $\pm$ std over 10 runs, while for ImageNet, we report Top-1/Top-5 accuracy of a single run. Results in the second block are taken from past papers, while the rest shares the same environment and hyper-parameter settings. All methods share the same model architecture: WideResNet-28-2 for CIFAR-10 and SVHN, and ResNet-50 for ImageNet.
|
| 110 |
+
|
| 111 |
+
<table><tr><td>Methods</td><td>CIFAR-10 (4,000)</td><td>SVHN (1,000)</td><td>ImageNet (10%)</td></tr><tr><td>Purely Supervised on full dataset</td><td>94.92 ± 0.17</td><td>97.41 ± 0.16</td><td>76.89/93.27</td></tr><tr><td>Temporal Ensemble</td><td>83.63 ±0.63</td><td>92.81± 0.27</td><td></td></tr><tr><td>Mean Teacher</td><td>84.13± 0.28</td><td>94.35 ± 0.47</td><td></td></tr><tr><td>VAT+EntMin</td><td>86.87± 0.39</td><td>94.65 ± 0.19</td><td>-/83.39</td></tr><tr><td>LGA +VAT</td><td>87.94 ± 0.19</td><td>93.42 ± 0.36</td><td>1</td></tr><tr><td>ICT</td><td>92.71±0.02</td><td>96.11 ± 0.04</td><td></td></tr><tr><td>MixMatch</td><td>93.76±0.06</td><td>96.73 ± 0.31</td><td></td></tr><tr><td>Purely Supervised</td><td>82.14±0.25</td><td>88.17 ±0.47</td><td>57.75/80.23</td></tr><tr><td>Pseudo Labels</td><td>83.79 ± 0.11</td><td>89.81± 0.41</td><td>58.21/82.19</td></tr><tr><td>UDA (our implementation)</td><td>94.53 ±0.18</td><td>97.11 ± 0.17</td><td>68.07/88.19</td></tr><tr><td>Coaching</td><td>95.60 ±0.19</td><td>97.79 ± 0.11</td><td>72.39/90.52</td></tr><tr><td>Coaching + Finetune</td><td>96.11 ± 0.07</td><td>98.01 ± 0.07</td><td>72.94/90.80</td></tr></table>
|
| 112 |
+
|
| 113 |
+
Main results. In Table 1, we present our main results before and after finetuning the student on labeled data. The results confirm that Coaching significantly outperforms UDA and other strong baselines in semi-supervised learning.
|
| 114 |
+
|
| 115 |
+
On CIFAR-10 and SVHN, compared to the state-of-the-art UDA, Coaching’s error rate reduction are roughly $3 0 \%$ and $1 0 \%$ . As UDA’s accuracy is already relatively high, such error reductions are significant. On CIFAR-10, Coaching is also the first approach to exceed supervised learning on the all labels by using merely 4,000 labeled examples. Meanwhile, on ImageNet- $10 \%$ , Coaching outperforms UDA by almost $5 \%$ in top-1 accuracy, going from $6 8 . 0 7 \%$ to ${ \bar { 7 } } 2 . 9 4 \%$ . Even prior to finetuning on labeled data, Coaching still outperforms UDA and other baselines.
|
| 116 |
+
|
| 117 |
+
Comparing to existing state-of-the-art methods. To the best of our knowledge, Coaching has achieved new state-of-the-art performances among the same model architectures on three datasets considered in this section.
|
| 118 |
+
|
| 119 |
+
For CIFAR-10 and SVHN, all existing better results use a larger model and more advanced regularization techniques. For instance, Xie et al. (2019) reports $9 7 . 3 \%$ with UDA (Xie et al., 2019), but their backbone model is PyramidNet, which has $1 8 \times$ more parameters than WideResNet-28-2 and they train with Shake-Drop regularization (Yamada et al., 2018). Similarly, for ImageNet- $10 \%$ , the only better published result is $7 3 . 2 1 \%$ top-1 accuracy, achieved by MOAM- $S ^ { 4 } L$ (Zhai et al., 2019). This accuracy is only slightly better than Coaching’s $7 2 . 9 4 \%$ , but uses a $4 \times$ wider ResNet-50. We believe that the enhancements in architectures, regularization techniques, and model sizes, can be applied to Coaching to further improve our results.
|
| 120 |
+
|
| 121 |
+
# 3.2 RESULTS ON HIGH DATA REGIME
|
| 122 |
+
|
| 123 |
+
We have seen Coaching achieves strong performance for low data image classification tasks. Another aspect of these tasks is that the unlabeled data also come from the same domain as the labeled data, which is a restricted assumption. In this section, we show that Coaching also excels in the regime where we have a large labeled dataset and an order of magnitude more unlabeled data. In this regime, we also test the performance of our method when the unlabeled set may have out-of-domain images, i.e., the images belong to categories that do not exist in ImageNet.
|
| 124 |
+
|
| 125 |
+
Datasets. We experiment with all labeled examples in ImageNet. Additionally, we take unlabeled images from the entire $4 ^ { \mathrm { t h } }$ version of OpenImages dataset (Kuznetsova et al., 2018), which has 9 million natural images. A few samples from OpenImages can be found in Figure 2. Unless otherwise specified, for both datasets, we use the image size of $2 2 4 \times 2 2 4$ .
|
| 126 |
+
|
| 127 |
+
Baselines. Since this regime of high data has not been extensively studied, we are only aware of two relevant, strong baselines. Our first baseline is Billion-scale Semi-supervised Learning (Billion-scale SSL; Yalniz et al. (2019)). Billion-scale SSL uses unlabeled data from the YFCC100M dataset (Thomee et al., 2015), studies several self-training settings, with various model architectures for teachers and students. Here, we restrict our comparison to the settings that use ResNet-50 for both the teacher and the student. Our second baseline is UDA (Xie et al., 2019), for which the authors select unlabeled images algorithmically from the JFT dataset.2
|
| 128 |
+
|
| 129 |
+
Other than these baselines, we compare Coaching to techniques that enhance supervised learning, such as DropBlock (Ghiasi et al., 2018), CutMix (Yun et al., 2019), and FixRes (Touvron et al., 2019).
|
| 130 |
+
|
| 131 |
+
Implementation details. We implement Coaching the same as in Section 3.1, except for one part: Instead of directly training and consistently regularizing the teacher, we initialize the teacher using a pre-trained ResNet-50 (pre-trained on full ImageNet). Then, throughout the course of the student’s learning, we only train the teacher to minimize the student’s cross entropy loss. We do not use additional supervised loss for the teacher because because once the teacher is pre-trained, adding another loss to the teacher has minimal effect. We do not consistently regularize the teacher because Xie et al. (2019) has found that consistency regularization requires in-domain data, while we do not filter our unlabeled images from OpenImages.
|
| 132 |
+
|
| 133 |
+
<table><tr><td rowspan="2">Methods</td><td rowspan="2">Unlabeled images</td><td colspan="2">Image size</td><td rowspan="2">Top-1</td><td rowspan="2">Top-5</td></tr><tr><td>Train</td><td>Test</td></tr><tr><td>Supervised</td><td>None</td><td>224</td><td>224</td><td>76.89</td><td>93.27</td></tr><tr><td>DropBlock</td><td>None</td><td>224</td><td>224</td><td>78.35</td><td>94.15</td></tr><tr><td>FixRes +CutMix</td><td>None</td><td>224</td><td>320</td><td>79.8</td><td>94.9</td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>320</td><td>79.80</td><td>94.87</td></tr><tr><td rowspan="2">FixRes Coaching</td><td>None</td><td>224</td><td>384</td><td>79.1</td><td>94.6</td></tr><tr><td>OpenImages</td><td>224</td><td>384</td><td>80.10</td><td>95.07</td></tr><tr><td>Billion-scale SSL</td><td>YFCC100M</td><td>224</td><td>224</td><td>77.6</td><td></td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>224</td><td>78.62</td><td>94.26</td></tr><tr><td>UDA</td><td>JFT</td><td>331</td><td>331</td><td>79.04</td><td>94.45</td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>331</td><td>79.86</td><td>94.92</td></tr><tr><td>Coaching+iterative</td><td>OpenImages</td><td>224</td><td>331</td><td>82.34</td><td>96.09</td></tr></table>
|
| 134 |
+
|
| 135 |
+
Table 2: Image classification accuracy with full ImageNet plus unlabeled images. Results are organized by image size because image size has a strong impact on models’ performance.
|
| 136 |
+
|
| 137 |
+
Results. We present our results in Table 2. As can be seen, Coaching outperforms all relevant SSL baselines. Specifically, for the image size of 224, Coaching outperforms Billion-scale SSL by about $1 \%$ top-1 accuracy, even though Billion-scale SSL uses 10 times more unlabeled data. Meanwhile, for the image size of 331, Coaching achieves the top-1 accuracy of $7 9 . 8 6 \%$ , comfortably outperforming the top-1 accuracy of $7 9 . 0 4 \%$ by UDA. This improvement is particularly significant, since Coaching simply uses all data from OpenImages, while UDA has to select and balance the class distribution of their unlabeled data using a pre-trained teacher. This difference suggests that the teacher in Coaching can give helpful pseudo labels to the student, even on potentially out-of-distribution data.
|
| 138 |
+
|
| 139 |
+
It is worth mentioning that Coaching also outperforms the strong supervised baselines of DropBlock and FixRes, and is on par with FixRes+CutMix. However, DropBlock and CutMix are both regularization techniques orthogonal to Coaching. Similar to consistency regularization in Section 3.1, these techniques can be incorporated into the teacher in Coaching to improve performance.
|
| 140 |
+
|
| 141 |
+
Comparing to state-of-the-art SSL results. Yalniz et al. (2019) reports the top-1 accuracy of $8 1 . 2 \%$ for a ResNet-50 student. However, they need to pre-train a much bigger network ResNext-101-32x48 teacher (829 million parameters, $3 2 \mathrm { x }$ larger than ResNet-50) on 1 billion Instagram images with weak labels (Mahajan et al., 2018). Then, they use the pseudo-labels from this teacher to train a ResNet-50 student for 2 billion steps. The fact that they use weakly labeled data from Instagram, much bigger architecture in ResNext-101-32x48 makes their results not directly comparable to ours.
|
| 142 |
+
|
| 143 |
+
Meanwhile, without the need of a much bigger dataset and architecture as used in Yalniz et al. (2019), Coaching achieves almost as good top-1 accuracy. To achieve this, we iterate the process of Coaching by turning the student into the teacher after convergence. After 17 iterations, our final student achieves $8 2 . 3 4 \%$ top-1 accuracy on ImageNet, outperforming Yalniz et al. (2019)’s $8 1 . 2 \%$ , even though we do not have the weakly labeled data from Instagram.
|
| 144 |
+
|
| 145 |
+
Insights about Coaching on OpenImages. Figure 2 shows five images taken from OpenImages, along with their OpenImages tags and the top 5 classes predicted by a teacher trained on ImageNet. From the figure, we can see that there are non-trivial overlapping contents between the OpenImages tags and the ImageNet top classes, such as sunglasses in the first image. We also see that for the images whose contents match stronger with an ImageNet class, such as the first and the third image, the entropy of the teacher’s prediction is smaller. As a result, when the teacher samples a pseudo label from these distribution, contents similar to an ImageNet class will receive more consistent labels, while content alien to ImageNet will have higher entropy on their labels. We suspect this is why a teacher trained on ImageNet can teach a student via pseudo labels on OpenImages.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 2: An illustration of why OpenImages help ImageNet classification. Top: OpenImages tags. Middle: A sample image from OpenImages. Bottom: Top 5 labels for the image predicted by a teacher ResNet-50 trained on ImageNet. Some OpenImages tags overlap significantly with some ImageNet classes, such as wheel and car wheel in the second image. The class predictions also have a higher entropy when the ImageNet classes overlap less with the OpenImages contents (images 2, 4, 5), than when the ImageNet classes overlap more (images 1, 3).
|
| 149 |
+
|
| 150 |
+
# 3.3 ANALYSIS
|
| 151 |
+
|
| 152 |
+
Ablation Study of Implementation Details. To understand the contribution of each implementation detail of Coaching, we study their contributions on top of a purely supervised model. We conduct this study on ImageNet- $10 \%$ and visualize the results in Figure 3. From the figure we see that RandomAugment and UDA both improve the final accuracy significantly, respectively by $3 . 1 3 \%$ and $7 . 1 9 \%$ top-1 accuracy. On top of UDA, Coaching delivers a smaller improvement of $4 . 3 2 \%$ top-1 accuracy. However, since UDA’s accuracy is already high, we believe that the improvement of $4 . 3 2 \%$ top-1 accuracy is significant. Finally, finetuning only slightly improves over Coaching. However, this extra boost is a unique advantage of Coaching: it is possible for the student in Coaching to finetune on labeled data because the student never directly learns from these labeled data.
|
| 153 |
+
|
| 154 |
+
Coaching overfits less than Supervised Learning. In our Coaching framework, the student never directly learns from labeled data. This behavior is helps the student to avoid overfitting, especially when labeled data is scarce. In Figure 4, we visualize the training accuracy of Coaching and Supervised Learning on CIFAR-10 with 4,000 labels and on ImageNet with $10 \%$ labels. As shown, the training accuracy of both the teacher and the student of Coaching stay relatively low. Meanwhile, the training accuracy of the supervised model eventually reaches $1 0 0 \%$ and causes overfitting.
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
Figure 3: Breakdown of the gains of different components in Coaching. The gain of Coaching over UDA, albeit smaller than the gain of UDA over RandomAugment, is significant as UDA is already very strong.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 4: Training accuracy of Coaching and of supervised learning on CIFAR-10-4,000 and ImageNet- $10 \%$ . Both the teacher and the student in Coaching have lower training accuracy, effectively avoiding overfitting.
|
| 161 |
+
|
| 162 |
+
# 4 RELATED WORK
|
| 163 |
+
|
| 164 |
+
Pseudo-Label. Pseudo-Label (Lee, 2013) is one of the simplest semi-supervised learning algorithms: First, a teacher model is trained on labeled data. Then, the converged teacher model generates pseudo labels for unlabeled data. These unlabeled data and their pseudo labels are combined with the labeled data to train another model, which is called the student model. An inherent weakness of Pseudo-Label is that once the teacher generates an incorrect pseudo label for an unlabeled datum, the student can only naively learn from this wrong label. This phenomenon is called the confirmation bias. Arazo et al. (2019) addressed the confirmation bias by generating soft labels from the teacher and by adding noise to these labels. However, this is a manual fix from an outside model designer. The main difference between Pseudo-Label and Coaching is that in Coaching, the teacher is trained along with the student throughout the course of training. This allows wrong knowledge learned by the teacher to be fixed in an end-to-end manner, leading to stronger performances.
|
| 165 |
+
|
| 166 |
+
Semi-supervised Learning (SSL). Pseudo-Label belongs to a more general group of algorithms known as Semi-supervised Learning. Unlike Pseudo-Label, typical SSL methods combine both labeled and unlabeled data to train a single model. Hence, the objective function of SSL is typically the sum of a supervised loss and an unsupervised loss. The supervised loss is often the cross-entropy computed on the labeled data. Meanwhile, the unsupervised loss can be a self-supervised loss (Rasmus et al., 2015; Noroozi & Favaro, 2018; Gidaris et al., 2018), or consistency regularization (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2018; Berthelot et al., 2019; Xie et al., 2019). Self-supervised losses typically encourage the model to develop a common sense about the images. Meanwhile, consistency regularization enforces that the model is invariant against certain transformations of the data. The main difference between Coaching and SSL methods is that the student in Coaching never learns directly from labeled data. This helps the student in Coaching to avoid overfitting to labeled data, especially when labeled data is limited.
|
| 167 |
+
|
| 168 |
+
Meta Learning. In Meta Learning, there is typically an outer loop that optimizes the performance of a model trained in an inner loop (Finn et al., 2017; Metz et al., 2019). Meta Learning has been applied to perform self-training and SSL in the low data regime (Agarwal et al., 2019; Ren et al., 2018; Boney & Ilin, 2018; Hsu et al., 2019). A crucial difference between Coaching and Meta Learning is that in Coaching, the pseudo labels are chosen to improve the student, and hence there is no need for an outer loop. We suspect this is an advantage of our method, since gradients to be very powerful for models to navigate in the parameter space.
|
| 169 |
+
|
| 170 |
+
# 5 CONCLUSION
|
| 171 |
+
|
| 172 |
+
In this paper, we proposed the Coaching method for semi-supervised learning. Key to Coaching is the idea that the teacher learns from the student’s loss and improves itself to generate pseudo labels in a way that helps student’s learning the most. The learning process in Coaching consists of two main updates: updating the student based on the pseudo labeled data produced by the teacher and updating the teacher based on the student’s performance. Experiments on standard CIFAR-10 and SVHN show that Coaching is much better than supervised learning and consistenly better than other semi-supervised learning methods. Coaching scales well to large problems, and successfully uses out-of-domain data to improve ImageNet classification.
|
| 173 |
+
|
| 174 |
+
# REFERENCES
|
| 175 |
+
|
| 176 |
+
Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, Manjunath Kudlur, Josh Levenberg, Rajat Monga, Sherry Moore, Benoit G, Derek . Murrayand Steiner, Paul Tucker, Vijay Vasudevan, Pete Warden, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. Tensorflow: A system for large-scale machine learning. Arxiv 1605.08695, 2016. 14
|
| 177 |
+
|
| 178 |
+
Rishabh Agarwal, Chen Liang, Dale Schuurmans, and Mohammad Norouzi. Learning to generalize from sparse and underspecified rewards. In International Conference on Machine Learning, 2019. 8
|
| 179 |
+
|
| 180 |
+
Eric Arazo, Diego Ortego, Paul Albert, Noel E. O’Connor, and Kevin McGuinness. Pseudo-labeling and confirmation bias in deep semi-supervised learning. Arxiv, 1908.02983, 2019. 8
|
| 181 |
+
|
| 182 |
+
David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems, 2019. 4, 8
|
| 183 |
+
|
| 184 |
+
Rinu Boney and Alexander Ilin. Semi-supervised few-shot learning with maml. In Workshop Track of International Conference on Learning Representations, 2018. 8
|
| 185 |
+
|
| 186 |
+
Ekin D. Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V. Le. AutoAugment: Learning augmentation policies from data. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. 5, 13, 14
|
| 187 |
+
|
| 188 |
+
Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning, 2017. 8
|
| 189 |
+
|
| 190 |
+
Golnaz Ghiasi, Tsung-Yi Lin, and Quoc V. Le. Dropblock: A regularization method for convolutional networks. In Advances in Neural Information Processing Systems, 2018. 6
|
| 191 |
+
|
| 192 |
+
Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. 8
|
| 193 |
+
|
| 194 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition, 2016. 3
|
| 195 |
+
|
| 196 |
+
Kyle Hsu, Chelsea Finn, and Sergey Levine. Unsupervised learning via meta learning. In International Conference on Learning Representations, 2019. 8
|
| 197 |
+
|
| 198 |
+
Jacob Jackson and John Schulman. Semi-supervised learning by label gradient alignment. Arxiv 1902.02336, 2019. 4
|
| 199 |
+
|
| 200 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009. 4
|
| 201 |
+
|
| 202 |
+
Alina Kuznetsova, Hassan Rom, Neil Alldrin, Jasper Uijlings, Ivan Krasin, Jordi Pont-Tuset, Shahab Kamali, Stefan Popov, Matteo Malloci, Tom Duerig, and Vittorio Ferrari. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale. Arxiv, 1811.00982, 2018. 2, 6
|
| 203 |
+
|
| 204 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In International Conference on Learning Representations, 2017. 1, 4, 8
|
| 205 |
+
|
| 206 |
+
Dong-Hyun Lee. Pseudo-Label: The simple and efficient semi-supervised learning method for deep neural networks. In International Conference on Machine Learning Workshop, 2013. 1, 4, 8
|
| 207 |
+
|
| 208 |
+
Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. Arxiv, 1805.00932, 2018. 7
|
| 209 |
+
|
| 210 |
+
Luke Metz, Niru Maheswaranathan, Brian Cheung, and Jascha Sohl-Dickstein. Meta-learning update rules for unsupervised representation learning. In International Conference on Learning Representations, 2019. 8
|
| 211 |
+
|
| 212 |
+
Takeru Miyato, Shin-ichi Maeda, Shin Ishii, and Masanori Koyama. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. In IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018. 4, 8
|
| 213 |
+
|
| 214 |
+
Yuval Netzer, Tao Wang, Alessandro Coates, Adamand Bissacco, Bo Wu, and Andrew Y. Ng. Reading digits in natural images with unsupervised feature learning. In Advances in Neural Information Processing Systems Workshop on Deep Learning and Unsupervised Feature Learning, 2011. 4
|
| 215 |
+
|
| 216 |
+
Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. 8
|
| 217 |
+
|
| 218 |
+
Avital Oliver, Augustus Odena, Colin Raffel, Ekin D. Cubuk, and Ian J. Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. In Advances in Neural Information Processing Systems, 2018. 4, 14
|
| 219 |
+
|
| 220 |
+
Antti Rasmus, Harri Valpola, Mikko Honkala, Mathias Berglund, and Tapani Raiko. Semi-supervised learning with ladder networks. In Advances in Neural Information Processing Systems, 2015. 8
|
| 221 |
+
|
| 222 |
+
Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In International Conference on Machine Learning, 2018. 8
|
| 223 |
+
|
| 224 |
+
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 Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 2015. 4
|
| 225 |
+
|
| 226 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems, 2017. 1, 4, 8
|
| 227 |
+
|
| 228 |
+
Bart Thomee, David A. Shamma, Gerald Friedland, Benjamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. YFCC100M: The new data in multimedia research. Arxiv 1503.01817, 2015. 6
|
| 229 |
+
|
| 230 |
+
Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Herve Jegou. Fixing the train-test resolution discrepancy. In Advances in Neural Information Processing Systems, 2019. 6
|
| 231 |
+
|
| 232 |
+
Vikas Verma, Alex Lamb, Juho Kannala, Yoshua Bengio, and David Lopez-Paz. Interpolation consistency training for semi-supervised learning. In International Joint Conference on Artificial Intelligence, 2019. 4
|
| 233 |
+
|
| 234 |
+
Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 1992. 3, 12
|
| 235 |
+
|
| 236 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. Arxiv, 1904.12848, 2019. 4, 5, 6, 8, 14
|
| 237 |
+
|
| 238 |
+
I. Zeki Yalniz, Herv’e J’egou, Kan Chen, Manohar Paluri, and Dhruv Mahajan. Billion-scale semi-supervised learning for image classification. Arxiv 1905.00546, 2019. 6, 7
|
| 239 |
+
|
| 240 |
+
Yoshihiro Yamada, Masakazu Iwamura, Takuya Akiba, and Koichi Kise. Shakedrop regularization for deep residual learning. Arxiv, 1802.0237, 2018. 5
|
| 241 |
+
|
| 242 |
+
Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. CutMix: Regularization strategy to train strong classifiers with localizable features. In International Conference on Computer Vision, 2019. 6
|
| 243 |
+
|
| 244 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In British Machine Vision Conference, 2016. 3
|
| 245 |
+
|
| 246 |
+
Xiaohua Zhai, Avital Oliver, Alexander Kolesnikov, and Lucas Beyer. $S ^ { 4 } L$ : Self-supervised semisupervised learning. Arxiv, 1905.03670, 2019. 5
|
| 247 |
+
|
| 248 |
+
# A DERIVATION OF THE TEACHER’S UPDATE RULE
|
| 249 |
+
|
| 250 |
+
In this section, we present the detailed derivation of the Teacher’s update rule in Equation 3 from Section 2.
|
| 251 |
+
|
| 252 |
+
Mathematical Notations and Conventions. Since we will work with the chain rule, we use the standard Jacobian notations.3 Specifically, for a differentiable function $f : \mathbb { R } ^ { m } \mathbb { R } ^ { n }$ , and for a vector $x \in \mathbb { R } ^ { m }$ , we use the notation ∂f∂x ∈ Rn×m to denote the Jacobian matrix of f, whose dimension is $n \times m$ . Additionally, when we mention the Jacobian of a function $f$ at multiple points such as x1 and x2, we will use the notations of ∂f∂x $\left. { \frac { \partial f } { \partial x } } \right| _ { x = x _ { 1 } }$ and $\left. \frac { \partial f } { \partial x } \right| _ { x = x _ { 2 } }$
|
| 253 |
+
|
| 254 |
+
Furthermore, by mathematical conventions, a vector $v \in \mathbb { R } ^ { n }$ is treated as a column matrix – that is, a matrix of size $n \times 1$ . For this reason, the gradient vector of a multi-variable real-valued function is actually the transpose of of its Jacobian matrix.
|
| 255 |
+
|
| 256 |
+
Finally, all multiplications in this section are standard matrix multiplications. If an operand is a vector, then as discussed in the previous paragraph, the operand is treated as a column matrix.
|
| 257 |
+
|
| 258 |
+
Dimension Annotations. Understanding that these notations and conventions might cause confusions, in the derivation below, we annotate the dimensions of the computed quantities to ensure that there is no confusion caused to our readers. To this end, we respectively use $| S |$ and $| T |$ to denote the dimensions of the parameters $\theta _ { S } , \theta _ { T }$ . That is, $\theta _ { S } \in \mathbb { R } ^ { | S | \times 1 }$ and $\boldsymbol { \theta _ { T } } \in \mathbb { R } ^ { | T | \times 1 }$ .
|
| 259 |
+
|
| 260 |
+
We now present the derivation. We need to compute:
|
| 261 |
+
|
| 262 |
+
$$
|
| 263 |
+
\underbrace { \frac { \partial R } { \partial \theta _ { T } } } _ { 1 \times | T | } = \frac { \partial } { \partial \theta _ { T } } \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } ) } \left[ \theta _ { S } ^ { ( t + 1 ) } \right] \right)
|
| 264 |
+
$$
|
| 265 |
+
|
| 266 |
+
To simplify our notation, let us define
|
| 267 |
+
|
| 268 |
+
$$
|
| 269 |
+
\underbrace { \bar { \theta } _ { S } ^ { ( t + 1 ) } } _ { | S | \times 1 } \triangleq \mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } ) } \left[ \theta _ { S } ^ { ( t + 1 ) } \right]
|
| 270 |
+
$$
|
| 271 |
+
|
| 272 |
+
Then, by the chain rule, we have
|
| 273 |
+
|
| 274 |
+
$$
|
| 275 |
+
\begin{array} { l } { { \displaystyle \frac { \partial R } { \partial \theta _ { T } } = \frac { \partial } { \partial \theta _ { T } } \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \mathbb { E } _ { \hat { y } _ { \mathrm { a n l } } \sim P ( \cdot \vert x _ { \mathrm { a n l } } ; \theta _ { T } ) } \left[ \theta _ { S } ^ { ( t + 1 ) } \right] \right) } } \\ { \displaystyle { \mathrm { ~ \Lambda ~ } } } \\ { { \displaystyle = \frac { \partial } { \partial \theta _ { T } } \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \bar { \theta } _ { S } ^ { ( t + 1 ) } \right) } } \\ { \displaystyle ~ = \underbrace { \frac { \partial \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } \right) } { \partial \theta _ { S } } \Big \vert _ { \theta _ { S } = \bar { \theta } _ { S } ^ { ( t + 1 ) } } \cdot \frac { \partial \bar { \theta } _ { S } ^ { ( t + 1 ) } } { \partial \theta _ { T } } } } \end{array}
|
| 276 |
+
$$
|
| 277 |
+
|
| 278 |
+
The first factor in Equation 7 can be simply computed via back-propagation. We now focus on the second term. We have
|
| 279 |
+
|
| 280 |
+
$$
|
| 281 |
+
\begin{array} { r l r } { { \underbrace { \frac { \partial \bar { \theta } _ { S } ^ { ( t + 1 ) } } { \partial \theta _ { T } } } } = \frac { \partial } { \partial \theta _ { T } } \mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } ) } [ \theta _ { S } ^ { ( t + 1 ) } ] } \\ & { } & \\ & { } & { = \frac { \partial } { \partial \theta _ { T } } \mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } ) } [ \theta _ { S } ^ { ( t ) } - \eta \cdot ( \frac { \partial \ell ( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { S } ) } { \partial \theta _ { S } } | _ { \theta _ { S } = \theta _ { S } ^ { ( t ) } } ) ^ { \top } ] } \end{array}
|
| 282 |
+
$$
|
| 283 |
+
|
| 284 |
+
3Standard: https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant
|
| 285 |
+
|
| 286 |
+
Note that in Equation 8 above, the Jacobian of $\ell ( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { S } )$ , which has dimension $1 \times | S |$ , needs to be transposed to match the dimension of $\theta _ { S } ^ { ( t ) }$ , which, as we discussed above, conventionally has
|
| 287 |
+
|
| 288 |
+
Now, since $\theta _ { S } ^ { ( t ) }$ in Equation 8 does not depend on $\theta _ { T }$ , we can leave it out of subsequent derivations. Also, to simplify notations, let us define the gradient
|
| 289 |
+
|
| 290 |
+
$$
|
| 291 |
+
\underbrace { g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { u n l } } ) } _ { | S | \times | 1 | } \triangleq \left( \left. \frac { \partial \ell \left( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { S } \right) } { \partial \theta _ { S } } \right| _ { \theta _ { S } = \theta _ { S } ^ { ( t ) } } \right) ^ { \top }
|
| 292 |
+
$$
|
| 293 |
+
|
| 294 |
+
Then, Equation 8 becomes
|
| 295 |
+
|
| 296 |
+
$$
|
| 297 |
+
\underbrace { \frac { \partial \bar { \theta } _ { S } ^ { ( t + 1 ) } } { \partial \theta _ { T } } } _ { | S | \times | T | } = - \eta \cdot \frac { \partial } { \partial \theta _ { T } } \mathbb { E } _ { \hat { y } _ { \mathrm { u n l } } \sim P ( \cdot | x _ { \mathrm { u n l } } ; \theta _ { T } ) } \left[ \underbrace { g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { u n l } } ) } _ { | S | \times 1 } \right]
|
| 298 |
+
$$
|
| 299 |
+
|
| 300 |
+
Since $g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { u n l } } )$ has no dependency on on $\theta _ { T }$ , except for via $\hat { y } _ { \mathrm { u n l } }$ , we can apply the REINFORCE equation (Williams, 1992) to achieve
|
| 301 |
+
|
| 302 |
+
$$
|
| 303 |
+
\begin{array} { r l } & { \underbrace { \frac { \partial \bar { \theta } _ { S } ^ { ( t + 1 ) } } { \partial \theta _ { T } } } _ { | S | \times | T | } = - \eta \cdot \frac { \partial } { \partial \theta _ { T } } \mathbb { E } _ { \hat { y } _ { \mathrm { a n } } \times P ( \cdot | x _ { \mathrm { m i } } \times \theta _ { T } ) } \left[ g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { m i } } ) \right] } \\ & { = - \eta \cdot \mathbb { E } _ { \hat { y } _ { \mathrm { a n } } \times P ( \cdot | x _ { \mathrm { m i } } \times \theta _ { T } ) } \left[ \underbrace { g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { m i } } ) } _ { | S | \times 1 } \cdot \underbrace { \frac { \partial \log P \left( \hat { y } _ { \mathrm { m i } } | x _ { \mathrm { m i } } ; \theta _ { T } \right) } { \partial \theta _ { T } } } _ { 1 \times | T | } \right] } \\ & { = \eta \cdot \mathbb { E } _ { \hat { y } _ { \mathrm { a n } } \sim P ( \cdot | x _ { \mathrm { m i } } ; \theta _ { T } ) } \left[ \underbrace { g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { m i } } ) } _ { | S | \times 1 } \cdot \underbrace { \frac { \partial \ell \left( x _ { \mathrm { m i } } , \hat { y } _ { \mathrm { m i } } ; \theta _ { T } \right) } { \partial \theta _ { T } } } _ { 1 \times | T | } \right] } \end{array}
|
| 304 |
+
$$
|
| 305 |
+
|
| 306 |
+
Here, the last equality in Equation 11 is is due to the definition of the cross entropy loss, which is the negative of the log-prob term in the previous line.
|
| 307 |
+
|
| 308 |
+
Now, we can substitute Equation 11 into Equation 7 to obtain
|
| 309 |
+
|
| 310 |
+
$$
|
| 311 |
+
\begin{array} { l } { \displaystyle \frac { \partial R } { \partial \theta _ { T } } = \underbrace { \frac { \partial \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } \right) } { \partial \theta _ { S } } \bigg | _ { \theta _ { S } = \bar { \theta } _ { S } ^ { ( t + 1 ) } } } _ { = \eta \cdot \underbrace { 1 \times | S | } _ { = \eta \cdot \underbrace { 1 \times | S | } _ { = \theta _ { S } } } \bigg | _ { \theta _ { S } = \bar { \theta } _ { S } ^ { ( t + 1 ) } } } \cdot \underbrace { \frac { \partial \bar { \theta } _ { S } ^ { ( t + 1 ) } } { \partial \theta _ { T } } } _ { | S | \times \left| T \right| } } \\ { = \eta \cdot \underbrace { \frac { \partial \ell \left( x _ { \mathrm { l a b } } , y _ { \mathrm { l a b } } ; \theta _ { S } \right) } { \partial \theta _ { S } } \bigg | _ { \theta _ { S } = \bar { \theta } _ { S } ^ { ( t + 1 ) } } } _ { \mathrm { 1 \times | S | } } \cdot \mathbb { E } _ { \hat { y } _ { \mathrm { l a n } } \sim P \cdot ( \cdot | x _ { \mathrm { m i } } ; \theta _ { T } ) } \left[ \underbrace { g _ { S } ^ { ( t ) } ( \hat { y } _ { \mathrm { u n } } ) } _ { | S | \times 1 } \cdot \underbrace { \frac { \partial \ell \left( x _ { \mathrm { u n l } } , \hat { y } _ { \mathrm { u n l } } ; \theta _ { T } \right) } { \partial \theta _ { T } } } _ { \mathrm { 1 \times | T | } } \right] } \end{array}
|
| 312 |
+
$$
|
| 313 |
+
|
| 314 |
+
Finally, if we use Monte Carlo approximation for every term in Equation 12 using the sampled $\hat { y } _ { \mathrm { u n l } }$ then we have Equation 3 from Section 2. Note that in Section 2, we use the gradient notation, which results in the transposes.
|
| 315 |
+
|
| 316 |
+
# B TRAINING SPEED
|
| 317 |
+
|
| 318 |
+
Coaching performs up to 5 forward passes and 3 backward passes. Compared to vanilla backpropagation training, this is more 3 than times more expensive in FLOPs. However, many computations in Coaching are parallelizable. For example, the forward pass of the student and the forward pass for the teacher on unlabeled data (the top half of Figure 1), can be run in parallel since they do not depend on each other. Therefore, on computing hardware with sufficient memory, we find Coaching to be between 2 and 2.5 times slower than standard back-propagation training.
|
| 319 |
+
|
| 320 |
+
# C EXPERIMENTAL DETAILS
|
| 321 |
+
|
| 322 |
+
# C.1 DATASET SPLITS
|
| 323 |
+
|
| 324 |
+
We describe how we select the reduced datasets for the experiments on low data image classification in Section 3.1.
|
| 325 |
+
|
| 326 |
+
For CIFAR-10, we download the five training data batch files from www.cs.toronto.edu/ \~kriz/cifar.html. Then, we load all the images into a list of 50,000 images, keeping the order as downloaded. The fisrt 5,000 images ares reserved for validation. The next 4,000 images are used as labeled data. For SVHN, we download the data from the mat files on ufldl.stanford.edu/ housenumbers/, and follow the same procedure as with CIFAR-10. We note that this selection process leads to a slight imbalance in the class distribution for both CIFAR-10 and SVHN, but the settings are the same for all of our experiments.
|
| 327 |
+
|
| 328 |
+
For ImageNet, we follow the procedure in github.com/tensorflow/models/blob/ master/research/inception/inception/data/download_and_preprocess imagenet.sh. This results in 1,024 training TFRecord shards of approximately the same size. The order of the images in these shards are deterministic. For ImageNet- $10 \%$ , we use the first 102 shards; for ImageNet- $20 \%$ , we use the first 204 shards; and so on. The last 20 shards, corresponding to roughly 25,000 images, are reserved for hyper-parameters tuning.
|
| 329 |
+
|
| 330 |
+
# C.2 RANDOMAUGMENT: A DATA AUGMENTATION POLICY
|
| 331 |
+
|
| 332 |
+
We develop a data augmentation policy that achieves similarly high performance with AutoAugment (Cubuk et al., 2019) in a few cases that we consider, but which does not require learning a controller to generate policies. We names our policy RandomAugment. Our goal when developing RandomAugment is not to outperform AutoAugment, which is why we do not conduct extensive experiments with RandomAugment. Instead, we simply want to avoid indirectly using labeled data for our experiments, especially for the low data regime experiments in Section 3.1.
|
| 333 |
+
|
| 334 |
+
Each policy of RandomAugment consists of two operations that applied sequentially on an image. Each operation applies a uniformly sampled transformation with probability 0.5, and with a level uniformly chosen between 1 and 10. For a more comprehensive discussion of the probability and the level of a transformation, we refer readers to the AutoAugment paper (Cubuk et al., 2019).
|
| 335 |
+
|
| 336 |
+
Table 3: Transformations that RandomAugment uniformly samples for our datasets. We refer our readers to Cubuk et al. (2019) for the detailed descriptions of these transformations.
|
| 337 |
+
|
| 338 |
+
<table><tr><td>CIFAR-10 and ImageNet</td><td>SVHN</td></tr><tr><td>AutoContrast</td><td>AutoContrast</td></tr><tr><td>Brightness</td><td>Brightness</td></tr><tr><td>Color</td><td>Color</td></tr><tr><td>Contrast</td><td>Contrast</td></tr><tr><td>Equalize</td><td>Equalize</td></tr><tr><td>Invert</td><td>Invert</td></tr><tr><td>Sharpness</td><td>Sharpness</td></tr><tr><td>Posterize</td><td>Posterize</td></tr><tr><td>Sample Pairing</td><td>Solarize</td></tr><tr><td>Solarize</td><td>ShearX</td></tr><tr><td>Rotate</td><td>ShearY</td></tr><tr><td>ShearX</td><td>TranslateY</td></tr><tr><td>ShearY</td><td></td></tr><tr><td>TranslateX</td><td></td></tr><tr><td></td><td></td></tr><tr><td>TranslateY</td><td></td></tr></table>
|
| 339 |
+
|
| 340 |
+
We manually design the set of transformations for each of our datasets: CIFAR-10, ImageNet, and SVHN. The set of transformations for CIFAR-10 and for ImageNet are the same, and are slightly different from the set of transformation for SVHN. This is because the numbers in the SVHN have a different requirement for invariant. For instance, numbers should not be invariant against rotations like 6 and 9, and should not be invariant against horizontal translation like 3 and 8. Table 3 presents the transformation for our dataset. In addition to these operations, we only allow RandomAugment to select the three transformations AutoContrast, Brightness, and Invert in the first augmenting transformation. This is to avoid a few degenerating cases. For instance, when Brightness is applied twice on an image, both times with small levels, the image will become almost black.
|
| 341 |
+
|
| 342 |
+
In our experiments, RandomAugment’s performance is not far behind compared to AutoAugment. For example, on full ImageNet with ResNet-50, RandomAugment achives $\mathrm { \bar { 7 } 7 . 9 8 \% }$ top-1 accuracy, which is close to the top-1 accuracy of $7 7 . 6 \%$ reported by Cubuk et al. (2019).
|
| 343 |
+
|
| 344 |
+
# C.3 HYPER-PARAMETERS
|
| 345 |
+
|
| 346 |
+
To tune hyper-parameters, we follow Oliver et al. (2018) and allow each method to have 128 trials of hyper-parameters. When we tune, we let each model train for up to 50,000 steps. The optimal hyper-parameters are then used to run experiments that last for much more steps, as we report below. In our experiments with Coaching, training for more steps typically leads to stronger results. We stop at 1 million steps for CIFAR-10 and SVHN, and at 0.5 million steps for ImageNet simply because otherwise, these experiments will take too long. Meanwhile, in our experiments with purely supervised learning, Pseudo-Labels, and UDA, training for more steps overfits the models, and we have to employ early stopping.
|
| 347 |
+
|
| 348 |
+
We report the hyper-parameters for our baselines and for Coaching in Section 3.1. For the highresource experiments in Section 3.2, we use the same hyper-parameters, because tuning them is too expensive. Our hyper-parameters can be found in Table 4, 5, 6.
|
| 349 |
+
|
| 350 |
+
We note that our settings for UDA is different from originally reported by Xie et al. (2019). In their work, Xie et al. (2019) use a much larger batch size for their UDA objective. In our implementation of UDA, we keep these batch sizes the same. This leads to a much easier implementation of data parallelism in our framework, TensorFlow (Abadi et al., 2016) running on TPU big pods. To compensate for the difference, we train all UDA baselines for much longer than Xie et al. (2019). During the training process, we also mask out the supervised examples with high confidence. Effectively, our UDA model receives roughly the same amount of training with labeled examples and unlabeled examples as the models in Xie et al. (2019). We have also verified that on ImageNet- $10 \%$ with the augmentation policy from AutoAugment (Cubuk et al., 2019), our UDA implementation achives $6 8 . 7 7 \%$ top-1 accuracy, which is similar to $6 8 . 6 6 \%$ that Xie et al. (2019) reported.
|
| 351 |
+
|
| 352 |
+
Table 4: Hyper-parameters for supervised learning and Pseudo-Labels.
|
| 353 |
+
|
| 354 |
+
<table><tr><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td>Weight decay</td><td>0.0005</td><td>0.001</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0</td><td>0</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Learning rate</td><td>0.4</td><td>0.05</td><td>1.28</td></tr><tr><td>Number of training steps</td><td>50,000</td><td>50,000</td><td>40,000</td></tr><tr><td>Number of warm up steps</td><td>2500</td><td>0</td><td>2000</td></tr><tr><td>Batch size</td><td>1024</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.4</td><td>0.5</td><td>0.2</td></tr><tr><td>Pseudo label threshold</td><td>0.95</td><td>0.975</td><td>0.7</td></tr></table>
|
| 355 |
+
|
| 356 |
+
Table 5: Hyper-parameters for UDA. Unlike originally done by Xie et al. (2019), we do not use a larger batch size for the UDA objective. Instead, we use the same batch size for both the labeled objective and the unlabeled objective. This is to avoid instances where some particularly small batch sizes for the labeled objective cannot be split on our computational hardware.
|
| 357 |
+
|
| 358 |
+
<table><tr><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td>Weight decay</td><td>0.0005</td><td>0.0005</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0</td><td>0</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Learning rate</td><td>0.3</td><td>0.4</td><td>1.28</td></tr><tr><td>Number of training steps</td><td>1,000,000</td><td>1,000,000</td><td>500.000</td></tr><tr><td>Number of warm up steps</td><td>5,000</td><td>5.000</td><td>5,000</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.5</td><td>0.6</td><td>0.25</td></tr><tr><td>UDA factor</td><td>2.5</td><td>1</td><td>20</td></tr><tr><td>UDA temperature</td><td>0.7</td><td>0.8</td><td>0.7</td></tr></table>
|
| 359 |
+
|
| 360 |
+
Table 6: Hyper-parameters for Coaching.
|
| 361 |
+
|
| 362 |
+
<table><tr><td></td><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td rowspan="5">Common</td><td>Weight decay</td><td>0.0005</td><td>0.0005</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0.1</td><td>0.1</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Number of training steps</td><td>1,000,000</td><td>1,000,000</td><td>500,000</td></tr><tr><td>Number of warm up steps</td><td>2.000</td><td>2,000</td><td>1,000</td></tr><tr><td rowspan="3">Student</td><td>Learning rate</td><td>0.3</td><td>0.15</td><td>0.8</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.35</td><td>0.45</td><td>0.1</td></tr><tr><td rowspan="5">Teacher</td><td>Learning rate</td><td>0.125</td><td>0.05</td><td>0.5</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.5</td><td>0.65</td><td>0.1</td></tr><tr><td>UDA factor</td><td>1.0</td><td>2.5</td><td>16.0</td></tr><tr><td>UDA temperature</td><td>0.8</td><td>1.25</td><td>0.75</td></tr></table>
|
parse/train/rJe04p4YDB/rJe04p4YDB_content_list.json
ADDED
|
@@ -0,0 +1,1805 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SEMI-SUPERVISED LEARNING BY COACHING",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
714,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
400,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
210,
|
| 32 |
+
544,
|
| 33 |
+
224
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Recent semi-supervised learning (SSL) methods often have a teacher to train a student in order to propagate labels from labeled data to unlabeled data. We argue that a weakness of these methods is that the teacher does not learn from the student’s mistakes during the course of student’s learning. To address this weakness, we introduce Coaching, a framework where a teacher generates pseudo labels for unlabeled data, from which a student will learn and the student’s performance on labeled data will be used as reward to train the teacher using policy gradient. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
243,
|
| 43 |
+
764,
|
| 44 |
+
340
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Our experiments show that Coaching significantly improves over state-of-the-art SSL baselines. For instance, on CIFAR-10, with only 4,000 labeled examples, a WideResNet-28-2 trained by Coaching achieves $9 6 . 1 1 \\%$ accuracy, which is better than $9 4 . 9 \\%$ achieved by the same architecture trained with 45,000 labeled. On ImageNet with $10 \\%$ labeled examples, Coaching trains a ResNet-50 to $7 2 . 9 4 \\%$ top-1 accuracy, comfortably outperforming the existing state-of-the-art by more than $4 \\%$ . Coaching also scales successfully to the high data regime with full ImageNet. Specifically, with additional 9 million unlabeled images from OpenImages, Coaching trains a ResNet-50 to $8 2 . 3 4 \\%$ top-1 accuracy, setting a new state-of-the-art for the architecture on ImageNet without using extra labeled data.1 ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
232,
|
| 53 |
+
344,
|
| 54 |
+
766,
|
| 55 |
+
483
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
515,
|
| 66 |
+
336,
|
| 67 |
+
530
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Professional players in competitive sports such as chess, tennis, or swimming often have coaches to help improving their performance. Although coaches typically do not play as well as the players, they observe the players and provide instructions to improve the players’ performance. Modern semi-supervised learning (SSL) algorithms do not follow this strategy. They instead have a teacher model that generates pseudo labels for unlabeled data, from which a student model learns by imitation (e.g., Lee (2013); Tarvainen & Valpola (2017); Laine & Aila (2017)). A weakness of these methods is that the teacher does not adjust itself based on the student’s performance and cannot adapt to make the student better over time, unlike professional sport coaches develop their players. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
173,
|
| 76 |
+
547,
|
| 77 |
+
825,
|
| 78 |
+
660
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Here, we propose a new semi-supervised learning method, called Coaching as shown in Figure 1, where the teacher learns throughout the course of student’s training. In our method, a teacher generates pseudo labels for unlabeled data, from which the student will learn. The student’s performance on labeled data will be used as reward to train the teacher with policy gradient. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
666,
|
| 88 |
+
825,
|
| 89 |
+
722
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/3a0ffb52634b9d076504729ad6bafe34cf33d3a55de49387d0cf2e344d54bd51.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Each step of gradient descent in Coaching consists of two steps. Updating the Student (top): The teacher network $T$ samples the labels $\\hat { y }$ of unlabeled data $x _ { \\mathrm { u n l } }$ for the student $S$ to learn from. Updating the Teacher (bottom): The teacher updates itself using policy gradient to improve the student’s performance on labeled data $x _ { \\mathrm { l a b } }$ . "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
173,
|
| 102 |
+
736,
|
| 103 |
+
825,
|
| 104 |
+
833
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Experiments show that our method achieves significant improvements over state-of-the-art semisupervised learning baselines and can be up to $1 0 \\times$ more data efficient than supervised learning. For instance, with CIFAR-10, only using 4,000 labeled examples, a WideResNet-28-2 can be coached to $9 6 . 1 1 \\%$ accuracy, outperforming the same model trained with 45,000 labeled examples which achieves $9 4 . 9 \\%$ . Meanwhile, on ImageNet, using ResNet-50 with only $1 0 \\%$ labeled examples, our method achieves $7 2 . 9 4 \\%$ top-1 accuracy, outperforming all existing semi-supervised learning methods with the same amount of labeled data, and approaching the top-1 accuracy of $7 6 . 3 \\%$ of the same ResNet-50 trained with all labels. Coaching also scales to the high data regime. In particular, with all 1.28 million labeled examples from ImageNet, plus 9 million unlabeled and potentially out-of-distribution data from OpenImages (Kuznetsova et al., 2018), a ResNet-50 can be coached to the accuracy of $8 2 . 3 4 \\%$ , which is a new state-of-the-art for the architecture without using extra labeled data. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
103,
|
| 114 |
+
825,
|
| 115 |
+
270
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "2 METHOD ",
|
| 122 |
+
"text_level": 1,
|
| 123 |
+
"bbox": [
|
| 124 |
+
174,
|
| 125 |
+
290,
|
| 126 |
+
282,
|
| 127 |
+
306
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "Notations. Let $T$ , $S$ respectively be the teacher network and the student network in Coaching, and $\\theta _ { T }$ , $\\theta _ { S }$ be their corresponding parameters. Since we work with both labeled data and unlabeled data, we use $( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } )$ to refer to a pair of an input and its corresponding label, and use $x _ { \\mathrm { u n l } }$ to refer to an unlabeled example. In addition, we use $\\ell ( x , y ; \\theta )$ to denote the cross entropy loss computed on input $x$ by with parameter $\\theta$ on label $y$ . ",
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
320,
|
| 137 |
+
825,
|
| 138 |
+
392
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "As shown in Figure 1, each training step in Coaching consists of two phases: ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
398,
|
| 148 |
+
676,
|
| 149 |
+
414
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Phase 1: The student learns from data pseudo labeled by the teacher. In this phase, the teacher $T$ first performs a forward pass on $x _ { \\mathrm { u n l } }$ to compute the class distribution $P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } )$ . From this distribution, the teacher samples a pseudo label $\\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } )$ . The pair $x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } }$ is then shown to the student $S$ to make an update on its parameters $\\theta _ { S }$ . The update is based on the gradient computed by back-propagating from the cross entropy loss. For instance, if $\\theta _ { S }$ is updated using SGD, then: ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
428,
|
| 159 |
+
825,
|
| 160 |
+
498
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "equation",
|
| 166 |
+
"img_path": "images/6b2504ad1262838f3f2f309f4e52a11943d8bf6fe25d78b618564f386ba04c99.jpg",
|
| 167 |
+
"text": "$$\n\\theta _ { S } ^ { ( t + 1 ) } : = \\theta _ { S } ^ { t } - \\eta \\cdot \\underbrace { \\frac { \\partial \\ell ( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { S } ) } { \\partial \\theta _ { S } } } _ { \\xrightarrow [ ] { \\Delta } } \\bigg | _ { \\theta _ { S } = \\theta _ { S } ^ { ( t ) } } = \\theta _ { S } ^ { ( t ) } - \\eta \\cdot g _ { S } ^ { ( t ) } ,\n$$",
|
| 168 |
+
"text_format": "latex",
|
| 169 |
+
"bbox": [
|
| 170 |
+
294,
|
| 171 |
+
503,
|
| 172 |
+
700,
|
| 173 |
+
570
|
| 174 |
+
],
|
| 175 |
+
"page_idx": 1
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"type": "text",
|
| 179 |
+
"text": "where $\\eta$ is the learning rate. ",
|
| 180 |
+
"bbox": [
|
| 181 |
+
174,
|
| 182 |
+
574,
|
| 183 |
+
356,
|
| 184 |
+
589
|
| 185 |
+
],
|
| 186 |
+
"page_idx": 1
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"type": "text",
|
| 190 |
+
"text": "Phase 2: The teacher learns from the student’s loss. After the student updates its parameters \nas in Equation 1, its parameters entropy loss. The goal of the testudent is updated as in Equation $\\theta _ { S } ^ { ( t + 1 ) }$ ) led example xlab, ylab is evaluated on a laben Coaching is to give tn the cross entropy loss using the crosssuch that if theill be minimized. $\\hat { y } _ { \\mathrm { u n l } }$ $^ { l }$ $\\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } ^ { ( t + 1 ) } )$ ",
|
| 191 |
+
"bbox": [
|
| 192 |
+
173,
|
| 193 |
+
603,
|
| 194 |
+
826,
|
| 195 |
+
667
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 1
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "Clearly, $\\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } ^ { ( t + 1 ) } )$ depends on $\\theta _ { S } ^ { ( t + 1 ) }$ , which in turn depends on the pseudo label $\\hat { y } _ { \\mathrm { u n l } }$ that the teacher samples. From the perspective of reinforcement learning, $\\hat { y } _ { \\mathrm { u n l } }$ can be treated as an onpolicy action of the teacher, which leads to the reward of $- \\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } ^ { ( t + 1 ) } )$ . In this perspective, we propose to train $\\theta _ { T }$ to minimize the value of $\\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\bar { \\theta } _ { S } ^ { ( t + 1 ) } )$ , where $\\bar { \\theta } _ { S } ^ { ( t + 1 ) }$ is the expected destination that the teacher will guide the student to. This expectation is taken over all possible pseudo labels $\\hat { y } _ { \\mathrm { u n l } }$ . Formally, ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
173,
|
| 204 |
+
674,
|
| 205 |
+
826,
|
| 206 |
+
770
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 1
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "equation",
|
| 212 |
+
"img_path": "images/db239e95251018e168f171bd8479515d00f03e0f473cbab14735f5de7d715e49.jpg",
|
| 213 |
+
"text": "$$\n\\theta _ { T } ^ { * } = \\operatorname * { a r g m i n } _ { \\theta _ { T } } R ( \\theta _ { T } ) \\mathrm { ~ w h e r e ~ } R ( \\theta _ { T } ) = \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\mathbb { E } _ { \\hat { y } _ { \\mathrm { t u n l } } \\sim P ( \\cdot | x _ { \\mathrm { l a b } } ; \\theta _ { T } ) } \\left[ \\theta _ { S } ^ { ( t + 1 ) } \\right] \\right)\n$$",
|
| 214 |
+
"text_format": "latex",
|
| 215 |
+
"bbox": [
|
| 216 |
+
238,
|
| 217 |
+
775,
|
| 218 |
+
758,
|
| 219 |
+
806
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 1
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "To find $\\theta _ { T } ^ { * }$ , we differentiate $R ( \\theta _ { T } )$ in Equation 2 with respect to $\\theta _ { T }$ . Here, we present the resulting gradient $g _ { T } ^ { ( t ) }$ , which has the form ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
819,
|
| 229 |
+
826,
|
| 230 |
+
853
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 1
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "equation",
|
| 236 |
+
"img_path": "images/6ad3d8058f3553c02b7f5398b0370f29836b31d3391e7050ee8c5b3150a53682.jpg",
|
| 237 |
+
"text": "$$\ng _ { T } ^ { ( t ) } \\approx \\eta \\cdot \\left[ \\left( g _ { S } ^ { ( t ) } \\right) ^ { \\top } \\cdot \\left( \\frac { \\partial \\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } ) } { \\partial \\theta _ { S } } \\bigg | _ { \\theta _ { S } = \\theta _ { S } ^ { ( t + 1 ) } } \\right) ^ { \\top } \\right] \\cdot \\left( \\frac { \\partial \\ell ( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { T } ) } { \\partial \\theta _ { T } } \\bigg | _ { \\theta _ { T } = \\theta _ { T } ^ { ( t ) } } \\right)\n$$",
|
| 238 |
+
"text_format": "latex",
|
| 239 |
+
"bbox": [
|
| 240 |
+
199,
|
| 241 |
+
859,
|
| 242 |
+
779,
|
| 243 |
+
910
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 1
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "The full derivation can be found in Appendix A, but intuitively, the differentiation depends on two tools. The first tool is the is the chain rule, which we leverage to differentiate $R ( \\theta _ { T } )$ with respect to $\\theta _ { T }$ . The second tool is the REINFORCE equation (Williams, 1992), which we leverage to establish the relationship between $\\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } } \\left[ \\theta _ { S } ^ { ( t + 1 ) } \\right]$ and $\\theta _ { T }$ . ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
173,
|
| 252 |
+
102,
|
| 253 |
+
825,
|
| 254 |
+
170
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "Coaching combines the two steps above in an SGD step. We summarize the method in Algorithm 1. ",
|
| 261 |
+
"bbox": [
|
| 262 |
+
171,
|
| 263 |
+
175,
|
| 264 |
+
823,
|
| 265 |
+
190
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "Algorithm 1 The Coaching method. ",
|
| 272 |
+
"text_level": 1,
|
| 273 |
+
"bbox": [
|
| 274 |
+
173,
|
| 275 |
+
207,
|
| 276 |
+
413,
|
| 277 |
+
222
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "Input :Labeled data $x _ { \\mathrm { l a b } }$ , $y _ { \\mathrm { l a b } }$ and unlabeled data $x _ { \\mathrm { u n l } }$ . \n1 Initialize $\\theta _ { T } ^ { ( 0 ) }$ and $\\theta _ { S } ^ { ( 0 ) }$ \n2 for $t = 0$ to $N - 1$ do \n3 Sample an unlabeled example $x _ { \\mathrm { u n l } }$ and a labeled example $x _ { \\mathrm { l a b } }$ , $y _ { \\mathrm { l a b } }$ \n4 Sample $\\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } )$ \n5 $\\theta _ { S } ^ { ( t + 1 ) } : = \\theta _ { S } ^ { ( t ) } - \\eta \\cdot g _ { S } ^ { ( t ) }$ . Compute $g _ { S } ^ { ( t ) }$ with pseudo labels as in Equation 1 and update $\\theta _ { S }$ \n6 Sθ(t+1)T : $\\theta _ { T } ^ { ( t + 1 ) } : = \\theta _ { T } ^ { ( t ) } - \\eta \\cdot h ^ { ( t ) } \\cdot g _ { T } ^ { ( t ) }$ . Compute the gradient $g _ { T } ^ { ( t ) }$ as in Equation 3 and update $\\theta _ { T }$ \n7 end \n8 return $\\theta _ { S } ^ { ( N ) }$ . Only the student model is used for predictions and evaluations ",
|
| 284 |
+
"bbox": [
|
| 285 |
+
160,
|
| 286 |
+
224,
|
| 287 |
+
825,
|
| 288 |
+
356
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "Generalize to an arbitrary batch size. Above, we have only discussed Coaching for a single unlabeled data $x _ { \\mathrm { u n l } }$ and a single labeled data $x _ { \\mathrm { l a b } }$ , $y _ { \\mathrm { l a b } }$ . Now, we describe how to scale Coaching to an arbitrary batch size. Scaling $x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } }$ to a minibatch of labeled example, $X _ { \\mathrm { l a b } }$ , $Y _ { \\mathrm { l a b } }$ is straightforward, as we can simply replace all computations of the cross entropy $\\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } ^ { ( t + 1 ) } )$ with the average cross entropy on the minibatch \\`(Xlab, Ylab; θ(t+1)S ). T(1) (2) o scale a single unlabeled example xunl to a minibatch of unlabeled examples $X _ { \\mathrm { u n l } } = \\{ x _ { \\mathrm { u n l } } ^ { ( 1 ) } , x _ { \\mathrm { u n l } } ^ { ( 2 ) } , . . . , x _ { \\mathrm { u n l } } ^ { ( B ) } \\}$ , we treat each batch of pseudo labels $\\hat { Y } _ { \\mathrm { u n l } }$ as a compound action sampled from the joint distribution ",
|
| 295 |
+
"bbox": [
|
| 296 |
+
173,
|
| 297 |
+
380,
|
| 298 |
+
825,
|
| 299 |
+
494
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "equation",
|
| 305 |
+
"img_path": "images/648aa72b9563b3d171274f52cde37c53c00f6d6431253048c631283e45832a9c.jpg",
|
| 306 |
+
"text": "$$\nP \\left( \\hat { Y } _ { \\mathrm { u n l } } \\middle | X _ { \\mathrm { u n l } } ; \\theta _ { T } \\right) = P \\left( \\hat { y } _ { \\mathrm { u n l } } ^ { ( 1 ) } , \\hat { y } _ { \\mathrm { u n l } } ^ { ( 2 ) } , \\ldots , \\hat { y } _ { \\mathrm { u n l } } ^ { ( B ) } \\middle | X _ { \\mathrm { u n l } } ; \\theta _ { T } \\right) = \\prod _ { i = 1 } ^ { B } P \\left( \\hat { y } _ { \\mathrm { u n l } } ^ { ( i ) } \\middle | x _ { \\mathrm { u n l } } ^ { ( i ) } ; \\theta _ { T } \\right)\n$$",
|
| 307 |
+
"text_format": "latex",
|
| 308 |
+
"bbox": [
|
| 309 |
+
238,
|
| 310 |
+
500,
|
| 311 |
+
758,
|
| 312 |
+
542
|
| 313 |
+
],
|
| 314 |
+
"page_idx": 2
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"type": "text",
|
| 318 |
+
"text": "Since every pseudo label $\\hat { y } _ { \\mathrm { u n l } } ^ { ( i ) }$ is sampled independently, applying REINFORCE as in Equation 3 simply factors the per-instance cross entropy into the batch cross entropy $\\begin{array} { r l } { ~ } & { { } \\sum _ { i = 1 } ^ { B } \\ell ( x _ { \\mathrm { u n l } } ^ { ( i ) } , \\hat { y } _ { \\mathrm { u n l } } ^ { ( i ) } ; \\theta _ { T } ) } \\end{array}$ . ",
|
| 319 |
+
"bbox": [
|
| 320 |
+
173,
|
| 321 |
+
550,
|
| 322 |
+
825,
|
| 323 |
+
602
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "3 EXPERIMENTS ",
|
| 330 |
+
"text_level": 1,
|
| 331 |
+
"bbox": [
|
| 332 |
+
176,
|
| 333 |
+
619,
|
| 334 |
+
328,
|
| 335 |
+
636
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "Compared to other methods that use both labeled data and unlabeled data, Coaching has three main advantages: ",
|
| 342 |
+
"bbox": [
|
| 343 |
+
174,
|
| 344 |
+
650,
|
| 345 |
+
825,
|
| 346 |
+
679
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 2
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "1. The teacher does not only demonstrate its knowledge to the student but also adjusts its teaching strategy in an adaptive manner with the student, throughout the course of the student’s learning. \n2. The teacher in Coaching can benefit from advanced SSL techniques such as consistency regularization. \n3. The student in Coaching never learns directly from labeled data. This does not only prevent overfitting when limited labeled data is available, but also allows us to finetune the trained student in Coaching directly on labeled data to further boost the student’s performance. ",
|
| 353 |
+
"bbox": [
|
| 354 |
+
184,
|
| 355 |
+
690,
|
| 356 |
+
825,
|
| 357 |
+
799
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "We perform experiments to verify the strength of Coaching. In Section 3.1, we consider the low data regime with typical benchmarks for SSL methods. After that, in Section 3.2, we consider the high data regime which contains potentially out-of-distribution data. ",
|
| 364 |
+
"bbox": [
|
| 365 |
+
176,
|
| 366 |
+
810,
|
| 367 |
+
825,
|
| 368 |
+
853
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 2
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "Model Architectures. In our experiments, our teacher model and our student model always have the same architecture but with different weights. For CIFAR-10 and SVHN, we use the WideResNet28-2 (Zagoruyko & Komodakis, 2016), which has 1.45 million parameters. For ImageNet, we use a ResNet-50 (He et al., 2016), which has 25.5 million parameters. For experiments that train only one model, we apply exponential moving average with a decay rate of 0.99 on the weights of the model. For experiments that have a teacher model and a student model, we apply this exponential moving average on the weights of the student model only. ",
|
| 375 |
+
"bbox": [
|
| 376 |
+
174,
|
| 377 |
+
867,
|
| 378 |
+
825,
|
| 379 |
+
924
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 2
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
103,
|
| 389 |
+
823,
|
| 390 |
+
146
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Additional Implementation Details. To improve the stability and accuracy of the method, we apply a few minor enhancements to the teacher: ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
176,
|
| 399 |
+
162,
|
| 400 |
+
823,
|
| 401 |
+
191
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "1. Use cosine distance instead of dot product. As the dot product $h ^ { ( t ) }$ in Equation 3 has a large value range, in order to stabilize training, we compute $h ^ { ( t ) }$ using the gradients’ cosine distance. \n2. Use a baseline for $h ^ { ( t ) }$ . To further reduce the variance of $h ^ { ( t ) }$ , we maintain a moving average $b$ of $h ^ { ( t ) }$ and subtract $b$ from $h ^ { ( t ) }$ every time we compute $g _ { T } ^ { ( t ) }$ as in Equation 3. \n3. Additional supervised loss for the teacher. We find that adding the supervised loss $\\ell ( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { T } )$ to the teacher’s objective results in a faster learning and better student. \n4. Consistently regularize the teacher. In the low data regime, consistency regularization improves the teacher and the student. More details are in Section 3.1. \n5. Pre-training the teacher. When the number of classes is large, it is beneficial to initialize the teacher with a trained model so that the pseudo labels are better than random at the beginning of the student’s learning. If we pre-train the teacher, Point 3 has minimal effect. \n6. Finetuning the student. Since the student in Coaching only learns from unlabeled data and pseudo labels generated by the teacher, finetuning a converged student on labeled data often improves the student’s performance. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
181,
|
| 410 |
+
208,
|
| 411 |
+
828,
|
| 412 |
+
444
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "The details mentioned above are mutually orthogonal. Since (1) and (2) are crucial to stabilize the Coaching process, they are always used in our experiments. In addition, we apply (3) and (4) to the low data regime, and apply (5) for the high data regime for computational efficiency and strong performance. We will explain these decisions in the corresponding sections. ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
176,
|
| 421 |
+
458,
|
| 422 |
+
825,
|
| 423 |
+
513
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 3
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "3.1 RESULTS ON LOW DATA REGIME ",
|
| 430 |
+
"text_level": 1,
|
| 431 |
+
"bbox": [
|
| 432 |
+
176,
|
| 433 |
+
534,
|
| 434 |
+
442,
|
| 435 |
+
547
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "Datasets. We consider three datasets with reduced numbers of labeled instances: CIFAR10 (Krizhevsky, 2009) with 4,000 labeled examples, SVHN (Netzer et al., 2011) with 1,000 labeled examples, and ImageNet (Russakovsky et al., 2015) with 128,000 labeled examples, which is approximately $1 0 \\%$ of the whole ImageNet. All images in these datasets are used as unlabeled examples, which means that even the labeled images can be used as unlabeled examples. We use the image size of $3 2 \\times 3 2$ for CIFAR-10 and SVHN, and the image size of $2 2 4 \\times 2 2 4$ for ImageNet. These datasets, label reductions, and image sizes are standard for low data image classification. ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
174,
|
| 444 |
+
560,
|
| 445 |
+
826,
|
| 446 |
+
659
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 3
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "Baselines. We compare Coaching against 3 baseline training algorithms Purely Supervised, PseudoLabel (Lee, 2013), and Unsupervised Data Augmentation (UDA; Xie et al. (2019)). We discuss these baselines more in Section 4. We choose these baselines for three reasons. First, the purely supervised baseline serves to verify our implementation and to demonstrate the overfitting of our models when labeled data is scarce. Second, comparing Coaching with Pseudo-Label confirms the benefits of continuing to train the teacher throughout the course of the student’s learning. Finally, we compare against UDA because is the state-of-the-art on the datasets that we consider. ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
173,
|
| 455 |
+
675,
|
| 456 |
+
825,
|
| 457 |
+
772
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 3
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "To ensure a fair comparison, we re-implement these baselines in our environment. We follow Oliver et al. (2018)’s train/eval/test splitting, and we use the same amount of resources to tune hyperparameters for our baselines as well as for Coaching. More details are in Appendix C. ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
176,
|
| 466 |
+
780,
|
| 467 |
+
823,
|
| 468 |
+
821
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 3
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "Additional baselines. In addition to the three main baselines discussed above, we also include four other baselines: Temporal Ensemble (Laine & Aila, 2017), Mean Teacher (Tarvainen & Valpola, 2017), VAT (Miyato et al., 2018), LGA (Jackson & Schulman, 2019), ICT (Verma et al., 2019), and MixMatch (Berthelot et al., 2019). We use results reported by Oliver et al. (2018). Since these methods do not share the same controlled environment, the comparison to them is not direct, and should be contextualized as suggested by Oliver et al. (2018). ",
|
| 475 |
+
"bbox": [
|
| 476 |
+
174,
|
| 477 |
+
840,
|
| 478 |
+
825,
|
| 479 |
+
924
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 3
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "table",
|
| 485 |
+
"img_path": "images/c64986282079eace632772d192c63c8f2498a70ec73340c3c8d9e3ed78358674.jpg",
|
| 486 |
+
"table_caption": [
|
| 487 |
+
"Data augmentations. In our implementation of UDA and Coaching, we use RandomAugment, which is a randomized augmentation strategy over all the operations in the search space of AutoAugment (Cubuk et al., 2019). We use RandomAugment because it is simple to implement, requires no expensive search, and achieves similar performance compared to UDA with AutoAugment. More details of RandomAugment can be found in Appendix C.2. ",
|
| 488 |
+
"Table 1: Image Classification Accuracy on reduced CIFAR-10, SVHN, and ImageNet. Higher is better. For CIFAR-10 and SVHN, we report mean $\\pm$ std over 10 runs, while for ImageNet, we report Top-1/Top-5 accuracy of a single run. Results in the second block are taken from past papers, while the rest shares the same environment and hyper-parameter settings. All methods share the same model architecture: WideResNet-28-2 for CIFAR-10 and SVHN, and ResNet-50 for ImageNet. "
|
| 489 |
+
],
|
| 490 |
+
"table_footnote": [],
|
| 491 |
+
"table_body": "<table><tr><td>Methods</td><td>CIFAR-10 (4,000)</td><td>SVHN (1,000)</td><td>ImageNet (10%)</td></tr><tr><td>Purely Supervised on full dataset</td><td>94.92 ± 0.17</td><td>97.41 ± 0.16</td><td>76.89/93.27</td></tr><tr><td>Temporal Ensemble</td><td>83.63 ±0.63</td><td>92.81± 0.27</td><td></td></tr><tr><td>Mean Teacher</td><td>84.13± 0.28</td><td>94.35 ± 0.47</td><td></td></tr><tr><td>VAT+EntMin</td><td>86.87± 0.39</td><td>94.65 ± 0.19</td><td>-/83.39</td></tr><tr><td>LGA +VAT</td><td>87.94 ± 0.19</td><td>93.42 ± 0.36</td><td>1</td></tr><tr><td>ICT</td><td>92.71±0.02</td><td>96.11 ± 0.04</td><td></td></tr><tr><td>MixMatch</td><td>93.76±0.06</td><td>96.73 ± 0.31</td><td></td></tr><tr><td>Purely Supervised</td><td>82.14±0.25</td><td>88.17 ±0.47</td><td>57.75/80.23</td></tr><tr><td>Pseudo Labels</td><td>83.79 ± 0.11</td><td>89.81± 0.41</td><td>58.21/82.19</td></tr><tr><td>UDA (our implementation)</td><td>94.53 ±0.18</td><td>97.11 ± 0.17</td><td>68.07/88.19</td></tr><tr><td>Coaching</td><td>95.60 ±0.19</td><td>97.79 ± 0.11</td><td>72.39/90.52</td></tr><tr><td>Coaching + Finetune</td><td>96.11 ± 0.07</td><td>98.01 ± 0.07</td><td>72.94/90.80</td></tr></table>",
|
| 492 |
+
"bbox": [
|
| 493 |
+
241,
|
| 494 |
+
184,
|
| 495 |
+
754,
|
| 496 |
+
396
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "Main results. In Table 1, we present our main results before and after finetuning the student on labeled data. The results confirm that Coaching significantly outperforms UDA and other strong baselines in semi-supervised learning. ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
176,
|
| 505 |
+
489,
|
| 506 |
+
821,
|
| 507 |
+
532
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "On CIFAR-10 and SVHN, compared to the state-of-the-art UDA, Coaching’s error rate reduction are roughly $3 0 \\%$ and $1 0 \\%$ . As UDA’s accuracy is already relatively high, such error reductions are significant. On CIFAR-10, Coaching is also the first approach to exceed supervised learning on the all labels by using merely 4,000 labeled examples. Meanwhile, on ImageNet- $10 \\%$ , Coaching outperforms UDA by almost $5 \\%$ in top-1 accuracy, going from $6 8 . 0 7 \\%$ to ${ \\bar { 7 } } 2 . 9 4 \\%$ . Even prior to finetuning on labeled data, Coaching still outperforms UDA and other baselines. ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
174,
|
| 516 |
+
540,
|
| 517 |
+
825,
|
| 518 |
+
623
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "Comparing to existing state-of-the-art methods. To the best of our knowledge, Coaching has achieved new state-of-the-art performances among the same model architectures on three datasets considered in this section. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
637,
|
| 528 |
+
825,
|
| 529 |
+
679
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "For CIFAR-10 and SVHN, all existing better results use a larger model and more advanced regularization techniques. For instance, Xie et al. (2019) reports $9 7 . 3 \\%$ with UDA (Xie et al., 2019), but their backbone model is PyramidNet, which has $1 8 \\times$ more parameters than WideResNet-28-2 and they train with Shake-Drop regularization (Yamada et al., 2018). Similarly, for ImageNet- $10 \\%$ , the only better published result is $7 3 . 2 1 \\%$ top-1 accuracy, achieved by MOAM- $S ^ { 4 } L$ (Zhai et al., 2019). This accuracy is only slightly better than Coaching’s $7 2 . 9 4 \\%$ , but uses a $4 \\times$ wider ResNet-50. We believe that the enhancements in architectures, regularization techniques, and model sizes, can be applied to Coaching to further improve our results. ",
|
| 536 |
+
"bbox": [
|
| 537 |
+
174,
|
| 538 |
+
686,
|
| 539 |
+
826,
|
| 540 |
+
797
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 4
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "3.2 RESULTS ON HIGH DATA REGIME ",
|
| 547 |
+
"text_level": 1,
|
| 548 |
+
"bbox": [
|
| 549 |
+
176,
|
| 550 |
+
814,
|
| 551 |
+
447,
|
| 552 |
+
828
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "We have seen Coaching achieves strong performance for low data image classification tasks. Another aspect of these tasks is that the unlabeled data also come from the same domain as the labeled data, which is a restricted assumption. In this section, we show that Coaching also excels in the regime where we have a large labeled dataset and an order of magnitude more unlabeled data. In this regime, we also test the performance of our method when the unlabeled set may have out-of-domain images, i.e., the images belong to categories that do not exist in ImageNet. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
840,
|
| 562 |
+
826,
|
| 563 |
+
924
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 4
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Datasets. We experiment with all labeled examples in ImageNet. Additionally, we take unlabeled images from the entire $4 ^ { \\mathrm { t h } }$ version of OpenImages dataset (Kuznetsova et al., 2018), which has 9 million natural images. A few samples from OpenImages can be found in Figure 2. Unless otherwise specified, for both datasets, we use the image size of $2 2 4 \\times 2 2 4$ . ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
103,
|
| 573 |
+
825,
|
| 574 |
+
159
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "Baselines. Since this regime of high data has not been extensively studied, we are only aware of two relevant, strong baselines. Our first baseline is Billion-scale Semi-supervised Learning (Billion-scale SSL; Yalniz et al. (2019)). Billion-scale SSL uses unlabeled data from the YFCC100M dataset (Thomee et al., 2015), studies several self-training settings, with various model architectures for teachers and students. Here, we restrict our comparison to the settings that use ResNet-50 for both the teacher and the student. Our second baseline is UDA (Xie et al., 2019), for which the authors select unlabeled images algorithmically from the JFT dataset.2 ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
178,
|
| 584 |
+
825,
|
| 585 |
+
275
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Other than these baselines, we compare Coaching to techniques that enhance supervised learning, such as DropBlock (Ghiasi et al., 2018), CutMix (Yun et al., 2019), and FixRes (Touvron et al., 2019). ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
176,
|
| 594 |
+
282,
|
| 595 |
+
821,
|
| 596 |
+
310
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Implementation details. We implement Coaching the same as in Section 3.1, except for one part: Instead of directly training and consistently regularizing the teacher, we initialize the teacher using a pre-trained ResNet-50 (pre-trained on full ImageNet). Then, throughout the course of the student’s learning, we only train the teacher to minimize the student’s cross entropy loss. We do not use additional supervised loss for the teacher because because once the teacher is pre-trained, adding another loss to the teacher has minimal effect. We do not consistently regularize the teacher because Xie et al. (2019) has found that consistency regularization requires in-domain data, while we do not filter our unlabeled images from OpenImages. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
173,
|
| 605 |
+
328,
|
| 606 |
+
825,
|
| 607 |
+
440
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 5
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "table",
|
| 613 |
+
"img_path": "images/30bc755e86f1c9639dc7544e66731fa2a0d9ba43347961ece705589c19771adb.jpg",
|
| 614 |
+
"table_caption": [],
|
| 615 |
+
"table_footnote": [],
|
| 616 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td rowspan=\"2\">Unlabeled images</td><td colspan=\"2\">Image size</td><td rowspan=\"2\">Top-1</td><td rowspan=\"2\">Top-5</td></tr><tr><td>Train</td><td>Test</td></tr><tr><td>Supervised</td><td>None</td><td>224</td><td>224</td><td>76.89</td><td>93.27</td></tr><tr><td>DropBlock</td><td>None</td><td>224</td><td>224</td><td>78.35</td><td>94.15</td></tr><tr><td>FixRes +CutMix</td><td>None</td><td>224</td><td>320</td><td>79.8</td><td>94.9</td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>320</td><td>79.80</td><td>94.87</td></tr><tr><td rowspan=\"2\">FixRes Coaching</td><td>None</td><td>224</td><td>384</td><td>79.1</td><td>94.6</td></tr><tr><td>OpenImages</td><td>224</td><td>384</td><td>80.10</td><td>95.07</td></tr><tr><td>Billion-scale SSL</td><td>YFCC100M</td><td>224</td><td>224</td><td>77.6</td><td></td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>224</td><td>78.62</td><td>94.26</td></tr><tr><td>UDA</td><td>JFT</td><td>331</td><td>331</td><td>79.04</td><td>94.45</td></tr><tr><td>Coaching</td><td>OpenImages</td><td>224</td><td>331</td><td>79.86</td><td>94.92</td></tr><tr><td>Coaching+iterative</td><td>OpenImages</td><td>224</td><td>331</td><td>82.34</td><td>96.09</td></tr></table>",
|
| 617 |
+
"bbox": [
|
| 618 |
+
261,
|
| 619 |
+
455,
|
| 620 |
+
735,
|
| 621 |
+
666
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "Table 2: Image classification accuracy with full ImageNet plus unlabeled images. Results are organized by image size because image size has a strong impact on models’ performance. ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
171,
|
| 630 |
+
676,
|
| 631 |
+
823,
|
| 632 |
+
703
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "Results. We present our results in Table 2. As can be seen, Coaching outperforms all relevant SSL baselines. Specifically, for the image size of 224, Coaching outperforms Billion-scale SSL by about $1 \\%$ top-1 accuracy, even though Billion-scale SSL uses 10 times more unlabeled data. Meanwhile, for the image size of 331, Coaching achieves the top-1 accuracy of $7 9 . 8 6 \\%$ , comfortably outperforming the top-1 accuracy of $7 9 . 0 4 \\%$ by UDA. This improvement is particularly significant, since Coaching simply uses all data from OpenImages, while UDA has to select and balance the class distribution of their unlabeled data using a pre-trained teacher. This difference suggests that the teacher in Coaching can give helpful pseudo labels to the student, even on potentially out-of-distribution data. ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
174,
|
| 641 |
+
720,
|
| 642 |
+
825,
|
| 643 |
+
832
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 5
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "It is worth mentioning that Coaching also outperforms the strong supervised baselines of DropBlock and FixRes, and is on par with FixRes+CutMix. However, DropBlock and CutMix are both regularization techniques orthogonal to Coaching. Similar to consistency regularization in Section 3.1, these techniques can be incorporated into the teacher in Coaching to improve performance. ",
|
| 650 |
+
"bbox": [
|
| 651 |
+
174,
|
| 652 |
+
839,
|
| 653 |
+
825,
|
| 654 |
+
895
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 5
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "Comparing to state-of-the-art SSL results. Yalniz et al. (2019) reports the top-1 accuracy of $8 1 . 2 \\%$ for a ResNet-50 student. However, they need to pre-train a much bigger network ResNext-101-32x48 teacher (829 million parameters, $3 2 \\mathrm { x }$ larger than ResNet-50) on 1 billion Instagram images with weak labels (Mahajan et al., 2018). Then, they use the pseudo-labels from this teacher to train a ResNet-50 student for 2 billion steps. The fact that they use weakly labeled data from Instagram, much bigger architecture in ResNext-101-32x48 makes their results not directly comparable to ours. ",
|
| 661 |
+
"bbox": [
|
| 662 |
+
174,
|
| 663 |
+
103,
|
| 664 |
+
825,
|
| 665 |
+
188
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 6
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "Meanwhile, without the need of a much bigger dataset and architecture as used in Yalniz et al. (2019), Coaching achieves almost as good top-1 accuracy. To achieve this, we iterate the process of Coaching by turning the student into the teacher after convergence. After 17 iterations, our final student achieves $8 2 . 3 4 \\%$ top-1 accuracy on ImageNet, outperforming Yalniz et al. (2019)’s $8 1 . 2 \\%$ , even though we do not have the weakly labeled data from Instagram. ",
|
| 672 |
+
"bbox": [
|
| 673 |
+
174,
|
| 674 |
+
194,
|
| 675 |
+
825,
|
| 676 |
+
263
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 6
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "Insights about Coaching on OpenImages. Figure 2 shows five images taken from OpenImages, along with their OpenImages tags and the top 5 classes predicted by a teacher trained on ImageNet. From the figure, we can see that there are non-trivial overlapping contents between the OpenImages tags and the ImageNet top classes, such as sunglasses in the first image. We also see that for the images whose contents match stronger with an ImageNet class, such as the first and the third image, the entropy of the teacher’s prediction is smaller. As a result, when the teacher samples a pseudo label from these distribution, contents similar to an ImageNet class will receive more consistent labels, while content alien to ImageNet will have higher entropy on their labels. We suspect this is why a teacher trained on ImageNet can teach a student via pseudo labels on OpenImages. ",
|
| 683 |
+
"bbox": [
|
| 684 |
+
173,
|
| 685 |
+
284,
|
| 686 |
+
826,
|
| 687 |
+
410
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 6
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "image",
|
| 693 |
+
"img_path": "images/3f36c32f4813ff69e0c535abbb87f4e59c10b06addd499c4b452791024d90158.jpg",
|
| 694 |
+
"image_caption": [
|
| 695 |
+
"Figure 2: An illustration of why OpenImages help ImageNet classification. Top: OpenImages tags. Middle: A sample image from OpenImages. Bottom: Top 5 labels for the image predicted by a teacher ResNet-50 trained on ImageNet. Some OpenImages tags overlap significantly with some ImageNet classes, such as wheel and car wheel in the second image. The class predictions also have a higher entropy when the ImageNet classes overlap less with the OpenImages contents (images 2, 4, 5), than when the ImageNet classes overlap more (images 1, 3). "
|
| 696 |
+
],
|
| 697 |
+
"image_footnote": [],
|
| 698 |
+
"bbox": [
|
| 699 |
+
212,
|
| 700 |
+
415,
|
| 701 |
+
795,
|
| 702 |
+
588
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 6
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "3.3 ANALYSIS ",
|
| 709 |
+
"text_level": 1,
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
680,
|
| 713 |
+
285,
|
| 714 |
+
694
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Ablation Study of Implementation Details. To understand the contribution of each implementation detail of Coaching, we study their contributions on top of a purely supervised model. We conduct this study on ImageNet- $10 \\%$ and visualize the results in Figure 3. From the figure we see that RandomAugment and UDA both improve the final accuracy significantly, respectively by $3 . 1 3 \\%$ and $7 . 1 9 \\%$ top-1 accuracy. On top of UDA, Coaching delivers a smaller improvement of $4 . 3 2 \\%$ top-1 accuracy. However, since UDA’s accuracy is already high, we believe that the improvement of $4 . 3 2 \\%$ top-1 accuracy is significant. Finally, finetuning only slightly improves over Coaching. However, this extra boost is a unique advantage of Coaching: it is possible for the student in Coaching to finetune on labeled data because the student never directly learns from these labeled data. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
708,
|
| 724 |
+
825,
|
| 725 |
+
833
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "Coaching overfits less than Supervised Learning. In our Coaching framework, the student never directly learns from labeled data. This behavior is helps the student to avoid overfitting, especially when labeled data is scarce. In Figure 4, we visualize the training accuracy of Coaching and Supervised Learning on CIFAR-10 with 4,000 labels and on ImageNet with $10 \\%$ labels. As shown, the training accuracy of both the teacher and the student of Coaching stay relatively low. Meanwhile, the training accuracy of the supervised model eventually reaches $1 0 0 \\%$ and causes overfitting. ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
840,
|
| 735 |
+
825,
|
| 736 |
+
924
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "image",
|
| 742 |
+
"img_path": "images/ed6b51d0471ea4fd1866849074a61ccddd659333af9621335de5b95481ca6918.jpg",
|
| 743 |
+
"image_caption": [
|
| 744 |
+
"Figure 3: Breakdown of the gains of different components in Coaching. The gain of Coaching over UDA, albeit smaller than the gain of UDA over RandomAugment, is significant as UDA is already very strong. "
|
| 745 |
+
],
|
| 746 |
+
"image_footnote": [],
|
| 747 |
+
"bbox": [
|
| 748 |
+
183,
|
| 749 |
+
108,
|
| 750 |
+
452,
|
| 751 |
+
174
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 7
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "image",
|
| 757 |
+
"img_path": "images/daed95c2a2f864200b064f0f14afc1c16ae289b2406a7dcf06a279f17506cb5e.jpg",
|
| 758 |
+
"image_caption": [
|
| 759 |
+
"Figure 4: Training accuracy of Coaching and of supervised learning on CIFAR-10-4,000 and ImageNet- $10 \\%$ . Both the teacher and the student in Coaching have lower training accuracy, effectively avoiding overfitting. "
|
| 760 |
+
],
|
| 761 |
+
"image_footnote": [],
|
| 762 |
+
"bbox": [
|
| 763 |
+
480,
|
| 764 |
+
106,
|
| 765 |
+
812,
|
| 766 |
+
196
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 7
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "4 RELATED WORK ",
|
| 773 |
+
"text_level": 1,
|
| 774 |
+
"bbox": [
|
| 775 |
+
176,
|
| 776 |
+
287,
|
| 777 |
+
344,
|
| 778 |
+
304
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "Pseudo-Label. Pseudo-Label (Lee, 2013) is one of the simplest semi-supervised learning algorithms: First, a teacher model is trained on labeled data. Then, the converged teacher model generates pseudo labels for unlabeled data. These unlabeled data and their pseudo labels are combined with the labeled data to train another model, which is called the student model. An inherent weakness of Pseudo-Label is that once the teacher generates an incorrect pseudo label for an unlabeled datum, the student can only naively learn from this wrong label. This phenomenon is called the confirmation bias. Arazo et al. (2019) addressed the confirmation bias by generating soft labels from the teacher and by adding noise to these labels. However, this is a manual fix from an outside model designer. The main difference between Pseudo-Label and Coaching is that in Coaching, the teacher is trained along with the student throughout the course of training. This allows wrong knowledge learned by the teacher to be fixed in an end-to-end manner, leading to stronger performances. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
173,
|
| 787 |
+
311,
|
| 788 |
+
825,
|
| 789 |
+
464
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "Semi-supervised Learning (SSL). Pseudo-Label belongs to a more general group of algorithms known as Semi-supervised Learning. Unlike Pseudo-Label, typical SSL methods combine both labeled and unlabeled data to train a single model. Hence, the objective function of SSL is typically the sum of a supervised loss and an unsupervised loss. The supervised loss is often the cross-entropy computed on the labeled data. Meanwhile, the unsupervised loss can be a self-supervised loss (Rasmus et al., 2015; Noroozi & Favaro, 2018; Gidaris et al., 2018), or consistency regularization (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2018; Berthelot et al., 2019; Xie et al., 2019). Self-supervised losses typically encourage the model to develop a common sense about the images. Meanwhile, consistency regularization enforces that the model is invariant against certain transformations of the data. The main difference between Coaching and SSL methods is that the student in Coaching never learns directly from labeled data. This helps the student in Coaching to avoid overfitting to labeled data, especially when labeled data is limited. ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
173,
|
| 798 |
+
474,
|
| 799 |
+
825,
|
| 800 |
+
641
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Meta Learning. In Meta Learning, there is typically an outer loop that optimizes the performance of a model trained in an inner loop (Finn et al., 2017; Metz et al., 2019). Meta Learning has been applied to perform self-training and SSL in the low data regime (Agarwal et al., 2019; Ren et al., 2018; Boney & Ilin, 2018; Hsu et al., 2019). A crucial difference between Coaching and Meta Learning is that in Coaching, the pseudo labels are chosen to improve the student, and hence there is no need for an outer loop. We suspect this is an advantage of our method, since gradients to be very powerful for models to navigate in the parameter space. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
651,
|
| 810 |
+
825,
|
| 811 |
+
750
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "5 CONCLUSION ",
|
| 818 |
+
"text_level": 1,
|
| 819 |
+
"bbox": [
|
| 820 |
+
176,
|
| 821 |
+
776,
|
| 822 |
+
318,
|
| 823 |
+
792
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 7
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "In this paper, we proposed the Coaching method for semi-supervised learning. Key to Coaching is the idea that the teacher learns from the student’s loss and improves itself to generate pseudo labels in a way that helps student’s learning the most. The learning process in Coaching consists of two main updates: updating the student based on the pseudo labeled data produced by the teacher and updating the teacher based on the student’s performance. Experiments on standard CIFAR-10 and SVHN show that Coaching is much better than supervised learning and consistenly better than other semi-supervised learning methods. Coaching scales well to large problems, and successfully uses out-of-domain data to improve ImageNet classification. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
811,
|
| 833 |
+
825,
|
| 834 |
+
924
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 7
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "REFERENCES ",
|
| 841 |
+
"text_level": 1,
|
| 842 |
+
"bbox": [
|
| 843 |
+
176,
|
| 844 |
+
103,
|
| 845 |
+
285,
|
| 846 |
+
117
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 8
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, Manjunath Kudlur, Josh Levenberg, Rajat Monga, Sherry Moore, Benoit G, Derek . Murrayand Steiner, Paul Tucker, Vijay Vasudevan, Pete Warden, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. Tensorflow: A system for large-scale machine learning. Arxiv 1605.08695, 2016. 14 ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
173,
|
| 855 |
+
126,
|
| 856 |
+
826,
|
| 857 |
+
195
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 8
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "Rishabh Agarwal, Chen Liang, Dale Schuurmans, and Mohammad Norouzi. Learning to generalize from sparse and underspecified rewards. In International Conference on Machine Learning, 2019. 8 ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
176,
|
| 866 |
+
204,
|
| 867 |
+
825,
|
| 868 |
+
246
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 8
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Eric Arazo, Diego Ortego, Paul Albert, Noel E. O’Connor, and Kevin McGuinness. Pseudo-labeling and confirmation bias in deep semi-supervised learning. Arxiv, 1908.02983, 2019. 8 ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
173,
|
| 877 |
+
255,
|
| 878 |
+
825,
|
| 879 |
+
284
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 8
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems, 2019. 4, 8 ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
178,
|
| 888 |
+
291,
|
| 889 |
+
825,
|
| 890 |
+
334
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 8
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "Rinu Boney and Alexander Ilin. Semi-supervised few-shot learning with maml. In Workshop Track of International Conference on Learning Representations, 2018. 8 ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
171,
|
| 899 |
+
343,
|
| 900 |
+
825,
|
| 901 |
+
372
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "Ekin D. Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V. Le. AutoAugment: Learning augmentation policies from data. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. 5, 13, 14 ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
380,
|
| 911 |
+
823,
|
| 912 |
+
422
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning, 2017. 8 ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
431,
|
| 922 |
+
823,
|
| 923 |
+
460
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "Golnaz Ghiasi, Tsung-Yi Lin, and Quoc V. Le. Dropblock: A regularization method for convolutional networks. In Advances in Neural Information Processing Systems, 2018. 6 ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
174,
|
| 932 |
+
468,
|
| 933 |
+
823,
|
| 934 |
+
497
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 8
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. 8 ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
505,
|
| 944 |
+
825,
|
| 945 |
+
547
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition, 2016. 3 ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
174,
|
| 954 |
+
556,
|
| 955 |
+
823,
|
| 956 |
+
585
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 8
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "Kyle Hsu, Chelsea Finn, and Sergey Levine. Unsupervised learning via meta learning. In International Conference on Learning Representations, 2019. 8 ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
173,
|
| 965 |
+
593,
|
| 966 |
+
823,
|
| 967 |
+
622
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 8
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Jacob Jackson and John Schulman. Semi-supervised learning by label gradient alignment. Arxiv 1902.02336, 2019. 4 ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
173,
|
| 976 |
+
631,
|
| 977 |
+
823,
|
| 978 |
+
659
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009. 4 ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
173,
|
| 987 |
+
667,
|
| 988 |
+
820,
|
| 989 |
+
684
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 8
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "Alina Kuznetsova, Hassan Rom, Neil Alldrin, Jasper Uijlings, Ivan Krasin, Jordi Pont-Tuset, Shahab Kamali, Stefan Popov, Matteo Malloci, Tom Duerig, and Vittorio Ferrari. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale. Arxiv, 1811.00982, 2018. 2, 6 ",
|
| 996 |
+
"bbox": [
|
| 997 |
+
173,
|
| 998 |
+
690,
|
| 999 |
+
825,
|
| 1000 |
+
747
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 8
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In International Conference on Learning Representations, 2017. 1, 4, 8 ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
173,
|
| 1009 |
+
756,
|
| 1010 |
+
823,
|
| 1011 |
+
785
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "Dong-Hyun Lee. Pseudo-Label: The simple and efficient semi-supervised learning method for deep neural networks. In International Conference on Machine Learning Workshop, 2013. 1, 4, 8 ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
171,
|
| 1020 |
+
792,
|
| 1021 |
+
825,
|
| 1022 |
+
821
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "Dhruv Mahajan, Ross Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. Arxiv, 1805.00932, 2018. 7 ",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
176,
|
| 1031 |
+
830,
|
| 1032 |
+
823,
|
| 1033 |
+
872
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 8
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "Luke Metz, Niru Maheswaranathan, Brian Cheung, and Jascha Sohl-Dickstein. Meta-learning update rules for unsupervised representation learning. In International Conference on Learning Representations, 2019. 8 ",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
174,
|
| 1042 |
+
882,
|
| 1043 |
+
823,
|
| 1044 |
+
922
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 8
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "Takeru Miyato, Shin-ichi Maeda, Shin Ishii, and Masanori Koyama. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. In IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018. 4, 8 ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
176,
|
| 1053 |
+
103,
|
| 1054 |
+
823,
|
| 1055 |
+
146
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 9
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "Yuval Netzer, Tao Wang, Alessandro Coates, Adamand Bissacco, Bo Wu, and Andrew Y. Ng. Reading digits in natural images with unsupervised feature learning. In Advances in Neural Information Processing Systems Workshop on Deep Learning and Unsupervised Feature Learning, 2011. 4 ",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
179,
|
| 1064 |
+
155,
|
| 1065 |
+
823,
|
| 1066 |
+
198
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 9
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. 8 ",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
171,
|
| 1075 |
+
205,
|
| 1076 |
+
825,
|
| 1077 |
+
236
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 9
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "Avital Oliver, Augustus Odena, Colin Raffel, Ekin D. Cubuk, and Ian J. Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. In Advances in Neural Information Processing Systems, 2018. 4, 14 ",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
173,
|
| 1086 |
+
243,
|
| 1087 |
+
823,
|
| 1088 |
+
286
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 9
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "Antti Rasmus, Harri Valpola, Mikko Honkala, Mathias Berglund, and Tapani Raiko. Semi-supervised learning with ladder networks. In Advances in Neural Information Processing Systems, 2015. 8 ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
173,
|
| 1097 |
+
295,
|
| 1098 |
+
823,
|
| 1099 |
+
325
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 9
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In International Conference on Machine Learning, 2018. 8 ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
173,
|
| 1108 |
+
333,
|
| 1109 |
+
820,
|
| 1110 |
+
363
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 9
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"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 Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision, 2015. 4 ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
174,
|
| 1119 |
+
371,
|
| 1120 |
+
825,
|
| 1121 |
+
414
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 9
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems, 2017. 1, 4, 8 ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
174,
|
| 1130 |
+
422,
|
| 1131 |
+
825,
|
| 1132 |
+
465
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 9
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "Bart Thomee, David A. Shamma, Gerald Friedland, Benjamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. YFCC100M: The new data in multimedia research. Arxiv 1503.01817, 2015. 6 ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
174,
|
| 1141 |
+
473,
|
| 1142 |
+
825,
|
| 1143 |
+
517
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 9
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Herve Jegou. Fixing the train-test resolution discrepancy. In Advances in Neural Information Processing Systems, 2019. 6 ",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
173,
|
| 1152 |
+
525,
|
| 1153 |
+
823,
|
| 1154 |
+
555
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 9
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "Vikas Verma, Alex Lamb, Juho Kannala, Yoshua Bengio, and David Lopez-Paz. Interpolation consistency training for semi-supervised learning. In International Joint Conference on Artificial Intelligence, 2019. 4 ",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
174,
|
| 1163 |
+
564,
|
| 1164 |
+
823,
|
| 1165 |
+
606
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 9
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 1992. 3, 12 ",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
171,
|
| 1174 |
+
614,
|
| 1175 |
+
825,
|
| 1176 |
+
645
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 9
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training. Arxiv, 1904.12848, 2019. 4, 5, 6, 8, 14 ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
171,
|
| 1185 |
+
652,
|
| 1186 |
+
823,
|
| 1187 |
+
683
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 9
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "I. Zeki Yalniz, Herv’e J’egou, Kan Chen, Manohar Paluri, and Dhruv Mahajan. Billion-scale semi-supervised learning for image classification. Arxiv 1905.00546, 2019. 6, 7 ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
169,
|
| 1196 |
+
690,
|
| 1197 |
+
823,
|
| 1198 |
+
719
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 9
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Yoshihiro Yamada, Masakazu Iwamura, Takuya Akiba, and Koichi Kise. Shakedrop regularization for deep residual learning. Arxiv, 1802.0237, 2018. 5 ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
173,
|
| 1207 |
+
728,
|
| 1208 |
+
823,
|
| 1209 |
+
757
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 9
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. CutMix: Regularization strategy to train strong classifiers with localizable features. In International Conference on Computer Vision, 2019. 6 ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
176,
|
| 1218 |
+
766,
|
| 1219 |
+
823,
|
| 1220 |
+
809
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 9
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In British Machine Vision Conference, 2016. 3 ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
169,
|
| 1229 |
+
818,
|
| 1230 |
+
823,
|
| 1231 |
+
847
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 9
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Xiaohua Zhai, Avital Oliver, Alexander Kolesnikov, and Lucas Beyer. $S ^ { 4 } L$ : Self-supervised semisupervised learning. Arxiv, 1905.03670, 2019. 5 ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
173,
|
| 1240 |
+
854,
|
| 1241 |
+
825,
|
| 1242 |
+
885
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 9
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "A DERIVATION OF THE TEACHER’S UPDATE RULE ",
|
| 1249 |
+
"text_level": 1,
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
174,
|
| 1252 |
+
101,
|
| 1253 |
+
607,
|
| 1254 |
+
118
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 10
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "In this section, we present the detailed derivation of the Teacher’s update rule in Equation 3 from Section 2. ",
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
174,
|
| 1263 |
+
133,
|
| 1264 |
+
823,
|
| 1265 |
+
162
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 10
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"text": "Mathematical Notations and Conventions. Since we will work with the chain rule, we use the standard Jacobian notations.3 Specifically, for a differentiable function $f : \\mathbb { R } ^ { m } \\mathbb { R } ^ { n }$ , and for a vector $x \\in \\mathbb { R } ^ { m }$ , we use the notation ∂f∂x ∈ Rn×m to denote the Jacobian matrix of f, whose dimension is $n \\times m$ . Additionally, when we mention the Jacobian of a function $f$ at multiple points such as x1 and x2, we will use the notations of ∂f∂x $\\left. { \\frac { \\partial f } { \\partial x } } \\right| _ { x = x _ { 1 } }$ and $\\left. \\frac { \\partial f } { \\partial x } \\right| _ { x = x _ { 2 } }$ ",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
173,
|
| 1274 |
+
178,
|
| 1275 |
+
825,
|
| 1276 |
+
263
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 10
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "Furthermore, by mathematical conventions, a vector $v \\in \\mathbb { R } ^ { n }$ is treated as a column matrix – that is, a matrix of size $n \\times 1$ . For this reason, the gradient vector of a multi-variable real-valued function is actually the transpose of of its Jacobian matrix. ",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
174,
|
| 1285 |
+
268,
|
| 1286 |
+
825,
|
| 1287 |
+
310
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 10
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"text": "Finally, all multiplications in this section are standard matrix multiplications. If an operand is a vector, then as discussed in the previous paragraph, the operand is treated as a column matrix. ",
|
| 1294 |
+
"bbox": [
|
| 1295 |
+
173,
|
| 1296 |
+
318,
|
| 1297 |
+
825,
|
| 1298 |
+
347
|
| 1299 |
+
],
|
| 1300 |
+
"page_idx": 10
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "text",
|
| 1304 |
+
"text": "Dimension Annotations. Understanding that these notations and conventions might cause confusions, in the derivation below, we annotate the dimensions of the computed quantities to ensure that there is no confusion caused to our readers. To this end, we respectively use $| S |$ and $| T |$ to denote the dimensions of the parameters $\\theta _ { S } , \\theta _ { T }$ . That is, $\\theta _ { S } \\in \\mathbb { R } ^ { | S | \\times 1 }$ and $\\boldsymbol { \\theta _ { T } } \\in \\mathbb { R } ^ { | T | \\times 1 }$ . ",
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
173,
|
| 1307 |
+
362,
|
| 1308 |
+
826,
|
| 1309 |
+
421
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 10
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "We now present the derivation. We need to compute: ",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
173,
|
| 1318 |
+
426,
|
| 1319 |
+
519,
|
| 1320 |
+
441
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 10
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "equation",
|
| 1326 |
+
"img_path": "images/a86d11a8b62e62f0c4b3504b4805ccc35c001d1f5ffc37d09f3a00fa7a1c5d37.jpg",
|
| 1327 |
+
"text": "$$\n\\underbrace { \\frac { \\partial R } { \\partial \\theta _ { T } } } _ { 1 \\times | T | } = \\frac { \\partial } { \\partial \\theta _ { T } } \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } ) } \\left[ \\theta _ { S } ^ { ( t + 1 ) } \\right] \\right)\n$$",
|
| 1328 |
+
"text_format": "latex",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
325,
|
| 1331 |
+
449,
|
| 1332 |
+
671,
|
| 1333 |
+
502
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 10
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "To simplify our notation, let us define ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
173,
|
| 1342 |
+
508,
|
| 1343 |
+
421,
|
| 1344 |
+
523
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 10
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "equation",
|
| 1350 |
+
"img_path": "images/0f24b34568724d3bfa00375484a9a302d6e8805e735f4ab70eb4beb921953e49.jpg",
|
| 1351 |
+
"text": "$$\n\\underbrace { \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } _ { | S | \\times 1 } \\triangleq \\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } ) } \\left[ \\theta _ { S } ^ { ( t + 1 ) } \\right]\n$$",
|
| 1352 |
+
"text_format": "latex",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
382,
|
| 1355 |
+
531,
|
| 1356 |
+
612,
|
| 1357 |
+
574
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 10
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Then, by the chain rule, we have ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
173,
|
| 1366 |
+
580,
|
| 1367 |
+
388,
|
| 1368 |
+
595
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 10
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "equation",
|
| 1374 |
+
"img_path": "images/24c997d06fe283a1cb04fb04f1f1040abac1cd205917985376ad06797370c3cb.jpg",
|
| 1375 |
+
"text": "$$\n\\begin{array} { l } { { \\displaystyle \\frac { \\partial R } { \\partial \\theta _ { T } } = \\frac { \\partial } { \\partial \\theta _ { T } } \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\mathbb { E } _ { \\hat { y } _ { \\mathrm { a n l } } \\sim P ( \\cdot \\vert x _ { \\mathrm { a n l } } ; \\theta _ { T } ) } \\left[ \\theta _ { S } ^ { ( t + 1 ) } \\right] \\right) } } \\\\ { \\displaystyle { \\mathrm { ~ \\Lambda ~ } } } \\\\ { { \\displaystyle = \\frac { \\partial } { \\partial \\theta _ { T } } \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\bar { \\theta } _ { S } ^ { ( t + 1 ) } \\right) } } \\\\ { \\displaystyle ~ = \\underbrace { \\frac { \\partial \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } \\right) } { \\partial \\theta _ { S } } \\Big \\vert _ { \\theta _ { S } = \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } \\cdot \\frac { \\partial \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } { \\partial \\theta _ { T } } } } \\end{array}\n$$",
|
| 1376 |
+
"text_format": "latex",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
325,
|
| 1379 |
+
603,
|
| 1380 |
+
669,
|
| 1381 |
+
751
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 10
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "The first factor in Equation 7 can be simply computed via back-propagation. We now focus on the second term. We have ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
173,
|
| 1390 |
+
757,
|
| 1391 |
+
823,
|
| 1392 |
+
786
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 10
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "equation",
|
| 1398 |
+
"img_path": "images/e038df5c3b9ebf193a1219b85aa02c12b1dd584cda8f50d486b738c5be2089b5.jpg",
|
| 1399 |
+
"text": "$$\n\\begin{array} { r l r } { { \\underbrace { \\frac { \\partial \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } { \\partial \\theta _ { T } } } } = \\frac { \\partial } { \\partial \\theta _ { T } } \\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } ) } [ \\theta _ { S } ^ { ( t + 1 ) } ] } \\\\ & { } & \\\\ & { } & { = \\frac { \\partial } { \\partial \\theta _ { T } } \\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } ) } [ \\theta _ { S } ^ { ( t ) } - \\eta \\cdot ( \\frac { \\partial \\ell ( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { S } ) } { \\partial \\theta _ { S } } | _ { \\theta _ { S } = \\theta _ { S } ^ { ( t ) } } ) ^ { \\top } ] } \\end{array}\n$$",
|
| 1400 |
+
"text_format": "latex",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
240,
|
| 1403 |
+
790,
|
| 1404 |
+
754,
|
| 1405 |
+
900
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 10
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "3Standard: https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
186,
|
| 1414 |
+
910,
|
| 1415 |
+
799,
|
| 1416 |
+
924
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 10
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Note that in Equation 8 above, the Jacobian of $\\ell ( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { S } )$ , which has dimension $1 \\times | S |$ , needs to be transposed to match the dimension of $\\theta _ { S } ^ { ( t ) }$ , which, as we discussed above, conventionally has ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
173,
|
| 1425 |
+
102,
|
| 1426 |
+
826,
|
| 1427 |
+
150
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 11
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Now, since $\\theta _ { S } ^ { ( t ) }$ in Equation 8 does not depend on $\\theta _ { T }$ , we can leave it out of subsequent derivations. Also, to simplify notations, let us define the gradient ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
173,
|
| 1436 |
+
159,
|
| 1437 |
+
825,
|
| 1438 |
+
189
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 11
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "equation",
|
| 1444 |
+
"img_path": "images/879d4a4b8473c2d7a3f7ea984a8ab8d2a983297dcda5abc07d81de38b1203bbd.jpg",
|
| 1445 |
+
"text": "$$\n\\underbrace { g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { u n l } } ) } _ { | S | \\times | 1 | } \\triangleq \\left( \\left. \\frac { \\partial \\ell \\left( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { S } \\right) } { \\partial \\theta _ { S } } \\right| _ { \\theta _ { S } = \\theta _ { S } ^ { ( t ) } } \\right) ^ { \\top }\n$$",
|
| 1446 |
+
"text_format": "latex",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
352,
|
| 1449 |
+
195,
|
| 1450 |
+
643,
|
| 1451 |
+
250
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 11
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "Then, Equation 8 becomes ",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
174,
|
| 1460 |
+
257,
|
| 1461 |
+
349,
|
| 1462 |
+
272
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 11
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "equation",
|
| 1468 |
+
"img_path": "images/b655ca44908938b3b3d48c80ed0657f167949dac0c54a00cf1cc00e54f5b855b.jpg",
|
| 1469 |
+
"text": "$$\n\\underbrace { \\frac { \\partial \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } { \\partial \\theta _ { T } } } _ { | S | \\times | T | } = - \\eta \\cdot \\frac { \\partial } { \\partial \\theta _ { T } } \\mathbb { E } _ { \\hat { y } _ { \\mathrm { u n l } } \\sim P ( \\cdot | x _ { \\mathrm { u n l } } ; \\theta _ { T } ) } \\left[ \\underbrace { g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { u n l } } ) } _ { | S | \\times 1 } \\right]\n$$",
|
| 1470 |
+
"text_format": "latex",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
323,
|
| 1473 |
+
280,
|
| 1474 |
+
655,
|
| 1475 |
+
337
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 11
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Since $g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { u n l } } )$ has no dependency on on $\\theta _ { T }$ , except for via $\\hat { y } _ { \\mathrm { u n l } }$ , we can apply the REINFORCE equation (Williams, 1992) to achieve ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
176,
|
| 1484 |
+
348,
|
| 1485 |
+
825,
|
| 1486 |
+
377
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 11
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "equation",
|
| 1492 |
+
"img_path": "images/b562a2c720ababed4ed162b6406fec77a99fd222d2f0bbdcf3c6cda2cc9721e8.jpg",
|
| 1493 |
+
"text": "$$\n\\begin{array} { r l } & { \\underbrace { \\frac { \\partial \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } { \\partial \\theta _ { T } } } _ { | S | \\times | T | } = - \\eta \\cdot \\frac { \\partial } { \\partial \\theta _ { T } } \\mathbb { E } _ { \\hat { y } _ { \\mathrm { a n } } \\times P ( \\cdot | x _ { \\mathrm { m i } } \\times \\theta _ { T } ) } \\left[ g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { m i } } ) \\right] } \\\\ & { = - \\eta \\cdot \\mathbb { E } _ { \\hat { y } _ { \\mathrm { a n } } \\times P ( \\cdot | x _ { \\mathrm { m i } } \\times \\theta _ { T } ) } \\left[ \\underbrace { g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { m i } } ) } _ { | S | \\times 1 } \\cdot \\underbrace { \\frac { \\partial \\log P \\left( \\hat { y } _ { \\mathrm { m i } } | x _ { \\mathrm { m i } } ; \\theta _ { T } \\right) } { \\partial \\theta _ { T } } } _ { 1 \\times | T | } \\right] } \\\\ & { = \\eta \\cdot \\mathbb { E } _ { \\hat { y } _ { \\mathrm { a n } } \\sim P ( \\cdot | x _ { \\mathrm { m i } } ; \\theta _ { T } ) } \\left[ \\underbrace { g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { m i } } ) } _ { | S | \\times 1 } \\cdot \\underbrace { \\frac { \\partial \\ell \\left( x _ { \\mathrm { m i } } , \\hat { y } _ { \\mathrm { m i } } ; \\theta _ { T } \\right) } { \\partial \\theta _ { T } } } _ { 1 \\times | T | } \\right] } \\end{array}\n$$",
|
| 1494 |
+
"text_format": "latex",
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
267,
|
| 1497 |
+
385,
|
| 1498 |
+
725,
|
| 1499 |
+
550
|
| 1500 |
+
],
|
| 1501 |
+
"page_idx": 11
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"type": "text",
|
| 1505 |
+
"text": "Here, the last equality in Equation 11 is is due to the definition of the cross entropy loss, which is the negative of the log-prob term in the previous line. ",
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
174,
|
| 1508 |
+
556,
|
| 1509 |
+
821,
|
| 1510 |
+
585
|
| 1511 |
+
],
|
| 1512 |
+
"page_idx": 11
|
| 1513 |
+
},
|
| 1514 |
+
{
|
| 1515 |
+
"type": "text",
|
| 1516 |
+
"text": "Now, we can substitute Equation 11 into Equation 7 to obtain ",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
173,
|
| 1519 |
+
592,
|
| 1520 |
+
576,
|
| 1521 |
+
607
|
| 1522 |
+
],
|
| 1523 |
+
"page_idx": 11
|
| 1524 |
+
},
|
| 1525 |
+
{
|
| 1526 |
+
"type": "equation",
|
| 1527 |
+
"img_path": "images/ebcefd3a05ce8831e8ca86102fe7d8501b98d62b12c119aaaec2c0e05b42a9e3.jpg",
|
| 1528 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\frac { \\partial R } { \\partial \\theta _ { T } } = \\underbrace { \\frac { \\partial \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } \\right) } { \\partial \\theta _ { S } } \\bigg | _ { \\theta _ { S } = \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } } _ { = \\eta \\cdot \\underbrace { 1 \\times | S | } _ { = \\eta \\cdot \\underbrace { 1 \\times | S | } _ { = \\theta _ { S } } } \\bigg | _ { \\theta _ { S } = \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } } \\cdot \\underbrace { \\frac { \\partial \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } { \\partial \\theta _ { T } } } _ { | S | \\times \\left| T \\right| } } \\\\ { = \\eta \\cdot \\underbrace { \\frac { \\partial \\ell \\left( x _ { \\mathrm { l a b } } , y _ { \\mathrm { l a b } } ; \\theta _ { S } \\right) } { \\partial \\theta _ { S } } \\bigg | _ { \\theta _ { S } = \\bar { \\theta } _ { S } ^ { ( t + 1 ) } } } _ { \\mathrm { 1 \\times | S | } } \\cdot \\mathbb { E } _ { \\hat { y } _ { \\mathrm { l a n } } \\sim P \\cdot ( \\cdot | x _ { \\mathrm { m i } } ; \\theta _ { T } ) } \\left[ \\underbrace { g _ { S } ^ { ( t ) } ( \\hat { y } _ { \\mathrm { u n } } ) } _ { | S | \\times 1 } \\cdot \\underbrace { \\frac { \\partial \\ell \\left( x _ { \\mathrm { u n l } } , \\hat { y } _ { \\mathrm { u n l } } ; \\theta _ { T } \\right) } { \\partial \\theta _ { T } } } _ { \\mathrm { 1 \\times | T | } } \\right] } \\end{array}\n$$",
|
| 1529 |
+
"text_format": "latex",
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
189,
|
| 1532 |
+
614,
|
| 1533 |
+
779,
|
| 1534 |
+
736
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 11
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"type": "text",
|
| 1540 |
+
"text": "Finally, if we use Monte Carlo approximation for every term in Equation 12 using the sampled $\\hat { y } _ { \\mathrm { u n l } }$ then we have Equation 3 from Section 2. Note that in Section 2, we use the gradient notation, which results in the transposes. ",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
174,
|
| 1543 |
+
742,
|
| 1544 |
+
825,
|
| 1545 |
+
786
|
| 1546 |
+
],
|
| 1547 |
+
"page_idx": 11
|
| 1548 |
+
},
|
| 1549 |
+
{
|
| 1550 |
+
"type": "text",
|
| 1551 |
+
"text": "B TRAINING SPEED ",
|
| 1552 |
+
"text_level": 1,
|
| 1553 |
+
"bbox": [
|
| 1554 |
+
176,
|
| 1555 |
+
806,
|
| 1556 |
+
354,
|
| 1557 |
+
824
|
| 1558 |
+
],
|
| 1559 |
+
"page_idx": 11
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "text",
|
| 1563 |
+
"text": "Coaching performs up to 5 forward passes and 3 backward passes. Compared to vanilla backpropagation training, this is more 3 than times more expensive in FLOPs. However, many computations in Coaching are parallelizable. For example, the forward pass of the student and the forward pass for the teacher on unlabeled data (the top half of Figure 1), can be run in parallel since they do not depend on each other. Therefore, on computing hardware with sufficient memory, we find Coaching to be between 2 and 2.5 times slower than standard back-propagation training. ",
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
173,
|
| 1566 |
+
839,
|
| 1567 |
+
826,
|
| 1568 |
+
924
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 11
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "text",
|
| 1574 |
+
"text": "C EXPERIMENTAL DETAILS ",
|
| 1575 |
+
"text_level": 1,
|
| 1576 |
+
"bbox": [
|
| 1577 |
+
176,
|
| 1578 |
+
102,
|
| 1579 |
+
419,
|
| 1580 |
+
118
|
| 1581 |
+
],
|
| 1582 |
+
"page_idx": 12
|
| 1583 |
+
},
|
| 1584 |
+
{
|
| 1585 |
+
"type": "text",
|
| 1586 |
+
"text": "C.1 DATASET SPLITS ",
|
| 1587 |
+
"text_level": 1,
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
174,
|
| 1590 |
+
133,
|
| 1591 |
+
334,
|
| 1592 |
+
148
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 12
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "text",
|
| 1598 |
+
"text": "We describe how we select the reduced datasets for the experiments on low data image classification in Section 3.1. ",
|
| 1599 |
+
"bbox": [
|
| 1600 |
+
176,
|
| 1601 |
+
160,
|
| 1602 |
+
823,
|
| 1603 |
+
188
|
| 1604 |
+
],
|
| 1605 |
+
"page_idx": 12
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "text",
|
| 1609 |
+
"text": "For CIFAR-10, we download the five training data batch files from www.cs.toronto.edu/ \\~kriz/cifar.html. Then, we load all the images into a list of 50,000 images, keeping the order as downloaded. The fisrt 5,000 images ares reserved for validation. The next 4,000 images are used as labeled data. For SVHN, we download the data from the mat files on ufldl.stanford.edu/ housenumbers/, and follow the same procedure as with CIFAR-10. We note that this selection process leads to a slight imbalance in the class distribution for both CIFAR-10 and SVHN, but the settings are the same for all of our experiments. ",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
173,
|
| 1612 |
+
194,
|
| 1613 |
+
826,
|
| 1614 |
+
292
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 12
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "text",
|
| 1620 |
+
"text": "For ImageNet, we follow the procedure in github.com/tensorflow/models/blob/ master/research/inception/inception/data/download_and_preprocess imagenet.sh. This results in 1,024 training TFRecord shards of approximately the same size. The order of the images in these shards are deterministic. For ImageNet- $10 \\%$ , we use the first 102 shards; for ImageNet- $20 \\%$ , we use the first 204 shards; and so on. The last 20 shards, corresponding to roughly 25,000 images, are reserved for hyper-parameters tuning. ",
|
| 1621 |
+
"bbox": [
|
| 1622 |
+
173,
|
| 1623 |
+
299,
|
| 1624 |
+
826,
|
| 1625 |
+
383
|
| 1626 |
+
],
|
| 1627 |
+
"page_idx": 12
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "text",
|
| 1631 |
+
"text": "C.2 RANDOMAUGMENT: A DATA AUGMENTATION POLICY ",
|
| 1632 |
+
"text_level": 1,
|
| 1633 |
+
"bbox": [
|
| 1634 |
+
174,
|
| 1635 |
+
400,
|
| 1636 |
+
586,
|
| 1637 |
+
414
|
| 1638 |
+
],
|
| 1639 |
+
"page_idx": 12
|
| 1640 |
+
},
|
| 1641 |
+
{
|
| 1642 |
+
"type": "text",
|
| 1643 |
+
"text": "We develop a data augmentation policy that achieves similarly high performance with AutoAugment (Cubuk et al., 2019) in a few cases that we consider, but which does not require learning a controller to generate policies. We names our policy RandomAugment. Our goal when developing RandomAugment is not to outperform AutoAugment, which is why we do not conduct extensive experiments with RandomAugment. Instead, we simply want to avoid indirectly using labeled data for our experiments, especially for the low data regime experiments in Section 3.1. ",
|
| 1644 |
+
"bbox": [
|
| 1645 |
+
173,
|
| 1646 |
+
426,
|
| 1647 |
+
825,
|
| 1648 |
+
510
|
| 1649 |
+
],
|
| 1650 |
+
"page_idx": 12
|
| 1651 |
+
},
|
| 1652 |
+
{
|
| 1653 |
+
"type": "text",
|
| 1654 |
+
"text": "Each policy of RandomAugment consists of two operations that applied sequentially on an image. Each operation applies a uniformly sampled transformation with probability 0.5, and with a level uniformly chosen between 1 and 10. For a more comprehensive discussion of the probability and the level of a transformation, we refer readers to the AutoAugment paper (Cubuk et al., 2019). ",
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
174,
|
| 1657 |
+
516,
|
| 1658 |
+
825,
|
| 1659 |
+
571
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 12
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "table",
|
| 1665 |
+
"img_path": "images/2218819223d375901793134d2bfabb04a1e7ed414bce30750d6f006805884d99.jpg",
|
| 1666 |
+
"table_caption": [
|
| 1667 |
+
"Table 3: Transformations that RandomAugment uniformly samples for our datasets. We refer our readers to Cubuk et al. (2019) for the detailed descriptions of these transformations. "
|
| 1668 |
+
],
|
| 1669 |
+
"table_footnote": [],
|
| 1670 |
+
"table_body": "<table><tr><td>CIFAR-10 and ImageNet</td><td>SVHN</td></tr><tr><td>AutoContrast</td><td>AutoContrast</td></tr><tr><td>Brightness</td><td>Brightness</td></tr><tr><td>Color</td><td>Color</td></tr><tr><td>Contrast</td><td>Contrast</td></tr><tr><td>Equalize</td><td>Equalize</td></tr><tr><td>Invert</td><td>Invert</td></tr><tr><td>Sharpness</td><td>Sharpness</td></tr><tr><td>Posterize</td><td>Posterize</td></tr><tr><td>Sample Pairing</td><td>Solarize</td></tr><tr><td>Solarize</td><td>ShearX</td></tr><tr><td>Rotate</td><td>ShearY</td></tr><tr><td>ShearX</td><td>TranslateY</td></tr><tr><td>ShearY</td><td></td></tr><tr><td>TranslateX</td><td></td></tr><tr><td></td><td></td></tr><tr><td>TranslateY</td><td></td></tr></table>",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
385,
|
| 1673 |
+
587,
|
| 1674 |
+
611,
|
| 1675 |
+
763
|
| 1676 |
+
],
|
| 1677 |
+
"page_idx": 12
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"type": "text",
|
| 1681 |
+
"text": "We manually design the set of transformations for each of our datasets: CIFAR-10, ImageNet, and SVHN. The set of transformations for CIFAR-10 and for ImageNet are the same, and are slightly different from the set of transformation for SVHN. This is because the numbers in the SVHN have a different requirement for invariant. For instance, numbers should not be invariant against rotations like 6 and 9, and should not be invariant against horizontal translation like 3 and 8. Table 3 presents the transformation for our dataset. In addition to these operations, we only allow RandomAugment to select the three transformations AutoContrast, Brightness, and Invert in the first augmenting transformation. This is to avoid a few degenerating cases. For instance, when Brightness is applied twice on an image, both times with small levels, the image will become almost black. ",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
173,
|
| 1684 |
+
825,
|
| 1685 |
+
825,
|
| 1686 |
+
924
|
| 1687 |
+
],
|
| 1688 |
+
"page_idx": 12
|
| 1689 |
+
},
|
| 1690 |
+
{
|
| 1691 |
+
"type": "text",
|
| 1692 |
+
"text": "",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
173,
|
| 1695 |
+
103,
|
| 1696 |
+
823,
|
| 1697 |
+
132
|
| 1698 |
+
],
|
| 1699 |
+
"page_idx": 13
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "text",
|
| 1703 |
+
"text": "In our experiments, RandomAugment’s performance is not far behind compared to AutoAugment. For example, on full ImageNet with ResNet-50, RandomAugment achives $\\mathrm { \\bar { 7 } 7 . 9 8 \\% }$ top-1 accuracy, which is close to the top-1 accuracy of $7 7 . 6 \\%$ reported by Cubuk et al. (2019). ",
|
| 1704 |
+
"bbox": [
|
| 1705 |
+
176,
|
| 1706 |
+
138,
|
| 1707 |
+
823,
|
| 1708 |
+
181
|
| 1709 |
+
],
|
| 1710 |
+
"page_idx": 13
|
| 1711 |
+
},
|
| 1712 |
+
{
|
| 1713 |
+
"type": "text",
|
| 1714 |
+
"text": "C.3 HYPER-PARAMETERS ",
|
| 1715 |
+
"text_level": 1,
|
| 1716 |
+
"bbox": [
|
| 1717 |
+
176,
|
| 1718 |
+
200,
|
| 1719 |
+
366,
|
| 1720 |
+
214
|
| 1721 |
+
],
|
| 1722 |
+
"page_idx": 13
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"text": "To tune hyper-parameters, we follow Oliver et al. (2018) and allow each method to have 128 trials of hyper-parameters. When we tune, we let each model train for up to 50,000 steps. The optimal hyper-parameters are then used to run experiments that last for much more steps, as we report below. In our experiments with Coaching, training for more steps typically leads to stronger results. We stop at 1 million steps for CIFAR-10 and SVHN, and at 0.5 million steps for ImageNet simply because otherwise, these experiments will take too long. Meanwhile, in our experiments with purely supervised learning, Pseudo-Labels, and UDA, training for more steps overfits the models, and we have to employ early stopping. ",
|
| 1727 |
+
"bbox": [
|
| 1728 |
+
174,
|
| 1729 |
+
227,
|
| 1730 |
+
825,
|
| 1731 |
+
339
|
| 1732 |
+
],
|
| 1733 |
+
"page_idx": 13
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"type": "text",
|
| 1737 |
+
"text": "We report the hyper-parameters for our baselines and for Coaching in Section 3.1. For the highresource experiments in Section 3.2, we use the same hyper-parameters, because tuning them is too expensive. Our hyper-parameters can be found in Table 4, 5, 6. ",
|
| 1738 |
+
"bbox": [
|
| 1739 |
+
174,
|
| 1740 |
+
345,
|
| 1741 |
+
825,
|
| 1742 |
+
387
|
| 1743 |
+
],
|
| 1744 |
+
"page_idx": 13
|
| 1745 |
+
},
|
| 1746 |
+
{
|
| 1747 |
+
"type": "text",
|
| 1748 |
+
"text": "We note that our settings for UDA is different from originally reported by Xie et al. (2019). In their work, Xie et al. (2019) use a much larger batch size for their UDA objective. In our implementation of UDA, we keep these batch sizes the same. This leads to a much easier implementation of data parallelism in our framework, TensorFlow (Abadi et al., 2016) running on TPU big pods. To compensate for the difference, we train all UDA baselines for much longer than Xie et al. (2019). During the training process, we also mask out the supervised examples with high confidence. Effectively, our UDA model receives roughly the same amount of training with labeled examples and unlabeled examples as the models in Xie et al. (2019). We have also verified that on ImageNet- $10 \\%$ with the augmentation policy from AutoAugment (Cubuk et al., 2019), our UDA implementation achives $6 8 . 7 7 \\%$ top-1 accuracy, which is similar to $6 8 . 6 6 \\%$ that Xie et al. (2019) reported. ",
|
| 1749 |
+
"bbox": [
|
| 1750 |
+
173,
|
| 1751 |
+
393,
|
| 1752 |
+
825,
|
| 1753 |
+
534
|
| 1754 |
+
],
|
| 1755 |
+
"page_idx": 13
|
| 1756 |
+
},
|
| 1757 |
+
{
|
| 1758 |
+
"type": "table",
|
| 1759 |
+
"img_path": "images/a041a6887140c4e00ef7446066920f8cdf1b4a29b3c204939a95222d8502c2dc.jpg",
|
| 1760 |
+
"table_caption": [
|
| 1761 |
+
"Table 4: Hyper-parameters for supervised learning and Pseudo-Labels. "
|
| 1762 |
+
],
|
| 1763 |
+
"table_footnote": [],
|
| 1764 |
+
"table_body": "<table><tr><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td>Weight decay</td><td>0.0005</td><td>0.001</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0</td><td>0</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Learning rate</td><td>0.4</td><td>0.05</td><td>1.28</td></tr><tr><td>Number of training steps</td><td>50,000</td><td>50,000</td><td>40,000</td></tr><tr><td>Number of warm up steps</td><td>2500</td><td>0</td><td>2000</td></tr><tr><td>Batch size</td><td>1024</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.4</td><td>0.5</td><td>0.2</td></tr><tr><td>Pseudo label threshold</td><td>0.95</td><td>0.975</td><td>0.7</td></tr></table>",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
331,
|
| 1767 |
+
549,
|
| 1768 |
+
665,
|
| 1769 |
+
672
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 13
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "table",
|
| 1775 |
+
"img_path": "images/c1fc39d7c90ec78080fcd39352fe4d31803d4a7a1cb43dae57c96e8600d74030.jpg",
|
| 1776 |
+
"table_caption": [
|
| 1777 |
+
"Table 5: Hyper-parameters for UDA. Unlike originally done by Xie et al. (2019), we do not use a larger batch size for the UDA objective. Instead, we use the same batch size for both the labeled objective and the unlabeled objective. This is to avoid instances where some particularly small batch sizes for the labeled objective cannot be split on our computational hardware. "
|
| 1778 |
+
],
|
| 1779 |
+
"table_footnote": [],
|
| 1780 |
+
"table_body": "<table><tr><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td>Weight decay</td><td>0.0005</td><td>0.0005</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0</td><td>0</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Learning rate</td><td>0.3</td><td>0.4</td><td>1.28</td></tr><tr><td>Number of training steps</td><td>1,000,000</td><td>1,000,000</td><td>500.000</td></tr><tr><td>Number of warm up steps</td><td>5,000</td><td>5.000</td><td>5,000</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.5</td><td>0.6</td><td>0.25</td></tr><tr><td>UDA factor</td><td>2.5</td><td>1</td><td>20</td></tr><tr><td>UDA temperature</td><td>0.7</td><td>0.8</td><td>0.7</td></tr></table>",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
325,
|
| 1783 |
+
731,
|
| 1784 |
+
671,
|
| 1785 |
+
858
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 13
|
| 1788 |
+
},
|
| 1789 |
+
{
|
| 1790 |
+
"type": "table",
|
| 1791 |
+
"img_path": "images/6d7d0e772dbc4fe21a44fba0453c0f26490bb9eaa2429b506291b4c3f7a9137b.jpg",
|
| 1792 |
+
"table_caption": [
|
| 1793 |
+
"Table 6: Hyper-parameters for Coaching. "
|
| 1794 |
+
],
|
| 1795 |
+
"table_footnote": [],
|
| 1796 |
+
"table_body": "<table><tr><td></td><td>Hyper-parameter</td><td>CIFAR-10</td><td>SVHN</td><td>ImageNet</td></tr><tr><td rowspan=\"5\">Common</td><td>Weight decay</td><td>0.0005</td><td>0.0005</td><td>0.0002</td></tr><tr><td>Label smoothing</td><td>0.1</td><td>0.1</td><td>0.1</td></tr><tr><td>Batch normalization decay</td><td>0.99</td><td>0.99</td><td>0.99</td></tr><tr><td>Number of training steps</td><td>1,000,000</td><td>1,000,000</td><td>500,000</td></tr><tr><td>Number of warm up steps</td><td>2.000</td><td>2,000</td><td>1,000</td></tr><tr><td rowspan=\"3\">Student</td><td>Learning rate</td><td>0.3</td><td>0.15</td><td>0.8</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.35</td><td>0.45</td><td>0.1</td></tr><tr><td rowspan=\"5\">Teacher</td><td>Learning rate</td><td>0.125</td><td>0.05</td><td>0.5</td></tr><tr><td>Batch size</td><td>128</td><td>128</td><td>2048</td></tr><tr><td>Dropout rate</td><td>0.5</td><td>0.65</td><td>0.1</td></tr><tr><td>UDA factor</td><td>1.0</td><td>2.5</td><td>16.0</td></tr><tr><td>UDA temperature</td><td>0.8</td><td>1.25</td><td>0.75</td></tr></table>",
|
| 1797 |
+
"bbox": [
|
| 1798 |
+
294,
|
| 1799 |
+
101,
|
| 1800 |
+
702,
|
| 1801 |
+
270
|
| 1802 |
+
],
|
| 1803 |
+
"page_idx": 14
|
| 1804 |
+
}
|
| 1805 |
+
]
|
parse/train/rJe04p4YDB/rJe04p4YDB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJe04p4YDB/rJe04p4YDB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkhlb8lCZ/rkhlb8lCZ.md
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# WAVELET POOLING FOR CONVOLUTIONAL NEURAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Travis Williams Department of Electrical Engineering North Carolina A&T State University Greensboro, NC 27410, USA tlwilli3@aggies.ncat.edu
|
| 4 |
+
|
| 5 |
+
Robert Li
|
| 6 |
+
Department of Electrical Engineering
|
| 7 |
+
North Carolina A&T State University
|
| 8 |
+
Greensboro, NC 27410, USA
|
| 9 |
+
eeli@ncat.edu
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
Convolutional Neural Networks continuously advance the progress of 2D and 3D image and object classification. The steadfast usage of this algorithm requires constant evaluation and upgrading of foundational concepts to maintain progress. Network regularization techniques typically focus on convolutional layer operations, while leaving pooling layer operations without suitable options. We introduce Wavelet Pooling as another alternative to traditional neighborhood pooling. This method decomposes features into a second level decomposition, and discards the first-level subbands to reduce feature dimensions. This method addresses the overfitting problem encountered by max pooling, while reducing features in a more structurally compact manner than pooling via neighborhood regions. Experimental results on four benchmark classification datasets demonstrate our proposed method outperforms or performs comparatively with methods like max, mean, mixed, and stochastic pooling.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Convolutional Neural Networks (CNNs) have become the standard-bearer in image and object classification (Nielsen, 2015). Due to the layer structures conforming to the shape of the inputs, CNNs consistently classify images, objects, videos, etc. at a higher accuracy rate than vector-based deep learning techniques (Nielsen, 2015). The strength of this algorithm motivates researchers to constantly evaluate and upgrade foundational concepts to continue growth and progress. The key components of CNN, the convolutional layer and pooling layer, consistently undergo modifications and innovations to elevate accuracy and efficiency of CNNs beyond previous benchmarks.
|
| 18 |
+
|
| 19 |
+
Pooling has roots in predecessors to CNN such as Neocognitron, which manual subsampling by the user occurs (Fukushima, 1979), and Cresceptron, which introduces the first max pooling operation in deep learning (Weng et al., 1992). Pooling subsamples the results of the convolutional layers, gradually reducing spatial dimensions of the data throughout the network. The benefits of this operation are to reduce parameters, increase computational efficiency, and regulate overfitting (Boureau et al., 2010).
|
| 20 |
+
|
| 21 |
+
Methods of pooling vary, with the most popular form being max pooling, and secondarily, average pooling (Nielsen, 2015; Lee et al., 2016). These forms of pooling are deterministic, efficient, and simple, but have weaknesses hindering the potential for optimal network learning (Lee et al., 2016; Yu et al., 2014). Other pooling operations, notably mixed pooling and stochastic pooling, use probabilistic approaches to correct some of the issues of the prior methods (Yu et al., 2014; Zeiler & Fergus, 2013).
|
| 22 |
+
|
| 23 |
+
However, one commonality all these pooling operations employ a neighborhood approach to subsampling, reminiscent of nearest neighbor interpolation in image processing. Neighborhood interpolation techniques perform fast, with simplicity and efficiency, but introduce artifacts such as edge halos, blurring, and aliasing (Parker et al., 1983). Minimizing discontinuities in the data are critical to aiding in network regularization, and increasing classification accuracy.
|
| 24 |
+
|
| 25 |
+
We propose a wavelet pooling algorithm that uses a second-level wavelet decomposition to subsample features. Our approach forgoes the nearest neighbor interpolation method in favor of an organic, subband method that more accurately represents the feature contents with less artifacts. We compare our proposed pooling method to max, mean, mixed, and stochastic pooling to verify its validity, and ability to produce near equal or superior results. We test these methods on benchmark image classification datasets such as Mixed National Institute of Standards and Technology (MNIST) (Lecun et al., 1998), Canadian Institute for Advanced Research (CIFAR-10) (Krizhevsky, 2009), Street House View Numbers (SHVN) (Netzer et al., 2011), and Karolinska Directed Emotional Faces (KDEF) (Lundqvist et al., 1998). We perform all simulations in MATLAB R2016b.
|
| 26 |
+
|
| 27 |
+
The rest of this paper organizes as follows: Section 2 gives the background, Section 3 describes the proposed methods, Section 4 discusses the experimental results, and Section 5 gives the summary and conclusion.
|
| 28 |
+
|
| 29 |
+
# 2 BACKGROUND
|
| 30 |
+
|
| 31 |
+
Pooling is another term for subsampling. In this layer, the dimensions of the output of the convolutional layer are condensed. The dimensionality reduction happens by summarizing a region into one neuron value, and this occurs until all neurons have been affected. The two most popular forms of pooling are max pooling and average pooling (Nielsen, 2015; Lee et al., 2016). Max pooling involves taking the maximum value of a region $R _ { i j }$ and selecting it for the condensed feature map. Average pooling involves calculating the average value of a region and selecting it for the condensed feature map. The max pooling function is expressed as:
|
| 32 |
+
|
| 33 |
+
$$
|
| 34 |
+
a _ { k i j } = \operatorname* { m a x } _ { ( p , q ) \in R _ { i j } } ( a _ { k p q } )
|
| 35 |
+
$$
|
| 36 |
+
|
| 37 |
+
While average pooling is shown by the following equation:
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
a _ { k i j } = \frac { 1 } { | R _ { i j } | } \sum _ { ( p , q ) \in R _ { i j } } a _ { k p q }
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
Where $a _ { k i j }$ is the output activation of the $k ^ { t h }$ feature map at $( i , j ) , a _ { k p q }$ is the input activation at $( p , q )$ within $R _ { i j }$ , and $| R _ { i j } |$ is the size of the pooling region. An illustration of both of these pooling methods is expressed in Figure 1 (Williams & Li, 2016):
|
| 44 |
+
|
| 45 |
+
<table><tr><td rowspan=1 colspan=8>Convolution Output</td></tr><tr><td rowspan=1 colspan=1>55</td><td rowspan=1 colspan=1>20</td><td rowspan=1 colspan=1>87</td><td rowspan=1 colspan=1>46</td><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>59</td><td rowspan=1 colspan=1>76</td><td rowspan=1 colspan=1>58</td></tr><tr><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>25</td><td rowspan=1 colspan=1>61</td><td rowspan=1 colspan=1>29</td><td rowspan=1 colspan=1>34</td><td rowspan=1 colspan=1>79</td><td rowspan=1 colspan=1>94</td><td rowspan=1 colspan=1>15</td></tr><tr><td rowspan=1 colspan=1>29</td><td rowspan=1 colspan=1>35</td><td rowspan=1 colspan=1>71</td><td rowspan=1 colspan=1>63</td><td rowspan=1 colspan=1>94</td><td rowspan=1 colspan=1>73</td><td rowspan=1 colspan=1>12</td><td rowspan=1 colspan=1>17</td></tr><tr><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>22</td><td rowspan=1 colspan=1>41</td><td rowspan=1 colspan=1>98</td><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>45</td><td rowspan=1 colspan=1>16</td><td rowspan=1 colspan=1>76</td></tr><tr><td rowspan=1 colspan=1>92</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>16</td><td rowspan=1 colspan=1>。</td><td rowspan=1 colspan=1>46</td><td rowspan=1 colspan=1>84</td><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>7</td></tr><tr><td rowspan=1 colspan=1>38</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>86</td><td rowspan=1 colspan=1>97</td><td rowspan=1 colspan=1>64</td><td rowspan=1 colspan=1>13</td><td rowspan=1 colspan=1>15</td><td rowspan=1 colspan=1>48</td></tr><tr><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>19</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>42</td><td rowspan=1 colspan=1>45</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>56</td></tr><tr><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>。</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>66</td><td rowspan=1 colspan=1>44</td><td rowspan=1 colspan=1>72</td><td rowspan=1 colspan=1>8</td></tr></table>
|
| 46 |
+
|
| 47 |
+
<table><tr><td rowspan=1 colspan=4>Max Pooling</td></tr><tr><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>87</td><td rowspan=1 colspan=1>79</td><td rowspan=1 colspan=1>94</td></tr><tr><td rowspan=1 colspan=1>58</td><td rowspan=1 colspan=1>98</td><td rowspan=1 colspan=1>94</td><td rowspan=1 colspan=1>76</td></tr><tr><td rowspan=1 colspan=1>92</td><td rowspan=1 colspan=1>97</td><td rowspan=1 colspan=1>84</td><td rowspan=1 colspan=1>48</td></tr><tr><td rowspan=1 colspan=1>32</td><td rowspan=1 colspan=1>42</td><td rowspan=1 colspan=1>66</td><td rowspan=1 colspan=1>72</td></tr></table>
|
| 48 |
+
|
| 49 |
+
Mean Pooling
|
| 50 |
+
Figure 1: Example of Max & Average Pooling with Stride of 2
|
| 51 |
+
|
| 52 |
+
<table><tr><td rowspan=1 colspan=1>40</td><td rowspan=1 colspan=1>56</td><td rowspan=1 colspan=1>51</td><td rowspan=1 colspan=1>61</td></tr><tr><td rowspan=1 colspan=1>36</td><td rowspan=1 colspan=1>68</td><td rowspan=1 colspan=1>61</td><td rowspan=1 colspan=1>30</td></tr><tr><td rowspan=1 colspan=1>35</td><td rowspan=1 colspan=1>50</td><td rowspan=1 colspan=1>52</td><td rowspan=1 colspan=1>19</td></tr><tr><td rowspan=1 colspan=1>14</td><td rowspan=1 colspan=1>16</td><td rowspan=1 colspan=1>39</td><td rowspan=1 colspan=1>34</td></tr></table>
|
| 53 |
+
|
| 54 |
+
While max and average pooling both are effective, simple methods, they also have shortcomings. Max pooling, depending on the data, can erase details from an image (Yu et al., 2014; Zeiler & Fergus, 2013). This happens if the main details have less intensity than the insignificant details. In addition, max pooling commonly overfits training data (Yu et al., 2014; Zeiler & Fergus, 2013). Average pooling, depending on the data, can dilute pertinent details from an image. The averaging of data with values much lower than significant details causes this action (Yu et al., 2014; Zeiler & Fergus, 2013). Figure 2 illustrates these shortcomings using the toy image example:
|
| 55 |
+
|
| 56 |
+
To combat these issues, researchers have created probabilistic pooling methods. Mixed pooling combines max and average pooling by randomly selecting one method over the other during training (Yu et al., 2014). There is no set way to perform mixed pooling. This method is applied arbitrarily in three different ways (1) for all features within a layer, (2) mixed between features within a layer, or (3) mixed between regions for different features within a layer (Lee et al., 2016; Yu et al., 2014). Mixed pooling is shown in the following equation:
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 2: Shortcomings of Max & Average Pooling using Toy Image
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
a _ { k i j } = \lambda \cdot \operatorname* { m a x } _ { ( p , q ) \in R _ { i j } } ( a _ { k p q } ) + ( 1 - \lambda ) \cdot \frac { 1 } { | R _ { i j } | } \sum _ { ( p , q ) \in R _ { i j } } a _ { k p q }
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
where $\lambda$ is a random value 0 or 1, indicating max or average pooling for a particular region/feature/layer.
|
| 66 |
+
|
| 67 |
+
Another probabilistic pooling method, called stochastic pooling, improves upon max pooling by randomly sampling from neighborhood regions based on the probability values of each activation (Zeiler & Fergus, 2013). These probabilities $p$ for each region are calculated by normalizing the activations within the region:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
p _ { p q } = \frac { a _ { p q } } { \sum _ { ( p , q ) \in R _ { i j } } a _ { p q } }
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
The pooled activation is sampled from a multinomial distribution based on $p$ to pick a location $l$ within the region (Zeiler & Fergus, 2013). The process is captured in the following equation (Zeiler & Fergus, 2013):
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
a _ { k i j } = a _ { l } \quad w h e r e \quad l \sim P ( p _ { 1 } , . . . , p _ { | R _ { i j } | } )
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 3 displays a visual example of stochastic pooling on a $3 { \bf x } 3$ region:
|
| 81 |
+
Figure 3: Stochastic Pooling Example
|
| 82 |
+
|
| 83 |
+
In Figure 3, a region of activations are shown, and in the adjacent region, their corresponding probabilities based on Equation 4. In any given region, the activations with the highest probabilities have the higher chance of selection. However, any activation can be chosen. In this example, the stochastic pooling method selects the midrange activation with a probability of $13 \%$ . By being based off probability, and not deterministic, stochastic pooling avoids the shortcomings of max and average pooling, while enjoying some of the advantages of max pooling (Zeiler & Fergus, 2013).
|
| 84 |
+
|
| 85 |
+
# 3 PROPOSED METHOD
|
| 86 |
+
|
| 87 |
+
The previously highlighted pooling methods use neighborhoods to subsample, almost identical to nearest neighbor interpolation. Previous studies explore the possibilities of wavelets in image interpolation versus traditional methods (Dumic et al., 2007). Our proposed pooling method uses wavelets to reduce the dimensions of the feature maps. We propose using the wavelet transform to minimize artifacts resulting from neighborhood reduction (Parker et al., 1983). We postulate that our approach, which discards the first-order subbands, more organically captures the data compression. This organic reduction therefore lessens the creation of jagged edges and other artifacts that may impede correct image classification.
|
| 88 |
+
|
| 89 |
+
# 3.1 FORWARD PROPAGATION
|
| 90 |
+
|
| 91 |
+
The proposed wavelet pooling scheme pools features by performing a 2nd order decomposition in the wavelet domain according to the fast wavelet transform (FWT) (Mallat, 1989; Nason & Silverman, 1995; Strang & Nguyen, 1996; Burrus et al., 1998), which is a more efficient implementation of the two-dimensional discrete wavelet transform (DWT) as follows (Chui, 1992; Strang & Strela, 1995; Rieder et al., 1994):
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
W _ { \varphi } [ j + 1 , k ] = h _ { \varphi } [ - n ] * W _ { \varphi } [ j , n ] | _ { n = 2 k , k \le 0 }
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
W _ { \psi } [ j + 1 , k ] = h _ { \psi } [ - n ] * W _ { \psi } [ j , n ] | _ { n = 2 k , k \le 0 }
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where $\varphi$ is the approximation function, and $\psi$ is the detail function, $W _ { \varphi }$ , $W _ { \psi }$ are called approximation and detail coefficients. $h _ { \varphi } [ - n ]$ and $h _ { \psi } [ - n ]$ are the time reversed scaling and wavelet vectors, (n) represents the sample in the vector, while (j) denotes the resolution level. When using the FWT on images, we apply it twice (once on the rows, then again on the columns). By doing this in combination, we obtain our detail subbands (LH, HL, HH) at each decomposition level, and our approximation subband (LL) for the highest decomposition level.
|
| 102 |
+
|
| 103 |
+
After performing the 2nd order decomposition, we reconstruct the image features, but only using the 2nd order wavelet subbands. This method pools the image features by a factor of 2 using the inverse FWT (IFWT) (Mallat, 1989; Nason & Silverman, 1995; Strang & Nguyen, 1996; Burrus et al., 1998), which is based off of the inverse DWT (IDWT) (Chui, 1992; Strang & Strela, 1995; Rieder et al., 1994):
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
W _ { \varphi } [ j , k ] = h _ { \varphi } [ - n ] * W _ { \varphi } [ j + 1 , n ] + h _ { \psi } [ - n ] * W _ { \psi } [ j + 1 , n ] | _ { n = { \frac { k } { 2 } } , k \leq 0 }
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+

|
| 110 |
+
Figure 4 gives an illustration of the algorithm for the forward propagation of wavelet pooling:
|
| 111 |
+
Figure 4: Wavelet Pooling Forward Propagation Algorithm
|
| 112 |
+
|
| 113 |
+
# 3.2 BACKPROPAGATION
|
| 114 |
+
|
| 115 |
+
The proposed wavelet pooling algorithm performs backpropagation by reversing the process of its forward propagation. First, the image feature being back propagated undergoes $1 ^ { s t }$ order wavelet decomposition. After decomposition, the detail coefficient subbands upsample by a factor of 2 to create a new $1 ^ { s t }$ level decomposition. The initial decomposition then becomes the $2 ^ { n d }$ level decomposition. Finally, this new $2 ^ { n d }$ order wavelet decomposition reconstructs the image feature for further backpropagation using the IDWT. Figure 5 details the backpropagation algorithm of wavelet pooling:
|
| 116 |
+
|
| 117 |
+

|
| 118 |
+
Figure 5: Wavelet Pooling Backpropagation Algorithm
|
| 119 |
+
|
| 120 |
+
# 4 RESULTS AND DISCUSSION
|
| 121 |
+
|
| 122 |
+
All CNN experiments use MatConvNet (Vedaldi & Lenc, 2015). All training uses stochastic gradient descent (Bottou, 2010). For our proposed method, the wavelet basis is the Haar wavelet, mainly for its even, square subbands. All experiments are run on a 64-bit operating system, with an Intel Core i7-6800k CPU $\textcircled { a } ~ 3 . 4 0 ~ \mathrm { G H z }$ processor, with 64.0 GB of RAM. We utilize two GeForce Titan X Pascal GPUs with 12 GB of video memory for all training. All CNN structures except for MNIST use a network loosely based on Zeilers network (Zeiler & Fergus, 2013). We repeat the experiments with Dropout (Srivastava, 2013) and replace Local Response Normalization (Krizhevsky, 2009) with Batch Normalization (Ioffe & Szegedy, 2015) for CIFAR-10 and SHVN (Dropout only) to examine how these regularization techniques change the pooling results. To test the effectiveness of each pooling method on each dataset, we solely pool with that method for all pooling layers in that network. All pooling methods use a $2 \mathbf { x } 2$ window for an even comparison to the proposed method. Figure 6 gives a selection of each of the datasets.
|
| 123 |
+
|
| 124 |
+
# 4.1 MNIST
|
| 125 |
+
|
| 126 |
+
The network architecture is based on the example MNIST structure from MatConvNet, with batch normalization inserted. All other parameters are the same. Figure 7 shows our network structure for the MNIST experiments:
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
Figure 6: Selection of Image Datasets
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 7: CNN MNIST Structure Block Diagram
|
| 133 |
+
|
| 134 |
+
The input training data and test data come from the MNIST database of handwritten digits. The full training set of 60,000 images is used, as well as the full testing set of 10,000 images. Table 1 shows our proposed method outperforms all methods. Given the small number of epochs, max pooling is the only method to start to overfit the data during training. Mixed and stochastic pooling show a rocky trajectory, but do not overfit. Average and wavelet pooling show a smoother descent in learning and error reduction. Figure 8 shows the energy of each method per epoch.
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
Figure 8: MNIST Pooling Method Energy Performance of Training & Validation Sets
|
| 138 |
+
|
| 139 |
+
Table 1 shows the accuracy of each method:
|
| 140 |
+
|
| 141 |
+
Table 1: MNIST Performance of Pooling Methods
|
| 142 |
+
|
| 143 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Average</td><td rowspan=1 colspan=1>Max</td><td rowspan=1 colspan=1>Mixed</td><td rowspan=1 colspan=1>Stochastic</td><td rowspan=1 colspan=1>Wavelet</td></tr><tr><td rowspan=1 colspan=1>Accuracy (%)</td><td rowspan=1 colspan=1>98.72</td><td rowspan=1 colspan=1>98.80</td><td rowspan=1 colspan=1>98.86</td><td rowspan=1 colspan=1>98.90</td><td rowspan=1 colspan=1>99.01</td></tr></table>
|
| 144 |
+
|
| 145 |
+
# 4.2 CIFAR-10
|
| 146 |
+
|
| 147 |
+
We run two sets of experiments with the pooling methods. The first is a regular network structure with no dropout layers. We use this network to observe each pooling method without extra regularization. The second uses dropout and batch normalization, and performs over 30 more epochs to observe the effects of these changes. Figure 9 shows our network structure for the CIFAR-10 experiments:
|
| 148 |
+
|
| 149 |
+
The input training and test data come from the CIFAR-10 dataset. The full training set of 50,000 images is used, as well as the full testing set of 10,000 images. For both cases, with no dropout, and with dropout, Table 2 and Table 3 show our proposed method has the second highest accuracy. Max pooling overfits fairly quickly, while wavelet pooling resists overfitting. The change in learning rate prevents our method from overfitting, and it continues to show a slower propensity for learning. Mixed and stochastic pooling maintain a consistent progression of learning, and their validation sets trend at a similar, but better rate than our proposed method. Average pooling shows the smoothest descent in learning and error reduction, especially in the validation set. Figure 10 shows the energy of each method per epoch.
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 9: CNN CIFAR-10 Structure Block Diagram
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
Figure 10: CIFAR-10 Pooling Method Energy Performance of Training & Validation Sets
|
| 156 |
+
|
| 157 |
+
Tables 2 and 3 show the accuracy of each method:
|
| 158 |
+
|
| 159 |
+
Table 2: CIFAR-10 Performance of Pooling Methods
|
| 160 |
+
|
| 161 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Average</td><td rowspan=1 colspan=1>Max</td><td rowspan=1 colspan=1>Mixed</td><td rowspan=1 colspan=1>Stochastic</td><td rowspan=1 colspan=1>Wavelet</td></tr><tr><td rowspan=1 colspan=1>Accuracy (%)</td><td rowspan=1 colspan=1>76.51</td><td rowspan=1 colspan=1>71.42</td><td rowspan=1 colspan=1>73.77</td><td rowspan=1 colspan=1>73.03</td><td rowspan=1 colspan=1>74.42</td></tr></table>
|
| 162 |
+
|
| 163 |
+
Table 3: CIFAR-10 Performance of Pooling Methods $^ +$ Dropout
|
| 164 |
+
|
| 165 |
+
<table><tr><td></td><td>Average</td><td>Max</td><td>Mixed</td><td>Stochastic</td><td>Wavelet</td></tr><tr><td>Accuracy (%)</td><td>81.15</td><td>80.30</td><td>79.21</td><td>80.09</td><td>80.28</td></tr></table>
|
| 166 |
+
|
| 167 |
+
# 4.3 SHVN
|
| 168 |
+
|
| 169 |
+
We run two sets of experiments with the pooling methods. The first is a regular network structure with no dropout layers. We use this network to observe each pooling method without extra regularization. The second uses dropout to observe the effects of this change. Figure 11 shows our network structure for the SHVN experiments:
|
| 170 |
+
|
| 171 |
+
The input training and test data come from the SHVN dataset. For the case with no dropout, we use 55,000 images from the training set. For the case with dropout, we use the full training set of 73,257 images, a validation set of 30,000 images we extract from the extra training set of 531,131 images, as well as the full testing set of 26,032 images. For both cases, with no dropout, and with dropout,
|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
Figure 11: CNN SHVN Structure Block Diagram
|
| 175 |
+
|
| 176 |
+
Table 4 and Table 5 show our proposed method has the second lowest accuracy. Max and wavelet pooling both slightly overfit the data. Our method follows the path of max pooling, but performs slightly better in maintaining some stability. Mixed, stochastic, and average pooling maintain a slow progression of learning, and their validation sets trend at near identical rates. Figure 12 shows the energy of each method per epoch.
|
| 177 |
+
|
| 178 |
+

|
| 179 |
+
Figure 12: SHVN Pooling Method Energy Performance of Training & Validation Sets
|
| 180 |
+
|
| 181 |
+
Tables 4 and 5 shows the accuracy of each method:
|
| 182 |
+
|
| 183 |
+
Table 4: SHVN Performance of Pooling Methods
|
| 184 |
+
|
| 185 |
+
<table><tr><td></td><td>Average</td><td>Max</td><td>Mixed</td><td>Stochastic</td><td>Wavelet</td></tr><tr><td>Accuracy (%)</td><td>89.83</td><td>88.09</td><td>89.25</td><td>89.97</td><td>88.51</td></tr></table>
|
| 186 |
+
|
| 187 |
+
Table 5: SHVN Performance of Pooling Methods $^ +$ Dropout
|
| 188 |
+
|
| 189 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Average</td><td rowspan=1 colspan=1>Max</td><td rowspan=1 colspan=1>Mixed</td><td rowspan=1 colspan=1>Stochastic</td><td rowspan=1 colspan=1>Wavelet</td></tr><tr><td rowspan=1 colspan=1>Accuracy (%)</td><td rowspan=1 colspan=1>92.80</td><td rowspan=1 colspan=1>92.18</td><td rowspan=1 colspan=1>92.13</td><td rowspan=1 colspan=1>91.04</td><td rowspan=1 colspan=1>91.10</td></tr></table>
|
| 190 |
+
|
| 191 |
+
# 4.4 KDEF
|
| 192 |
+
|
| 193 |
+
We run one set of experiments with the pooling methods that includes dropout. Figure 13 shows our network structure for the KDEF experiments:
|
| 194 |
+
|
| 195 |
+
The input training and test data come from the KDEF dataset. This dataset contains 4,900 images of 35 people displaying seven basic emotions (afraid, angry, disgusted, happy, neutral, sad, and surprised) using facial expressions. They display emotions at five poses (full left and right profiles, half left and right profiles, and straight).
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 13: CNN KDEF Structure Block Diagram
|
| 199 |
+
|
| 200 |
+
This dataset contains a few errors that we fix (missing or corrupted images, uncropped images, etc.). All of the missing images are at angles of -90, -45, 45, or 90 degrees. We fix the missing and corrupt images by mirroring their counterparts in MATLAB and adding them back to the dataset. We manually crop the images that need to match the dimensions set by the creators $( 7 6 2 \mathrm { ~ x ~ } 5 6 2 )$ . KDEF does not designate a training or test data set. We shuffle the data and separate 3,900 images as training data, and 1,000 images as test data. We resize the images to $1 2 8 \mathrm { x } 1 2 8$ because of memory and time constraints.
|
| 201 |
+
|
| 202 |
+
The dropout layers regulate the network and maintain stability in spite of some pooling methods known to overfit. Table 6 shows our proposed method has the second highest accuracy. Max pooling eventually overfits, while wavelet pooling resists overfitting. Average and mixed pooling resist overfitting, but are unstable for most of the learning. Stochastic pooling maintains a consistent progression of learning. Wavelet pooling also follows a smoother, consistent progression of learning. Figure 14 shows the energy of each method per epoch.
|
| 203 |
+
|
| 204 |
+

|
| 205 |
+
Figure 14: KDEF Pooling Method Energy Performance of Training & Validation Sets
|
| 206 |
+
|
| 207 |
+
Table 6 shows the accuracy of each method:
|
| 208 |
+
|
| 209 |
+
Table 6: KDEF Performance of Pooling Methods $^ +$ Dropout
|
| 210 |
+
|
| 211 |
+
<table><tr><td></td><td>Average</td><td>Max</td><td>Mixed</td><td>Stochastic</td><td>Wavelet</td></tr><tr><td>Accuracy (%)</td><td>76.5</td><td>75.6</td><td>72.6</td><td>72.7</td><td>75.9</td></tr></table>
|
| 212 |
+
|
| 213 |
+
# 4.5 COMPUTATIONAL COMPLEXITY
|
| 214 |
+
|
| 215 |
+
Our construction and implementation of wavelet pooling is not efficient. We present this proposed methods as a proof-of-concept, to show its potential and validity, and also to be open to massive improvements. The main area of improvement is computational efficiency. As a proof-of-concept, the code written to implement this method is not at its peak form. Additionally, we did not have the time, space, or resources to optimize the code. We view the accuracy results and novelty as a starting point to spawn improvements, both from our own research as well as other researchers.
|
| 216 |
+
|
| 217 |
+
We calculate efficiency in terms of mathematical operations (multiplications, additions, logical, etc.) that each method utilizes to complete its algorithm. For max pooling, we calculate operations based on the worst-case scenarios for each neighborhood in finding the maximum value. For average pooling, we calculate the number of additions and division for each neighborhood. Mixed pooling is the mean value of both average and max pooling. We calculate operations for stochastic pooling by counting the number of mathematical operations as well as the random selection of the values based on probability (Roulette Wheel Selection). For wavelet pooling, we calculate the number of operations for each subband at each level, in both decomposition and reconstruction.
|
| 218 |
+
|
| 219 |
+
Table 7 shows the number of mathematical operations for one image in forward propagation. This table shows that for all methods, average pooling has the least number of computations, followed by mixed pooling, with max pooling not far behind. Stochastic pooling is the least computationally efficient pooling method out of the neighborhood-based methods. It uses about $3 \mathbf { x }$ more mathematical operations than average pooling, the most computationally efficient.
|
| 220 |
+
|
| 221 |
+
However, wavelet pooling by far is the least computationally efficient method, using 54 to $2 1 3 \mathrm { x }$ more mathematical operations than average pooling. This is partially due to the implementation of the subband coding, which did not implement multidimensional decomposition and reconstruction.
|
| 222 |
+
|
| 223 |
+
Table 7: Number of Mathematical Operations for Each Method According to Dataset
|
| 224 |
+
|
| 225 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>MNIST</td><td rowspan=1 colspan=1>CIFAR-10</td><td rowspan=1 colspan=1>SHVN</td><td rowspan=1 colspan=1>KDEF</td></tr><tr><td rowspan=1 colspan=1>Max</td><td rowspan=1 colspan=1>6.2K</td><td rowspan=1 colspan=1>13K</td><td rowspan=1 colspan=1>26K</td><td rowspan=1 colspan=1>50K</td></tr><tr><td rowspan=1 colspan=1>Avg</td><td rowspan=1 colspan=1>3.5K</td><td rowspan=1 colspan=1>7.4K</td><td rowspan=1 colspan=1>15K</td><td rowspan=1 colspan=1>29K</td></tr><tr><td rowspan=1 colspan=1>Mix</td><td rowspan=1 colspan=1>4.8K</td><td rowspan=1 colspan=1>10K</td><td rowspan=1 colspan=1>20K</td><td rowspan=1 colspan=1>40K</td></tr><tr><td rowspan=1 colspan=1>Stoch</td><td rowspan=1 colspan=1>10.6K</td><td rowspan=1 colspan=1>22K</td><td rowspan=1 colspan=1>45K</td><td rowspan=1 colspan=1>86K</td></tr><tr><td rowspan=1 colspan=1>Wav</td><td rowspan=1 colspan=1>110K</td><td rowspan=1 colspan=1>405K</td><td rowspan=1 colspan=1>810K</td><td rowspan=1 colspan=1>6.2M</td></tr></table>
|
| 226 |
+
|
| 227 |
+
Nonetheless, by implementing our method through good coding practices (vectorization, architecture, etc.), GPUs, and an improved FTW algorithm, this method can prove to be a viable option. There exists a few improvements to the FTW algorithm that utilize multidimensional wavelets (Karlsson & Vetterli, 1988; Weeks & Bayoumi, 1998), lifting (Valens, 1999), parallelization Holmstrom (1995), as well as other methods that boast of improving the efficiency in speed and memory ¨ (Oliver & Malumbres, 2008; Khoromskij & Miao, 2014; Kopenkov, 2008)
|
| 228 |
+
|
| 229 |
+
# 5 CONCLUSION
|
| 230 |
+
|
| 231 |
+
We prove wavelet pooling has potential to equal or eclipse some of the traditional methods currently utilized in CNNs. Our proposed method outperforms all others in the MNIST dataset, outperforms all but one in the CIFAR-10 and KDEF datasets, and performs within respectable ranges of the pooling methods that outdo it in the SHVN dataset. The addition of dropout and batch normalization show our proposed methods response to network regularization. Like the non-dropout cases, it outperforms all but one in both the CIFAR- $1 0 ~ \&$ KDEF datasets, and performs within respectable ranges of the pooling methods that outdo it in the SHVN dataset. Our results confirm previous studies proving that no one pooling method is superior, but some perform better than others depending on the dataset and network structure Boureau et al. (2010); Lee et al. (2016). Furthermore, many networks alternate between different pooling methods to maximize the effectiveness of each method.
|
| 232 |
+
|
| 233 |
+
Future work and improvements in this area could be to vary the wavelet basis to explore which basis performs best for the pooling. Altering the upsampling and downsampling factors in the decomposition and reconstruction can lead to better image feature reductions outside of the $2 \mathbf { x } 2$ scale. Retention of the subbands we discard for the backpropagation could lead to higher accuracies and fewer errors. Improving the method of FTW we use could greatly increase computational efficiency. Finally, analyzing the structural similarity (SSIM) of wavelet pooling versus other methods could further prove the vitality of using our approach.
|
| 234 |
+
|
| 235 |
+
# ACKNOWLEDGMENTS
|
| 236 |
+
|
| 237 |
+
This research is supported by the Title III HBGI PhD Fellowship grant from the U.S. Department of Education.
|
| 238 |
+
|
| 239 |
+
# REFERENCES
|
| 240 |
+
|
| 241 |
+
Leon Bottou. Large–scale machine learning with stochastic gradient descent. In ´ Proceedings of COMPSTAT 2010, pp. 177–186. Springer, 2010.
|
| 242 |
+
|
| 243 |
+
Y-Lan Boureau, Jean Ponce, and Yann Lecun. A theoretical analysis of feature pooling in visual recognition. In 27TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING, HAIFA, ISRAEL, 2010.
|
| 244 |
+
|
| 245 |
+
C Sidney Burrus, Ramesh A Gopinath, Haitao Guo, Jan E Odegard, and Ivan W Selesnick. Introduction to wavelets and wavelet transforms: a primer, volume 1. Prentice hall New Jersey, 1998.
|
| 246 |
+
|
| 247 |
+
C. K. Chui. An Introduction to Wavelets. New York: Academic Press, 1992.
|
| 248 |
+
|
| 249 |
+
Emil Dumic, Sonja Grgic, and Mislav Grgic. The use of wavelets in image interpolation: possibilities and limitations. RADIOENGINEERING-PRAGUE-, 16(4):101, 2007.
|
| 250 |
+
|
| 251 |
+
K Fukushima. Neural network model for a mechanism of pattern recognition unaffected by shift in position Neocognitron. Trans. IECE, J62-A(10):658–665, 1979.
|
| 252 |
+
|
| 253 |
+
Mats Holmstrom. Parallelizing the fast wavelet transform. ¨ Parallel Computing, 21(11):1837–1848, 1995.
|
| 254 |
+
|
| 255 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning, pp. 448–456, 2015.
|
| 256 |
+
|
| 257 |
+
Gunnar Karlsson and Martin Vetterli. Three dimensional sub-band coding of video. In Acoustics, Speech, and Signal Processing, 1988. ICASSP-88., 1988 International Conference on, pp. 1100– 1103. IEEE, 1988.
|
| 258 |
+
|
| 259 |
+
Boris N Khoromskij and Sentao Miao. Superfast wavelet transform using quantics-tt approximation. i. application to haar wavelets. Computational Methods in Applied Mathematics, 14(4):537–553, 2014.
|
| 260 |
+
|
| 261 |
+
VN Kopenkov. Efficient algorithms of local discrete wavelet transform with haar-like bases. Pattern Recognition and Image Analysis, 18(4):654–661, 2008.
|
| 262 |
+
|
| 263 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
|
| 264 |
+
|
| 265 |
+
Yann Lecun, Lon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. In Proceedings of the IEEE, pp. 2278–2324, 1998.
|
| 266 |
+
|
| 267 |
+
Chen-Yu Lee, Patrick W. Gallagher, and Zhuowen Tu. Generalizing pooling functions in convolutional neural networks: Mixed, gated, and tree. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, pp. 464–472, 2016.
|
| 268 |
+
|
| 269 |
+
Daniel Lundqvist, Anders Flykt, and Arne Ohman. The karolinska directed emotional faces (kdef). ¨ CD ROM from Department of Clinical Neuroscience, Psychology section, Karolinska Institutet, 1998.
|
| 270 |
+
|
| 271 |
+
Stephane G Mallat. A theory for multiresolution signal decomposition: the wavelet representation. IEEE transactions on pattern analysis and machine intelligence, 11(7):674–693, 1989.
|
| 272 |
+
|
| 273 |
+
Guy P Nason and Bernard W Silverman. The stationary wavelet transform and some statistical applications. In Wavelets and statistics, pp. 281–299. Springer, 1995.
|
| 274 |
+
|
| 275 |
+
Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011.
|
| 276 |
+
|
| 277 |
+
Michael A. Nielsen. Neural Networks and Deep Learning. Determination Press, 2015.
|
| 278 |
+
|
| 279 |
+
Jose Oliver and Manuel Perez Malumbres. On the design of fast wavelet transform algorithms with low memory requirements. IEEE Transactions on Circuits and Systems for Video Technology, 18 (2):237–248, 2008.
|
| 280 |
+
|
| 281 |
+
J. Anthony Parker, Robert V. Kenyon, and Donald E. Troxel. Comparison of interpolating methods for image resampling. IEEE Transactions on Medical Imaging, 2(1):31–39, 1983.
|
| 282 |
+
|
| 283 |
+
Peter Rieder, Jiirgen Gotze, and Josef A Nossek. Multiwavelet transforms based on several scaling functions. In Proceedings of the IEEE–SP International Symposium on Time–Frequency and Time–Scale Analysis, pp. 393–396. IEEE, 1994.
|
| 284 |
+
|
| 285 |
+
Nitish Srivastava. Improving neural networks with dropout. Master’s thesis, University of Toronto, 2013.
|
| 286 |
+
|
| 287 |
+
Gilbert Strang and Truong Nguyen. Wavelets and filter banks. SIAM, 1996.
|
| 288 |
+
|
| 289 |
+
Gilbert Strang and Vasily Strela. Short wavelets and matrix dilation equations. IEEE Transactions on Signal Processing, 43(1):108–115, 1995.
|
| 290 |
+
|
| 291 |
+
C Valens. The fast lifting wavelet transform. A tutorial, 1999.
|
| 292 |
+
|
| 293 |
+
Andrea Vedaldi and Karel Lenc. Matconvnet: Convolutional neural networks for matlab. In Proceedings of the 23rd ACM international conference on Multimedia, pp. 689–692. ACM, 2015.
|
| 294 |
+
|
| 295 |
+
Michael Weeks and Magdy Bayoumi. 3d discrete wavelet transform architectures. In Circuits and Systems, 1998. ISCAS’98. Proceedings of the 1998 IEEE International Symposium on, volume 4, pp. 57–60. IEEE, 1998.
|
| 296 |
+
|
| 297 |
+
Juyang Weng, Narendra Ahuja, and Thomas S Huang. Cresceptron: a self-organizing neural network which grows adaptively. In International Joint Conference on Neural Networks (IJCNN), volume 1, pp. 576–581. IEEE, 1992.
|
| 298 |
+
|
| 299 |
+
Travis Williams and Robert Li. Advanced image classification using wavelets and convolutional neural networks. In 2016 15th IEEE International Conference on Machine Learning and Applications (ICMLA), pp. 233–239, 2016.
|
| 300 |
+
|
| 301 |
+
Dingjun Yu, Hanli Wang, Peiqiu Chen, and Zhihua Wei. Mixed Pooling for Convolutional Neural Networks, pp. 364–375. Springer International Publishing, 2014.
|
| 302 |
+
|
| 303 |
+
Matthew Zeiler and Robert Fergus. Stochastic pooling for regularization of deep convolutional neural networks. In Proceedings of the International Conference on Learning Representation (ICLR), 2013.
|
parse/train/rkhlb8lCZ/rkhlb8lCZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkhlb8lCZ/rkhlb8lCZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/dev/42zs3qa2kpy/0.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/1.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/10.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/11.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/12.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/13.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/14.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/15.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/16.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/17.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/18.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/19.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/2.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/20.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/3.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/4.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/5.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/6.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/7.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/8.png
ADDED
|
Git LFS Details
|
vlm/dev/42zs3qa2kpy/9.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/0.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/1.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/10.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/11.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/14.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/15.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/17.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/2.png
ADDED
|
Git LFS Details
|
vlm/dev/4AZz9osqrar/21.png
ADDED
|
Git LFS Details
|