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/S1xq3oR5tQ/S1xq3oR5tQ.md +233 -0
- parse/train/S1xq3oR5tQ/S1xq3oR5tQ_content_list.json +1324 -0
- parse/train/S1xq3oR5tQ/S1xq3oR5tQ_middle.json +0 -0
- parse/train/S1xq3oR5tQ/S1xq3oR5tQ_model.json +0 -0
- parse/train/Syzn9i05Ym/Syzn9i05Ym.md +564 -0
- parse/train/Syzn9i05Ym/Syzn9i05Ym_content_list.json +0 -0
- parse/train/Syzn9i05Ym/Syzn9i05Ym_middle.json +0 -0
- parse/train/Syzn9i05Ym/Syzn9i05Ym_model.json +0 -0
- parse/train/kHromd7SNA/kHromd7SNA.md +275 -0
- parse/train/kHromd7SNA/kHromd7SNA_middle.json +0 -0
- parse/train/kHromd7SNA/kHromd7SNA_model.json +0 -0
- parse/train/kzPtpIpF8o/kzPtpIpF8o.md +248 -0
- parse/train/kzPtpIpF8o/kzPtpIpF8o_content_list.json +944 -0
- parse/train/kzPtpIpF8o/kzPtpIpF8o_middle.json +0 -0
- parse/train/kzPtpIpF8o/kzPtpIpF8o_model.json +0 -0
- parse/train/xCy9thPPTb_/xCy9thPPTb__middle.json +0 -0
- parse/train/zGsRcuoR5-0/zGsRcuoR5-0.md +432 -0
- parse/train/zGsRcuoR5-0/zGsRcuoR5-0_content_list.json +1186 -0
- parse/train/zGsRcuoR5-0/zGsRcuoR5-0_middle.json +0 -0
- parse/train/zGsRcuoR5-0/zGsRcuoR5-0_model.json +0 -0
- vlm/train/37nvvqkCo5/0.png +3 -0
- vlm/train/37nvvqkCo5/1.png +3 -0
- vlm/train/37nvvqkCo5/10.png +3 -0
- vlm/train/37nvvqkCo5/11.png +3 -0
- vlm/train/37nvvqkCo5/12.png +3 -0
- vlm/train/37nvvqkCo5/13.png +3 -0
- vlm/train/37nvvqkCo5/14.png +3 -0
- vlm/train/37nvvqkCo5/15.png +3 -0
- vlm/train/37nvvqkCo5/16.png +3 -0
- vlm/train/37nvvqkCo5/17.png +3 -0
- vlm/train/37nvvqkCo5/18.png +3 -0
- vlm/train/37nvvqkCo5/19.png +3 -0
- vlm/train/37nvvqkCo5/2.png +3 -0
- vlm/train/37nvvqkCo5/20.png +3 -0
- vlm/train/37nvvqkCo5/21.png +3 -0
- vlm/train/37nvvqkCo5/22.png +3 -0
- vlm/train/37nvvqkCo5/23.png +3 -0
- vlm/train/37nvvqkCo5/3.png +3 -0
- vlm/train/37nvvqkCo5/4.png +3 -0
- vlm/train/37nvvqkCo5/5.png +3 -0
- vlm/train/37nvvqkCo5/6.png +3 -0
- vlm/train/37nvvqkCo5/7.png +3 -0
- vlm/train/37nvvqkCo5/8.png +3 -0
- vlm/train/37nvvqkCo5/9.png +3 -0
- vlm/train/AAWuCvzaVt/0.png +3 -0
- vlm/train/AAWuCvzaVt/1.png +3 -0
- vlm/train/AAWuCvzaVt/10.png +3 -0
- vlm/train/AAWuCvzaVt/11.png +3 -0
- vlm/train/AAWuCvzaVt/12.png +3 -0
- vlm/train/AAWuCvzaVt/13.png +3 -0
parse/train/S1xq3oR5tQ/S1xq3oR5tQ.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# A UNIFIED THEORY OF EARLY VISUAL REPRESENTATIONS FROM RETINA TO CORTEX THROUGH ANATOMICALLY CONSTRAINED DEEP CNNS
|
| 2 |
+
|
| 3 |
+
Jack Lindsey∗ †, Samuel A. Ocko∗, Surya Ganguli1, Stephane Deny† Department of Applied Physics, Stanford and 1Google Brain, Mountain View, CA
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
The vertebrate visual system is hierarchically organized to process visual information in successive stages. Neural representations vary drastically across the first stages of visual processing: at the output of the retina, ganglion cell receptive fields (RFs) exhibit a clear antagonistic center-surround structure, whereas in the primary visual cortex (V1), typical RFs are sharply tuned to a precise orientation. There is currently no unified theory explaining these differences in representations across layers. Here, using a deep convolutional neural network trained on image recognition as a model of the visual system, we show that such differences in representation can emerge as a direct consequence of different neural resource constraints on the retinal and cortical networks, and for the first time we find a single model from which both geometries spontaneously emerge at the appropriate stages of visual processing. The key constraint is a reduced number of neurons at the retinal output, consistent with the anatomy of the optic nerve as a stringent bottleneck. Second, we find that, for simple downstream cortical networks, visual representations at the retinal output emerge as nonlinear and lossy feature detectors, whereas they emerge as linear and faithful encoders of the visual scene for more complex cortical networks. This result predicts that the retinas of small vertebrates (e.g. salamander, frog) should perform sophisticated nonlinear computations, extracting features directly relevant to behavior, whereas retinas of large animals such as primates should mostly encode the visual scene linearly and respond to a much broader range of stimuli. These predictions could reconcile the two seemingly incompatible views of the retina as either performing feature extraction or efficient coding of natural scenes, by suggesting that all vertebrates lie on a spectrum between these two objectives, depending on the degree of neural resources allocated to their visual system.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Why did natural selection shape our visual representations to be the way they are? Traditionally, the properties of the early visual system have been explained with theories of efficient coding, which are based on the premise that the neural representations are optimal at preserving information about the visual scene, under a set of metabolic constraints such as total firing rate or total number of synapses. These theories can successfully account for the antagonistic center-surround structure of receptive fields (RFs) found in the retina (Atick & Redlich, 1990; 1992; Vincent & Baddeley, 2003; Karklin & Simoncelli, 2011; Doi et al., 2012), as well as for the oriented structure of RFs found in the primary visual cortex V1 (Olshausen & Field, 1996; 1997; Bell & Sejnowski, 1997).
|
| 12 |
+
|
| 13 |
+
However, a number of properties of the early visual system remain unexplained. First, it is unclear why RF geometries would be so different in the retina and V1. A study (Vincent et al., 2005) has proposed that both representations are optimal at preserving visual information under different metabolic constraints: a constraint on total number of synapses for the retina, and one on total firing rate in V1. However, it is unclear why the two systems would be optimized for these two different objectives. Second, there is a great diversity of ganglion cell types at the output the retina (Gollisch & Meister, 2010), with each cell type tiling the entire visual field and performing a specific computation. Interestingly, some of these types perform a highly nonlinear computation, extracting specific, behaviorally-relevant cues from the visual scene (e.g. direction-selective cells, objectmotion-selective cells), whereas other types are better approximated by a quasi-linear model, and respond to a broad range of stimuli (e.g. midget cells in the primate (Roska & Meister, 2014) and quasi-linear pixel-encoders in the mouse (Johnson et al., 2018)). Intriguingly, although quasi-linear and more nonlinear types exist in species of all sizes (e.g. primate parasol cells are nonlinear (Crook et al., 2008)), the proportion of cells performing a rather linear encoding versus a nonlinear feature detection seems to vary across species. For example, the most common ganglion cell type in the primate retina is fairly well approximated by a quasi-linear pixel-encoder (midget cells, $50 \%$ of all cells and ${ > } 9 5 \%$ in the central retina (Roska & Meister, 2014; Dacey, 2004)), whereas the most common cell type in mouse acts as a specific feature detector, thought to serve as an alarm system for overhead predators (W3 cells, $13 \%$ of all ganglion cells (Zhang et al., 2012)). Again, theories of efficient coding have not been able to account for this diversity of computations found across cell types and across species.
|
| 14 |
+
|
| 15 |
+
The limitations of current efficient coding theories might reside in the simplistic assumption that the objective is to simply relay indiscriminately all visual information to the next stages of processing. Indeed, the ultimate goal of the visual system is to extract meaningful features from the visual scene in order to produce an adequate behavioral response, not necessarily to faithfully encode it. A recent line of work has proposed using the information bottleneck framework as a way to move beyond the simplistic objective of information preservation towards more realistic objectives (Chalk et al., 2016; 2018). Another study has shown that by changing the objective from efficiently encoding the present to efficiently encoding the future (predictive coding), one could better account for the spatio-temporal RFs of V1 cells (Singer et al., 2018). Although promising, these approaches were limited to the study of a single layer of neurons, and they did not answer the aforementioned questions about cross-layer or cross-species differences. On the other hand, deep convolutional networks have proven to be accurate models of the visual system, whether they are trained directly on reproducing neural activity (McIntosh et al., 2016; Cadena et al., 2017), or on a behaviorally relevant task (Yamins et al., 2014; Eberhardt et al., 2016; Cadena et al., 2017), but they have not yet been used to study the visual system through the lens of efficient coding theories.
|
| 16 |
+
|
| 17 |
+
In this study, we trained deep convolutional neural networks on image recognition (CIFAR-10, Krizhevsky (2009)) and varied their architectures to explore the sets of constraints that could have shaped vertebrates’ early visual representations through natural selection. We modeled the visual system with a series of two convolutional networks, one corresponding to the retina and one downstream network corresponding to the ventral visual system in the brain. By varying the architecture of these networks, we first found that a reduction in the number of neurons at the retinal output – corresponding to a realistic physical constraint on the number of fibers in the optic nerve – accounted simultaneously for the emergence of center-surround RFs in our model of the retina, and for the emergence of oriented receptive fields in the primary visual relay of the brain. Second, we found that the degree of neural resources allocated to visual cortices in our model drastically reshaped retinal representations. Given a deep visual cortex, the retinal processing emerged as quasi-linear and retained substantial information about the visual scene. In contrast, for a shallow cortex, the retinal processing emerged as nonlinear and more information-lossy, but was better at extracting features relevant to the object classification task. These observations make testable predictions on the qualitative differences that should be found in retinal representations across species, and could reconcile the seemingly incompatible theories of retinal processing as either performing efficient encoding or feature detection.
|
| 18 |
+
|
| 19 |
+
# 2 FRAMEWORK: A DEEP CONVOLUTIONAL NEURAL NETWORK MODEL OF THE VISUAL SYSTEM
|
| 20 |
+
|
| 21 |
+
The retinal architecture is strongly conserved across species (Masland, 2001), and consists of three layers of feed-forward convolutional neurons (photoreceptors, bipolar cells, ganglion cells) and two layers of inhibitory interneurons (horizontal, amacrine cells). However, we chose to model the retina as a convolutional neural network (LeCun et al., 2015) with only two layers (fig. 1A). Indeed the retinal response of many species to complex stimuli has been modeled successfully with only one or two-layer models (Deny et al., 2017; Maheswaranathan et al., 2018; Gollisch & Meister, 2010), with some rare exceptions of models requiring more layers (McIntosh et al., 2016). We refer to this network as the retina-net. In our simulations, we varied the number of neurons in the second layer of the retina-net, which is the output of the retina, corresponding to the physical bottleneck of the optic nerve conveying all the visual information to the brain (fig. 1B).
|
| 22 |
+
|
| 23 |
+
We modeled the ventral visual system – the system associated with object recognition in the brain (Hubel, 1995) – as a convolutional neural network taking its inputs from the retina-net (fig. 1A). We varied the neural resources allocated to the ventral visual system network (VVS-net) by changing the number of layers it is composed of (fig. 1B).
|
| 24 |
+
|
| 25 |
+
We trained the neural network composed of the retina-net and VVS-net end-to-end on an object classification task (CIFAR-10, fig. 1A-B-C). Even though the visual system does much more than just classify objects in natural images, this objective is already much more complex and biologically realistic than the one used in previous studies of efficient coding, namely preserving all information about the visual scene. Moreover, we are encouraged by the fact that previous studies using this objective have found a good agreement between neural activity in artificial and biological visual networks (Yamins et al., 2014; Cadena et al., 2017).
|
| 26 |
+
|
| 27 |
+
More specifically, we trained a convolutional neural network on a grayscale version of the standard CIFAR-10 dataset for image classification. The retina-net consisted of two convolutional layers with 32 channels and $N _ { B N }$ channels respectively, and with ReLU nonlinearities at each layer. The VVSnet consisted of a varying number $D _ { V V S }$ of convolutional layers with 32 channels followed by two fully connected layers (the first one with 1024 neurons and the second one with 10 neurons mapping to the 10 object categories), with ReLU nonlinearities at each layer and a softmax nonlinearity at the last layer. The full system encompassing the retina-net and VVS-net thus had $3 2 N _ { B N } $ $3 2 3 2 . . .$ channels respectively, where we varied the retinal bottleneck width, $N _ { B N }$ , as well as the number $D _ { V V S }$ of convolutional brain layers (not counting the fully connected layers). In each convolutional layer, we used $9 \mathrm { x } 9$ convolutional filters with a stride of 1 at each step. The large filter size was chosen to give the network flexibility in determining the optimal filter arrangement. We trained our network with the RMSProp optimizer for 20 epochs on the training set with batches of size 32. All optimizations were performed using Keras and TensorFlow. For all results presented, we tested statistical significance by training 10 identical networks with different random initializations of weights and biases taken from a Glorot-uniform distribution (Glorot & Bengio, 2010).
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: Illustration of the framework we used to model early visual representations. A: We trained convolutional neural networks on an image recognition task (CIFAR-10). The networks were composed of two parts, a retina-net and a ventral-visual-system-net (VVS-net), which receives input from the retina-net. B: We varied the number of layers in the VVS-net (white boxes) and the number of channels at the output of the retina-net (blue box). C: Key results: (1) A bottleneck at the output of the retina yielded center-surround retinal RFs. (2) A shallow VVS-net yielded more nonlinear retinal responses (linearity is schematized by the red arrow), which better disentangled image classes (represented as bent manifolds). D: Test-set accuracy of all model architectures on CIFAR-10, averaged over ten networks with random initial weights for each architecture. Performance increases with VVS-net depth and retinal channel, indicating that both factors are meaningful constraints on the network in the regime tested.
|
| 31 |
+
|
| 32 |
+
After training, we determined the linear approximation of RFs of each convolutional channel of the network in each layer. This was achieved by computing the gradient of the activation of that channel with respect to a blank image. This gradient map gives a first-order approximation of the image pattern that maximally activates the cells in the channel of interest. In the limit of small noise variance, this computation is mathematically equivalent to measuring the cell’s spike-triggered average in response to a perturbative white-noise stimulus (Koelling & Nykamp, 2008; Schwartz et al., 2006), a commonly used method for determining receptive fields in experimental biology (Chichilnisky, 2001). This equivalence allowed us to compare directly the geometries of RFs experimentally measured in biological networks with the ones found in our models.
|
| 33 |
+
|
| 34 |
+
The test accuracy of our neural network model of the visual system at the recognition task increased both with the number of channels in the retinal bottleneck, and with the number of layers in the VVS-net (fig. 1D), confirming that we were in a regime where the restrictions on neural resources in the VVS-net and at the output of the retina were critical to the ability of the network to perform the task.
|
| 35 |
+
|
| 36 |
+
# 3 A UNIFIED MODEL FOR CENTER-SURROUND RFS IN THE RETINA AND ORIENTED RFS IN V1
|
| 37 |
+
|
| 38 |
+
Here we investigate the effects of a dimensionality bottleneck at the retinal output on early visual representations in our model of the visual system.
|
| 39 |
+
|
| 40 |
+
# 3.1 A DIMENSIONALITY BOTTLENECK AT THE RETINAL OUTPUT YIELDS THE EXPECTED REPRESENTATIONS IN RETINA AND V1
|
| 41 |
+
|
| 42 |
+
When reducing the number of neurons at the output of the retina we found that RFs with antagonistic center and surround emerged. For $N _ { B N } = 3 2$ , our control setting with no bottleneck at the retinal output, we observed mostly oriented receptive fields in the second layer of the network (fig. 2A). For $N _ { B N } = 4 , 2$ , and 1, we observed center-surround receptive fields in the second layer of the network and mostly oriented receptive fields in the third layer, which is the first layer of the ventral visual system in our model (fig. 2B). We quantified these results in App. A. The RF geometries did not depend qualitatively on the VVS-net depth $D _ { V V S }$ (results shown for $D _ { V V S } = 2 $ ), except for the shallowest VVS-net tested ${ \cal D } _ { V V S } = 0$ , no convolutional layer, and thus no dimensionality expansion), for which the shape of emergent retinal RFs were variable across trials and difficult to interpret. These results are in good agreement with the organization of the biological visual system, where retinal RFs are center-surround and most downstream RFs in primary visual cortex (V1) are sharply oriented (Hubel, 1995), suggesting that the dimensionality bottleneck at the output of the retina is sufficient to explain these differences in representations. It is worth noting that for both conditions (bottleneck and no bottleneck), the RFs of downstream layers in the VVS-net after the first layer exhibited complex shapes that were neither clearly oriented, nor circular, and the RFs in the first layer of the retina did not appear to have any well-defined structure (data not shown).
|
| 43 |
+
|
| 44 |
+
We then tested in our model the hypothesis of Hubel and Wiesel concerning how center-surround cells are pooled to give rise to oriented RFs in V1 (Hubel, 1995). We found that orientation-selective neurons in the VVS-net typically draw primarily from center-surround neurons in the retina-net that are aligned with the direction of the edge, with positive or negative weights corresponding to whether the polarity (light-selective / dark-selective) of the two neurons are consistent or inconsistent (fig. 2C, and App. A for a quantification). These qualitative results are in good agreement with Hubel and Wiesel’s hypothesis. Of course, this hypothesis remains to be tested in the real brain, since there is no evidence that the micro-circuitry of the brain matches that of our simulation.
|
| 45 |
+
|
| 46 |
+
In the visual system of mammals, the main relay of visual information taking its input from the retina is the LGN (thalamus), which has center-surround RFs and a similar total number of neurons as the retinal output (Hubel, 1995). We created a network reflecting this architecture by having two lowdimensionality layers in a row instead of just one (fig. 2C). After training, we found center-surround RFs in the two layers with a bottleneck (retinal output and LGN), and oriented RFs in the next layer, corresponding to the primary visual cortex (V1). These results suggest that center-surround representations remain advantageous as long as the dimensionality of the representation remains low, and hence dimensionality expansion seems to be the crucial factor explaining the qualitative change of RFs found between LGN and V1.
|
| 47 |
+
|
| 48 |
+
It is an interesting question to ask whether neurons in our model of the VVS are more similar to simple or complex cells (Hubel, 1995). To test this, we performed a one-step gradient ascent on the neural activity of VVS neurons with respect to the image, starting from several random initial images (App. B). If the neurons were acting as simple cells (i.e. are approximately linear in the stimulus), we would expect all optimized stimuli to converge to the same preferred stimulus. On the other hand, if the cells were complex (i.e. OR function between several preferred stimuli), we would expect the emergent preferred stimuli to depend on the exact initialization. Interestingly, we found that most neurons in the first layer of the VVS-net behaved as simple cells, whereas most neurons in the second layer of the VVS-net behaved as complex cells. Note that in biology, both simple and complex cells are found in V1. These results expose the fact that anatomical regions of visual cortex involve multiple nonlinearities and hence may map onto more than one layer of our simple model. Indeed, V1 itself is a multilayered cortical column, with LGN inputs coming in to layer 4, and layer 4 projecting to layers 2 and 3 (Hubel, 1995). Simple cells are predominantly found in layer 4 and complex cells are predominantly found in layers 2 and 3. These observations bolster the interpretation that biological V1 may correspond to multiple layers in our model.
|
| 49 |
+
|
| 50 |
+
Local divisive normalization (i.e. local gain control) is an ubiquitous source of nonlinearity in the visual system (Geisler & Albrecht, 1992; Heeger, 1992; Deny et al., 2017). We thus tested the robustness of our main result to a more realistic model of the visual system with local normalization, by adding it at every layer of the network (App. C). We found that receptive fields still emerged as center-surround in the retina-net, and as oriented in our model of V1. We note that the local normalization slightly degraded the performance of the network on the task for all parameter settings we tried.
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
Figure 2: Effects of a bottleneck constraint on receptive fields (RFs). All results are shown for $D _ { V V S } = 2$ . A: Examples of RFs of cells at selected layers (layers 2 and 3) of a control network with no bottleneck. No center-surround RFs appear. B: Center-surround RFs emerge at the output of the retina-net (layer 2) and oriented RFs emerge in the first layer of the VVS-net when we impose a bottleneck constraint at the output of the retina $N _ { B N } = 1$ ) C: Top: Hubel and Wiesel’s hypothesis on oriented cell formation in V1 (Hubel, 1995). Bottom: A representative example of an orientationselective neuron (bottom RF) drawing from center-surround channels (top RFs) in the previous layer with weight matrices (center) according to their polarity. Light / dark-selective regions of a receptive field, and positive / negative weights, are represented with red / blue, respectively. D: Examples of RFs in a network with an extra bottleneck layer corresponding to mammalian LGN. Center-surround RFs appear at both the retinal output and LGN layer. E: Examples of ON and OFF center-surround RFs in the untied network $( N _ { B N } = 4 )$ ). F: t-SNE clustering of the retinal neurons of the untied network (see text). Two distinct cell type clusters form corresponding to ON and OFF center-surround receptive fields.
|
| 54 |
+
|
| 55 |
+
3.2 EMERGENCE OF ON AND OFF POPULATIONS OF CENTER-SURROUND CELLS IN THERETINA
|
| 56 |
+
|
| 57 |
+
We then verified that the emergence of center-surround RFs in the retina-net is a consequence of reducing the number of neurons at the retinal output, not of reducing the number of channels, our model’s equivalent of biological retinal cell types. In the retina, there exist 20-30 types of ganglion cells (Roska & Meister, 2014), each with a different and stereotyped receptive field, density, polarity (i.e. ON or OFF), and nonlinearities. Cells of each type tile the entire visual field like a convolutional channel in our model, so there is a direct analogy between channels in our model and ganglion cell types in the retina. In order to test whether the emergence of center-surround RFs depends on the number of types that we allow, or just on the number of neurons that we allow at the output of the retina (i.e. dimensionality bottleneck), we employed locally connected layers – equivalent to convolutional layers, but without parameter-tying between artificial neurons within a channel at different spatial locations. In this manner, we can limit the number of neurons at the retinal output without imposing a constraint on the number of cell types. Such a network contains too many parameters to be trained from scratch by gradient descent; to work around this, we trained the model stage-wise by first training our convolutional control network $N _ { B N } = 3 2$ with parameter tying) and then we trained a three-layers untied network (with bottleneck dimension $N _ { B N } = 4$ in the second layer) to reproduce the edge-like activations of the second layer of the control network. Even in the untied retina-net, in which each neuron is effectively its own channel, we found that centersurround RFs emerged (fig. 2E), indicating that center-surround RFs are the network’s preferred strategy for passing information through a dimensionality bottleneck even when no constraint on the number of cell types is imposed. We then found that the cells cluster in two distinct populations. To demonstrate this, we measured their activations in response to 10000 natural images, computed the first 20 principal components of this 10000-dimensional space, and ran t-SNE to visualize the clustering of neuron types. We found that two distinct clusters emerged, that corresponded visually to ON and OFF center-surround RFs (fig. 2F). We thus observe in our model the emergence of one of the most prominent axes of dichotomy of biological ganglion cell types, namely the classification of cells in ON and OFF populations with RFs of opposite polarity.
|
| 58 |
+
|
| 59 |
+
# 4 RETINAL REPRESENTATIONS ARE A FUNCTION OF THE NEURAL RESOURCES ALLOCATED TO THE VENTRAL VISUAL STREAM
|
| 60 |
+
|
| 61 |
+
To what extent are retinal representations in our model shaped by the degree of neural resources allocated to downstream processing? To investigate this question, we studied the effects of varying the degree of neural resources in the VVS-net, on emergent visual representations in the retina-net.
|
| 62 |
+
|
| 63 |
+
# 4.1 THE RETINA BECOMES MORE LINEAR AS BRAIN COMPLEXITY INCREASES
|
| 64 |
+
|
| 65 |
+
As we increased the number of layers in the VVS-net, the retinal computation became more linear (fig. 3A), as measured by the ability of the raw image to linearly map onto the neural representation at the retinal output (see methods, and App. F for a visualization of retinal representation as VVS-net depth increases). This observation is consistent with the current state of knowledge of the differences found in retinal representations across vertebrate species with different brain sizes. The linearization of the retinal response with increased brain complexity was true for different values of bottleneck $N _ { B N }$ . However, when we did not use any bottleneck ( $N _ { B N } = 3 2$ ), the trend became non-monotonic, with a peak in linearity of the response when the VVS-net had 1 conv layer (data not shown). Another interesting phenomenon to note is that linearity of the retinal response decreased as we increased the number of channels in the bottleneck, at any fixed brain depth (fig. 3A).
|
| 66 |
+
|
| 67 |
+
The two main sources of nonlinearity in the retina are thought to be the inner retinal rectifications (bipolar and amacrine cells, corresponding to the first rectified layer in our model) and the ganglion cell rectification (corresponding to the second rectified layer in our model). As we decreased VVSnet depth, we observed that the retinal response became more nonlinear. Is this increase in response nonlinearity due to the first or second stage of nonlinearity in our retina-net? To test this, we plotted the real response against the response predicted by a purely linear model for the most shallow and for the deepest VVS-nets tested (fig. 3B). If the linear prediction were inaccurate because of the first stage of nonlinear processing in the retina-net, we would expect the points on the scatter plot to be scattered around the unit line. If the prediction error were due to the second-stage of nonlinearity, we would expect the linear approximation to make incorrect negative predictions for inactive neurons. In practice, we found that the prediction error of the linear model was partly explained by both stages of nonlinearity in the retina-net model, predicting that both inner retinal nonlinear processing and ganglion cell rectifications should be more pronounced in animals with fewer neural resources in their visual cortices.
|
| 68 |
+
|
| 69 |
+
# 4.2 THE RETINAL REPRESENTATION IS THE RESULT OF A TRADE-OFF BETWEEN INFORMATION TRANSMISSION AND FEATURE EXTRACTION
|
| 70 |
+
|
| 71 |
+
Why would retinal representations be more linear when the subsequent ventral visual stream has more resources? One hypothesis is that with a restricted number of neurons, the retina must trade-off between the two incentives of (1) compressing visual information in order to transmit it to down-1 Channel 1 Channel stream layers and (2) extracting nonlinear features from the scene to start disentangling the manifolds4 ChannelsRaw Pixels 4 ChannelsRaw Pixels corresponding to different classes of objects (Chung et al., 2018a;b). According to this hypothesis,VVS-net depth VVS-net depth VVS-net depth when the VVS is shallow, the priority of the retina should be to work toward extracting relevantB CE F D E features. When the VVS is deep, the priority of the retina should be to transmit as much visual information as possible for downstream processing. We validated this hypothesis in two ways in our1 Channel model.
|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
Figure 3: Emergent retinal representations are function of the depth of downstream visual cortices. All error bars represent the $9 5 \%$ confidence interval about the mean (all simulations were repeated over 10 networks trained from random initial conditions). Three stars indicate t-test significance $\scriptstyle ( \mathbf { p } < 0 . 0 0 1$ ). A: Linearity of the retinal response increases with the number of layers in the VVSnet. Note that it also decreases with the number of cells at the retinal output (different lines). B: Responses of example retina-net output cell to natural images, vs. best linear fit prediction from 1 Channel \*\*\*raw image, for most (top) and least (bottom) deep VVS-nets. Nonlinearity arises from two sources: 2 Channels Raw Pixelsrectification within the retina-net (corresponds to the spread of the bulk of the point cloud) and rectification at the retina-net output (corresponds to inactive neurons being incorrectly predicted to have negative activations). C: Quality of image reconstruction from the retinal representation as a function of VVS-net depth. The retinal representation retains more information about the raw image for deep VVS-nets. D: Linear separability of classes of objects at the retinal output, as a function of VVS-net depth. Dashed line indicates separability of classes of images from the raw image pixels. Classes are less separable at the retinal output for deeper VVS-nets. E: Performance on CIFAR-10 for a two-layer densely connected network taking its input from the retina-net or from a raw image. Class information is more accessible from retinal representation. F: Class separability at all layers of network for a deep VVS-net $D _ { V V S } = 4 $ ) with and without bottleneck $\boldsymbol { N } _ { B N } = 1$ and $N _ { B N } = 3 2$ ). Retinal representation of bottleneck network has low separability. However, the first layer of the VVS-net has high separability (see text).
|
| 75 |
+
|
| 76 |
+
First we showed that the retinal representation retained more information about the image as VVSnet complexity increased (fig. 3C). To estimate information retention, we trained a linear decoder (see methods) from the output of the retina to reconstruct the image and we measured the reconstruction error. The reconstruction error provided a lower bound on the information that the retina retained about the stimulus (note that more information for reconstruction might be accessible by a nonlinear decoder). This result corroborated our hypothesis that, as the VVS-net becomes more complex, the retinal representation gets better at retaining visual information for further processing by the VVS-net.
|
| 77 |
+
|
| 78 |
+
Second, we found that different classes of objects of CIFAR-10 (e.g. trucks, frogs) were more linearly separable from the retina-net representation when the VVS-net was shallow than when it was deep (fig. 3D). To measure linear separability of manifolds, we trained a linear SVM decoder to separate all pairs of classes and evaluated the performance of the SVM classifier on held-out images (see methods). Moreover, we showed that a VVS-net consisting of two fully connected layers only (no convolutional layers) equipped and trained end-to-end with a retina with a tight bottleneck $N _ { B N } = 1$ (dimensionality of retinal output matches dimensionality of the input image) performed better at image recognition than the same VVS-net trained without a retina-net, taking raw images as input (fig. 3E). Both these results corroborate our hypothesis that retinas followed by a simple cortex performs meaningful feature extraction, whereas retinas followed by more complex visual cortices prioritize non-lossy encoding, postponing feature extraction to downstream layers that are better equipped to do it.
|
| 79 |
+
|
| 80 |
+
Next, we show that within a single network, each retinal channel is trading-off between (1) linearly transmitting visual information to the brain, and (2) extracting relevant features for the object classification task. For 10 instantiations of a network with a retinal bottleneck containing 4 channels, we represented the linearity of each of these 4 channels against the linear separability of object categories obtained from each of these representations. We found, across all networks, a systematic negative correlation between linearity and linear separability across all 4 channels (App. D). Again, this result strongly suggests that extracting features and transmitting visual information are indeed two competing goals shaping representations in our model of the retina.
|
| 81 |
+
|
| 82 |
+
In the case of the deepest VVS-nets tested, the retinal processing was quasi-linear for the tightest bottleneck (var.expl. $= 0 . 9$ , $N _ { B N } = 1$ , fig. 3A). One might take this result to suggest that the retinanet in such models does little more than copy image information. However the very first layer of the VVS-net after the retina disentangled classes (as measured by linear separability) almost as well as the second layer of a VVS-net without a retina (fig. 3F), suggesting that the retinal representation, while only moderately linearly separable itself, is especially transformable into a representation with a high linear separability. This result suggests that even when the retina-net is quasi-linear, it can still participate in extracting relevant features for downstream processing by the brain. The increased separability allowed by the retinal pre-processing for this deep VVS-net could be due to (1) the linear processing or (2) the slightly nonlinear part of the retinal processing (3) a combination of both linear and nonlinear processing. To distinguish between these hypotheses, we replaced the true retinal processing by its best linear approximation, retrained the VVS-net on the output of this linearized retina, and tested whether separability was as high as with the true retinal processing (App. E). We found that the first layer trained on the output of the linearized retinal representation was indeed much more separable than the first layer of the control network (trained directly on natural images) at separating classes of objects, suggesting that the linear operation done by the retina does indeed play a crucial role in making the representation especially separable for subsequent layers.
|
| 83 |
+
|
| 84 |
+
# 5 METHODS
|
| 85 |
+
|
| 86 |
+
To estimate the linearity of the response of retinal neurons, we fit a linear model to predict the neural response from the image on 8,000 images. In order to prevent overfitting, we regularized the linear weights with an L2 penalty and optimized the weights using ridge regression. The value of the penalty term was chosen by 10-fold cross-validation on the training set. We then measured the Pearson correlation between the linearized responses and original model responses on a testing set of 2,000 images.
|
| 87 |
+
|
| 88 |
+
To estimate the information about the input image retained by the retinal output representation, we fit a linear model to reconstruct the image from the (fixed) outputs of the trained retina-net of interest. All numerical figures given are variance-explained results on the held-out test set.
|
| 89 |
+
|
| 90 |
+
To estimate the linear separability of classes of objects from the neural representation, we trained an SVM classifier between all pairs of classes on half of the testing set of CIFAR-10 (1,000 images that were not used to train the network), and we tested the performance of the SVM classifier on 1,000 held-out images from the testing set, as measured by the percentage of images classified correctly. We then averaged the performance of the SVM across all pairs of classes to obtain the linear separability score.
|
| 91 |
+
|
| 92 |
+
# 6 DISCUSSION
|
| 93 |
+
|
| 94 |
+
A unified theoretical account for the structural differences between the receptive field shapes of retinal neurons and V1 neurons has until now been beyond the reach of efficient coding theories. Karklin & Simoncelli (2011) found that efficient encoding of images with added noise and a cost on firing rate produce center-surround RFs, whereas the same task without noise produces edge detectors. However, this observation (as they note) does not explain the discrepancy between retinal and cortical representations. Vincent et al. (2005) propose a different set of constraints for the retina and V1, in which the retina optimizes for a metabolic constraint on total number of synapses, whereas V1 optimizes for a constraint on total firing rate. It is not clear why each of these constraints would predominate in each respective system. Here we show that these two representations can emerge from the requirement to perform a biologically relevant task (extracting object identity from an image) with a bottleneck constraint on the dimensionality of the retinal output. Interestingly, this constraint differs from the ones used previously to account for center-surround RFs (number of synapses or total firing rate). It is worth noting that we unsuccessfully tried to reproduce the result of Karklin & Simoncelli (2011) in our network, by adding noise to the image and applying an L1 regularization to the retina-net activations. In our framework (different than the one of Karklin & Simoncelli (2011) in many ways), the receptive fields of the retina-net without bottleneck remained oriented across the full range of orders of magnitude of noise and L1 regularization that permitted successful task performance.
|
| 95 |
+
|
| 96 |
+
There is a long-standing debate on whether the role of the retina is to extract relevant features from the environment (Lettvin et al., 1959; Gollisch & Meister, 2010; Roska & Meister, 2014), or to efficiently encode all visual information indistinctly (Barlow, 1961; Atick & Redlich, 1990; 1992). In this work, we show that our model of the visual system, trained on the same task and with the same input statistics, can exhibit different retinal representations depending on the degree of neural resources allocated to downstream processing by the ventral visual stream. These results suggest the hypothesis that, despite its conserved structure across evolution, the retina could prioritize different computations in different species. In species with fewer brain resources devoted to visual processing, the retina should nonlinearly extract relevant features from the environment for object recognition, and in species with a more complex ventral visual stream, the retina should prioritize a linear and efficient transmission of visual information for further processing by the brain. Although all species contain a mix of quasi-linear and nonlinear cell types, the proportion of quasi-linear cells seems to vary across species. In the mouse, the most numerous cell type is a two-stage nonlinear feature detector, thought to detect overhead predators (Zhang et al., 2012). In contrast, the most common ganglion cell type in the primate retina is fairly well approximated by a linear filter (midget cells, $50 \%$ of all cells and ${ > } 9 5 \%$ in the central retina (Roska & Meister, 2014; Dacey, 2004)). Note however that two-stage nonlinear models are also present in larger species, such as cat Y-type cells and primate parasol cells (Crook et al., 2008), making it difficult to make definitive statements about inter-species differences in retinal coding. To gain a better understanding of these differences, it would be useful to collect a dataset consisting of recordings of complete populations of ganglion cells of different species in response to a common bank of natural scenes.
|
| 97 |
+
|
| 98 |
+
A related question is the role of the parcellation of visual information in many ganglion cell types at the retinal output. A recent theory of efficient coding has shown that properties of midget and parasol cells in the primate retina can emerge from the objective of faithfully encoding natural movies with a cost on the total firing rate traversing the optic nerve (Ocko et al., 2018). On the other hand, many cell types seem exquisitely sensitive to behaviorally relevant features, such as potential prey or predators (Gollisch & Meister, 2010). For example, some cell types in the frog are tuned to detect moving flies or looming predators (Lettvin et al., 1959). It is an intriguing possibility that different cell types could subserve different functions within a single species, namely efficient coding of natural scenes for some types and extraction of behaviorally-relevant features for others. In this study we allowed only a limited number of cell types (i.e. convolutional channels) at the retinal output (1 to 4), in order to have a dimensionality expansion between the retinal representation and the representation in the ventral visual stream (32 channels), an important condition to see the retinal center-surround representation emerge. By using larger networks with more channels in the retina-net and the VVS-net, we could study the emergence of a greater diversity of neuron types in our retina-net and compare their properties to real retinal cell types. It would also be interesting to extend our model to natural movies. Indeed, most feature detectors identified to date seem to process some form of image motion: wide-field, local or differential (Roska & Meister, 2014). Adding a temporal dimension to the model would be necessary to study their emergence.
|
| 99 |
+
|
| 100 |
+
In conclusion, by studying emergent representations learned by a deep network trained on a biologically relevant task, we found that striking differences in retinal and cortical representations of visual information could be a consequence of the anatomical constraint of transmitting visual information through a low-dimensional communication channel, the optic nerve. Moreover, our computational explorations suggest that the rich diversity of retinal representations found across species could have adaptively co-evolved with the varying sophistication of subsequent processing performed by the ventral visual stream. These insights illustrate how deep neural networks, whose creation was once inspired by the visual system, can now be used to shed light on the constraints and objectives that have driven the evolution of our visual system.
|
| 101 |
+
|
| 102 |
+
# ACKNOWLEDGMENTS
|
| 103 |
+
|
| 104 |
+
We would like to thank Lane McIntosh, Niru Maheswaranathan, Aran Nayebi, SueYeon Chung, Vardan Papyan, Nora Brackbill, E.J. Chichilnisky for useful discussions and Stephen Baccus for his comments that greatly improved the manuscript. S.G. thanks the Burroughs-Wellcome, McKnight, James S. McDonnell and Simons foundations for support.
|
| 105 |
+
|
| 106 |
+
# REFERENCES
|
| 107 |
+
|
| 108 |
+
Joseph J. Atick and A. Norman Redlich. Towards a theory of early visual processing. Neural Computation, 2(3):308–320, 1990.
|
| 109 |
+
Joseph J. Atick and A. Norman Redlich. What does the retina know about natural scenes? Neural computation, 4(2):196–210, 1992.
|
| 110 |
+
HB Barlow. Possible principles underlying the transformations of sensory messages. In WA Rosenblith (ed.), Sensory Communication, pp. 217–234. MIT Press, 1961.
|
| 111 |
+
A. J. Bell and T. J. Sejnowski. The ”independent components” of natural scenes are edge filters. Vision Research, 37(23):3327–3338, December 1997. ISSN 0042-6989.
|
| 112 |
+
Santiago A. Cadena, George H. Denfield, Edgar Y. Walker, Leon A. Gatys, Andreas S. Tolias, Matthias Bethge, and Alexander S. Ecker. Deep convolutional models improve predictions of macaque V1 responses to natural images. bioRxiv, pp. 201764, October 2017. doi: 10.1101/ 201764.
|
| 113 |
+
Matthew Chalk, Olivier Marre, and Gasper Tkacik. Relevant sparse codes with variational information bottleneck. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), Advances in Neural Information Processing Systems 29, pp. 1957–1965. Curran Associates, Inc., 2016.
|
| 114 |
+
Matthew Chalk, Olivier Marre, and Gaper Tkaik. Toward a unified theory of efficient, predictive, and sparse coding. Proceedings of the National Academy of Sciences of the United States of America, 115(1):186–191, 2018. ISSN 1091-6490. doi: 10.1073/pnas.1711114115.
|
| 115 |
+
E. J. Chichilnisky. A simple white noise analysis of neuronal light responses. Network (Bristol, England), 12(2):199–213, May 2001. ISSN 0954-898X.
|
| 116 |
+
|
| 117 |
+
SueYeon Chung, Uri Cohen, Haim Sompolinsky, and Daniel D. Lee. Learning Data Manifolds with a Cutting Plane Method. Neural Computation, 30(10):2593–2615, October 2018a. ISSN 0899-7667, 1530-888X. doi: 10.1162/neco a 01119.
|
| 118 |
+
|
| 119 |
+
SueYeon Chung, Daniel D. Lee, and Haim Sompolinsky. Classification and Geometry of General Perceptual Manifolds. Physical Review X, 8(3), July 2018b. ISSN 2160-3308. doi: 10.1103/ PhysRevX.8.031003.
|
| 120 |
+
|
| 121 |
+
Joanna D. Crook, Beth B. Peterson, Orin S. Packer, Farrel R. Robinson, John B. Troy, and Dennis M. Dacey. Y-cell receptive field and collicular projection of parasol ganglion cells in macaque monkey retina. The Journal of Neuroscience: The Official Journal of the Society for Neuroscience, 28 (44):11277–11291, October 2008. ISSN 1529-2401. doi: 10.1523/JNEUROSCI.2982-08.2008.
|
| 122 |
+
|
| 123 |
+
Dennis Dacey. Origins of perception: retinal ganglion cell diversity and the creation of parallel visual pathways. In The cognitive neuroscience (2004), pp. 281–301, 2004.
|
| 124 |
+
|
| 125 |
+
Stephane Deny, Ulisse Ferrari, Emilie Mace, Pierre Yger, Romain Caplette, Serge Picaud, Gaper Tkaik, and Olivier Marre. Multiplexed computations in retinal ganglion cells of a single type. Nature communications, 8(1):1964, 2017.
|
| 126 |
+
|
| 127 |
+
Eizaburo Doi, Jeffrey L. Gauthier, Greg D. Field, Jonathon Shlens, Alexander Sher, Martin Greschner, Timothy A. Machado, Lauren H. Jepson, Keith Mathieson, Deborah E. Gunning, Alan M. Litke, Liam Paninski, E. J. Chichilnisky, and Eero P. Simoncelli. Efficient coding of spatial information in the primate retina. The Journal of Neuroscience, 32(46):16256–16264, November 2012.
|
| 128 |
+
|
| 129 |
+
Sven Eberhardt, Jonah G Cader, and Thomas Serre. How Deep is the Feature Analysis underlying Rapid Visual Categorization? pp. 9, 2016.
|
| 130 |
+
|
| 131 |
+
Wilson S. Geisler and Duane G. Albrecht. Cortical neurons: isolation of contrast gain control. Vision research, 32(8):1409–1410, 1992.
|
| 132 |
+
|
| 133 |
+
Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 249–256, 2010.
|
| 134 |
+
|
| 135 |
+
Tim Gollisch and Markus Meister. Eye smarter than scientists believed: neural computations in circuits of the retina. Neuron, 65(2):150–164, January 2010. ISSN 1097-4199. doi: 10.1016/j. neuron.2009.12.009.
|
| 136 |
+
|
| 137 |
+
D. J. Heeger. Normalization of cell responses in cat striate cortex. Visual Neuroscience, 9(2):181– 197, August 1992. ISSN 0952-5238.
|
| 138 |
+
|
| 139 |
+
David H. Hubel. Eye, brain, and vision. Scientific American Library/Scientific American Books, 1995.
|
| 140 |
+
|
| 141 |
+
Keith P. Johnson, Lei Zhao, and Daniel Kerschensteiner. A Pixel-Encoder Retinal Ganglion Cell with Spatially Offset Excitatory and Inhibitory Receptive Fields. Cell Reports, 22(6):1462–1472, February 2018. ISSN 22111247. doi: 10.1016/j.celrep.2018.01.037.
|
| 142 |
+
|
| 143 |
+
Yan Karklin and Eero P. Simoncelli. Efficient coding of natural images with a population of noisy Linear-Nonlinear neurons. In J. Shawe-Taylor, R. S. Zemel, P. L. Bartlett, F. Pereira, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 24, pp. 999–1007. Curran Associates, Inc., 2011.
|
| 144 |
+
|
| 145 |
+
Melinda E. Koelling and Duane Q. Nykamp. Computing linear approximations to nonlinear neuronal response. Network (Bristol, England), 19(4):286–313, 2008. ISSN 1361-6536. doi: 10.1080/09548980802503139.
|
| 146 |
+
|
| 147 |
+
Alex Krizhevsky. Learning Multiple Layers of Features from Tiny Images. pp. 60, 2009.
|
| 148 |
+
|
| 149 |
+
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, May 2015. ISSN 1476-4687. doi: 10.1038/nature14539.
|
| 150 |
+
|
| 151 |
+
J. Y. Lettvin, H. R. Maturana, W. S. McCulloch, and W. H. Pitts. What the Frog’s Eye Tells the Frog’s Brain. Proceedings of the IRE, 47(11):1940–1951, November 1959. ISSN 0096-8390. doi: 10.1109/JRPROC.1959.287207.
|
| 152 |
+
|
| 153 |
+
Niru Maheswaranathan, David B. Kastner, Stephen A. Baccus, and Surya Ganguli. Inferring hidden structure in multilayered neural circuits. PLoS computational biology, 14(8):e1006291, August 2018. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1006291.
|
| 154 |
+
|
| 155 |
+
Richard H. Masland. The fundamental plan of the retina. Nature Neuroscience, 4(9):877–886, September 2001. ISSN 1546-1726. doi: 10.1038/nn0901-877.
|
| 156 |
+
|
| 157 |
+
Lane McIntosh, Niru Maheswaranathan, Aran Nayebi, Surya Ganguli, and Stephen Baccus. Deep Learning Models of the Retinal Response to Natural Scenes. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), Advances in Neural Information Processing Systems 29, pp. 1369–1377. Curran Associates, Inc., 2016.
|
| 158 |
+
|
| 159 |
+
Samuel A. Ocko, Jack Lindsey, Surya Ganguli, and Stephane Deny. The emergence of multiple retinal cell types through efficient coding of natural movies. bioRxiv, pp. 458737, October 2018. doi: 10.1101/458737. URL https://www.biorxiv.org/content/early/2018/10/ 31/458737.
|
| 160 |
+
|
| 161 |
+
B. A. Olshausen and D. J. Field. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, June 1996. ISSN 0028-0836. doi: 10.1038/381607a0.
|
| 162 |
+
|
| 163 |
+
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, December 1997. ISSN 0042-6989.
|
| 164 |
+
|
| 165 |
+
Botond Roska and Markus Meister. The Retina Dissects the Visual Scene into Distinct Features. In The New Visual Neurosciences (Werner, JS, Chalupa, LM, eds), pp 163182., pp. 20. Cambridge, MA: MIT Press, 2014.
|
| 166 |
+
|
| 167 |
+
Odelia Schwartz, Jonathan W. Pillow, Nicole C. Rust, and Eero P. Simoncelli. Spike-triggered neural characterization. Journal of Vision, 6(4):13, July 2006. ISSN 1534-7362. doi: 10.1167/6.4.13.
|
| 168 |
+
|
| 169 |
+
Yosef Singer, Yayoi Teramoto, Ben DB Willmore, Jan WH Schnupp, Andrew J. King, and Nicol S. Harper. Sensory cortex is optimized for prediction of future input, June 2018.
|
| 170 |
+
|
| 171 |
+
Benjamin T. Vincent and Roland J. Baddeley. Synaptic energy efficiency in retinal processing. Vision Research, 43(11):1283–1290, May 2003. ISSN 0042-6989.
|
| 172 |
+
|
| 173 |
+
Benjamin T. Vincent, Roland J. Baddeley, Tom Troscianko, and Iain D. Gilchrist. Is the early visual system optimised to be energy efficient? Network: Computation in Neural Systems, 16(2-3): 175–190, January 2005. ISSN 0954-898X. doi: 10.1080/09548980500290047.
|
| 174 |
+
|
| 175 |
+
Daniel L. K. Yamins, Ha Hong, Charles F. Cadieu, Ethan A. Solomon, Darren Seibert, and James J. DiCarlo. Performance-optimized hierarchical models predict neural responses in higher visual cortex. Proceedings of the National Academy of Sciences of the United States of America, 111 (23):8619–8624, June 2014. ISSN 1091-6490. doi: 10.1073/pnas.1403112111.
|
| 176 |
+
|
| 177 |
+
Yifeng Zhang, In-Jung Kim, Joshua R. Sanes, and Markus Meister. The most numerous ganglion cell type of the mouse retina is a selective feature detector. Proceedings of the National Academy of Sciences, pp. 201211547, August 2012. ISSN 0027-8424, 1091-6490. doi: 10.1073/pnas. 1211547109.
|
| 178 |
+
|
| 179 |
+
APPENDIX
|
| 180 |
+
|
| 181 |
+
# A QUANTIFICATION OF RECEPTIVE FIELD ISOTROPY IN RETINA AND V1
|
| 182 |
+
|
| 183 |
+

|
| 184 |
+
Figure 4: A: Left: Schematic re-illustrating the architecture of a vanilla (no bottleneck) network and showing examples oriented RFs in its second layer. Center: Visualization of average RF isotropy for cells in the second layer of a vanilla convolutional network $( N _ { B N } = 1$ , $D _ { V V S } = 2$ ). Orange error bars indicate $9 5 \%$ confidence intervals. Right: Visualization of RF isotropy for ten example RFs from the same network architecture. B: Left: Schematic re-illustrating the architecture of the retina-net $+ \mathrm { \Delta V V S }$ -net model $( N _ { B N } = 1 , D _ { V V S } = 2 )$ and showing example center-surround RFs at the retina-net output and oriented RFs in the following layer (V1). Center and right: Same RF isotropy visualizations as in part A. C: Left: re-illustration of V1 RFs pooling in oriented fashion from center-surround retinal RFs $( N _ { B N } = 1 , D _ { V V S } = 2 )$ . Right: Same isotropy visualizations as in panel A carried on the weight matrix from retina to V1.
|
| 185 |
+
|
| 186 |
+
The following analysis corroborates our qualitative observation that a dimensionality bottleneck in the retina-net yields center-surround retinal receptive fields and oriented, edge-detecting receptive fields in the first layer of the VVS-net (V1). For a given receptive field, we quantified its orientedness as follows: we displayed rectangular bar stimuli of all possible combinations of width, orientations and spatial translations that fit in the input image window. Among all these combinations, we selected the bar stimulus width, orientation, and translation that yielded the strongest response from the RF. Bars with the same width as the best stimuli were presented at all orientations and translations, and for each orientation, we select the strongest response it produced (across all translations). In this manner we obtained a measure of the strength of a receptive field’s preference for all orientations.
|
| 187 |
+
|
| 188 |
+
We measured the strength of each RF preference (maximum strength of response) for its preferred orientation and for the orthogonal orientation, and computed the ratio of these strengths. Completely isotropic filters would be expected to give a ratio of 1, while oriented filters should give higher ratios. Note however that some deviation from 1 may indicate noise in the filter rather than true orientedness. For each network layer, we averaged this ratio across filters (for convolutional layers with multiple layers) and trials (re-training of the same neural network architecture with different random initializations). We found that the average ratios were $1 . 5 6 ( \pm 0 . 2 2 )$ for the retinal output, $3 . 0 5 ( \pm 0 . 3 0 ) $ for the first VVS-net layer, and $2 . 5 7 ( \pm 0 . 2 7 )$ for the second VVS-net layer, where error margins given are $9 5 \%$ confidence intervals. To help assess whether retinal RFs were more isotropic than expected by chance, we compared them to receptive fields composed of random Gaussian noise as a baseline. These give an average ratio (as computed above) of $\bar { 1 . 9 7 } ( \pm 0 . 0 8 )$ , significantly higher than that for retinal RFs. Furthermore, the standard deviation of RF preference across orientations was significantly lower for the retinal RFs $( 0 . 1 1 8 \pm 0 . 0 3 6 )$ than for random RFs $( 0 . 1 7 7 \pm 0 . 0 0 7 )$ , also indicating that retinal RFs were more isotropic than expected by chance.
|
| 189 |
+
|
| 190 |
+
We also plot the average RF preference for different orientations at each layer to more comprehensively assess the isotropy of RFs at each network layer. To aggregate results across multiple trials and filters, we rotated the coordinates of each receptive field such that its preferred orientation was vertical, and averaged our results across filters and trials. (See Figure 4).
|
| 191 |
+
|
| 192 |
+
The results confirm our qualitative observations that (1) RFs in the second layer of a vanilla network $( N _ { B N } = 3 2 )$ ) are highly oriented (Figure 4A) (2) RFs in the second layer (retina output) of a bottleneck network $N _ { B N } = 1 \textgreater$ ) are much more isotropic, consistent with center-surround RFs (Figure 4B top), and (3) RFs in the layer immediately following the retina-net in the bottleneck network are oriented (Figure 4B bottom).
|
| 193 |
+
|
| 194 |
+
We also quantitatively corroborate our observation that oriented receptive fields in the V1 layer pool input from oriented arrays of center-surround filters in the retina-net output layer. We apply our method of isotropy quantification described above to the weight matrix for each input-output filter combination in the V1 convolutional layer. We find that this weight matrix itself exhibits orientedness across filters and trials, confirming our observation (Figure 4C).
|
| 195 |
+
|
| 196 |
+
# B SIMPLE AND COMPLEX CELLS
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Figure 5: A: Visualizations of retina-net output RFs for an example network $( N _ { B N } = 1 , D _ { V V S } = 2 )$ using different random initialization, as described in the text. B: Same as A, for the first layer of the VVS-net, and showing 5 of the layer’s 32 channels on the x axis. C: Same as B, for the second layer of the VVS-net. In contrast to the first layer, the emergent preferred stimuli are always different across different initializations, indicative of a complex-cell like behavior.
|
| 200 |
+
|
| 201 |
+
To investigate whether neurons in our model’s early layers more closely resembled simple or complex cells, we performed the following analysis. As before, we obtained local linear approximations of receptive fields by computing the gradient in input space with respect to the response of a given neuron. Rather than beginning with a blank input, we ran multiple trials with different randomly initialized inputs. A purely linear cell would give the same result no matter the initialization; a somewhat nonlinear but still “simple” cell is expected to give similar results across initializations. A “complex” cell is expected to give different RF visualizations for different random inputs, reflecting multiple peaks in its response as a function of input. In Figure 5 we show examples of receptive fields at different layers of our retina-net $+ \mathrm { \Delta V V S }$ -net model (with $N _ { B N } = 1 , D _ { V V S } = 2 )$ for different random intializations of the image (uniform random in [0, 1]). The retina-net output and first VVS-net layer exhibit “simple” behavior, but the second VVS-net layer exhibits observably “complex” behavior. To quantify this effect, we measure the average (across filters within each layer and re-trainings of the same network architecture) standard deviation of computed RFs (normalized to the range [0, 1]) for each network layer. We found that the average standard deviations were $7 . 9 ( \pm 1 . 1 ) \times 1 0 ^ { - 3 }$ , $1 5 . 4 ( \pm 0 . 8 ) \times 1 0 ^ { - 3 }$ , and $3 5 . 9 ( \pm 0 . 8 ) \times 1 0 ^ { - 3 }$ for the retina-net output, first VVS-net layer, and second VVS-net layer, respectively, where the margins of error given are $9 5 \%$ confidence intervals. These results corroborate the observation of significantly more complex behavior in the second VVS-net layer, mirroring the biological phenomenon in which complex cells pool from simple cells in $\mathrm { V } 1$ .
|
| 202 |
+
|
| 203 |
+
# C EFFECTS OF LOCAL RESPONSE NORMALIZATION ON EARLY VISUAL malization FigurREPRESENTATIONS
|
| 204 |
+
|
| 205 |
+

|
| 206 |
+
Figure 6: Example RFs from the bottleneck network $( N _ { B N } = 1 , D _ { V V S } = 2$ without (A) and with (B) local response normalization (i.e. local gain control).
|
| 207 |
+
|
| 208 |
+
We tested the robustness of our first main finding – that a bottlenecked retina-net $+ \mathrm { \nabla { V V S } }$ -net model yields center-surround receptive fields in the retina and oriented receptive felds in $\mathrm { { V } 1 - }$ to the use of biologically realistic local response normalization at every layer of the network. In particular, we normalized the output $x$ of each channel (row $r$ , column $c$ ) of each layer as follows (during training and testing):
|
| 209 |
+
|
| 210 |
+
$$
|
| 211 |
+
x _ { r , c } \gets \frac { x _ { r , c } } { \Big ( k + \alpha \sum _ { r ^ { \prime } \in [ r - \frac { n } { 2 } , r + \frac { n } { 2 } ] , c ^ { \prime } \in [ c - \frac { n } { 2 } , c + \frac { n } { 2 } ] } x _ { r ^ { \prime } , c ^ { \prime } } \Big ) ^ { \beta } }
|
| 212 |
+
$$
|
| 213 |
+
|
| 214 |
+
where the subscripts of $x$ indicate the spatial location (row/column), and $k , \alpha _ { \mathrm { { ; } } }$ , ad $\beta$ are constants. We used $k = 2$ , $\beta = 0 . 5$ and $\beta = 0 . 7 5$ , and $\alpha = 5 \times 1 0 ^ { - 4 }$ and $\alpha = 5 . 0$ . All parameter settings tested yielded RFs with the same qualitative properties as in the model without normalization. Figure 6 shows example RFs from the no-normalzation model next to example RFs from the normalization model with $k = 2 , \beta = 0 . 5 , \alpha = 5 . 0$ .
|
| 215 |
+
|
| 216 |
+
# D RETINAL CELL TYPES TRADE OFF BETWEEN LINEAR INFORMATION TRANSMISSION AND NONLINEAR FEATURE EXTRACTION
|
| 217 |
+
|
| 218 |
+

|
| 219 |
+
Fig XX Linearity vs. separability of retina-net output channels (as in XX), Figure 7: Linearity vs. Class separability for each retina-net output channels (i.e. bottleneck layer). network has a VVS-Net depth of 4 and a bottleneck size of 4. VVS-Net depth is equal to 4. Each network has a bottleneck size of 4 channels (i.e. $N _ { B N } { = } 4 )$ . DisDistributions are plotted across 8 network instances; each point represents a single channel, colored according to its network. Here, we tributions are plotted across 10 network instances; each point represents a single channel, colored can see that the tradeoff between efficient coding and feature extraction also happens within the retina-nets of individual networks.according to its network. The negative slope suggests that there is trade-off between linearly transmitting visual information for downstream processing (i.e. efficient coding) and extracting useful features for the object recognition task.
|
| 220 |
+
|
| 221 |
+
# E LINEARIZED RETINA ALSO INCREASES SEPARABILITY IN SUBSEQUENT LAYERS
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
representation of bottleneck network has low separability. However, the Figure 8: Class separability at all layers of network for a deep VVS-net $( D _ { V V S } = 4 )$ ) with and without bottleneck $\boldsymbol { N } _ { B N } = 1$ t layer oarability and $N _ { B N } = 3 2$ h separability. We additionally plot the leneck (NBN = 1) network (see test) as a ). Retinal representation of bottleneck network has low function of layer. That the jump in linear separability between layers 2,3 survives linearization suggests that the main effect of retinal processing separability. However, the first layer of the VVS-net has high separability. We additionally plot the in this network is whseparability of the linearized bottleneck $N _ { B N } = 1$ on-linear processing.) network (see test) as a function of layer. That the jump in linear separability between layers 2,3 survives linearization suggests that the main effect of retinal processing in this network is whitening (see Fig. 9) rather than nonlinear processing.
|
| 225 |
+
|
| 226 |
+
In the case of the deepest VVS-nets tested, the retinal processing was quasi-linear for the tightest bottleneck (var.expl. $= 0 . 9$ , $N _ { B N } = 1$ , fig. 3A). However the very first layer of the VVS-net after the retina disentangled classes (as measured by linear separability) almost as well as the second layer of a VVS-net without retina (fig. 3F), suggesting that the retinal representation, while only moderately linearly separable itself, is especially transformable into a representation with a high linear separability. To determine to what degree this increased separability was due to (1) the linear processing or (2) the slightly nonlinear part of the retinal processing, we performed an ablation experiment to eliminate factor (2). We first replaced the true retinal processing by its best approximation by a onelayer linear convolution (of sufficient filter width to correspond to two convolutional layers with 9 by 9 filters). After this linearization process, we retrained the VVS-net using the linearized retinal representation as input, keeping the linearized retina weights frozen. We found that the first layer trained on the output of the linearized retinal representation was indeed much better than the first layer of the control network (trained directly on natural images) at separating classes of objects (Fig.
|
| 227 |
+
|
| 228 |
+
8), suggesting that the linear operation done by the retina does indeed play a crucial role in making the representation especially separable for subsequent layers. Visualization of retinal processing in App. F suggest that whitening is an important part of this linear processing.
|
| 229 |
+
|
| 230 |
+
# F RETINAL REPRESENTATION VISUALIZATION AS A FUNCTION OF VVS-NET DEPTH FOR BOTTLENECK $N _ { B N } = 1$
|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
examples (x axis) as a function of VVS-Net depth (y axis)Figure 9: Visualization of the output of the retina-net (one-channel-bottleneck, i.e. $N _ { B N } = 1$ ) for different images from the testing set (x-axis) as a function of VVS-net depth (y-axis). Each pixel intensity of the retinal image is proportional to the activation of the corresponding neuron of the retina, where light shades indicate high activities and dark shades low activities. While retinas for every VVS-net depth appear to whiten the input, we can see that the retinal image is more and more processed and less and less recognizable as VVS-net depth decreases.
|
parse/train/S1xq3oR5tQ/S1xq3oR5tQ_content_list.json
ADDED
|
@@ -0,0 +1,1324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "A UNIFIED THEORY OF EARLY VISUAL REPRESENTATIONS FROM RETINA TO CORTEX THROUGH ANATOMICALLY CONSTRAINED DEEP CNNS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
101,
|
| 9 |
+
823,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jack Lindsey∗ †, Samuel A. Ocko∗, Surya Ganguli1, Stephane Deny† Department of Applied Physics, Stanford and 1Google Brain, Mountain View, CA ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
194,
|
| 20 |
+
723,
|
| 21 |
+
224
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
261,
|
| 32 |
+
544,
|
| 33 |
+
276
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "The vertebrate visual system is hierarchically organized to process visual information in successive stages. Neural representations vary drastically across the first stages of visual processing: at the output of the retina, ganglion cell receptive fields (RFs) exhibit a clear antagonistic center-surround structure, whereas in the primary visual cortex (V1), typical RFs are sharply tuned to a precise orientation. There is currently no unified theory explaining these differences in representations across layers. Here, using a deep convolutional neural network trained on image recognition as a model of the visual system, we show that such differences in representation can emerge as a direct consequence of different neural resource constraints on the retinal and cortical networks, and for the first time we find a single model from which both geometries spontaneously emerge at the appropriate stages of visual processing. The key constraint is a reduced number of neurons at the retinal output, consistent with the anatomy of the optic nerve as a stringent bottleneck. Second, we find that, for simple downstream cortical networks, visual representations at the retinal output emerge as nonlinear and lossy feature detectors, whereas they emerge as linear and faithful encoders of the visual scene for more complex cortical networks. This result predicts that the retinas of small vertebrates (e.g. salamander, frog) should perform sophisticated nonlinear computations, extracting features directly relevant to behavior, whereas retinas of large animals such as primates should mostly encode the visual scene linearly and respond to a much broader range of stimuli. These predictions could reconcile the two seemingly incompatible views of the retina as either performing feature extraction or efficient coding of natural scenes, by suggesting that all vertebrates lie on a spectrum between these two objectives, depending on the degree of neural resources allocated to their visual system. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
294,
|
| 43 |
+
764,
|
| 44 |
+
638
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
666,
|
| 55 |
+
334,
|
| 56 |
+
683
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Why did natural selection shape our visual representations to be the way they are? Traditionally, the properties of the early visual system have been explained with theories of efficient coding, which are based on the premise that the neural representations are optimal at preserving information about the visual scene, under a set of metabolic constraints such as total firing rate or total number of synapses. These theories can successfully account for the antagonistic center-surround structure of receptive fields (RFs) found in the retina (Atick & Redlich, 1990; 1992; Vincent & Baddeley, 2003; Karklin & Simoncelli, 2011; Doi et al., 2012), as well as for the oriented structure of RFs found in the primary visual cortex V1 (Olshausen & Field, 1996; 1997; Bell & Sejnowski, 1997). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
699,
|
| 66 |
+
825,
|
| 67 |
+
809
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "However, a number of properties of the early visual system remain unexplained. First, it is unclear why RF geometries would be so different in the retina and V1. A study (Vincent et al., 2005) has proposed that both representations are optimal at preserving visual information under different metabolic constraints: a constraint on total number of synapses for the retina, and one on total firing rate in V1. However, it is unclear why the two systems would be optimized for these two different objectives. Second, there is a great diversity of ganglion cell types at the output the retina (Gollisch & Meister, 2010), with each cell type tiling the entire visual field and performing a specific computation. Interestingly, some of these types perform a highly nonlinear computation, extracting specific, behaviorally-relevant cues from the visual scene (e.g. direction-selective cells, objectmotion-selective cells), whereas other types are better approximated by a quasi-linear model, and respond to a broad range of stimuli (e.g. midget cells in the primate (Roska & Meister, 2014) and quasi-linear pixel-encoders in the mouse (Johnson et al., 2018)). Intriguingly, although quasi-linear and more nonlinear types exist in species of all sizes (e.g. primate parasol cells are nonlinear (Crook et al., 2008)), the proportion of cells performing a rather linear encoding versus a nonlinear feature detection seems to vary across species. For example, the most common ganglion cell type in the primate retina is fairly well approximated by a quasi-linear pixel-encoder (midget cells, $50 \\%$ of all cells and ${ > } 9 5 \\%$ in the central retina (Roska & Meister, 2014; Dacey, 2004)), whereas the most common cell type in mouse acts as a specific feature detector, thought to serve as an alarm system for overhead predators (W3 cells, $13 \\%$ of all ganglion cells (Zhang et al., 2012)). Again, theories of efficient coding have not been able to account for this diversity of computations found across cell types and across species. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
818,
|
| 77 |
+
823,
|
| 78 |
+
887
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
104,
|
| 88 |
+
825,
|
| 89 |
+
325
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "The limitations of current efficient coding theories might reside in the simplistic assumption that the objective is to simply relay indiscriminately all visual information to the next stages of processing. Indeed, the ultimate goal of the visual system is to extract meaningful features from the visual scene in order to produce an adequate behavioral response, not necessarily to faithfully encode it. A recent line of work has proposed using the information bottleneck framework as a way to move beyond the simplistic objective of information preservation towards more realistic objectives (Chalk et al., 2016; 2018). Another study has shown that by changing the objective from efficiently encoding the present to efficiently encoding the future (predictive coding), one could better account for the spatio-temporal RFs of V1 cells (Singer et al., 2018). Although promising, these approaches were limited to the study of a single layer of neurons, and they did not answer the aforementioned questions about cross-layer or cross-species differences. On the other hand, deep convolutional networks have proven to be accurate models of the visual system, whether they are trained directly on reproducing neural activity (McIntosh et al., 2016; Cadena et al., 2017), or on a behaviorally relevant task (Yamins et al., 2014; Eberhardt et al., 2016; Cadena et al., 2017), but they have not yet been used to study the visual system through the lens of efficient coding theories. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
333,
|
| 99 |
+
825,
|
| 100 |
+
540
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this study, we trained deep convolutional neural networks on image recognition (CIFAR-10, Krizhevsky (2009)) and varied their architectures to explore the sets of constraints that could have shaped vertebrates’ early visual representations through natural selection. We modeled the visual system with a series of two convolutional networks, one corresponding to the retina and one downstream network corresponding to the ventral visual system in the brain. By varying the architecture of these networks, we first found that a reduction in the number of neurons at the retinal output – corresponding to a realistic physical constraint on the number of fibers in the optic nerve – accounted simultaneously for the emergence of center-surround RFs in our model of the retina, and for the emergence of oriented receptive fields in the primary visual relay of the brain. Second, we found that the degree of neural resources allocated to visual cortices in our model drastically reshaped retinal representations. Given a deep visual cortex, the retinal processing emerged as quasi-linear and retained substantial information about the visual scene. In contrast, for a shallow cortex, the retinal processing emerged as nonlinear and more information-lossy, but was better at extracting features relevant to the object classification task. These observations make testable predictions on the qualitative differences that should be found in retinal representations across species, and could reconcile the seemingly incompatible theories of retinal processing as either performing efficient encoding or feature detection. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
547,
|
| 110 |
+
825,
|
| 111 |
+
782
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "2 FRAMEWORK: A DEEP CONVOLUTIONAL NEURAL NETWORK MODEL OF THE VISUAL SYSTEM ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
178,
|
| 121 |
+
804,
|
| 122 |
+
802,
|
| 123 |
+
838
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "The retinal architecture is strongly conserved across species (Masland, 2001), and consists of three layers of feed-forward convolutional neurons (photoreceptors, bipolar cells, ganglion cells) and two layers of inhibitory interneurons (horizontal, amacrine cells). However, we chose to model the retina as a convolutional neural network (LeCun et al., 2015) with only two layers (fig. 1A). Indeed the retinal response of many species to complex stimuli has been modeled successfully with only one or two-layer models (Deny et al., 2017; Maheswaranathan et al., 2018; Gollisch & Meister, 2010), with some rare exceptions of models requiring more layers (McIntosh et al., 2016). We refer to this network as the retina-net. In our simulations, we varied the number of neurons in the second layer of the retina-net, which is the output of the retina, corresponding to the physical bottleneck of the optic nerve conveying all the visual information to the brain (fig. 1B). ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
854,
|
| 133 |
+
823,
|
| 134 |
+
924
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
103,
|
| 144 |
+
825,
|
| 145 |
+
174
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 2
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "We modeled the ventral visual system – the system associated with object recognition in the brain (Hubel, 1995) – as a convolutional neural network taking its inputs from the retina-net (fig. 1A). We varied the neural resources allocated to the ventral visual system network (VVS-net) by changing the number of layers it is composed of (fig. 1B). ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
180,
|
| 155 |
+
825,
|
| 156 |
+
236
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 2
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "We trained the neural network composed of the retina-net and VVS-net end-to-end on an object classification task (CIFAR-10, fig. 1A-B-C). Even though the visual system does much more than just classify objects in natural images, this objective is already much more complex and biologically realistic than the one used in previous studies of efficient coding, namely preserving all information about the visual scene. Moreover, we are encouraged by the fact that previous studies using this objective have found a good agreement between neural activity in artificial and biological visual networks (Yamins et al., 2014; Cadena et al., 2017). ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
243,
|
| 166 |
+
825,
|
| 167 |
+
340
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 2
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "More specifically, we trained a convolutional neural network on a grayscale version of the standard CIFAR-10 dataset for image classification. The retina-net consisted of two convolutional layers with 32 channels and $N _ { B N }$ channels respectively, and with ReLU nonlinearities at each layer. The VVSnet consisted of a varying number $D _ { V V S }$ of convolutional layers with 32 channels followed by two fully connected layers (the first one with 1024 neurons and the second one with 10 neurons mapping to the 10 object categories), with ReLU nonlinearities at each layer and a softmax nonlinearity at the last layer. The full system encompassing the retina-net and VVS-net thus had $3 2 N _ { B N } $ $3 2 3 2 . . .$ channels respectively, where we varied the retinal bottleneck width, $N _ { B N }$ , as well as the number $D _ { V V S }$ of convolutional brain layers (not counting the fully connected layers). In each convolutional layer, we used $9 \\mathrm { x } 9$ convolutional filters with a stride of 1 at each step. The large filter size was chosen to give the network flexibility in determining the optimal filter arrangement. We trained our network with the RMSProp optimizer for 20 epochs on the training set with batches of size 32. All optimizations were performed using Keras and TensorFlow. For all results presented, we tested statistical significance by training 10 identical networks with different random initializations of weights and biases taken from a Glorot-uniform distribution (Glorot & Bengio, 2010). ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
173,
|
| 176 |
+
348,
|
| 177 |
+
825,
|
| 178 |
+
529
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 2
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "image",
|
| 184 |
+
"img_path": "images/4168d1511b9e76c27f3ca49da2c4be02beddc63a1cff2326d8a2bf973b6e99a8.jpg",
|
| 185 |
+
"image_caption": [
|
| 186 |
+
"Figure 1: Illustration of the framework we used to model early visual representations. A: We trained convolutional neural networks on an image recognition task (CIFAR-10). The networks were composed of two parts, a retina-net and a ventral-visual-system-net (VVS-net), which receives input from the retina-net. B: We varied the number of layers in the VVS-net (white boxes) and the number of channels at the output of the retina-net (blue box). C: Key results: (1) A bottleneck at the output of the retina yielded center-surround retinal RFs. (2) A shallow VVS-net yielded more nonlinear retinal responses (linearity is schematized by the red arrow), which better disentangled image classes (represented as bent manifolds). D: Test-set accuracy of all model architectures on CIFAR-10, averaged over ten networks with random initial weights for each architecture. Performance increases with VVS-net depth and retinal channel, indicating that both factors are meaningful constraints on the network in the regime tested. "
|
| 187 |
+
],
|
| 188 |
+
"image_footnote": [],
|
| 189 |
+
"bbox": [
|
| 190 |
+
178,
|
| 191 |
+
558,
|
| 192 |
+
821,
|
| 193 |
+
751
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
103,
|
| 203 |
+
823,
|
| 204 |
+
132
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 3
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "After training, we determined the linear approximation of RFs of each convolutional channel of the network in each layer. This was achieved by computing the gradient of the activation of that channel with respect to a blank image. This gradient map gives a first-order approximation of the image pattern that maximally activates the cells in the channel of interest. In the limit of small noise variance, this computation is mathematically equivalent to measuring the cell’s spike-triggered average in response to a perturbative white-noise stimulus (Koelling & Nykamp, 2008; Schwartz et al., 2006), a commonly used method for determining receptive fields in experimental biology (Chichilnisky, 2001). This equivalence allowed us to compare directly the geometries of RFs experimentally measured in biological networks with the ones found in our models. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
138,
|
| 214 |
+
825,
|
| 215 |
+
263
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 3
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "The test accuracy of our neural network model of the visual system at the recognition task increased both with the number of channels in the retinal bottleneck, and with the number of layers in the VVS-net (fig. 1D), confirming that we were in a regime where the restrictions on neural resources in the VVS-net and at the output of the retina were critical to the ability of the network to perform the task. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
271,
|
| 225 |
+
825,
|
| 226 |
+
340
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 3
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "3 A UNIFIED MODEL FOR CENTER-SURROUND RFS IN THE RETINA AND ORIENTED RFS IN V1 ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
361,
|
| 237 |
+
779,
|
| 238 |
+
393
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 3
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Here we investigate the effects of a dimensionality bottleneck at the retinal output on early visual representations in our model of the visual system. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
176,
|
| 247 |
+
409,
|
| 248 |
+
826,
|
| 249 |
+
436
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 3
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "3.1 A DIMENSIONALITY BOTTLENECK AT THE RETINAL OUTPUT YIELDS THE EXPECTED REPRESENTATIONS IN RETINA AND V1 ",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
454,
|
| 260 |
+
794,
|
| 261 |
+
481
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 3
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "When reducing the number of neurons at the output of the retina we found that RFs with antagonistic center and surround emerged. For $N _ { B N } = 3 2$ , our control setting with no bottleneck at the retinal output, we observed mostly oriented receptive fields in the second layer of the network (fig. 2A). For $N _ { B N } = 4 , 2$ , and 1, we observed center-surround receptive fields in the second layer of the network and mostly oriented receptive fields in the third layer, which is the first layer of the ventral visual system in our model (fig. 2B). We quantified these results in App. A. The RF geometries did not depend qualitatively on the VVS-net depth $D _ { V V S }$ (results shown for $D _ { V V S } = 2 $ ), except for the shallowest VVS-net tested ${ \\cal D } _ { V V S } = 0$ , no convolutional layer, and thus no dimensionality expansion), for which the shape of emergent retinal RFs were variable across trials and difficult to interpret. These results are in good agreement with the organization of the biological visual system, where retinal RFs are center-surround and most downstream RFs in primary visual cortex (V1) are sharply oriented (Hubel, 1995), suggesting that the dimensionality bottleneck at the output of the retina is sufficient to explain these differences in representations. It is worth noting that for both conditions (bottleneck and no bottleneck), the RFs of downstream layers in the VVS-net after the first layer exhibited complex shapes that were neither clearly oriented, nor circular, and the RFs in the first layer of the retina did not appear to have any well-defined structure (data not shown). ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
492,
|
| 271 |
+
825,
|
| 272 |
+
715
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 3
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "We then tested in our model the hypothesis of Hubel and Wiesel concerning how center-surround cells are pooled to give rise to oriented RFs in V1 (Hubel, 1995). We found that orientation-selective neurons in the VVS-net typically draw primarily from center-surround neurons in the retina-net that are aligned with the direction of the edge, with positive or negative weights corresponding to whether the polarity (light-selective / dark-selective) of the two neurons are consistent or inconsistent (fig. 2C, and App. A for a quantification). These qualitative results are in good agreement with Hubel and Wiesel’s hypothesis. Of course, this hypothesis remains to be tested in the real brain, since there is no evidence that the micro-circuitry of the brain matches that of our simulation. ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
174,
|
| 281 |
+
722,
|
| 282 |
+
825,
|
| 283 |
+
833
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 3
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "In the visual system of mammals, the main relay of visual information taking its input from the retina is the LGN (thalamus), which has center-surround RFs and a similar total number of neurons as the retinal output (Hubel, 1995). We created a network reflecting this architecture by having two lowdimensionality layers in a row instead of just one (fig. 2C). After training, we found center-surround RFs in the two layers with a bottleneck (retinal output and LGN), and oriented RFs in the next layer, corresponding to the primary visual cortex (V1). These results suggest that center-surround representations remain advantageous as long as the dimensionality of the representation remains low, and hence dimensionality expansion seems to be the crucial factor explaining the qualitative change of RFs found between LGN and V1. ",
|
| 290 |
+
"bbox": [
|
| 291 |
+
174,
|
| 292 |
+
840,
|
| 293 |
+
823,
|
| 294 |
+
924
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 3
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "",
|
| 301 |
+
"bbox": [
|
| 302 |
+
176,
|
| 303 |
+
103,
|
| 304 |
+
823,
|
| 305 |
+
145
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 4
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "It is an interesting question to ask whether neurons in our model of the VVS are more similar to simple or complex cells (Hubel, 1995). To test this, we performed a one-step gradient ascent on the neural activity of VVS neurons with respect to the image, starting from several random initial images (App. B). If the neurons were acting as simple cells (i.e. are approximately linear in the stimulus), we would expect all optimized stimuli to converge to the same preferred stimulus. On the other hand, if the cells were complex (i.e. OR function between several preferred stimuli), we would expect the emergent preferred stimuli to depend on the exact initialization. Interestingly, we found that most neurons in the first layer of the VVS-net behaved as simple cells, whereas most neurons in the second layer of the VVS-net behaved as complex cells. Note that in biology, both simple and complex cells are found in V1. These results expose the fact that anatomical regions of visual cortex involve multiple nonlinearities and hence may map onto more than one layer of our simple model. Indeed, V1 itself is a multilayered cortical column, with LGN inputs coming in to layer 4, and layer 4 projecting to layers 2 and 3 (Hubel, 1995). Simple cells are predominantly found in layer 4 and complex cells are predominantly found in layers 2 and 3. These observations bolster the interpretation that biological V1 may correspond to multiple layers in our model. ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
174,
|
| 314 |
+
154,
|
| 315 |
+
825,
|
| 316 |
+
361
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 4
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "Local divisive normalization (i.e. local gain control) is an ubiquitous source of nonlinearity in the visual system (Geisler & Albrecht, 1992; Heeger, 1992; Deny et al., 2017). We thus tested the robustness of our main result to a more realistic model of the visual system with local normalization, by adding it at every layer of the network (App. C). We found that receptive fields still emerged as center-surround in the retina-net, and as oriented in our model of V1. We note that the local normalization slightly degraded the performance of the network on the task for all parameter settings we tried. ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
174,
|
| 325 |
+
367,
|
| 326 |
+
825,
|
| 327 |
+
465
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 4
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "image",
|
| 333 |
+
"img_path": "images/98cc31250542547c9f81e82515536c39418d45eb4123699aabb6be149055e5be.jpg",
|
| 334 |
+
"image_caption": [
|
| 335 |
+
"Figure 2: Effects of a bottleneck constraint on receptive fields (RFs). All results are shown for $D _ { V V S } = 2$ . A: Examples of RFs of cells at selected layers (layers 2 and 3) of a control network with no bottleneck. No center-surround RFs appear. B: Center-surround RFs emerge at the output of the retina-net (layer 2) and oriented RFs emerge in the first layer of the VVS-net when we impose a bottleneck constraint at the output of the retina $N _ { B N } = 1$ ) C: Top: Hubel and Wiesel’s hypothesis on oriented cell formation in V1 (Hubel, 1995). Bottom: A representative example of an orientationselective neuron (bottom RF) drawing from center-surround channels (top RFs) in the previous layer with weight matrices (center) according to their polarity. Light / dark-selective regions of a receptive field, and positive / negative weights, are represented with red / blue, respectively. D: Examples of RFs in a network with an extra bottleneck layer corresponding to mammalian LGN. Center-surround RFs appear at both the retinal output and LGN layer. E: Examples of ON and OFF center-surround RFs in the untied network $( N _ { B N } = 4 )$ ). F: t-SNE clustering of the retinal neurons of the untied network (see text). Two distinct cell type clusters form corresponding to ON and OFF center-surround receptive fields. "
|
| 336 |
+
],
|
| 337 |
+
"image_footnote": [],
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
559,
|
| 341 |
+
821,
|
| 342 |
+
710
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 4
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "3.2 EMERGENCE OF ON AND OFF POPULATIONS OF CENTER-SURROUND CELLS IN THERETINA",
|
| 349 |
+
"bbox": [
|
| 350 |
+
171,
|
| 351 |
+
104,
|
| 352 |
+
790,
|
| 353 |
+
132
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 5
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "We then verified that the emergence of center-surround RFs in the retina-net is a consequence of reducing the number of neurons at the retinal output, not of reducing the number of channels, our model’s equivalent of biological retinal cell types. In the retina, there exist 20-30 types of ganglion cells (Roska & Meister, 2014), each with a different and stereotyped receptive field, density, polarity (i.e. ON or OFF), and nonlinearities. Cells of each type tile the entire visual field like a convolutional channel in our model, so there is a direct analogy between channels in our model and ganglion cell types in the retina. In order to test whether the emergence of center-surround RFs depends on the number of types that we allow, or just on the number of neurons that we allow at the output of the retina (i.e. dimensionality bottleneck), we employed locally connected layers – equivalent to convolutional layers, but without parameter-tying between artificial neurons within a channel at different spatial locations. In this manner, we can limit the number of neurons at the retinal output without imposing a constraint on the number of cell types. Such a network contains too many parameters to be trained from scratch by gradient descent; to work around this, we trained the model stage-wise by first training our convolutional control network $N _ { B N } = 3 2$ with parameter tying) and then we trained a three-layers untied network (with bottleneck dimension $N _ { B N } = 4$ in the second layer) to reproduce the edge-like activations of the second layer of the control network. Even in the untied retina-net, in which each neuron is effectively its own channel, we found that centersurround RFs emerged (fig. 2E), indicating that center-surround RFs are the network’s preferred strategy for passing information through a dimensionality bottleneck even when no constraint on the number of cell types is imposed. We then found that the cells cluster in two distinct populations. To demonstrate this, we measured their activations in response to 10000 natural images, computed the first 20 principal components of this 10000-dimensional space, and ran t-SNE to visualize the clustering of neuron types. We found that two distinct clusters emerged, that corresponded visually to ON and OFF center-surround RFs (fig. 2F). We thus observe in our model the emergence of one of the most prominent axes of dichotomy of biological ganglion cell types, namely the classification of cells in ON and OFF populations with RFs of opposite polarity. ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
174,
|
| 362 |
+
145,
|
| 363 |
+
825,
|
| 364 |
+
506
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 5
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "4 RETINAL REPRESENTATIONS ARE A FUNCTION OF THE NEURAL RESOURCES ALLOCATED TO THE VENTRAL VISUAL STREAM ",
|
| 371 |
+
"text_level": 1,
|
| 372 |
+
"bbox": [
|
| 373 |
+
176,
|
| 374 |
+
529,
|
| 375 |
+
727,
|
| 376 |
+
560
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 5
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "To what extent are retinal representations in our model shaped by the degree of neural resources allocated to downstream processing? To investigate this question, we studied the effects of varying the degree of neural resources in the VVS-net, on emergent visual representations in the retina-net. ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
176,
|
| 385 |
+
578,
|
| 386 |
+
825,
|
| 387 |
+
619
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 5
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "4.1 THE RETINA BECOMES MORE LINEAR AS BRAIN COMPLEXITY INCREASES ",
|
| 394 |
+
"text_level": 1,
|
| 395 |
+
"bbox": [
|
| 396 |
+
176,
|
| 397 |
+
640,
|
| 398 |
+
722,
|
| 399 |
+
654
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 5
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "As we increased the number of layers in the VVS-net, the retinal computation became more linear (fig. 3A), as measured by the ability of the raw image to linearly map onto the neural representation at the retinal output (see methods, and App. F for a visualization of retinal representation as VVS-net depth increases). This observation is consistent with the current state of knowledge of the differences found in retinal representations across vertebrate species with different brain sizes. The linearization of the retinal response with increased brain complexity was true for different values of bottleneck $N _ { B N }$ . However, when we did not use any bottleneck ( $N _ { B N } = 3 2$ ), the trend became non-monotonic, with a peak in linearity of the response when the VVS-net had 1 conv layer (data not shown). Another interesting phenomenon to note is that linearity of the retinal response decreased as we increased the number of channels in the bottleneck, at any fixed brain depth (fig. 3A). ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
174,
|
| 408 |
+
666,
|
| 409 |
+
825,
|
| 410 |
+
805
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 5
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "The two main sources of nonlinearity in the retina are thought to be the inner retinal rectifications (bipolar and amacrine cells, corresponding to the first rectified layer in our model) and the ganglion cell rectification (corresponding to the second rectified layer in our model). As we decreased VVSnet depth, we observed that the retinal response became more nonlinear. Is this increase in response nonlinearity due to the first or second stage of nonlinearity in our retina-net? To test this, we plotted the real response against the response predicted by a purely linear model for the most shallow and for the deepest VVS-nets tested (fig. 3B). If the linear prediction were inaccurate because of the first stage of nonlinear processing in the retina-net, we would expect the points on the scatter plot to be scattered around the unit line. If the prediction error were due to the second-stage of nonlinearity, we would expect the linear approximation to make incorrect negative predictions for inactive neurons. In practice, we found that the prediction error of the linear model was partly explained by both stages of nonlinearity in the retina-net model, predicting that both inner retinal nonlinear processing and ganglion cell rectifications should be more pronounced in animals with fewer neural resources in their visual cortices. ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
174,
|
| 419 |
+
813,
|
| 420 |
+
823,
|
| 421 |
+
924
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 5
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "",
|
| 428 |
+
"bbox": [
|
| 429 |
+
174,
|
| 430 |
+
103,
|
| 431 |
+
825,
|
| 432 |
+
186
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 6
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "4.2 THE RETINAL REPRESENTATION IS THE RESULT OF A TRADE-OFF BETWEEN INFORMATION TRANSMISSION AND FEATURE EXTRACTION ",
|
| 439 |
+
"text_level": 1,
|
| 440 |
+
"bbox": [
|
| 441 |
+
176,
|
| 442 |
+
217,
|
| 443 |
+
733,
|
| 444 |
+
244
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 6
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "Why would retinal representations be more linear when the subsequent ventral visual stream has more resources? One hypothesis is that with a restricted number of neurons, the retina must trade-off between the two incentives of (1) compressing visual information in order to transmit it to down-1 Channel 1 Channel stream layers and (2) extracting nonlinear features from the scene to start disentangling the manifolds4 ChannelsRaw Pixels 4 ChannelsRaw Pixels corresponding to different classes of objects (Chung et al., 2018a;b). According to this hypothesis,VVS-net depth VVS-net depth VVS-net depth when the VVS is shallow, the priority of the retina should be to work toward extracting relevantB CE F D E features. When the VVS is deep, the priority of the retina should be to transmit as much visual information as possible for downstream processing. We validated this hypothesis in two ways in our1 Channel model. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
261,
|
| 454 |
+
825,
|
| 455 |
+
386
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 6
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "image",
|
| 461 |
+
"img_path": "images/5ff93b6301757e10e32a70529e050720018a2e3569dd5a57f35d7dd68daa863f.jpg",
|
| 462 |
+
"image_caption": [
|
| 463 |
+
"Figure 3: Emergent retinal representations are function of the depth of downstream visual cortices. All error bars represent the $9 5 \\%$ confidence interval about the mean (all simulations were repeated over 10 networks trained from random initial conditions). Three stars indicate t-test significance $\\scriptstyle ( \\mathbf { p } < 0 . 0 0 1$ ). A: Linearity of the retinal response increases with the number of layers in the VVSnet. Note that it also decreases with the number of cells at the retinal output (different lines). B: Responses of example retina-net output cell to natural images, vs. best linear fit prediction from 1 Channel \\*\\*\\*raw image, for most (top) and least (bottom) deep VVS-nets. Nonlinearity arises from two sources: 2 Channels Raw Pixelsrectification within the retina-net (corresponds to the spread of the bulk of the point cloud) and rectification at the retina-net output (corresponds to inactive neurons being incorrectly predicted to have negative activations). C: Quality of image reconstruction from the retinal representation as a function of VVS-net depth. The retinal representation retains more information about the raw image for deep VVS-nets. D: Linear separability of classes of objects at the retinal output, as a function of VVS-net depth. Dashed line indicates separability of classes of images from the raw image pixels. Classes are less separable at the retinal output for deeper VVS-nets. E: Performance on CIFAR-10 for a two-layer densely connected network taking its input from the retina-net or from a raw image. Class information is more accessible from retinal representation. F: Class separability at all layers of network for a deep VVS-net $D _ { V V S } = 4 $ ) with and without bottleneck $\\boldsymbol { N } _ { B N } = 1$ and $N _ { B N } = 3 2$ ). Retinal representation of bottleneck network has low separability. However, the first layer of the VVS-net has high separability (see text). "
|
| 464 |
+
],
|
| 465 |
+
"image_footnote": [],
|
| 466 |
+
"bbox": [
|
| 467 |
+
178,
|
| 468 |
+
417,
|
| 469 |
+
820,
|
| 470 |
+
640
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 6
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "text",
|
| 476 |
+
"text": "First we showed that the retinal representation retained more information about the image as VVSnet complexity increased (fig. 3C). To estimate information retention, we trained a linear decoder (see methods) from the output of the retina to reconstruct the image and we measured the reconstruction error. The reconstruction error provided a lower bound on the information that the retina retained about the stimulus (note that more information for reconstruction might be accessible by a nonlinear decoder). This result corroborated our hypothesis that, as the VVS-net becomes more complex, the retinal representation gets better at retaining visual information for further processing by the VVS-net. ",
|
| 477 |
+
"bbox": [
|
| 478 |
+
174,
|
| 479 |
+
103,
|
| 480 |
+
825,
|
| 481 |
+
214
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 7
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "text",
|
| 487 |
+
"text": "Second, we found that different classes of objects of CIFAR-10 (e.g. trucks, frogs) were more linearly separable from the retina-net representation when the VVS-net was shallow than when it was deep (fig. 3D). To measure linear separability of manifolds, we trained a linear SVM decoder to separate all pairs of classes and evaluated the performance of the SVM classifier on held-out images (see methods). Moreover, we showed that a VVS-net consisting of two fully connected layers only (no convolutional layers) equipped and trained end-to-end with a retina with a tight bottleneck $N _ { B N } = 1$ (dimensionality of retinal output matches dimensionality of the input image) performed better at image recognition than the same VVS-net trained without a retina-net, taking raw images as input (fig. 3E). Both these results corroborate our hypothesis that retinas followed by a simple cortex performs meaningful feature extraction, whereas retinas followed by more complex visual cortices prioritize non-lossy encoding, postponing feature extraction to downstream layers that are better equipped to do it. ",
|
| 488 |
+
"bbox": [
|
| 489 |
+
174,
|
| 490 |
+
222,
|
| 491 |
+
825,
|
| 492 |
+
388
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 7
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "Next, we show that within a single network, each retinal channel is trading-off between (1) linearly transmitting visual information to the brain, and (2) extracting relevant features for the object classification task. For 10 instantiations of a network with a retinal bottleneck containing 4 channels, we represented the linearity of each of these 4 channels against the linear separability of object categories obtained from each of these representations. We found, across all networks, a systematic negative correlation between linearity and linear separability across all 4 channels (App. D). Again, this result strongly suggests that extracting features and transmitting visual information are indeed two competing goals shaping representations in our model of the retina. ",
|
| 499 |
+
"bbox": [
|
| 500 |
+
174,
|
| 501 |
+
395,
|
| 502 |
+
825,
|
| 503 |
+
507
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 7
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "In the case of the deepest VVS-nets tested, the retinal processing was quasi-linear for the tightest bottleneck (var.expl. $= 0 . 9$ , $N _ { B N } = 1$ , fig. 3A). One might take this result to suggest that the retinanet in such models does little more than copy image information. However the very first layer of the VVS-net after the retina disentangled classes (as measured by linear separability) almost as well as the second layer of a VVS-net without a retina (fig. 3F), suggesting that the retinal representation, while only moderately linearly separable itself, is especially transformable into a representation with a high linear separability. This result suggests that even when the retina-net is quasi-linear, it can still participate in extracting relevant features for downstream processing by the brain. The increased separability allowed by the retinal pre-processing for this deep VVS-net could be due to (1) the linear processing or (2) the slightly nonlinear part of the retinal processing (3) a combination of both linear and nonlinear processing. To distinguish between these hypotheses, we replaced the true retinal processing by its best linear approximation, retrained the VVS-net on the output of this linearized retina, and tested whether separability was as high as with the true retinal processing (App. E). We found that the first layer trained on the output of the linearized retinal representation was indeed much more separable than the first layer of the control network (trained directly on natural images) at separating classes of objects, suggesting that the linear operation done by the retina does indeed play a crucial role in making the representation especially separable for subsequent layers. ",
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
513,
|
| 513 |
+
825,
|
| 514 |
+
750
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 7
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "5 METHODS ",
|
| 521 |
+
"text_level": 1,
|
| 522 |
+
"bbox": [
|
| 523 |
+
174,
|
| 524 |
+
794,
|
| 525 |
+
290,
|
| 526 |
+
810
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 7
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "To estimate the linearity of the response of retinal neurons, we fit a linear model to predict the neural response from the image on 8,000 images. In order to prevent overfitting, we regularized the linear weights with an L2 penalty and optimized the weights using ridge regression. The value of the penalty term was chosen by 10-fold cross-validation on the training set. We then measured the Pearson correlation between the linearized responses and original model responses on a testing set of 2,000 images. ",
|
| 533 |
+
"bbox": [
|
| 534 |
+
173,
|
| 535 |
+
840,
|
| 536 |
+
825,
|
| 537 |
+
924
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 7
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "To estimate the information about the input image retained by the retinal output representation, we fit a linear model to reconstruct the image from the (fixed) outputs of the trained retina-net of interest. All numerical figures given are variance-explained results on the held-out test set. ",
|
| 544 |
+
"bbox": [
|
| 545 |
+
174,
|
| 546 |
+
103,
|
| 547 |
+
821,
|
| 548 |
+
146
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 8
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "To estimate the linear separability of classes of objects from the neural representation, we trained an SVM classifier between all pairs of classes on half of the testing set of CIFAR-10 (1,000 images that were not used to train the network), and we tested the performance of the SVM classifier on 1,000 held-out images from the testing set, as measured by the percentage of images classified correctly. We then averaged the performance of the SVM across all pairs of classes to obtain the linear separability score. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
174,
|
| 557 |
+
152,
|
| 558 |
+
823,
|
| 559 |
+
236
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 8
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "6 DISCUSSION ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
262,
|
| 570 |
+
310,
|
| 571 |
+
279
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 8
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "A unified theoretical account for the structural differences between the receptive field shapes of retinal neurons and V1 neurons has until now been beyond the reach of efficient coding theories. Karklin & Simoncelli (2011) found that efficient encoding of images with added noise and a cost on firing rate produce center-surround RFs, whereas the same task without noise produces edge detectors. However, this observation (as they note) does not explain the discrepancy between retinal and cortical representations. Vincent et al. (2005) propose a different set of constraints for the retina and V1, in which the retina optimizes for a metabolic constraint on total number of synapses, whereas V1 optimizes for a constraint on total firing rate. It is not clear why each of these constraints would predominate in each respective system. Here we show that these two representations can emerge from the requirement to perform a biologically relevant task (extracting object identity from an image) with a bottleneck constraint on the dimensionality of the retinal output. Interestingly, this constraint differs from the ones used previously to account for center-surround RFs (number of synapses or total firing rate). It is worth noting that we unsuccessfully tried to reproduce the result of Karklin & Simoncelli (2011) in our network, by adding noise to the image and applying an L1 regularization to the retina-net activations. In our framework (different than the one of Karklin & Simoncelli (2011) in many ways), the receptive fields of the retina-net without bottleneck remained oriented across the full range of orders of magnitude of noise and L1 regularization that permitted successful task performance. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
299,
|
| 581 |
+
825,
|
| 582 |
+
549
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 8
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "There is a long-standing debate on whether the role of the retina is to extract relevant features from the environment (Lettvin et al., 1959; Gollisch & Meister, 2010; Roska & Meister, 2014), or to efficiently encode all visual information indistinctly (Barlow, 1961; Atick & Redlich, 1990; 1992). In this work, we show that our model of the visual system, trained on the same task and with the same input statistics, can exhibit different retinal representations depending on the degree of neural resources allocated to downstream processing by the ventral visual stream. These results suggest the hypothesis that, despite its conserved structure across evolution, the retina could prioritize different computations in different species. In species with fewer brain resources devoted to visual processing, the retina should nonlinearly extract relevant features from the environment for object recognition, and in species with a more complex ventral visual stream, the retina should prioritize a linear and efficient transmission of visual information for further processing by the brain. Although all species contain a mix of quasi-linear and nonlinear cell types, the proportion of quasi-linear cells seems to vary across species. In the mouse, the most numerous cell type is a two-stage nonlinear feature detector, thought to detect overhead predators (Zhang et al., 2012). In contrast, the most common ganglion cell type in the primate retina is fairly well approximated by a linear filter (midget cells, $50 \\%$ of all cells and ${ > } 9 5 \\%$ in the central retina (Roska & Meister, 2014; Dacey, 2004)). Note however that two-stage nonlinear models are also present in larger species, such as cat Y-type cells and primate parasol cells (Crook et al., 2008), making it difficult to make definitive statements about inter-species differences in retinal coding. To gain a better understanding of these differences, it would be useful to collect a dataset consisting of recordings of complete populations of ganglion cells of different species in response to a common bank of natural scenes. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
555,
|
| 592 |
+
825,
|
| 593 |
+
847
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 8
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "A related question is the role of the parcellation of visual information in many ganglion cell types at the retinal output. A recent theory of efficient coding has shown that properties of midget and parasol cells in the primate retina can emerge from the objective of faithfully encoding natural movies with a cost on the total firing rate traversing the optic nerve (Ocko et al., 2018). On the other hand, many cell types seem exquisitely sensitive to behaviorally relevant features, such as potential prey or predators (Gollisch & Meister, 2010). For example, some cell types in the frog are tuned to detect moving flies or looming predators (Lettvin et al., 1959). It is an intriguing possibility that different cell types could subserve different functions within a single species, namely efficient coding of natural scenes for some types and extraction of behaviorally-relevant features for others. In this study we allowed only a limited number of cell types (i.e. convolutional channels) at the retinal output (1 to 4), in order to have a dimensionality expansion between the retinal representation and the representation in the ventral visual stream (32 channels), an important condition to see the retinal center-surround representation emerge. By using larger networks with more channels in the retina-net and the VVS-net, we could study the emergence of a greater diversity of neuron types in our retina-net and compare their properties to real retinal cell types. It would also be interesting to extend our model to natural movies. Indeed, most feature detectors identified to date seem to process some form of image motion: wide-field, local or differential (Roska & Meister, 2014). Adding a temporal dimension to the model would be necessary to study their emergence. ",
|
| 600 |
+
"bbox": [
|
| 601 |
+
174,
|
| 602 |
+
854,
|
| 603 |
+
823,
|
| 604 |
+
924
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 8
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "text",
|
| 610 |
+
"text": "",
|
| 611 |
+
"bbox": [
|
| 612 |
+
174,
|
| 613 |
+
103,
|
| 614 |
+
825,
|
| 615 |
+
284
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 9
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "In conclusion, by studying emergent representations learned by a deep network trained on a biologically relevant task, we found that striking differences in retinal and cortical representations of visual information could be a consequence of the anatomical constraint of transmitting visual information through a low-dimensional communication channel, the optic nerve. Moreover, our computational explorations suggest that the rich diversity of retinal representations found across species could have adaptively co-evolved with the varying sophistication of subsequent processing performed by the ventral visual stream. These insights illustrate how deep neural networks, whose creation was once inspired by the visual system, can now be used to shed light on the constraints and objectives that have driven the evolution of our visual system. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
174,
|
| 624 |
+
291,
|
| 625 |
+
825,
|
| 626 |
+
416
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 9
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 633 |
+
"text_level": 1,
|
| 634 |
+
"bbox": [
|
| 635 |
+
176,
|
| 636 |
+
434,
|
| 637 |
+
326,
|
| 638 |
+
445
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 9
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "We would like to thank Lane McIntosh, Niru Maheswaranathan, Aran Nayebi, SueYeon Chung, Vardan Papyan, Nora Brackbill, E.J. Chichilnisky for useful discussions and Stephen Baccus for his comments that greatly improved the manuscript. S.G. thanks the Burroughs-Wellcome, McKnight, James S. McDonnell and Simons foundations for support. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
176,
|
| 647 |
+
457,
|
| 648 |
+
823,
|
| 649 |
+
512
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 9
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "REFERENCES ",
|
| 656 |
+
"text_level": 1,
|
| 657 |
+
"bbox": [
|
| 658 |
+
176,
|
| 659 |
+
535,
|
| 660 |
+
285,
|
| 661 |
+
549
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 9
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "Joseph J. Atick and A. Norman Redlich. Towards a theory of early visual processing. Neural Computation, 2(3):308–320, 1990. \nJoseph J. Atick and A. Norman Redlich. What does the retina know about natural scenes? Neural computation, 4(2):196–210, 1992. \nHB Barlow. Possible principles underlying the transformations of sensory messages. In WA Rosenblith (ed.), Sensory Communication, pp. 217–234. MIT Press, 1961. \nA. J. Bell and T. J. Sejnowski. The ”independent components” of natural scenes are edge filters. Vision Research, 37(23):3327–3338, December 1997. ISSN 0042-6989. \nSantiago A. Cadena, George H. Denfield, Edgar Y. Walker, Leon A. Gatys, Andreas S. Tolias, Matthias Bethge, and Alexander S. Ecker. Deep convolutional models improve predictions of macaque V1 responses to natural images. bioRxiv, pp. 201764, October 2017. doi: 10.1101/ 201764. \nMatthew Chalk, Olivier Marre, and Gasper Tkacik. Relevant sparse codes with variational information bottleneck. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), Advances in Neural Information Processing Systems 29, pp. 1957–1965. Curran Associates, Inc., 2016. \nMatthew Chalk, Olivier Marre, and Gaper Tkaik. Toward a unified theory of efficient, predictive, and sparse coding. Proceedings of the National Academy of Sciences of the United States of America, 115(1):186–191, 2018. ISSN 1091-6490. doi: 10.1073/pnas.1711114115. \nE. J. Chichilnisky. A simple white noise analysis of neuronal light responses. Network (Bristol, England), 12(2):199–213, May 2001. ISSN 0954-898X. ",
|
| 668 |
+
"bbox": [
|
| 669 |
+
171,
|
| 670 |
+
556,
|
| 671 |
+
826,
|
| 672 |
+
924
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 9
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "SueYeon Chung, Uri Cohen, Haim Sompolinsky, and Daniel D. Lee. Learning Data Manifolds with a Cutting Plane Method. Neural Computation, 30(10):2593–2615, October 2018a. ISSN 0899-7667, 1530-888X. doi: 10.1162/neco a 01119. ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
176,
|
| 681 |
+
103,
|
| 682 |
+
823,
|
| 683 |
+
146
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 10
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "SueYeon Chung, Daniel D. Lee, and Haim Sompolinsky. Classification and Geometry of General Perceptual Manifolds. Physical Review X, 8(3), July 2018b. ISSN 2160-3308. doi: 10.1103/ PhysRevX.8.031003. ",
|
| 690 |
+
"bbox": [
|
| 691 |
+
176,
|
| 692 |
+
155,
|
| 693 |
+
823,
|
| 694 |
+
198
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 10
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "Joanna D. Crook, Beth B. Peterson, Orin S. Packer, Farrel R. Robinson, John B. Troy, and Dennis M. Dacey. Y-cell receptive field and collicular projection of parasol ganglion cells in macaque monkey retina. The Journal of Neuroscience: The Official Journal of the Society for Neuroscience, 28 (44):11277–11291, October 2008. ISSN 1529-2401. doi: 10.1523/JNEUROSCI.2982-08.2008. ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
173,
|
| 703 |
+
207,
|
| 704 |
+
825,
|
| 705 |
+
263
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 10
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Dennis Dacey. Origins of perception: retinal ganglion cell diversity and the creation of parallel visual pathways. In The cognitive neuroscience (2004), pp. 281–301, 2004. ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
173,
|
| 714 |
+
273,
|
| 715 |
+
823,
|
| 716 |
+
303
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 10
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Stephane Deny, Ulisse Ferrari, Emilie Mace, Pierre Yger, Romain Caplette, Serge Picaud, Gaper Tkaik, and Olivier Marre. Multiplexed computations in retinal ganglion cells of a single type. Nature communications, 8(1):1964, 2017. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
176,
|
| 725 |
+
311,
|
| 726 |
+
823,
|
| 727 |
+
354
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 10
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "Eizaburo Doi, Jeffrey L. Gauthier, Greg D. Field, Jonathon Shlens, Alexander Sher, Martin Greschner, Timothy A. Machado, Lauren H. Jepson, Keith Mathieson, Deborah E. Gunning, Alan M. Litke, Liam Paninski, E. J. Chichilnisky, and Eero P. Simoncelli. Efficient coding of spatial information in the primate retina. The Journal of Neuroscience, 32(46):16256–16264, November 2012. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
173,
|
| 736 |
+
363,
|
| 737 |
+
825,
|
| 738 |
+
434
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 10
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "Sven Eberhardt, Jonah G Cader, and Thomas Serre. How Deep is the Feature Analysis underlying Rapid Visual Categorization? pp. 9, 2016. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
443,
|
| 748 |
+
823,
|
| 749 |
+
473
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 10
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Wilson S. Geisler and Duane G. Albrecht. Cortical neurons: isolation of contrast gain control. Vision research, 32(8):1409–1410, 1992. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
174,
|
| 758 |
+
482,
|
| 759 |
+
823,
|
| 760 |
+
511
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 10
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "Xavier Glorot and Yoshua Bengio. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 249–256, 2010. ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
174,
|
| 769 |
+
520,
|
| 770 |
+
825,
|
| 771 |
+
563
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 10
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "Tim Gollisch and Markus Meister. Eye smarter than scientists believed: neural computations in circuits of the retina. Neuron, 65(2):150–164, January 2010. ISSN 1097-4199. doi: 10.1016/j. neuron.2009.12.009. ",
|
| 778 |
+
"bbox": [
|
| 779 |
+
174,
|
| 780 |
+
571,
|
| 781 |
+
825,
|
| 782 |
+
614
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 10
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "D. J. Heeger. Normalization of cell responses in cat striate cortex. Visual Neuroscience, 9(2):181– 197, August 1992. ISSN 0952-5238. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
174,
|
| 791 |
+
625,
|
| 792 |
+
823,
|
| 793 |
+
652
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 10
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "David H. Hubel. Eye, brain, and vision. Scientific American Library/Scientific American Books, 1995. ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
173,
|
| 802 |
+
661,
|
| 803 |
+
823,
|
| 804 |
+
690
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 10
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "Keith P. Johnson, Lei Zhao, and Daniel Kerschensteiner. A Pixel-Encoder Retinal Ganglion Cell with Spatially Offset Excitatory and Inhibitory Receptive Fields. Cell Reports, 22(6):1462–1472, February 2018. ISSN 22111247. doi: 10.1016/j.celrep.2018.01.037. ",
|
| 811 |
+
"bbox": [
|
| 812 |
+
174,
|
| 813 |
+
700,
|
| 814 |
+
823,
|
| 815 |
+
744
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 10
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "Yan Karklin and Eero P. Simoncelli. Efficient coding of natural images with a population of noisy Linear-Nonlinear neurons. In J. Shawe-Taylor, R. S. Zemel, P. L. Bartlett, F. Pereira, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 24, pp. 999–1007. Curran Associates, Inc., 2011. ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
752,
|
| 825 |
+
825,
|
| 826 |
+
809
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 10
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "Melinda E. Koelling and Duane Q. Nykamp. Computing linear approximations to nonlinear neuronal response. Network (Bristol, England), 19(4):286–313, 2008. ISSN 1361-6536. doi: 10.1080/09548980802503139. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
173,
|
| 835 |
+
819,
|
| 836 |
+
823,
|
| 837 |
+
861
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 10
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "Alex Krizhevsky. Learning Multiple Layers of Features from Tiny Images. pp. 60, 2009. ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
168,
|
| 846 |
+
871,
|
| 847 |
+
759,
|
| 848 |
+
886
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 10
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, May 2015. ISSN 1476-4687. doi: 10.1038/nature14539. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
895,
|
| 858 |
+
820,
|
| 859 |
+
924
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 10
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "J. Y. Lettvin, H. R. Maturana, W. S. McCulloch, and W. H. Pitts. What the Frog’s Eye Tells the Frog’s Brain. Proceedings of the IRE, 47(11):1940–1951, November 1959. ISSN 0096-8390. doi: 10.1109/JRPROC.1959.287207. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
176,
|
| 868 |
+
103,
|
| 869 |
+
823,
|
| 870 |
+
146
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 11
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "Niru Maheswaranathan, David B. Kastner, Stephen A. Baccus, and Surya Ganguli. Inferring hidden structure in multilayered neural circuits. PLoS computational biology, 14(8):e1006291, August 2018. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1006291. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
155,
|
| 880 |
+
821,
|
| 881 |
+
198
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 11
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "Richard H. Masland. The fundamental plan of the retina. Nature Neuroscience, 4(9):877–886, September 2001. ISSN 1546-1726. doi: 10.1038/nn0901-877. ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
171,
|
| 890 |
+
207,
|
| 891 |
+
823,
|
| 892 |
+
234
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 11
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Lane McIntosh, Niru Maheswaranathan, Aran Nayebi, Surya Ganguli, and Stephen Baccus. Deep Learning Models of the Retinal Response to Natural Scenes. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), Advances in Neural Information Processing Systems 29, pp. 1369–1377. Curran Associates, Inc., 2016. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
173,
|
| 901 |
+
244,
|
| 902 |
+
825,
|
| 903 |
+
301
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 11
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "Samuel A. Ocko, Jack Lindsey, Surya Ganguli, and Stephane Deny. The emergence of multiple retinal cell types through efficient coding of natural movies. bioRxiv, pp. 458737, October 2018. doi: 10.1101/458737. URL https://www.biorxiv.org/content/early/2018/10/ 31/458737. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
173,
|
| 912 |
+
309,
|
| 913 |
+
825,
|
| 914 |
+
366
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 11
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "B. A. Olshausen and D. J. Field. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, June 1996. ISSN 0028-0836. doi: 10.1038/381607a0. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
173,
|
| 923 |
+
375,
|
| 924 |
+
823,
|
| 925 |
+
417
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 11
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "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, December 1997. ISSN 0042-6989. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
169,
|
| 934 |
+
426,
|
| 935 |
+
823,
|
| 936 |
+
455
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 11
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Botond Roska and Markus Meister. The Retina Dissects the Visual Scene into Distinct Features. In The New Visual Neurosciences (Werner, JS, Chalupa, LM, eds), pp 163182., pp. 20. Cambridge, MA: MIT Press, 2014. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
463,
|
| 946 |
+
823,
|
| 947 |
+
507
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 11
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "Odelia Schwartz, Jonathan W. Pillow, Nicole C. Rust, and Eero P. Simoncelli. Spike-triggered neural characterization. Journal of Vision, 6(4):13, July 2006. ISSN 1534-7362. doi: 10.1167/6.4.13. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
171,
|
| 956 |
+
515,
|
| 957 |
+
823,
|
| 958 |
+
545
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 11
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Yosef Singer, Yayoi Teramoto, Ben DB Willmore, Jan WH Schnupp, Andrew J. King, and Nicol S. Harper. Sensory cortex is optimized for prediction of future input, June 2018. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
171,
|
| 967 |
+
554,
|
| 968 |
+
821,
|
| 969 |
+
583
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 11
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Benjamin T. Vincent and Roland J. Baddeley. Synaptic energy efficiency in retinal processing. Vision Research, 43(11):1283–1290, May 2003. ISSN 0042-6989. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
171,
|
| 978 |
+
592,
|
| 979 |
+
821,
|
| 980 |
+
621
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 11
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Benjamin T. Vincent, Roland J. Baddeley, Tom Troscianko, and Iain D. Gilchrist. Is the early visual system optimised to be energy efficient? Network: Computation in Neural Systems, 16(2-3): 175–190, January 2005. ISSN 0954-898X. doi: 10.1080/09548980500290047. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
173,
|
| 989 |
+
628,
|
| 990 |
+
821,
|
| 991 |
+
672
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 11
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Daniel L. K. Yamins, Ha Hong, Charles F. Cadieu, Ethan A. Solomon, Darren Seibert, and James J. DiCarlo. Performance-optimized hierarchical models predict neural responses in higher visual cortex. Proceedings of the National Academy of Sciences of the United States of America, 111 (23):8619–8624, June 2014. ISSN 1091-6490. doi: 10.1073/pnas.1403112111. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
173,
|
| 1000 |
+
680,
|
| 1001 |
+
823,
|
| 1002 |
+
737
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 11
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Yifeng Zhang, In-Jung Kim, Joshua R. Sanes, and Markus Meister. The most numerous ganglion cell type of the mouse retina is a selective feature detector. Proceedings of the National Academy of Sciences, pp. 201211547, August 2012. ISSN 0027-8424, 1091-6490. doi: 10.1073/pnas. 1211547109. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
746,
|
| 1012 |
+
825,
|
| 1013 |
+
803
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 11
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "APPENDIX ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
176,
|
| 1022 |
+
103,
|
| 1023 |
+
263,
|
| 1024 |
+
117
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 12
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "A QUANTIFICATION OF RECEPTIVE FIELD ISOTROPY IN RETINA AND V1 ",
|
| 1031 |
+
"text_level": 1,
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
171,
|
| 1034 |
+
138,
|
| 1035 |
+
784,
|
| 1036 |
+
154
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 12
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "image",
|
| 1042 |
+
"img_path": "images/f9a61d69ffda3d2cbfb4ae39b653f0ce63f4698172fdda19fe3fb4da33cec1bc.jpg",
|
| 1043 |
+
"image_caption": [
|
| 1044 |
+
"Figure 4: A: Left: Schematic re-illustrating the architecture of a vanilla (no bottleneck) network and showing examples oriented RFs in its second layer. Center: Visualization of average RF isotropy for cells in the second layer of a vanilla convolutional network $( N _ { B N } = 1$ , $D _ { V V S } = 2$ ). Orange error bars indicate $9 5 \\%$ confidence intervals. Right: Visualization of RF isotropy for ten example RFs from the same network architecture. B: Left: Schematic re-illustrating the architecture of the retina-net $+ \\mathrm { \\Delta V V S }$ -net model $( N _ { B N } = 1 , D _ { V V S } = 2 )$ and showing example center-surround RFs at the retina-net output and oriented RFs in the following layer (V1). Center and right: Same RF isotropy visualizations as in part A. C: Left: re-illustration of V1 RFs pooling in oriented fashion from center-surround retinal RFs $( N _ { B N } = 1 , D _ { V V S } = 2 )$ . Right: Same isotropy visualizations as in panel A carried on the weight matrix from retina to V1. "
|
| 1045 |
+
],
|
| 1046 |
+
"image_footnote": [],
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
173,
|
| 1049 |
+
180,
|
| 1050 |
+
825,
|
| 1051 |
+
425
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 12
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "The following analysis corroborates our qualitative observation that a dimensionality bottleneck in the retina-net yields center-surround retinal receptive fields and oriented, edge-detecting receptive fields in the first layer of the VVS-net (V1). For a given receptive field, we quantified its orientedness as follows: we displayed rectangular bar stimuli of all possible combinations of width, orientations and spatial translations that fit in the input image window. Among all these combinations, we selected the bar stimulus width, orientation, and translation that yielded the strongest response from the RF. Bars with the same width as the best stimuli were presented at all orientations and translations, and for each orientation, we select the strongest response it produced (across all translations). In this manner we obtained a measure of the strength of a receptive field’s preference for all orientations. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
173,
|
| 1060 |
+
597,
|
| 1061 |
+
825,
|
| 1062 |
+
723
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 12
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "We measured the strength of each RF preference (maximum strength of response) for its preferred orientation and for the orthogonal orientation, and computed the ratio of these strengths. Completely isotropic filters would be expected to give a ratio of 1, while oriented filters should give higher ratios. Note however that some deviation from 1 may indicate noise in the filter rather than true orientedness. For each network layer, we averaged this ratio across filters (for convolutional layers with multiple layers) and trials (re-training of the same neural network architecture with different random initializations). We found that the average ratios were $1 . 5 6 ( \\pm 0 . 2 2 )$ for the retinal output, $3 . 0 5 ( \\pm 0 . 3 0 ) $ for the first VVS-net layer, and $2 . 5 7 ( \\pm 0 . 2 7 )$ for the second VVS-net layer, where error margins given are $9 5 \\%$ confidence intervals. To help assess whether retinal RFs were more isotropic than expected by chance, we compared them to receptive fields composed of random Gaussian noise as a baseline. These give an average ratio (as computed above) of $\\bar { 1 . 9 7 } ( \\pm 0 . 0 8 )$ , significantly higher than that for retinal RFs. Furthermore, the standard deviation of RF preference across orientations was significantly lower for the retinal RFs $( 0 . 1 1 8 \\pm 0 . 0 3 6 )$ than for random RFs $( 0 . 1 7 7 \\pm 0 . 0 0 7 )$ , also indicating that retinal RFs were more isotropic than expected by chance. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
174,
|
| 1071 |
+
729,
|
| 1072 |
+
825,
|
| 1073 |
+
924
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 12
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "We also plot the average RF preference for different orientations at each layer to more comprehensively assess the isotropy of RFs at each network layer. To aggregate results across multiple trials and filters, we rotated the coordinates of each receptive field such that its preferred orientation was vertical, and averaged our results across filters and trials. (See Figure 4). ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
103,
|
| 1083 |
+
823,
|
| 1084 |
+
159
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 13
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "The results confirm our qualitative observations that (1) RFs in the second layer of a vanilla network $( N _ { B N } = 3 2 )$ ) are highly oriented (Figure 4A) (2) RFs in the second layer (retina output) of a bottleneck network $N _ { B N } = 1 \\textgreater$ ) are much more isotropic, consistent with center-surround RFs (Figure 4B top), and (3) RFs in the layer immediately following the retina-net in the bottleneck network are oriented (Figure 4B bottom). ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
174,
|
| 1093 |
+
166,
|
| 1094 |
+
823,
|
| 1095 |
+
236
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 13
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "We also quantitatively corroborate our observation that oriented receptive fields in the V1 layer pool input from oriented arrays of center-surround filters in the retina-net output layer. We apply our method of isotropy quantification described above to the weight matrix for each input-output filter combination in the V1 convolutional layer. We find that this weight matrix itself exhibits orientedness across filters and trials, confirming our observation (Figure 4C). ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
173,
|
| 1104 |
+
243,
|
| 1105 |
+
825,
|
| 1106 |
+
313
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 13
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "B SIMPLE AND COMPLEX CELLS ",
|
| 1113 |
+
"text_level": 1,
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
174,
|
| 1116 |
+
333,
|
| 1117 |
+
459,
|
| 1118 |
+
348
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 13
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "image",
|
| 1124 |
+
"img_path": "images/d179773cc49e10c02fab446959e80cc8f6ae44ade2c76b6fcb6f3e906229eb9b.jpg",
|
| 1125 |
+
"image_caption": [
|
| 1126 |
+
"Figure 5: A: Visualizations of retina-net output RFs for an example network $( N _ { B N } = 1 , D _ { V V S } = 2 )$ using different random initialization, as described in the text. B: Same as A, for the first layer of the VVS-net, and showing 5 of the layer’s 32 channels on the x axis. C: Same as B, for the second layer of the VVS-net. In contrast to the first layer, the emergent preferred stimuli are always different across different initializations, indicative of a complex-cell like behavior. "
|
| 1127 |
+
],
|
| 1128 |
+
"image_footnote": [],
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
174,
|
| 1131 |
+
363,
|
| 1132 |
+
821,
|
| 1133 |
+
628
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 13
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "To investigate whether neurons in our model’s early layers more closely resembled simple or complex cells, we performed the following analysis. As before, we obtained local linear approximations of receptive fields by computing the gradient in input space with respect to the response of a given neuron. Rather than beginning with a blank input, we ran multiple trials with different randomly initialized inputs. A purely linear cell would give the same result no matter the initialization; a somewhat nonlinear but still “simple” cell is expected to give similar results across initializations. A “complex” cell is expected to give different RF visualizations for different random inputs, reflecting multiple peaks in its response as a function of input. In Figure 5 we show examples of receptive fields at different layers of our retina-net $+ \\mathrm { \\Delta V V S }$ -net model (with $N _ { B N } = 1 , D _ { V V S } = 2 )$ for different random intializations of the image (uniform random in [0, 1]). The retina-net output and first VVS-net layer exhibit “simple” behavior, but the second VVS-net layer exhibits observably “complex” behavior. To quantify this effect, we measure the average (across filters within each layer and re-trainings of the same network architecture) standard deviation of computed RFs (normalized to the range [0, 1]) for each network layer. We found that the average standard deviations were $7 . 9 ( \\pm 1 . 1 ) \\times 1 0 ^ { - 3 }$ , $1 5 . 4 ( \\pm 0 . 8 ) \\times 1 0 ^ { - 3 }$ , and $3 5 . 9 ( \\pm 0 . 8 ) \\times 1 0 ^ { - 3 }$ for the retina-net output, first VVS-net layer, and second VVS-net layer, respectively, where the margins of error given are $9 5 \\%$ confidence intervals. These results corroborate the observation of significantly more complex behavior in the second VVS-net layer, mirroring the biological phenomenon in which complex cells pool from simple cells in $\\mathrm { V } 1$ . ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
174,
|
| 1142 |
+
729,
|
| 1143 |
+
825,
|
| 1144 |
+
924
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 13
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
173,
|
| 1153 |
+
102,
|
| 1154 |
+
825,
|
| 1155 |
+
174
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 14
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "C EFFECTS OF LOCAL RESPONSE NORMALIZATION ON EARLY VISUAL malization FigurREPRESENTATIONS ",
|
| 1162 |
+
"text_level": 1,
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
174,
|
| 1165 |
+
194,
|
| 1166 |
+
764,
|
| 1167 |
+
227
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 14
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "image",
|
| 1173 |
+
"img_path": "images/679c7d4d1bf4021059a7f1a2d21611f59969d6766478b59e5a97dcfba385ad75.jpg",
|
| 1174 |
+
"image_caption": [
|
| 1175 |
+
"Figure 6: Example RFs from the bottleneck network $( N _ { B N } = 1 , D _ { V V S } = 2$ without (A) and with (B) local response normalization (i.e. local gain control). "
|
| 1176 |
+
],
|
| 1177 |
+
"image_footnote": [],
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
341,
|
| 1180 |
+
247,
|
| 1181 |
+
651,
|
| 1182 |
+
402
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 14
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "We tested the robustness of our first main finding – that a bottlenecked retina-net $+ \\mathrm { \\nabla { V V S } }$ -net model yields center-surround receptive fields in the retina and oriented receptive felds in $\\mathrm { { V } 1 - }$ to the use of biologically realistic local response normalization at every layer of the network. In particular, we normalized the output $x$ of each channel (row $r$ , column $c$ ) of each layer as follows (during training and testing): ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
173,
|
| 1191 |
+
465,
|
| 1192 |
+
826,
|
| 1193 |
+
535
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 14
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "equation",
|
| 1199 |
+
"img_path": "images/c8ea92573edc53e5e3ab8ff39498e0d3fb07bc293726c6a62d2761728d6c0761.jpg",
|
| 1200 |
+
"text": "$$\nx _ { r , c } \\gets \\frac { x _ { r , c } } { \\Big ( k + \\alpha \\sum _ { r ^ { \\prime } \\in [ r - \\frac { n } { 2 } , r + \\frac { n } { 2 } ] , c ^ { \\prime } \\in [ c - \\frac { n } { 2 } , c + \\frac { n } { 2 } ] } x _ { r ^ { \\prime } , c ^ { \\prime } } \\Big ) ^ { \\beta } }\n$$",
|
| 1201 |
+
"text_format": "latex",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
318,
|
| 1204 |
+
532,
|
| 1205 |
+
678,
|
| 1206 |
+
577
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 14
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "where the subscripts of $x$ indicate the spatial location (row/column), and $k , \\alpha _ { \\mathrm { { ; } } }$ , ad $\\beta$ are constants. We used $k = 2$ , $\\beta = 0 . 5$ and $\\beta = 0 . 7 5$ , and $\\alpha = 5 \\times 1 0 ^ { - 4 }$ and $\\alpha = 5 . 0$ . All parameter settings tested yielded RFs with the same qualitative properties as in the model without normalization. Figure 6 shows example RFs from the no-normalzation model next to example RFs from the normalization model with $k = 2 , \\beta = 0 . 5 , \\alpha = 5 . 0$ . ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
174,
|
| 1215 |
+
579,
|
| 1216 |
+
825,
|
| 1217 |
+
648
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 14
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "D RETINAL CELL TYPES TRADE OFF BETWEEN LINEAR INFORMATION TRANSMISSION AND NONLINEAR FEATURE EXTRACTION ",
|
| 1224 |
+
"text_level": 1,
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
176,
|
| 1227 |
+
102,
|
| 1228 |
+
767,
|
| 1229 |
+
136
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 15
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "image",
|
| 1235 |
+
"img_path": "images/975e7596308fe16a0a7c943657318acd6b90291b6140f066a27a5a13c5f647da.jpg",
|
| 1236 |
+
"image_caption": [
|
| 1237 |
+
"Fig XX Linearity vs. separability of retina-net output channels (as in XX), Figure 7: Linearity vs. Class separability for each retina-net output channels (i.e. bottleneck layer). network has a VVS-Net depth of 4 and a bottleneck size of 4. VVS-Net depth is equal to 4. Each network has a bottleneck size of 4 channels (i.e. $N _ { B N } { = } 4 )$ . DisDistributions are plotted across 8 network instances; each point represents a single channel, colored according to its network. Here, we tributions are plotted across 10 network instances; each point represents a single channel, colored can see that the tradeoff between efficient coding and feature extraction also happens within the retina-nets of individual networks.according to its network. The negative slope suggests that there is trade-off between linearly transmitting visual information for downstream processing (i.e. efficient coding) and extracting useful features for the object recognition task. "
|
| 1238 |
+
],
|
| 1239 |
+
"image_footnote": [],
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
303,
|
| 1242 |
+
154,
|
| 1243 |
+
692,
|
| 1244 |
+
306
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 15
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "E LINEARIZED RETINA ALSO INCREASES SEPARABILITY IN SUBSEQUENT LAYERS ",
|
| 1251 |
+
"text_level": 1,
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
173,
|
| 1254 |
+
436,
|
| 1255 |
+
794,
|
| 1256 |
+
469
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 15
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "image",
|
| 1262 |
+
"img_path": "images/be127bef6a36f1cc24b24501c50f4d931f9eb8892dfaa764893c38ef230465df.jpg",
|
| 1263 |
+
"image_caption": [
|
| 1264 |
+
"representation of bottleneck network has low separability. However, the Figure 8: Class separability at all layers of network for a deep VVS-net $( D _ { V V S } = 4 )$ ) with and without bottleneck $\\boldsymbol { N } _ { B N } = 1$ t layer oarability and $N _ { B N } = 3 2$ h separability. We additionally plot the leneck (NBN = 1) network (see test) as a ). Retinal representation of bottleneck network has low function of layer. That the jump in linear separability between layers 2,3 survives linearization suggests that the main effect of retinal processing separability. However, the first layer of the VVS-net has high separability. We additionally plot the in this network is whseparability of the linearized bottleneck $N _ { B N } = 1$ on-linear processing.) network (see test) as a function of layer. That the jump in linear separability between layers 2,3 survives linearization suggests that the main effect of retinal processing in this network is whitening (see Fig. 9) rather than nonlinear processing. "
|
| 1265 |
+
],
|
| 1266 |
+
"image_footnote": [],
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
341,
|
| 1269 |
+
493,
|
| 1270 |
+
656,
|
| 1271 |
+
627
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 15
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "In the case of the deepest VVS-nets tested, the retinal processing was quasi-linear for the tightest bottleneck (var.expl. $= 0 . 9$ , $N _ { B N } = 1$ , fig. 3A). However the very first layer of the VVS-net after the retina disentangled classes (as measured by linear separability) almost as well as the second layer of a VVS-net without retina (fig. 3F), suggesting that the retinal representation, while only moderately linearly separable itself, is especially transformable into a representation with a high linear separability. To determine to what degree this increased separability was due to (1) the linear processing or (2) the slightly nonlinear part of the retinal processing, we performed an ablation experiment to eliminate factor (2). We first replaced the true retinal processing by its best approximation by a onelayer linear convolution (of sufficient filter width to correspond to two convolutional layers with 9 by 9 filters). After this linearization process, we retrained the VVS-net using the linearized retinal representation as input, keeping the linearized retina weights frozen. We found that the first layer trained on the output of the linearized retinal representation was indeed much better than the first layer of the control network (trained directly on natural images) at separating classes of objects (Fig. ",
|
| 1278 |
+
"bbox": [
|
| 1279 |
+
173,
|
| 1280 |
+
742,
|
| 1281 |
+
825,
|
| 1282 |
+
924
|
| 1283 |
+
],
|
| 1284 |
+
"page_idx": 15
|
| 1285 |
+
},
|
| 1286 |
+
{
|
| 1287 |
+
"type": "text",
|
| 1288 |
+
"text": "8), suggesting that the linear operation done by the retina does indeed play a crucial role in making the representation especially separable for subsequent layers. Visualization of retinal processing in App. F suggest that whitening is an important part of this linear processing. ",
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
103,
|
| 1292 |
+
825,
|
| 1293 |
+
146
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 16
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "F RETINAL REPRESENTATION VISUALIZATION AS A FUNCTION OF VVS-NET DEPTH FOR BOTTLENECK $N _ { B N } = 1$ ",
|
| 1300 |
+
"text_level": 1,
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
171,
|
| 1303 |
+
167,
|
| 1304 |
+
820,
|
| 1305 |
+
200
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 16
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "image",
|
| 1311 |
+
"img_path": "images/e5dd316498caac5948f6a2c039010178896c096525cb6e3199a8661488b1d0b8.jpg",
|
| 1312 |
+
"image_caption": [
|
| 1313 |
+
"examples (x axis) as a function of VVS-Net depth (y axis)Figure 9: Visualization of the output of the retina-net (one-channel-bottleneck, i.e. $N _ { B N } = 1$ ) for different images from the testing set (x-axis) as a function of VVS-net depth (y-axis). Each pixel intensity of the retinal image is proportional to the activation of the corresponding neuron of the retina, where light shades indicate high activities and dark shades low activities. While retinas for every VVS-net depth appear to whiten the input, we can see that the retinal image is more and more processed and less and less recognizable as VVS-net depth decreases. "
|
| 1314 |
+
],
|
| 1315 |
+
"image_footnote": [],
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
179,
|
| 1318 |
+
239,
|
| 1319 |
+
818,
|
| 1320 |
+
351
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 16
|
| 1323 |
+
}
|
| 1324 |
+
]
|
parse/train/S1xq3oR5tQ/S1xq3oR5tQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1xq3oR5tQ/S1xq3oR5tQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Syzn9i05Ym/Syzn9i05Ym.md
ADDED
|
@@ -0,0 +1,564 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING NEURAL RANDOM FIELDS WITH INCLUSIVE AUXILIARY GENERATORS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural random fields (NRFs), which are defined by using neural networks to implement potential functions in undirected models, provide an interesting family of model spaces for machine learning. In this paper we develop a new approach to learning NRFs with inclusive-divergence minimized auxiliary generator - the inclusive-NRF approach, for continuous data (e.g. images), with solid theoretical examination on exploiting gradient information in model sampling. We show that inclusive-NRFs can be flexibly used in unsupervised/supervised image generation and semi-supervised classification, and empirically to the best of our knowledge, represent the best-performed random fields in these tasks. Particularly, inclusiveNRFs achieve state-of-the-art sample generation quality on CIFAR-10 in both unsupervised and supervised settings. Semi-supervised inclusive-NRFs show strong classification results on par with state-of-the-art generative model based semi-supervised learning methods, and simultaneously achieve superior generation, on the widely benchmarked datasets - MNIST, SVHN and CIFAR-10.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
One of the core research problems in machine learning is learning with probabilistic models, which can be broadly classified into two classes - directed and undirected1 (Koller & Friedman, 2009). Significant progress has been made recently on learning with deep generative models (DGMs), which generally refer to models with multiple layers of stochastic or deterministic variables. There have emerged a bundle of deep directed generative models, such as variational AutoEncoders (VAEs) (Kingma & Welling, 2014), generative adversarial networks (GANs) (Goodfellow et al., 2014) and so on. In contrast, undirected generative models (also known as random fields (Koller & Friedman, 2009), energy-based models (LeCun et al., 2006)) received less attention with slow progress. This is presumably because fitting undirected models is more challenging than fitting directed models. In general, calculating the log-likelihood and its gradient is analytically intractable, because it involves the expectation with respect to (w.r.t.) the model distribution.
|
| 12 |
+
|
| 13 |
+
In this paper, we aims to advance the learning of neural random fields (RFs) which use neural networks with multiple (deterministic) layers to define the potential function2 $u _ { \theta } ( x )$ over observation $x$ with parameter $\theta$ . The probability distribution $p _ { \theta } ( x ) \propto \exp ( u _ { \theta } ( x ) )$ is then defined by normalizing the exponentiated potential function. This type of RFs has been studied several times in different contexts, once called deep energy models (DEMs) (Ngiam et al., 2012; Kim & Bengio, 2016), descriptive models (Xie et al., 2016), generative ConvNet (Dai et al., 2014), neural random field language models (Wang & Ou, 2017). For convenience, we refer to such models as neural random fields (NRFs) in general.
|
| 14 |
+
|
| 15 |
+
An important method of maximum likelihood (ML) learning of random fields is called stochastic maximum likelihood (SML) (Younes, 1989), which approximates the model expectations by Monte Carlo sampling for calculating the gradient. A recent progress in learning NRFs as studied in Kim & Bengio (2016); Xie et al. (2016); Wang & Ou (2017); Kuleshov & Ermon (2017) is to pair the target random field $p _ { \theta }$ with an auxiliary directed generative model (often called generator) $q _ { \phi } ( x )$ parameterized by $\phi$ , which approximates sampling from the target random field. Learning is performed by maximizing the log-likelihood of training data under $p _ { \theta }$ or some bound of the log-likelihood, and simultaneously minimizing some divergence between the target random field $p _ { \theta }$ and the auxiliary generator $q _ { \phi }$ . Different learning algorithms differ in the objective functions used in the joint training of $p _ { \theta }$ and $q _ { \phi }$ , and thus have different computational and statistical properties (partly illustrated in Figure 1). For example, minimizing the exclusive-divergence $K L [ q _ { \phi } | | p _ { \theta } ] \triangleq$ $\bar { \int { q _ { \phi } \log { \left( { q _ { \phi } } / { p _ { \theta } } \right) } } }$ w.r.t. $\phi$ , as employed in Kim & Bengio (2016), involves the intractable entropy term and tends to enforce the generator to seek modes, yielding missing modes. There are also other factors, e.g. modeling discrete or continuous data, different choices of the target RF and the generator, which lead to different algorithms. We leave detailed comparison and connection of our approach with existing studies to section 3 (related work).
|
| 16 |
+
|
| 17 |
+
In this paper, we propose to use inclusive-divergence minimized auxiliary generators (section 2.1). And particularly for continuous data (e.g. images), we propose to use SGLD (stochastic gradient Langevin dynamics (Welling & Teh, 2011)) and SGHMC (stochastic gradient Hamiltonian Monte Carlo (Chen et al., 2014)) to exploit gradient information in model sampling with solid theoretical examination (section 2.2). The new approach, abbreviated as the inclusive-NRF approach, offers some advantages over previous methods. First, minimizing the inclusive-divergence $K L [ p _ { \theta } | | q _ { \phi } ] \triangleq$ $\int p _ { \theta } \log { ( p _ { \theta } / \bar { q } _ { \phi } ) }$ w.r.t. $\phi$ avoids the annoying entropy term and tends to drive the generator to cover modes of the target density $p _ { \theta }$ . The SGLD/SGHMC sampling further pushes the samples towards the modes of $p _ { \theta }$ . Presumably, this helps to produce Markov chains that mix fast between modes and facilitate model learning. Second, the new approach enables us to flexibly use NRFs in unsupervised/supervised image generation and semi-supervised classification (section 2.3), and empirically to the best of our knowledge, represents the best-performed random fields in these tasks.
|
| 18 |
+
|
| 19 |
+
The main contributions of this paper can be summarized as follows:
|
| 20 |
+
|
| 21 |
+
• We develop the inclusive-NRF approach, which learns NRFs with inclusive auxiliary generators and particularly for continuous data, exploits gradient information in model sampling with solid theoretical examination. • Inclusive-NRFs achieve state-of-the-art sample generation quality, measured by both Inception Score (IS) and Frechet Inception Distance (FID). On CIFAR-10, we obtain unsupervised IS 8.28 (FID 20.9) and supervised IS 9.06 (FID 18.1), both using unconditional generation. • Semi-supervised inclusive-NRFs show strong classification results on par with state-ofthe-art DGM-based semi-supervised learning (SSL) methods, and simultaneously achieve superior generation, on the widely benchmarked datasets - MNIST, SVHN and CIFAR-10.
|
| 22 |
+
|
| 23 |
+
# 2 THE INCLUSIVE-NRF APPROACH
|
| 24 |
+
|
| 25 |
+
Consider a random field for modeling observation $x$ with parameter $\theta$ :
|
| 26 |
+
|
| 27 |
+
$$
|
| 28 |
+
p _ { \theta } ( x ) = { \frac { 1 } { Z ( \theta ) } } \exp \left[ u _ { \theta } ( x ) \right]
|
| 29 |
+
$$
|
| 30 |
+
|
| 31 |
+
where $\begin{array} { r } { Z ( \theta ) = \int \exp ( u _ { \theta } ( x ) ) d x } \end{array}$ is the normalizing constant, $u _ { \theta } ( x )$ is the potential function3 which assigns a scalar value to each configuration of random variable $x$ . The general idea of neural random fields (NRFs) is to implement $u _ { \theta } ( \bar { x } ) : \mathbb { R } ^ { d _ { x } } \mathbb { R }$ , by a neural network, taking the multi-dimensional $x \in \mathbb { R } ^ { d _ { x } }$ as input and outputting the scalar $u _ { \theta } ( x ) \in \mathbb { R }$ . In this manner, we can take advantage of the representation power of neural networks for RF modeling. It is usually intractable to maximize the data log-likelihood $l o g p \hat { \theta } ( \tilde { x } )$ for observed $\tilde { x }$ , since the gradient involves expectation w.r.t. the model distribution, as shown below:
|
| 32 |
+
|
| 33 |
+
$$
|
| 34 |
+
\nabla _ { \boldsymbol { \theta } } \log { p _ { \boldsymbol { \theta } } ( \boldsymbol { \tilde { x } } ) } = \nabla _ { \boldsymbol { \theta } } u _ { \boldsymbol { \theta } } ( \boldsymbol { \tilde { x } } ) - E _ { p _ { \boldsymbol { \theta } } ( \boldsymbol { x } ) } \left[ \nabla _ { \boldsymbol { \theta } } u _ { \boldsymbol { \theta } } ( \boldsymbol { x } ) \right]
|
| 35 |
+
$$
|
| 36 |
+
|
| 37 |
+
# 2.1 INTRODUCING INCLUSIVE-DIVERGENCE MINIMIZED AUXILIARY GENERATORS
|
| 38 |
+
|
| 39 |
+
In this paper, we further develop NRF learning with auxiliary generators. We are mainly concerned with modeling fixed-dimensional continuous observations $\bar { \boldsymbol { x } _ { \mathrm { ~ \in ~ } } } \mathbb { R } ^ { d _ { x } }$ (e.g. images), and choose a
|
| 40 |
+
|
| 41 |
+
<table><tr><td>Algorithm1Learning NRFs with inclusive auxiliary generators</td><td></td></tr><tr><td>repeat Sampling: Draw a minibatch M= {(xi,x𝑖,h𝑖),i=1,..: |M|} from p(x)pe(x)q(h|x) (see</td><td rowspan="3"></td></tr><tr><td>Algorithm 2);</td></tr><tr><td>Updating: 1</td></tr><tr><td>Update θ by ascending: 1∑(a,x,h)~M[Vθuθ(x)- Vθuθ(x); M</td><td rowspan="3"></td></tr><tr><td>Update Φ by ascending: ∑(x,x,h)~M V logq(x,h);</td></tr><tr><td>until convergence</td></tr></table>
|
| 42 |
+
|
| 43 |
+
directed generative model, $q _ { \phi } ( x , h ) \triangleq q ( h ) q _ { \phi } ( x | h )$ , for the auxiliary generator, which specifically is defined as follows4:
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\begin{array} { l } { h \sim \mathcal { N } ( 0 , I _ { h } ) , } \\ { x = g _ { \phi } ( h ) + \epsilon , \epsilon \sim \mathcal { N } ( 0 , \sigma ^ { 2 } I _ { \epsilon } ) , } \end{array}
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
where $g _ { \phi } ( h ) : \mathbb { R } ^ { d _ { h } } \mathbb { R } ^ { d _ { x } }$ is implemented as a neural network with parameter $\phi$ , which maps the latent code $h$ to the observation space. $I _ { h }$ and $I _ { \epsilon }$ denote the identity matrices, with dimensionality implied by $h$ and $\epsilon$ respectively. Drawing samples from the generator $q _ { \phi } ( x , h )$ is simple as it is just ancestral sampling from a 2-variable directed graphical model.
|
| 50 |
+
|
| 51 |
+
Suppose that data $\mathcal { D } = \{ \tilde { x } _ { 1 } , \cdots , \tilde { x } _ { n } \}$ , consisting of $n$ observations, are drawn from the true but unknown data distribution $p _ { 0 } ( \cdot )$ . 1n Pnk=1 δ(˜x − x˜k) denotes the empirical data distribution. Then we formulate the maximum likelihood learning of $p _ { \theta } ( x )$ with the inclusive-divergence minimized generator $q _ { \phi } ( x )$ as optimizing5
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\{ \begin{array} { l l } { \underset { \theta } { \operatorname* { m i n } } K L [ \tilde { p } ( \tilde { x } ) | | p _ { \theta } ( \tilde { x } ) ] } \\ { \underset { \phi } { \operatorname* { m i n } } K L [ p _ { \theta } ( x ) | | q _ { \phi } ( x ) ] } \end{array}
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
The first line of Eq. (4) is equivalent to maximum likelihood training of the target RF $p _ { \theta }$ under the empirical data $\tilde { p }$ , which requires sampling from $p _ { \theta }$ . Simultaneously, the second line optimizes the generator $q _ { \phi }$ to be close to $p _ { \theta }$ so that $q _ { \phi }$ becomes a good proposal for sampling from $p _ { \theta }$ . It can be easily seen that the gradients w.r.t. $\theta$ and $\phi$ (to be ascended) are defined as follows:
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\begin{array} { r } { \left\{ \begin{array} { l l } { \nabla _ { \theta } = E _ { \tilde { p } ( \tilde { x } ) } \left[ \nabla _ { \theta } \log p _ { \theta } ( \tilde { x } ) \right] = E _ { \tilde { p } ( \tilde { x } ) } \left[ \nabla _ { \theta } u _ { \theta } ( \tilde { x } ) \right] - E _ { p _ { \theta } ( x ) } \left[ \nabla _ { \theta } u _ { \theta } ( x ) \right] , } \\ { \nabla _ { \phi } = E _ { p _ { \theta } ( x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x ) \right] = E _ { p _ { \theta } ( x ) q _ { \phi } ( h \vert x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x , h ) \right] . } \end{array} \right. } \end{array}
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
Both lines of Eq. (5) hold, as proved in Proposition 1 in the Supplement. In practice, we calculate noisy gradient estimators, and apply minibatch based stochastic gradient descent (SGD) to solve the optimization problem Eq. (4), as shown in Algorithm 1.
|
| 64 |
+
|
| 65 |
+
# 2.2 APPLYING SGLD/SGHMC FOR MODEL SAMPLING
|
| 66 |
+
|
| 67 |
+
In Algorithm 1, we need to draw samples from $p _ { \theta } ( x ) q _ { \phi } ( h | x )$ given current $\theta$ and $\phi$ . For continuous observations, SGLD (stochastic gradient Langevin dynamics) (Welling & Teh, 2011) and SGHMC (Stochastic Gradient Hamiltonian Monte Carlo) (Chen et al., 2014) sampling provide mechanisms for exploiting (stochastic) gradients of the target density $p _ { \theta } ( x ) q _ { \phi } ( h | x )$ , enabling efficient exploration of the state space. We take the theoretical results about SGLD from Teh et al. (2016) and SGHMC from Chen et al. (2014), which are briefly summarized in Theorem 1 in the Supplement, and apply them in the sampling step in Algorithm 1. Denoting the target density as $p ( z ; \lambda )$ with given $\lambda$ , Theorem 1 shows that SGLD/SGHMC, by utilizing $\begin{array} { r } { \frac { \partial } { \partial z } \log p ( z ; \lambda ) } \end{array}$ , yields a non-homogeneous Markov chain $\{ z ^ { ( l ) } , l \ge 1 \}$ , which converges to the equilibrium distribution $p ( z ; \lambda )$ .
|
| 68 |
+
|
| 69 |
+
By letting $z \triangleq ( x , h ) , p ( z ; \lambda ) \triangleq p _ { \boldsymbol { \theta } } ( x ) q _ { \boldsymbol { \phi } } ( h | x ) , \lambda \triangleq ( \boldsymbol { \theta } , \boldsymbol { \phi } ) ^ { T }$ in Theorem 1, we can perform the sampling step in Algorithm 1 by running $| { \mathcal { M } } |$ parallel chains, each chain being executed as shown
|
| 70 |
+
|
| 71 |
+
# Algorithm 2 Sampling from $p _ { \theta } ( x ) q _ { \phi } ( h | x )$
|
| 72 |
+
|
| 73 |
+
1. Do ancestral sampling by the generator, namely first drawing $h ^ { \prime } \sim p ( h ^ { \prime } )$ , and then drawing $x ^ { \prime } \sim q _ { \phi } ( x ^ { \prime } | h ^ { \prime } )$ ;
|
| 74 |
+
2. Starting from $\left( x ^ { \prime } , h ^ { \prime } \right) = z ^ { ( 0 ) }$ , run finite steps of SGLD/SGHMC $( l = 1 , \cdots , L )$ to obtain $( x , h ) = z ^ { ( L ) }$ , which we call sample revision, according to Eq. (11)/(12).
|
| 75 |
+
Return $( x , h )$ .
|
| 76 |
+
|
| 77 |
+
in Algorithm 2. In sample revision, the calculation of the gradient w.r.t. $h$ , $\begin{array} { r } { \frac { \partial } { \partial h } \log p ( z ; \lambda ) = } \end{array}$ $\begin{array} { r } { \frac { \partial } { \partial h } \log q _ { \phi } ( h | x ) = \frac { \partial } { \partial h } \log q _ { \phi } ( h , x ) } \end{array}$ , is straightforward. For the gradient w.r.t. $x$ ∂h , we have
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\frac { \partial } { \partial x } \log p ( z ; \lambda ) = \frac { \partial } { \partial x } \log p _ { \theta } ( x ) + \frac { \partial } { \partial x } \log q _ { \phi } ( h , x ) - \frac { \partial } { \partial x } \log q _ { \phi } ( x ) \approx \frac { \partial } { \partial x } \log p _ { \theta } ( x ) .
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
The reason is that $\begin{array} { r } { \frac { \partial } { \partial x } \log q _ { \phi } ( x ) } \end{array}$ can be approximated by an unbiased estimate, as proved in Proposition 2 in the Supplement:
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\frac { \partial } { \partial x } \log q _ { \phi } ( x ) \approx \frac { \partial } { \partial x } \log q _ { \phi } ( h , x ) .
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
Therefore, we can use can apply Theorem 1 i $\textstyle { \frac { \partial } { \partial x } } \log p _ { \theta } ( x ) ^ { 6 }$ as an unbiased estimate of the gradienent with tractable gradients w.r.t. both $\begin{array} { r } { \frac { \partial } { \partial x } \log p ( z ; \lambda ) } \end{array}$ , and we $x$ $h$
|
| 90 |
+
|
| 91 |
+
Remarks. Intuitively, the generator gives a proposal $( x ^ { \prime } , h ^ { \prime } )$ , and then the system follows the gradients of $p _ { \theta } ( x )$ and $q _ { \phi } ( h , x )$ (w.r.t. $x$ and $h$ respectively) to revise $( x ^ { \prime } , h ^ { \prime } )$ to $( x , h )$ . The gradient terms pull samples moving to low energy region of the random field and adjust the latent code of the generator, while the noise term brings randomness. In this manner, we obtain Markov chain samples from $p _ { \theta } ( x ) q _ { \phi } ( h | x )$ . Note that finite steps in sample revision will produce biased estimates of the gradients $\nabla _ { \theta }$ and $\nabla _ { \phi }$ in Eq. (5). We did not find this to pose problems to the SGD optimization in practice, as similarly found in Bornschein $\&$ Bengio (2015) and Kuleshov & Ermon (2017), which work with biased gradient estimators.
|
| 92 |
+
|
| 93 |
+
# 2.3 SEMI-SUPERVISED LEARNING WITH INCLUSIVE NRFS
|
| 94 |
+
|
| 95 |
+
In the following, we apply our inclusive-NRF approach in the SSL setting to show its flexibility. Note that different models are needed in unsupervised and semi-supervised learning, because SSL needs to additionally consider labels apart from observations.
|
| 96 |
+
|
| 97 |
+
Model definition. In semi-supervised tasks, we consider the following RF for joint modeling of observation $x \in \mathbb { R } ^ { d _ { x } }$ and class label $y \in \{ 1 , \cdots , K \}$ :
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
p _ { \theta } ( x , y ) = \frac { 1 } { Z ( \theta ) } \exp \left[ u _ { \theta } ( x , y ) \right]
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
which is different from Eq.1 for unsupervised learning without labels. To implement the potential function $u _ { \boldsymbol { \theta } } ( \boldsymbol { x } , \boldsymbol { y } )$ , we consider a neural network $\Phi _ { \theta } ( x ) \backslash \mathbb { R } ^ { d _ { x } } \mathbb { R } ^ { K }$ , with $x$ as the input and the output size being equal to the number of class labels, $K$ . Then we define $u _ { \theta } ( x , y ) = o n e \bar { h } o t ( y ) ^ { T } \Phi _ { \theta } ( x )$ , where onehot $( y )$ represents the one-hot encoding vector for the label $y$ . In this manner, the conditional density $p _ { \theta } ( y | x )$ is the classifier, defined as follows:
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
p _ { \theta } ( y | x ) = \frac { p _ { \theta } ( x , y ) } { p _ { \theta } ( x ) } = \frac { \exp \left[ u _ { \theta } ( x , y ) \right] } { \sum _ { y } \exp \left[ u _ { \theta } ( x , y ) \right] }
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
which acts like multi-class logistic regression using $K$ logits calculated from $x$ by the neural network $\Phi _ { \theta } ( x )$ . And we do not need to calculate $Z ( \theta )$ for classification. The auxiliary generator is implemented the same as in Eq. 3, i.e. an unconditional generator.
|
| 110 |
+
|
| 111 |
+
With the definition the joint density in Eq. 7, it can be shown that, with abuse of notation, the marginal density $\begin{array} { r } { p _ { \theta } ( x ) = \frac { 1 } { Z ( \theta ) } \exp \left[ u _ { \theta } ( x ) \right] } \end{array}$ where $\begin{array} { r } { u _ { \theta } ( x ) \triangleq l o g \sum _ { y } \exp { [ u _ { \theta } ( x , y ) ] } } \end{array}$ .
|
| 112 |
+
|
| 113 |
+
Model learning. Suppose that among the data $\mathcal { D } = \{ \tilde { x } _ { 1 } , \cdot \cdot \cdot , \tilde { x } _ { n } \}$ , only a small subset of the observations, for example the first $m$ observations, have class labels, $m \ll n$ . Denote these labeled data as $\mathcal { L } = \{ ( \tilde { x } _ { 1 } , \tilde { y } _ { 1 } ) , \cdot \cdot \cdot , ( \tilde { x } _ { m } , \tilde { y } _ { m } ) \}$ . Then we can formulate the semi-supervised learning as jointly optimizing
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\left\{ \begin{array} { l l } { \displaystyle { \operatorname* { m i n } _ { \theta } K L \left[ \tilde { p } ( \tilde { x } ) | | p _ { \theta } ( \tilde { x } ) \right] - \alpha _ { d } \sum _ { ( \tilde { x } , \tilde { y } ) \sim \mathcal { L } } l o g p _ { \theta } ( \tilde { y } | \tilde { x } ) } } \\ { \displaystyle { \operatorname* { m i n } _ { \phi } K L \left[ p _ { \theta } ( x ) | | q _ { \phi } ( x ) \right] } } \end{array} \right.
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
which are defined by hybrids of generative and discriminative criteria, similar to Zhu (2006); Larochelle et al. (2012); Kingma et al. (2014). The hyper-parameter $\alpha _ { d }$ controls the relative weight between generative and discriminative criteria. Similar to deriving Eq. (5), it can be easily seen that the gradients w.r.t. $\theta$ and $\phi$ (to be ascended) are defined as follows:
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
\left\{ \begin{array} { l l } { \nabla _ { \theta } ^ { \mathrm { s e m i } } = E _ { \tilde { p } ( \tilde { x } ) } \left[ \nabla _ { \theta } l o g p _ { \theta } ( \tilde { x } ) \right] + \alpha _ { d } \displaystyle \sum _ { ( \tilde { x } , \tilde { y } ) \sim \mathcal { L } } \nabla _ { \theta } l o g p _ { \theta } ( \tilde { y } | \tilde { x } ) } \\ { \quad \quad \quad } \\ { \quad \quad \quad = E _ { \tilde { p } ( \tilde { x } ) } \left[ \nabla _ { \theta } u _ { \theta } ( \tilde { x } ) \right] - E _ { p _ { \theta } ( x ) } \left[ \nabla _ { \theta } u _ { \theta } ( x ) \right] + \alpha _ { d } \displaystyle \sum _ { ( \tilde { x } , \tilde { y } ) \sim \mathcal { L } } \nabla _ { \theta } l o g p _ { \theta } ( \tilde { y } | \tilde { x } ) } \\ { \quad \quad \quad } \\ { \nabla _ { \phi } ^ { \mathrm { s e m i } } = E _ { p _ { \theta } ( x ) } \left[ \nabla _ { \phi } l o g q _ { \phi } ( x ) \right] = E _ { p _ { \theta } ( x ) q _ { \phi } ( h | x ) } \left[ \nabla _ { \phi } l o g q _ { \phi } ( x , h ) \right] } \end{array} \right.
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
In practice, we calculate noisy gradient estimators, and apply minibatch based stochastic gradient descent (SGD) to solve the optimization problem Eq. (9), as shown in Algorithm 3 in the Supplement. Apart from the basic losses as shown in Eq. (9), there are some regularization losses that are found to be helpful to guide SSL learning and are presented in the Supplement. To conclude, we show that the inclusive-NRF can be easily applied to SSL. To the best of our knowledge, there are no priori studies in applying random fields to SSL. The semi-supervised inclusive-NRF model defined above is novel itself for SSL.
|
| 126 |
+
|
| 127 |
+
# 3 RELATED WORK
|
| 128 |
+
|
| 129 |
+
Comparison and connection of our inclusive-NRF approach with existing studies are provided in the following from three perspectives.
|
| 130 |
+
|
| 131 |
+
Learning NRFs with auxiliary generators. These studies are most relevant to this work, which aims to learn NRFs. The classic method for learning RFs is the SML method (Younes, 1989), which works with the single target model $p _ { \theta }$ . Compared to learning traditional RFs which mainly use linear potential functions, learning NRFs which use NN based nonlinear potential functions, is more challenging. A recent progress in learning NRFs as studied in $\mathrm { K i m } \ \&$ Bengio (2016); Xie et al. (2016); Wang & Ou (2017); Kuleshov & Ermon (2017) is to jointly train the target random field $p _ { \theta } ( x )$ and an auxiliary generator $q _ { \phi } ( x )$ . Different studies differ in the objective functions used in the joint training, and thus have different computational and statistical properties.
|
| 132 |
+
|
| 133 |
+
• It is shown in Proposition 3 in the Supplement that learning in Kim & Bengio (2016) minimizes the exclusive-divergence $K \bar { L } [ q _ { \phi } | | p _ { \theta } ]$ w.r.t. $\phi$ , which involves the intractable entropy term and tends to enforce the generator to seek modes, yielding missing modes. We refer to this approach as exclusive-NRF. Learning in Wang & Ou (2017) and in this paper minimizes the inclusive-divergence $K L [ p _ { \theta } | | \bar { q } _ { \phi } ]$ w.r.t. $\phi$ . But noticeably, this paper presents our innovation in development of NRFs for continuous data, which is fundamentally different from Wang & Ou (2017) for discrete data. The target NRF model, the generator and the sampler are all different. Wang & Ou (2017) mainly studies random field language models, using LSTM generators (autoregressive with no latent variables) and employing Metropolis independence sampler (MIS) - applicable for discrete data (natural sentences). In this paper, we mainly develop random field models for continuous data (images), using latent-variable generators and utilizing SGLD/SGHMC (with solid theoretical examination) to exploit gradient information in the continuous space.
|
| 134 |
+
• In Xie et al. (2016), motivated by interweaving maximum likelihood training of the random field $p _ { \theta }$ and the latent-variable generator $q _ { \phi }$ , a joint training method is introduced.
|
| 135 |
+
|
| 136 |
+
Operationally, in learning $\theta$ and $\phi$ , this method also uses Langevin sampling to generate samples. Two Langevin sampling steps are intuitively interleaved according to $\begin{array} { r } { \frac { \partial } { \partial x } \operatorname* { l o g } p _ { \theta } ( x ) \ } \end{array}$ and $\begin{array} { r } { \frac { \partial } { \partial h } \log q _ { \phi } ( h , x ) } \end{array}$ separately. This is different from our sampling step, which moves $( h , x )$ jointly, as theoretically justified in section 2.2. Let $r ( h , x )$ denote the distribution obtained by running the interleaved Langevin transitions starting from $( h , x ) \sim q _ { \phi } ( h , x )$ . Interpretation presented in Xie et al. (2016) relates their method to the following joint optimization problem:
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\left\{ \begin{array} { l l } { \underset { \theta } { \operatorname* { m i n } } \left\{ K L \left[ \tilde { p } ( \tilde { x } ) | | p _ { \theta } ( \tilde { x } ) \right] - K L \left[ r ( h , x ) | | p _ { \theta } ( x ) \right] \right\} } \\ { \underset { \phi } { \operatorname* { m i n } } K L \left[ r ( h , x ) | | q _ { \phi } ( h , x ) \right] } \end{array} \right.
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
which is also different from ours as shown in Eq. (4). Thus, learning in Xie et al. (2016) does not aim to minimize the inclusive-divergence $K L [ p _ { \theta } | | q _ { \phi } ]$ w.r.t. $\phi$ .
|
| 143 |
+
|
| 144 |
+
• Learning in Kuleshov & Ermon (2017) minimizes the $\chi ^ { 2 }$ -divergence $\chi ^ { 2 } [ q _ { \phi } | | p _ { \theta } ] \triangleq$ $\int { \frac { \left( p _ { \theta } - q _ { \phi } \right) ^ { 2 } } { q _ { \phi } } }$ w.r.t. $\phi$ , which also tends to drive the generator to cover modes. But this approach is severely limited by the high variance of the gradient estimator w.r.t. $\phi$ , and is only tested on the simpler MNIST and Omniglot.
|
| 145 |
+
|
| 146 |
+
Additionally, different NRF studies also differ in models used in the joint training. For example, the target NRF used in this work is different from those in previous studies Kim & Bengio (2016); Wang & Ou (2017); Xie et al. (2016). The differences are: Kim & Bengio (2016) includes linear and squared terms in $u _ { \theta } ( x )$ , Wang & Ou (2017) defines over sequences, and Xie et al. (2016) defines in the form of exponential tilting of a reference distribution (Gaussian white noise). There exist different choices for the generator, such as GAN models in Kim & Bengio (2016), LSTMs in Wang & Ou (2017), or latent-variable models in both Xie et al. (2016) and this work. All are easy to do sampling.
|
| 147 |
+
|
| 148 |
+
Moreover, all the previous NRF studies examine unsupervised learning, and none shows application or extension of their methods or models for semi-supervised learning.
|
| 149 |
+
|
| 150 |
+
Monte Carlo sampling. One step in our inclusive-NRF approach is to apply SGLD/SGHMC to draw samples from the target density $p _ { \theta }$ , starting from the proposal sample from the generator. Theoretically, improvements in NRF sampling methods could be potentially integrated into NRF learning algorithms. For example, it is recently studied in Levy et al. (2018) to learn MCMC transition kernels, also parameterized by neural networks, to improve the HMC sampling from the given target distribution. Integration into learning NRFs is interesting but outside the scope of this paper.
|
| 151 |
+
|
| 152 |
+
Comparison and connection with GANs. On the one hand, there are some efforts that aim to address the inability of GANs to provide sensible energy estimates for samples. The energy-based GANs (Zhao et al., 2017) proposes to view the discriminator as an energy function by designing an auto-encoder discriminator. The recent work in Dai et al. (2017a) connects Zhao et al. (2017) and Kim & Bengio (2016), and show another two approximations for the entropy term. However, it is known that as the generator converges to the true data distribution, the GAN discriminator converges to a degenerate uniform solution. This basically afflicts the GAN discriminator to provide density information, though there are some modifications. In contrast, our inclusive-NRFs, unlike GANs, naturally provide (unnormalized) density estimate. Moreover, none of the above energy-related GAN studies examine their methods or models for SSL, except in EBGAN which performs moderately.
|
| 153 |
+
|
| 154 |
+
On the other hand, there are interesting connections between inclusive-NRFs and GANs, as elaborated in section 11 in the Supplement. When interpreting the potential function $u _ { \theta } ( x )$ as the critic in Wasserstein GANs, inclusive-NRFs seem to be similar to Wasserstein GANs. A difference is that in optimizing $\theta$ in inclusive-NRFs, the generated samples are further revised by taking finite-stepgradient of $u _ { \theta } ( x )$ w.r.t. $x$ . However, the critic in Wasserstein GANs can hardly be interpreted as an unnormalized log-density. Thus strictly speaking, inclusive-NRFs are not GAN-like.
|
| 155 |
+
|
| 156 |
+
# 4 EXPERIMENTS
|
| 157 |
+
|
| 158 |
+
We conduct a series of experiments to evaluate the performances of our approach (inclusive-NRFs) and various existing methods on synthetic and real-world datasets for both unsupervised and semisupervised learning tasks, with both visual and numerical evaluation. We refer to the Supplement for experimental details and additional results.
|
| 159 |
+
|
| 160 |
+

|
| 161 |
+
Figure 1: Comparison of different methods over GMM synthetic data. Stochastic generations from GAN with logD trick, WGAN-GP, Exclusive-NRF, Inclusive-NRF generation (i.e. sampling from the auxiliary generator) and Inclusive-NRF revision (i.e. after performing sample revision over samples from the auxiliary generator), are shown in (b)-(f) respectively. Inclusive-NRF generation and inclusive-NRF revision are two manners to generate samples, given a trained NRF. For both manners, the NRF model is trained with the sample revision step. Each generation contains 1,000 samples. The learned potentials $u _ { \theta } ( x )$ from exclusive and inclusive NRFs are shown in (g) and (h) respectively, where the red dots indicate the mean of each Gaussian component. Inclusive NRFs are clearly superior in learning data density and sample generation.
|
| 162 |
+
|
| 163 |
+
# 4.1 GMM SYNTHETIC EXPERIMENT
|
| 164 |
+
|
| 165 |
+
The synthetic data consist of 1,600 training examples generated from a 2D Gaussian mixture model (GMM) with 32 equally-weighted, low-variance $\mathit { \check { \sigma } } = 0 . 1$ ) Gaussian components, uniformly laid out on four concentric circles as in Figure 1(a). The data distribution exhibits many modes separated by large low-probability regions, which makes it suitable to examine how well different learning methods can deal with multiple modes. For comparison, we experiment with GAN with logD trick (Goodfellow et al., 2014) and WGAN-GP (Gulrajani et al., 2017) for directed generative model, exclusive-NRF (Kim & Bengio, 2016) and inclusive-NRF for undirected generative model.
|
| 166 |
+
|
| 167 |
+
Figure 1 visually shows the generated samples from the trained models using different methods. Table 1 reports the “covered modes” and “realistic ratio” as numerical measures of how the multi-modal data are fitted, similarly as in Dumoulin et al. (2017). The main observations are as follows. (1) GAN suffers from mode missing, generating realistic but not diverse samples. WGAN-GP increases “covered modes” but decreases “realistic ratio”. Inclusive-NRF performs much better than both GAN and WGAN-GP in sample generation. (2) Inclusive-NRF outperforms exclusive-NRF in both sample generation and density estimation. (3) After revision, samples from inclusive-NRF become more like real samples, achieving the best in both “covered modes" and “realistic ratio” metrics.
|
| 168 |
+
|
| 169 |
+
# 4.2 IMAGE GENERATION ON CIFAR-10
|
| 170 |
+
|
| 171 |
+
We examine both unsupervised and supervised learning over the widely used real-world dataset CIFAR-10 Krizhevsky (2009) for image generation. To evaluate generation quality quantitatively, we use inception score (IS) Salimans et al. (2016), and Frechet inception distance (FID) Heusel et al. (2017). Table 2 reports the inception score and FID for state of the art methods, for both unsupervised and supervised settings. The supervised learning of inclusive-NRF is conducted as a special case of semi-supervised learning over all labeled images $m = n$ ), which uses unconditional generation. We use ResNet in this experiment, see section 12.2 in the Supplement for experimental details.
|
| 172 |
+
|
| 173 |
+
Table 1: Numerical evaluations over the GMM (32 components) synthetic data. The “covered modes” metric is defined as the number of covered modes by a set of generated samples. The “realistic ratio” metric is defined as the proportion of generated samples which are close to a mode. The measurement details are presented in section 12.1 in the Supplement. Mean and SD are from 10 independent runs.
|
| 174 |
+
|
| 175 |
+
<table><tr><td>Methods</td><td>covered modes</td><td>realistic ratio</td></tr><tr><td>GAN with logD trick</td><td>22.25 ± 1.54</td><td>0.90 ± 0.01</td></tr><tr><td>WGAN-GP (Gulrajani et al.,2017)</td><td>27.81 ± 1.40</td><td>0.74±0.04</td></tr><tr><td>Exclusive-NRF(Kim& Bengio,2016)</td><td>28.14±0.68</td><td>0.73 ± 0.03</td></tr><tr><td>Inclusive-NRF generation</td><td>29.52± 0.54</td><td>0.84± 0.01</td></tr><tr><td>Inclusive-NRF revision</td><td>30.75 ± 0.43</td><td>0.97 ± 0.01</td></tr></table>
|
| 176 |
+
|
| 177 |
+
Table 2: Inception score (IS) and FID on CIFAR-10 for unsupervised and supervised learning.
|
| 178 |
+
|
| 179 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">Unsupervised</td><td colspan="2">Supervised</td></tr><tr><td>IS</td><td>FID</td><td>IS</td><td>FID</td></tr><tr><td>DCGAN (Radford et al., 2015)</td><td>6.16 ± 0.07</td><td></td><td>6.58</td><td></td></tr><tr><td>Improved-GAN (Salimans et al., 2016)</td><td></td><td></td><td>8.09 ±0.07</td><td></td></tr><tr><td>WGAN-GP (Gulrajani et al., 2017)</td><td>7.86 ± 0.07</td><td></td><td>8.42 ±0.10</td><td></td></tr><tr><td>SGAN (Huang et al., 2017)</td><td></td><td></td><td>8.59 ± 0.12</td><td></td></tr><tr><td>DFM(Warde-Farley & Bengio,2017)</td><td>7.72 ± 0.13</td><td></td><td></td><td></td></tr><tr><td>CT-GAN (Wei et al., 2018)</td><td>8.12 ±0.12</td><td></td><td>8.81 ± 0.13</td><td></td></tr><tr><td>Fisher-GAN (Mroueh & Sercu,2017)</td><td>7.90 ± 0.05</td><td></td><td>8.16 ± 0.12</td><td></td></tr><tr><td>BWGAN (Adler & Lunz, 2018)</td><td>8.26 ± 0.07</td><td></td><td></td><td></td></tr><tr><td>SNGAN (Miyato et al., 2018)</td><td>8.22 ± 0.05</td><td>21.7 ± 0.21</td><td></td><td></td></tr><tr><td>Inclusive-NRF generation</td><td>8.28 ± 0.09</td><td>20.9 ±0.25</td><td>9.06 ± 0.10</td><td>18.1 ± 0.23</td></tr></table>
|
| 180 |
+
|
| 181 |
+
From the comparison results in Table 2, it can be seen that the proposed inclusive-NRF model achieves the best inception score over CIFAR-10, to the best of our knowledge, in both unsupervised and supervised settings. Some generated samples are shown in Figure 5(c)(d) for unsupervised and supervised settings respectively. We also show in the Supplement the capability of inclusive-NRFs in latent space interpolation (section 14) and conditional generation (section 15).
|
| 182 |
+
|
| 183 |
+
# 4.3 SEMI-SUPERVISED LEARNING RESULTS
|
| 184 |
+
|
| 185 |
+
For semi-supervised learning, we consider the three widely used benchmark datasets, namely MNIST (LeCun et al., 1998), SVHN (Netzer et al., 2011), and CIFAR-10 (Krizhevsky, 2009). As in previous work, we randomly sample 100, 1,000, and 4,000 labeled samples from MNIST, SVHN, and CIFAR10 respectively during training, and use the standard data split for testing. See section 12.3 in the Supplement for experimental details. We also provide a SSL toy experiment in section 13 in the Supplement to help understanding how semi-supervised inclusive-NRF works.
|
| 186 |
+
|
| 187 |
+
It can be seen from Table 3 that semi-supervised inclusive-NRFs produce strong classification results on par with state-of-art DGM-based SSL methods. See Figure 5(a)(b) in the Supplement for generated samples. Bad-GANs achieve better classification results, but as indicated by the low inception score, their generation is much worse than semi-NRF-IAGs. In fact, among DGM-based SSL methods, inclusive-NRFs achieve the best performance in sample generation. This is in contrast to the conflict of good classification and good generation, as observed in GAN-based SSL (Salimans et al., 2016; Dai et al., 2017b). It is analyzed in Dai et al. (2017b) that good GAN-based SSL requires a bad generator7. This is embarrassing and in fact obviates the original idea of generative SSL - successful generative training, which indicates good generation, provides regularization for finding good classifiers (Zhu, 2006; Larochelle et al., 2012). In this sense, Bad-GANs could hardly be classified as a generative SSL method.
|
| 188 |
+
|
| 189 |
+
Table 3: Comparison with state-of-the-art methods on three benchmark datasets. “CIFAR-10 IS” means the inception score for samples generated by SSL models trained on CIFAR-10. “†” is obtained by running the released code accompanied by the corresponding papers. “-” means the results are not reported in the original work and without released code. “/” means not applicable, e.g. the models cannot generate samples stochastically. “ $\ddag ^ { \prime \prime }$ uses image data augmentation which significantly helps classification performance. The upper/lower blocks show generative/discriminative SSL methods respectively.
|
| 190 |
+
|
| 191 |
+
<table><tr><td>Methods</td><td>error (%) MNIST</td><td>error (%) SVHN</td><td>error (%) CIFAR-10</td><td>IS CIFAR-10</td></tr><tr><td>CatGAN (Springenberg,2016)</td><td>1.91 ± 0.10</td><td></td><td>19.58 ± 0.46</td><td>3.57± 0.13†</td></tr><tr><td>SDGM (Maaloe et al., 2016)</td><td>1.32 ± 0.07</td><td>16.61 ± 0.24</td><td></td><td>1</td></tr><tr><td>Ladder network (Rasmus et al.,2015)</td><td>1.06 ± 0.37</td><td></td><td>20.40 ± 0.47</td><td>/</td></tr><tr><td>ADGM (Maaloe et al., 2016)</td><td>0.96 ± 0.02</td><td>22.86</td><td>1</td><td>-</td></tr><tr><td>Improved-GAN (Salimans et al.,2016)</td><td>0.93 ± 0.07</td><td>8.11 ±1.3</td><td>18.63 ± 2.32</td><td>3.87± 0.03</td></tr><tr><td>EBGAN (Zhao et al.,2017)</td><td>1.04 ± 0.12</td><td>-</td><td>=</td><td>-</td></tr><tr><td>ALI (Dumoulin et al., 2017)</td><td></td><td>7.42 ± 0.65</td><td>17.99 ± 1.62</td><td></td></tr><tr><td>Triple-GAN (Li et al., 2017)</td><td>0.91 ± 0.58</td><td>5.77 ± 0.17</td><td>16.99 ± 0.36</td><td>5.08 ±0.09</td></tr><tr><td>Triangle-GAN (Gan et al., 2017)</td><td></td><td>-</td><td>16.80 ±0.42</td><td>=</td></tr><tr><td>BadGAN (Dai et al., 2017b)</td><td>0.80 ± 0.10</td><td>4.25 ± 0.03</td><td>14.41 ± 0.30</td><td>3.46 ± 0.11†</td></tr><tr><td>Sobolev-GAN (Mroueh et al., 2018)</td><td>=</td><td></td><td>15.77 ± 0.19</td><td></td></tr><tr><td>Semi-supervised inclusive-NRF</td><td>0.97 ± 0.10</td><td>5.84 ±0.15</td><td>15.12 ± 0.36</td><td>7.72 ± 0.09</td></tr><tr><td colspan="5">Results below this line cannot be directly compared to those above.</td></tr><tr><td>VAT small (Miyato et al., 2017)</td><td>1.36</td><td>6.83</td><td>14.87</td><td>/</td></tr><tr><td>II model‡ (Laine & Aila,2017)</td><td>-</td><td>4.82 ± 0.17</td><td>12.36 ± 0.31</td><td></td></tr><tr><td>Temporal Ensembling‡ (Laine & Aila,2017)</td><td></td><td>4.42 ± 0.16</td><td>12.16 ± 0.31</td><td>/</td></tr><tr><td>Mean Teacher‡ (Tarvainen& Valpola,2017)</td><td></td><td>3.95 ±0.19</td><td>12.31 ±0.28</td><td>/</td></tr><tr><td>VAT+EntMin‡ (Miyato et al.,2017)</td><td></td><td>3.86</td><td>10.55</td><td>/</td></tr><tr><td>CT-GAN‡ (Wei et al., 2018)</td><td>0.89 ± 0.13</td><td>-</td><td>9.98 ± 0.21</td><td>/</td></tr></table>
|
| 192 |
+
|
| 193 |
+
Finally, note that some discriminative SSL methods, as listed in the lower block in Table 3 also produce superior performances, by utilizing data augmentation and consistency regularization. However, these methods are unable to generate (realistic) samples. It can be seen that discriminative SSL methods utilize different regularization from generative SSL methods and cannot be directly compared to generative SSL methods. Their combination, as an interesting future work, could yield further performance improvement.
|
| 194 |
+
|
| 195 |
+
# 4.4 ABLATION STUDY
|
| 196 |
+
|
| 197 |
+
We report the results of ablation study of our inclusive-NRF method on CIFAR-10 in Table 4. In this experiment, we use the standard CNN (Miyato et al., 2018) for unsupervised learning and the same networks as those used in Table 3 for semi-supervised learning. See section 12.4 in the Supplement for experimental details. We analyze the effects of different settings in model training, such as using SGLD or SGHMC and the revision step $L = 1 / 5 / 1 0$ used. For each training setting, we also compare the two manners to generate samples - whether applying sample revision or not in inference (generating samples) given a trained NRF, as previously illustrated in Figure 1 over synthetic GMM data. The main observations are as follows.
|
| 198 |
+
|
| 199 |
+
First, given a trained NRF, after revision (i.e. following the gradient of the RF’s potential $u _ { \theta } ( x )$ w.r.t. $x$ ), the quality (IS) of samples is always improved, as shown by the consistent IS improvement from the second column (generation) to the third (revision). This is in accordance with the results in the GMM synthetic experiments. Moreover, noting that in revision, it is the the estimated density $p _ { \theta }$ that guides the samples towards low energy region of the random field. This demonstrates one benefit of random field modeling, which, unlike GANs, can learn density estimate about the data manifold.
|
| 200 |
+
|
| 201 |
+
Second, a row-wise reading of Table 4 reveals that with more revision steps and using SGHMC in training, the SSL classification performance is improved. Utilizing SGHMC in inclusive-NRFs to exploit gradient information with momentum yields better performance than simple SGLD as used in Xie et al. (2016). It is also found that more revision steps in model training do not significantly improve unsupervised IS. So we can use $L = 1$ in unsupervised learning for generation, which can reduce the computational cost.
|
| 202 |
+
|
| 203 |
+
Table 4: Ablation study of our inclusive-NRF method on CIFAR-10, regarding the effects of using SGLD or SGHMC in training and of applying sample revision in inference (generating samples). Mean and SD are from 5 independent runs for each training setting. In each training setting, for unsupervised learning, two manners to generate samples given a trained NRF are compared, as previously illustrated in Figure 1 over synthetic GMM data. We examine generated samples (i.e. directly from the generator) and revised samples (i.e. after sample revision) respectively, in term of inception scores (IS). For semi-supervised learning, we examine the classification error rates.
|
| 204 |
+
|
| 205 |
+
<table><tr><td rowspan="2">Training Setting</td><td colspan="2">Unsupervised</td><td rowspan="2">Semi-supervised error (%)</td></tr><tr><td>Generation IS</td><td>Revision IS</td></tr><tr><td>SGLD L =1</td><td>7.47 ± 0.15</td><td>7.53 ± 0.13</td><td>17.08 ± 0.39</td></tr><tr><td>SGLD L = 5</td><td>7.44± 0.16</td><td>7.49 ± 0.12</td><td>16.15 ± 0.44</td></tr><tr><td>SGLD L = 10</td><td>7.43 ± 0.18</td><td>7.50 ± 0.13</td><td>15.60 ± 0.31</td></tr><tr><td>SGHMC L = 10</td><td>7.46 ± 0.12</td><td>7.57 ± 0.10</td><td>15.12 ± 0.36</td></tr></table>
|
| 206 |
+
|
| 207 |
+
# 5 DISCUSSION AND CONCLUSION
|
| 208 |
+
|
| 209 |
+
In this paper we develop the inclusive-NRF approach, which learns NRFs with inclusive auxiliary generators and particularly for continuous data, exploits gradient information in model sampling with solid theoretical examination. Extensive empirical evaluations show that inclusive-NRFs obtain state-of-the-art sample generation quality and achieve strong semi-supervised learning results on par with state-of-the-art DGMs. The superior performances presumably are attributed to the two distinctive features in inclusive-NRFs - introducing the inclusive-divergence minimized auxiliary generator and utilizing sample revision by SGLD/SGHMC. Intuitively, the revised samples from the RF will guide the training of the generator, and subsequently the generator will propose samples for the RF to sense the data manifold. This forms positive interactions between the random field and the generator, which enables successful joint training of both models.
|
| 210 |
+
|
| 211 |
+
The new approach enables us to flexibly use NRFs in unsupervised, supervised and semi-supervised settings and successfully train them in a black-box manner. Interesting future work will consider inclusive-NRFs in more challenging tasks, e.g. unsupervised and semi-supervised learning with sequential data (e.g. speech, language, video, etc.).
|
| 212 |
+
|
| 213 |
+
# REFERENCES
|
| 214 |
+
|
| 215 |
+
Jonas Adler and Sebastian Lunz. Banach wasserstein gan. arXiv preprint arXiv:1806.06621, 2018.
|
| 216 |
+
|
| 217 |
+
Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial networks. In ICML, 2017.
|
| 218 |
+
|
| 219 |
+
Jörg Bornschein and Yoshua Bengio. Reweighted wake-sleep. In ICML, 2015.
|
| 220 |
+
|
| 221 |
+
Tianqi Chen, Emily Fox, and Carlos Guestrin. Stochastic gradient hamiltonian monte carlo. In ICML, 2014.
|
| 222 |
+
|
| 223 |
+
Jifeng Dai, Yang Lu, and Ying-Nian Wu. Generative modeling of convolutional neural networks. arXiv preprint arXiv:1412.6296, 2014.
|
| 224 |
+
|
| 225 |
+
Zihang Dai, Amjad Almahairi, Philip Bachman, Eduard Hovy, and Aaron Courville. Calibrating energy-based generative adversarial networks. In ICLR, 2017a.
|
| 226 |
+
|
| 227 |
+
Zihang Dai, Zhilin Yang, Fan Yang, William W Cohen, and Ruslan R Salakhutdinov. Good semi-supervised learning that requires a bad gan. In NIPS, 2017b.
|
| 228 |
+
|
| 229 |
+
Vincent Dumoulin, Ishmael Belghazi, Ben Poole, Olivier Mastropietro, Alex Lamb, Martin Arjovsky, and Aaron Courville. Adversarially learned inference. In ICLR, 2017.
|
| 230 |
+
|
| 231 |
+
Zhe Gan, Liqun Chen, Weiyao Wang, Yuchen Pu, Yizhe Zhang, Hao Liu, Chunyuan Li, and Lawrence Carin. Triangle generative adversarial networks. In NIPS, 2017.
|
| 232 |
+
|
| 233 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014.
|
| 234 |
+
|
| 235 |
+
Ishaan Gulrajani, Faruk Ahmed, Martín Arjovsky, Vincent Dumoulin, and Aaron C. Courville. Improved training of wasserstein gans. In NIPS, 2017.
|
| 236 |
+
|
| 237 |
+
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In NIPS, 2017.
|
| 238 |
+
|
| 239 |
+
Geoffrey E Hinton, Peter Dayan, Brendan J Frey, and Radford M Neal. The "wake-sleep" algorithm for unsupervised neural networks. Science, 268(5214):1158–1161, 1995.
|
| 240 |
+
|
| 241 |
+
Xun Huang, Yixuan Li, Omid Poursaeed, John Hopcroft, and Serge Belongie. Stacked generative adversarial networks. In CVPR, 2017.
|
| 242 |
+
|
| 243 |
+
Taesup Kim and Yoshua Bengio. Deep directed generative models with energy-based probability estimation. In ICLR Workshop, 2016.
|
| 244 |
+
|
| 245 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In ICLR, 2014.
|
| 246 |
+
|
| 247 |
+
Diederik P. Kingma, Danilo Jimenez Rezende, Shakir Mohamed, and Max Welling. Semi-supervised learning with deep generative models. In NIPS, 2014.
|
| 248 |
+
|
| 249 |
+
Daphne Koller and Nir Friedman. Probabilistic graphical models: principles and techniques. MIT press, 2009.
|
| 250 |
+
|
| 251 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
|
| 252 |
+
|
| 253 |
+
Volodymyr Kuleshov and Stefano Ermon. Neural variational inference and learning in undirected graphical models. In NIPS, 2017.
|
| 254 |
+
|
| 255 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017.
|
| 256 |
+
|
| 257 |
+
Hugo Larochelle, Michael I Mandel, Razvan Pascanu, and Yoshua Bengio. Learning algorithms for the classification restricted boltzmann machine. Journal of Machine Learning Research, 13(1):643–669, 2012.
|
| 258 |
+
|
| 259 |
+
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 260 |
+
|
| 261 |
+
Yann LeCun, Sumit Chopra, Raia Hadsell, M Ranzato, and F Huang. A tutorial on energy-based learning. Predicting structured data, 2006.
|
| 262 |
+
|
| 263 |
+
Daniel Levy, Matthew D. Hoffman, and Jascha Sohl-Dickstein. Generalizing hamiltonian monte carlo with neural networks. In ICLR, 2018.
|
| 264 |
+
|
| 265 |
+
Chongxuan Li, Taufik Xu, Jun Zhu, and Bo Zhang. Triple generative adversarial nets. In NIPS, 2017.
|
| 266 |
+
|
| 267 |
+
Xuanqing Liu and Cho-Jui Hsieh. From adversarial training to generative adversarial networks. arXiv preprint arXiv:1807.10454, 2018.
|
| 268 |
+
|
| 269 |
+
Lars Maaloe, Casper Kaae Sonderby, Soren Kaae Sonderby, and Ole Winther. Auxiliary deep generative models. In ICML, 2016.
|
| 270 |
+
|
| 271 |
+
Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. arXiv preprint arXiv:1704.03976, 2017.
|
| 272 |
+
|
| 273 |
+
Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. In ICLR, 2018.
|
| 274 |
+
|
| 275 |
+
Youssef Mroueh and Tom Sercu. Fisher gan. In NIPS, 2017.
|
| 276 |
+
|
| 277 |
+
Youssef Mroueh, Chun-Liang Li, Tom Sercu, Anant Raj, and Yu Cheng. Sobolev GAN. In ICLR, 2018.
|
| 278 |
+
|
| 279 |
+
Radford M Neal. Mcmc using hamiltonian dynamics. Handbook of Markov Chain Monte Carlo, 2011.
|
| 280 |
+
|
| 281 |
+
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.
|
| 282 |
+
|
| 283 |
+
Jiquan Ngiam, Zhenghao Chen, Wei Koh Pang, and Andrew Y. Ng. Learning deep energy models. In ICML, 2012.
|
| 284 |
+
|
| 285 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
|
| 286 |
+
|
| 287 |
+
Antti Rasmus, Harri Valpola, Mikko Honkala, Mathias Berglund, and Tapani Raiko. Semi-supervised learning with ladder networks. In NIPS, 2015.
|
| 288 |
+
|
| 289 |
+
R. Salakhutdinov and G. Hinton. Deep boltzmann machines. Journal of Machine Learning Research, 5(2):1967 – 2006, 2009.
|
| 290 |
+
|
| 291 |
+
Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In NIPS, 2016.
|
| 292 |
+
|
| 293 |
+
Jost Tobias Springenberg. Unsupervised and semi-supervised learning with categorical generative adversarial networks. In ICML, 2016.
|
| 294 |
+
|
| 295 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NIPS, 2017.
|
| 296 |
+
|
| 297 |
+
Yee Whye Teh, Alexandre H. Thiery, and Sebastian Vollmer. Consistency and fluctuations for stochastic gradient langevin dynamics. Journal of Machine Learning Research, 17:1–33, 2016.
|
| 298 |
+
|
| 299 |
+
Bin Wang and Zhijian Ou. Language modeling with neural trans-dimensional random fields. In IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), 2017.
|
| 300 |
+
|
| 301 |
+
David Warde-Farley and Yoshua Bengio. Improving generative adversarial networks with denoising feature matching. In ICLR, 2017.
|
| 302 |
+
|
| 303 |
+
Xiang Wei, Zixia Liu, Liqiang Wang, and Boqing Gong. Improving the improved training of wasserstein GANs. In ICLR, 2018.
|
| 304 |
+
|
| 305 |
+
Max Welling and Yee Whye Teh. Bayesian learning via stochastic gradient langevin dynamics. In ICML, 2011.
|
| 306 |
+
|
| 307 |
+
Jianwen Xie, Yang Lu, Song-Chun Zhu, and Ying Nian Wu. Cooperative training of descriptor and generator networks. arXiv preprint arXiv:1609.09408 [v3], 2016.
|
| 308 |
+
|
| 309 |
+
Laurent Younes. Parametric inference for imperfectly observed gibbsian fields. Probability Theory and Related Fields, 82:625–645, 1989.
|
| 310 |
+
|
| 311 |
+
Junbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial networks. In ICLR, 2017.
|
| 312 |
+
|
| 313 |
+
Xiaojin Zhu. Semi-supervised learning literature survey. Technical report, University of Wisconsin-Madison, 2006.
|
| 314 |
+
|
| 315 |
+
# Supplement for “Learning Neural Random Fields with Inclusive Auxiliary Generators”
|
| 316 |
+
|
| 317 |
+
# 6 PROOF OF PROPOSITION 1
|
| 318 |
+
|
| 319 |
+
Proposition 1. Both lines of Eq.(5) for gradient calculations hold.
|
| 320 |
+
|
| 321 |
+
Proof. The first line of Eq.(5) can be obtained by directly taking derivative of $K L [ \tilde { p } ( \tilde { x } ) | | p _ { \theta } ( \tilde { x } ) ]$ w.r.t. $\theta$ , as shown below,
|
| 322 |
+
|
| 323 |
+
$$
|
| 324 |
+
\frac { \partial } { \partial \theta } K L \left[ \tilde { p } ( \tilde { x } ) | | p _ { \theta } ( \tilde { x } ) \right] = \frac { \partial } { \partial \theta } \int \tilde { p } ( \tilde { x } ) \log \frac { \tilde { p } ( \tilde { x } ) } { p _ { \theta } ( \tilde { x } ) } d \tilde { x } = - \int \tilde { p } ( \tilde { x } ) \frac { \partial } { \partial \theta } \log p _ { \theta } ( \tilde { x } ) d \tilde { x } ,
|
| 325 |
+
$$
|
| 326 |
+
|
| 327 |
+
and then applying the basic formula of Eq. (2).
|
| 328 |
+
|
| 329 |
+
For the second line, by direct calculation, we first have
|
| 330 |
+
|
| 331 |
+
$$
|
| 332 |
+
\begin{array} { l } { E _ { q _ { \phi } ( h | x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( h | x ) \right] = \displaystyle \int q _ { \phi } ( h | x ) q _ { \phi } ( h | x ) ^ { - 1 } \nabla _ { \phi } q _ { \phi } ( h | x ) d h } \\ { \displaystyle \qquad = \int \nabla _ { \phi } q _ { \phi } ( h | x ) d h = \nabla _ { \phi } \int q _ { \phi } ( h | x ) d h = \nabla _ { \phi } 1 = 0 . } \end{array}
|
| 333 |
+
$$
|
| 334 |
+
|
| 335 |
+
Then combining $\begin{array} { r } { \frac { \partial } { \partial \phi } K L \left[ p _ { \theta } ( x ) | | q _ { \phi } ( x ) \right] = - E _ { p _ { \theta } ( x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x ) \right] } \end{array}$ and
|
| 336 |
+
|
| 337 |
+
$$
|
| 338 |
+
\begin{array} { r l } & { \nabla _ { \phi } \log q _ { \phi } ( x ) = E _ { q _ { \phi } ( h \vert x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x ) \right] = E _ { q _ { \phi } ( h \vert x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x , h ) - \nabla _ { \phi } \log q _ { \phi } ( h \vert x ) \right] } \\ & { \qquad = E _ { q _ { \phi } ( h \vert x ) } \left[ \nabla _ { \phi } \log q _ { \phi } ( x , h ) \right] . } \end{array}
|
| 339 |
+
$$
|
| 340 |
+
|
| 341 |
+
will give the second line of Eq.(5).
|
| 342 |
+
|
| 343 |
+
# 7 SGLD/SGHMC
|
| 344 |
+
|
| 345 |
+
Theorem 1. Denote the target density as $p ( z ; \lambda )$ with given $\lambda .$ . Assume that one can compute a noisy, unbiased estimate which contains al $\Delta ( z , \xi ; \lambda )$ to the gradient mness involved $\begin{array} { r } { \frac { \partial } { \partial z } \log p ( z ; \lambda ) } \end{array}$ , where ng the e $\xi$ is an auxiliaryimate, namely $E \left[ \Delta ( z , \xi ; \lambda ) \right] =$ $\begin{array} { r } { \frac { \partial } { \partial z } \log p ( z ; \lambda ) } \end{array}$ . Assume the stability Assumptions $^ { 4 }$ in Teh et al. (2016) holds.
|
| 346 |
+
|
| 347 |
+
For a sequence of asymptotically vanishing time-steps $\{ \delta \boldsymbol { { l } } , \boldsymbol { { l } } \ge 1 \}$ (satisfying $\textstyle \sum _ { l = 1 } ^ { \infty } \delta _ { l } = \infty$ and $\textstyle \sum _ { l = 1 } ^ { \infty } \delta _ { l } ^ { 2 } < \infty )$ , an i.i.d. sequence $\eta ^ { ( l ) }$ , and an independent and i.i.d. sequence $\xi _ { l }$ of auxiliary random variables, $l \geq 1$ , the SGLD iterates as follows, starting from $z ^ { ( 0 ) }$ :
|
| 348 |
+
|
| 349 |
+
$$
|
| 350 |
+
z ^ { ( l ) } = z ^ { ( l - 1 ) } + \frac { \delta _ { l } } { 2 } \Delta ( z ^ { ( l - 1 ) } , \xi _ { l } ; \lambda ) + \sqrt { \delta _ { l } } \eta ^ { ( l ) } , \eta ^ { ( l ) } \sim \mathcal { N } ( 0 , I ) , l = 1 , \cdots
|
| 351 |
+
$$
|
| 352 |
+
|
| 353 |
+
Starting from $z ^ { ( 0 ) }$ and $v ^ { ( 0 ) } = 0$ , the SGHMC iterates as follows:
|
| 354 |
+
|
| 355 |
+
$$
|
| 356 |
+
\left\{ \begin{array} { l l } { \displaystyle v ^ { ( l ) } = \beta v ^ { ( l - 1 ) } + \frac { \delta _ { l } } { 2 } \Delta ( z ^ { ( l - 1 ) } , \xi _ { l } ; \lambda ) + \sqrt { \delta _ { l } } \eta ^ { ( l ) } , \eta ^ { ( l ) } \sim \mathcal { N } ( 0 , I ) } \\ { z ^ { ( l ) } = z ^ { ( l - 1 ) } + v ^ { ( l ) } , l = 1 , \cdots } \end{array} \right.
|
| 357 |
+
$$
|
| 358 |
+
|
| 359 |
+
Then in both cases, the non-homogeneous Markov chain $\{ z ^ { ( l ) } , l \ge 1 \}$ converges to the equilibrium distribution $p ( z ; \lambda )$ .
|
| 360 |
+
|
| 361 |
+
# 8 PROOF OF PROPOSITION 2
|
| 362 |
+
|
| 363 |
+
Proposition 2. Let $z \triangleq ( x , h ) , p ( z ; \lambda ) \triangleq p _ { \theta } ( x ) q _ { \phi } ( h | x ) , \lambda \triangleq ( \theta , \phi ) ^ { T }$ in Theorem 1. The initial value $( x ^ { ( 0 ) } , h ^ { ( 0 ) } )$ is obtained from ancestral sampling by the generator. The SGLD/SGHMC as shown in Eq. $( l I ) / ( l 2 )$ iteratively generates $( x ^ { ( m ) } , h ^ { ( m ) } )$ , $m = 1 , \cdots$ . Then, $\begin{array} { r } { \frac { \partial } { \partial x ^ { ( m ) } } \log q _ { \phi } ( h ^ { ( m ) } , x ^ { ( m ) } ) } \end{array}$ is an unbiased estimate of the gradient $\frac { \partial } { \partial x ^ { ( m ) } } \log q _ { \phi } \big ( x ^ { ( m ) } \big )$ , $m = 0 , 1 , \cdots$ .
|
| 364 |
+
|
| 365 |
+
Proof. Note that Langevin dynamics and Hamiltonian dynamics are reversible Neal (2011). Thus the SGLD/SGHMC transitions Eq.(11)/(12) satisfy the detailed balance condition:
|
| 366 |
+
|
| 367 |
+
π $\tau ( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } ) K ( h ^ { ( m ) } , x ^ { ( m ) } | h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } ) = \pi ( h ^ { ( m ) } , x ^ { ( m ) } ) K ( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } | h ^ { ( m ) } , x ^ { ( m ) } ) ,$ where $\pi ( \cdot )$ denotes the target density, and $K ( \cdot | \cdot )$ denotes the transition kernel. Also note that $\begin{array} { r } { E _ { h \sim q _ { \phi } ( h | x ) } \left[ \frac { \partial } { \partial x } \log q _ { \phi } ( h , x ) \right] = \frac { \partial } { \partial x } \log q _ { \phi } ( x ) } \end{array}$ . Thus if we show that $h ^ { ( m ) }$ is indeed drawn from $q _ { \phi } ( h ^ { ( m ) } | x ^ { ( m ) } )$ during sample revision, $m = 0 , 1 , \cdots$ , then the unbiasedness will hold.
|
| 368 |
+
|
| 369 |
+
Denote by $\pi ^ { ( m ) } ( h ^ { ( m ) } , x ^ { ( m ) } )$ the state-occupation density at step $m$ . Then we need to show that $\pi ^ { ( m ) } ( h ^ { ( m ) } | x ^ { ( m ) } )$ actually follows $\pi ( h ^ { ( m ) } | x ^ { ( m ) } )$ , i.e. $q _ { \phi } ( h ^ { ( m ) } | x ^ { ( m ) } )$ , $m = 0 , 1 , \cdots$ .
|
| 370 |
+
|
| 371 |
+
First, it is obvious that this holds for $( h ^ { ( 0 ) } , x ^ { ( 0 ) } )$ . Then, we proceed by mathematical induction. Suppose $\pi ^ { ( m - 1 ) } ( h ^ { ( m - 1 ) } | x ^ { ( m - 1 ) } ) = \pi \big ( h ^ { ( m - 1 ) } | x ^ { ( m - 1 ) } \big )$ . Then we have
|
| 372 |
+
|
| 373 |
+
$$
|
| 374 |
+
\begin{array} { r l } & { \quad \pi ^ { ( m - 1 ) } ( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } ) K ( h ^ { ( m ) } , x ^ { ( m ) } | h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } ) } \\ & { = \pi ^ { ( m - 1 ) } ( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } ) \frac { \pi ( h ^ { ( m ) } , x ^ { ( m ) } ) } { \pi \left( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } \right) } K ( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } | h ^ { ( m ) } , x ^ { ( m ) } ) . } \end{array}
|
| 375 |
+
$$
|
| 376 |
+
|
| 377 |
+
Integrating out $( h ^ { ( m - 1 ) } , x ^ { ( m - 1 ) } )$ from both sides of Eq.13, we obtain
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\begin{array} { l } { \pi ^ { ( m ) } ( h ^ { ( m ) } , x ^ { ( m ) } ) = \pi ( h ^ { ( m ) } , x ^ { ( m ) } ) \displaystyle \sum _ { x ^ { ( m - 1 ) } } \frac { \pi ^ { ( m - 1 ) } ( x ^ { ( m - 1 ) } ) } { \pi ( x ^ { ( m - 1 ) } ) } K ( x ^ { ( m - 1 ) } | h ^ { ( m ) } , x ^ { ( m ) } ) } \\ { = \pi ( h ^ { ( m ) } , x ^ { ( m ) } ) \displaystyle \sum _ { x ^ { ( m - 1 ) } } \frac { \pi ^ { ( m - 1 ) } ( x ^ { ( m - 1 ) } ) } { \pi ( x ^ { ( m - 1 ) } ) } K ( x ^ { ( m - 1 ) } | x ^ { ( m ) } ) } \end{array}
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
where the second equality, i.e. $K ( x | h ^ { \prime } , x ^ { \prime } ) = K ( x | x ^ { \prime } )$ , holds because in the SGLD/SGHMC transitions Eq.(11)/(12), generating next step $x$ only depends on current $x ^ { \prime }$ and is independent of current $h ^ { \prime }$ . Then we have
|
| 384 |
+
|
| 385 |
+
$$
|
| 386 |
+
\pi ^ { ( m ) } ( h ^ { ( m ) } | x ^ { ( m ) } ) = \pi ( h ^ { ( m ) } | x ^ { ( m ) } ) \frac { \pi ( x ^ { ( m ) } ) } { \pi ^ { ( m ) } ( x ^ { ( m ) } ) } \sum _ { x ^ { ( m - 1 ) } } \frac { \pi ^ { ( m - 1 ) } ( x ^ { ( m - 1 ) } ) } { \pi ( x ^ { ( m - 1 ) } ) } K ( x ^ { ( m - 1 ) } | x ^ { ( m ) } )
|
| 387 |
+
$$
|
| 388 |
+
|
| 389 |
+
where the second equality holds because we have
|
| 390 |
+
|
| 391 |
+
$$
|
| 392 |
+
\begin{array} { c } { { \displaystyle \frac { \pi ( x ^ { ( m ) } ) } { \pi ^ { ( m ) } ( x ^ { ( m ) } ) } \sum _ { x ^ { ( m - 1 ) } } \frac { \pi ^ { ( m - 1 ) } ( x ^ { ( m - 1 ) } ) } { \pi ( x ^ { ( m - 1 ) } ) } K ( x ^ { ( m - 1 ) } | x ^ { ( m ) } ) } } \\ { { = \displaystyle \frac { 1 } { \pi ^ { ( m ) } ( x ^ { ( m ) } ) } \sum _ { x ^ { ( m - 1 ) } } \pi ^ { ( m - 1 ) } ( x ^ { ( m - 1 ) } ) \frac { K ( x ^ { ( m - 1 ) } | x ^ { ( m ) } ) \pi ( x ^ { ( m ) } ) } { \pi ( x ^ { ( m - 1 ) } ) } } } \\ { { = 1 } } \end{array}
|
| 393 |
+
$$
|
| 394 |
+
|
| 395 |
+
Thereby, we show $h ^ { ( m ) } \sim \pi ( h ^ { ( m ) } | x ^ { ( m ) } )$ , i.e. $q _ { \phi } ( h ^ { ( m ) } | x ^ { ( m ) } )$ . This concludes the inductive step.
|
| 396 |
+
|
| 397 |
+
# 9 SEMI-SUPERVISED LEARNING WITH INCLUSIVE-NRFS
|
| 398 |
+
|
| 399 |
+
Apart from the basic losses, as shown in Eq.10, in applying inclusive-NRFs in SSL, there are some regularization losses that are helpful to guide the semi-supervised learning.
|
| 400 |
+
|
| 401 |
+
Algorithm 3 Semi-supervised learning of inclusive-NRFs
|
| 402 |
+
|
| 403 |
+
<table><tr><td>repeat Sampling:</td></tr><tr><td>Draw a unsupervised minibatch U ~ p(x)pe(x)qp(h|x) and a supervised minibatch S ~ L; Updating:</td></tr><tr><td>Update θby ascending: ∑(x,x,h)~u[Vθuθ(x)-Vθue(x)]+ad∑(x,g)~s [Vθlogpe(i|x)]</td></tr><tr><td>-∑(x,x,h)~u [acVθH(pθ(y|z))+apVθ[uθ(x)]²];</td></tr><tr><td></td></tr><tr><td>Update by ascending:</td></tr><tr><td>∑(x,x,h)~u Vlogq(x,h); until convergence</td></tr></table>
|
| 404 |
+
|
| 405 |
+
Confidence loss. Similar to Springenberg (2016); Li et al. (2017), we add the minimization of the conditional entropy of $p _ { \theta } ( y | \tilde { x } )$ averaged over training data to the loss w.r.t. $\theta$ (i.e. the first line in Eq.9) as follows:
|
| 406 |
+
|
| 407 |
+
$$
|
| 408 |
+
L _ { c } ( \theta ) = E _ { \tilde { p } ( \tilde { x } ) } \left[ H ( p _ { \theta } ( y | \tilde { x } ) ) \right] = - E _ { \tilde { p } ( \tilde { x } ) } \left[ \sum _ { y } p _ { \theta } ( y | \tilde { x } ) \log p _ { \theta } ( y | \tilde { x } ) \right]
|
| 409 |
+
$$
|
| 410 |
+
|
| 411 |
+
In this manner, we encourage the classifier $p _ { \theta } ( y | x )$ derived from the RF to make classifications confidently. In practice, we use stochastic gradients of $L _ { c } ( \theta )$ over minibatches in optimizing $\theta$ , as shown in Algorithm 3.
|
| 412 |
+
|
| 413 |
+
Potential control loss. For random fields, the data log-likelihood $l o g p \theta ( \tilde { x } )$ is determined relatively by the potential value $u _ { \theta } ( \tilde { x } )$ . To avoid the potential values not to increase unreasonably, we could control the squared potential values, by minimizing:
|
| 414 |
+
|
| 415 |
+
$$
|
| 416 |
+
L _ { p } ( \theta ) = E _ { \tilde { p } ( \tilde { x } ) } \left[ u _ { \theta } ( \tilde { x } ) \right] ^ { 2 }
|
| 417 |
+
$$
|
| 418 |
+
|
| 419 |
+
In this manner, the potential values would be attracted to zeros. In practice, we use stochastic gradients of $L _ { p } ( \theta )$ over minibatches in optimizing $\theta$ , as shown in Algorithm 3.
|
| 420 |
+
|
| 421 |
+
# 10 PROOF OF PROPOSITION 3
|
| 422 |
+
|
| 423 |
+
Proposition 3. For the $R F$ as defined in Eq. 1, we have the following evidence upper bound:
|
| 424 |
+
|
| 425 |
+
$$
|
| 426 |
+
\begin{array} { r l } & { l o g p _ { \theta } ( \tilde { x } ) = \mathcal { U } ( \tilde { x } ; \theta , \phi ) - K L ( q _ { \phi } ( x ) | | p _ { \theta } ( x ) ) \leq \mathcal { U } ( \tilde { x } ; \theta , \phi ) , } \\ & { \mathcal { U } ( \tilde { x } ; \theta , \phi ) \triangleq u _ { \theta } ( \tilde { x } ) - \left( E _ { q _ { \phi } ( x ) } \left[ u _ { \theta } ( x ) \right] + H \left[ q _ { \phi } ( x ) \right] \right) . } \end{array}
|
| 427 |
+
$$
|
| 428 |
+
|
| 429 |
+
Proof. Note that $\begin{array} { r } { l o g p _ { \theta } ( \tilde { x } ) = u _ { \theta } ( \tilde { x } ) - l o g Z ( \theta ) } \end{array}$ . And we have the following lower bound on $Z ( \theta )$ $\begin{array} { r } { l o g Z ( \theta ) = l o g \int \exp ( u _ { \theta } ( x ) ) d x = l o g \int q _ { \phi } ( x ) \frac { \exp ( u _ { \theta } ( x ) ) } { q _ { \phi } ( x ) } d x \geq \int q _ { \phi } ( x ) l o g \frac { \exp ( u _ { \theta } ( x ) ) } { q _ { \phi } ( x ) } d x . } \end{array}$ g exp(uθ(x)) dx. This can be also seen from:
|
| 430 |
+
|
| 431 |
+
$$
|
| 432 |
+
\begin{array} { l } { { \displaystyle \int q _ { \phi } ( x ) u _ { \theta } ( x ) d x = \int q _ { \phi } ( x ) l o g p _ { \theta } ( x ) d x + l o g Z ( \theta ) } } \\ { { \displaystyle = - K L ( q _ { \phi } ( x ) | | p _ { \theta } ( x ) ) + l o g Z ( \theta ) + \int q _ { \phi } ( x ) l o g q _ { \phi } ( x ) d x . } } \end{array}
|
| 433 |
+
$$
|
| 434 |
+
|
| 435 |
+
Furthermore, it can be seen that learning in Kim & Bengio (2016) amounts to optimizing the following evidence upper bound:
|
| 436 |
+
|
| 437 |
+
$$
|
| 438 |
+
\operatorname* { m a x } _ { \theta } \operatorname* { m i n } _ { \phi } \mathcal { U } ( \tilde { x } ; \theta , \phi ) ,
|
| 439 |
+
$$
|
| 440 |
+
|
| 441 |
+
which is unfortunately not revealed in this manner in Kim & Bengio (2016).
|
| 442 |
+
|
| 443 |
+
# 11 CONNECTION BETWEEN INCLUSIVE-NRFS AND GANS
|
| 444 |
+
|
| 445 |
+
Note that for the generator as defined in Eq. 3, we have the following joint density
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
l o g q _ { \phi } ( x , h ) = - \frac { 1 } { 2 \sigma ^ { 2 } } | | x - g _ { \phi } ( h ) | | ^ { 2 } + c o n s t a n t .
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
The generator parameter $\phi$ is updated according to Eq. 5, which is rewritten as follows:
|
| 452 |
+
|
| 453 |
+
$$
|
| 454 |
+
{ { E } _ { p _ { \theta } ( x ) q _ { \phi } ( h | x ) } } \left[ \nabla _ { \phi } l o g q _ { \phi } ( x , h ) \right] = 0
|
| 455 |
+
$$
|
| 456 |
+
|
| 457 |
+
Specifically, we draw $( h ^ { \prime } , x ^ { \prime } ) \sim q _ { \phi }$ and then perform one-step SGLD to obtain $( h , x )$ . To simply the analysis of the connection, suppose $h \approx h ^ { \prime }$ , $\bar { x } ^ { \prime } \approx g _ { \phi } ( h ^ { \prime } ) \approx \bar { g } _ { \phi } ( h )$ . Then we have
|
| 458 |
+
|
| 459 |
+
$$
|
| 460 |
+
\begin{array} { l } \displaystyle \begin{array} { l } { \displaystyle x = x ^ { \prime } + \frac { \delta _ { 1 } } { 2 } [ \frac { \partial } { \partial x } l o g p _ { \theta } ( x ) ] _ { x = x ^ { \prime } } + \sqrt { \delta _ { 1 } } \eta ^ { ( 1 ) } , \eta ^ { ( 1 ) } \sim \mathcal { N } ( 0 , I ) } \\ { \displaystyle x - g _ { \phi } ( h ) \approx \frac { \delta _ { 1 } } { 2 } [ \frac { \partial } { \partial x } l o g p _ { \theta } ( x ) ] _ { x = g _ { \phi } ( h ) } = \frac { \delta _ { 1 } } { 2 } [ \frac { \partial } { \partial x } u _ { \theta } ( x ) ] \bigg \vert _ { x = g _ { \phi } ( h ) } } \end{array} \end{array}
|
| 461 |
+
$$
|
| 462 |
+
|
| 463 |
+
The gradient in the updating step in Algorithm 1 becomes:
|
| 464 |
+
|
| 465 |
+
$$
|
| 466 |
+
\begin{array} { l } { \displaystyle \nabla _ { \phi } l o g q _ { \phi } ( x , h ) = \frac { 1 } { \sigma ^ { 2 } } \left[ \frac { \partial } { \partial \phi } g _ { \phi } ( h ) \right] \left[ x - g _ { \phi } ( h ) \right] } \\ { \displaystyle \approx \frac { 1 } { \sigma ^ { 2 } } \left[ \frac { \partial } { \partial \phi } g _ { \phi } ( h ) \right] \left. \frac { \delta _ { 1 } } { 2 } \left[ \frac { \partial } { \partial x } u _ { \theta } ( x ) \right] \right. _ { x = g _ { \phi } ( h ) } } \\ { \displaystyle = \frac { 1 } { \sigma ^ { 2 } } \frac { \delta _ { 1 } } { 2 } \left[ \frac { \partial } { \partial \phi } u _ { \theta } ( g _ { \phi } ( h ) ) \right] } \end{array}
|
| 467 |
+
$$
|
| 468 |
+
|
| 469 |
+
where $\begin{array} { r l r } { { \frac { \partial } { \partial \phi } g _ { \phi } ( h ) } } \end{array}$ is a matrix of size $d i m ( \phi ) \times d i m ( x )$ . Therefore, the inclusive-NRF Algorithm 1 can be viewed to perform the following steps:
|
| 470 |
+
|
| 471 |
+
1. Draw an empirical example $\tilde { x } \sim p _ { 0 }$ .
|
| 472 |
+
2. Draw $h \sim p ( h )$ , $x ^ { \prime } = g _ { \phi } ( h )$ , and generate $x$ by one-step-gradient according to Eq. 14.
|
| 473 |
+
3. Update $\theta$ by ascending: $\nabla _ { \theta } u _ { \theta } ( \tilde { x } ) - \nabla _ { \theta } u _ { \theta } ( x )$ .
|
| 474 |
+
4. Update $\phi$ by descending: $\begin{array} { r l r } { \mathrm { - } \frac { \partial } { \partial \phi } u _ { \theta } ( g _ { \phi } ( h ) ) } \end{array}$ .
|
| 475 |
+
|
| 476 |
+
Now suppose that we interpret the potential function $u _ { \theta } ( x )$ as the discriminator in GANs (or the critic in Wasserstein GANs), which assign high scalar scores to empirical samples $\tilde { x } \sim p _ { 0 }$ and low scalar scores to generated samples $x$ . Then, the inclusive-NRF training could be viewed as playing a two-player minimax game:
|
| 477 |
+
|
| 478 |
+
$$
|
| 479 |
+
\operatorname* { m i n } _ { \phi } \operatorname* { m a x } _ { \theta } E _ { \tilde { x } \sim p _ { 0 } } \left[ u _ { \theta } ( \tilde { x } ) \right] - E _ { h \sim p ( h ) } \left[ u _ { \theta } ( g _ { \phi } ( h ) ) \right] ,
|
| 480 |
+
$$
|
| 481 |
+
|
| 482 |
+
except that in optimizing $\theta$ , the generated sample are further revised by taking one-step-gradient of $u _ { \theta } ( x )$ w.r.t. $x$ (as shown in the above Step 2). The discriminator $u _ { \theta }$ is trained to discriminate between empirical samples and generated samples, while the generator $q _ { \phi }$ is trained to fool the discriminator by assigning higher scores to generated samples. From the above analysis, we find some interesting connections between inclusive-NRFs and existing studies in GANs.
|
| 483 |
+
|
| 484 |
+
• The optimization shown in Eq. 15 is in fact the same as that in Wasserstein GANs (Theorem 3 in Arjovsky et al. (2017)), except that in Wasserstein GANs, the critic $u _ { \theta } ( x )$ is constrained to be 1-Lipschitz continuous. So hopefully we can improve the inclusive-NRF training by constraining the discriminator $u _ { \theta } ( x )$ to be 1-Lipschitz continuous, e.g. by utilizing the recently developed technique of spectral normalization of weight matrices in the discriminator as in Miyato et al. (2018).
|
| 485 |
+
|
| 486 |
+
• To optimize $\theta$ , the generated sample is obtained by taking one-step-gradient of $u _ { \theta } ( x )$ w.r.t. $x$ . The tiny perturbation guided by the gradient to increase the score for the generated sample in fact creates an adversarial example. A similar idea is presented in Liu & Hsieh (2018) that when feeding real samples to the discriminator, 5 steps of PGD (Projected Gradient Descent) attack is taken to decrease the score to create adversarial samples. It is shown in Liu & Hsieh (2018) that training the discriminator with adversarial examples significantly improves the GAN traning. Hopefully in training the discriminator in inclusive-NRFs, the adversarial attack could be increasing scores for generated samples, or decreasing scores for real samples, or a mixed one. • The above analysis assume the use of one-step SGLD. It can be seen that running finite steps of SGLD in sample revision in fact create adversarial samples to fool the discriminator.
|
| 487 |
+
|
| 488 |
+
# 12 DETAILS OF EXPERIMENTS
|
| 489 |
+
|
| 490 |
+
# 12.1 GMM SYNTHETIC EXPERIMENT
|
| 491 |
+
|
| 492 |
+
In the GMM experiment, we use the following procedure to estimate the metrics “covered modes” and “realistic ratio” for each trained model.
|
| 493 |
+
|
| 494 |
+
1. Stochastically generate 100 samples.
|
| 495 |
+
2. A mode is defined to be covered (not missed) if there exist generated samples located closely
|
| 496 |
+
to the mode (with squared distance $< 0 . 0 2 $ ), and those samples are said to be realistic.
|
| 497 |
+
3. Count how many modes are covered and calculate the proportion of realistic samples.
|
| 498 |
+
4. Repeat the above steps 100 times and perform averaging.
|
| 499 |
+
|
| 500 |
+
For each method, we independently train 10 models and calculate the mean and standard deviation (SD) across the 10 independent runs.
|
| 501 |
+
|
| 502 |
+
The network architectures and hyperparameters are the same for all methods, as listed in Table 5. We use SGLD Welling & Teh (2011) for inclusive-NRFs on this synthetic dataset, with empirical revision hyperparameters $\delta _ { l } = 0 . 0 1$ .
|
| 503 |
+
|
| 504 |
+
# 12.2 IMAGE GENERATION ON CIFAR-10
|
| 505 |
+
|
| 506 |
+
Network architectures. For convenience, we refer to the two neural networks in implementing the potential $u _ { \theta }$ and the generator $q _ { \phi }$ in NRFs as the potential network and the generator network, respectively. For comparison of different methods, we use the same network architectures as in Table 4 in (Miyato et al., 2018) (ResNet using spectral normalization) for unsupervised learning of NRFs. For supervised learning, we use the semi-supervised inclusive-NRF Algorithm 3 over all labeled images. The difference in network architectures used for semi-supervised and unsupervised learning of inclusive-NRFs is that for SSL, the output layer of the potential network contains $K = 1 0$ scalar units, while a single scalar output unit is used for unsupervised learning.
|
| 507 |
+
|
| 508 |
+
Hyperparameters. We use Adam optimizer with the hyperparameter $( \beta _ { 1 } ~ = ~ 0 , \beta _ { 2 } ~ = ~ 0 . 9$ and $\alpha = 0 . 0 0 0 3$ for random fields, $\alpha = 0 . 0 0 0 1$ for generators). For sample revision for inclusive-NRFs, we empirically choose SGLD with $L = 1$ $\langle \delta _ { l } = 0 . 0 0 3 )$ . More revision steps do not significantly improve unsupervised IS, as discussed in section 4.4 Note that we use the potential control loss in both unsupervised $\begin{array} { r } { \mathbf { \Phi } ( \alpha _ { p } = 0 . 1 ) } \end{array}$ ) and supervised $( \alpha _ { d } = 1 , \alpha _ { p } = 0 . 1 )$ settings, which is found beneficial for stable training.
|
| 509 |
+
|
| 510 |
+
Evaluation. Figure 5(c)(d) show the generated samples from inclusive-NRFs for unsupervised and supervised settings respectively. We compute inception score (IS) and Frechet inception distance (FID) in the same way as in Miyato et al. (2018). We trained 10 models with different random seeds, and then generate 5000 images 10 times and compute the average inception score and the standard deviation. We compute FID between the true distribution and the generated distribution empirically over 10000 (test set) and 5000 samples.
|
| 511 |
+
|
| 512 |
+
# 12.3 SEMI-SUPERVISED EXPERIMENT ON MNIST, SVHN AND CIFAR-10
|
| 513 |
+
|
| 514 |
+
The network architectures (taken from the released code from Salimans et al. (2016) and widely used in Li et al. (2017); Dai et al. (2017b)) and hyperparameters for semi-supervised inclusiveNRFs on MNIST, SVHN and CIFAR-10 are listed in Table 6, Table 7 and Table 8 respectively. We use SGHMC for semi-supervised inclusive-NRFs for all three datasets, with empirical revision hyperparameters $( \beta = 0 . 5 , \bar { \delta _ { l } } = 0 . 0 0 3 )$ for MNIST and CIFAR-10, and $( \beta = 0 . 5 \bar { , } \delta _ { l } = 0 . 0 1 )$ for SVHN. The confidence loss is employed for semi-supervised inclusive-NRFs on MNIST and SVHN, and the potential control loss is employed on CIFAR-10.
|
| 515 |
+
|
| 516 |
+
Figure 5(a)(b) show the generated samples from semi-supervised inclusive-NRFs trained over SVHN and CIFAR-10 respectively.
|
| 517 |
+
|
| 518 |
+
# 12.4 ABLATION STUDY OF INCLUSIVE-NRFS ON CIFAR-10
|
| 519 |
+
|
| 520 |
+
For unsupervised learning, we use the same networks as in Table 3 in Miyato et al. (2018) (standard CNN using spectral normalization). We use Adam optimizer with the hyperparameter $( \alpha = 0 . 0 0 0 2 , \beta _ { 1 } = 0 , \beta _ { 2 } = 0 . 9 )$ . For semi-supervised learning, the experimental setting is the same as in section 12.3 including the networks, number of labels, etc. For different revision steps, we use $\langle \delta _ { l } = 0 . 0 0 3 )$ for SGLD, and $( \beta = 0 . 5 , \delta _ { l } = 0 . 0 0 3 )$ for SGHMC. The potential control loss is employed in both unsupervised $\mathrm { \Delta } \alpha _ { p } = 0 . 1 )$ and semi-supervised $( \alpha _ { d } = 1 0 0 , \alpha _ { p } = 0 . 1 )$ learning.
|
| 521 |
+
|
| 522 |
+
# 13 SSL TOY EXPERIMENT
|
| 523 |
+
|
| 524 |
+
In Figure 2, we present the performance of semi-supervised inclusive-NRFs for SSL on a synthetic dataset, which emphasizes that inclusive-NRFs can provide (unnormalized) density estimates for $p _ { \theta } ( x )$ , $p _ { \theta } ( x , y = 1 )$ and $p _ { \theta } ( x , y = 2 )$ . In contrast, the use of GANs as general purpose probabilistic generative models has been limited by the difficulty in using them to provide density estimates or even unnormalized potential values for sample evaluation.
|
| 525 |
+
|
| 526 |
+
The dataset is a 2D GMM with 16 Gaussian components, uniformly laid out on two concentric circles. The two circles represent two different classes, each class with 4 labeled data and 400 unlabeled data. The network architectures are the same as in Table 5, except that the neural network which implement the potential function $u _ { \boldsymbol { \theta } } ( \boldsymbol { x } , \boldsymbol { y } )$ for SSL now has two units in the output.
|
| 527 |
+
|
| 528 |
+

|
| 529 |
+
Figure 2: SSL toy experiment based on semi-supervised inclusive-NRFs. Each class has 4 labeled points, red dots for class 1 and blue for class 2. The learned potentials for $u _ { \theta } ( x )$ , $u _ { \theta } ( x , y = 1 )$ and $\overset { \cdot } { u } _ { \theta } ( x , y = 2 )$ are shown in (b)(c)(d) respectively.
|
| 530 |
+
|
| 531 |
+
Figure 3 shows that the auxiliary generator smoothly outputs transitional samples as the latent code $h$ moves linearly in the latent space. The interpolated generation demonstrates that the model has indeed learned an abstract representation of the data.
|
| 532 |
+
|
| 533 |
+

|
| 534 |
+
Figure 3: Latent space interpolation with inclusive-NRFs on MNIST. The leftmost and rightmost columns are from stochastic generations $x _ { 1 }$ with latent code $h _ { 1 }$ and $x _ { 2 }$ with $h _ { 2 }$ . The columns in between correspond to the generations from the latent codes interpolated linearly from $h _ { 1 }$ to $h _ { 2 }$ .
|
| 535 |
+
|
| 536 |
+

|
| 537 |
+
Figure 4: Conditional generated samples from semi-supervised inclusive-NRFs trained on MNIST. Due to sample revision, the background pixels are not purely black.
|
| 538 |
+
|
| 539 |
+
# 15 CLASS-CONDITIONAL GENERATION
|
| 540 |
+
|
| 541 |
+
Figure 4 shows class-conditional generation results on MNIST with semi-supervised inclusive-NRFs. Notice that the generator does not explicitly include class labels, thus it is unable to perform classconditional generation directly. However, the random field has modeling of $p _ { \theta } ( x , y )$ , based on which we can perform class-conditional generation as follows:
|
| 542 |
+
|
| 543 |
+
1. Generate a sample $x$ unconditionally, by ancestral sampling with the generator.
|
| 544 |
+
2. Predict the label $y$ for the sample $x$ by the random field;
|
| 545 |
+
3. Starting from $x$ , running SGLD/SGHMC revision with $p _ { \theta } ( x | y )$ as the target density by fixing $y$ . The resulting samples could be viewed as conditional generations, according to Theorem 1.
|
| 546 |
+
|
| 547 |
+

|
| 548 |
+
Figure 5: Generated samples from semi-supervised inclusive-NRFs (i.e. trained for SSL) on SVHN and CIFAR-10 are shown in (a) and (b) respectively. Generated samples from unsupervised and supervised training of inclusive-NRFs on CIFAR-10 are shown in (c) and (d) respectively.
|
| 549 |
+
|
| 550 |
+
Table 5: Network architectures and hyperparameters for the 2D GMM data.
|
| 551 |
+
|
| 552 |
+
<table><tr><td>Random Field</td><td>Generator</td></tr><tr><td>Input 2-dim data</td><td>Noise h (2-dim)</td></tr><tr><td>MLP100 units,Leaky ReLU</td><td>MLP 50 units,ReLU</td></tr><tr><td>MLP100 units,Leaky ReLU</td><td>MLP 50 units,ReLU</td></tr><tr><td>MLP1 unit, Linear</td><td>MLP 2 units,Linear</td></tr><tr><td>Batch size</td><td>100</td></tr><tr><td>Number of iterations</td><td>160,000</td></tr><tr><td>Leaky ReLU slope</td><td>0.2</td></tr><tr><td>Learning rate</td><td>0.001</td></tr><tr><td>Optimizer</td><td>Adam (β1 = 0.5,β2 =0.9)</td></tr><tr><td>Sample revision steps</td><td>L=10</td></tr></table>
|
| 553 |
+
|
| 554 |
+
Table 6: Network architectures and hyperparameters for semi-supervised inclusive-NRFs on MNIST
|
| 555 |
+
|
| 556 |
+
<table><tr><td>Random Field</td><td>Generator</td></tr><tr><td>Input 28 × 28 Gray Image MLP 100O units,Leaky ReLU, Weight norm</td><td>Noise h (100-dim) MLP 50O units,Sotfplus,Batch norm</td></tr><tr><td>MLP 500 units,Leaky ReLU, Weight norm MLP 250 units,Leaky ReLU, Weight norm MLP 250 units,Leaky ReLU, Weight norm MLP 250 units,Leaky ReLU,Weight norm</td><td>MLP 50O units, Sotfplus,Batch norm MLP 784 units, Sigmoid</td></tr><tr><td>MLP 10 units,Linear,Weight norm Batch size</td><td>100</td></tr><tr><td>Number of epochs</td><td>200</td></tr><tr><td>Leaky ReLU slope</td><td>0.2</td></tr><tr><td>Learning rate</td><td>0.001</td></tr><tr><td>Optimizer</td><td>Adam (β1 = 0.0,β2 = 0.9)</td></tr><tr><td>Sample revision steps</td><td>L= 20</td></tr><tr><td>α in SSL</td><td>αd = 10,αc = 10,αp = 0</td></tr></table>
|
| 557 |
+
|
| 558 |
+
Table 7: Network architectures and hyperparameters for semi-supervised inclusive-NRFs on SVHN
|
| 559 |
+
|
| 560 |
+
<table><tr><td>RandomField</td><td>Generator</td></tr><tr><td>Input 32 × 32 Colored Image</td><td>Noise h (100-dim)</td></tr><tr><td>3 × 3 conv. 64,Leaky ReLU, Weight norm 3 × 3 conv. 64, Leaky ReLU, Weight norm 3 × 3 conv. 64, Leaky ReLU, Weight norm</td><td>MLP 8192 units,ReLU, Batch norm Reshape 512 × 4×4 5 × 5 deconv. 256,ReLU, Stride=2</td></tr><tr><td>stride=2, dropout2d=0.5 3 × 3 conv. 128,Leaky ReLU, Weight norm 3 × 3 conv.128,Leaky ReLU,Weight norm 3 × 3 conv. 128,Leaky ReLU, Weight norm stride=2, dropout2d=0.5 3 × 3 conv. 128,Leaky ReLU,Weight norm 1 × 1 conv. 128,Leaky ReLU,Weight norm</td><td>5 × 5 deconv. 128,ReLU, Stride=2 5 × 5 deconv. 3, Tanh, Stride=2</td></tr><tr><td>1 × 1 conv. 128,Leaky ReLU, Weight norm MLP 10 units,Linear,Weight norm</td><td></td></tr><tr><td></td><td></td></tr><tr><td>Batch size Number of epochs</td><td>100</td></tr><tr><td>Leaky ReLU slope</td><td>400</td></tr><tr><td>Learning rate Optimizer</td><td>0.2 0.001</td></tr></table>
|
| 561 |
+
|
| 562 |
+
Table 8: Network architectures and hyperparameters for semi-supervised inclusive-NRFs on CIFAR10
|
| 563 |
+
|
| 564 |
+
<table><tr><td>Random Field</td><td>Generator</td></tr><tr><td>Input 32 × 32 Colored Image</td><td>Noise h (100-dim)</td></tr><tr><td>3 × 3 conv. 128,Leaky ReLU, Weight norm</td><td>MLP 8192 units,ReLU, batch norm</td></tr><tr><td>3 × 3 conv. 128,Leaky ReLU, Weight norm</td><td>Reshape 512 × 4× 4</td></tr><tr><td>3 × 3 conv. 128,Leaky ReLU, Weight norm stride=2, dropout2d=0.5</td><td>5 × 5 deconv. 256, ReLU, Stride=2 5 × 5 deconv. 128 ReLU, stride=2</td></tr><tr><td>3 × 3 conv. 256,Leaky ReLU, Weight norm 3 × 3 conv. 256,Leaky ReLU, Weight norm 3 × 3 conv. 256,Leaky ReLU, Weight norm</td><td>5 × 5 deconv. 3, Tanh, Stride=2</td></tr><tr><td>stride=2, dropout2d=0.5 3 × 3 conv. 512,Leaky ReLU, Weight norm 1 × 1 conv. 256,Leaky ReLU, Weight norm</td><td></td></tr><tr><td>1 × 1 conv. 128,Leaky ReLU, Weight norm</td><td></td></tr><tr><td>MLP 10 units,Linear, Weight norm</td><td></td></tr><tr><td>Batch size</td><td>100</td></tr><tr><td>Number of epochs</td><td>600</td></tr><tr><td>Leaky ReLU slope</td><td>0.2</td></tr><tr><td>Learning rate</td><td></td></tr><tr><td></td><td>0.001</td></tr><tr><td>Optimizer</td><td>Adam (β1 = 0.0,β2 = 0.9)</td></tr><tr><td>Sample revision steps α in SSL</td><td>L=10 αd = 100,αc = 0,αp = 0.1</td></tr></table>
|
parse/train/Syzn9i05Ym/Syzn9i05Ym_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Syzn9i05Ym/Syzn9i05Ym_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Syzn9i05Ym/Syzn9i05Ym_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kHromd7SNA/kHromd7SNA.md
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MOTION REPRESENTATIONS FOR ARTICULATED ANIMATION
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We propose novel motion representations for animating articulated objects consisting of distinct parts. In a completely unsupervised manner, our method identifies meaningful object parts, tracks them in a driving video, and infers their motions by considering their principal axes. In contrast to the previous keypoint-based works, our method extracts meaningful and consistent regions, describing locations, shape, and pose. The regions correspond to semantically relevant and distinct object parts, that are more easily detected in frames of the driving video. To force decoupling of foreground from background, we model non-object related global motion with a homography. Our model1 can animate a variety of objects, surpassing previous methods by a large margin on existing benchmarks. We present a challenging new benchmark with high-resolution videos and show that the improvement is particularly pronounced when articulated objects are considered.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Animation—bringing static objects to life—has broad applications across education and entertainment. Animated characters and objects increase the creativity and appeal of content, improve the clarity of material through storytelling, and enhance user experiences. Imagine the Mona Lisa describing the manner in which she was painted, or Michelangelo’s David detailing the method with which he was sculpted, or an influential historical figure shedding light on key events of the past (Fig. 1); how much more engaging this would be.
|
| 12 |
+
|
| 13 |
+
Until very recently, animation techniques necessary for achieving such results required a trained professional, specialized hardware, software, and a great deal of effort. Quality results generally still do, but vision and graphics communities have attempted to address some of these limitations by training data-driven methods (Wang
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: An animation produced by our method.
|
| 17 |
+
|
| 18 |
+
et al., 2018a; Chan et al., 2019; Ren et al., 2020; Geng et al., 2019; Gafni et al., 2019) on object classes for which prior knowledge of object shape and pose can be learned. This, however, requires ground truth pose and shape data to be available during training.
|
| 19 |
+
|
| 20 |
+
Recent works have sought to avoid the need for ground truth data through unsupervised motion transfer (Wiles et al., 2018; Siarohin et al., 2019a;b). Significant progress on the several key challenges have been made, including training using image reconstruction as a loss, and disentangling motion from appearance. This has created the potential to animate a broader range of object categories, without any domain knowledge or labelled data, requiring only videos of objects in motion during training. However, two key problems remain open. The first is how to represent the parts of an articulated or non-rigid moving object, including their shapes and poses. The second is given the object parts, how to animate them using the sequence of motions in a driving video.
|
| 21 |
+
|
| 22 |
+
Initial attempts involved extracting unsupervised keypoints (Lorenz et al., 2019; Kim et al., 2019) in end-to-end frameworks (Wiles et al., 2018; Siarohin et al., 2019b;a), then warping a feature embedding of a source image to align its keypoints with those of a driving video. Follow on work (Siarohin et al., 2019a) additionally modelled the motion around each keypoint with local, affine transformations, and introduced a generation module that both composites warped source image regions and inpaints occluded regions, to render the final image. This enabled a variety of creative applications2, for example needing only one source face image to generate a near photo-realistic animation, driven by a video of a different face.
|
| 23 |
+
|
| 24 |
+
However, the resulting unsupervised keypoints are detected on the boundary of the objects. While points on edges are easier to identify, tracking such keypoints between frames is problematic, as any point on the boundary is a valid candidate, making it hard to establish correspondences between frames. A further problem is that the unsupervised keypoints do not correspond to semantically meaningful object parts, and represent location and direction, but not shape. Due to this limitation, animating articulated objects, such as bodies, remains challenging. Furthermore, these methods assume static backgrounds, i.e., no camera motion, leading to leakage of background motion information into one or several of the detected keypoints. Despite significant breakthroughs, these remaining deficiencies limit the scope of the core innovation to more trivial object categories and motions, and lower quality outputs, especially when objects are articulated.
|
| 25 |
+
|
| 26 |
+
This work introduces two contributions critical to addressing these challenges. First, we redefine the underlying motion representation. Instead of using keypoints, we switch to regions that allow first-order motion to be measured, rather than regressed. This enables improved convergence, more stable, robust object and motion representations, and also empirically captures the shape of the underpinning object parts, leading to better motion segmentation. Fig. 3 contains several examples of region vs. keypoint-based motion representation.
|
| 27 |
+
|
| 28 |
+
Secondly, we explicitly model background or camera motion between training frames by predicting the parameters of a global homography explaining non-object related motions. This enables the model to focus solely on the foreground object, making the identified points more stable, and further improves convergence.
|
| 29 |
+
|
| 30 |
+
These contributions unlock significant gains in capability for unsupervised motion transfer methods, resulting in much improved animation of articulated objects in particular. Furthermore, the framework scales better in the number of unsupervised regions, resulting in more detailed motion. Our method outperforms previous unsupervised animation methods on a variety of datasets, including talking faces, taichi videos and animated pixel art. We additionally present a new dataset, TED talk speakers, to create a more challenging benchmark for the task of animating articulated objects.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
Image animation methods can be separated into supervised, which require knowledge about the animated object during training, and unsupervised, which do not. Such knowledge typically includes landmarks (Cao et al., 2014; Zakharov et al., 2019; Qian et al., 2019; Ha et al., 2020), semantic segmentations (Nirkin et al., 2019), and parametric 3D models (Geng et al., 2019; Thies et al., 2016; Deng et al., 2020; Nagano et al., 2018; Liu et al., 2019). As a result, supervised methods are limited to a small number of object categories for which a lot of labelled data is available, such as faces and human bodies. Early face reenactment work (Thies et al., 2016) fitted a 3D morphable model to an image, animating and rendering it back using graphical techniques. Further works used neural networks to get higher quality rendering (Kim et al., 2018; Wang et al., 2018b), sometimes requiring multiple images per identity (Geng et al., 2019; Pumarola et al., 2018). A body of works treats animation as an image-to-image (Siarohin et al., 2018) or a video-to-video (Wang et al., 2018a; Chan et al., 2019; Ren et al., 2020) translation problem. Apart from some exceptions (Wang et al., 2019), these works further constrain the problem to animating a single instance of an object, such as a single face (Kim et al., 2018; Bansal et al., 2018) or a single human body (Chan et al., 2019; Ren et al., 2020; Wang et al., 2018a), requiring retraining (Bansal et al., 2018; Chan et al., 2019; Ren et al., 2020) or fine-tuning (Zakharov et al., 2019) for each new instance. Despite promising results, generalizing these methods beyond a limited range of object categories remains challenging. Additionally, they tend to transfer not only the motion but also the identity of the driving object, making the shape of the animated face or a body similar or identical to the driving face or body (Kim et al., 2018; Zakharov et al., 2019).
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
Figure 2: Overview of our model. The region predictor returns heatmaps for each part in the source and the driving images. We then compute principal axes of each heatmap, to transform each region from the source to the driving frame through a whitened reference frame. Region and background transformations are combined by the pixel-wise flow prediction network. The target image is generated by warping the source image in a feature space using the pixel-wise flow, and inpainting newly introduced regions, as indicated by the confidence map.
|
| 38 |
+
|
| 39 |
+
Unsupervised methods address some of these limitations. They do not require any labelled data regarding the shape or landmarks of the animated object. Video-generation-based animation methods predict future frames of a video, given the first frame and an animation class label, such as "make a happy face", "do jumping jack", or "play golf" (Tulyakov et al., 2018; Saito et al., 2017; Clark et al., 2019). A further group of works re-target animation from a driving video to a source frame. X2Face (Wiles et al., 2018) builds a canonical representation of an input face, and generates a warp field conditioned on the driving video. Monkey-Net (Siarohin et al., 2019b) learns a set of unsupervised keypoints to generate animations. Follow-up work substantially improves the quality of animation by considering a first order motion model (FOMM) (Siarohin et al., 2019a) for each keypoint, represented by regressing a local, affine transformation. Both of these works apply to a wider range of objects including faces, bodies, robots, and pixel art animations. Empirically, these methods extract keypoints on the boundary of the animated objects. Articulated objects such as human bodies are therefore challenging, as internal motion, for example, an arm moving across the body, is not well modeled, producing unconvincing animations.
|
| 40 |
+
|
| 41 |
+
This work presents an unsupervised method. We argue that the limitations of previous such methods in animating articulated objects is due to an inability of their internal representations to capture complete object parts, their shape and pose. X2Face (Wiles et al., 2018) assumes an object can be represented with a single RGB texture, while other methods find keypoints on edges (Siarohin et al., 2019b;a). Our new region and background motion representations address these shortcomings.
|
| 42 |
+
|
| 43 |
+
# 3 METHOD
|
| 44 |
+
|
| 45 |
+
Our unsupervised animation framework consists of a system design, and methods for training this system using two different frames, source S, and driving D, from the same video.
|
| 46 |
+
|
| 47 |
+
# 3.1 SYSTEM DESIGN
|
| 48 |
+
|
| 49 |
+
FOMM (Siarohin et al., 2019a), the current state-of-the-art method in unsupervised animation learning, consists of two main parts: motion estimation and image generation. The contributions of our work lie in novel motion representations within the first part of this framework. Our system, outlined in Fig. 2, therefore follows the FOMM design as closely as possible, in order to demonstrate the impact due specifically to our contributions.
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 3: Comparison of motion/part representations. Regression-based keypoint representations do not provide consistent detection between frames (marked with red). Additionally, background motion leaks into one or several detected keypoints. Our PCA-based regions (with and without background motion) correctly identify meaningful parts, are consistent between frames, and use additional regions more effectively.
|
| 53 |
+
|
| 54 |
+
# 3.1.1 REGIONS AND COARSE MOTION
|
| 55 |
+
|
| 56 |
+
Regions FOMM learns to detect $K$ distinct object regions, where $K$ is a user-defined parameter. An encoder-decoder region predictor network takes an image as input, and outputs $K$ heatmaps, $\mathbf { M } ^ { 1 } , . . , \mathbf { M } ^ { K }$ . The final network layer is a softmax operation, s.t. $\mathbf { M } ^ { k } \in [ 0 , 1 ] ^ { H \times W }$ , where $H$ and $W$ are the height and width of the image respectively, and $\begin{array} { r } { \sum _ { z \in \mathcal { Z } } m _ { z } ^ { k } = 1 } \end{array}$ , where $z$ is a pixel location $\mathbf { \dot { x } }$ , y coordinates) in the image, the set of all pixel locations being $\mathcal { Z }$ , and $m _ { z } ^ { k }$ is the $k$ -th heatmap weight at pixel $z$ . We use the same region representation and encoder here. Nevertheless, the encoded regions differ significantly (see Fig. 3), ours mapping to meaningful object parts such as the limbs of an articulated body, due to our novel foreground motion representation, described below.
|
| 57 |
+
|
| 58 |
+
Estimating foreground region motion FOMM estimates a first-order transformation from an image $\mathbf { X }$ to a reference frame $\mathbf { R }$ , for each region separately. The region heatmap encodes translation by its mean position, while other affine parameters are regressed per pixel and then pooled per region according to the heatmap weights. Here we change the way this transformation is represented: all motion is measured directly from the heatmap. Translation is given by the mean position, as before, while in-plane rotation and scaling in $\mathbf { X } ^ { - }$ and y-directions are computed via a principal component analysis (PCA) of the heatmap. Shear is not captured, therefore our transform isn’t fully affine, with only five degrees of freedom instead of six. Nevertheless, it captures sufficient motion, shear being a less significant component of the affine transform for this task. The transformation of a region from the reference frame to the image is computed as follows:
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
{ \begin{array} { r l } & { \qquad \mu ^ { k } = \displaystyle \sum _ { z \in { \mathcal { Z } } } m _ { z } ^ { k } z , } \\ & { \qquad U ^ { k } S ^ { k } { V ^ { k } } ^ { \mathsf { T } } = \displaystyle \sum _ { z \in { \mathcal { Z } } } m _ { z } ^ { k } ( z - \mu ^ { k } ) ( z - \mu ^ { k } ) ^ { \mathsf { T } } , ~ \mathrm { ( v i a S V D ) } , } \\ & { \qquad A _ { \mathbf { X } \mathbf { R } } = \displaystyle [ U ^ { k } S ^ { k ^ { \frac { 1 } { 2 } } } , \mu ^ { k } ] . } \end{array} }
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
The singular value decomposition (SVD) approach to computing PCA (Wall et al., 2003) is used here. We refer to FOMM and our estimation approaches as regression-based and PCA-based, respectively. The reference frame in both is used only as an abstract, intermediate coordinate frame between the source and driving image coordinate frames. However, here (in contrast to FOMM) it is not in fact abstract, corresponding to the coordinate frame where the heatmap is whitened (i.e. has zero mean and identity covariance); see Fig. 2. Driving to source image motion is then
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r } { A _ { \mathbf { S } \mathbf { D } } ^ { k } = A _ { \mathbf { S } \mathbf { R } } ^ { k } [ A _ { \mathbf { D } \mathbf { R } } ^ { k } ] ^ { - 1 } . } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
Estimating background motion FOMM has no background motion model. We observe that with significant background motion between frames, e.g. due to camera motion, predicted regions can therefore include the moving background, reducing test-time accuracy. To resolve this, we additionally regress a background homography transformation, $\mathbf { H }$ , using an encoder network that takes as input the source and driving images, concatenated along the channel dimension, and outputs eight real values, $h _ { 1 } , . . , h _ { 8 }$ , such that $\bar { { \bf H } } = \left[ [ h _ { 1 } , h _ { 2 } , h _ { 3 } ] ^ { \top } \left[ h _ { 4 } , h _ { 5 } , h _ { 6 } \right] ^ { \top } [ h _ { 7 } , h _ { 8 } , 1 ] ^ { \top } \right]$ . With background motion well modeled, we show that the network is able to separate background and object motion in a completely unsupervised manner.
|
| 71 |
+
|
| 72 |
+
# 3.1.2 IMAGE GENERATION
|
| 73 |
+
|
| 74 |
+
Given these coarse motions, FOMM then renders the target image in two stages: a pixel-wise flow generator converts coarse motions to dense optical flow, then a composition network warps the source image according to the flow, and also inpaints missing regions. We follow this architecture, and summarize these two modules here, but refer the reader to Siarohin et al. (2019a) for the full details.
|
| 75 |
+
|
| 76 |
+
Pixel-wise flow generation Coarse motions are combined via a weighted sum, to compute a dense, per pixel motion, or flow. The per pixel weights, as well as a confidence map, are computed via an encoder-decoder network. The input is a $H \times W \times ( 4 K + 3 )$ tensor, with four channels per region, three for the source image warped according to the region’s motion model, and one for a heatmap of the region, which is a gaussian approximation to ${ \bf { M } } ^ { \breve { k } }$ , in order to avoid leakage of driving image appearance through the heatmap. Here we add a further three input channels (compared to FOMM) for the source image warped according to the background motion model.
|
| 77 |
+
|
| 78 |
+
Warping and inpainting The source image is passed through an encoder network. The resulting feature map is warped and masked according to the pixel-wise flow and confidence map from the previous module, respectively. A decoder then renders the final image, inpainting missing parts. In contrast to FOMM, but similar to Monkey-Net (Siarohin et al., 2019b), here skip connections are used between the encoder and decoder. The skip connection feature maps are also warped and masked.
|
| 79 |
+
|
| 80 |
+
# 3.2 TRAINING
|
| 81 |
+
|
| 82 |
+
The proposed model is trained end-to-end using a reconstruction loss in the feature space of the pretrained VGG-19 network (Johnson et al., 2016; Wang et al., 2017). Following Siarohin et al. (2019a); Wang et al. (2003), we adopt a multi-resolution version of the reconstruction loss:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\mathcal { L } _ { \mathrm { r e c } } ( \hat { \mathbf { D } } , \mathbf { D } ) = \sum _ { l } \sum _ { i } \left| \mathrm { V } _ { i } \big ( \mathrm { F } _ { l } \odot \hat { \mathbf { D } } \big ) - \mathrm { V } _ { i } \big ( \mathrm { F } _ { l } \odot \mathbf { D } \big ) \right| ,
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $\hat { \bf D }$ is the generated image, $\mathrm { V } _ { i }$ is the $i ^ { \mathrm { { t h } } }$ -layer of the VGG-19 pretrained network, $\mathrm { F } _ { l }$ is a downsampling operator. Similarly to Wang et al. (2017); Siarohin et al. (2019a) we used conv1_2, conv2_2, conv3_2, conv4_2, conv5_2 layers and downsampled the images to 1, 0.5, 0.25, 0.125 of the original edge size. In total we have 20 reconstruction terms. To improve detection of unsupervised regions we follow the unsupervised keypoint detection literature (Jakab et al., 2018; Zhang et al., 2018) and adopt the equivariance loss, denoted as $\mathcal { L } _ { \mathrm { e q } }$ . We use a thin-plate spline implementation provided in FOMM (Siarohin et al., 2019a). The final loss is a sum of the two loss terms, $\mathcal { L } = \mathcal { L } _ { \mathrm { r e c } } + \mathcal { L } _ { \mathrm { e q } }$ .
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
Figure 4: Qualitative comparisons. We show representative examples of articulated animation using our method and FOMM (Siarohin et al., 2019a), on two datasets of articulated objects: TED-talks (left) and TaiChiHD (right). Zoom in for greater detail.
|
| 92 |
+
|
| 93 |
+
# 4 EVALUATION
|
| 94 |
+
|
| 95 |
+
We now discuss the datasets, metrics and experiments used to evaluate the proposed method. Later we compare with prior work, as well as ablate our contributions.
|
| 96 |
+
|
| 97 |
+
# 4.1 TOY MOTION REPRESENTATION EXPERIMENT
|
| 98 |
+
|
| 99 |
+
To demonstrate the benefit of the proposed PCAbased motion representation, we devise an experiment on rotated rectangles (see Appendix E): the task is to predict the rotation angle of a rectangle in an image. To fully isolate our contribution, we consider a supervised task, where three different architectures learn to predict angles under the $L _ { 1 }$ loss. The first, a Naive architecture, directly regresses the angle using an encoder-like architecture. The second is Regression-based, as in to FOMM (Siarohin et al., 2019a). The third uses our PCA-based approach (see Appendix E). Test results are presented in Fig. 5, against training set size. The Naive baseline struggles to produce meaningful results for any size of training set, while Regression-based performance improves with more data. However, the PCA-based significantly improves accuracy over the Regression-based one, being over an order of magnitude better with a large number of samples. This shows that it is significantly easier for the network to infer geometric parameters of the image, such as angle, using our proposed PCA-based representation.
|
| 100 |
+
|
| 101 |
+

|
| 102 |
+
Figure 5: Mean test-time absolute rotation error, as a function of training set size.
|
| 103 |
+
|
| 104 |
+
# 4.2 BENCHMARKS
|
| 105 |
+
|
| 106 |
+
We evaluate our method on several benchmark datasets for animating human faces and bodies. Each dataset has separate training and test videos. The datasets are as follows:
|
| 107 |
+
|
| 108 |
+
• VoxCeleb (Nagrani et al., 2017) consists of interview videos of different celebrities. We extract square, face regions and downscale them to $2 5 6 \times 2 5 6$ , following FOMM (Siarohin et al., 2019a). The number of frames per video ranging from 64 to 1024. • TaiChiHD (Siarohin et al., 2019a) consists of cropped videos of full human bodies performing Tai Chi actions. We evaluate on two resolutions of the dataset: $2 5 6 \times 2 5 6$ (from FOMM (Siarohin et al., 2019a)), and a new, $5 1 2 \times 5 1 2$ subset, removing videos lacking sufficient resolution to support that size. • TED-talks is a new dataset, collected for this paper in order to demonstrate the generalization properties of our model. We cropped the upper part of the human body from the videos, downscaling to $3 8 4 \times 3 8 4$ . The number of frames per video ranges from 64 to 1024.
|
| 109 |
+
|
| 110 |
+
Table 2: Video reconstruction: comparison with the state of the art on four different datasets. For all methods we use $K = 1 0$ regions. (Best result in bold.)
|
| 111 |
+
|
| 112 |
+
<table><tr><td></td><td colspan="3">TaiChiHD (256)</td><td colspan="3">TaiChiHD (512)</td><td colspan="3">TED-talks</td><td colspan="3">VoxCeleb</td></tr><tr><td></td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>AKD</td><td>AED</td></tr><tr><td>FOMM</td><td>0.056</td><td>(6.53,0.033)</td><td>0.172</td><td>0.075</td><td>(17.12,0.66)</td><td>0.203</td><td>0.033</td><td>(7.07,0.014)</td><td>0.163</td><td>0.041</td><td>1.27</td><td>0.134</td></tr><tr><td>Ours</td><td>0.048</td><td>(5.45,0.028)</td><td>0.152</td><td>0.064</td><td>(14.00,0.44)</td><td>0.171</td><td>0.026</td><td>(4.02,0.007)</td><td>0.119</td><td>0.040</td><td>1.28</td><td>0.133</td></tr></table>
|
| 113 |
+
|
| 114 |
+
Further datasets are used in the supplementary material.
|
| 115 |
+
|
| 116 |
+
Since video animation is a relatively new problem, there are not currently many effective ways of evaluating it. For quantitative metrics, prior works (Siarohin et al., 2019b;a) use video reconstruction accuracy as a proxy for image animation quality. We adopt the same metrics here:
|
| 117 |
+
|
| 118 |
+
• $\mathcal { L } _ { 1 }$ error measures the difference between reconstructed video and ground-truth video pixel values using the $\mathcal { L } _ { 1 }$ metric. • Average keypoint distance (AKD) and missing keypoint rate (MKR) evaluate the difference between poses of reconstructed and ground truth video. Landmarks are extracted from both videos using public, body (Cao et al., 2017) (for TaiChiHD and TED-talks) and face (Bulat & Tzimiropoulos, 2017) (for VoxCeleb) detectors. AKD is then the average distance between corresponding landmarks, while MKR is the proportion of landmarks present in the ground-truth that are missing in the reconstructed video. • Average Euclidean distance (AED) evaluates how well identity is preserved in reconstructed video. Public re-identification networks for bodies (Hermans et al., 2017) (for TaiChiHD and TED-talks) and faces (Amos et al., 2016) extract identity from reconstructed and ground truth frame pairs, then we compute the average $\mathcal { L } _ { 2 }$ norm of their difference across all pairs.
|
| 119 |
+
|
| 120 |
+
# 4.3 COMPARISON WITH THE STATE OF THE ART
|
| 121 |
+
|
| 122 |
+
We compare our method with the current state of the art for unsupervised animation, FOMM (Siarohin et al., 2019a), across all datasets, on both reconstruction (the training task) and animation (the testtime task). We used an extended training schedule compared to Siarohin et al. (2019a), with $50 \%$ more iterations. To compare fairly with FOMM (Siarohin et al., 2019a), we also re-trained it with the same training schedule.
|
| 123 |
+
|
| 124 |
+
Reconstruction quality Quantitative reconstruction results are reported in Tab. 2. We first show that our method reaches state-of-the-art results on a dataset with non-articulated objects such as faces. Indeed, when compared with FOMM (Siarohin et al., 2019a) on VoxCeleb our method shows on-par results. The situation changes, however, when articulated objects are considered, such as human bodies in TaiChiHD and TED-talks datasets, on which our improved motion representations boost all the metrics. The advantage over the state of the art holds at different resolutions, for TaiChiHD (256), TaiChiHD (512) and TED-talks, as well as for different numbers of selected regions (discussed later).
|
| 125 |
+
|
| 126 |
+
Animation quality Fig. 3 & 4 show selected and representative animations respectively, using our method and FOMM (Siarohin et al., 2019a), on articulated bodies, both using absolute motion. The results show clear improvements, in most cases, in animation quality, especially of limbs.
|
| 127 |
+
|
| 128 |
+
Animation quality was evaluated quantitatively through a user preference study similar to that of Siarohin et al. (2019a). AMT users were presented with the source image, driving video, and the output from our method and FOMM (Siarohin et al., 2019a), and asked which of the two videos they preferred. 50 such videos were evaluated, by 50 users each, for a total of 2500 preferences per study. The results, shown in Tab. 4, further support the reconstruction scores in Tab. 2. When the animated object is not articulated (VoxCeleb), the method delivers results comparable to the previous work. When bodies are animated (TaiChiHD & TED-talks), FOMM (Siarohin et al., 2019a) fails to correctly detect and animate the articulated body parts such as hands. Our method renders them in the driving pose even for extreme cases, leading to a high preference in favor of it.
|
| 129 |
+
|
| 130 |
+
Finally, we applied animation from a TED-talks video to a photograph of Winston Churchill, shown in Fig. 1, demonstrating animation of out of domain data.
|
| 131 |
+
|
| 132 |
+
Table 3: Ablation study on TaiChiHD (256) dataset with $K = 1 0$ . (Best result in bold.)
|
| 133 |
+
|
| 134 |
+
<table><tr><td></td><td>L1</td><td>(AKD,MKR)</td><td>AED</td></tr><tr><td>No pca or bg model</td><td>0.060</td><td>(6.14, 0.033)</td><td>0.163</td></tr><tr><td>No pca</td><td>0.049</td><td>(6.04,0.034)</td><td>0.163</td></tr><tr><td>No bg model</td><td>0.059</td><td>(5.47, 0.027)</td><td>0.164</td></tr><tr><td>Full method</td><td>0.048</td><td>(5.45, 0.028)</td><td>0.152</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Table 4: User study: the proportion $( \% )$ of users that prefer our method over FOMM (Siarohin et al., 2019a).
|
| 137 |
+
|
| 138 |
+
<table><tr><td>Dataset</td><td>User preference (%)</td></tr><tr><td>VoxCeleb</td><td>52.2%</td></tr><tr><td>TaiChiHD (256)</td><td>83.0%</td></tr><tr><td>TED-talks</td><td>91.0%</td></tr></table>
|
| 139 |
+
|
| 140 |
+
# 4.4 ABLATIONS
|
| 141 |
+
|
| 142 |
+
In order to understand how much benefit each of our contributions bring, we ran a number of ablation experiments, detailed in Tab. 3.
|
| 143 |
+
|
| 144 |
+
PCA-based vs. regression-based representations First we compare the PCA-based motion model with the previous, regression-based one (Siarohin et al., 2019a). From the qualitative, heatmap depictions in Fig. 3, we observe that the regression-based method localizes one edge of each corresponding part, while our method predicts regions that roughly correspond to the segmentation of the object into its constituent, articulated parts. This meaningful segmentation arises completely unsupervised.
|
| 145 |
+
|
| 146 |
+
From Tab. 1 we note that adding the PCA-based representation alone (second row) had marginal impact on the $\mathcal { L } _ { 1 }$ score (dominated by the much larger background region), but it had a much larger impact on other metrics, which are more sensitive to object-part-related errors on articulated objects. This is corroborated by Tab. 3.
|
| 147 |
+
|
| 148 |
+
We intuit that PCA-based estimation both captures regions and improves performance because it is much easier for the convolutional network to assign pixels of an object part to the corresponding heatmap than to directly regress motion parameters to an abstract reference frame. This is borne out by our toy experiment (sec. 4.1). In order to estimate the heatmap it need only learn all appearances of the corresponding object part, whereas regression-based networks must learn the joint space of all appearances of a part in all possible geometric configurations (e.g. rotated, scaled etc.).
|
| 149 |
+
|
| 150 |
+
One of the most important hyper-parameters of our model is the number of regions, $K$ . The qualitative and quantitative ablations of this parameter are shown in Fig. 3 and Tab. 1 respectively. We can observe that, while the regression-based representation fails when the number of keypoints grows to 20, our PCA-based representation scales well with the number of regions.
|
| 151 |
+
|
| 152 |
+
Modeling background motion Tab. 3 shows that methods with background motion modeling have much lower $\mathcal { L } _ { 1 }$ error. Since background constitutes a large portion of the image, and $\mathcal { L } _ { 1 }$ treats all pixels equally, this is to be expected. AED was also impacted, suggesting that the identity representation captures some background appearance. However, since AKD & MKR metrics evaluate object pose only, they are not improved by background modelling.
|
| 153 |
+
|
| 154 |
+
# 5 CONCLUSION
|
| 155 |
+
|
| 156 |
+
We have argued that previous unsupervised animation frameworks’ poor results on articulated objects are due to their representations. We propose a new, PCA-based, region motion representation, which we believe both makes it easier for the network to learn region motion, and encourages it to learn semantically meaningful object parts. In addition, we propose a background motion estimation module to decouple foreground and background motion. Qualitative and quantitative results across a range of datasets and tasks demonstrate several key benefits: improved region distribution and stability, improved reconstruction accuracy and user perceived quality, and an ability to scale to more regions. We also introduce a new, more challenging dataset, TED-talks, for benchmarking future improvements on this task.
|
| 157 |
+
|
| 158 |
+
While we show some results on out of domain data (Fig. 1), generalization remains a significant challenge to making this method broadly practical in articulated animation of inanimate objects.
|
| 159 |
+
|
| 160 |
+
# REFERENCES
|
| 161 |
+
|
| 162 |
+
Brandon Amos, Bartosz Ludwiczuk, and Mahadev Satyanarayanan. Openface: A general-purpose face recognition. 2016.
|
| 163 |
+
|
| 164 |
+
Aayush Bansal, Shugao Ma, Deva Ramanan, and Yaser Sheikh. Recycle-gan: Unsupervised video retargeting. In Proceedings of the European Conference on Computer Vision, 2018.
|
| 165 |
+
|
| 166 |
+
Adrian Bulat and Georgios Tzimiropoulos. How far are we from solving the 2d & 3d face alignment problem? (and a dataset of 230,000 3d facial landmarks). In ICCV, 2017.
|
| 167 |
+
|
| 168 |
+
Chen Cao, Qiming Hou, and Kun Zhou. Displaced dynamic expression regression for real-time facial tracking and animation. ACM Transactions on Graphics, 2014.
|
| 169 |
+
|
| 170 |
+
Zhe Cao, Tomas Simon, Shih-En Wei, and Yaser Sheikh. Realtime multi-person 2d pose estimation using part affinity fields. In CVPR, 2017.
|
| 171 |
+
|
| 172 |
+
Caroline Chan, Shiry Ginosar, Tinghui Zhou, and Alexei A Efros. Everybody dance now. In Proceedings of the IEEE International Conference on Computer Vision, 2019.
|
| 173 |
+
|
| 174 |
+
A Clark, J Donahue, and K Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019.
|
| 175 |
+
|
| 176 |
+
Yu Deng, Jiaolong Yang, Dong Chen, Fang Wen, and Xin Tong. Disentangled and controllable face image generation via 3d imitative-contrastive learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2020.
|
| 177 |
+
|
| 178 |
+
Oran Gafni, Lior Wolf, and Yaniv Taigman. Vid2game: Controllable characters extracted from real-world videos. arXiv preprint arXiv:1904.08379, 2019.
|
| 179 |
+
|
| 180 |
+
Zhenglin Geng, Chen Cao, and Sergey Tulyakov. 3d guided fine-grained face manipulation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 181 |
+
|
| 182 |
+
Sungjoo Ha, Martin Kersner, Beomsu Kim, Seokjun Seo, and Dongyoung Kim. Marionette: Few-shot face reenactment preserving identity of unseen targets. In Proceedings of the AAAI Conference on Artificial Intelligence, 2020.
|
| 183 |
+
|
| 184 |
+
Alexander Hermans, Lucas Beyer, and Bastian Leibe. In defense of the triplet loss for person re-identification. arXiv:1703.07737, 2017.
|
| 185 |
+
|
| 186 |
+
Tomas Jakab, Ankush Gupta, Hakan Bilen, and Andrea Vedaldi. Unsupervised learning of object landmarks through conditional image generation. In Proceedings of the Neural Information Processing Systems Conference, 2018.
|
| 187 |
+
|
| 188 |
+
Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In Proceedings of the European Conference on Computer Vision, 2016.
|
| 189 |
+
|
| 190 |
+
Hyeongwoo Kim, Pablo Garrido, Ayush Tewari, Weipeng Xu, Justus Thies, Matthias Nießner, Patrick Pérez, Christian Richardt, Michael Zollhöfer, and Christian Theobalt. Deep video portraits. ACM Transactions on Graphics, 2018.
|
| 191 |
+
|
| 192 |
+
Yunji Kim, Seonghyeon Nam, In Cho, and Seon Joo Kim. Unsupervised keypoint learning for guiding class-conditional video prediction. In Proceedings of the Neural Information Processing Systems Conference, 2019.
|
| 193 |
+
|
| 194 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014.
|
| 195 |
+
|
| 196 |
+
Wen Liu, Zhixin Piao, Jie Min, Wenhan Luo, Lin Ma, and Shenghua Gao. Liquid warping gan: A unified framework for human motion imitation, appearance transfer and novel view synthesis. In Proceedings of the IEEE International Conference on Computer Vision, 2019.
|
| 197 |
+
|
| 198 |
+
Dominik Lorenz, Leonard Bereska, Timo Milbich, and Bjorn Ommer. Unsupervised part-based disentangling of object shape and appearance. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 199 |
+
|
| 200 |
+
Koki Nagano, Jaewoo Seo, Jun Xing, Lingyu Wei, Zimo Li, Shunsuke Saito, Aviral Agarwal, Jens Fursund, and Hao Li. pagan: real-time avatars using dynamic textures. ACM Transactions on Graphics, 2018.
|
| 201 |
+
|
| 202 |
+
A. Nagrani, J. S. Chung, and A. Zisserman. Voxceleb: a large-scale speaker identification dataset. In INTERSPEECH, 2017.
|
| 203 |
+
|
| 204 |
+
Yuval Nirkin, Yosi Keller, and Tal Hassner. Fsgan: Subject agnostic face swapping and reenactment. In Proceedings of the IEEE International Conference on Computer Vision, 2019.
|
| 205 |
+
|
| 206 |
+
Albert Pumarola, Antonio Agudo, Aleix M Martinez, Alberto Sanfeliu, and Francesc Moreno-Noguer. Ganimation: Anatomically-aware facial animation from a single image. In Proceedings of the European Conference on Computer Vision, 2018.
|
| 207 |
+
|
| 208 |
+
Shengju Qian, Kwan-Yee Lin, Wayne Wu, Yangxiaokang Liu, Quan Wang, Fumin Shen, Chen Qian, and Ran He. Make a face: Towards arbitrary high fidelity face manipulation. In Proceedings of the IEEE International Conference on Computer Vision, 2019.
|
| 209 |
+
|
| 210 |
+
Jian Ren, Menglei Chai, Sergey Tulyakov, Chen Fang, Xiaohui Shen, and Jianchao Yang. Human motion transfer from poses in the wild. arXiv preprint arXiv:2004.03142, 2020.
|
| 211 |
+
|
| 212 |
+
Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In MICCAI, 2015.
|
| 213 |
+
|
| 214 |
+
Masaki Saito, Eiichi Matsumoto, and Shunta Saito. Temporal generative adversarial nets with singular value clipping. In Proceedings of the IEEE International Conference on Computer Vision, 2017.
|
| 215 |
+
|
| 216 |
+
Aliaksandr Siarohin, Enver Sangineto, Stéphane Lathuilière, and Nicu Sebe. Deformable gans for pose-based human image generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 217 |
+
|
| 218 |
+
Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. First order motion model for image animation. In Proceedings of the Neural Information Processing Systems Conference, 2019a.
|
| 219 |
+
|
| 220 |
+
Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. Animating arbitrary objects via deep motion transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019b.
|
| 221 |
+
|
| 222 |
+
Justus Thies, Michael Zollhofer, Marc Stamminger, Christian Theobalt, and Matthias Nießner. Face2face: Real-time face capture and reenactment of rgb videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016.
|
| 223 |
+
|
| 224 |
+
Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. Mocogan: Decomposing motion and content for video generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 225 |
+
|
| 226 |
+
Michael E Wall, Andreas Rechtsteiner, and Luis M Rocha. Singular value decomposition and principal component analysis. In A practical approach to microarray data analysis, pp. 91–109. Springer, 2003.
|
| 227 |
+
|
| 228 |
+
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Highresolution image synthesis and semantic manipulation with conditional gans. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017.
|
| 229 |
+
|
| 230 |
+
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Guilin Liu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Video-to-video synthesis. In Proceedings of the Neural Information Processing Systems Conference, 2018a.
|
| 231 |
+
|
| 232 |
+
Ting-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Few-shot video-to-video synthesis. In Proceedings of the Neural Information Processing Systems Conference, 2019.
|
| 233 |
+
|
| 234 |
+
Wei Wang, Xavier Alameda-Pineda, Dan Xu, Pascal Fua, Elisa Ricci, and Nicu Sebe. Every smile is unique: Landmark-guided diverse smile generation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018b.
|
| 235 |
+
|
| 236 |
+
Zhou Wang, Eero P Simoncelli, and Alan C Bovik. Multiscale structural similarity for image quality assessment. In Proceedings of the Thrity-Seventh Asilomar Conference on Signals, Systems & Computers, 2003.
|
| 237 |
+
|
| 238 |
+
Olivia Wiles, A Sophia Koepke, and Andrew Zisserman. X2face: A network for controlling face generation using images, audio, and pose codes. In Proceedings of the European Conference on Computer Vision, 2018.
|
| 239 |
+
|
| 240 |
+
Yuxin Wu, Alexander Kirillov, Francisco Massa, Wan-Yen Lo, and Ross Girshick. Detectron2. https://github.com/facebookresearch/detectron2, 2019.
|
| 241 |
+
|
| 242 |
+
Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 243 |
+
|
| 244 |
+
Yuting Zhang, Yijie Guo, Yixin Jin, Yijun Luo, Zhiyuan He, and Honglak Lee. Unsupervised discovery of object landmarks as structural representations. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 245 |
+
|
| 246 |
+
# A TED-TALKS DATASET CREATION
|
| 247 |
+
|
| 248 |
+
To create the TED-talks dataset, we downloaded 3,035 YouTube videos, shared under the “CC BY – $\mathrm { N C } - \mathrm { N D } 4 . 0$ International” license,3 using the "TED talks" query. From these initial candidates, we selected the videos where the upper part of the person is visible for at least 64 frames, and the height of the person bounding box was at least 384 pixels. After that, we manually filtered out static videos and videos in which a person is doing something other than presenting. We ended up with 411 videos, and split these videos in 369 training and 42 testing videos. We then split each video into chunks from a consistent camera angle (i.e. with no cuts to another camera), and for which the presenter didn’t move too far from their starting position in the chunk. We cropped the a square region around the presenter, such that they had a consistent scale, and downscaled this region to $3 8 4 \times 3 8 4$ pixels. Chunks that lacked sufficient resolution to be downscaled, or had a length shorter than 64 frames, were removed. Both the distance moved and the region cropping were achieved using a bounding box estimator for humans (Wu et al., 2019). Overall, we obtained 1,177 training video chunks and 145 test videos chunks.
|
| 249 |
+
|
| 250 |
+
# B IMPLEMENTATION DETAILS
|
| 251 |
+
|
| 252 |
+
For a fair comparison, in order to highlight our contributions, we mostly follow the architecture design of FOMM (Siarohin et al., 2019a). Similar to FOMM, our region predictor, background motion predictor and pixel-wise flow predictor operate on a quarter of the original resolution, e.g. $6 4 \times 6 4$ for $2 5 6 \times 2 5 6$ images, $9 6 \times 9 6$ for $3 8 4 \times 3 8 4$ and $1 2 8 \times 1 2 8$ for $5 1 2 \times 5 1 2$ . We use the U-Net (Ronneberger et al., 2015) architecture with five "convolution - batch norm - ReLU - pooling" blocks in the encoder and five "upsample - convolution - batch norm - ReLU" blocks in the decoder for both the region predictor and the pixel-wise flow predictor. For the background motion predictor, we use only the five block encoder part. Similarly to FOMM (Siarohin et al., 2019a), we use the Johnson architecture (Johnson et al., 2016) for image generation, with two down-sampling blocks, six residual-blocks, and two up-sampling blocks. However, we add skip connections that are warped and weighted by the confidence map. Our method is trained using Adam (Kingma & Ba, 2014) optimizer with learning rate $2 e - 4$ and batch size 48, 20, 12 for $2 5 6 \times 2 5 6$ , $3 8 4 \times 3 8 4$ and $5 1 2 \times 5 1 2$ resolutions respectively. During the training process, the networks observe 3M source-driving pairs, each pair selected at random from a random video chunk, and we drop the learning rate by a factor of 10 after 1.8M and 2.7M pairs. We use 4 Nvidia P100 GPUs for training.
|
| 253 |
+
|
| 254 |
+
# C MGIF DATASET
|
| 255 |
+
|
| 256 |
+
We run additional experiments on the MGif (Siarohin et al., 2019b) dataset to further demonstrate the superiority of PCA-based representations over regression-based ones. The dataset contains a set of animations of articulated, 2D, cartoon animals. The qualitative results are presented in the supplementary video. We can observe that our PCA-based representation successfully tracks all legs, while the regression-based representation often misses some of the legs, which leads to worse reconstruction quality. This observation is further confirmed by quantitative evaluation; the $\mathcal { L } _ { 1 }$ error for FOMM (Siarohin et al., 2019a) is 0.0223, while for our method it is 0.0206.
|
| 257 |
+
|
| 258 |
+
# D COMPARISON WITH OTHER METHODS
|
| 259 |
+
|
| 260 |
+
The main paper has focused on comparing our method to FOMM (Siarohin et al., 2019a), as it is both most similar to our work, and the current state-of-the-art. We show quantitative results using prior works (Wiles et al., 2018; Siarohin et al., 2019b) in Table 5. These are significantly inferior to both FOMM and our method.
|
| 261 |
+
|
| 262 |
+
Table 5: Video reconstruction comparison. (Best result in bold.)
|
| 263 |
+
|
| 264 |
+
<table><tr><td rowspan="2"></td><td colspan="3">TaiChiHD (256)</td><td colspan="3">VoxCeleb</td></tr><tr><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>L1</td><td>AKD</td><td>AED</td></tr><tr><td>X2Face</td><td>0.080</td><td>(17.65, 0.109)</td><td>0.27</td><td>0.078</td><td>7.69</td><td>0.405</td></tr><tr><td>Monkey-Net</td><td>0.077</td><td>(10.80, 0.059)</td><td>0.228</td><td>0.049</td><td>1.89</td><td>0.199</td></tr><tr><td>FOMM</td><td>0.056</td><td>(6.53, 0.033)</td><td>0.172</td><td>0.041</td><td>1.27</td><td>0.134</td></tr><tr><td>Ours</td><td>0.048</td><td>(5.45, 0.028)</td><td>0.152</td><td>0.040</td><td>1.28</td><td>0.133</td></tr></table>
|
| 265 |
+
|
| 266 |
+
# E TOY EXPERIMENT DETAILS
|
| 267 |
+
|
| 268 |
+
The rotated rectangles dataset consists of images of rectangles randomly rotated from $0 ^ { \circ }$ to $9 0 °$ , along with labels that indicate the angle of rotation. The rectangles have different, random colors. Visual samples are shown in Fig. 6.
|
| 269 |
+
|
| 270 |
+

|
| 271 |
+
Figure 6: Examples of synthetic rectangle dataset.
|
| 272 |
+
|
| 273 |
+
We tested three different networks: Naive, Regression-based and PCA-based. The Naive network directly predicts an angle from an image using an encoder and a fully-connected layer. Regressionbased is similar to FOMM (Siarohin et al., 2019a); the angle is regressed per pixel an using hourglass network, and pooled according to heatmap weights predicted using the same hourglass network. PCAbased is our method described in Sec. 3; we predict the heatmap using an hourglass network, PCA is performed according to eq. equation 2, and the angle is computed from matrix $U$ as arctan $\left( U _ { 1 0 } / U _ { 0 0 } \right)$ .
|
| 274 |
+
|
| 275 |
+
Each of the networks was trained, on subsets of the dataset of varying sizes, to minimize the $\mathcal { L } _ { 1 }$ loss between predicted and ground truth rotation angle. All models were trained for 100 epochs, with batch size 8. We used the Adam optimizer, with a learning rate of $1 0 ^ { - 4 }$ . We varied the size of the training set from 32 to 1024. Results, on a separate, fixed test set of size 128, were then computed, shown in Fig. 5.
|
parse/train/kHromd7SNA/kHromd7SNA_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kHromd7SNA/kHromd7SNA_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kzPtpIpF8o/kzPtpIpF8o.md
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# XCiT: Cross-Covariance Image Transformers
|
| 2 |
+
|
| 3 |
+
Alaaeldin El-Nouby1,2 Hugo Touvron1,3 Mathilde Caron1,2 Piotr Bojanowski1
|
| 4 |
+
|
| 5 |
+
Matthijs Douze1 Armand Joulin1 Ivan Laptev2 Natalia Neverova1
|
| 6 |
+
|
| 7 |
+
Gabriel Synnaeve1 Jakob Verbeek1 Hervé Jégou1
|
| 8 |
+
|
| 9 |
+
1Facebook AI 2Inria 3Sorbonne University
|
| 10 |
+
|
| 11 |
+
# Abstract
|
| 12 |
+
|
| 13 |
+
Following tremendous success in natural language processing, transformers have recently shown much promise for computer vision. The self-attention operation underlying transformers yields global interactions between all tokens, i.e. words or image patches, and enables flexible modelling of image data beyond the local interactions of convolutions. This flexibility, however, comes with a quadratic complexity in time and memory, hindering application to long sequences and highresolution images. We propose a “transposed” version of self-attention that operates across feature channels rather than tokens, where the interactions are based on the cross-covariance matrix between keys and queries. The resulting cross-covariance attention (XCA) has linear complexity in the number of tokens, and allows efficient processing of high-resolution images. Our cross-covariance image transformer (XCiT) – built upon XCA – combines the accuracy of conventional transformers with the scalability of convolutional architectures. We validate the effectiveness and generality of XCiT by reporting excellent results on multiple vision benchmarks, including (self-supervised) image classification on ImageNet-1k, object detection and instance segmentation on COCO, and semantic segmentation on ADE20k.
|
| 14 |
+
|
| 15 |
+
# 1 Introduction
|
| 16 |
+
|
| 17 |
+
Transformers architectures $\left[ \left[ 6 8 \right] \right]$ have provided quantitative and qualitative breakthroughs in speech and natural language processing (NLP). After a few attempts to incorporate wide-range self-attention in vision architectures $[ 7 1 , 8 2 ]$ , Dosovitskiy et al. [21] established transformers as a viable architecture for learning visual representations, reporting competitive results for image classification while relying on large-scale pre-training. Touvron et al. $\textcircled { 6 4 } \textcircled { 1 6 }$ have shown on par or better accuracy/throughput compared to strong convolutional baselines such as EfficientNets $\lVert 5 8 \rVert$ when training transformers on ImageNet-1k using extensive data augmentation and improved training schemes. Promising results have been obtained for other vision tasks, including image retrieval $\pmb { \mathbb { Z } } 2 \mathbb { I }$ , object detection and semantic segmentation $\boxed { \boxed { 4 4 } } \boxed { 7 0 } \boxed { 8 1 } \boxed { 8 3 } \boxed { }$ , as well as video understanding [2, 7, 23].
|
| 18 |
+
|
| 19 |
+
One major drawback of transformers is the time and memory complexity of the core self-attention operation, that increases quadratically with the number of input tokens, or similarly number of patches in computer vision. For $w \times h$ images, this translates to a complexity of $\mathcal { O } ( w ^ { 2 } \bar { h } ^ { 2 } )$ , which is prohibitive for most tasks involving high-resolution images, such as object detection and segmentation. Various strategies have been proposed to alleviate this complexity, for instance using approximate forms of self-attention $\textcircled { 1 4 4 } , \textcircled { 8 1 }$ , or pyramidal architectures which progressively downsample the feature maps $ { \mathbb { I } } ^ { { \mathbb { Z } } 0 \| }$ . However, none of the existing solutions are fully satisfactory, as they either trade complexity for accuracy, or their complexity remains excessive for processing very large images.
|
| 20 |
+
|
| 21 |
+
We replace the self-attention, as originally introduced by Vaswani et al. $\lVert \rVert \bigotimes \rVert$ , with a “transposed” attention that we denote as “cross-covariance attention” (XCA). Cross-covariance attention substitutes the explicit full pairwise interaction between tokens by self-attention among features, where the attention map is derived from the cross-covariance matrix computed over the key and query projections of the token features. Importantly, XCA has a linear complexity in the number of patches. To construct our Cross-Covariance Image Transformers (XCiT), we combine XCA with local patch interaction modules that rely on efficient depth-wise convolutions and point-wise feedforward networks commonly used in transformers, see Figure $\mathbb { L }$ XCA can be regarded as a form of a dynamic $1 \times 1$ convolution, which multiplies all tokens with the same data-dependent weight matrix. We find that the performance of our XCA layer can be further improved by applying it on blocks of channels, rather than directly mixing all channels together. This “block-diagonal” shape of XCA further reduces the computational complexity with a factor linear in the number of blocks.
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1: Our XCiT layer consists of three main blocks, each preceded by LayerNorm and followed by a residual connection: (i) the core cross-covariance attention (XCA) operation, (ii) the local patch interaction (LPI) module, and (iii) a feed-forward network (FFN). By transposing the query-key interaction, the computational complexity of XCA is linear in the number of data elements $N$ , rather than quadratic as in conventional self-attention.
|
| 25 |
+
|
| 26 |
+
Given its linear complexity in the number of tokens, XCiT can efficiently process images with more than thousand pixels in each dimension. Notably, our experiments show that XCiT does not compromise the accuracy and achieves similar results to DeiT $\mathbb { \lVert \rVert }$ and CaiT $ { \mathbb { I } } { \mathbb { I } }$ in comparable settings. Moreover, for dense prediction tasks such as object detection and image segmentation, our models outperform popular ResNet $\left[ \left[ 2 8 \right] \right]$ backbones as well as the recent transformer-based models [44, 70, 81]. Finally, we also successfully apply XCiT to the self-supervised feature learning using DINO [12], and demonstrate improved performance compared to a DeiT-based backbone $\pmb { \| 6 4 \| }$ .
|
| 27 |
+
|
| 28 |
+
Overall, we summarize our contributions as follows:
|
| 29 |
+
|
| 30 |
+
• We introduce cross-covariance attention (XCA), which provides a “transposed” alternative to conventional self-attention, attending over channels instead of tokens. Its complexity is linear in the number of tokens, allowing for efficient processing of high-resolution images, see Figure 2.
|
| 31 |
+
• XCA attends to a fixed number of channels, irrespective of the number of tokens. As a result, our models are significantly more robust to changes in image resolution at test time, and are therefore more amenable to process variable-size images.
|
| 32 |
+
• For image classification, we demonstrate that our models are on par with state-of-the-art vision transformers for multiple model sizes using a simple columnar architecture, i.e., in which we keep the resolution constant across layers. In particular, our XCiT-L24 model achieves $8 6 . 0 \%$ top-1 accuracy on ImageNet, outperforming its CaiT-M24 [67] and NFNet-F2 $\mathbb { \ m }$ counterparts with comparable numbers of parameters.
|
| 33 |
+
• For dense prediction tasks with high-resolution images, our models outperform ResNet and multiple transformer-based backbones. On the COCO benchmark, we achieve a strong performance of $4 8 . 5 \%$ and $4 3 . 7 \%$ mAP for object detection and instance segmentation respectively. Moreover, we report $4 8 . 4 \%$ mIoU for semantic segmentation on the ADE20k benchmark, outperforming the state-of-the-art Swin Transformer $\pm \ddagger { 4 } \rVert$ backbones across all comparable model sizes.
|
| 34 |
+
• Finally, our XCiT model is highly effective in self-supervised learning setups, achieving $8 0 . 9 \%$ top-1 accuracy on ImageNet-1k using DINO [12].
|
| 35 |
+
|
| 36 |
+
# 2 Related work
|
| 37 |
+
|
| 38 |
+
Deep vision transformers. Training deep vision transformers can be challenging due to instabilities and optimization issues. Touvron et al. $\dot { \left[ 6 7 \right] }$ successfully train models with up to 48 layers using LayerScale, which weighs contributions of residual blocks across layers and improves optimization. Additionally, the authors introduce class attention layers which decouple the learning of patch features and the feature aggregation stage for classification.
|
| 39 |
+
|
| 40 |
+
Spatial structure in vision transformers. Yuan et al. $\pmb { \mathbb { Z } } 9 \|$ propose applying a soft split for patch projection with overlapping patches which is applied repeatedly across model layers, reducing the number of patches progressively. Han et al. $\mathbb { \left| \overline { { 2 7 } } \right| }$ introduce a transformer module for intra-patch structure, exploiting pixel-level information and integrating with an inter-patch transformer to attain higher representation power. d’Ascoli et al. $\mathbb { \ m }$ consider the initialization of self-attention blocks as a convolutional operator, and demonstrate that such initialization improves the performance of vision transformers in low-data regimes. Graham et al. $\pmb { \mathbb { D } } \pmb { \ 6 } \|$ introduce LeViT, which adopts a multistage architecture with progressively reduced feature resolution similar to popular convolutional architectures, allowing for models with high inference speed while retaining a strong performance. Moreover, the authors adopt a convolution-based module for extracting patch descriptors. Yuan et al. $\left[ \left[ 7 8 \right] \right]$ improve both the performance and the convergence speed of vision transformers by replacing the linear patch projection with convolutional layers and max-pooling, as well as modifying the feed-forward networks in each transformer layer to incorporate depth-wise convolutions.
|
| 41 |
+
|
| 42 |
+
Efficient attention. Numerous methods for efficient self-attention have been proposed in the literature to address the quadratic complexity of self-attention in the number of input tokens. These include restricting the span of the self-attention to local windows [48, 50], strided patterns $\pmb { \mathbb { I } }$ , axial patterns $\textcircled { \lvert 3 0 \rvert }$ , or an adaptive computation across layers $ { \mathbb { I } }$ . Other methods provide an approximation of the self-attention matrix which can be achieved by a projection across the token dimension $\mathbb { \lVert \rVert }$ , or through a factorization of the softmax-attention kernel [15, 37, 56, 77], which avoids explicit computation of the attention matrix. While conceptually different, our XCA performs similar computations without being sensitive to the choice of the kernel. Similarly, Lee-Thorp et al. [41] achieve faster training by substituting self-attention with unparametrized Fourier Transform. Other efficient attention methods rely on local attention and adding a small number of global tokens, thus allowing interaction among all tokens only by hopping through the global tokens $\boxed { 1 } \boxed { 5 } \boxed { 3 4 } \boxed { 8 0 }$ . Similarly, Goyal et al. $\boldsymbol { \| 2 5 \| }$ use a global workspace though which items interact, albeit one that is shared across layers.
|
| 43 |
+
|
| 44 |
+
Transformers for high-resolution images. Several works adopt visual transformers to highresolution image tasks beyond image classification, such as object detection and image segmentation. Wang et al. $\tilde { \left. 7 0 \right. }$ design a model with a pyramidal architecture and address complexity by gradually reducing the spatial resolution of keys and values. Similarly, for video recognition Fan et al. [23] utilize pooling to reduce the resolution across the spatial and temporal dimensions to allow for an efficient computation of the attention matrix. Zhang et al. $\textcircled { 8 1 }$ adopt global tokens and local attention to reduce the model complexity, while Liu et al. $\checkmark$ provide an efficient method for local attention with shifted windows. In addition, Zheng et al. $[ [ 8 3 ] ]$ and Ranftl et al. $[ [ 5 4 ]$ study problems like semantic segmentation and monocular depth estimation with the quadratic self-attention operation.
|
| 45 |
+
|
| 46 |
+
Data-dependent layers. Our XCiT layer can be regarded as a “dynamic” $1 \times 1$ convolution, which multiplies all token features with the same data-dependent weight matrix, derived from the key and query cross-covariance matrix. In the context of convolutional networks, Dynamic Filter Networks [9] explore a related idea, using a filter generating subnetwork to produce convolutional filters based on features in previous layers. Squeeze-and-Excitation networks $\left[ \left[ 3 2 \right] \right]$ use data dependent $1 \times 1$ convolutions in convolutional architectures. Spatially average-pooled features are fed to a 2-layer MLP which produces per channel scaling parameters. Closer in spirit to our work, Lambda layers propose a way to ensure global interaction in ResNet models $\bar { \mathbb { H } }$ . Their “content-based lambda function” is computing a similar term as our cross-covariance attention, but differing in how the softmax and $\ell _ { 2 }$ normalizations are applied. Moreover, Lambda layers also include specific positionbased lambda functions, and LambdaNetworks are based on ResNets while XCiT follows the ViT architecture. Recently data-independent analogues of self-attention have also been found to be an effective alternative to convolutional and self-attention layers for vision tasks $\textcircled { 1 2 0 } , \textcircled { 4 6 } , \textcircled { 6 2 } , \textcircled { 6 6 } $ . These methods treat entries in the attention map as learnable parameters, rather than deriving the attention map dynamically from queries and keys, but their complexity remains quadratic in the number of tokens. Zhao et al. [82] consider alternative attention forms in computer vision.
|
| 47 |
+
|
| 48 |
+
# 3 Method
|
| 49 |
+
|
| 50 |
+
In this section, we first recall the self-attention mechanism, and the connection between the Gram and covariance matrices, which motivated our work. We then propose our cross-covariance attention operation (XCA) – which operates along the feature dimension instead of token dimension in conventional transformers – and combine it with local patch interaction and feedforward layers to construct our Cross-Covariance Image Transformer (XCiT). See Figure $\bigtriangledown$ for an overview.
|
| 51 |
+
|
| 52 |
+
# 3.1 Background
|
| 53 |
+
|
| 54 |
+
Token self-attention. Self-attention, as introduced by Vaswani et al. $\lVert \overline { { 6 8 } } \rVert$ , operates on an input matrix $X \in \mathbb { R } ^ { N \times d }$ , where $N$ is the number of tokens, each of dimensionality $d$ . The input $X$ is linearly projected to queries, keys and values, using the weight matrices $\dot { W _ { q } } \in \mathbb { R } ^ { d \times d _ { q } }$ , $W _ { k } \in$ $\mathbb { R } ^ { d \times d _ { k } }$ and $W _ { v } \in \mathbb { R } ^ { d \times d _ { v } }$ , such that $Q { = } X W _ { q }$ , $K { = } X W _ { k }$ and $V { = } X W _ { v }$ , where $d _ { q } = d _ { k }$ . Keys and values are used to compute an attention map $\mathcal { A } ( K , Q ) = \operatorname { S o f t m a x } ( Q K ^ { \top } / \sqrt { d _ { k } } )$ , and the output of the self-attention operation is defined as the weighted sum of $N$ token features in $V$ with the weights corresponding to the attention map: Attention $( Q , K , V ) = \mathcal { A } ( K , Q ) V$ . The computational complexity of self-attention scales quadratically in $N$ , due to pairwise interactions between all $N$ elements.
|
| 55 |
+
|
| 56 |
+
Relationship between Gram and covariance matrices. To motivate our cross-covariance attention operation, we recall the relation between Gram and covariance matrices. The unnormalised $d \times d$ covariance matrix is obtained as $C { = } X ^ { \top } X$ . The $N \times N$ Gram matrix contains all pairwise innerproducts: $G { = } X X ^ { \top }$ . The non-zero part of the eigenspectrum of the Gram and covariance matrix are equivalent, and the eigenvectors of $C$ and $G$ can be computed in terms of each other. If $V$ are the eigenvectors of $G$ , then the eigenvectors of $C$ are given by $U { = } X V$ . To minimise the computational cost, the eigendecomposition of either the Gram or covariance matrix can be obtained in terms of the decomposition of the other, depending on which of the two matrices is the smallest.1
|
| 57 |
+
|
| 58 |
+
We draw upon this strong connection between the Gram and covariance matrices to consider whether it is possible to avoid the quadratic cost to compute the $N \times N$ attention matrix, which is computed from the analogue of the $N \times N$ Gram matrix $\mathsf { \bar { Q } } K ^ { \top } { = } X W _ { q } W _ { k } ^ { \top } X ^ { \top }$ . Below we consider how we can use the $d _ { k } \times d _ { q }$ cross-covariance matrix, $K ^ { \top } Q { = } W _ { k } ^ { \top } X ^ { \top } X W _ { q }$ , which can be computed in linear time in the number of elements $N$ , to define an attention mechanism.
|
| 59 |
+
|
| 60 |
+
# 3.2 Cross-covariance attention
|
| 61 |
+
|
| 62 |
+
We propose a cross-covariance based self-attention function that operates along the feature dimension, rather than along the token dimension as in token self-attention. Using the definitions of queries, keys and values from above, the cross-covariance attention function is defined as:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\operatorname { X C - A t t e n t i o n } ( Q , K , V ) = V A \operatorname { x c } ( K , Q ) , \qquad A \operatorname { x c } ( K , Q ) = \operatorname { S o f t m a x } \left( \hat { K } ^ { \top } \hat { Q } / \tau \right) ,
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where each output token embedding dimension is a convex combination of the $d _ { v }$ features of its corresponding token embedding in $V$ . The attention weights $\mathcal { A }$ are computed based on the crosscovariance matrix.
|
| 69 |
+
|
| 70 |
+
$\ell _ { 2 }$ -Normalization and temperature scaling. In addition to building our attention operation on the cross-covariance matrix, we make a second modification compared to token self-attention. We restrict the magnitude of the query and key matrices by $\ell _ { 2 }$ -normalising them, such that each column of length $N$ of the normalised matrices $\hat { Q }$ and $\hat { K }$ has unit norm, and every element in $d { \times } d$ cross-covariance matrix $\hat { K } ^ { \top } \hat { Q }$ is in the range $[ - 1 , 1 ]$ . We observed that controlling the norm strongly enhances the stability of training, especially when trained with a variable numbers of tokens. However, restricting the norm reduces the representational power of the operation by removing a degree of freedom. Therefore, we introduce a learnable temperature parameter $\tau$ which scales the inner products before the Softmax, allowing for sharper or more uniform distribution of attention weights.
|
| 71 |
+
|
| 72 |
+

|
| 73 |
+
Figure 2: Inference memory usage of vision transformer variants. Our XCiT models scale linearly in the number of tokens, which makes it possible to scale to much larger image sizes, even in comparison to approaches employing approximate self-attention or a pyramidal design. All measurements are performed with a batch size of 64 on a single V100-32GB GPU.
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
Figure 3: Performance when changing the resolution at test-time for models with a similar number of parameters. All networks were trained at resolution 224, w/o distillation. XCiT is more tolerant to changes of resolution than the Gram-based DeiT and benefit more from the “FixRes” effect $\mathbb { \lVert \rVert }$ when inference is performed at a larger resolution than at train-time.
|
| 77 |
+
|
| 78 |
+
Block-diagonal cross-covariance attention. Instead of allowing all features to interact among each other, we divide them into a $h$ groups, or “heads”, in a similar fashion as multi-head token self-attention. We apply the cross-covariance attention separately per head where for each head, we learn separate weight matrices to project $X$ to queries, keys and values, and collect the corresponding weight matrices in the tensors $\dot { W _ { q } } \in \mathbb { R } ^ { h \times d \times d _ { q } }$ , $W _ { k } \in \mathbb { R } ^ { \mathbf { \bar { h } } \times d \times d _ { k } }$ and $\dot { W } _ { v } \in \mathbb { R } ^ { h \times d \times d _ { v } }$ , where we set $d _ { k } \bar { = } d _ { q } { = } d _ { v } { = } d / h$ . Restricting the attention within heads has two advantages: (i) the complexity of aggregating the values with the attention weights is reduced by a factor $h$ ; (ii) more importantly, we empirically observe that the block-diagonal version is easier to optimize, and typically leads to improved results. This observation is in line with observations made for Group Normalization $\mathbb { [ ] }$ which normalizes groups of channels separately based on their statistics, and achieves favorable results for computer vision tasks compared to Layer Normalization $\pmb { \Vert 3 \Vert }$ , which combines all channels in a single group. Figure $\boxed { 4 }$ shows that each head learns to focus on semantically coherent parts of the image, while being flexible to change what type of features it attends to based on the image content.
|
| 79 |
+
|
| 80 |
+
Complexity analysis. The usual token self-attention with $h$ heads has a time complexity of $\mathcal { O } ( N ^ { 2 } d )$ and memory complexity of $\mathcal { O } ( h N ^ { 2 } { + } N d )$ . Due to the quadratic complexity, it is problematic to scale token self-attention to images with a large number of tokens. Our cross-covariance attention overcomes this drawback as its computational cost of $\mathcal { O } ( N d ^ { 2 } / h )$ scales linearly with the number of tokens, as does the memory complexity of $\mathcal { O } ( d ^ { 2 } / h + N \dot { d } )$ . Therefore, our model scales much better to cases where the number of tokens $N$ is large, and the feature dimension $d$ is relatively small, as is typically the case, in particularly when splitting the features into $h$ heads.
|
| 81 |
+
|
| 82 |
+
# 3.3 Cross-covariance image transformers
|
| 83 |
+
|
| 84 |
+
To construct our cross-covariance image transformers (XCiT), we adopt a columnar architecture which maintains the same spatial resolution across layers, similarly to $\boxed { 1 2 1 } \boxed { 6 4 } \boxed { 6 7 }$ . We combine our cross-covariance attention (XCA) block with the following additional modules, each one being preceded by a LayerNorm $\pmb { \mathbb { B } } \|$ . See Figure $\perp$ for an overview. Since in this section we specifically design the model for computer vision tasks, tokens correspond to image patches in this context.
|
| 85 |
+
|
| 86 |
+
Table 1: XCiT models. Design choices include model depth, patch embeddings dimensionality $d$ , and the number of heads $h$ used in XCA. By default our models are trained and tested at resolution 224 with patch sizes of $1 6 \times 1 6$ . We also train with distillation using a convolutional teacher (denoted $\Upsilon$ ) as proposed by Touvron et al. [64]. Finally, we report performance of our strongest models obtained with $8 \times 8$ patch size, fine-tuned $( \uparrow )$ and tested at resolution $3 8 4 \times 3 8 4$ (column $\textcircled { \alpha } 3 8 4 / 8 $ ), using distillation with a teacher that was also fine-tuned $@ 3 8 4$ .
|
| 87 |
+
|
| 88 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">Depth</td><td rowspan="2">d</td><td rowspan="2">#heads</td><td rowspan="2">#params</td><td colspan="2">GFLOPs</td><td colspan="3">ImageNet-1k-val top-1 acc. (%)</td></tr><tr><td>@224/16</td><td>@384/8</td><td>@224/16 @224/16r</td><td></td><td>@384/8r ↑</td></tr><tr><td>XCiT-N12</td><td>12</td><td>128</td><td>4</td><td>3M</td><td>0.5</td><td>6.4</td><td>69.9</td><td>72.2</td><td>77.8</td></tr><tr><td>XCiT-T12</td><td>12</td><td>192</td><td>4</td><td>7M</td><td>1.2</td><td>14.3</td><td>77.1</td><td>78.6</td><td>82.4</td></tr><tr><td>XCiT-T24</td><td>24</td><td>192</td><td>4</td><td>12M</td><td>2.3</td><td>27.3</td><td>79.4</td><td>80.4</td><td>83.7</td></tr><tr><td>XCiT-S12</td><td>12</td><td>384</td><td>8</td><td>26M</td><td>4.8</td><td>55.6</td><td>82.0</td><td>83.3</td><td>85.1</td></tr><tr><td>XCiT-S24</td><td>24</td><td>384</td><td>8</td><td>48M</td><td>9.1</td><td>106.0</td><td>82.6</td><td>83.9</td><td>85.6</td></tr><tr><td>XCiT-M24</td><td>24</td><td>512</td><td>8</td><td>84M</td><td>16.2</td><td>188.0</td><td>82.7</td><td>84.3</td><td>85.8</td></tr><tr><td>XCiT-L24</td><td>24</td><td>768</td><td>16</td><td>189M</td><td>36.1</td><td>417.9</td><td>82.9</td><td>84.9</td><td>86.0</td></tr></table>
|
| 89 |
+
|
| 90 |
+
Local patch interaction. In the XCA block communication between patches is only implicit through the shared statistics. To enable explicit communication across patches we add a simple Local Patch Interaction (LPI) block after each XCA block. LPI consists of two depth-wise $3 { \times } 3$ convolutional layers with Batch Normalization and GELU non-linearity in between. Due to its depth-wise structure, the LPI block has a negligible overhead in terms of parameters, as well as a very limited overhead in terms of throughput and memory usage during inference.
|
| 91 |
+
|
| 92 |
+
Feed-forward network. As is common in transformer models, we add a point-wise feedforward network (FFN), which has a single hidden layer with $4 d$ hidden units. While interaction between features is confined within groups in the XCA block, and no feature interaction takes place in the LPI block, the FFN allows for interaction across all features.
|
| 93 |
+
|
| 94 |
+
Global aggregation with class attention. When training our models for image classification, we utilize the class attention layers as proposed by Touvron et al. $ { \mathbb { I } } { \mathbb { K } } { \ b { 7 } } { \mathbb { I } }$ . These layers aggregate the patch embeddings of the last XCiT layer through writing to a CLS token by one-way attention between the CLS tokens and the patch embeddings. The class attention is also applied per head, i.e. feature group.
|
| 95 |
+
|
| 96 |
+
Handling images of varying resolution. In contrast to the attention map involved in token selfattention, in our case the covariance blocks are of fixed size independent of the input image resolution. The softmax always operates over the same number of elements, which may explain why our models behave better when dealing with images of varying resolutions (see Figure $\textcircled{3}$ . In XCiT we include additive sinusoidal positional encoding $\lVert \rVert$ with the input tokens. We generate them in 64 dimensions from the 2d patch coordinates and then linearly project to the transformer working dimension $d$ . This choice is orthogonal to the use of learned positional encoding, as in ViT [21]. However, it is more flexible since there is no need to interpolate or fine-tune the network when changing the image size.
|
| 97 |
+
|
| 98 |
+
Model configurations. In Table $^ 1$ we list different variants of our model which we use in our experiments, with different choices for model width and depth. For the patch encoding layer, unless mentioned otherwise, we adopt the alternative used by Graham et al. $\pmb { \mathbb { D } } \pmb { 6 } \|$ with convolutional patch projection layers. We also experimented with a linear patch projection as described in $\pmb { \mathbb { D } } \mathbf { 1 } \mathbf { h }$ , see our ablation in Table 4. Our default patch size is $1 6 \times 1 6$ , as in other vision transformer models including ViT $\scriptstyle { \left[ \left[ 2 1 \right] \right] }$ , DeiT [64] and CaiT $\pmb { \mathbb { E 7 } }$ . We also experiment with smaller $8 \times 8$ patches, which has been observed to improve performance $\mathbb { [ [ 2 ] }$ . Note that this is efficient with XCiT as its complexity scales linearly which the number of patches, while ViT, DeiT and CaiT scale quadratically.
|
| 99 |
+
|
| 100 |
+
# 4 Experimental evaluation
|
| 101 |
+
|
| 102 |
+
In this section we demonstrate the effectiveness and versatility of XCiT on multiple computer vision benchmarks, and present ablations providing insight on the importance of its different components. In the supplementary material we provide additional analysis, including the impact on performance of image resolution in Section ${ \bf A . l } ^ { \dot { } }$ and of multiple approximate attention baselines in Section A.2.
|
| 103 |
+
|
| 104 |
+
Table 2: ImageNet classification. Number of parameters, FLOPs, image resolution, and top-1 accuracy on ImageNet-1k and ImageNet-V2. Training strategies vary across models, transformer-based models and the reported RegNet mostly follow recipes from DeiT [64].
|
| 105 |
+
|
| 106 |
+
<table><tr><td>Model</td><td>#params</td><td>FLOPs Res.</td><td></td><td>ImNet</td><td>V2</td></tr><tr><td>EfficientNet-B5 RA [17]</td><td>30M</td><td>9.9B</td><td>456</td><td>83.7</td><td></td></tr><tr><td>RegNetY-4GFI531</td><td>21M</td><td>4.0B</td><td>224</td><td>80.0</td><td>72.4</td></tr><tr><td>DeiT-SY 64]</td><td>22M</td><td>4.6B</td><td>224</td><td>81.2</td><td>68.5</td></tr><tr><td>Swin-T [44]</td><td>29M</td><td>4.5B</td><td>224</td><td>81.3</td><td></td></tr><tr><td>CaiT-XS24Y ↑ 67]</td><td>26M</td><td>19.3B</td><td>384</td><td>84.1</td><td>74.1</td></tr><tr><td>XCiT-S12/16M</td><td>26M</td><td>4.8B</td><td>224</td><td>83.3</td><td>72.5</td></tr><tr><td>XCiT-S12/16Y↑</td><td>26M</td><td>14.3B</td><td>384</td><td>84.7</td><td>74.1</td></tr><tr><td>XCiT-S12/8Y↑</td><td>26M</td><td>55.6B</td><td>384</td><td>85.1</td><td>74.8</td></tr><tr><td>EfficientNet-B7RA [17]</td><td>66M</td><td>37.0B</td><td>600</td><td>84.7</td><td></td></tr><tr><td>NFNet-F0 [10]</td><td>72M</td><td>12.4B</td><td>256</td><td>83.6</td><td>72.6</td></tr><tr><td>RegNetY-8GF 园</td><td>39M</td><td>8.0B</td><td>224</td><td>81.7</td><td>72.4</td></tr><tr><td>TNT-B 四</td><td>66M</td><td>14.1B</td><td>224</td><td>82.8</td><td>1</td></tr><tr><td>国 Swin-S</td><td>50M</td><td>8.7B</td><td>224</td><td>83.0</td><td></td></tr><tr><td>CaiT-S24Y ↑ 67]</td><td>47M</td><td>32.2B</td><td>384</td><td>85.1</td><td>75.4</td></tr><tr><td>XCiT-S24/16M</td><td>48M</td><td>9.1B</td><td>224</td><td>83.9</td><td>73.3</td></tr><tr><td>XCiT-S24/16Y↑</td><td>48M</td><td>26.9B</td><td>384</td><td>85.1</td><td>74.6</td></tr><tr><td>XCiT-S24/8Y ↑</td><td>48M</td><td>105.9B</td><td>384</td><td>85.6</td><td>75.7</td></tr><tr><td>Fix-EfficientNet-B8</td><td>园 87M</td><td>89.5B</td><td>800</td><td>85.7</td><td>75.9</td></tr><tr><td>RegNetY-16GF[53]</td><td>84M</td><td>16.0B</td><td>224</td><td>82.9</td><td>72.4</td></tr><tr><td>Swin-B↑ 四</td><td>88M</td><td>47.0B</td><td>384</td><td>84.2</td><td></td></tr><tr><td>DeiT-BY↑[64</td><td>87M</td><td>55.5B</td><td>384</td><td>85.2</td><td>75.2</td></tr><tr><td>CaiT-S48Y ↑[67]</td><td>89M</td><td>63.8B</td><td>384</td><td>85.3</td><td>76.2</td></tr><tr><td>XCiT-M24/16T</td><td>84M</td><td>16.2B</td><td>224</td><td>84.3</td><td>73.6</td></tr><tr><td>XCiT-M24/16Y↑</td><td>84M</td><td>47.7B</td><td>384</td><td>85.4</td><td>75.1</td></tr><tr><td>XCiT-M24/8Y↑</td><td>84M</td><td>187.9B</td><td>384</td><td>85.8</td><td>76.1</td></tr><tr><td>NFNet-F2[ 目</td><td>194M</td><td>62.6B</td><td>352</td><td>85.1</td><td>74.3</td></tr><tr><td>NFNet-F3 目</td><td>255M</td><td>114.8B</td><td>416</td><td>85.7</td><td>75.2</td></tr><tr><td>CaiT-M24Y ↑[67</td><td>186M</td><td>116.1B</td><td>384</td><td>85.8</td><td>76.1</td></tr><tr><td>XCiT-L24/16T</td><td>189M</td><td>36.1B</td><td>224</td><td>84.9</td><td>74.6</td></tr><tr><td>XCiT-L24/16Y ↑</td><td>189M</td><td>106.0B</td><td>3384</td><td>85.8</td><td>75.8</td></tr><tr><td>XCiT-L24/8Y↑</td><td>189M</td><td>417.8B</td><td>384</td><td>86.0</td><td>76.6</td></tr></table>
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
Figure 4: Visualization of the attention map between the CLS token and individual patches in the class-attention stage. For each column, each row represents the attention map w.r.t. one head, corresponding to the image in the first row. Each head appears sensitive to semantically coherent regions. Heads are sensitive to similar features within the same or across images (e.g. people or bird faces). They are trigger by different concepts when such features are missing (e.g., cockpit for race cars).
|
| 110 |
+
|
| 111 |
+
# 4.1 Image classification
|
| 112 |
+
|
| 113 |
+
We use ImageNet-1k $\mathbb { \lVert 1 9 \rVert }$ to train and evaluate our models for image classification. It consists of 1.28M training images and $5 0 \mathrm { k }$ validation images, labeled across 1,000 semantic categories. Our training setup follows the DeiT recipe $\pmb { \mathbb { \lVert 6 4 \rVert } }$ . We train our model for 400 epochs with the AdamW optimizer $| \bar { \mathbf { \nabla } } 4 \bar { 5 } | |$ using a cosine learning rate decay. In order to enhance the training of larger models, we utilize LayerScale $ { \mathbb { I } } { \mathbb { I } }$ and adjust the stochastic depth $\mathbb { \lVert 3 3 \rVert }$ for each of our models accordingly (see the supplementary material for details). Following $ { \mathbb { I } } { \mathbb { K } } 7 { \mathbb { I } }$ , images are cropped with crop ratio of 1.0 for evaluation. In addition to the ImageNet-1k validation set, we report results for ImageNet-V2 [55] which has a distinct test set. Our implementation is based on the Timm library $\lVert \ b { 7 2 } \rVert$ .
|
| 114 |
+
|
| 115 |
+
Results on ImageNet. We present a family of seven models in Table $\lfloor 1 \rfloor$ with different operating points in terms of parameters and FLOPs. We observe that the performance of the XCiT models benefits from increased capacity both in depth and width. Additionally, consistent with $\mathbb { B 4 } \mathbb { 6 7 } \mathbb { 1 }$ we find that using hard distillation with a convolutional teacher improves the performance. Because of its linear complexity in the number of tokens, it is feasible to train XCiT at $3 8 4 \times 3 8 4$ resolution with small $8 \times 8$ patches, i.e. 2304 tokens, which provides a strong boost in performance across all configurations.
|
| 116 |
+
|
| 117 |
+
We compare to the state-of-the-art convolutional and transformer-based architectures [10, 44, 53, 58, $\textcircled { 6 7 }$ in Table $2 .$ By varying the input image resolution and/or patch size, our models provide competitive or superior performance across model sizes and FLOP budgets. First, the models operating on $2 2 4 \times 2 2 4$ and $1 6 \times 1 6$ (e.g. XCiT-S12/16) enjoy high accuracy at relatively few FLOPs compared to their counterparts with comparable parameter count and FLOPs. Second, our models with $1 6 \times 1 6$ and $3 8 4 \times 3 8 4$ resolution images (e.g. XCiT-S12/16") yield an improved accuracy at the expense of higher FLOPs, and provide superior or on-par performance compared to state-of-the-art models with comparable computational requirements. Finally, the linear complexity of XCiT allows us to scale to process $3 8 4 \times 3 8 4$ images with $8 \times 8$ patch sizes (e.g. XCiT-S12/8"), achieving the highest accuracy across the board, albeit at a relatively high FLOPs count.
|
| 118 |
+
|
| 119 |
+
Table 3: Self-supervised learning. Top-1 acc. on ImageNet-1k. We report with a crop-ratio 0.875 for consistency with DINO. For the last row it is set to 1.0 (improves from $8 0 . 7 \%$ to $8 0 . 9 \%$ ). All models are trained for 300 epochs.
|
| 120 |
+
|
| 121 |
+
<table><tr><td>SSL Method</td><td>Model</td><td>#params</td><td>FLOPs</td><td>Linear</td><td>k-NN</td></tr><tr><td>MoBY 回</td><td>Swin-T 国</td><td>29M</td><td>4.5B</td><td>75.0</td><td>1</td></tr><tr><td>DINO 回</td><td>ResNet-50[28]</td><td>23M</td><td>4.1B</td><td>74.5</td><td>65.6</td></tr><tr><td>DINO 圆</td><td>ViT-S/16_21</td><td>22M</td><td>4.6B</td><td>76.1</td><td>72.8</td></tr><tr><td>DINO 圆</td><td>ViT-S/8 21</td><td>22M</td><td>22.4B</td><td>79.2</td><td>77.2</td></tr><tr><td>DINO 圆</td><td>XCiT-S12/16</td><td>26M</td><td>4.9B</td><td>77.8</td><td>76.0</td></tr><tr><td>DINO 国</td><td>XCiT-S12/8</td><td>26M</td><td>18.9B</td><td>79.2</td><td>77.1</td></tr><tr><td>DINO 圆</td><td>ViT-B/1621</td><td>87M</td><td>17.5B</td><td>78.2</td><td>76.1</td></tr><tr><td>DINO 园</td><td>ViT-B/8 日</td><td>87M</td><td>78.2B</td><td>80.1</td><td>77.4</td></tr><tr><td>DINO 园</td><td>XCiT-M24/16</td><td>84M</td><td>16.2B</td><td>78.8</td><td>76.4</td></tr><tr><td>DINO 圆</td><td>XCiT-M24/8</td><td>84M</td><td>64.0B</td><td>80.3</td><td>77.9</td></tr><tr><td>DINO 园</td><td>XCiT-M24/8↑384</td><td>84M</td><td>188.0B</td><td>80.9</td><td>78.3</td></tr></table>
|
| 122 |
+
|
| 123 |
+
Table 4: Ablations of various architectural design choices on the task of ImageNet-1k classification using the XCiT-S12 model. Our baseline model uses the convolutional projection adopted from LeVit.
|
| 124 |
+
|
| 125 |
+
<table><tr><td>Model</td><td>Ablation</td><td>ImNet top-1 acc.</td></tr><tr><td>XCiT-S12/16</td><td rowspan="2">Baseline</td><td>82.0</td></tr><tr><td>XCiT-S12/8</td><td>83.4</td></tr><tr><td>XCiT-S12/16</td><td rowspan="2">Linear patch proj.</td><td>81.1</td></tr><tr><td>XCiT-S12/8</td><td>83.1</td></tr><tr><td rowspan="2">XCiT-S12/16</td><td>w/o LPI layer</td><td>80.8</td></tr><tr><td>w/o XCA layer</td><td>75.9</td></tr><tr><td rowspan="2">XCiT-S12/16</td><td>w/o l2-normal.</td><td>failed</td></tr><tr><td>w/o learned temp. T</td><td>81.8</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Class attention visualization. In Figure $\sharp$ we show the class attention map obtained in the feature aggregation stage. Each head focuses on different semantically coherent regions in the image (e.g. faces or umbrellas). Furthermore, heads tend to focus on similar patterns across images (e.g. bird head or human face), but adapts by focusing on other salient regions when such patterns are absent.
|
| 128 |
+
|
| 129 |
+
Robustness to resolution changes. In Figure $3$ we report the accuracy of XCiT-S12, DeiT-S and ResNet-50 trained on $2 2 4 \times 2 2 4$ images and evaluated at different image resolutions. While DeiT outperforms ResNet-50 when train and test resolutions are similar, it suffers from a larger drop in performance as the image resolution deviates farther from the training resolution. XCiT displays a substantially increased accuracy when train and test resolutions are similar, while also being robust to resolution changes, in particular for the model with $8 \times 8$ patches.
|
| 130 |
+
|
| 131 |
+
Self-supervised learning. We train XCiT in a self-supervised manner using DINO $\mathbb { \lVert \rVert }$ on ImageNet-1k. In Table $\bar { 3 }$ we report performance using the linear and $\mathbf { k }$ -NN protocols as in $\mathbb { \lVert \rVert }$ . Across model sizes XCiT obtains excellent accuracy with both protocols, substantially improving DINO with ResNet-50 or ViT architectures, as well as over those reported for Swin-Transformer trained with MoBY $\left[ \left[ 7 6 \right] \right]$ . Comparing the larger models to ViT, we also observed improved performance for XCiT achieving a strong $8 0 . 3 \%$ accuracy. For fair comparison, all reported models have been trained for 300 epochs. Further improved performance of small models is reported by Caron et al. $\mathbb { \lVert \rVert }$ when training for 800 epochs, which we expect to carryover to XCiT based on the results presented here.
|
| 132 |
+
|
| 133 |
+
Analysis and ablations. In Table $\sharp$ we provide ablation experiments to analyse the impact of different design choices for our XCiT-S12 model. First, we observe the positive effect of using the convolutional patch projection as compared to using linear patch projection, for both $8 \times 8$ and $1 6 \times 1 6$ patches. Second, while removing the LPI layer reduces the accuracy by only $1 . 2 \%$ (from 82.0 to 80.8), removing the XCA layer results in a large drop of $6 . 1 \%$ , underlining the effectiveness of XCA. We noticed that the inclusion of two convolutional components – convolutional patch projection and LPI – not only brings improvements in accuracy, but also accelerates training. Third, although we were able to ensure proper convergence without $\ell _ { 2 }$ -normalization of queries and keys by tweaking the hyper-parameters, we found that it provides stability across model size (depth and width) and other hyper-parameters. Finally, while the learnable softmax temperature parameter is not critical, removing it drops accuracy by $0 . 2 \%$ . Additional ablations are provided in the supplementary material.
|
| 134 |
+
|
| 135 |
+
Table 5: COCO object detection and instance segmentation performance on the mini-val set. All backbones are pre-trained on ImageNet-1k, use Mask R-CNN model [29] and are trained with the same 3x schedule.
|
| 136 |
+
|
| 137 |
+
<table><tr><td>Backbone</td><td>#params</td><td>AP</td><td>AP</td><td>AP5</td><td>Apm</td><td>AP</td><td>AP</td></tr><tr><td>ResNet18 国</td><td>31.2M</td><td>36.9</td><td>57.1</td><td>40.0</td><td>33.6</td><td>53.9</td><td>35.7</td></tr><tr><td>PVT-Tiny 凯</td><td>32.9M</td><td>39.8</td><td>62.2</td><td>43.0</td><td>37.4</td><td>59.3</td><td>39.9</td></tr><tr><td>ViL-Tiny I81</td><td>26.9M</td><td>41.2</td><td>64.0</td><td>44.7</td><td>37.9</td><td>59.8</td><td>40.6</td></tr><tr><td>XCiT-T12/16</td><td>26.1M</td><td>42.7</td><td>64.3</td><td>46.4</td><td>38.5</td><td>61.2</td><td>41.1</td></tr><tr><td>XCiT-T12/8</td><td>25.8M</td><td>44.5</td><td>66.4</td><td>48.8</td><td>40.3</td><td>63.5</td><td>43.2</td></tr><tr><td>ResNet50 I28]</td><td>44.2M</td><td>41.0</td><td>61.7</td><td>44.9</td><td>37.1</td><td>58.4</td><td>40.1</td></tr><tr><td>PVT-Small[70]</td><td>44.1M</td><td>43.0</td><td>65.3</td><td>46.9</td><td>39.9</td><td>62.5</td><td>42.8</td></tr><tr><td>ViL-Small81</td><td>45.0M</td><td>43.4</td><td>64.9</td><td>47.0</td><td>39.6</td><td>62.1</td><td>42.4</td></tr><tr><td>Swin-T [44</td><td>47.8M</td><td>46.0</td><td>68.1</td><td>50.3</td><td>41.6</td><td>65.1</td><td>44.9</td></tr><tr><td>XCiT-S12/16</td><td>44.3M</td><td>45.3</td><td>67.0</td><td>49.5</td><td>40.8</td><td>64.0</td><td>43.8</td></tr><tr><td>XCiT-S12/8</td><td>43.1M</td><td>47.0</td><td>68.9</td><td>51.7</td><td>42.3</td><td>66.0</td><td>45.4</td></tr><tr><td>ResNet101 28</td><td>63.2M</td><td>42.8</td><td>63.2</td><td>47.1</td><td>38.5</td><td>60.1</td><td>41.3</td></tr><tr><td>ResNeXt101-32</td><td>62.8M</td><td>44.0</td><td>64.4</td><td>48.0</td><td>39.2</td><td>61.4</td><td>41.9</td></tr><tr><td>PVT-Medium 目</td><td>63.9M</td><td>44.2</td><td>66.0</td><td>48.2</td><td>40.5</td><td>63.1</td><td>43.5</td></tr><tr><td>ViL-Medium 图</td><td>60.1M</td><td>44.6</td><td>66.3</td><td>48.5</td><td>40.7</td><td>63.8</td><td>43.7</td></tr><tr><td>Swin-S44</td><td>69.1M</td><td>48.5</td><td>70.2</td><td>53.5</td><td>43.3</td><td>67.3</td><td>46.6</td></tr><tr><td>XCiT-S24/16</td><td>65.8M</td><td>46.5</td><td>68.0</td><td>50.9</td><td>41.8</td><td>65.2</td><td>45.0</td></tr><tr><td>XCiT-S24/8</td><td>64.5M</td><td>48.1</td><td>69.5</td><td>53.0</td><td>43.0</td><td>66.5</td><td>46.1</td></tr><tr><td>ResNeXt101-6475</td><td>101.9M</td><td>44.4</td><td>64.9</td><td>48.8</td><td>39.7</td><td>61.9</td><td>42.6</td></tr><tr><td>PVT-Large 目</td><td>81.0M</td><td>44.5</td><td>66.0</td><td>48.3</td><td>40.7</td><td>63.4</td><td>43.7</td></tr><tr><td>ViL-Large 日</td><td>76.1M</td><td>45.7</td><td>67.2</td><td>49.9</td><td>41.3</td><td>64.4</td><td>44.5</td></tr><tr><td>XCiT-M24/16</td><td>101.1M</td><td>46.7</td><td>68.2</td><td>51.1</td><td>42.0</td><td>65.6</td><td>44.9</td></tr><tr><td>XCiT-M24/8</td><td>98.9M</td><td>48.5</td><td>70.3</td><td>53.4</td><td>43.7</td><td>67.5</td><td>46.9</td></tr></table>
|
| 138 |
+
|
| 139 |
+
Table 6: ADE20k semantic segmentation performance using Semantic FPN [38] and UperNet [74] (in comparable settings). We do not include comparisons with other state-of-the-art models that are pre-trained on larger datasets [44, 54, 83].
|
| 140 |
+
|
| 141 |
+
<table><tr><td rowspan=2 colspan=1>Backbone</td><td rowspan=1 colspan=2>Semantic FPN</td><td rowspan=1 colspan=2>UperNet</td></tr><tr><td rowspan=1 colspan=1>#params</td><td rowspan=1 colspan=1>mIoU</td><td rowspan=1 colspan=1>#params</td><td rowspan=1 colspan=1>mIoU</td></tr><tr><td rowspan=1 colspan=1>ResNet1828PVT-Tiny70</td><td rowspan=1 colspan=1>15.5M17.0M</td><td rowspan=1 colspan=1>32.935.7M</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>--</td></tr><tr><td rowspan=1 colspan=1>XCiT-T12/16XCiT-T12/8</td><td rowspan=1 colspan=1>8.4M8.4M</td><td rowspan=1 colspan=1>38.139.9</td><td rowspan=1 colspan=1>33.7M33.7</td><td rowspan=1 colspan=1>41.543.5</td></tr><tr><td rowspan=1 colspan=1>ResNet5028PVT-Small[70Swin-T44</td><td rowspan=1 colspan=1>28.5M28.2M</td><td rowspan=1 colspan=1>36.739.8-</td><td rowspan=1 colspan=1>66.5M-59.9M</td><td rowspan=1 colspan=1>42.0-44.5</td></tr><tr><td rowspan=1 colspan=1>XCiT-S12/16XCiT-S12/8</td><td rowspan=1 colspan=1>30.4M30.4M</td><td rowspan=1 colspan=1>43.944.2</td><td rowspan=1 colspan=1>52.4M52.3M</td><td rowspan=1 colspan=1>45.946.6</td></tr><tr><td rowspan=2 colspan=1>ResNet10128ResNeXt101-3275PVT-Medium 70Swin-S44</td><td rowspan=2 colspan=1>47.5M47.1M48.0M=</td><td rowspan=1 colspan=1>38.8</td><td rowspan=1 colspan=1>85.5M</td><td rowspan=1 colspan=1>43.8</td></tr><tr><td rowspan=1 colspan=1>39.741.6-</td><td rowspan=1 colspan=1>--81.0M</td><td rowspan=1 colspan=1>--47.6</td></tr><tr><td rowspan=1 colspan=1>XCiT-S24/16XCiT-S24/8</td><td rowspan=1 colspan=1>51.8M51.8M</td><td rowspan=1 colspan=1>44.647.1</td><td rowspan=1 colspan=1>73.8M73.8M</td><td rowspan=1 colspan=1>46.948.1</td></tr><tr><td rowspan=2 colspan=1>ResNeXt101-6475PVT-Large[701Swin-B国</td><td rowspan=2 colspan=1>86.4M65.1M=</td><td rowspan=1 colspan=1>40.242.1</td><td rowspan=2 colspan=1>-=121.0M</td><td rowspan=2 colspan=1>--48.1</td></tr><tr><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=2 colspan=1>XCiT-M24/16XCiT-M24/8</td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=1 colspan=1>90.8M</td><td rowspan=1 colspan=1>46.9</td><td rowspan=1 colspan=1>108.9M</td><td rowspan=1 colspan=1>48.4</td></tr></table>
|
| 142 |
+
|
| 143 |
+
# 4.2 Object detection and instance segmentation
|
| 144 |
+
|
| 145 |
+
Our XCiT models can efficiently process high-resolution images (see Figure 2). Additionally, XCiT has a better adaptability to varying image resolutions compared to ViT models (see Figure $3 )$ . These two properties make XCiT a good fit for dense prediction tasks including detection and segmentation.
|
| 146 |
+
|
| 147 |
+
We evalutate XCiT for object detection and instance segmentation using the COCO benchmark [42] which consists of $1 1 8 \mathrm { k }$ training and $5 \mathrm { k }$ validation images including bounding boxes and mask labels for 80 categories. We integrate XCiT as backbone in the Mask R-CNN $\mathbb { \left[ \left[ 2 9 \right] \right. }$ detector with FPN [43]. Since the XCiT architecture is inherently columnar, we make it FPN-compatible by extracting features from different layers, e.g., layers 4, 6, 8, and 12 for XCiT-S12. All features have a constant stride of 8 or 16 based on the patch size, and the feature resolutions are adjusted to have strides of 4, 8, 16, and 32, similar to ResNet-FPN backbones, where the downsampling is achieved by max pooling and the upsampling is obtained using a single transposed convolution layer (see the supplementary material for details). The model is trained for 36 epochs (3x schedule) using the AdamW optimizer with learning rate of $1 0 ^ { - 4 }$ , 0.05 weight decay and 16 batch size. We adopt the multiscale training and augmentation strategy of DETR $\bar { \mathbb { W } }$ . Our implementation is based on the mmdetection library $\overline { { \mathbb { B } 3 } } \Vert$ .
|
| 148 |
+
|
| 149 |
+
Results on COCO. In Table $\boxed { 5 }$ we report object detection and instance segmentation results of four variants of XCiT using $1 6 \times 1 6$ and $8 { \times } 8$ patches. We compare to ResNets $\bar { \mathbb { B } } \bar { \mathbb { B } }$ and concurrent efficient vision transformers [44, 70, 81]. All models are trained using the 3x schedule after ImageNet-1k pretraining. Note that other results with higher absolute numbers have been achieved when pre-training on larger datasets $[ \textcircled { 4 4 } ]$ or with longer schedules $\mathbb { H }$ , and are therefore not directly comparable to the reported results. First, across all model sizes XCiT outperforms the convolutional ResNet [28] and ResNeXt $\mathbb { \left. \overline { { \boldsymbol { \mathscr { Q } } \boldsymbol { 5 } } } \right. }$ by a large margin with either patch size. Second, we observe a similar increase in accuracy compared to PVT $\bar { \mathbb { I D } }$ and ViL $\mathbb { \left[ 8 1 \right] }$ backbones. Finally, XCiT provides a competitive performance with Swin $[ \overline { { 1 4 4 } } ] \cdot \big \rrangle ^ { 2 }$ For relatively small models, XCiT-S12/8 outperforms its Swin-T counterpart with a decent margin. On the other hand, Swin-S provides slightly stronger results compared to XCiT-S24/8. Utilizing smaller $8 \times 8$ patches leads to a consistent gain across all models.
|
| 150 |
+
|
| 151 |
+
# 4.3 Semantic segmentation
|
| 152 |
+
|
| 153 |
+
We further show transferability of our models with semantic segmentation experiments on the ADE20k dataset $\textcircled { 1 8 4 } \textcircled { 1 }$ , which consists of $2 0 \mathrm { k }$ training and 5k validation images with labels over 150 semantic categories. We integrate our backbones in two segmentation methods: Semantic FPN [38] and UperNet $\bar { \textregistered }$ . We train for 80k and 160k iterations for Semantic FPN and UperNet respectively. Following $\textcircled { | 4 4 | }$ , the models are trained using batch size 16 and an AdamW optimizer with learning rate of $6 \times 1 0 ^ { - 5 }$ and 0.01 weight decay. We apply the same method of extracting FPN features as explained in Section $\mathbb { H } . 2 \big \downarrow$ We report the performance using the standard single scale protocol (without multi-scale and flipping). Our implementation is based on the mmsegmentation library $\mathbb { \lVert 1 6 \rVert }$ .
|
| 154 |
+
|
| 155 |
+
Results on ADE20k. We present the semantic segmentation performance using XCiT backbones in Table $6 .$ First, for Semantic FPN $\mathbb { B }$ , XCiT provides a superior performance compared to ResNet, ResNeXt and PVT backbones using either option of patch size. Second, compared to Swin Transformers using the same UperNet decoder $\pmb { \Vert 7 4 \Vert }$ , XCiT with $8 \times 8$ patches consistently achieves a higher mIoU for different models. XCiT with $1 6 \times 1 6$ patches provides a strong performance especially for smaller models where XCiT-S12/16 outperforms Swin-T.
|
| 156 |
+
|
| 157 |
+
# 5 Conclusion
|
| 158 |
+
|
| 159 |
+
Contributions. We present an alternative to token self-attention which operates on the feature dimension, eliminating the need for expensive computation of quadratic attention maps. We build our XCiT models with the cross-covariance attention as its core component and demonstrate the effectiveness and generality of our models on various computer vision tasks. In particular, it exhibits a strong image classification performance on par with state-of-the-art transformer models while similarly robust to changing image resolutions as convnets. XCiT is effective as a backbone for dense prediction tasks, providing excellent performance on object detection, instance and semantic segmentation. Finally, we showed that XCiT can be a strong backbone for self-supervised learning, matching the state-of-the-art results with less compute. XCiT is a generic architecture that can readily be deployed in other research domains where self-attention has shown success.
|
| 160 |
+
|
| 161 |
+
Limitations. Our models enable training with smaller patches and on higher-resolution images, which leads to clear performance gains. However, for tasks like image classification this gain comes at a cost of relatively high number of FLOPs. In order to address this issue, other components, like FFN, could also be re-examined. Another point is that XCiT models seem to overfit more than their CaiT counterparts, see Table 2. They are more similar to some convnets in that respect.
|
| 162 |
+
|
| 163 |
+
# References
|
| 164 |
+
|
| 165 |
+
[1] Joshua Ainslie, Santiago Ontanon, Chris Alberti, Vaclav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, and Li Yang. Etc: Encoding long and structured inputs in transformers. In Conference on Empirical Methods in Natural Language Processing, 2020.
|
| 166 |
+
[2] Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Luciˇ c, and Cordelia Schmid. Vivit: A ´ video vision transformer. arXiv preprint arXiv:2103.15691, 2021.
|
| 167 |
+
[3] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 168 |
+
[4] Irwan Bello. LambdaNetworks: Modeling long-range interactions without attention. arXiv preprint arXiv:2102.08602, 2021.
|
| 169 |
+
[5] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020.
|
| 170 |
+
[6] Maxim Berman, Hervé Jégou, Andrea Vedaldi, Iasonas Kokkinos, and Matthijs Douze. MultiGrain: a unified image embedding for classes and instances. arXiv preprint arXiv:1902.05509, 2019.
|
| 171 |
+
[7] Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? arXiv preprint arXiv:2102.05095, 2021.
|
| 172 |
+
[8] Y-Lan Boureau, Jean Ponce, and Yann LeCun. A theoretical analysis of feature pooling in visual recognition. In International Conference on Machine Learning, 2010.
|
| 173 |
+
[9] B. De Brabandere, X. Jia, T. Tuytelaars, and L. Van Gool. Dynamic filter networks. In Advances in Neural Information Processing Systems, 2016.
|
| 174 |
+
[10] Andrew Brock, Soham De, Samuel L Smith, and Karen Simonyan. High-performance large-scale image recognition without normalization. arXiv preprint arXiv:2102.06171, 2021.
|
| 175 |
+
[11] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, 2020.
|
| 176 |
+
[12] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. arXiv preprint arXiv:2104.14294, 2021.
|
| 177 |
+
[13] Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. MMDetection: Open mmlab detection toolbox and benchmark. arXiv preprint arXiv:1906.07155, 2019.
|
| 178 |
+
[14] Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019.
|
| 179 |
+
[15] Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking attention with performers. arXiv preprint arXiv:2009.14794, 2020.
|
| 180 |
+
[16] MMSegmentation Contributors. MMSegmentation: Openmmlab semantic segmentation toolbox and benchmark. https://github.com/open-mmlab/mmsegmentation, 2020.
|
| 181 |
+
[17] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2020.
|
| 182 |
+
[18] Stéphane d’Ascoli, Hugo Touvron, Matthew Leavitt, Ari Morcos, Giulio Biroli, and Levent Sagun. Convit: Improving vision transformers with soft convolutional inductive biases. arXiv preprint arXiv:2103.10697, 2021.
|
| 183 |
+
[19] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009.
|
| 184 |
+
[20] Xiaohan Ding, Xiangyu Zhang, Jungong Han, and Guiguang Ding. RepMLP: Re-parameterizing convolutions into fully-connected layers for image recognition. arXiv preprint arXiv:2105.01883, 2021.
|
| 185 |
+
[21] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021.
|
| 186 |
+
[22] Alaaeldin El-Nouby, Natalia Neverova, Ivan Laptev, and Hervé Jégou. Training vision transformers for image retrieval. arXiv preprint arXiv:2102.05644, 2021.
|
| 187 |
+
[23] Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. arXiv preprint arXiv:2104.11227, 2021.
|
| 188 |
+
[24] Albert Gordo, Jon Almazán, Jérôme Revaud, and Diane Larlus. End-to-end learning of deep visual representations for image retrieval. International journal of Computer Vision, 124, 2017.
|
| 189 |
+
[25] Anirudh Goyal, Aniket Didolkar, Alex Lamb, Kartikeya Badola, Nan Rosemary Ke, Nasim Rahaman, Jonathan Binas, Charles Blundell, Michael Mozer, and Yoshua Bengio. Coordination among neural modules through a shared global workspace. arXiv preprint arXiv:2103.01197, 2021. URL https: //arxiv.org/abs/2103.01197.
|
| 190 |
+
[26] Ben Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou, and Matthijs Douze. Levit: a vision transformer in convnet’s clothing for faster inference. arXiv preprint arXiv:2104.01136, 2021.
|
| 191 |
+
[27] Kai Han, An Xiao, Enhua Wu, Jianyuan Guo, Chunjing Xu, and Yunhe Wang. Transformer in transformer. arXiv preprint arXiv:2103.00112, 2021.
|
| 192 |
+
[28] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition, 2016.
|
| 193 |
+
[29] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In International Conference on Computer Vision, 2017.
|
| 194 |
+
[30] Jonathan Ho, Nal Kalchbrenner, Dirk Weissenborn, and Tim Salimans. Axial attention in multidimensional transformers. arXiv preprint arXiv:1912.12180, 2019.
|
| 195 |
+
[31] Grant Van Horn, Oisin Mac Aodha, Yang Song, Alexander Shepard, Hartwig Adam, Pietro Perona, and Serge J. Belongie. The iNaturalist species classification and detection dataset. arXiv preprint arXiv:1707.06642, 2017.
|
| 196 |
+
[32] Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In Computer Vision and Pattern Recognition, 2018.
|
| 197 |
+
[33] Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In European Conference on Computer Vision, 2016.
|
| 198 |
+
[34] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao Carreira. Perceiver: General perception with iterative attention. arXiv preprint arXiv:2103.03206, 2021.
|
| 199 |
+
[35] Hervé Jégou, Matthijs Douze, and Cordelia Schmid. Hamming embedding and weak geometric consistency for large scale image search. In European Conference on Computer Vision, 2008.
|
| 200 |
+
[36] Hervé Jégou, Florent Perronnin, Matthijs Douze, Jorge Sánchez, Patrick Perez, and Cordelia Schmid. Aggregating local image descriptors into compact codes. IEEE Transactions on Pattern Analysis and Machine Intelligence, 34(9), 2012.
|
| 201 |
+
[37] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and François Fleuret. Transformers are RNNs: Fast autoregressive transformers with linear attention. In International Conference on Machine Learning, 2020.
|
| 202 |
+
[38] Alexander Kirillov, Ross Girshick, Kaiming He, and Piotr Dollár. Panoptic feature pyramid networks. In Computer Vision and Pattern Recognition, 2019.
|
| 203 |
+
[39] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), 2013.
|
| 204 |
+
[40] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, CIFAR, 2009.
|
| 205 |
+
[41] James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, and Santiago Ontanon. Fnet: Mixing tokens with fourier transforms. arXiv preprint arXiv:2105.03824, 2021.
|
| 206 |
+
[42] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European Conference on Computer Vision, 2014.
|
| 207 |
+
[43] Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In Computer Vision and Pattern Recognition, 2017.
|
| 208 |
+
[44] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021.
|
| 209 |
+
[45] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
|
| 210 |
+
[46] Luke Melas-Kyriazi. Do you even need attention? a stack of feed-forward layers does surprisingly well on imagenet. arXiv preprint arXiv:2105.02723, 2021.
|
| 211 |
+
[47] M-E. Nilsback and A. Zisserman. Automated flower classification over a large number of classes. In Proceedings of the Indian Conference on Computer Vision, Graphics and Image Processing, 2008.
|
| 212 |
+
[48] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, 2018.
|
| 213 |
+
[49] J. Philbin, O. Chum, M. Isard, J. Sivic, and A. Zisserman. Object retrieval with large vocabularies and fast spatial matching. In Computer Vision and Pattern Recognition, 2007.
|
| 214 |
+
[50] Jiezhong Qiu, Hao Ma, Omer Levy, Scott Wen-tau Yih, Sinong Wang, and Jie Tang. Blockwise selfattention for long document understanding. arXiv preprint arXiv:1911.02972, 2019.
|
| 215 |
+
[51] Filip Radenovic, Ahmet Iscen, Giorgos Tolias, Yannis Avrithis, and Ond ´ ˇrej Chum. Revisiting oxford and paris: Large-scale image retrieval benchmarking. In Computer Vision and Pattern Recognition, 2018.
|
| 216 |
+
[52] Filip Radenovic, Giorgos Tolias, and Ondrej Chum. Fine-tuning CNN image retrieval with no human ´ annotation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018.
|
| 217 |
+
[53] Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, and Piotr Dollár. Designing network design spaces. In Computer Vision and Pattern Recognition, 2020.
|
| 218 |
+
[54] René Ranftl, Alexey Bochkovskiy, and Vladlen Koltun. Vision transformers for dense prediction. arXiv preprint arXiv:2103.13413, 2021.
|
| 219 |
+
[55] Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do imagenet classifiers generalize to imagenet? In International Conference on Machine Learning, 2019.
|
| 220 |
+
[56] Zhuoran Shen, Mingyuan Zhang, Haiyu Zhao, Shuai Yi, and Hongsheng Li. Efficient attention: Attention with linear complexities. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2021.
|
| 221 |
+
[57] Sainbayar Sukhbaatar, Edouard Grave, Piotr Bojanowski, and Armand Joulin. Adaptive attention span in transformers. arXiv preprint arXiv:1905.07799, 2019.
|
| 222 |
+
[58] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning. PMLR, 2019.
|
| 223 |
+
[59] Giorgos Tolias, Yannis Avrithis, and Hervé Jégou. Image search with selective match kernels: aggregation across single and multiple images. International journal of Computer Vision, 116(3), 2016.
|
| 224 |
+
[60] Giorgos Tolias, Ronan Sicre, and Hervé Jégou. Particular object retrieval with integral max-pooling of cnn activations. In International Conference on Learning Representations, 2016.
|
| 225 |
+
[61] Giorgos Tolias, Tomas Jenicek, and Ondˇrej Chum. Learning and aggregating deep local descriptors for instance-level recognition. In European Conference on Computer Vision, 2020.
|
| 226 |
+
[62] Ilya Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Andreas Steiner, Daniel Keysers, Jakob Uszkoreit, Mario Lucic, and Alexey Dosovitskiy. MLP-Mixer: An all-MLP architecture for vision. arXiv preprint arXiv:2105.01601, 2021.
|
| 227 |
+
[63] H Touvron, A Vedaldi, M Douze, and H Jégou. Fixing the train-test resolution discrepancy. Advances in Neural Information Processing Systems, 2019.
|
| 228 |
+
[64] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers and distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 229 |
+
[65] Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Hervé Jégou. Fixing the train-test resolution discrepancy: Fixefficientnet. arXiv preprint arXiv:2003.08237, 2020.
|
| 230 |
+
[66] Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, and Hervé Jégou. ResMLP: Feedforward networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021.
|
| 231 |
+
[67] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021.
|
| 232 |
+
[68] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, 2017.
|
| 233 |
+
[69] Sinong Wang, Belinda Li, Madian Khabsa, Han Fang, and Hao Ma. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768, 2020.
|
| 234 |
+
[70] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. arXiv preprint arXiv:2102.12122, 2021.
|
| 235 |
+
[71] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Computer Vision and Pattern Recognition, 2018.
|
| 236 |
+
[72] Ross Wightman. Pytorch image models. https://github.com/rwightman/pytorch-image-models, 2019.
|
| 237 |
+
[73] Yuxin Wu and Kaiming He. Group normalization. In European Conference on Computer Vision, 2018.
|
| 238 |
+
[74] Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In European Conference on Computer Vision, 2018.
|
| 239 |
+
[75] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In Computer Vision and Pattern Recognition, 2017.
|
| 240 |
+
[76] Zhenda Xie, Yutong Lin, Zhuliang Yao, Zheng Zhang, Qi Dai, Yue Cao, and Han Hu. Self-supervised learning with swin transformers. arXiv preprint arXiv:2105.04553, 2021.
|
| 241 |
+
[77] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li, and Vikas Singh. Nyströmformer: A nyström-based algorithm for approximating self-attention. arXiv preprint arXiv:2102.03902, 2021.
|
| 242 |
+
[78] Kun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou, Fengwei Yu, and Wei Wu. Incorporating convolution designs into visual transformers. arXiv preprint arXiv:2103.11816, 2021.
|
| 243 |
+
[79] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token ViT: Training vision transformers from scratch on ImageNet. arXiv preprint arXiv:2101.11986, 2021.
|
| 244 |
+
[80] Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. Big bird: Transformers for longer sequences. arXiv preprint arXiv:2007.14062, 2020.
|
| 245 |
+
[81] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021.
|
| 246 |
+
[82] Hengshuang Zhao, Jiaya Jia, and Vladlen Koltun. Exploring self-attention for image recognition. In Computer Vision and Pattern Recognition, 2020.
|
| 247 |
+
[83] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020.
|
| 248 |
+
[84] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Computer Vision and Pattern Recognition, 2017.
|
parse/train/kzPtpIpF8o/kzPtpIpF8o_content_list.json
ADDED
|
@@ -0,0 +1,944 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "XCiT: Cross-Covariance Image Transformers ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
218,
|
| 8 |
+
122,
|
| 9 |
+
777,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Alaaeldin El-Nouby1,2 Hugo Touvron1,3 Mathilde Caron1,2 Piotr Bojanowski1 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
210,
|
| 19 |
+
179,
|
| 20 |
+
808,
|
| 21 |
+
195
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Matthijs Douze1 Armand Joulin1 Ivan Laptev2 Natalia Neverova1 ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
227,
|
| 30 |
+
202,
|
| 31 |
+
767,
|
| 32 |
+
217
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Gabriel Synnaeve1 Jakob Verbeek1 Hervé Jégou1 ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
315,
|
| 41 |
+
222,
|
| 42 |
+
699,
|
| 43 |
+
237
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "1Facebook AI 2Inria 3Sorbonne University ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
333,
|
| 52 |
+
253,
|
| 53 |
+
653,
|
| 54 |
+
268
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Abstract ",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
462,
|
| 64 |
+
303,
|
| 65 |
+
535,
|
| 66 |
+
319
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Following tremendous success in natural language processing, transformers have recently shown much promise for computer vision. The self-attention operation underlying transformers yields global interactions between all tokens, i.e. words or image patches, and enables flexible modelling of image data beyond the local interactions of convolutions. This flexibility, however, comes with a quadratic complexity in time and memory, hindering application to long sequences and highresolution images. We propose a “transposed” version of self-attention that operates across feature channels rather than tokens, where the interactions are based on the cross-covariance matrix between keys and queries. The resulting cross-covariance attention (XCA) has linear complexity in the number of tokens, and allows efficient processing of high-resolution images. Our cross-covariance image transformer (XCiT) – built upon XCA – combines the accuracy of conventional transformers with the scalability of convolutional architectures. We validate the effectiveness and generality of XCiT by reporting excellent results on multiple vision benchmarks, including (self-supervised) image classification on ImageNet-1k, object detection and instance segmentation on COCO, and semantic segmentation on ADE20k. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
233,
|
| 75 |
+
333,
|
| 76 |
+
766,
|
| 77 |
+
553
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 Introduction ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
575,
|
| 88 |
+
310,
|
| 89 |
+
593
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Transformers architectures $\\left[ \\left[ 6 8 \\right] \\right]$ have provided quantitative and qualitative breakthroughs in speech and natural language processing (NLP). After a few attempts to incorporate wide-range self-attention in vision architectures $[ 7 1 , 8 2 ]$ , Dosovitskiy et al. [21] established transformers as a viable architecture for learning visual representations, reporting competitive results for image classification while relying on large-scale pre-training. Touvron et al. $\\textcircled { 6 4 } \\textcircled { 1 6 }$ have shown on par or better accuracy/throughput compared to strong convolutional baselines such as EfficientNets $\\lVert 5 8 \\rVert$ when training transformers on ImageNet-1k using extensive data augmentation and improved training schemes. Promising results have been obtained for other vision tasks, including image retrieval $\\pmb { \\mathbb { Z } } 2 \\mathbb { I }$ , object detection and semantic segmentation $\\boxed { \\boxed { 4 4 } } \\boxed { 7 0 } \\boxed { 8 1 } \\boxed { 8 3 } \\boxed { }$ , as well as video understanding [2, 7, 23]. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
606,
|
| 99 |
+
825,
|
| 100 |
+
732
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "One major drawback of transformers is the time and memory complexity of the core self-attention operation, that increases quadratically with the number of input tokens, or similarly number of patches in computer vision. For $w \\times h$ images, this translates to a complexity of $\\mathcal { O } ( w ^ { 2 } \\bar { h } ^ { 2 } )$ , which is prohibitive for most tasks involving high-resolution images, such as object detection and segmentation. Various strategies have been proposed to alleviate this complexity, for instance using approximate forms of self-attention $\\textcircled { 1 4 4 } , \\textcircled { 8 1 }$ , or pyramidal architectures which progressively downsample the feature maps $ { \\mathbb { I } } ^ { { \\mathbb { Z } } 0 \\| }$ . However, none of the existing solutions are fully satisfactory, as they either trade complexity for accuracy, or their complexity remains excessive for processing very large images. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
738,
|
| 110 |
+
825,
|
| 111 |
+
849
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We replace the self-attention, as originally introduced by Vaswani et al. $\\lVert \\rVert \\bigotimes \\rVert$ , with a “transposed” attention that we denote as “cross-covariance attention” (XCA). Cross-covariance attention substitutes the explicit full pairwise interaction between tokens by self-attention among features, where the attention map is derived from the cross-covariance matrix computed over the key and query projections of the token features. Importantly, XCA has a linear complexity in the number of patches. To construct our Cross-Covariance Image Transformers (XCiT), we combine XCA with local patch interaction modules that rely on efficient depth-wise convolutions and point-wise feedforward networks commonly used in transformers, see Figure $\\mathbb { L }$ XCA can be regarded as a form of a dynamic $1 \\times 1$ convolution, which multiplies all tokens with the same data-dependent weight matrix. We find that the performance of our XCA layer can be further improved by applying it on blocks of channels, rather than directly mixing all channels together. This “block-diagonal” shape of XCA further reduces the computational complexity with a factor linear in the number of blocks. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
176,
|
| 120 |
+
854,
|
| 121 |
+
825,
|
| 122 |
+
883
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "image",
|
| 128 |
+
"img_path": "images/9dcfff922e69d5962cb57fbbc31fa8195fc5262914194a68fc36a933012c1196.jpg",
|
| 129 |
+
"image_caption": [
|
| 130 |
+
"Figure 1: Our XCiT layer consists of three main blocks, each preceded by LayerNorm and followed by a residual connection: (i) the core cross-covariance attention (XCA) operation, (ii) the local patch interaction (LPI) module, and (iii) a feed-forward network (FFN). By transposing the query-key interaction, the computational complexity of XCA is linear in the number of data elements $N$ , rather than quadratic as in conventional self-attention. "
|
| 131 |
+
],
|
| 132 |
+
"image_footnote": [],
|
| 133 |
+
"bbox": [
|
| 134 |
+
232,
|
| 135 |
+
89,
|
| 136 |
+
766,
|
| 137 |
+
286
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
369,
|
| 147 |
+
825,
|
| 148 |
+
507
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Given its linear complexity in the number of tokens, XCiT can efficiently process images with more than thousand pixels in each dimension. Notably, our experiments show that XCiT does not compromise the accuracy and achieves similar results to DeiT $\\mathbb { \\lVert \\rVert }$ and CaiT $ { \\mathbb { I } } { \\mathbb { I } }$ in comparable settings. Moreover, for dense prediction tasks such as object detection and image segmentation, our models outperform popular ResNet $\\left[ \\left[ 2 8 \\right] \\right]$ backbones as well as the recent transformer-based models [44, 70, 81]. Finally, we also successfully apply XCiT to the self-supervised feature learning using DINO [12], and demonstrate improved performance compared to a DeiT-based backbone $\\pmb { \\| 6 4 \\| }$ . ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
513,
|
| 158 |
+
825,
|
| 159 |
+
611
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "Overall, we summarize our contributions as follows: ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
178,
|
| 168 |
+
617,
|
| 169 |
+
514,
|
| 170 |
+
631
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "• We introduce cross-covariance attention (XCA), which provides a “transposed” alternative to conventional self-attention, attending over channels instead of tokens. Its complexity is linear in the number of tokens, allowing for efficient processing of high-resolution images, see Figure 2. \n• XCA attends to a fixed number of channels, irrespective of the number of tokens. As a result, our models are significantly more robust to changes in image resolution at test time, and are therefore more amenable to process variable-size images. \n• For image classification, we demonstrate that our models are on par with state-of-the-art vision transformers for multiple model sizes using a simple columnar architecture, i.e., in which we keep the resolution constant across layers. In particular, our XCiT-L24 model achieves $8 6 . 0 \\%$ top-1 accuracy on ImageNet, outperforming its CaiT-M24 [67] and NFNet-F2 $\\mathbb { \\ m }$ counterparts with comparable numbers of parameters. \n• For dense prediction tasks with high-resolution images, our models outperform ResNet and multiple transformer-based backbones. On the COCO benchmark, we achieve a strong performance of $4 8 . 5 \\%$ and $4 3 . 7 \\%$ mAP for object detection and instance segmentation respectively. Moreover, we report $4 8 . 4 \\%$ mIoU for semantic segmentation on the ADE20k benchmark, outperforming the state-of-the-art Swin Transformer $\\pm \\ddagger { 4 } \\rVert$ backbones across all comparable model sizes. \n• Finally, our XCiT model is highly effective in self-supervised learning setups, achieving $8 0 . 9 \\%$ top-1 accuracy on ImageNet-1k using DINO [12]. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
173,
|
| 179 |
+
642,
|
| 180 |
+
826,
|
| 181 |
+
912
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "2 Related work ",
|
| 188 |
+
"text_level": 1,
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
89,
|
| 192 |
+
316,
|
| 193 |
+
106
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Deep vision transformers. Training deep vision transformers can be challenging due to instabilities and optimization issues. Touvron et al. $\\dot { \\left[ 6 7 \\right] }$ successfully train models with up to 48 layers using LayerScale, which weighs contributions of residual blocks across layers and improves optimization. Additionally, the authors introduce class attention layers which decouple the learning of patch features and the feature aggregation stage for classification. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
119,
|
| 203 |
+
825,
|
| 204 |
+
189
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Spatial structure in vision transformers. Yuan et al. $\\pmb { \\mathbb { Z } } 9 \\|$ propose applying a soft split for patch projection with overlapping patches which is applied repeatedly across model layers, reducing the number of patches progressively. Han et al. $\\mathbb { \\left| \\overline { { 2 7 } } \\right| }$ introduce a transformer module for intra-patch structure, exploiting pixel-level information and integrating with an inter-patch transformer to attain higher representation power. d’Ascoli et al. $\\mathbb { \\ m }$ consider the initialization of self-attention blocks as a convolutional operator, and demonstrate that such initialization improves the performance of vision transformers in low-data regimes. Graham et al. $\\pmb { \\mathbb { D } } \\pmb { \\ 6 } \\|$ introduce LeViT, which adopts a multistage architecture with progressively reduced feature resolution similar to popular convolutional architectures, allowing for models with high inference speed while retaining a strong performance. Moreover, the authors adopt a convolution-based module for extracting patch descriptors. Yuan et al. $\\left[ \\left[ 7 8 \\right] \\right]$ improve both the performance and the convergence speed of vision transformers by replacing the linear patch projection with convolutional layers and max-pooling, as well as modifying the feed-forward networks in each transformer layer to incorporate depth-wise convolutions. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
204,
|
| 214 |
+
825,
|
| 215 |
+
383
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Efficient attention. Numerous methods for efficient self-attention have been proposed in the literature to address the quadratic complexity of self-attention in the number of input tokens. These include restricting the span of the self-attention to local windows [48, 50], strided patterns $\\pmb { \\mathbb { I } }$ , axial patterns $\\textcircled { \\lvert 3 0 \\rvert }$ , or an adaptive computation across layers $ { \\mathbb { I } }$ . Other methods provide an approximation of the self-attention matrix which can be achieved by a projection across the token dimension $\\mathbb { \\lVert \\rVert }$ , or through a factorization of the softmax-attention kernel [15, 37, 56, 77], which avoids explicit computation of the attention matrix. While conceptually different, our XCA performs similar computations without being sensitive to the choice of the kernel. Similarly, Lee-Thorp et al. [41] achieve faster training by substituting self-attention with unparametrized Fourier Transform. Other efficient attention methods rely on local attention and adding a small number of global tokens, thus allowing interaction among all tokens only by hopping through the global tokens $\\boxed { 1 } \\boxed { 5 } \\boxed { 3 4 } \\boxed { 8 0 }$ . Similarly, Goyal et al. $\\boldsymbol { \\| 2 5 \\| }$ use a global workspace though which items interact, albeit one that is shared across layers. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
398,
|
| 225 |
+
825,
|
| 226 |
+
578
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "Transformers for high-resolution images. Several works adopt visual transformers to highresolution image tasks beyond image classification, such as object detection and image segmentation. Wang et al. $\\tilde { \\left. 7 0 \\right. }$ design a model with a pyramidal architecture and address complexity by gradually reducing the spatial resolution of keys and values. Similarly, for video recognition Fan et al. [23] utilize pooling to reduce the resolution across the spatial and temporal dimensions to allow for an efficient computation of the attention matrix. Zhang et al. $\\textcircled { 8 1 }$ adopt global tokens and local attention to reduce the model complexity, while Liu et al. $\\checkmark$ provide an efficient method for local attention with shifted windows. In addition, Zheng et al. $[ [ 8 3 ] ]$ and Ranftl et al. $[ [ 5 4 ]$ study problems like semantic segmentation and monocular depth estimation with the quadratic self-attention operation. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
174,
|
| 235 |
+
592,
|
| 236 |
+
825,
|
| 237 |
+
717
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "Data-dependent layers. Our XCiT layer can be regarded as a “dynamic” $1 \\times 1$ convolution, which multiplies all token features with the same data-dependent weight matrix, derived from the key and query cross-covariance matrix. In the context of convolutional networks, Dynamic Filter Networks [9] explore a related idea, using a filter generating subnetwork to produce convolutional filters based on features in previous layers. Squeeze-and-Excitation networks $\\left[ \\left[ 3 2 \\right] \\right]$ use data dependent $1 \\times 1$ convolutions in convolutional architectures. Spatially average-pooled features are fed to a 2-layer MLP which produces per channel scaling parameters. Closer in spirit to our work, Lambda layers propose a way to ensure global interaction in ResNet models $\\bar { \\mathbb { H } }$ . Their “content-based lambda function” is computing a similar term as our cross-covariance attention, but differing in how the softmax and $\\ell _ { 2 }$ normalizations are applied. Moreover, Lambda layers also include specific positionbased lambda functions, and LambdaNetworks are based on ResNets while XCiT follows the ViT architecture. Recently data-independent analogues of self-attention have also been found to be an effective alternative to convolutional and self-attention layers for vision tasks $\\textcircled { 1 2 0 } , \\textcircled { 4 6 } , \\textcircled { 6 2 } , \\textcircled { 6 6 } $ . These methods treat entries in the attention map as learnable parameters, rather than deriving the attention map dynamically from queries and keys, but their complexity remains quadratic in the number of tokens. Zhao et al. [82] consider alternative attention forms in computer vision. ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
731,
|
| 247 |
+
825,
|
| 248 |
+
911
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
92,
|
| 258 |
+
823,
|
| 259 |
+
133
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 3
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "3 Method ",
|
| 266 |
+
"text_level": 1,
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
152,
|
| 270 |
+
271,
|
| 271 |
+
169
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 3
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "In this section, we first recall the self-attention mechanism, and the connection between the Gram and covariance matrices, which motivated our work. We then propose our cross-covariance attention operation (XCA) – which operates along the feature dimension instead of token dimension in conventional transformers – and combine it with local patch interaction and feedforward layers to construct our Cross-Covariance Image Transformer (XCiT). See Figure $\\bigtriangledown$ for an overview. ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
183,
|
| 281 |
+
825,
|
| 282 |
+
253
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 3
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "3.1 Background ",
|
| 289 |
+
"text_level": 1,
|
| 290 |
+
"bbox": [
|
| 291 |
+
174,
|
| 292 |
+
268,
|
| 293 |
+
299,
|
| 294 |
+
284
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 3
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "Token self-attention. Self-attention, as introduced by Vaswani et al. $\\lVert \\overline { { 6 8 } } \\rVert$ , operates on an input matrix $X \\in \\mathbb { R } ^ { N \\times d }$ , where $N$ is the number of tokens, each of dimensionality $d$ . The input $X$ is linearly projected to queries, keys and values, using the weight matrices $\\dot { W _ { q } } \\in \\mathbb { R } ^ { d \\times d _ { q } }$ , $W _ { k } \\in$ $\\mathbb { R } ^ { d \\times d _ { k } }$ and $W _ { v } \\in \\mathbb { R } ^ { d \\times d _ { v } }$ , such that $Q { = } X W _ { q }$ , $K { = } X W _ { k }$ and $V { = } X W _ { v }$ , where $d _ { q } = d _ { k }$ . Keys and values are used to compute an attention map $\\mathcal { A } ( K , Q ) = \\operatorname { S o f t m a x } ( Q K ^ { \\top } / \\sqrt { d _ { k } } )$ , and the output of the self-attention operation is defined as the weighted sum of $N$ token features in $V$ with the weights corresponding to the attention map: Attention $( Q , K , V ) = \\mathcal { A } ( K , Q ) V$ . The computational complexity of self-attention scales quadratically in $N$ , due to pairwise interactions between all $N$ elements. ",
|
| 301 |
+
"bbox": [
|
| 302 |
+
173,
|
| 303 |
+
292,
|
| 304 |
+
825,
|
| 305 |
+
422
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 3
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "Relationship between Gram and covariance matrices. To motivate our cross-covariance attention operation, we recall the relation between Gram and covariance matrices. The unnormalised $d \\times d$ covariance matrix is obtained as $C { = } X ^ { \\top } X$ . The $N \\times N$ Gram matrix contains all pairwise innerproducts: $G { = } X X ^ { \\top }$ . The non-zero part of the eigenspectrum of the Gram and covariance matrix are equivalent, and the eigenvectors of $C$ and $G$ can be computed in terms of each other. If $V$ are the eigenvectors of $G$ , then the eigenvectors of $C$ are given by $U { = } X V$ . To minimise the computational cost, the eigendecomposition of either the Gram or covariance matrix can be obtained in terms of the decomposition of the other, depending on which of the two matrices is the smallest.1 ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
173,
|
| 314 |
+
436,
|
| 315 |
+
825,
|
| 316 |
+
549
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "We draw upon this strong connection between the Gram and covariance matrices to consider whether it is possible to avoid the quadratic cost to compute the $N \\times N$ attention matrix, which is computed from the analogue of the $N \\times N$ Gram matrix $\\mathsf { \\bar { Q } } K ^ { \\top } { = } X W _ { q } W _ { k } ^ { \\top } X ^ { \\top }$ . Below we consider how we can use the $d _ { k } \\times d _ { q }$ cross-covariance matrix, $K ^ { \\top } Q { = } W _ { k } ^ { \\top } X ^ { \\top } X W _ { q }$ , which can be computed in linear time in the number of elements $N$ , to define an attention mechanism. ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
174,
|
| 325 |
+
554,
|
| 326 |
+
825,
|
| 327 |
+
626
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "3.2 Cross-covariance attention ",
|
| 334 |
+
"text_level": 1,
|
| 335 |
+
"bbox": [
|
| 336 |
+
174,
|
| 337 |
+
641,
|
| 338 |
+
400,
|
| 339 |
+
656
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 3
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "We propose a cross-covariance based self-attention function that operates along the feature dimension, rather than along the token dimension as in token self-attention. Using the definitions of queries, keys and values from above, the cross-covariance attention function is defined as: ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
666,
|
| 349 |
+
826,
|
| 350 |
+
708
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "equation",
|
| 356 |
+
"img_path": "images/c782364387393975aaaceb61444e9a54aea92c55d937d4043f91c3097489166e.jpg",
|
| 357 |
+
"text": "$$\n\\operatorname { X C - A t t e n t i o n } ( Q , K , V ) = V A \\operatorname { x c } ( K , Q ) , \\qquad A \\operatorname { x c } ( K , Q ) = \\operatorname { S o f t m a x } \\left( \\hat { K } ^ { \\top } \\hat { Q } / \\tau \\right) ,\n$$",
|
| 358 |
+
"text_format": "latex",
|
| 359 |
+
"bbox": [
|
| 360 |
+
205,
|
| 361 |
+
713,
|
| 362 |
+
758,
|
| 363 |
+
739
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 3
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "where each output token embedding dimension is a convex combination of the $d _ { v }$ features of its corresponding token embedding in $V$ . The attention weights $\\mathcal { A }$ are computed based on the crosscovariance matrix. ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
174,
|
| 372 |
+
744,
|
| 373 |
+
825,
|
| 374 |
+
786
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "$\\ell _ { 2 }$ -Normalization and temperature scaling. In addition to building our attention operation on the cross-covariance matrix, we make a second modification compared to token self-attention. We restrict the magnitude of the query and key matrices by $\\ell _ { 2 }$ -normalising them, such that each column of length $N$ of the normalised matrices $\\hat { Q }$ and $\\hat { K }$ has unit norm, and every element in $d { \\times } d$ cross-covariance matrix $\\hat { K } ^ { \\top } \\hat { Q }$ is in the range $[ - 1 , 1 ]$ . We observed that controlling the norm strongly enhances the stability of training, especially when trained with a variable numbers of tokens. However, restricting the norm reduces the representational power of the operation by removing a degree of freedom. Therefore, we introduce a learnable temperature parameter $\\tau$ which scales the inner products before the Softmax, allowing for sharper or more uniform distribution of attention weights. ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
173,
|
| 383 |
+
800,
|
| 384 |
+
825,
|
| 385 |
+
876
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "image",
|
| 391 |
+
"img_path": "images/301e7b358ccf93cc7973974e2bad457d5f17a3e86617dc31e723f62a68c6c260.jpg",
|
| 392 |
+
"image_caption": [
|
| 393 |
+
"Figure 2: Inference memory usage of vision transformer variants. Our XCiT models scale linearly in the number of tokens, which makes it possible to scale to much larger image sizes, even in comparison to approaches employing approximate self-attention or a pyramidal design. All measurements are performed with a batch size of 64 on a single V100-32GB GPU. "
|
| 394 |
+
],
|
| 395 |
+
"image_footnote": [],
|
| 396 |
+
"bbox": [
|
| 397 |
+
191,
|
| 398 |
+
114,
|
| 399 |
+
485,
|
| 400 |
+
299
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 4
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "image",
|
| 406 |
+
"img_path": "images/7a6dca3126c84125944af039122617444e1690e36b6fe95f4c1ffa293a03e1ef.jpg",
|
| 407 |
+
"image_caption": [
|
| 408 |
+
"Figure 3: Performance when changing the resolution at test-time for models with a similar number of parameters. All networks were trained at resolution 224, w/o distillation. XCiT is more tolerant to changes of resolution than the Gram-based DeiT and benefit more from the “FixRes” effect $\\mathbb { \\lVert \\rVert }$ when inference is performed at a larger resolution than at train-time. "
|
| 409 |
+
],
|
| 410 |
+
"image_footnote": [],
|
| 411 |
+
"bbox": [
|
| 412 |
+
527,
|
| 413 |
+
114,
|
| 414 |
+
820,
|
| 415 |
+
299
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
438,
|
| 425 |
+
825,
|
| 426 |
+
494
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Block-diagonal cross-covariance attention. Instead of allowing all features to interact among each other, we divide them into a $h$ groups, or “heads”, in a similar fashion as multi-head token self-attention. We apply the cross-covariance attention separately per head where for each head, we learn separate weight matrices to project $X$ to queries, keys and values, and collect the corresponding weight matrices in the tensors $\\dot { W _ { q } } \\in \\mathbb { R } ^ { h \\times d \\times d _ { q } }$ , $W _ { k } \\in \\mathbb { R } ^ { \\mathbf { \\bar { h } } \\times d \\times d _ { k } }$ and $\\dot { W } _ { v } \\in \\mathbb { R } ^ { h \\times d \\times d _ { v } }$ , where we set $d _ { k } \\bar { = } d _ { q } { = } d _ { v } { = } d / h$ . Restricting the attention within heads has two advantages: (i) the complexity of aggregating the values with the attention weights is reduced by a factor $h$ ; (ii) more importantly, we empirically observe that the block-diagonal version is easier to optimize, and typically leads to improved results. This observation is in line with observations made for Group Normalization $\\mathbb { [ ] }$ which normalizes groups of channels separately based on their statistics, and achieves favorable results for computer vision tasks compared to Layer Normalization $\\pmb { \\Vert 3 \\Vert }$ , which combines all channels in a single group. Figure $\\boxed { 4 }$ shows that each head learns to focus on semantically coherent parts of the image, while being flexible to change what type of features it attends to based on the image content. ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
174,
|
| 435 |
+
508,
|
| 436 |
+
825,
|
| 437 |
+
689
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "Complexity analysis. The usual token self-attention with $h$ heads has a time complexity of $\\mathcal { O } ( N ^ { 2 } d )$ and memory complexity of $\\mathcal { O } ( h N ^ { 2 } { + } N d )$ . Due to the quadratic complexity, it is problematic to scale token self-attention to images with a large number of tokens. Our cross-covariance attention overcomes this drawback as its computational cost of $\\mathcal { O } ( N d ^ { 2 } / h )$ scales linearly with the number of tokens, as does the memory complexity of $\\mathcal { O } ( d ^ { 2 } / h + N \\dot { d } )$ . Therefore, our model scales much better to cases where the number of tokens $N$ is large, and the feature dimension $d$ is relatively small, as is typically the case, in particularly when splitting the features into $h$ heads. ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
174,
|
| 446 |
+
703,
|
| 447 |
+
825,
|
| 448 |
+
800
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "3.3 Cross-covariance image transformers ",
|
| 455 |
+
"text_level": 1,
|
| 456 |
+
"bbox": [
|
| 457 |
+
176,
|
| 458 |
+
815,
|
| 459 |
+
473,
|
| 460 |
+
830
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "To construct our cross-covariance image transformers (XCiT), we adopt a columnar architecture which maintains the same spatial resolution across layers, similarly to $\\boxed { 1 2 1 } \\boxed { 6 4 } \\boxed { 6 7 }$ . We combine our cross-covariance attention (XCA) block with the following additional modules, each one being preceded by a LayerNorm $\\pmb { \\mathbb { B } } \\|$ . See Figure $\\perp$ for an overview. Since in this section we specifically design the model for computer vision tasks, tokens correspond to image patches in this context. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
842,
|
| 470 |
+
823,
|
| 471 |
+
911
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "table",
|
| 477 |
+
"img_path": "images/1dc7bc735004c7a44ab04cdc863cc2cd94c905ffd60ceef05cdc783162fad18e.jpg",
|
| 478 |
+
"table_caption": [
|
| 479 |
+
"Table 1: XCiT models. Design choices include model depth, patch embeddings dimensionality $d$ , and the number of heads $h$ used in XCA. By default our models are trained and tested at resolution 224 with patch sizes of $1 6 \\times 1 6$ . We also train with distillation using a convolutional teacher (denoted $\\Upsilon$ ) as proposed by Touvron et al. [64]. Finally, we report performance of our strongest models obtained with $8 \\times 8$ patch size, fine-tuned $( \\uparrow )$ and tested at resolution $3 8 4 \\times 3 8 4$ (column $\\textcircled { \\alpha } 3 8 4 / 8 $ ), using distillation with a teacher that was also fine-tuned $@ 3 8 4$ . "
|
| 480 |
+
],
|
| 481 |
+
"table_footnote": [],
|
| 482 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td rowspan=\"2\">Depth</td><td rowspan=\"2\">d</td><td rowspan=\"2\">#heads</td><td rowspan=\"2\">#params</td><td colspan=\"2\">GFLOPs</td><td colspan=\"3\">ImageNet-1k-val top-1 acc. (%)</td></tr><tr><td>@224/16</td><td>@384/8</td><td>@224/16 @224/16r</td><td></td><td>@384/8r ↑</td></tr><tr><td>XCiT-N12</td><td>12</td><td>128</td><td>4</td><td>3M</td><td>0.5</td><td>6.4</td><td>69.9</td><td>72.2</td><td>77.8</td></tr><tr><td>XCiT-T12</td><td>12</td><td>192</td><td>4</td><td>7M</td><td>1.2</td><td>14.3</td><td>77.1</td><td>78.6</td><td>82.4</td></tr><tr><td>XCiT-T24</td><td>24</td><td>192</td><td>4</td><td>12M</td><td>2.3</td><td>27.3</td><td>79.4</td><td>80.4</td><td>83.7</td></tr><tr><td>XCiT-S12</td><td>12</td><td>384</td><td>8</td><td>26M</td><td>4.8</td><td>55.6</td><td>82.0</td><td>83.3</td><td>85.1</td></tr><tr><td>XCiT-S24</td><td>24</td><td>384</td><td>8</td><td>48M</td><td>9.1</td><td>106.0</td><td>82.6</td><td>83.9</td><td>85.6</td></tr><tr><td>XCiT-M24</td><td>24</td><td>512</td><td>8</td><td>84M</td><td>16.2</td><td>188.0</td><td>82.7</td><td>84.3</td><td>85.8</td></tr><tr><td>XCiT-L24</td><td>24</td><td>768</td><td>16</td><td>189M</td><td>36.1</td><td>417.9</td><td>82.9</td><td>84.9</td><td>86.0</td></tr></table>",
|
| 483 |
+
"bbox": [
|
| 484 |
+
181,
|
| 485 |
+
162,
|
| 486 |
+
816,
|
| 487 |
+
280
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 5
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "Local patch interaction. In the XCA block communication between patches is only implicit through the shared statistics. To enable explicit communication across patches we add a simple Local Patch Interaction (LPI) block after each XCA block. LPI consists of two depth-wise $3 { \\times } 3$ convolutional layers with Batch Normalization and GELU non-linearity in between. Due to its depth-wise structure, the LPI block has a negligible overhead in terms of parameters, as well as a very limited overhead in terms of throughput and memory usage during inference. ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
173,
|
| 496 |
+
308,
|
| 497 |
+
825,
|
| 498 |
+
392
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 5
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Feed-forward network. As is common in transformer models, we add a point-wise feedforward network (FFN), which has a single hidden layer with $4 d$ hidden units. While interaction between features is confined within groups in the XCA block, and no feature interaction takes place in the LPI block, the FFN allows for interaction across all features. ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
174,
|
| 507 |
+
410,
|
| 508 |
+
825,
|
| 509 |
+
465
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 5
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "Global aggregation with class attention. When training our models for image classification, we utilize the class attention layers as proposed by Touvron et al. $ { \\mathbb { I } } { \\mathbb { K } } { \\ b { 7 } } { \\mathbb { I } }$ . These layers aggregate the patch embeddings of the last XCiT layer through writing to a CLS token by one-way attention between the CLS tokens and the patch embeddings. The class attention is also applied per head, i.e. feature group. ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
484,
|
| 519 |
+
825,
|
| 520 |
+
540
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 5
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "Handling images of varying resolution. In contrast to the attention map involved in token selfattention, in our case the covariance blocks are of fixed size independent of the input image resolution. The softmax always operates over the same number of elements, which may explain why our models behave better when dealing with images of varying resolutions (see Figure $\\textcircled{3}$ . In XCiT we include additive sinusoidal positional encoding $\\lVert \\rVert$ with the input tokens. We generate them in 64 dimensions from the 2d patch coordinates and then linearly project to the transformer working dimension $d$ . This choice is orthogonal to the use of learned positional encoding, as in ViT [21]. However, it is more flexible since there is no need to interpolate or fine-tune the network when changing the image size. ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
173,
|
| 529 |
+
559,
|
| 530 |
+
825,
|
| 531 |
+
670
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 5
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "Model configurations. In Table $^ 1$ we list different variants of our model which we use in our experiments, with different choices for model width and depth. For the patch encoding layer, unless mentioned otherwise, we adopt the alternative used by Graham et al. $\\pmb { \\mathbb { D } } \\pmb { 6 } \\|$ with convolutional patch projection layers. We also experimented with a linear patch projection as described in $\\pmb { \\mathbb { D } } \\mathbf { 1 } \\mathbf { h }$ , see our ablation in Table 4. Our default patch size is $1 6 \\times 1 6$ , as in other vision transformer models including ViT $\\scriptstyle { \\left[ \\left[ 2 1 \\right] \\right] }$ , DeiT [64] and CaiT $\\pmb { \\mathbb { E 7 } }$ . We also experiment with smaller $8 \\times 8$ patches, which has been observed to improve performance $\\mathbb { [ [ 2 ] }$ . Note that this is efficient with XCiT as its complexity scales linearly which the number of patches, while ViT, DeiT and CaiT scale quadratically. ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
174,
|
| 540 |
+
688,
|
| 541 |
+
825,
|
| 542 |
+
799
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 5
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "4 Experimental evaluation ",
|
| 549 |
+
"text_level": 1,
|
| 550 |
+
"bbox": [
|
| 551 |
+
176,
|
| 552 |
+
821,
|
| 553 |
+
410,
|
| 554 |
+
839
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "In this section we demonstrate the effectiveness and versatility of XCiT on multiple computer vision benchmarks, and present ablations providing insight on the importance of its different components. In the supplementary material we provide additional analysis, including the impact on performance of image resolution in Section ${ \\bf A . l } ^ { \\dot { } }$ and of multiple approximate attention baselines in Section A.2. ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
174,
|
| 563 |
+
856,
|
| 564 |
+
825,
|
| 565 |
+
911
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 5
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "table",
|
| 571 |
+
"img_path": "images/bb9c6f5e9fde1661b58f5066af7a3b761f5d41fc7089adbe0083dcf11244050e.jpg",
|
| 572 |
+
"table_caption": [
|
| 573 |
+
"Table 2: ImageNet classification. Number of parameters, FLOPs, image resolution, and top-1 accuracy on ImageNet-1k and ImageNet-V2. Training strategies vary across models, transformer-based models and the reported RegNet mostly follow recipes from DeiT [64]. "
|
| 574 |
+
],
|
| 575 |
+
"table_footnote": [],
|
| 576 |
+
"table_body": "<table><tr><td>Model</td><td>#params</td><td>FLOPs Res.</td><td></td><td>ImNet</td><td>V2</td></tr><tr><td>EfficientNet-B5 RA [17]</td><td>30M</td><td>9.9B</td><td>456</td><td>83.7</td><td></td></tr><tr><td>RegNetY-4GFI531</td><td>21M</td><td>4.0B</td><td>224</td><td>80.0</td><td>72.4</td></tr><tr><td>DeiT-SY 64]</td><td>22M</td><td>4.6B</td><td>224</td><td>81.2</td><td>68.5</td></tr><tr><td>Swin-T [44]</td><td>29M</td><td>4.5B</td><td>224</td><td>81.3</td><td></td></tr><tr><td>CaiT-XS24Y ↑ 67]</td><td>26M</td><td>19.3B</td><td>384</td><td>84.1</td><td>74.1</td></tr><tr><td>XCiT-S12/16M</td><td>26M</td><td>4.8B</td><td>224</td><td>83.3</td><td>72.5</td></tr><tr><td>XCiT-S12/16Y↑</td><td>26M</td><td>14.3B</td><td>384</td><td>84.7</td><td>74.1</td></tr><tr><td>XCiT-S12/8Y↑</td><td>26M</td><td>55.6B</td><td>384</td><td>85.1</td><td>74.8</td></tr><tr><td>EfficientNet-B7RA [17]</td><td>66M</td><td>37.0B</td><td>600</td><td>84.7</td><td></td></tr><tr><td>NFNet-F0 [10]</td><td>72M</td><td>12.4B</td><td>256</td><td>83.6</td><td>72.6</td></tr><tr><td>RegNetY-8GF 园</td><td>39M</td><td>8.0B</td><td>224</td><td>81.7</td><td>72.4</td></tr><tr><td>TNT-B 四</td><td>66M</td><td>14.1B</td><td>224</td><td>82.8</td><td>1</td></tr><tr><td>国 Swin-S</td><td>50M</td><td>8.7B</td><td>224</td><td>83.0</td><td></td></tr><tr><td>CaiT-S24Y ↑ 67]</td><td>47M</td><td>32.2B</td><td>384</td><td>85.1</td><td>75.4</td></tr><tr><td>XCiT-S24/16M</td><td>48M</td><td>9.1B</td><td>224</td><td>83.9</td><td>73.3</td></tr><tr><td>XCiT-S24/16Y↑</td><td>48M</td><td>26.9B</td><td>384</td><td>85.1</td><td>74.6</td></tr><tr><td>XCiT-S24/8Y ↑</td><td>48M</td><td>105.9B</td><td>384</td><td>85.6</td><td>75.7</td></tr><tr><td>Fix-EfficientNet-B8</td><td>园 87M</td><td>89.5B</td><td>800</td><td>85.7</td><td>75.9</td></tr><tr><td>RegNetY-16GF[53]</td><td>84M</td><td>16.0B</td><td>224</td><td>82.9</td><td>72.4</td></tr><tr><td>Swin-B↑ 四</td><td>88M</td><td>47.0B</td><td>384</td><td>84.2</td><td></td></tr><tr><td>DeiT-BY↑[64</td><td>87M</td><td>55.5B</td><td>384</td><td>85.2</td><td>75.2</td></tr><tr><td>CaiT-S48Y ↑[67]</td><td>89M</td><td>63.8B</td><td>384</td><td>85.3</td><td>76.2</td></tr><tr><td>XCiT-M24/16T</td><td>84M</td><td>16.2B</td><td>224</td><td>84.3</td><td>73.6</td></tr><tr><td>XCiT-M24/16Y↑</td><td>84M</td><td>47.7B</td><td>384</td><td>85.4</td><td>75.1</td></tr><tr><td>XCiT-M24/8Y↑</td><td>84M</td><td>187.9B</td><td>384</td><td>85.8</td><td>76.1</td></tr><tr><td>NFNet-F2[ 目</td><td>194M</td><td>62.6B</td><td>352</td><td>85.1</td><td>74.3</td></tr><tr><td>NFNet-F3 目</td><td>255M</td><td>114.8B</td><td>416</td><td>85.7</td><td>75.2</td></tr><tr><td>CaiT-M24Y ↑[67</td><td>186M</td><td>116.1B</td><td>384</td><td>85.8</td><td>76.1</td></tr><tr><td>XCiT-L24/16T</td><td>189M</td><td>36.1B</td><td>224</td><td>84.9</td><td>74.6</td></tr><tr><td>XCiT-L24/16Y ↑</td><td>189M</td><td>106.0B</td><td>3384</td><td>85.8</td><td>75.8</td></tr><tr><td>XCiT-L24/8Y↑</td><td>189M</td><td>417.8B</td><td>384</td><td>86.0</td><td>76.6</td></tr></table>",
|
| 577 |
+
"bbox": [
|
| 578 |
+
176,
|
| 579 |
+
155,
|
| 580 |
+
501,
|
| 581 |
+
512
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 6
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "image",
|
| 587 |
+
"img_path": "images/d87cd7c275cbbc0e18ed54c4731e8c41009d08d1f159fc54964749277f2df726.jpg",
|
| 588 |
+
"image_caption": [
|
| 589 |
+
"Figure 4: Visualization of the attention map between the CLS token and individual patches in the class-attention stage. For each column, each row represents the attention map w.r.t. one head, corresponding to the image in the first row. Each head appears sensitive to semantically coherent regions. Heads are sensitive to similar features within the same or across images (e.g. people or bird faces). They are trigger by different concepts when such features are missing (e.g., cockpit for race cars). "
|
| 590 |
+
],
|
| 591 |
+
"image_footnote": [],
|
| 592 |
+
"bbox": [
|
| 593 |
+
524,
|
| 594 |
+
89,
|
| 595 |
+
823,
|
| 596 |
+
398
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 6
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "4.1 Image classification ",
|
| 603 |
+
"text_level": 1,
|
| 604 |
+
"bbox": [
|
| 605 |
+
174,
|
| 606 |
+
558,
|
| 607 |
+
348,
|
| 608 |
+
571
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 6
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "We use ImageNet-1k $\\mathbb { \\lVert 1 9 \\rVert }$ to train and evaluate our models for image classification. It consists of 1.28M training images and $5 0 \\mathrm { k }$ validation images, labeled across 1,000 semantic categories. Our training setup follows the DeiT recipe $\\pmb { \\mathbb { \\lVert 6 4 \\rVert } }$ . We train our model for 400 epochs with the AdamW optimizer $| \\bar { \\mathbf { \\nabla } } 4 \\bar { 5 } | |$ using a cosine learning rate decay. In order to enhance the training of larger models, we utilize LayerScale $ { \\mathbb { I } } { \\mathbb { I } }$ and adjust the stochastic depth $\\mathbb { \\lVert 3 3 \\rVert }$ for each of our models accordingly (see the supplementary material for details). Following $ { \\mathbb { I } } { \\mathbb { K } } 7 { \\mathbb { I } }$ , images are cropped with crop ratio of 1.0 for evaluation. In addition to the ImageNet-1k validation set, we report results for ImageNet-V2 [55] which has a distinct test set. Our implementation is based on the Timm library $\\lVert \\ b { 7 2 } \\rVert$ . ",
|
| 615 |
+
"bbox": [
|
| 616 |
+
174,
|
| 617 |
+
583,
|
| 618 |
+
825,
|
| 619 |
+
694
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 6
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "Results on ImageNet. We present a family of seven models in Table $\\lfloor 1 \\rfloor$ with different operating points in terms of parameters and FLOPs. We observe that the performance of the XCiT models benefits from increased capacity both in depth and width. Additionally, consistent with $\\mathbb { B 4 } \\mathbb { 6 7 } \\mathbb { 1 }$ we find that using hard distillation with a convolutional teacher improves the performance. Because of its linear complexity in the number of tokens, it is feasible to train XCiT at $3 8 4 \\times 3 8 4$ resolution with small $8 \\times 8$ patches, i.e. 2304 tokens, which provides a strong boost in performance across all configurations. ",
|
| 626 |
+
"bbox": [
|
| 627 |
+
174,
|
| 628 |
+
710,
|
| 629 |
+
825,
|
| 630 |
+
808
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 6
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "We compare to the state-of-the-art convolutional and transformer-based architectures [10, 44, 53, 58, $\\textcircled { 6 7 }$ in Table $2 .$ By varying the input image resolution and/or patch size, our models provide competitive or superior performance across model sizes and FLOP budgets. First, the models operating on $2 2 4 \\times 2 2 4$ and $1 6 \\times 1 6$ (e.g. XCiT-S12/16) enjoy high accuracy at relatively few FLOPs compared to their counterparts with comparable parameter count and FLOPs. Second, our models with $1 6 \\times 1 6$ and $3 8 4 \\times 3 8 4$ resolution images (e.g. XCiT-S12/16\") yield an improved accuracy at the expense of higher FLOPs, and provide superior or on-par performance compared to state-of-the-art models with comparable computational requirements. Finally, the linear complexity of XCiT allows us to scale to process $3 8 4 \\times 3 8 4$ images with $8 \\times 8$ patch sizes (e.g. XCiT-S12/8\"), achieving the highest accuracy across the board, albeit at a relatively high FLOPs count. ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
173,
|
| 639 |
+
814,
|
| 640 |
+
825,
|
| 641 |
+
911
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 6
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "table",
|
| 647 |
+
"img_path": "images/0cd706ed91865f761ffe03807f984655f712b992252942160ae51b7d4f8c1326.jpg",
|
| 648 |
+
"table_caption": [
|
| 649 |
+
"Table 3: Self-supervised learning. Top-1 acc. on ImageNet-1k. We report with a crop-ratio 0.875 for consistency with DINO. For the last row it is set to 1.0 (improves from $8 0 . 7 \\%$ to $8 0 . 9 \\%$ ). All models are trained for 300 epochs. "
|
| 650 |
+
],
|
| 651 |
+
"table_footnote": [],
|
| 652 |
+
"table_body": "<table><tr><td>SSL Method</td><td>Model</td><td>#params</td><td>FLOPs</td><td>Linear</td><td>k-NN</td></tr><tr><td>MoBY 回</td><td>Swin-T 国</td><td>29M</td><td>4.5B</td><td>75.0</td><td>1</td></tr><tr><td>DINO 回</td><td>ResNet-50[28]</td><td>23M</td><td>4.1B</td><td>74.5</td><td>65.6</td></tr><tr><td>DINO 圆</td><td>ViT-S/16_21</td><td>22M</td><td>4.6B</td><td>76.1</td><td>72.8</td></tr><tr><td>DINO 圆</td><td>ViT-S/8 21</td><td>22M</td><td>22.4B</td><td>79.2</td><td>77.2</td></tr><tr><td>DINO 圆</td><td>XCiT-S12/16</td><td>26M</td><td>4.9B</td><td>77.8</td><td>76.0</td></tr><tr><td>DINO 国</td><td>XCiT-S12/8</td><td>26M</td><td>18.9B</td><td>79.2</td><td>77.1</td></tr><tr><td>DINO 圆</td><td>ViT-B/1621</td><td>87M</td><td>17.5B</td><td>78.2</td><td>76.1</td></tr><tr><td>DINO 园</td><td>ViT-B/8 日</td><td>87M</td><td>78.2B</td><td>80.1</td><td>77.4</td></tr><tr><td>DINO 园</td><td>XCiT-M24/16</td><td>84M</td><td>16.2B</td><td>78.8</td><td>76.4</td></tr><tr><td>DINO 圆</td><td>XCiT-M24/8</td><td>84M</td><td>64.0B</td><td>80.3</td><td>77.9</td></tr><tr><td>DINO 园</td><td>XCiT-M24/8↑384</td><td>84M</td><td>188.0B</td><td>80.9</td><td>78.3</td></tr></table>",
|
| 653 |
+
"bbox": [
|
| 654 |
+
176,
|
| 655 |
+
162,
|
| 656 |
+
513,
|
| 657 |
+
291
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 7
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "table",
|
| 663 |
+
"img_path": "images/41b6af8b59f66ad278cdcd83a3335febd98b78f503b2369982284d23ae743683.jpg",
|
| 664 |
+
"table_caption": [
|
| 665 |
+
"Table 4: Ablations of various architectural design choices on the task of ImageNet-1k classification using the XCiT-S12 model. Our baseline model uses the convolutional projection adopted from LeVit. "
|
| 666 |
+
],
|
| 667 |
+
"table_footnote": [],
|
| 668 |
+
"table_body": "<table><tr><td>Model</td><td>Ablation</td><td>ImNet top-1 acc.</td></tr><tr><td>XCiT-S12/16</td><td rowspan=\"2\">Baseline</td><td>82.0</td></tr><tr><td>XCiT-S12/8</td><td>83.4</td></tr><tr><td>XCiT-S12/16</td><td rowspan=\"2\">Linear patch proj.</td><td>81.1</td></tr><tr><td>XCiT-S12/8</td><td>83.1</td></tr><tr><td rowspan=\"2\">XCiT-S12/16</td><td>w/o LPI layer</td><td>80.8</td></tr><tr><td>w/o XCA layer</td><td>75.9</td></tr><tr><td rowspan=\"2\">XCiT-S12/16</td><td>w/o l2-normal.</td><td>failed</td></tr><tr><td>w/o learned temp. T</td><td>81.8</td></tr></table>",
|
| 669 |
+
"bbox": [
|
| 670 |
+
531,
|
| 671 |
+
161,
|
| 672 |
+
823,
|
| 673 |
+
286
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 7
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "",
|
| 680 |
+
"bbox": [
|
| 681 |
+
174,
|
| 682 |
+
344,
|
| 683 |
+
825,
|
| 684 |
+
386
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 7
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "Class attention visualization. In Figure $\\sharp$ we show the class attention map obtained in the feature aggregation stage. Each head focuses on different semantically coherent regions in the image (e.g. faces or umbrellas). Furthermore, heads tend to focus on similar patterns across images (e.g. bird head or human face), but adapts by focusing on other salient regions when such patterns are absent. ",
|
| 691 |
+
"bbox": [
|
| 692 |
+
174,
|
| 693 |
+
412,
|
| 694 |
+
825,
|
| 695 |
+
469
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 7
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "Robustness to resolution changes. In Figure $3$ we report the accuracy of XCiT-S12, DeiT-S and ResNet-50 trained on $2 2 4 \\times 2 2 4$ images and evaluated at different image resolutions. While DeiT outperforms ResNet-50 when train and test resolutions are similar, it suffers from a larger drop in performance as the image resolution deviates farther from the training resolution. XCiT displays a substantially increased accuracy when train and test resolutions are similar, while also being robust to resolution changes, in particular for the model with $8 \\times 8$ patches. ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
174,
|
| 704 |
+
496,
|
| 705 |
+
825,
|
| 706 |
+
579
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 7
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Self-supervised learning. We train XCiT in a self-supervised manner using DINO $\\mathbb { \\lVert \\rVert }$ on ImageNet-1k. In Table $\\bar { 3 }$ we report performance using the linear and $\\mathbf { k }$ -NN protocols as in $\\mathbb { \\lVert \\rVert }$ . Across model sizes XCiT obtains excellent accuracy with both protocols, substantially improving DINO with ResNet-50 or ViT architectures, as well as over those reported for Swin-Transformer trained with MoBY $\\left[ \\left[ 7 6 \\right] \\right]$ . Comparing the larger models to ViT, we also observed improved performance for XCiT achieving a strong $8 0 . 3 \\%$ accuracy. For fair comparison, all reported models have been trained for 300 epochs. Further improved performance of small models is reported by Caron et al. $\\mathbb { \\lVert \\rVert }$ when training for 800 epochs, which we expect to carryover to XCiT based on the results presented here. ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
174,
|
| 715 |
+
607,
|
| 716 |
+
825,
|
| 717 |
+
732
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 7
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "Analysis and ablations. In Table $\\sharp$ we provide ablation experiments to analyse the impact of different design choices for our XCiT-S12 model. First, we observe the positive effect of using the convolutional patch projection as compared to using linear patch projection, for both $8 \\times 8$ and $1 6 \\times 1 6$ patches. Second, while removing the LPI layer reduces the accuracy by only $1 . 2 \\%$ (from 82.0 to 80.8), removing the XCA layer results in a large drop of $6 . 1 \\%$ , underlining the effectiveness of XCA. We noticed that the inclusion of two convolutional components – convolutional patch projection and LPI – not only brings improvements in accuracy, but also accelerates training. Third, although we were able to ensure proper convergence without $\\ell _ { 2 }$ -normalization of queries and keys by tweaking the hyper-parameters, we found that it provides stability across model size (depth and width) and other hyper-parameters. Finally, while the learnable softmax temperature parameter is not critical, removing it drops accuracy by $0 . 2 \\%$ . Additional ablations are provided in the supplementary material. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
173,
|
| 726 |
+
758,
|
| 727 |
+
825,
|
| 728 |
+
911
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 7
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "table",
|
| 734 |
+
"img_path": "images/57df260c30fed994ba9210c1bd037d5a095d94598b1a084873da3d7645b71f27.jpg",
|
| 735 |
+
"table_caption": [
|
| 736 |
+
"Table 5: COCO object detection and instance segmentation performance on the mini-val set. All backbones are pre-trained on ImageNet-1k, use Mask R-CNN model [29] and are trained with the same 3x schedule. "
|
| 737 |
+
],
|
| 738 |
+
"table_footnote": [],
|
| 739 |
+
"table_body": "<table><tr><td>Backbone</td><td>#params</td><td>AP</td><td>AP</td><td>AP5</td><td>Apm</td><td>AP</td><td>AP</td></tr><tr><td>ResNet18 国</td><td>31.2M</td><td>36.9</td><td>57.1</td><td>40.0</td><td>33.6</td><td>53.9</td><td>35.7</td></tr><tr><td>PVT-Tiny 凯</td><td>32.9M</td><td>39.8</td><td>62.2</td><td>43.0</td><td>37.4</td><td>59.3</td><td>39.9</td></tr><tr><td>ViL-Tiny I81</td><td>26.9M</td><td>41.2</td><td>64.0</td><td>44.7</td><td>37.9</td><td>59.8</td><td>40.6</td></tr><tr><td>XCiT-T12/16</td><td>26.1M</td><td>42.7</td><td>64.3</td><td>46.4</td><td>38.5</td><td>61.2</td><td>41.1</td></tr><tr><td>XCiT-T12/8</td><td>25.8M</td><td>44.5</td><td>66.4</td><td>48.8</td><td>40.3</td><td>63.5</td><td>43.2</td></tr><tr><td>ResNet50 I28]</td><td>44.2M</td><td>41.0</td><td>61.7</td><td>44.9</td><td>37.1</td><td>58.4</td><td>40.1</td></tr><tr><td>PVT-Small[70]</td><td>44.1M</td><td>43.0</td><td>65.3</td><td>46.9</td><td>39.9</td><td>62.5</td><td>42.8</td></tr><tr><td>ViL-Small81</td><td>45.0M</td><td>43.4</td><td>64.9</td><td>47.0</td><td>39.6</td><td>62.1</td><td>42.4</td></tr><tr><td>Swin-T [44</td><td>47.8M</td><td>46.0</td><td>68.1</td><td>50.3</td><td>41.6</td><td>65.1</td><td>44.9</td></tr><tr><td>XCiT-S12/16</td><td>44.3M</td><td>45.3</td><td>67.0</td><td>49.5</td><td>40.8</td><td>64.0</td><td>43.8</td></tr><tr><td>XCiT-S12/8</td><td>43.1M</td><td>47.0</td><td>68.9</td><td>51.7</td><td>42.3</td><td>66.0</td><td>45.4</td></tr><tr><td>ResNet101 28</td><td>63.2M</td><td>42.8</td><td>63.2</td><td>47.1</td><td>38.5</td><td>60.1</td><td>41.3</td></tr><tr><td>ResNeXt101-32</td><td>62.8M</td><td>44.0</td><td>64.4</td><td>48.0</td><td>39.2</td><td>61.4</td><td>41.9</td></tr><tr><td>PVT-Medium 目</td><td>63.9M</td><td>44.2</td><td>66.0</td><td>48.2</td><td>40.5</td><td>63.1</td><td>43.5</td></tr><tr><td>ViL-Medium 图</td><td>60.1M</td><td>44.6</td><td>66.3</td><td>48.5</td><td>40.7</td><td>63.8</td><td>43.7</td></tr><tr><td>Swin-S44</td><td>69.1M</td><td>48.5</td><td>70.2</td><td>53.5</td><td>43.3</td><td>67.3</td><td>46.6</td></tr><tr><td>XCiT-S24/16</td><td>65.8M</td><td>46.5</td><td>68.0</td><td>50.9</td><td>41.8</td><td>65.2</td><td>45.0</td></tr><tr><td>XCiT-S24/8</td><td>64.5M</td><td>48.1</td><td>69.5</td><td>53.0</td><td>43.0</td><td>66.5</td><td>46.1</td></tr><tr><td>ResNeXt101-6475</td><td>101.9M</td><td>44.4</td><td>64.9</td><td>48.8</td><td>39.7</td><td>61.9</td><td>42.6</td></tr><tr><td>PVT-Large 目</td><td>81.0M</td><td>44.5</td><td>66.0</td><td>48.3</td><td>40.7</td><td>63.4</td><td>43.7</td></tr><tr><td>ViL-Large 日</td><td>76.1M</td><td>45.7</td><td>67.2</td><td>49.9</td><td>41.3</td><td>64.4</td><td>44.5</td></tr><tr><td>XCiT-M24/16</td><td>101.1M</td><td>46.7</td><td>68.2</td><td>51.1</td><td>42.0</td><td>65.6</td><td>44.9</td></tr><tr><td>XCiT-M24/8</td><td>98.9M</td><td>48.5</td><td>70.3</td><td>53.4</td><td>43.7</td><td>67.5</td><td>46.9</td></tr></table>",
|
| 740 |
+
"bbox": [
|
| 741 |
+
176,
|
| 742 |
+
151,
|
| 743 |
+
513,
|
| 744 |
+
400
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 8
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "table",
|
| 750 |
+
"img_path": "images/db3eb872f723a17ba91bfd5d84d0634fe013f403837f65f9b6c315677d32393e.jpg",
|
| 751 |
+
"table_caption": [
|
| 752 |
+
"Table 6: ADE20k semantic segmentation performance using Semantic FPN [38] and UperNet [74] (in comparable settings). We do not include comparisons with other state-of-the-art models that are pre-trained on larger datasets [44, 54, 83]. "
|
| 753 |
+
],
|
| 754 |
+
"table_footnote": [],
|
| 755 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Backbone</td><td rowspan=1 colspan=2>Semantic FPN</td><td rowspan=1 colspan=2>UperNet</td></tr><tr><td rowspan=1 colspan=1>#params</td><td rowspan=1 colspan=1>mIoU</td><td rowspan=1 colspan=1>#params</td><td rowspan=1 colspan=1>mIoU</td></tr><tr><td rowspan=1 colspan=1>ResNet1828PVT-Tiny70</td><td rowspan=1 colspan=1>15.5M17.0M</td><td rowspan=1 colspan=1>32.935.7M</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>--</td></tr><tr><td rowspan=1 colspan=1>XCiT-T12/16XCiT-T12/8</td><td rowspan=1 colspan=1>8.4M8.4M</td><td rowspan=1 colspan=1>38.139.9</td><td rowspan=1 colspan=1>33.7M33.7</td><td rowspan=1 colspan=1>41.543.5</td></tr><tr><td rowspan=1 colspan=1>ResNet5028PVT-Small[70Swin-T44</td><td rowspan=1 colspan=1>28.5M28.2M</td><td rowspan=1 colspan=1>36.739.8-</td><td rowspan=1 colspan=1>66.5M-59.9M</td><td rowspan=1 colspan=1>42.0-44.5</td></tr><tr><td rowspan=1 colspan=1>XCiT-S12/16XCiT-S12/8</td><td rowspan=1 colspan=1>30.4M30.4M</td><td rowspan=1 colspan=1>43.944.2</td><td rowspan=1 colspan=1>52.4M52.3M</td><td rowspan=1 colspan=1>45.946.6</td></tr><tr><td rowspan=2 colspan=1>ResNet10128ResNeXt101-3275PVT-Medium 70Swin-S44</td><td rowspan=2 colspan=1>47.5M47.1M48.0M=</td><td rowspan=1 colspan=1>38.8</td><td rowspan=1 colspan=1>85.5M</td><td rowspan=1 colspan=1>43.8</td></tr><tr><td rowspan=1 colspan=1>39.741.6-</td><td rowspan=1 colspan=1>--81.0M</td><td rowspan=1 colspan=1>--47.6</td></tr><tr><td rowspan=1 colspan=1>XCiT-S24/16XCiT-S24/8</td><td rowspan=1 colspan=1>51.8M51.8M</td><td rowspan=1 colspan=1>44.647.1</td><td rowspan=1 colspan=1>73.8M73.8M</td><td rowspan=1 colspan=1>46.948.1</td></tr><tr><td rowspan=2 colspan=1>ResNeXt101-6475PVT-Large[701Swin-B国</td><td rowspan=2 colspan=1>86.4M65.1M=</td><td rowspan=1 colspan=1>40.242.1</td><td rowspan=2 colspan=1>-=121.0M</td><td rowspan=2 colspan=1>--48.1</td></tr><tr><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=2 colspan=1>XCiT-M24/16XCiT-M24/8</td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=1 colspan=1>90.8M</td><td rowspan=1 colspan=1>46.9</td><td rowspan=1 colspan=1>108.9M</td><td rowspan=1 colspan=1>48.4</td></tr></table>",
|
| 756 |
+
"bbox": [
|
| 757 |
+
532,
|
| 758 |
+
165,
|
| 759 |
+
823,
|
| 760 |
+
400
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 8
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "4.2 Object detection and instance segmentation ",
|
| 767 |
+
"text_level": 1,
|
| 768 |
+
"bbox": [
|
| 769 |
+
174,
|
| 770 |
+
439,
|
| 771 |
+
514,
|
| 772 |
+
454
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 8
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "Our XCiT models can efficiently process high-resolution images (see Figure 2). Additionally, XCiT has a better adaptability to varying image resolutions compared to ViT models (see Figure $3 )$ . These two properties make XCiT a good fit for dense prediction tasks including detection and segmentation. ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
174,
|
| 781 |
+
469,
|
| 782 |
+
825,
|
| 783 |
+
511
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 8
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "We evalutate XCiT for object detection and instance segmentation using the COCO benchmark [42] which consists of $1 1 8 \\mathrm { k }$ training and $5 \\mathrm { k }$ validation images including bounding boxes and mask labels for 80 categories. We integrate XCiT as backbone in the Mask R-CNN $\\mathbb { \\left[ \\left[ 2 9 \\right] \\right. }$ detector with FPN [43]. Since the XCiT architecture is inherently columnar, we make it FPN-compatible by extracting features from different layers, e.g., layers 4, 6, 8, and 12 for XCiT-S12. All features have a constant stride of 8 or 16 based on the patch size, and the feature resolutions are adjusted to have strides of 4, 8, 16, and 32, similar to ResNet-FPN backbones, where the downsampling is achieved by max pooling and the upsampling is obtained using a single transposed convolution layer (see the supplementary material for details). The model is trained for 36 epochs (3x schedule) using the AdamW optimizer with learning rate of $1 0 ^ { - 4 }$ , 0.05 weight decay and 16 batch size. We adopt the multiscale training and augmentation strategy of DETR $\\bar { \\mathbb { W } }$ . Our implementation is based on the mmdetection library $\\overline { { \\mathbb { B } 3 } } \\Vert$ . ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
174,
|
| 792 |
+
517,
|
| 793 |
+
825,
|
| 794 |
+
670
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 8
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "Results on COCO. In Table $\\boxed { 5 }$ we report object detection and instance segmentation results of four variants of XCiT using $1 6 \\times 1 6$ and $8 { \\times } 8$ patches. We compare to ResNets $\\bar { \\mathbb { B } } \\bar { \\mathbb { B } }$ and concurrent efficient vision transformers [44, 70, 81]. All models are trained using the 3x schedule after ImageNet-1k pretraining. Note that other results with higher absolute numbers have been achieved when pre-training on larger datasets $[ \\textcircled { 4 4 } ]$ or with longer schedules $\\mathbb { H }$ , and are therefore not directly comparable to the reported results. First, across all model sizes XCiT outperforms the convolutional ResNet [28] and ResNeXt $\\mathbb { \\left. \\overline { { \\boldsymbol { \\mathscr { Q } } \\boldsymbol { 5 } } } \\right. }$ by a large margin with either patch size. Second, we observe a similar increase in accuracy compared to PVT $\\bar { \\mathbb { I D } }$ and ViL $\\mathbb { \\left[ 8 1 \\right] }$ backbones. Finally, XCiT provides a competitive performance with Swin $[ \\overline { { 1 4 4 } } ] \\cdot \\big \\rrangle ^ { 2 }$ For relatively small models, XCiT-S12/8 outperforms its Swin-T counterpart with a decent margin. On the other hand, Swin-S provides slightly stronger results compared to XCiT-S24/8. Utilizing smaller $8 \\times 8$ patches leads to a consistent gain across all models. ",
|
| 801 |
+
"bbox": [
|
| 802 |
+
173,
|
| 803 |
+
696,
|
| 804 |
+
825,
|
| 805 |
+
851
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 8
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "4.3 Semantic segmentation ",
|
| 812 |
+
"text_level": 1,
|
| 813 |
+
"bbox": [
|
| 814 |
+
176,
|
| 815 |
+
92,
|
| 816 |
+
372,
|
| 817 |
+
106
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 9
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "We further show transferability of our models with semantic segmentation experiments on the ADE20k dataset $\\textcircled { 1 8 4 } \\textcircled { 1 }$ , which consists of $2 0 \\mathrm { k }$ training and 5k validation images with labels over 150 semantic categories. We integrate our backbones in two segmentation methods: Semantic FPN [38] and UperNet $\\bar { \\textregistered }$ . We train for 80k and 160k iterations for Semantic FPN and UperNet respectively. Following $\\textcircled { | 4 4 | }$ , the models are trained using batch size 16 and an AdamW optimizer with learning rate of $6 \\times 1 0 ^ { - 5 }$ and 0.01 weight decay. We apply the same method of extracting FPN features as explained in Section $\\mathbb { H } . 2 \\big \\downarrow$ We report the performance using the standard single scale protocol (without multi-scale and flipping). Our implementation is based on the mmsegmentation library $\\mathbb { \\lVert 1 6 \\rVert }$ . ",
|
| 824 |
+
"bbox": [
|
| 825 |
+
173,
|
| 826 |
+
116,
|
| 827 |
+
825,
|
| 828 |
+
227
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 9
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Results on ADE20k. We present the semantic segmentation performance using XCiT backbones in Table $6 .$ First, for Semantic FPN $\\mathbb { B }$ , XCiT provides a superior performance compared to ResNet, ResNeXt and PVT backbones using either option of patch size. Second, compared to Swin Transformers using the same UperNet decoder $\\pmb { \\Vert 7 4 \\Vert }$ , XCiT with $8 \\times 8$ patches consistently achieves a higher mIoU for different models. XCiT with $1 6 \\times 1 6$ patches provides a strong performance especially for smaller models where XCiT-S12/16 outperforms Swin-T. ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
174,
|
| 837 |
+
241,
|
| 838 |
+
825,
|
| 839 |
+
324
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 9
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "5 Conclusion ",
|
| 846 |
+
"text_level": 1,
|
| 847 |
+
"bbox": [
|
| 848 |
+
174,
|
| 849 |
+
343,
|
| 850 |
+
299,
|
| 851 |
+
361
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 9
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Contributions. We present an alternative to token self-attention which operates on the feature dimension, eliminating the need for expensive computation of quadratic attention maps. We build our XCiT models with the cross-covariance attention as its core component and demonstrate the effectiveness and generality of our models on various computer vision tasks. In particular, it exhibits a strong image classification performance on par with state-of-the-art transformer models while similarly robust to changing image resolutions as convnets. XCiT is effective as a backbone for dense prediction tasks, providing excellent performance on object detection, instance and semantic segmentation. Finally, we showed that XCiT can be a strong backbone for self-supervised learning, matching the state-of-the-art results with less compute. XCiT is a generic architecture that can readily be deployed in other research domains where self-attention has shown success. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
174,
|
| 860 |
+
375,
|
| 861 |
+
825,
|
| 862 |
+
512
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 9
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Limitations. Our models enable training with smaller patches and on higher-resolution images, which leads to clear performance gains. However, for tasks like image classification this gain comes at a cost of relatively high number of FLOPs. In order to address this issue, other components, like FFN, could also be re-examined. Another point is that XCiT models seem to overfit more than their CaiT counterparts, see Table 2. They are more similar to some convnets in that respect. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
174,
|
| 871 |
+
526,
|
| 872 |
+
825,
|
| 873 |
+
597
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 9
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "References ",
|
| 880 |
+
"text_level": 1,
|
| 881 |
+
"bbox": [
|
| 882 |
+
174,
|
| 883 |
+
614,
|
| 884 |
+
266,
|
| 885 |
+
630
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 9
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "[1] Joshua Ainslie, Santiago Ontanon, Chris Alberti, Vaclav Cvicek, Zachary Fisher, Philip Pham, Anirudh Ravula, Sumit Sanghai, Qifan Wang, and Li Yang. Etc: Encoding long and structured inputs in transformers. In Conference on Empirical Methods in Natural Language Processing, 2020. \n[2] Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Luciˇ c, and Cordelia Schmid. Vivit: A ´ video vision transformer. arXiv preprint arXiv:2103.15691, 2021. \n[3] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. \n[4] Irwan Bello. LambdaNetworks: Modeling long-range interactions without attention. arXiv preprint arXiv:2102.08602, 2021. \n[5] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020. \n[6] Maxim Berman, Hervé Jégou, Andrea Vedaldi, Iasonas Kokkinos, and Matthijs Douze. MultiGrain: a unified image embedding for classes and instances. arXiv preprint arXiv:1902.05509, 2019. \n[7] Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? arXiv preprint arXiv:2102.05095, 2021. \n[8] Y-Lan Boureau, Jean Ponce, and Yann LeCun. A theoretical analysis of feature pooling in visual recognition. In International Conference on Machine Learning, 2010. \n[9] B. De Brabandere, X. Jia, T. Tuytelaars, and L. Van Gool. Dynamic filter networks. In Advances in Neural Information Processing Systems, 2016. \n[10] Andrew Brock, Soham De, Samuel L Smith, and Karen Simonyan. High-performance large-scale image recognition without normalization. arXiv preprint arXiv:2102.06171, 2021. \n[11] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, 2020. \n[12] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. arXiv preprint arXiv:2104.14294, 2021. \n[13] Kai Chen, Jiaqi Wang, Jiangmiao Pang, Yuhang Cao, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jiarui Xu, Zheng Zhang, Dazhi Cheng, Chenchen Zhu, Tianheng Cheng, Qijie Zhao, Buyu Li, Xin Lu, Rui Zhu, Yue Wu, Jifeng Dai, Jingdong Wang, Jianping Shi, Wanli Ouyang, Chen Change Loy, and Dahua Lin. MMDetection: Open mmlab detection toolbox and benchmark. arXiv preprint arXiv:1906.07155, 2019. \n[14] Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019. \n[15] Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking attention with performers. arXiv preprint arXiv:2009.14794, 2020. \n[16] MMSegmentation Contributors. MMSegmentation: Openmmlab semantic segmentation toolbox and benchmark. https://github.com/open-mmlab/mmsegmentation, 2020. \n[17] Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2020. \n[18] Stéphane d’Ascoli, Hugo Touvron, Matthew Leavitt, Ari Morcos, Giulio Biroli, and Levent Sagun. Convit: Improving vision transformers with soft convolutional inductive biases. arXiv preprint arXiv:2103.10697, 2021. \n[19] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. \n[20] Xiaohan Ding, Xiangyu Zhang, Jungong Han, and Guiguang Ding. RepMLP: Re-parameterizing convolutions into fully-connected layers for image recognition. arXiv preprint arXiv:2105.01883, 2021. \n[21] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. \n[22] Alaaeldin El-Nouby, Natalia Neverova, Ivan Laptev, and Hervé Jégou. Training vision transformers for image retrieval. arXiv preprint arXiv:2102.05644, 2021. \n[23] Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. arXiv preprint arXiv:2104.11227, 2021. \n[24] Albert Gordo, Jon Almazán, Jérôme Revaud, and Diane Larlus. End-to-end learning of deep visual representations for image retrieval. International journal of Computer Vision, 124, 2017. \n[25] Anirudh Goyal, Aniket Didolkar, Alex Lamb, Kartikeya Badola, Nan Rosemary Ke, Nasim Rahaman, Jonathan Binas, Charles Blundell, Michael Mozer, and Yoshua Bengio. Coordination among neural modules through a shared global workspace. arXiv preprint arXiv:2103.01197, 2021. URL https: //arxiv.org/abs/2103.01197. \n[26] Ben Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou, and Matthijs Douze. Levit: a vision transformer in convnet’s clothing for faster inference. arXiv preprint arXiv:2104.01136, 2021. \n[27] Kai Han, An Xiao, Enhua Wu, Jianyuan Guo, Chunjing Xu, and Yunhe Wang. Transformer in transformer. arXiv preprint arXiv:2103.00112, 2021. \n[28] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition, 2016. \n[29] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In International Conference on Computer Vision, 2017. \n[30] Jonathan Ho, Nal Kalchbrenner, Dirk Weissenborn, and Tim Salimans. Axial attention in multidimensional transformers. arXiv preprint arXiv:1912.12180, 2019. \n[31] Grant Van Horn, Oisin Mac Aodha, Yang Song, Alexander Shepard, Hartwig Adam, Pietro Perona, and Serge J. Belongie. The iNaturalist species classification and detection dataset. arXiv preprint arXiv:1707.06642, 2017. \n[32] Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In Computer Vision and Pattern Recognition, 2018. \n[33] Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In European Conference on Computer Vision, 2016. \n[34] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao Carreira. Perceiver: General perception with iterative attention. arXiv preprint arXiv:2103.03206, 2021. \n[35] Hervé Jégou, Matthijs Douze, and Cordelia Schmid. Hamming embedding and weak geometric consistency for large scale image search. In European Conference on Computer Vision, 2008. \n[36] Hervé Jégou, Florent Perronnin, Matthijs Douze, Jorge Sánchez, Patrick Perez, and Cordelia Schmid. Aggregating local image descriptors into compact codes. IEEE Transactions on Pattern Analysis and Machine Intelligence, 34(9), 2012. \n[37] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and François Fleuret. Transformers are RNNs: Fast autoregressive transformers with linear attention. In International Conference on Machine Learning, 2020. \n[38] Alexander Kirillov, Ross Girshick, Kaiming He, and Piotr Dollár. Panoptic feature pyramid networks. In Computer Vision and Pattern Recognition, 2019. \n[39] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), 2013. \n[40] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, CIFAR, 2009. \n[41] James Lee-Thorp, Joshua Ainslie, Ilya Eckstein, and Santiago Ontanon. Fnet: Mixing tokens with fourier transforms. arXiv preprint arXiv:2105.03824, 2021. \n[42] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In European Conference on Computer Vision, 2014. \n[43] Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In Computer Vision and Pattern Recognition, 2017. \n[44] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021. \n[45] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. \n[46] Luke Melas-Kyriazi. Do you even need attention? a stack of feed-forward layers does surprisingly well on imagenet. arXiv preprint arXiv:2105.02723, 2021. \n[47] M-E. Nilsback and A. Zisserman. Automated flower classification over a large number of classes. In Proceedings of the Indian Conference on Computer Vision, Graphics and Image Processing, 2008. \n[48] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, 2018. \n[49] J. Philbin, O. Chum, M. Isard, J. Sivic, and A. Zisserman. Object retrieval with large vocabularies and fast spatial matching. In Computer Vision and Pattern Recognition, 2007. \n[50] Jiezhong Qiu, Hao Ma, Omer Levy, Scott Wen-tau Yih, Sinong Wang, and Jie Tang. Blockwise selfattention for long document understanding. arXiv preprint arXiv:1911.02972, 2019. \n[51] Filip Radenovic, Ahmet Iscen, Giorgos Tolias, Yannis Avrithis, and Ond ´ ˇrej Chum. Revisiting oxford and paris: Large-scale image retrieval benchmarking. In Computer Vision and Pattern Recognition, 2018. \n[52] Filip Radenovic, Giorgos Tolias, and Ondrej Chum. Fine-tuning CNN image retrieval with no human ´ annotation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018. \n[53] Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, and Piotr Dollár. Designing network design spaces. In Computer Vision and Pattern Recognition, 2020. \n[54] René Ranftl, Alexey Bochkovskiy, and Vladlen Koltun. Vision transformers for dense prediction. arXiv preprint arXiv:2103.13413, 2021. \n[55] Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do imagenet classifiers generalize to imagenet? In International Conference on Machine Learning, 2019. \n[56] Zhuoran Shen, Mingyuan Zhang, Haiyu Zhao, Shuai Yi, and Hongsheng Li. Efficient attention: Attention with linear complexities. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, 2021. \n[57] Sainbayar Sukhbaatar, Edouard Grave, Piotr Bojanowski, and Armand Joulin. Adaptive attention span in transformers. arXiv preprint arXiv:1905.07799, 2019. \n[58] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning. PMLR, 2019. \n[59] Giorgos Tolias, Yannis Avrithis, and Hervé Jégou. Image search with selective match kernels: aggregation across single and multiple images. International journal of Computer Vision, 116(3), 2016. \n[60] Giorgos Tolias, Ronan Sicre, and Hervé Jégou. Particular object retrieval with integral max-pooling of cnn activations. In International Conference on Learning Representations, 2016. \n[61] Giorgos Tolias, Tomas Jenicek, and Ondˇrej Chum. Learning and aggregating deep local descriptors for instance-level recognition. In European Conference on Computer Vision, 2020. \n[62] Ilya Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Andreas Steiner, Daniel Keysers, Jakob Uszkoreit, Mario Lucic, and Alexey Dosovitskiy. MLP-Mixer: An all-MLP architecture for vision. arXiv preprint arXiv:2105.01601, 2021. \n[63] H Touvron, A Vedaldi, M Douze, and H Jégou. Fixing the train-test resolution discrepancy. Advances in Neural Information Processing Systems, 2019. \n[64] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers and distillation through attention. arXiv preprint arXiv:2012.12877, 2020. \n[65] Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Hervé Jégou. Fixing the train-test resolution discrepancy: Fixefficientnet. arXiv preprint arXiv:2003.08237, 2020. \n[66] Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, and Hervé Jégou. ResMLP: Feedforward networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021. \n[67] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021. \n[68] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, 2017. \n[69] Sinong Wang, Belinda Li, Madian Khabsa, Han Fang, and Hao Ma. Linformer: Self-attention with linear complexity. arXiv preprint arXiv:2006.04768, 2020. \n[70] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. arXiv preprint arXiv:2102.12122, 2021. \n[71] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Computer Vision and Pattern Recognition, 2018. \n[72] Ross Wightman. Pytorch image models. https://github.com/rwightman/pytorch-image-models, 2019. \n[73] Yuxin Wu and Kaiming He. Group normalization. In European Conference on Computer Vision, 2018. \n[74] Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In European Conference on Computer Vision, 2018. \n[75] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In Computer Vision and Pattern Recognition, 2017. \n[76] Zhenda Xie, Yutong Lin, Zhuliang Yao, Zheng Zhang, Qi Dai, Yue Cao, and Han Hu. Self-supervised learning with swin transformers. arXiv preprint arXiv:2105.04553, 2021. \n[77] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li, and Vikas Singh. Nyströmformer: A nyström-based algorithm for approximating self-attention. arXiv preprint arXiv:2102.03902, 2021. \n[78] Kun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou, Fengwei Yu, and Wei Wu. Incorporating convolution designs into visual transformers. arXiv preprint arXiv:2103.11816, 2021. \n[79] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token ViT: Training vision transformers from scratch on ImageNet. arXiv preprint arXiv:2101.11986, 2021. \n[80] Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. Big bird: Transformers for longer sequences. arXiv preprint arXiv:2007.14062, 2020. \n[81] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021. \n[82] Hengshuang Zhao, Jiaya Jia, and Vladlen Koltun. Exploring self-attention for image recognition. In Computer Vision and Pattern Recognition, 2020. \n[83] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020. \n[84] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Computer Vision and Pattern Recognition, 2017. ",
|
| 892 |
+
"bbox": [
|
| 893 |
+
179,
|
| 894 |
+
636,
|
| 895 |
+
826,
|
| 896 |
+
911
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 9
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "",
|
| 903 |
+
"bbox": [
|
| 904 |
+
171,
|
| 905 |
+
63,
|
| 906 |
+
826,
|
| 907 |
+
920
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 10
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "",
|
| 914 |
+
"bbox": [
|
| 915 |
+
171,
|
| 916 |
+
80,
|
| 917 |
+
828,
|
| 918 |
+
915
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 11
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "",
|
| 925 |
+
"bbox": [
|
| 926 |
+
171,
|
| 927 |
+
74,
|
| 928 |
+
826,
|
| 929 |
+
911
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 12
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "",
|
| 936 |
+
"bbox": [
|
| 937 |
+
173,
|
| 938 |
+
92,
|
| 939 |
+
828,
|
| 940 |
+
276
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 13
|
| 943 |
+
}
|
| 944 |
+
]
|
parse/train/kzPtpIpF8o/kzPtpIpF8o_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kzPtpIpF8o/kzPtpIpF8o_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/xCy9thPPTb_/xCy9thPPTb__middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/zGsRcuoR5-0/zGsRcuoR5-0.md
ADDED
|
@@ -0,0 +1,432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Sample Selection with Uncertainty of Losses for Learning with Noisy Labels
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 In learning with noisy labels, the sample selection approach is very popular, which
|
| 11 |
+
2 regards small-loss data as correctly labeled during training. However, losses are
|
| 12 |
+
3 generated on-the-fly based on the model being trained with noisy labels, and thus
|
| 13 |
+
4 large-loss data are likely but not certainly to be incorrect. There are actually
|
| 14 |
+
5 two possibilities of a large-loss data point: (a) it is mislabeled, and then its loss
|
| 15 |
+
6 decreases slower than other data, since deep neural networks “learn patterns first”;
|
| 16 |
+
7 (b) it belongs to an underrepresented group of data and has not been selected yet. In
|
| 17 |
+
8 this paper, we incorporate the uncertainty of losses by adopting interval estimation
|
| 18 |
+
9 instead of point estimation of losses, where lower bounds of the confidence intervals
|
| 19 |
+
10 of losses derived from distribution-free concentration inequalities, but not losses
|
| 20 |
+
11 themselves, are used for sample selection. In this way, we also give large-loss but
|
| 21 |
+
12 less selected data a try; then, we can better distinguish between the cases (a) and
|
| 22 |
+
13 (b) by seeing if the losses effectively decrease with the uncertainty after the try. As
|
| 23 |
+
14 a result, we can better explore underrepresented data that are correctly labeled but
|
| 24 |
+
15 seem to be mislabeled at first glance. Experiments demonstrate that the proposed
|
| 25 |
+
16 method is superior to baselines and robust to a broad range of label noise types.
|
| 26 |
+
|
| 27 |
+
# 17 1 Introduction
|
| 28 |
+
|
| 29 |
+
18 Learning with noisy labels is one of the most challenging problems in weakly-supervised learning,
|
| 30 |
+
19 since noisy labels are ubiquitous in the real world [36, 65, 40, 1, 61]. For instance, both crowdsourcing
|
| 31 |
+
20 and web crawling yield large numbers of noisy labels everyday [12]. Noisy labels can severely impair
|
| 32 |
+
21 the performance of deep neural networks with strong memorization capacities [67, 69, 42, 30].
|
| 33 |
+
22 To reduce the influence of noisy labels, a lot of approaches have been recently proposed [38, 29, 31,
|
| 34 |
+
23 68, 71, 55, 56, 46, 33, 25, 34, 47, 60, 49, 19, 17, 14]. They can be generally divided into two main
|
| 35 |
+
24 categories. The first one is to estimate the noise transition matrix [41, 44, 15, 11], which denotes the
|
| 36 |
+
25 probabilities that clean labels flip into noisy labels. However, the noise transition matrix is hard to be
|
| 37 |
+
26 estimated accurately, especially when the number of classes is large [65]. The second approach is
|
| 38 |
+
27 sample selection, which is our focus in this paper. This approach is based on selecting possibly clean
|
| 39 |
+
28 examples from a mini-batch for training [12, 62, 50, 65, 23, 50, 51]. Intuitively, if we can exploit less
|
| 40 |
+
29 noisy data for network parameter updates, the network will be more robust.
|
| 41 |
+
30 A major question in sample selection is what criteria can be used to select possibly clean examples.
|
| 42 |
+
31 At the present stage, the selection based on the small-loss criteria is the most common method, and
|
| 43 |
+
32 has been verified to be effective in many circumstances [12, 16, 65, 52, 62]. Specifically, since
|
| 44 |
+
33 deep networks learn patterns first [2], they would first memorize training data of clean labels and
|
| 45 |
+
34 then those of noisy labels with the assumption that clean labels are of the majority in a noisy class.
|
| 46 |
+
35 Small-loss examples can thus be regarded as clean examples with high probability. Therefore, in
|
| 47 |
+
36 each iteration, prior methods [12, 52] select the small-loss examples based on the predictions of the
|
| 48 |
+
37 current network for robust training.
|
| 49 |
+
38 However, such a selection procedure is debatable, since it arguably does not consider uncertainty
|
| 50 |
+
39 in selection. The uncertainty comes from two aspects. First, this procedure has uncertainty about
|
| 51 |
+
40 small-loss examples. Specifically, the procedure uses limited time intervals and only exploits the
|
| 52 |
+
41 losses provided by the current predictions. For this reason, the estimation for the noisy class posterior
|
| 53 |
+
42 is unstable [63], which causes the network predictions to be equally unstable. It thus takes huge risks
|
| 54 |
+
43 to only use losses provided by the current predictions (Figure 1, left). Once wrong selection is made,
|
| 55 |
+
44 the inferiority of accumulated errors will arise [65]. Second, this procedure has uncertainty about
|
| 56 |
+
45 large-loss examples. To be specific, deep networks learn easy examples at the beginning of training,
|
| 57 |
+
46 but ignore some clean examples with large losses. Nevertheless, such examples are always critical for
|
| 58 |
+
47 generalization. For instance, when learning with imbalanced data, distinguishing the examples with
|
| 59 |
+
48 non-dominant labels are more pivotal during training [35]. Deep networks often give large losses to
|
| 60 |
+
49 such examples (Figure 1, right). Therefore, when learning under the realistic scenes, e.g., learning
|
| 61 |
+
50 with noisy imbalanced data, prior sample selection methods cannot address such an issue well.
|
| 62 |
+
51 To relieve the above issues, we study the uncertainty of losses in the sample selection procedure to
|
| 63 |
+
52 combat noisy labels. To reduce the uncertainty of small-loss examples, we extend time intervals and
|
| 64 |
+
53 utilize the mean of training losses at different training iterations. In consideration of the bad influence
|
| 65 |
+
54 of mislabeled data on training losses, we build two robust mean estimators from the perspectives of
|
| 66 |
+
55 soft truncation and hard truncation w.r.t. the truncation level, respectively. Soft truncation makes the
|
| 67 |
+
56 mean estimation more robust by holistically changing the behavior of losses. Hard truncation makes
|
| 68 |
+
57 the mean estimation more robust by locally removing outliers from losses. To reduce the uncertainty
|
| 69 |
+
58 of large-loss examples, we encourage networks to pick the sample that has not been selected in a
|
| 70 |
+
59 conservative way. Furthermore, to address the two issues simultaneously, we derive concentration
|
| 71 |
+
60 inequalities [5] for robust mean estimation and further employ statistical confidence bounds [3] to
|
| 72 |
+
61 consider the number of times an example was selected during training.
|
| 73 |
+
62 The study of uncertainty of losses in learning with noisy labels can be justified as follows. In statistical
|
| 74 |
+
63 learning, it is known that uncertainty is related to the quality of data [48]. Philosophically, we need
|
| 75 |
+
64 variety decrease for selected data and variety search for unselected data, which share a common
|
| 76 |
+
65 objective, i.e., reduce the uncertainty of data to improve generalization [37]. This is our original
|
| 77 |
+
66 intention, since noisy labels could bring more uncertainty because of the low quality of noisy data.
|
| 78 |
+
67 Nevertheless, due to the harm of noisy labels for generalization, we need to strike a good balance
|
| 79 |
+
68 between variety decrease and search. Technically, our method is specially designed for handling
|
| 80 |
+
69 noisy labels, which robustly uses network predictions and conservatively seeks less selected examples
|
| 81 |
+
70 meanwhile to reduce the uncertainty of losses and then generalize well.
|
| 82 |
+
71 Before delving into details, we clearly emphasize our contributions in two folds. First, we reveal prior
|
| 83 |
+
72 sample selection criteria in learning with noisy labels have some potential weaknesses and discuss
|
| 84 |
+
73 them in detail. The new selection criteria are then proposed with detailed theoretical analyses. Second,
|
| 85 |
+
74 we experimentally validate the proposed method on both synthetic noisy balanced/imbalanced datasets
|
| 86 |
+
75 and real-world noisy datasets, on which it achieves superior robustness compared with the state
|
| 87 |
+
76 of-the-art methods in learning with noisy labels. The rest of the paper is organized as follows. In
|
| 88 |
+
77 Section 2, we propose our robust learning paradigm step by step. Experimental results are discussed
|
| 89 |
+
78 in Section 3. The conclusion is given in Section 4.
|
| 90 |
+
80 In this section, we first introduce the problem setting and some background (Section 2.1). Then we
|
| 91 |
+
81 discuss how to exploit training losses at different iterations (Section 2.2). Finally, we introduce the
|
| 92 |
+
82 proposed method, which exploits training losses at different iterations more robustly and encourages
|
| 93 |
+
83 networks to pick the sample that is less selected but could be correctly labeled (Section 2.3).
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 1: Illustrations of uncertainty of losses. Experiments are conducted on the imbalanced noisy MNIST dataset. Left: uncertainty of small-loss examples. At the beginning of training (Epochs 1 and 2), due to the instability of the current prediction, the network gives a larger loss to the clean example and does not select it for updates. If we consider the mean of training losses at different epochs, the clean example can be equipped with a smaller loss and then selected for updates. Right: uncertainty of large-loss examples. Since the deep network learns easy examples at the beginning of training, it gives a large loss to clean imbalanced data with non-dominant labels, which causes such data unable to be selected and severely influence generalization.
|
| 97 |
+
|
| 98 |
+
# 84 2.1 Preliminaries
|
| 99 |
+
|
| 100 |
+
85 Let $\mathcal { X }$ and $\mathcal { V }$ be the input and output spaces. Consider a $k$ -class classification problem, i.e., $\mathcal { V } = [ k ]$ ,
|
| 101 |
+
86 where $[ k ] = \{ 1 , \dots , k \}$ . In learning with noisy labels, the training data are all sampled from a
|
| 102 |
+
87 corrupted distribution on $\mathcal { X } \times \mathcal { V }$ . We are given a sample with noisy labels, i.e., $\tilde { S } = \{ ( \mathbf { x } , \tilde { y } ) \}$ , where
|
| 103 |
+
88 $\tilde { y }$ is the noisy label. The aim is to learn a robust classifier that could assign clean labels to test data by
|
| 104 |
+
89 only exploiting a training sample with noisy labels.
|
| 105 |
+
90 Let $f : \mathcal { X } \to \mathbb { R } ^ { k }$ be the classifier with learnable parameters w. At the $i$ -th iteration during training,
|
| 106 |
+
91 the parameters of the classifier $f$ can be denoted as $\mathbf { w } _ { i }$ . Let $\ell : \mathbb { R } ^ { k } \times \mathcal { Y } \mathbb { R }$ be a surrogate loss
|
| 107 |
+
92 function for $k$ -class classification. We exploit the softmax cross entropy loss in this paper. Given an
|
| 108 |
+
93 arbitrary training example $( \mathbf { x } , \tilde { y } )$ , at the $i$ -th iteration, we can obtain a loss $\ell _ { i }$ , i.e., $\ell _ { i } = \ell ( f ( \mathbf { w } _ { i } ; \mathbf { x } ) , \tilde { y } )$
|
| 109 |
+
94 Hence, until the $t$ -th iteration, we can obtain a training loss set $L _ { t }$ about the example $( \mathbf { x } , \tilde { y } )$ , i.e.,
|
| 110 |
+
95 $L _ { t } = \{ \ell _ { 1 } , \ldots , \ell _ { t } \}$ .
|
| 111 |
+
96 In this paper, we assume that the training losses in $L _ { t }$ conform to a Markov process, which is to
|
| 112 |
+
97 represent a changing system under the assumption that future states only depend on the current state
|
| 113 |
+
98 (the Markov property) [43]. More specifically, at the $i$ -th iteration, if we exploit an optimization
|
| 114 |
+
99 algorithm for parameter updates (e.g., the stochastic gradient descent algorithm [4]) and omit other
|
| 115 |
+
100 dependencies (e.g., $\tilde { S }$ ), we will have $P ( \mathbf { w } _ { i } | \mathbf { w } _ { i - 1 } , \ldots , \mathbf { w } _ { 0 } ) = P ( \mathbf { w } _ { i } | \mathbf { w } _ { i - 1 } )$ , which means that the
|
| 116 |
+
101 future state of the classifier $f$ only depends on the current state. Furthermore, given a training example
|
| 117 |
+
102 and the parameters of the classifier $f$ , we can determine the loss of the training example as discussed.
|
| 118 |
+
103 Therefore, the training losses in $L _ { t }$ will also conform to a Markov process.
|
| 119 |
+
|
| 120 |
+
# 2.2 Extended Time Intervals
|
| 121 |
+
|
| 122 |
+
105 As limited time interval cannot address the instability issue of the estimation for the noisy class
|
| 123 |
+
106 posterior well [42], we extend time intervals and exploit the training losses at different training
|
| 124 |
+
107 iterations for sample selection. One straightforward idea is to use the mean of training losses at
|
| 125 |
+
108 different training iterations. Hence, the selection criterion could be
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\tilde { \mu } = \frac { 1 } { t } \sum _ { i = 1 } ^ { t } \ell _ { i } .
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
109 It is intuitive and reasonable to use such a selection criterion for sample selection, since the operation
|
| 132 |
+
110 of averaging can mitigate the risks caused by the unstable estimation for the noisy class posterior,
|
| 133 |
+
111 following better generalization. Nevertheless, such a method could arguably achieve suboptimal
|
| 134 |
+
112 classification performance for learning with noisy labels. The main reason is that, due to the great
|
| 135 |
+
113 harm of mislabeled data, part of training losses are with too large uncertainty and could be seen as
|
| 136 |
+
114 outliers. Therefore, it could be biased to use the mean of training losses consisting of such outliers
|
| 137 |
+
115 [10], which further influences sample selection. More evaluations for our claims are provided in
|
| 138 |
+
116 Section 3.
|
| 139 |
+
|
| 140 |
+
# 117 2.3 Robust Mean Estimation and Conservative Search
|
| 141 |
+
|
| 142 |
+
118 We extend time intervals and meanwhile exploit the training losses at different training iterations more
|
| 143 |
+
119 robustly. Specifically, we build two robust mean estimators from the perspectives of soft truncation
|
| 144 |
+
120 and hard truncation [7]. Note that for specific tasks, it is feasible to decide the types of robust mean
|
| 145 |
+
121 estimation with statistical tests based on some assumptions [8]. We leave the analysis as future work.
|
| 146 |
+
122 Two distribution-free robust mean estimators are introduced as follows.
|
| 147 |
+
123 Soft truncation. We extend a classical M-estimator from [7] and exploit the widest possible choice of
|
| 148 |
+
124 the influence function. More specifically, give a random variable $X$ , let us consider a non-decreasing
|
| 149 |
+
|
| 150 |
+
125 influence function $\psi : \mathbb { R } \to \mathbb { R }$ such that
|
| 151 |
+
|
| 152 |
+
$$
|
| 153 |
+
\psi ( X ) = \log ( 1 + X + X ^ { 2 } / 2 ) , X \geq 0 .
|
| 154 |
+
$$
|
| 155 |
+
|
| 156 |
+
126 The choice of $\psi$ is inspired by the Taylor expansion of the exponential function, which can make the
|
| 157 |
+
127 estimation results more robust by reducing the side effect of extremum holistically. The illustration
|
| 158 |
+
128 for this influence function is provided in Appendix A.1. For our task, given the observations on
|
| 159 |
+
129 training losses, i.e., $L _ { t } = \{ \ell _ { 1 } , \ldots , \ell _ { t } \}$ , we estimate the mean robustly as follows:
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\tilde { \mu } _ { s } = \frac { 1 } { t } \sum _ { i = 1 } ^ { t } \psi ( \ell _ { i } ) .
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
130 We term the above robust mean estimator (3) the soft estimator.
|
| 166 |
+
|
| 167 |
+
131 Hard truncation. We propose a new robust mean estimator based on hard truncation. Specifically,
|
| 168 |
+
132 given the observations on training losses $L _ { t }$ , we first exploit the $\mathbf { K }$ -nearest neighbor (KNN) algorithm
|
| 169 |
+
133 [27] to remove some underlying outliers in $L _ { t }$ . The number of outliers is denoted by $t _ { \mathrm { o } } ( t _ { \mathrm { o } } < t )$ , which
|
| 170 |
+
134 can be adaptively determined as discussed in [70]. Note that we can also employ other algorithms,
|
| 171 |
+
135 e.g., principal component analysis [45] and the local outlier factor [6], to identify underlying outliers
|
| 172 |
+
136 in $L _ { t }$ . The main reason we employ KNN is because of its relatively low computation costs [70].
|
| 173 |
+
137 The truncated loss observations on training losses are denoted by $L _ { t - t _ { \mathrm { o } } }$ . We then utilize $L _ { t - t _ { \mathrm { o } } }$ for
|
| 174 |
+
138 the mean estimation. As the potential outliers are removed with high probability, the robustness of
|
| 175 |
+
139 the estimation results will be enhanced. We denote such an estimated mean as ${ \tilde { \mu } } _ { h }$ . We have
|
| 176 |
+
|
| 177 |
+
$$
|
| 178 |
+
\tilde { \mu } _ { h } = \frac { 1 } { t - t _ { \mathrm { o } } } \sum _ { \ell _ { i } \in L _ { t - t _ { 0 } } } \ell _ { i } .
|
| 179 |
+
$$
|
| 180 |
+
|
| 181 |
+
140 The corresponding estimator (4) is termed the hard estimator.
|
| 182 |
+
|
| 183 |
+
141 We derive concentration inequalities for the soft and hard estimators respectively. The search strategy
|
| 184 |
+
142 for less selected examples and overall selection criterion are then provided. Note that we do not need
|
| 185 |
+
143 to explicitly quantify the mean of training losses. We only need to sort the training examples based
|
| 186 |
+
144 on the proposed selection criterion and then use the selected examples for robust training.
|
| 187 |
+
|
| 188 |
+
145 Theorem 1. Let $Z _ { n } = \{ z _ { 1 } , \cdots , z _ { n } \}$ be an observation set with mean $\mu _ { z }$ and variance $\sigma ^ { 2 }$ . By exploiting the non-decreasing influence function 46 $\psi ( z ) = \log ( 1 + z + z ^ { 2 } / 2 )$ . For any $\epsilon > 0$ , we have
|
| 189 |
+
|
| 190 |
+
$$
|
| 191 |
+
\left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \psi ( z _ { i } ) - \mu _ { z } \right| \leq \frac { \sigma ^ { 2 } ( n + \frac { \sigma ^ { 2 } \log ( \epsilon ^ { - 1 } ) } { n ^ { 2 } } ) } { n - \sigma ^ { 2 } } ,
|
| 192 |
+
$$
|
| 193 |
+
|
| 194 |
+
147 with probability at least $1 - 2 \epsilon$
|
| 195 |
+
|
| 196 |
+
148 Proof can be found in Appendix A.1.
|
| 197 |
+
|
| 198 |
+
149 Theorem 2. Let $Z _ { n } = \{ z _ { 1 } , \ldots , z _ { n } \}$ be a (not necessarily time homogeneous) Markov chain with
|
| 199 |
+
150 mean $\mu _ { z }$ , taking values in a Polish state space $\Lambda _ { 1 } \times \ldots \times \Lambda _ { n }$ , and with a minimal mixing time $\tau _ { \mathrm { m i n } }$ .
|
| 200 |
+
151 The truncated set with hard truncation is denoted by $Z _ { n _ { o } }$ , with $n _ { o } < n$ . If $| z _ { i } |$ is upper bounded by $Z$ .
|
| 201 |
+
152 For any $\epsilon _ { 1 } > 0$ and $\epsilon _ { 2 } > 0$ , we have
|
| 202 |
+
|
| 203 |
+
$$
|
| 204 |
+
\left| \frac { 1 } { n - n _ { o } } \sum _ { z _ { i } \in Z _ { n } \setminus Z _ { n _ { o } } } - \mu _ { z } \right| \leq \frac { 1 } { n - n _ { o } } \left( 2 Z \sqrt { 2 \tau _ { \mathrm { m i n } } \log \frac { 2 } { \epsilon _ { 1 } } } + \frac { 2 Z n _ { o } } { n } \sqrt { 2 \tau _ { \mathrm { m i n } } \log \frac { 2 n } { \epsilon _ { 2 } } } \right) ,
|
| 205 |
+
$$
|
| 206 |
+
|
| 207 |
+
153 with probability at least $1 - \epsilon _ { 1 } - \epsilon _ { 2 }$
|
| 208 |
+
|
| 209 |
+
154 Proof can be found in Appendix A.2. For our task, let the training loss be upper-bounded by $L$ . The
|
| 210 |
+
155 value of $L$ can be determined easily by training networks on noisy datasets and observing the loss
|
| 211 |
+
156 distribution [1].
|
| 212 |
+
157 Conservative search and selection criteria. In this paper, we will use the concentration inequalities
|
| 213 |
+
158 (5) and (6) to present conservative search and the overall sample selection criterion. Specifically,
|
| 214 |
+
159 we exploit their lower bounds and consider the selected number of examples during training. The
|
| 215 |
+
160 selection of the examples that are less selected is encouraged.
|
| 216 |
+
|
| 217 |
+
# Algorithm 1 CNLCU Algorithm.
|
| 218 |
+
|
| 219 |
+
1: Input $\theta _ { 1 }$ and $\theta _ { 2 }$ , learning rate $\eta$ , fixed $\tau$ , epoch $T _ { k }$ and $T _ { \mathrm { m a x } }$ , iteration $t _ { \mathrm { m a x } }$ ; for $T = 1 , 2 , \dots , T _ { \mathrm { m a x } }$ do
|
| 220 |
+
|
| 221 |
+
2: Shuffle training dataset $\tilde { S }$ ;
|
| 222 |
+
|
| 223 |
+
# end
|
| 224 |
+
|
| 225 |
+
8: Update $\begin{array} { r } { R ( T ) = 1 - \operatorname* { m i n } \left\{ \frac { T } { T _ { k } } \tau , \tau \right\} } \end{array}$
|
| 226 |
+
|
| 227 |
+
# end
|
| 228 |
+
|
| 229 |
+
9: Output $\theta _ { 1 }$ and $\theta _ { 2 }$
|
| 230 |
+
|
| 231 |
+
Denote the number of times one example was selected by 161 $n _ { t } ( n _ { t } ~ \leq ~ t )$ . Let $\begin{array} { r } { \epsilon = \frac { 1 } { 2 t } } \end{array}$ . For the 162 circumstance with soft truncation, the selection criterion is
|
| 232 |
+
|
| 233 |
+
$$
|
| 234 |
+
\ell _ { s } ^ { \star } = \tilde { \mu } _ { s } - \frac { \sigma ^ { 2 } ( t + \frac { \sigma ^ { 2 } \log ( 2 t ) } { t ^ { 2 } } ) } { n _ { t } - \sigma ^ { 2 } } .
|
| 235 |
+
$$
|
| 236 |
+
|
| 237 |
+
Let 163 $\begin{array} { r } { \epsilon _ { 1 } = \epsilon _ { 2 } = \frac { 1 } { 2 t } } \end{array}$ , for the situation with hard truncation, by rewriting (6), the selection criterion is
|
| 238 |
+
|
| 239 |
+
$$
|
| 240 |
+
\ell _ { h } ^ { \star } = \tilde { \mu } _ { h } - \frac { 2 \sqrt { 2 \tau _ { \mathrm { m i n } } } L ( t + \sqrt { 2 } t _ { \mathrm { o } } ) } { ( t - t _ { \mathrm { o } } ) \sqrt { t } } \sqrt { \frac { \log ( 4 t ) } { n _ { t } } } .
|
| 241 |
+
$$
|
| 242 |
+
|
| 243 |
+
164 Note that we directly replace $t$ with $n _ { t }$ . If an example is rarely selected during training, $n _ { t }$ will be far
|
| 244 |
+
165 less than $n$ , which causes the lower bounds to change drastically. Hence, we do not use the mean of
|
| 245 |
+
166 all training losses, but use the mean of training losses in fixed-length time intervals. More details
|
| 246 |
+
167 about this can be checked in Section 3.
|
| 247 |
+
168 For the selection criteria (7) and (8), we can see that they consist of two terms and have one term
|
| 248 |
+
169 with a minus sign. The first term in Eq. (7) (or Eq. (8)) is to reduce the uncertainty of small-loss
|
| 249 |
+
170 examples, where we use robust mean estimation on training losses. The second term, i.e., the
|
| 250 |
+
171 statistical confidence bound, is to encourage the network to choose the less selected examples (with a
|
| 251 |
+
172 small $n _ { t }$ ). The two terms are constraining and balanced with $\sigma ^ { 2 }$ or $\tau _ { \mathrm { m i n } }$ . To avoid introducing strong
|
| 252 |
+
173 assumptions on the underlying distribution of losses [8], we tune $\sigma$ and $\tau _ { \mathrm { m i n } }$ with a noisy validation
|
| 253 |
+
174 set. For the mislabeled data, although the model has high uncertainties on them (i.e., a small $n _ { t }$ )
|
| 254 |
+
175 and tends to pick them, the overfitting to the mislabeled data is harmful. Also, the mislabeled data
|
| 255 |
+
176 and clean data are rather hard to distinguish in some cases as discussed. Thus, we should search
|
| 256 |
+
177 underlying clean data in a conservative way. In this paper, we initialize $\sigma$ and $\tau _ { \mathrm { m i n } }$ with small values.
|
| 257 |
+
178 This way can reduce the adverse effects of mislabeled data and meanwhile select the clean examples
|
| 258 |
+
179 with large losses, which helps generalize. More evaluations will be presented in Section 3.
|
| 259 |
+
180 The overall procedure of the proposed method, which combats noisy labels by concerning uncertainty
|
| 260 |
+
181 (CNLCU), is provided in Algorithm 1. CNLCU works in a mini-batch manner since all deep learning
|
| 261 |
+
182 training methods are based on stochastic gradient descent. Following [12], we exploit two networks
|
| 262 |
+
183 with parameters $\theta _ { 1 }$ and $\theta _ { 2 }$ respectively to teach each other. Specifically, when a mini-batch $\bar { S }$ is
|
| 263 |
+
184 formed (Step 3), we let two networks select a small proportion of examples in this mini-batch with
|
| 264 |
+
185 Eq. (7) or (8) (Step 4 and Step 5). The number of instances is controlled by the function $R ( T )$ , and
|
| 265 |
+
186 two networks only select $R ( T )$ percentage of examples out of the mini-batch. The value of $R ( T )$
|
| 266 |
+
187 should be larger at the beginning of training, and be smaller when the number of epochs goes large,
|
| 267 |
+
188 which can make better use of memorization effects of deep networks [12] for sample selection. Then,
|
| 268 |
+
189 the selected instances are fed into its peer network for parameter updates (Step 6 and Step 7).
|
| 269 |
+
|
| 270 |
+
# 190 3 Experiments
|
| 271 |
+
|
| 272 |
+
191 In this section, we evaluate the robustness of our proposed method to noisy labels with comprehensive
|
| 273 |
+
192 experiments on the synthetic balanced noisy datasets (Section 3.1), synthetic imbalanced noisy
|
| 274 |
+
193 datasets (Section 3.2), and real-world noisy dataset (Section 3.3).
|
| 275 |
+
|
| 276 |
+
Datasets. We verify the effectiveness of our method on the manually corrupted version of the following datasets: MNIST [22], $F$ -MNIST [58], CIFAR-10 [21], and CIFAR-100 [21], because these datasets are popularly used for the evaluation of learning with noisy labels in the literature [12, 65, 54, 23]. The four datasets are class-balanced. The important statistics of the used synthetic datasets are summarized in Appendix B.1.
|
| 277 |
+
|
| 278 |
+
Generating noisy labels. We consider broad types of label noise: (1). Symmetric noise (abbreviated as Sym.) [53, 31, 26]. (2) Asymmetric noise (abbreviated as Asym.) [32, 57, 52]. (3) Pairflip noise (abbreviated as Pair.) [12, 65, 71]. (4). Tridiagonal noise (abbreviated as Trid.) [68]. (5). Instance noise (abbreviated as Ins.) [9, 56]. The noise rate is set to $20 \%$ and $40 \%$ to ensure clean labels are diagonally dominant [32]. More details about above noise are provided in Appendix B.1. We leave out $10 \%$ of noisy training examples as a validation set.
|
| 279 |
+
|
| 280 |
+
Baselines. We compare the proposed method (Algorithm 1) with following methods which focus on sample selection, and implement all methods with default parameters by PyTorch, and conduct all the experiments on NVIDIA Titan Xp GPUs. (1). S2E [62], which properly controls the sample selection process so that deep networks can better benefit from the memorization effects. (2). MentorNet [16], which learns a curriculum to filter out noisy data. We use self-paced MentorNet in this paper. (3). Co-teaching [12], which trains two networks simultaneously and cross-updates parameters of peer networks. (4). SIGUA [13], which exploits stochastic integrated gradient underweighted ascent to handle noisy labels. We use self-teaching SIGUA in this paper. (5). JoCor [52], which reduces the diversity of networks to improve robustness. Other types of baselines such as adding regularization are provided in Appendix B.2. Note that we do not compare the proposed method with some stateof-the-art methods, e.g., SELF [39] and DivideMix [24]. It is because their proposed methods are aggregations of multiple techniques. We mainly focus on sample selectionin in learning with noisy labels. Therefore, the comparison is not fair. Here, we term our methods with soft truncation and hard truncation as CNLCU-S and CNLCU-H respectively.
|
| 281 |
+
|
| 282 |
+
Network structure and optimizer. For MNIST, $F$ -MNIST, and CIFAR-10, we use a 9-layer CNN structure from [12]. Due to the limited space, the experimental details on CIFAR-100 are provided in Appendix B.3. All network structures we used here are standard test beds for weakly-supervised learning. For all experiments, the Adam optimizer [20] (momentum $_ { 1 = 0 . 9 }$ ) is used with an initial learning rate of 0.001, and the batch size is set to 128 and we run 200 epochs. We linearly decay learning rate to zero from 80 to 200 epochs as did in [12]. We take two networks with the same architecture but different initializations as two classifiers as did in [12, 65, 52], since even with the same network and optimization method, different initializations can lead to different local optimal [12]. The details of network structures can be checked in Appendix C.
|
| 283 |
+
|
| 284 |
+
For the hyper-parameters $\sigma ^ { 2 }$ and $\tau _ { \mathrm { m i n } }$ , we determine them in the range $\{ 1 0 ^ { - 1 } , 1 0 ^ { - 2 } , 1 0 ^ { - 3 } , 1 0 ^ { - 4 } \}$ with a noisy validation set. Here, we assume the noise level $\tau$ is known and set $R ( T ) = 1 -$ $\operatorname* { m i n } \{ \frac { T } { T _ { k } } \tau , \tau \}$ with ${ \mathit { T } } _ { k } { = } 1 0$ . If $\tau$ is not known in advanced, it can be inferred using validation sets [29, 66]. As for performance measurement, we use test accuracy, i.e., test accuracy $=$ (# of correct prediction) / (# of testing). All experiments are repeated five times. We report the mean and standard deviation of experimental results.
|
| 285 |
+
|
| 286 |
+
Experimental results. The experimental results about test accuracy are provided in Table 1, 2, and 3. Specifically, for MNIST, as can be seen, our proposed methods, i.e., CNLCU-S and CNLCU-H, produce the best results in the vast majority of cases. In some cases such as asymmetric noise, the baseline S2E outperforms ours, which benefits the accurate estimation for the number of selected small-loss examples. For $F$ -MNIST, the training data becomes complicated. S2E cannot achieve the accurate estimation in such situation and thus has no great performance like it got on MNIST. Our methods achieve varying degrees of lead over baselines. For CIFAR-10, our methods once again outperforms all the baseline methods. Although some baseline, e.g., Co-teaching, can work well in some cases, experimental results show that it cannot handle various noise types. In contrast, the proposed methods achieve superior robustness against broad noise types. The results mean that our methods can be better applied to actual scenarios, where the noise is diversiform.
|
| 287 |
+
|
| 288 |
+
46 Ablation study. We first conduct the ablation study to analyze the sensitivity of the length of time intervals. In order to avoid too dense figures, we exploit MNIST and $F$ -MNIST with the mentioned 8 noise settings as representative examples. For CNLCU-S, the length of time intervals is chosen in
|
| 289 |
+
|
| 290 |
+
<table><tr><td>Noise type</td><td colspan="2">Sym.</td><td colspan="2">Asym.</td><td colspan="2">Pair.</td><td colspan="2">Trid.</td><td colspan="2">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan="2">S2E</td><td>98.46</td><td>95.62</td><td>99.05</td><td>98.45</td><td>98.56</td><td>94.22</td><td>99.02</td><td>97.23</td><td>97.93</td><td>94.02</td></tr><tr><td>±0.06</td><td>±0.91</td><td>±0.02</td><td>±0.26</td><td>±0.32</td><td>±0.79</td><td>±0.09</td><td>±1.26</td><td>±1.26</td><td>±2.39</td></tr><tr><td rowspan="2">MentorNet</td><td>95.04</td><td>92.08</td><td>96.32</td><td>90.86</td><td>93.19</td><td>90.93</td><td>96.42</td><td>93.28</td><td>94.65</td><td>90.11</td></tr><tr><td>±0.03</td><td>±0.42</td><td>±0.17</td><td>±0.97</td><td>±0.17</td><td>±1.54</td><td>±0.09</td><td>±1.37</td><td>±0.73</td><td>±1.26</td></tr><tr><td rowspan="2">Co-teaching</td><td>97.53</td><td>95.62</td><td>98.25</td><td>95.08</td><td>96.05</td><td>94.16</td><td>98.05</td><td>96.18</td><td>97.96</td><td>95.02</td></tr><tr><td>±0.12</td><td>±0.30</td><td>±0.08</td><td>±0.43</td><td>±0.96</td><td>±1.37</td><td>±0.06</td><td>±0.85</td><td>±0.09</td><td>±0.39</td></tr><tr><td rowspan="2">SIGUA</td><td>92.31</td><td>91.88</td><td>93.96</td><td>62.59</td><td>93.77</td><td>86.22</td><td>94.92</td><td>83.46</td><td>92.90</td><td>86.34</td></tr><tr><td>±1.10</td><td>±0.92</td><td>±0.82</td><td>±0.15</td><td>±1.40</td><td>±1.75</td><td>±0.83</td><td>±2.98</td><td>±1.82</td><td>±3.51</td></tr><tr><td rowspan="2">JoCor</td><td>98.42</td><td>98.04</td><td>98.05</td><td>94.55</td><td>98.01</td><td>96.85</td><td>98.45</td><td>96.98</td><td>98.62</td><td>96.07</td></tr><tr><td>±0.14</td><td>±0.07</td><td>±0.37</td><td>±1.08</td><td>±0.19</td><td>±0.43</td><td>±0.17</td><td>±0.25</td><td>±0.06</td><td>±0.31</td></tr><tr><td rowspan="2">CNLCU-S</td><td>98.82</td><td>98.31</td><td>98.93</td><td>97.67</td><td>98.86</td><td>97.71</td><td>99.09</td><td>98.02</td><td>98.77</td><td>97.78</td></tr><tr><td>±0.03</td><td>士0.05</td><td>±0.06</td><td>±0.22</td><td>±0.06</td><td>±0.64</td><td>±0.04</td><td>±0.17</td><td>±0.08</td><td>±0.25</td></tr><tr><td rowspan="2">CNLCU-H</td><td>98.70</td><td>98.24</td><td>99.01 </td><td>98.01</td><td>98.44</td><td>97.37</td><td>98.89</td><td>97.92</td><td>98.74</td><td>97.42</td></tr><tr><td>±0.06</td><td>±0.06</td><td>±0.04</td><td>±0.03</td><td>±0.19</td><td>±0.32</td><td>±0.15</td><td>±0.05</td><td>±0.16</td><td>±0.39</td></tr></table>
|
| 291 |
+
|
| 292 |
+
Table 1: Test accuracy $( \% )$ on MNIST over the last ten epochs. The best two results are in bold.
|
| 293 |
+
|
| 294 |
+
<table><tr><td>Noise type</td><td colspan="2">Sym.</td><td colspan="2">Asym.</td><td colspan="2">Pair.</td><td colspan="2">Trid.</td><td colspan="2">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan="2">S2E</td><td>89.99</td><td>75.32</td><td>89.00</td><td>81.03</td><td>88.66</td><td>67.09</td><td>89.53</td><td>77.29</td><td>88.65</td><td>79.35</td></tr><tr><td>±2.07</td><td>±5.84</td><td>±0.95</td><td>±1.93</td><td>±1.32</td><td>±4.03</td><td>±2.63</td><td>±3.97</td><td>±2.12</td><td>±3.04</td></tr><tr><td rowspan="2">MentorNet</td><td>90.37</td><td>86.53</td><td>89.69</td><td>67.21</td><td>87.92</td><td>83.70</td><td>88.74</td><td>85.63</td><td>87.52</td><td>83.27</td></tr><tr><td>±0.17</td><td>士0.65</td><td>±0.19</td><td>±2.94</td><td>±1.08</td><td>±0.49</td><td>±0.33</td><td>±0.59</td><td>±0.15</td><td>±1.42</td></tr><tr><td rowspan="2">Co-teaching</td><td>91.48</td><td>88.80</td><td>91.03</td><td>68.07</td><td>90.77</td><td>86.91</td><td>91.24</td><td>89.18</td><td>90.60</td><td>87.90</td></tr><tr><td>±0.10</td><td>±0.29</td><td>±0.14</td><td>±4.58</td><td>±0.23</td><td>±0.71</td><td>±0.11</td><td>±0.36</td><td>±0.12</td><td>±0.45</td></tr><tr><td rowspan="2">SIGUA</td><td>87.64</td><td>87.23</td><td>76.97</td><td>45.96</td><td>69.59</td><td>68.93</td><td>79.97</td><td>76.14</td><td>76.92</td><td>74.89</td></tr><tr><td>±1.29</td><td>±0.72</td><td>±2.59</td><td>±3.40</td><td>±5.75</td><td>±2.80</td><td>±3.23</td><td>±4.24</td><td>±5.09</td><td>士4.84</td></tr><tr><td rowspan="2">JoCor</td><td>91.97</td><td>89.96</td><td>90.95</td><td>79.79</td><td>91.52</td><td>87.40</td><td>92.01</td><td>89.42</td><td>91.43</td><td>87.59</td></tr><tr><td>±0.13</td><td>±0.19</td><td>±0.21</td><td>±2.39</td><td>士0.24</td><td>±0.58</td><td>±0.17</td><td>士0.33</td><td>±0.71</td><td>±0.94</td></tr><tr><td rowspan="2">CNLCU-S</td><td>92.37</td><td>91.45</td><td>92.57</td><td>83.14</td><td>92.04</td><td>88.20</td><td>92.24</td><td>90.08</td><td>91.69</td><td>89.02</td></tr><tr><td>±0.15</td><td>±0.28</td><td>±0.15</td><td>±1.77</td><td>±0.26</td><td>±0.44</td><td>±0.17</td><td>±0.34</td><td>±0.10</td><td>±1.02</td></tr><tr><td rowspan="2">CNLCU-H</td><td>92.42</td><td>91.60</td><td>92.60</td><td>82.69</td><td>91.70</td><td>87.70</td><td>92.33</td><td>90.22</td><td>91.50</td><td>88.79</td></tr><tr><td>±0.21</td><td>±0.19</td><td>±0.18</td><td>±0.43</td><td>±0.18</td><td>±0.69</td><td>±0.26</td><td>±0.71</td><td>±0.21</td><td>±1.22</td></tr></table>
|
| 295 |
+
|
| 296 |
+
Table 2: Test accuracy on F-MNIST over the last ten epochs. The best two results are in bold.
|
| 297 |
+
|
| 298 |
+
249 the range from 3 to 8. For CNLCU-H, the length of time intervals is chosen in the range from 10 to
|
| 299 |
+
250 15. Note that the reason for their different lengths is that their different mechanisms. Specifically,
|
| 300 |
+
251 CNLCU-S holistically changes the behavior of losses, but does not remove any loss from the loss set.
|
| 301 |
+
252 We thus do not need too long length of time intervals. As a comparison, CNLCU-H needs to remove
|
| 302 |
+
253 some outliers from the loss set as discussed. The length should be longer to guarantee the number of
|
| 303 |
+
254 examples available for robust mean estimation. The experimental results are provided in Appendix
|
| 304 |
+
255 B.4, which show the proposed CNLCU-S and CNLCU-H are robust to the choices of the length of
|
| 305 |
+
256 time intervals. Such robustness to hyperparameters means our methods can be applied in practice and
|
| 306 |
+
257 does not need too much effect to tune the hyperparameters.
|
| 307 |
+
258 Furthermore, since our methods concern uncertainty from two aspects, i.e., the uncertainty from both
|
| 308 |
+
259 small-loss and large-loss examples, we conduct experiments to analyze each part of our methods.
|
| 309 |
+
260 Also, as mentioned, we compare robust mean estimation with non-robust mean estimation when
|
| 310 |
+
261 learning with noisy labels. More details are provided in Appendix B.4.
|
| 311 |
+
|
| 312 |
+
# 3.2 Experiments on Synthetic Imbalanced Noisy Datasets
|
| 313 |
+
|
| 314 |
+
Experimental setup. We exploit MNIST and $F$ -MNIST. For these two datasets, we reduce the number of training examples along with the labels from $\mathbf { \bar { \theta } } ^ { 6 } 0 ^ { 9 }$ to $" 4 > "$ to $1 \%$ of previous numbers. We term such synthetic imbalanced noisy datasets as IM-MNIST and IM-F-MNIST respectively. This setting aims to simulate the extremely imbalanced circumstance, which is common in practice. Moreover, we exploit asymmetric noise, since these types of noise can produce more imbalanced case [41, 32]. Other settings such as the network structure and optimizer are the same as those in experiments on synthetic balanced noisy datasets.
|
| 315 |
+
|
| 316 |
+
<table><tr><td>Noise type</td><td colspan="2">Sym.</td><td colspan="2">Asym.</td><td colspan="2">Pair.</td><td colspan="2">Trid.</td><td colspan="2">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan="2">S2E</td><td>80.78</td><td>69.72</td><td>84.03</td><td>75.04</td><td>81.72</td><td>61.50</td><td>81.44</td><td>64.39</td><td>79.89</td><td>62.42</td></tr><tr><td>±0.88</td><td>±3.94</td><td>±1.01</td><td>±1.24</td><td>±0.93</td><td>±4.63</td><td>±0.59</td><td>±2.82</td><td>±0.26</td><td>±3.11</td></tr><tr><td rowspan="2">MentorNet</td><td>80.92</td><td>74.67</td><td>80.37</td><td>71.69</td><td>77.98</td><td>69.39</td><td>78.02</td><td>71.56</td><td>77.02</td><td>68.17</td></tr><tr><td>±0.48</td><td>±1.17</td><td>±0.26</td><td>±1.06</td><td>±0.31</td><td>±1.73</td><td>±0.29</td><td>±0.93</td><td>±0.71</td><td>±2.52</td></tr><tr><td rowspan="2">Co-teaching</td><td>82.35</td><td>77.96</td><td>83.87</td><td>73.43</td><td>80.94</td><td>72.81</td><td>81.17</td><td>74.37</td><td>79.92</td><td>73.29</td></tr><tr><td>±0.16</td><td>±0.39</td><td>±0.24</td><td>±0.62</td><td>±0.46</td><td>±0.92</td><td>±0.60</td><td>士0.64</td><td>±0.57</td><td>±1.62</td></tr><tr><td rowspan="2">SIGUA</td><td>78.19</td><td>77.67</td><td>75.14</td><td>52.76</td><td>74.41</td><td>61.91</td><td>75.75</td><td>74.05</td><td>74.34</td><td>67.98</td></tr><tr><td>±0.22</td><td>±0.41</td><td>±0.36</td><td>±0.68</td><td>±0.81</td><td>±5.27</td><td>±0.53</td><td>±0.41</td><td>±0.39</td><td>±1.34</td></tr><tr><td rowspan="2">JoCor</td><td>80.96</td><td>76.65</td><td>81.39</td><td>69.92</td><td>80.33</td><td>71.62</td><td>79.03</td><td>74.33</td><td>78.21</td><td>71.46</td></tr><tr><td>±0.25</td><td>±0.43</td><td>±0.74</td><td>±1.63</td><td>±0.20</td><td>±1.05</td><td>±0.13</td><td>±1.09</td><td>±0.34</td><td>±1.27</td></tr><tr><td rowspan="2">CNLCU-S</td><td>83.03</td><td>78.25</td><td>85.06</td><td>75.34</td><td>83.16</td><td>73.19</td><td>82.77</td><td>74.37</td><td>82.03</td><td>73.67</td></tr><tr><td>±0.21</td><td>±0.70</td><td>±0.17</td><td>±0.32</td><td>±0.25</td><td>±1.25</td><td>±0.32</td><td>±1.37</td><td>士0.37</td><td>±1.09</td></tr><tr><td rowspan="2">CNLCU-H</td><td>83.03</td><td>78.33</td><td>84.95</td><td>75.29</td><td>83.39</td><td>73.40</td><td>82.52</td><td>74.79</td><td>-81.93</td><td>73.58</td></tr><tr><td>±0.47</td><td>±0.50</td><td>±0.27</td><td>±0.80</td><td>±0.68</td><td>±1.53</td><td>±0.71</td><td>±1.13</td><td>±0.25</td><td>±1.39</td></tr></table>
|
| 317 |
+
|
| 318 |
+
Table 3: Test accuracy $( \%$ ) on CIFAR-10 over the last ten epochs. The best two results are in bold.
|
| 319 |
+
|
| 320 |
+
270 As for performance measurements, we use test accuracy. In addition, we exploit the selected ratio of
|
| 321 |
+
271 training examples with the imbalanced classes, i.e., selected ratio=(# of selected imbalanced labels /
|
| 322 |
+
272 # of all selected labels). Intuitively, a higher selected ratio means the proposed method can make
|
| 323 |
+
273 better use of training examples with the imbalanced classes, following better generalization [18].
|
| 324 |
+
|
| 325 |
+
Experimental results. The test accuracy achieved on IM-MNIST and IM-F-MNIST is presented in Figure 2. Recall the experimental results in Table 1 and 2, we can see that the imbalanced issue is catastrophic to the sample selection approach when learning with noisy labels. For IM-MNIST, as can be seen, all the baselines have serious overfitting in the early stages of training. The curves of test accuracy drop dramatically. As a comparison, the proposed CNLCU-S and CNLCU-H can give a try to large-loss but less selected data which are possible to be clean but equipped with imbalanced labels. Therefore, our methods always outperform baselines clearly. In the case of Asym. $10 \%$ , our methods achieve nearly $30 \%$ lead over baselines. For IM-F-MNIST, we can also see that our methods perform well and always achieve about $5 \%$ lead over all the baselines. Note that due to the huge challenge of this task, some baseline, e.g., S2E, has a large error bar. In addition, the baseline SIGUA performs badly. It is because SIGUA exploits stochastic integrated gradient underweighted ascent on large-loss examples, which makes the examples with imbalanced classes more difficult to be selected than them in other sample selection methods.
|
| 326 |
+
|
| 327 |
+
The selected ratio achieved on IM-MNIST and IM-F-MNIST is presented in Table 4. The results explain well why our methods perform better on synthetic imbalanced noisy datasets, i.e., our methods can make better use of training examples with the imbalanced classes. Note that since we give a try to large-loss but less selected data in a conservative way, the selected ratio is still far away from the class prior probability on the test set, i.e., $10 \%$ . However, a little improvement of the selection ratio can bring a considerable improvement of test accuracy. These results tell us that, in the sample selection approach when learning with noisy labels, improving the selected ratio of training examples with the imbalanced classes is challenging but promising for generalization. This practical problem deserves to be studied in depth.
|
| 328 |
+
|
| 329 |
+
# 3.3 Experiments on Real-world Noisy Datasets
|
| 330 |
+
|
| 331 |
+
Experimental setup. To verify the efficacy of our methods in the real-world scenario, we conduct experiments on the noisy dataset Clothing1M [59]. Specifically, for experiments on Clothing1M, we use the 1M images with noisy labels for training and 10k clean data for test respectively. Note that we do not use the $5 0 \mathrm { k }$ clean training data in all the experiments. For preprocessing, we resize the image to $2 5 6 \times 2 5 6$ , crop the middle $2 2 4 \times 2 2 4$ as input, and perform normalization. The experiments on Clothing1M are performed once due to the huge computational cost. We leave $10 \%$ noisy training data as a validation set for model selection. Note that we do not exploit the resampling trick during training [24]. Here, Best denotes the test accuracy of the epoch where the validation accuracy was optimal. Last denotes test accuracy of the last epoch. For the experiments on Clothing1M, we use a ResNet-18 pretrained on ImageNet as did in [52]. We also use the Adam optimizer and set the batch size to 64. During the training stage, we run 15 epochs in total and set the learning rate $8 \times 1 0 ^ { - 4 }$ , $5 \times 1 0 ^ { - 4 }$ , and $5 \times 1 0 ^ { - 5 }$ for 5 epochs each.
|
| 332 |
+
|
| 333 |
+
<table><tr><td>Dataset</td><td colspan="4">IM-MNIST</td><td colspan="4">IM-F-MNIST</td></tr><tr><td>Method/Noiseratio</td><td>10%</td><td>20%</td><td>30%</td><td>40%</td><td>10%</td><td>20%</td><td>30%</td><td>40%</td></tr><tr><td>S2E</td><td>0.13 ±0.12</td><td>0.11 ±0.05</td><td>0.09 ±0.02</td><td>0.05 ±0.01</td><td>0.13 ±0.04</td><td>0.17 ±0.03</td><td>0.16 ±0.02</td><td>0.12 ±0.04</td></tr><tr><td>MentorNet</td><td>0.10 ±0.02</td><td>0.15 ±0.02</td><td>0.12 ±0.03</td><td>0.13 ±0.02</td><td>0.12 ±0.01</td><td>0.15 ±0.03</td><td>0.09 ±0.01</td><td>0.14 ±0.02</td></tr><tr><td>Co-teaching</td><td>0.09 ±0.03</td><td>0.07 ±0.02</td><td>0.05 ±0.01</td><td>0.12 ±0.01</td><td>0.17 ±0.05</td><td>0.04 ±0.00</td><td>0.13 ±0.04</td><td>0.07 ±0.01</td></tr><tr><td>SIGUA</td><td>0.04 ±0.00</td><td>0.04 ±0.00</td><td>0.01 ±0.00</td><td>0.02 ±0.00</td><td>0.03 ±0.00</td><td>0.02 ±0.00</td><td>0.04 ±0.00</td><td>0.00 ±0.00</td></tr><tr><td>JoCor</td><td>0.11 ±0.04</td><td>0.08 ±0.01</td><td>0.07 ±0.03</td><td>0.06 ±0.02</td><td>0.05 ±0.01</td><td>0.13 ±0.04</td><td>0.13 ±0.03</td><td>0.07 ±0.02</td></tr><tr><td>CNLCU-S</td><td>0.60 ±0.11</td><td>0.37 ±0.09</td><td>0.39 ±0.04</td><td>0.38 ±0.06</td><td>0.35 ±0.03</td><td>0.39 ±0.04</td><td>0.36 ±0.03</td><td>0.30 ±0.02</td></tr><tr><td>CNLCU-H</td><td>0.57 ±0.13</td><td>0.32 ±0.01</td><td>0.37 ±0.07</td><td>0.32' ±0.05</td><td>0.34 ±0.02</td><td>0.35 ±0.06</td><td>0.32</td><td>'0.28' ±0.03</td></tr></table>
|
| 334 |
+
|
| 335 |
+
Table 4: Selected ratio ( $\overline { { \mathcal { \vert } } }$ ) on IM-MNIST and IM-F-MNIST. The best two results are in bold.
|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
Figure 2: Test accuracy vs. number of epochs on IM-MNIST and IM- $F$ -MNIST. The error bar for standard deviation in each figure has been shaded.
|
| 339 |
+
|
| 340 |
+
309 Experimental results. The results on Clothing1M are provided in Table 5. Specifically, the proposed
|
| 341 |
+
310 methods get better results than state-of-the-art methods on Best, which achieve an improvement of
|
| 342 |
+
311 $+ 1 . 2 8 \%$ and $+ 0 . 9 9 \%$ over the best baseline JoCor. Likewise, the proposed methods outperform all the
|
| 343 |
+
312 baselines on Last. We achieve an improvement of $+ 1 . 0 1 \%$ and $+ 0 . 5 4 \%$ over JoCor. Note that the
|
| 344 |
+
313 results are a bit lower than some state-of-art methods, e.g., [64] and [46], because of the following
|
| 345 |
+
314 reasons. (1). We follow [52] and use ResNet-18 as a backbone. The state-of-art methods [64, 46]
|
| 346 |
+
315 use ResNet-50 as a backbone. Our aim is to make the experimental results directly comparable with
|
| 347 |
+
316 previous papers [52] in the same area. (2). We only focus on the sample selection approach and do
|
| 348 |
+
317 not employ other advanced techniques, e.g., introducing the prior distribution [46] and combining
|
| 349 |
+
semi-supervised learning [24, 39, 28].
|
| 350 |
+
|
| 351 |
+
<table><tr><td>Methods</td><td>S2E</td><td>MentorNet</td><td>Co-teaching</td><td>SIGUA</td><td>JoCor</td><td>CNLCU-S</td><td>CNLCU-H</td></tr><tr><td>Best</td><td>67.34</td><td>68.36</td><td>69.37</td><td>62.89</td><td>70.09</td><td>71.37</td><td>71.08</td></tr><tr><td>Last</td><td>65.90</td><td>67.42</td><td>68.62</td><td>58.73</td><td>69.75</td><td>70.76</td><td>70.29</td></tr></table>
|
| 352 |
+
|
| 353 |
+
Table 5: Test accuracy (%) on Clothing1M. The best two results are in bold.
|
| 354 |
+
|
| 355 |
+
# 318319 4 Conclusion
|
| 356 |
+
|
| 357 |
+
In this paper, we focus on promoting the prior sample selection in learning with noisy labels, which starts from concerning the uncertainty of losses during training. We robustly use the training losses at different iterations to reduce the uncertainty of small-loss examples, and adopt confidence interval estimation to reduce the uncertainty of large-loss examples. Experiments are conducted on benchmark datasets, demonstrating the effectiveness of our method. We believe that this paper opens up new possibilities in the topics of using sample selection to handle noisy labels, especially in improving the robustness of models on imbalanced noisy datasets.
|
| 358 |
+
|
| 359 |
+
References [1] Eric Arazo, Diego Ortego, Paul Albert, Noel O’Connor, and Kevin McGuinness. Unsupervised label noise modeling and loss correction. In ICML, pages 312–321, 2019. [2] Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In ICML, pages 233–242, 2017. [3] Peter Auer. Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research, 3(Nov):397–422, 2002. [4] Léon Bottou. Stochastic gradient descent tricks. In Neural networks: Tricks of the trade, pages 421–436. Springer, 2012. [5] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration inequalities: A nonasymptotic theory of independence. Oxford university press, 2013. [6] Markus M Breunig, Hans-Peter Kriegel, Raymond T $\mathrm { N g }$ , and Jörg Sander. Lof: identifying density-based local outliers. In SIGMOD, pages 93–104, 2000. [7] Olivier Catoni. Challenging the empirical mean and empirical variance: a deviation study. In Annales de l’IHP Probabilités et statistiques, volume 48, pages 1148–1185, 2012. [8] Arijit Chakrabarty and Gennady Samorodnitsky. Understanding heavy tails in a bounded world or, is a truncated heavy tail heavy or not? Stochastic models, 28(1):109–143, 2012. [9] Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance-and label-dependent label noise. In ICML, 2020. [10] Ilias Diakonikolas, Daniel M Kane, and Ankit Pensia. Outlier robust mean estimation with subgaussian rates via stability. arXiv preprint arXiv:2007.15618, 2020. [11] Bo Han, Jiangchao Yao, Gang Niu, Mingyuan Zhou, Ivor Tsang, Ya Zhang, and Masashi Sugiyama. Masking: A new perspective of noisy supervision. In NeurIPS, pages 5836–5846, 2018. [12] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pages 8527–8537, 2018.
|
| 360 |
+
355 [13] Bo Han, Gang Niu, Xingrui Yu, Quanming Yao, Miao Xu, Ivor Tsang, and Masashi Sugiyama. Sigua: Forgetting may make learning with noisy labels more robust. In ICML, pages 4006–4016, 2020. [14] Hrayr Harutyunyan, Kyle Reing, Greg Ver Steeg, and Aram Galstyan. Improving generalization by controlling label-noise information in neural network weights. In ICML, pages 4071–4081, 2020. [15] Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, 2018.
|
| 361 |
+
363 [16] Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML, pages 2309–2318, 2018. [17] Lu Jiang, Di Huang, Mason Liu, and Weilong Yang. Beyond synthetic noise: Deep learning on controlled noisy labels. In ICML, pages 4804–4815, 2020. [18] Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In ICLR, 2020. [19] Youngdong Kim, Junho Yim, Juseung Yun, and Junmo Kim. Nlnl: Negative learning for noisy labels. In ICCV, pages 101–110, 2019.
|
| 362 |
+
373 [20] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 363 |
+
375 [21] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009.
|
| 364 |
+
376 [22] Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/. [23] Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, and Jinwoo Shin. Robust inference via generative classifiers for handling noisy labels. In ICML, pages 3763–3772, 2019. [24] Junnan Li, Richard Socher, and Steven C.H. Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR, 2020. [25] Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In AISTATS, 2020. [26] Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. 2021. [27] Yihua Liao and V Rao Vemuri. Use of k-nearest neighbor classifier for intrusion detection. Computers & security, 21(5):439–448, 2002. [28] Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. Earlylearning regularization prevents memorization of noisy labels. In NeurIPS, 2020. [29] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on pattern analysis and machine intelligence, 38(3):447–461, 2016.
|
| 365 |
+
392 [30] Michal Lukasik, Srinadh Bhojanapalli, Aditya Menon, and Sanjiv Kumar. Does label smoothing mitigate label noise? In ICML, pages 6448–6458, 2020. [31] Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pages 3361–3370, 2018. [32] Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. In ICML, pages 6543–6553, 2020. [33] Eran Malach and Shai Shalev-Shwartz. Decoupling" when to update" from" how to update". In NeurIPS, pages 960–970, 2017.
|
| 366 |
+
402 [34] Aditya Krishna Menon, Brendan Van Rooyen, and Nagarajan Natarajan. Learning from binary labels with instance-dependent noise. Machine Learning, 107(8-10):1561–1595, 2018.
|
| 367 |
+
404 [35] Aditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain, Andreas Veit, and Sanjiv Kumar. Long-tail learning via logit adjustment. arXiv preprint arXiv:2007.07314, 2020. [36] Baharan Mirzasoleiman, Kaidi Cao, and Jure Leskovec. Coresets for robust training of neural networks against noisy labels. In NeurIPS, 2020. [37] David S Moore. Uncertainty. On the shoulders of giants: New approaches to numeracy, pages 95–137, 1990. [38] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pages 1196–1204, 2013.
|
| 368 |
+
413 [39] Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi Phuong Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. Self: Learning to filter noisy labels with selfensembling. In ICLR, 2020.
|
| 369 |
+
416 [40] Kento Nishi, Yi Ding, Alex Rich, and Tobias Höllerer. Augmentation strategies for learning with noisy labels. arXiv preprint arXiv:2103.02130, 2021.
|
| 370 |
+
418 [41] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. [42] Geoff Pleiss, Tianyi Zhang, Ethan R Elenberg, and Kilian Q Weinberger. Identifying mislabeled data using the area under the margin ranking. In NeurIPS, 2020.
|
| 371 |
+
23 [43] Jeffrey S Rosenthal. Faithful couplings of markov chains: now equals forever. Advances in Applied Mathematics, 18(3):372–381, 1997.
|
| 372 |
+
425 [44] Jun Shu, Qian Zhao, Zengben Xu, and Deyu Meng. Meta transition adaptation for robust deep learning with noisy labels. arXiv preprint arXiv:2006.05697, 2020.
|
| 373 |
+
27 [45] Mei-Ling Shyu, Shu-Ching Chen, Kanoksri Sarinnapakorn, and LiWu Chang. A novel anomaly detection scheme based on principal component classifier. Technical report, 2003.
|
| 374 |
+
429 [46] Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, 2018. [47] Kiran K Thekumparampil, Ashish Khetan, Zinan Lin, and Sewoong Oh. Robustness of conditional gans to noisy labels. In NeurIPS, pages 10271–10282, 2018.
|
| 375 |
+
33 [48] Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 2013.
|
| 376 |
+
435 [49] Qizhou Wang, Jiangchao Yao, Chen Gong, Tongliang Liu, Mingming Gong, Hongxia Yang, and Bo Han. Learning with group noise. In AAAI, 2021. [50] Xiaobo Wang, Shuo Wang, Jun Wang, Hailin Shi, and Tao Mei. Co-mining: Deep face recognition with noisy labels. In ICCV, pages 9358–9367, 2019.
|
| 377 |
+
439 [51] Yisen Wang, Weiyang Liu, Xingjun Ma, James Bailey, Hongyuan Zha, Le Song, and Shu-Tao Xia. Iterative learning with open-set noisy labels. In CVPR, pages 8688–8696, 2018. [52] Hongxin Wei, Lei Feng, Xiangyu Chen, and Bo An. Combating noisy labels by agreement: A joint training method with co-regularization. In CVPR, pages 13726–13735, 2020. [53] Pengxiang Wu, Songzhu Zheng, Mayank Goswami, Dimitris Metaxas, and Chao Chen. A topological filter for learning with label noise. In NeurIPS, 2020.
|
| 378 |
+
45 [54] Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A noise reduction perspective on learning with noisy labels. In ICML, 2021.
|
| 379 |
+
48 [55] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6835–6846, 2019.
|
| 380 |
+
51 [56] Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020.
|
| 381 |
+
454 [57] Xiaobo Xia, Tongliang Liu, Bo Han, Chen Gong, Nannan Wang, Zongyuan Ge, and Yi Chang. Robust early-learning: Hindering the memorization of noisy labels. In ICLR, 2021.
|
| 382 |
+
56 [58] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 383 |
+
458 [59] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691–2699, 2015. [60] Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L_dmi: A novel information-theoretic loss function for training deep nets robust to label noise. In NeurIPS, pages 6222–6233, 2019.
|
| 384 |
+
[61] Shuo Yang, Lu Liu, and Min Xu. Free lunch for few-shot learning: Distribution calibration. In ICLR, 2021.
|
| 385 |
+
[62] Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James Tin-Yau Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, pages 10789–10798, 2020.
|
| 386 |
+
[63] Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual t: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020.
|
| 387 |
+
[64] Kun Yi and Jianxin Wu. Probabilistic end-to-end noise correction for learning with noisy labels. In CVPR, pages 7017–7025, 2019.
|
| 388 |
+
[65] Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W Tsang, and Masashi Sugiyama. How does disagreement benefit co-teaching? In ICML, 2019.
|
| 389 |
+
[66] Xiyu Yu, Tongliang Liu, Mingming Gong, Kayhan Batmanghelich, and Dacheng Tao. An efficient and provable approach for mixture proportion estimation using linear independence assumption. In CVPR, pages 4480–4489, 2018.
|
| 390 |
+
[67] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017.
|
| 391 |
+
[68] Yivan Zhang, Gang Niu, and Masashi Sugiyama. Learning noise transition matrix from only noisy labels via total variation regularization. In ICML, 2021.
|
| 392 |
+
[69] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778–8788, 2018.
|
| 393 |
+
[70] Yue Zhao, Zain Nasrullah, and Zheng Li. Pyod: A python toolbox for scalable outlier detection. Journal of Machine Learning Research, 20(96):1–7, 2019.
|
| 394 |
+
[71] Songzhu Zheng, Pengxiang Wu, Aman Goswami, Mayank Goswami, Dimitris Metaxas, and Chao Chen. Error-bounded correction of noisy labels. In ICML, pages 11447–11457, 2020.
|
| 395 |
+
|
| 396 |
+
The checklist follows the references. Please read the checklist guidelines carefully for information on how to answer these questions. For each question, change the default [TODO] to [Yes] , [No] , or [N/A] . You are strongly encouraged to include a justification to your answer, either by referencing the appropriate section of your paper or providing a brief inline description. For example:
|
| 397 |
+
|
| 398 |
+
• Did you include the license to the code and datasets? [No] The code and the data are proprietary.
|
| 399 |
+
|
| 400 |
+
Please do not modify the questions and only use the provided macros for your answers. Note that the Checklist section does not count towards the page limit. In your paper, please delete this instructions block and only keep the Checklist section heading above along with the questions/answers below.
|
| 401 |
+
|
| 402 |
+
1. For all authors...
|
| 403 |
+
|
| 404 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 405 |
+
(b) Did you describe the limitations of your work? [Yes]
|
| 406 |
+
(c) Did you discuss any potential negative societal impacts of your work? [No]
|
| 407 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 408 |
+
|
| 409 |
+
2. If you are including theoretical results...
|
| 410 |
+
|
| 411 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes]
|
| 412 |
+
|
| 413 |
+
3. If you ran experiments...
|
| 414 |
+
|
| 415 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The code and instructions are provided in the supplemental material. The used datasets can be publicly downloaded. Besides, the code for generating noisy labels is provided.
|
| 416 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 3.
|
| 417 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See Section 3.1 and 3.2.
|
| 418 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See “Baselines” in Section 3.1.
|
| 419 |
+
|
| 420 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 421 |
+
|
| 422 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] We use MNIST, $F$ -MNIST, CIFAR-10, CIFAR-100, and Clothing1M in this paper. We cite the creators, which can be checked in Section 3.
|
| 423 |
+
(b) Did you mention the license of the assets? [N/A]
|
| 424 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
|
| 425 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 426 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 427 |
+
|
| 428 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 429 |
+
|
| 430 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 431 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 432 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/zGsRcuoR5-0/zGsRcuoR5-0_content_list.json
ADDED
|
@@ -0,0 +1,1186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Sample Selection with Uncertainty of Losses for Learning with Noisy Labels ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
232,
|
| 8 |
+
122,
|
| 9 |
+
766,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
578,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
318,
|
| 32 |
+
535,
|
| 33 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 In learning with noisy labels, the sample selection approach is very popular, which \n2 regards small-loss data as correctly labeled during training. However, losses are \n3 generated on-the-fly based on the model being trained with noisy labels, and thus \n4 large-loss data are likely but not certainly to be incorrect. There are actually \n5 two possibilities of a large-loss data point: (a) it is mislabeled, and then its loss \n6 decreases slower than other data, since deep neural networks “learn patterns first”; \n7 (b) it belongs to an underrepresented group of data and has not been selected yet. In \n8 this paper, we incorporate the uncertainty of losses by adopting interval estimation \n9 instead of point estimation of losses, where lower bounds of the confidence intervals \n10 of losses derived from distribution-free concentration inequalities, but not losses \n11 themselves, are used for sample selection. In this way, we also give large-loss but \n12 less selected data a try; then, we can better distinguish between the cases (a) and \n13 (b) by seeing if the losses effectively decrease with the uncertainty after the try. As \n14 a result, we can better explore underrepresented data that are correctly labeled but \n15 seem to be mislabeled at first glance. Experiments demonstrate that the proposed \n16 method is superior to baselines and robust to a broad range of label noise types. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
349,
|
| 43 |
+
766,
|
| 44 |
+
570
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "17 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
585,
|
| 55 |
+
312,
|
| 56 |
+
602
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "18 Learning with noisy labels is one of the most challenging problems in weakly-supervised learning, \n19 since noisy labels are ubiquitous in the real world [36, 65, 40, 1, 61]. For instance, both crowdsourcing \n20 and web crawling yield large numbers of noisy labels everyday [12]. Noisy labels can severely impair \n21 the performance of deep neural networks with strong memorization capacities [67, 69, 42, 30]. \n22 To reduce the influence of noisy labels, a lot of approaches have been recently proposed [38, 29, 31, \n23 68, 71, 55, 56, 46, 33, 25, 34, 47, 60, 49, 19, 17, 14]. They can be generally divided into two main \n24 categories. The first one is to estimate the noise transition matrix [41, 44, 15, 11], which denotes the \n25 probabilities that clean labels flip into noisy labels. However, the noise transition matrix is hard to be \n26 estimated accurately, especially when the number of classes is large [65]. The second approach is \n27 sample selection, which is our focus in this paper. This approach is based on selecting possibly clean \n28 examples from a mini-batch for training [12, 62, 50, 65, 23, 50, 51]. Intuitively, if we can exploit less \n29 noisy data for network parameter updates, the network will be more robust. \n30 A major question in sample selection is what criteria can be used to select possibly clean examples. \n31 At the present stage, the selection based on the small-loss criteria is the most common method, and \n32 has been verified to be effective in many circumstances [12, 16, 65, 52, 62]. Specifically, since \n33 deep networks learn patterns first [2], they would first memorize training data of clean labels and \n34 then those of noisy labels with the assumption that clean labels are of the majority in a noisy class. \n35 Small-loss examples can thus be regarded as clean examples with high probability. Therefore, in \n36 each iteration, prior methods [12, 52] select the small-loss examples based on the predictions of the \n37 current network for robust training. \n38 However, such a selection procedure is debatable, since it arguably does not consider uncertainty \n39 in selection. The uncertainty comes from two aspects. First, this procedure has uncertainty about \n40 small-loss examples. Specifically, the procedure uses limited time intervals and only exploits the \n41 losses provided by the current predictions. For this reason, the estimation for the noisy class posterior \n42 is unstable [63], which causes the network predictions to be equally unstable. It thus takes huge risks \n43 to only use losses provided by the current predictions (Figure 1, left). Once wrong selection is made, \n44 the inferiority of accumulated errors will arise [65]. Second, this procedure has uncertainty about \n45 large-loss examples. To be specific, deep networks learn easy examples at the beginning of training, \n46 but ignore some clean examples with large losses. Nevertheless, such examples are always critical for \n47 generalization. For instance, when learning with imbalanced data, distinguishing the examples with \n48 non-dominant labels are more pivotal during training [35]. Deep networks often give large losses to \n49 such examples (Figure 1, right). Therefore, when learning under the realistic scenes, e.g., learning \n50 with noisy imbalanced data, prior sample selection methods cannot address such an issue well. \n51 To relieve the above issues, we study the uncertainty of losses in the sample selection procedure to \n52 combat noisy labels. To reduce the uncertainty of small-loss examples, we extend time intervals and \n53 utilize the mean of training losses at different training iterations. In consideration of the bad influence \n54 of mislabeled data on training losses, we build two robust mean estimators from the perspectives of \n55 soft truncation and hard truncation w.r.t. the truncation level, respectively. Soft truncation makes the \n56 mean estimation more robust by holistically changing the behavior of losses. Hard truncation makes \n57 the mean estimation more robust by locally removing outliers from losses. To reduce the uncertainty \n58 of large-loss examples, we encourage networks to pick the sample that has not been selected in a \n59 conservative way. Furthermore, to address the two issues simultaneously, we derive concentration \n60 inequalities [5] for robust mean estimation and further employ statistical confidence bounds [3] to \n61 consider the number of times an example was selected during training. \n62 The study of uncertainty of losses in learning with noisy labels can be justified as follows. In statistical \n63 learning, it is known that uncertainty is related to the quality of data [48]. Philosophically, we need \n64 variety decrease for selected data and variety search for unselected data, which share a common \n65 objective, i.e., reduce the uncertainty of data to improve generalization [37]. This is our original \n66 intention, since noisy labels could bring more uncertainty because of the low quality of noisy data. \n67 Nevertheless, due to the harm of noisy labels for generalization, we need to strike a good balance \n68 between variety decrease and search. Technically, our method is specially designed for handling \n69 noisy labels, which robustly uses network predictions and conservatively seeks less selected examples \n70 meanwhile to reduce the uncertainty of losses and then generalize well. \n71 Before delving into details, we clearly emphasize our contributions in two folds. First, we reveal prior \n72 sample selection criteria in learning with noisy labels have some potential weaknesses and discuss \n73 them in detail. The new selection criteria are then proposed with detailed theoretical analyses. Second, \n74 we experimentally validate the proposed method on both synthetic noisy balanced/imbalanced datasets \n75 and real-world noisy datasets, on which it achieves superior robustness compared with the state \n76 of-the-art methods in learning with noisy labels. The rest of the paper is organized as follows. In \n77 Section 2, we propose our robust learning paradigm step by step. Experimental results are discussed \n78 in Section 3. The conclusion is given in Section 4. \n80 In this section, we first introduce the problem setting and some background (Section 2.1). Then we \n81 discuss how to exploit training losses at different iterations (Section 2.2). Finally, we introduce the \n82 proposed method, which exploits training losses at different iterations more robustly and encourages \n83 networks to pick the sample that is less selected but could be correctly labeled (Section 2.3). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
609,
|
| 66 |
+
825,
|
| 67 |
+
665
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
672,
|
| 77 |
+
825,
|
| 78 |
+
784
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
147,
|
| 87 |
+
789,
|
| 88 |
+
825,
|
| 89 |
+
900
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/6fa2f40d55f35e96d285db061a4328bb3951bb24a7112e73fcd38ba7e9bfc641.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Illustrations of uncertainty of losses. Experiments are conducted on the imbalanced noisy MNIST dataset. Left: uncertainty of small-loss examples. At the beginning of training (Epochs 1 and 2), due to the instability of the current prediction, the network gives a larger loss to the clean example and does not select it for updates. If we consider the mean of training losses at different epochs, the clean example can be equipped with a smaller loss and then selected for updates. Right: uncertainty of large-loss examples. Since the deep network learns easy examples at the beginning of training, it gives a large loss to clean imbalanced data with non-dominant labels, which causes such data unable to be selected and severely influence generalization. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
223,
|
| 102 |
+
102,
|
| 103 |
+
756,
|
| 104 |
+
210
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
145,
|
| 113 |
+
332,
|
| 114 |
+
825,
|
| 115 |
+
511
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
145,
|
| 124 |
+
517,
|
| 125 |
+
825,
|
| 126 |
+
670
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
145,
|
| 135 |
+
676,
|
| 136 |
+
825,
|
| 137 |
+
800
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "",
|
| 144 |
+
"bbox": [
|
| 145 |
+
147,
|
| 146 |
+
806,
|
| 147 |
+
825,
|
| 148 |
+
917
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "",
|
| 155 |
+
"bbox": [
|
| 156 |
+
147,
|
| 157 |
+
121,
|
| 158 |
+
825,
|
| 159 |
+
178
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 2
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "84 2.1 Preliminaries ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
156,
|
| 169 |
+
189,
|
| 170 |
+
307,
|
| 171 |
+
203
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "85 Let $\\mathcal { X }$ and $\\mathcal { V }$ be the input and output spaces. Consider a $k$ -class classification problem, i.e., $\\mathcal { V } = [ k ]$ , \n86 where $[ k ] = \\{ 1 , \\dots , k \\}$ . In learning with noisy labels, the training data are all sampled from a \n87 corrupted distribution on $\\mathcal { X } \\times \\mathcal { V }$ . We are given a sample with noisy labels, i.e., $\\tilde { S } = \\{ ( \\mathbf { x } , \\tilde { y } ) \\}$ , where \n88 $\\tilde { y }$ is the noisy label. The aim is to learn a robust classifier that could assign clean labels to test data by \n89 only exploiting a training sample with noisy labels. \n90 Let $f : \\mathcal { X } \\to \\mathbb { R } ^ { k }$ be the classifier with learnable parameters w. At the $i$ -th iteration during training, \n91 the parameters of the classifier $f$ can be denoted as $\\mathbf { w } _ { i }$ . Let $\\ell : \\mathbb { R } ^ { k } \\times \\mathcal { Y } \\mathbb { R }$ be a surrogate loss \n92 function for $k$ -class classification. We exploit the softmax cross entropy loss in this paper. Given an \n93 arbitrary training example $( \\mathbf { x } , \\tilde { y } )$ , at the $i$ -th iteration, we can obtain a loss $\\ell _ { i }$ , i.e., $\\ell _ { i } = \\ell ( f ( \\mathbf { w } _ { i } ; \\mathbf { x } ) , \\tilde { y } )$ \n94 Hence, until the $t$ -th iteration, we can obtain a training loss set $L _ { t }$ about the example $( \\mathbf { x } , \\tilde { y } )$ , i.e., \n95 $L _ { t } = \\{ \\ell _ { 1 } , \\ldots , \\ell _ { t } \\}$ . \n96 In this paper, we assume that the training losses in $L _ { t }$ conform to a Markov process, which is to \n97 represent a changing system under the assumption that future states only depend on the current state \n98 (the Markov property) [43]. More specifically, at the $i$ -th iteration, if we exploit an optimization \n99 algorithm for parameter updates (e.g., the stochastic gradient descent algorithm [4]) and omit other \n100 dependencies (e.g., $\\tilde { S }$ ), we will have $P ( \\mathbf { w } _ { i } | \\mathbf { w } _ { i - 1 } , \\ldots , \\mathbf { w } _ { 0 } ) = P ( \\mathbf { w } _ { i } | \\mathbf { w } _ { i - 1 } )$ , which means that the \n101 future state of the classifier $f$ only depends on the current state. Furthermore, given a training example \n102 and the parameters of the classifier $f$ , we can determine the loss of the training example as discussed. \n103 Therefore, the training losses in $L _ { t }$ will also conform to a Markov process. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
147,
|
| 180 |
+
214,
|
| 181 |
+
825,
|
| 182 |
+
286
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "",
|
| 189 |
+
"bbox": [
|
| 190 |
+
147,
|
| 191 |
+
292,
|
| 192 |
+
825,
|
| 193 |
+
377
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "",
|
| 200 |
+
"bbox": [
|
| 201 |
+
143,
|
| 202 |
+
382,
|
| 203 |
+
825,
|
| 204 |
+
496
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "2.2 Extended Time Intervals ",
|
| 211 |
+
"text_level": 1,
|
| 212 |
+
"bbox": [
|
| 213 |
+
168,
|
| 214 |
+
512,
|
| 215 |
+
383,
|
| 216 |
+
527
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "105 As limited time interval cannot address the instability issue of the estimation for the noisy class \n106 posterior well [42], we extend time intervals and exploit the training losses at different training \n107 iterations for sample selection. One straightforward idea is to use the mean of training losses at \n108 different training iterations. Hence, the selection criterion could be ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
142,
|
| 225 |
+
539,
|
| 226 |
+
825,
|
| 227 |
+
594
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "equation",
|
| 233 |
+
"img_path": "images/98584f5ee61327f7e84d31a204ed3e09e2027106e10eb1dafc03180672edb473.jpg",
|
| 234 |
+
"text": "$$\n\\tilde { \\mu } = \\frac { 1 } { t } \\sum _ { i = 1 } ^ { t } \\ell _ { i } .\n$$",
|
| 235 |
+
"text_format": "latex",
|
| 236 |
+
"bbox": [
|
| 237 |
+
452,
|
| 238 |
+
602,
|
| 239 |
+
545,
|
| 240 |
+
646
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "109 It is intuitive and reasonable to use such a selection criterion for sample selection, since the operation \n110 of averaging can mitigate the risks caused by the unstable estimation for the noisy class posterior, \n111 following better generalization. Nevertheless, such a method could arguably achieve suboptimal \n112 classification performance for learning with noisy labels. The main reason is that, due to the great \n113 harm of mislabeled data, part of training losses are with too large uncertainty and could be seen as \n114 outliers. Therefore, it could be biased to use the mean of training losses consisting of such outliers \n115 [10], which further influences sample selection. More evaluations for our claims are provided in \n116 Section 3. ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
140,
|
| 249 |
+
652,
|
| 250 |
+
825,
|
| 251 |
+
763
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "117 2.3 Robust Mean Estimation and Conservative Search ",
|
| 258 |
+
"text_level": 1,
|
| 259 |
+
"bbox": [
|
| 260 |
+
143,
|
| 261 |
+
781,
|
| 262 |
+
563,
|
| 263 |
+
796
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "118 We extend time intervals and meanwhile exploit the training losses at different training iterations more \n119 robustly. Specifically, we build two robust mean estimators from the perspectives of soft truncation \n120 and hard truncation [7]. Note that for specific tasks, it is feasible to decide the types of robust mean \n121 estimation with statistical tests based on some assumptions [8]. We leave the analysis as future work. \n122 Two distribution-free robust mean estimators are introduced as follows. \n123 Soft truncation. We extend a classical M-estimator from [7] and exploit the widest possible choice of \n124 the influence function. More specifically, give a random variable $X$ , let us consider a non-decreasing ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
140,
|
| 272 |
+
806,
|
| 273 |
+
825,
|
| 274 |
+
877
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "",
|
| 281 |
+
"bbox": [
|
| 282 |
+
147,
|
| 283 |
+
882,
|
| 284 |
+
825,
|
| 285 |
+
911
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "125 influence function $\\psi : \\mathbb { R } \\to \\mathbb { R }$ such that ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
143,
|
| 294 |
+
92,
|
| 295 |
+
439,
|
| 296 |
+
106
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 3
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "equation",
|
| 302 |
+
"img_path": "images/7e66459d120dc863a24c148784f8665dbef433a9ec1452812b16116115fc36a7.jpg",
|
| 303 |
+
"text": "$$\n\\psi ( X ) = \\log ( 1 + X + X ^ { 2 } / 2 ) , X \\geq 0 .\n$$",
|
| 304 |
+
"text_format": "latex",
|
| 305 |
+
"bbox": [
|
| 306 |
+
370,
|
| 307 |
+
111,
|
| 308 |
+
627,
|
| 309 |
+
131
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "126 The choice of $\\psi$ is inspired by the Taylor expansion of the exponential function, which can make the \n127 estimation results more robust by reducing the side effect of extremum holistically. The illustration \n128 for this influence function is provided in Appendix A.1. For our task, given the observations on \n129 training losses, i.e., $L _ { t } = \\{ \\ell _ { 1 } , \\ldots , \\ell _ { t } \\}$ , we estimate the mean robustly as follows: ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
140,
|
| 318 |
+
136,
|
| 319 |
+
825,
|
| 320 |
+
193
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "equation",
|
| 326 |
+
"img_path": "images/70f4615678ee8283411cfc4f659c0272d2e70888c7c7e7d2a476f8e294187879.jpg",
|
| 327 |
+
"text": "$$\n\\tilde { \\mu } _ { s } = \\frac { 1 } { t } \\sum _ { i = 1 } ^ { t } \\psi ( \\ell _ { i } ) .\n$$",
|
| 328 |
+
"text_format": "latex",
|
| 329 |
+
"bbox": [
|
| 330 |
+
436,
|
| 331 |
+
199,
|
| 332 |
+
562,
|
| 333 |
+
242
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "130 We term the above robust mean estimator (3) the soft estimator. ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
142,
|
| 342 |
+
247,
|
| 343 |
+
589,
|
| 344 |
+
263
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "131 Hard truncation. We propose a new robust mean estimator based on hard truncation. Specifically, \n132 given the observations on training losses $L _ { t }$ , we first exploit the $\\mathbf { K }$ -nearest neighbor (KNN) algorithm \n133 [27] to remove some underlying outliers in $L _ { t }$ . The number of outliers is denoted by $t _ { \\mathrm { o } } ( t _ { \\mathrm { o } } < t )$ , which \n134 can be adaptively determined as discussed in [70]. Note that we can also employ other algorithms, \n135 e.g., principal component analysis [45] and the local outlier factor [6], to identify underlying outliers \n136 in $L _ { t }$ . The main reason we employ KNN is because of its relatively low computation costs [70]. \n137 The truncated loss observations on training losses are denoted by $L _ { t - t _ { \\mathrm { o } } }$ . We then utilize $L _ { t - t _ { \\mathrm { o } } }$ for \n138 the mean estimation. As the potential outliers are removed with high probability, the robustness of \n139 the estimation results will be enhanced. We denote such an estimated mean as ${ \\tilde { \\mu } } _ { h }$ . We have ",
|
| 351 |
+
"bbox": [
|
| 352 |
+
140,
|
| 353 |
+
268,
|
| 354 |
+
826,
|
| 355 |
+
353
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "",
|
| 362 |
+
"bbox": [
|
| 363 |
+
142,
|
| 364 |
+
358,
|
| 365 |
+
825,
|
| 366 |
+
401
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "equation",
|
| 372 |
+
"img_path": "images/89db963e092b92f839b252fa226eff5ee2bae12f636d19210ae503a241b96bf2.jpg",
|
| 373 |
+
"text": "$$\n\\tilde { \\mu } _ { h } = \\frac { 1 } { t - t _ { \\mathrm { o } } } \\sum _ { \\ell _ { i } \\in L _ { t - t _ { 0 } } } \\ell _ { i } .\n$$",
|
| 374 |
+
"text_format": "latex",
|
| 375 |
+
"bbox": [
|
| 376 |
+
416,
|
| 377 |
+
406,
|
| 378 |
+
580,
|
| 379 |
+
446
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "140 The corresponding estimator (4) is termed the hard estimator. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
140,
|
| 388 |
+
452,
|
| 389 |
+
578,
|
| 390 |
+
468
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "141 We derive concentration inequalities for the soft and hard estimators respectively. The search strategy \n142 for less selected examples and overall selection criterion are then provided. Note that we do not need \n143 to explicitly quantify the mean of training losses. We only need to sort the training examples based \n144 on the proposed selection criterion and then use the selected examples for robust training. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
140,
|
| 399 |
+
473,
|
| 400 |
+
825,
|
| 401 |
+
530
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "145 Theorem 1. Let $Z _ { n } = \\{ z _ { 1 } , \\cdots , z _ { n } \\}$ be an observation set with mean $\\mu _ { z }$ and variance $\\sigma ^ { 2 }$ . By exploiting the non-decreasing influence function 46 $\\psi ( z ) = \\log ( 1 + z + z ^ { 2 } / 2 )$ . For any $\\epsilon > 0$ , we have ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
150,
|
| 410 |
+
534,
|
| 411 |
+
825,
|
| 412 |
+
564
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "equation",
|
| 418 |
+
"img_path": "images/eb13fd880f1ac2e46e8229e384cb6f5adc7c8acc7129df216a8c15999c1915ca.jpg",
|
| 419 |
+
"text": "$$\n\\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\psi ( z _ { i } ) - \\mu _ { z } \\right| \\leq \\frac { \\sigma ^ { 2 } ( n + \\frac { \\sigma ^ { 2 } \\log ( \\epsilon ^ { - 1 } ) } { n ^ { 2 } } ) } { n - \\sigma ^ { 2 } } ,\n$$",
|
| 420 |
+
"text_format": "latex",
|
| 421 |
+
"bbox": [
|
| 422 |
+
351,
|
| 423 |
+
569,
|
| 424 |
+
642,
|
| 425 |
+
613
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "147 with probability at least $1 - 2 \\epsilon$ ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
143,
|
| 434 |
+
619,
|
| 435 |
+
382,
|
| 436 |
+
633
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "148 Proof can be found in Appendix A.1. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
148,
|
| 445 |
+
643,
|
| 446 |
+
416,
|
| 447 |
+
659
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "149 Theorem 2. Let $Z _ { n } = \\{ z _ { 1 } , \\ldots , z _ { n } \\}$ be a (not necessarily time homogeneous) Markov chain with \n150 mean $\\mu _ { z }$ , taking values in a Polish state space $\\Lambda _ { 1 } \\times \\ldots \\times \\Lambda _ { n }$ , and with a minimal mixing time $\\tau _ { \\mathrm { m i n } }$ . \n151 The truncated set with hard truncation is denoted by $Z _ { n _ { o } }$ , with $n _ { o } < n$ . If $| z _ { i } |$ is upper bounded by $Z$ . \n152 For any $\\epsilon _ { 1 } > 0$ and $\\epsilon _ { 2 } > 0$ , we have ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
142,
|
| 456 |
+
662,
|
| 457 |
+
826,
|
| 458 |
+
719
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "equation",
|
| 464 |
+
"img_path": "images/f22e602a77e79c348f1c86637510a82ade2eca7476e81eaf952f47e8616e01e3.jpg",
|
| 465 |
+
"text": "$$\n\\left| \\frac { 1 } { n - n _ { o } } \\sum _ { z _ { i } \\in Z _ { n } \\setminus Z _ { n _ { o } } } - \\mu _ { z } \\right| \\leq \\frac { 1 } { n - n _ { o } } \\left( 2 Z \\sqrt { 2 \\tau _ { \\mathrm { m i n } } \\log \\frac { 2 } { \\epsilon _ { 1 } } } + \\frac { 2 Z n _ { o } } { n } \\sqrt { 2 \\tau _ { \\mathrm { m i n } } \\log \\frac { 2 n } { \\epsilon _ { 2 } } } \\right) ,\n$$",
|
| 466 |
+
"text_format": "latex",
|
| 467 |
+
"bbox": [
|
| 468 |
+
217,
|
| 469 |
+
726,
|
| 470 |
+
776,
|
| 471 |
+
776
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "153 with probability at least $1 - \\epsilon _ { 1 } - \\epsilon _ { 2 }$ ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
143,
|
| 480 |
+
781,
|
| 481 |
+
415,
|
| 482 |
+
796
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "154 Proof can be found in Appendix A.2. For our task, let the training loss be upper-bounded by $L$ . The \n155 value of $L$ can be determined easily by training networks on noisy datasets and observing the loss \n156 distribution [1]. \n157 Conservative search and selection criteria. In this paper, we will use the concentration inequalities \n158 (5) and (6) to present conservative search and the overall sample selection criterion. Specifically, \n159 we exploit their lower bounds and consider the selected number of examples during training. The \n160 selection of the examples that are less selected is encouraged. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
142,
|
| 491 |
+
806,
|
| 492 |
+
825,
|
| 493 |
+
849
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 3
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "",
|
| 500 |
+
"bbox": [
|
| 501 |
+
142,
|
| 502 |
+
854,
|
| 503 |
+
825,
|
| 504 |
+
912
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 3
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "Algorithm 1 CNLCU Algorithm. ",
|
| 511 |
+
"text_level": 1,
|
| 512 |
+
"bbox": [
|
| 513 |
+
173,
|
| 514 |
+
90,
|
| 515 |
+
395,
|
| 516 |
+
106
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "1: Input $\\theta _ { 1 }$ and $\\theta _ { 2 }$ , learning rate $\\eta$ , fixed $\\tau$ , epoch $T _ { k }$ and $T _ { \\mathrm { m a x } }$ , iteration $t _ { \\mathrm { m a x } }$ ; for $T = 1 , 2 , \\dots , T _ { \\mathrm { m a x } }$ do ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
174,
|
| 525 |
+
108,
|
| 526 |
+
692,
|
| 527 |
+
136
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "2: Shuffle training dataset $\\tilde { S }$ ; ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
199,
|
| 536 |
+
137,
|
| 537 |
+
392,
|
| 538 |
+
151
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "end ",
|
| 545 |
+
"text_level": 1,
|
| 546 |
+
"bbox": [
|
| 547 |
+
199,
|
| 548 |
+
244,
|
| 549 |
+
227,
|
| 550 |
+
255
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "8: Update $\\begin{array} { r } { R ( T ) = 1 - \\operatorname* { m i n } \\left\\{ \\frac { T } { T _ { k } } \\tau , \\tau \\right\\} } \\end{array}$ ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
199,
|
| 559 |
+
257,
|
| 560 |
+
459,
|
| 561 |
+
281
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "end ",
|
| 568 |
+
"text_level": 1,
|
| 569 |
+
"bbox": [
|
| 570 |
+
173,
|
| 571 |
+
282,
|
| 572 |
+
200,
|
| 573 |
+
294
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 4
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "9: Output $\\theta _ { 1 }$ and $\\theta _ { 2 }$ ",
|
| 580 |
+
"bbox": [
|
| 581 |
+
173,
|
| 582 |
+
295,
|
| 583 |
+
316,
|
| 584 |
+
309
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 4
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "Denote the number of times one example was selected by 161 $n _ { t } ( n _ { t } ~ \\leq ~ t )$ . Let $\\begin{array} { r } { \\epsilon = \\frac { 1 } { 2 t } } \\end{array}$ . For the 162 circumstance with soft truncation, the selection criterion is ",
|
| 591 |
+
"bbox": [
|
| 592 |
+
140,
|
| 593 |
+
333,
|
| 594 |
+
825,
|
| 595 |
+
362
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 4
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "equation",
|
| 601 |
+
"img_path": "images/c7e5f51a4c8a1c8dd8b6c0b0830b01e8342267fa940900798213bb73a8cc800e.jpg",
|
| 602 |
+
"text": "$$\n\\ell _ { s } ^ { \\star } = \\tilde { \\mu } _ { s } - \\frac { \\sigma ^ { 2 } ( t + \\frac { \\sigma ^ { 2 } \\log ( 2 t ) } { t ^ { 2 } } ) } { n _ { t } - \\sigma ^ { 2 } } .\n$$",
|
| 603 |
+
"text_format": "latex",
|
| 604 |
+
"bbox": [
|
| 605 |
+
398,
|
| 606 |
+
361,
|
| 607 |
+
598,
|
| 608 |
+
398
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 4
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "Let 163 $\\begin{array} { r } { \\epsilon _ { 1 } = \\epsilon _ { 2 } = \\frac { 1 } { 2 t } } \\end{array}$ , for the situation with hard truncation, by rewriting (6), the selection criterion is ",
|
| 615 |
+
"bbox": [
|
| 616 |
+
148,
|
| 617 |
+
401,
|
| 618 |
+
816,
|
| 619 |
+
416
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 4
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "equation",
|
| 625 |
+
"img_path": "images/d9e0e72952babc70de72b58eb168bf9c192b7a556f0830f75b753eef7e1114d5.jpg",
|
| 626 |
+
"text": "$$\n\\ell _ { h } ^ { \\star } = \\tilde { \\mu } _ { h } - \\frac { 2 \\sqrt { 2 \\tau _ { \\mathrm { m i n } } } L ( t + \\sqrt { 2 } t _ { \\mathrm { o } } ) } { ( t - t _ { \\mathrm { o } } ) \\sqrt { t } } \\sqrt { \\frac { \\log ( 4 t ) } { n _ { t } } } .\n$$",
|
| 627 |
+
"text_format": "latex",
|
| 628 |
+
"bbox": [
|
| 629 |
+
348,
|
| 630 |
+
417,
|
| 631 |
+
648,
|
| 632 |
+
459
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 4
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "164 Note that we directly replace $t$ with $n _ { t }$ . If an example is rarely selected during training, $n _ { t }$ will be far \n165 less than $n$ , which causes the lower bounds to change drastically. Hence, we do not use the mean of \n166 all training losses, but use the mean of training losses in fixed-length time intervals. More details \n167 about this can be checked in Section 3. \n168 For the selection criteria (7) and (8), we can see that they consist of two terms and have one term \n169 with a minus sign. The first term in Eq. (7) (or Eq. (8)) is to reduce the uncertainty of small-loss \n170 examples, where we use robust mean estimation on training losses. The second term, i.e., the \n171 statistical confidence bound, is to encourage the network to choose the less selected examples (with a \n172 small $n _ { t }$ ). The two terms are constraining and balanced with $\\sigma ^ { 2 }$ or $\\tau _ { \\mathrm { m i n } }$ . To avoid introducing strong \n173 assumptions on the underlying distribution of losses [8], we tune $\\sigma$ and $\\tau _ { \\mathrm { m i n } }$ with a noisy validation \n174 set. For the mislabeled data, although the model has high uncertainties on them (i.e., a small $n _ { t }$ ) \n175 and tends to pick them, the overfitting to the mislabeled data is harmful. Also, the mislabeled data \n176 and clean data are rather hard to distinguish in some cases as discussed. Thus, we should search \n177 underlying clean data in a conservative way. In this paper, we initialize $\\sigma$ and $\\tau _ { \\mathrm { m i n } }$ with small values. \n178 This way can reduce the adverse effects of mislabeled data and meanwhile select the clean examples \n179 with large losses, which helps generalize. More evaluations will be presented in Section 3. \n180 The overall procedure of the proposed method, which combats noisy labels by concerning uncertainty \n181 (CNLCU), is provided in Algorithm 1. CNLCU works in a mini-batch manner since all deep learning \n182 training methods are based on stochastic gradient descent. Following [12], we exploit two networks \n183 with parameters $\\theta _ { 1 }$ and $\\theta _ { 2 }$ respectively to teach each other. Specifically, when a mini-batch $\\bar { S }$ is \n184 formed (Step 3), we let two networks select a small proportion of examples in this mini-batch with \n185 Eq. (7) or (8) (Step 4 and Step 5). The number of instances is controlled by the function $R ( T )$ , and \n186 two networks only select $R ( T )$ percentage of examples out of the mini-batch. The value of $R ( T )$ \n187 should be larger at the beginning of training, and be smaller when the number of epochs goes large, \n188 which can make better use of memorization effects of deep networks [12] for sample selection. Then, \n189 the selected instances are fed into its peer network for parameter updates (Step 6 and Step 7). ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
142,
|
| 641 |
+
460,
|
| 642 |
+
825,
|
| 643 |
+
516
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 4
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "",
|
| 650 |
+
"bbox": [
|
| 651 |
+
140,
|
| 652 |
+
522,
|
| 653 |
+
825,
|
| 654 |
+
689
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 4
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "",
|
| 661 |
+
"bbox": [
|
| 662 |
+
140,
|
| 663 |
+
694,
|
| 664 |
+
825,
|
| 665 |
+
833
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 4
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "190 3 Experiments ",
|
| 672 |
+
"text_level": 1,
|
| 673 |
+
"bbox": [
|
| 674 |
+
151,
|
| 675 |
+
839,
|
| 676 |
+
312,
|
| 677 |
+
856
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 4
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "191 In this section, we evaluate the robustness of our proposed method to noisy labels with comprehensive \n192 experiments on the synthetic balanced noisy datasets (Section 3.1), synthetic imbalanced noisy \n193 datasets (Section 3.2), and real-world noisy dataset (Section 3.3). ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
142,
|
| 686 |
+
869,
|
| 687 |
+
823,
|
| 688 |
+
911
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Datasets. We verify the effectiveness of our method on the manually corrupted version of the following datasets: MNIST [22], $F$ -MNIST [58], CIFAR-10 [21], and CIFAR-100 [21], because these datasets are popularly used for the evaluation of learning with noisy labels in the literature [12, 65, 54, 23]. The four datasets are class-balanced. The important statistics of the used synthetic datasets are summarized in Appendix B.1. ",
|
| 695 |
+
"bbox": [
|
| 696 |
+
173,
|
| 697 |
+
122,
|
| 698 |
+
825,
|
| 699 |
+
191
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 5
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "Generating noisy labels. We consider broad types of label noise: (1). Symmetric noise (abbreviated as Sym.) [53, 31, 26]. (2) Asymmetric noise (abbreviated as Asym.) [32, 57, 52]. (3) Pairflip noise (abbreviated as Pair.) [12, 65, 71]. (4). Tridiagonal noise (abbreviated as Trid.) [68]. (5). Instance noise (abbreviated as Ins.) [9, 56]. The noise rate is set to $20 \\%$ and $40 \\%$ to ensure clean labels are diagonally dominant [32]. More details about above noise are provided in Appendix B.1. We leave out $10 \\%$ of noisy training examples as a validation set. ",
|
| 706 |
+
"bbox": [
|
| 707 |
+
173,
|
| 708 |
+
196,
|
| 709 |
+
825,
|
| 710 |
+
281
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 5
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "Baselines. We compare the proposed method (Algorithm 1) with following methods which focus on sample selection, and implement all methods with default parameters by PyTorch, and conduct all the experiments on NVIDIA Titan Xp GPUs. (1). S2E [62], which properly controls the sample selection process so that deep networks can better benefit from the memorization effects. (2). MentorNet [16], which learns a curriculum to filter out noisy data. We use self-paced MentorNet in this paper. (3). Co-teaching [12], which trains two networks simultaneously and cross-updates parameters of peer networks. (4). SIGUA [13], which exploits stochastic integrated gradient underweighted ascent to handle noisy labels. We use self-teaching SIGUA in this paper. (5). JoCor [52], which reduces the diversity of networks to improve robustness. Other types of baselines such as adding regularization are provided in Appendix B.2. Note that we do not compare the proposed method with some stateof-the-art methods, e.g., SELF [39] and DivideMix [24]. It is because their proposed methods are aggregations of multiple techniques. We mainly focus on sample selectionin in learning with noisy labels. Therefore, the comparison is not fair. Here, we term our methods with soft truncation and hard truncation as CNLCU-S and CNLCU-H respectively. ",
|
| 717 |
+
"bbox": [
|
| 718 |
+
173,
|
| 719 |
+
287,
|
| 720 |
+
825,
|
| 721 |
+
481
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 5
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "Network structure and optimizer. For MNIST, $F$ -MNIST, and CIFAR-10, we use a 9-layer CNN structure from [12]. Due to the limited space, the experimental details on CIFAR-100 are provided in Appendix B.3. All network structures we used here are standard test beds for weakly-supervised learning. For all experiments, the Adam optimizer [20] (momentum $_ { 1 = 0 . 9 }$ ) is used with an initial learning rate of 0.001, and the batch size is set to 128 and we run 200 epochs. We linearly decay learning rate to zero from 80 to 200 epochs as did in [12]. We take two networks with the same architecture but different initializations as two classifiers as did in [12, 65, 52], since even with the same network and optimization method, different initializations can lead to different local optimal [12]. The details of network structures can be checked in Appendix C. ",
|
| 728 |
+
"bbox": [
|
| 729 |
+
173,
|
| 730 |
+
487,
|
| 731 |
+
825,
|
| 732 |
+
612
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 5
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "For the hyper-parameters $\\sigma ^ { 2 }$ and $\\tau _ { \\mathrm { m i n } }$ , we determine them in the range $\\{ 1 0 ^ { - 1 } , 1 0 ^ { - 2 } , 1 0 ^ { - 3 } , 1 0 ^ { - 4 } \\}$ with a noisy validation set. Here, we assume the noise level $\\tau$ is known and set $R ( T ) = 1 -$ $\\operatorname* { m i n } \\{ \\frac { T } { T _ { k } } \\tau , \\tau \\}$ with ${ \\mathit { T } } _ { k } { = } 1 0$ . If $\\tau$ is not known in advanced, it can be inferred using validation sets [29, 66]. As for performance measurement, we use test accuracy, i.e., test accuracy $=$ (# of correct prediction) / (# of testing). All experiments are repeated five times. We report the mean and standard deviation of experimental results. ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
173,
|
| 741 |
+
617,
|
| 742 |
+
825,
|
| 743 |
+
704
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 5
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "Experimental results. The experimental results about test accuracy are provided in Table 1, 2, and 3. Specifically, for MNIST, as can be seen, our proposed methods, i.e., CNLCU-S and CNLCU-H, produce the best results in the vast majority of cases. In some cases such as asymmetric noise, the baseline S2E outperforms ours, which benefits the accurate estimation for the number of selected small-loss examples. For $F$ -MNIST, the training data becomes complicated. S2E cannot achieve the accurate estimation in such situation and thus has no great performance like it got on MNIST. Our methods achieve varying degrees of lead over baselines. For CIFAR-10, our methods once again outperforms all the baseline methods. Although some baseline, e.g., Co-teaching, can work well in some cases, experimental results show that it cannot handle various noise types. In contrast, the proposed methods achieve superior robustness against broad noise types. The results mean that our methods can be better applied to actual scenarios, where the noise is diversiform. ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
173,
|
| 752 |
+
710,
|
| 753 |
+
825,
|
| 754 |
+
863
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 5
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "46 Ablation study. We first conduct the ablation study to analyze the sensitivity of the length of time intervals. In order to avoid too dense figures, we exploit MNIST and $F$ -MNIST with the mentioned 8 noise settings as representative examples. For CNLCU-S, the length of time intervals is chosen in ",
|
| 761 |
+
"bbox": [
|
| 762 |
+
155,
|
| 763 |
+
869,
|
| 764 |
+
825,
|
| 765 |
+
911
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 5
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "table",
|
| 771 |
+
"img_path": "images/895798a95ea64e2cdc42ba9e4f7d93e51e478ab1f5586de91c522f4214b4d561.jpg",
|
| 772 |
+
"table_caption": [],
|
| 773 |
+
"table_footnote": [
|
| 774 |
+
"Table 1: Test accuracy $( \\% )$ on MNIST over the last ten epochs. The best two results are in bold. "
|
| 775 |
+
],
|
| 776 |
+
"table_body": "<table><tr><td>Noise type</td><td colspan=\"2\">Sym.</td><td colspan=\"2\">Asym.</td><td colspan=\"2\">Pair.</td><td colspan=\"2\">Trid.</td><td colspan=\"2\">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan=\"2\">S2E</td><td>98.46</td><td>95.62</td><td>99.05</td><td>98.45</td><td>98.56</td><td>94.22</td><td>99.02</td><td>97.23</td><td>97.93</td><td>94.02</td></tr><tr><td>±0.06</td><td>±0.91</td><td>±0.02</td><td>±0.26</td><td>±0.32</td><td>±0.79</td><td>±0.09</td><td>±1.26</td><td>±1.26</td><td>±2.39</td></tr><tr><td rowspan=\"2\">MentorNet</td><td>95.04</td><td>92.08</td><td>96.32</td><td>90.86</td><td>93.19</td><td>90.93</td><td>96.42</td><td>93.28</td><td>94.65</td><td>90.11</td></tr><tr><td>±0.03</td><td>±0.42</td><td>±0.17</td><td>±0.97</td><td>±0.17</td><td>±1.54</td><td>±0.09</td><td>±1.37</td><td>±0.73</td><td>±1.26</td></tr><tr><td rowspan=\"2\">Co-teaching</td><td>97.53</td><td>95.62</td><td>98.25</td><td>95.08</td><td>96.05</td><td>94.16</td><td>98.05</td><td>96.18</td><td>97.96</td><td>95.02</td></tr><tr><td>±0.12</td><td>±0.30</td><td>±0.08</td><td>±0.43</td><td>±0.96</td><td>±1.37</td><td>±0.06</td><td>±0.85</td><td>±0.09</td><td>±0.39</td></tr><tr><td rowspan=\"2\">SIGUA</td><td>92.31</td><td>91.88</td><td>93.96</td><td>62.59</td><td>93.77</td><td>86.22</td><td>94.92</td><td>83.46</td><td>92.90</td><td>86.34</td></tr><tr><td>±1.10</td><td>±0.92</td><td>±0.82</td><td>±0.15</td><td>±1.40</td><td>±1.75</td><td>±0.83</td><td>±2.98</td><td>±1.82</td><td>±3.51</td></tr><tr><td rowspan=\"2\">JoCor</td><td>98.42</td><td>98.04</td><td>98.05</td><td>94.55</td><td>98.01</td><td>96.85</td><td>98.45</td><td>96.98</td><td>98.62</td><td>96.07</td></tr><tr><td>±0.14</td><td>±0.07</td><td>±0.37</td><td>±1.08</td><td>±0.19</td><td>±0.43</td><td>±0.17</td><td>±0.25</td><td>±0.06</td><td>±0.31</td></tr><tr><td rowspan=\"2\">CNLCU-S</td><td>98.82</td><td>98.31</td><td>98.93</td><td>97.67</td><td>98.86</td><td>97.71</td><td>99.09</td><td>98.02</td><td>98.77</td><td>97.78</td></tr><tr><td>±0.03</td><td>士0.05</td><td>±0.06</td><td>±0.22</td><td>±0.06</td><td>±0.64</td><td>±0.04</td><td>±0.17</td><td>±0.08</td><td>±0.25</td></tr><tr><td rowspan=\"2\">CNLCU-H</td><td>98.70</td><td>98.24</td><td>99.01 </td><td>98.01</td><td>98.44</td><td>97.37</td><td>98.89</td><td>97.92</td><td>98.74</td><td>97.42</td></tr><tr><td>±0.06</td><td>±0.06</td><td>±0.04</td><td>±0.03</td><td>±0.19</td><td>±0.32</td><td>±0.15</td><td>±0.05</td><td>±0.16</td><td>±0.39</td></tr></table>",
|
| 777 |
+
"bbox": [
|
| 778 |
+
173,
|
| 779 |
+
89,
|
| 780 |
+
839,
|
| 781 |
+
297
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 6
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "table",
|
| 787 |
+
"img_path": "images/73d7ee7e851e8c2253b868fdf7e293133b1a1c0e4fde21897b77a9bd783cd19d.jpg",
|
| 788 |
+
"table_caption": [],
|
| 789 |
+
"table_footnote": [
|
| 790 |
+
"Table 2: Test accuracy on F-MNIST over the last ten epochs. The best two results are in bold. "
|
| 791 |
+
],
|
| 792 |
+
"table_body": "<table><tr><td>Noise type</td><td colspan=\"2\">Sym.</td><td colspan=\"2\">Asym.</td><td colspan=\"2\">Pair.</td><td colspan=\"2\">Trid.</td><td colspan=\"2\">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan=\"2\">S2E</td><td>89.99</td><td>75.32</td><td>89.00</td><td>81.03</td><td>88.66</td><td>67.09</td><td>89.53</td><td>77.29</td><td>88.65</td><td>79.35</td></tr><tr><td>±2.07</td><td>±5.84</td><td>±0.95</td><td>±1.93</td><td>±1.32</td><td>±4.03</td><td>±2.63</td><td>±3.97</td><td>±2.12</td><td>±3.04</td></tr><tr><td rowspan=\"2\">MentorNet</td><td>90.37</td><td>86.53</td><td>89.69</td><td>67.21</td><td>87.92</td><td>83.70</td><td>88.74</td><td>85.63</td><td>87.52</td><td>83.27</td></tr><tr><td>±0.17</td><td>士0.65</td><td>±0.19</td><td>±2.94</td><td>±1.08</td><td>±0.49</td><td>±0.33</td><td>±0.59</td><td>±0.15</td><td>±1.42</td></tr><tr><td rowspan=\"2\">Co-teaching</td><td>91.48</td><td>88.80</td><td>91.03</td><td>68.07</td><td>90.77</td><td>86.91</td><td>91.24</td><td>89.18</td><td>90.60</td><td>87.90</td></tr><tr><td>±0.10</td><td>±0.29</td><td>±0.14</td><td>±4.58</td><td>±0.23</td><td>±0.71</td><td>±0.11</td><td>±0.36</td><td>±0.12</td><td>±0.45</td></tr><tr><td rowspan=\"2\">SIGUA</td><td>87.64</td><td>87.23</td><td>76.97</td><td>45.96</td><td>69.59</td><td>68.93</td><td>79.97</td><td>76.14</td><td>76.92</td><td>74.89</td></tr><tr><td>±1.29</td><td>±0.72</td><td>±2.59</td><td>±3.40</td><td>±5.75</td><td>±2.80</td><td>±3.23</td><td>±4.24</td><td>±5.09</td><td>士4.84</td></tr><tr><td rowspan=\"2\">JoCor</td><td>91.97</td><td>89.96</td><td>90.95</td><td>79.79</td><td>91.52</td><td>87.40</td><td>92.01</td><td>89.42</td><td>91.43</td><td>87.59</td></tr><tr><td>±0.13</td><td>±0.19</td><td>±0.21</td><td>±2.39</td><td>士0.24</td><td>±0.58</td><td>±0.17</td><td>士0.33</td><td>±0.71</td><td>±0.94</td></tr><tr><td rowspan=\"2\">CNLCU-S</td><td>92.37</td><td>91.45</td><td>92.57</td><td>83.14</td><td>92.04</td><td>88.20</td><td>92.24</td><td>90.08</td><td>91.69</td><td>89.02</td></tr><tr><td>±0.15</td><td>±0.28</td><td>±0.15</td><td>±1.77</td><td>±0.26</td><td>±0.44</td><td>±0.17</td><td>±0.34</td><td>±0.10</td><td>±1.02</td></tr><tr><td rowspan=\"2\">CNLCU-H</td><td>92.42</td><td>91.60</td><td>92.60</td><td>82.69</td><td>91.70</td><td>87.70</td><td>92.33</td><td>90.22</td><td>91.50</td><td>88.79</td></tr><tr><td>±0.21</td><td>±0.19</td><td>±0.18</td><td>±0.43</td><td>±0.18</td><td>±0.69</td><td>±0.26</td><td>±0.71</td><td>±0.21</td><td>±1.22</td></tr></table>",
|
| 793 |
+
"bbox": [
|
| 794 |
+
173,
|
| 795 |
+
325,
|
| 796 |
+
839,
|
| 797 |
+
534
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 6
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "249 the range from 3 to 8. For CNLCU-H, the length of time intervals is chosen in the range from 10 to \n250 15. Note that the reason for their different lengths is that their different mechanisms. Specifically, \n251 CNLCU-S holistically changes the behavior of losses, but does not remove any loss from the loss set. \n252 We thus do not need too long length of time intervals. As a comparison, CNLCU-H needs to remove \n253 some outliers from the loss set as discussed. The length should be longer to guarantee the number of \n254 examples available for robust mean estimation. The experimental results are provided in Appendix \n255 B.4, which show the proposed CNLCU-S and CNLCU-H are robust to the choices of the length of \n256 time intervals. Such robustness to hyperparameters means our methods can be applied in practice and \n257 does not need too much effect to tune the hyperparameters. \n258 Furthermore, since our methods concern uncertainty from two aspects, i.e., the uncertainty from both \n259 small-loss and large-loss examples, we conduct experiments to analyze each part of our methods. \n260 Also, as mentioned, we compare robust mean estimation with non-robust mean estimation when \n261 learning with noisy labels. More details are provided in Appendix B.4. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
142,
|
| 806 |
+
580,
|
| 807 |
+
825,
|
| 808 |
+
705
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "",
|
| 815 |
+
"bbox": [
|
| 816 |
+
142,
|
| 817 |
+
712,
|
| 818 |
+
825,
|
| 819 |
+
767
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 6
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "3.2 Experiments on Synthetic Imbalanced Noisy Datasets ",
|
| 826 |
+
"text_level": 1,
|
| 827 |
+
"bbox": [
|
| 828 |
+
165,
|
| 829 |
+
786,
|
| 830 |
+
583,
|
| 831 |
+
801
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 6
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "Experimental setup. We exploit MNIST and $F$ -MNIST. For these two datasets, we reduce the number of training examples along with the labels from $\\mathbf { \\bar { \\theta } } ^ { 6 } 0 ^ { 9 }$ to $\" 4 > \"$ to $1 \\%$ of previous numbers. We term such synthetic imbalanced noisy datasets as IM-MNIST and IM-F-MNIST respectively. This setting aims to simulate the extremely imbalanced circumstance, which is common in practice. Moreover, we exploit asymmetric noise, since these types of noise can produce more imbalanced case [41, 32]. Other settings such as the network structure and optimizer are the same as those in experiments on synthetic balanced noisy datasets. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
173,
|
| 840 |
+
814,
|
| 841 |
+
825,
|
| 842 |
+
911
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 6
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "table",
|
| 848 |
+
"img_path": "images/2353673c1904139182aa171853551168be1af9601ecaa55377f1888914e8b5b2.jpg",
|
| 849 |
+
"table_caption": [],
|
| 850 |
+
"table_footnote": [
|
| 851 |
+
"Table 3: Test accuracy $( \\%$ ) on CIFAR-10 over the last ten epochs. The best two results are in bold. "
|
| 852 |
+
],
|
| 853 |
+
"table_body": "<table><tr><td>Noise type</td><td colspan=\"2\">Sym.</td><td colspan=\"2\">Asym.</td><td colspan=\"2\">Pair.</td><td colspan=\"2\">Trid.</td><td colspan=\"2\">Ins.</td></tr><tr><td>Method/Noise ratio</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td><td>20%</td><td>40%</td></tr><tr><td rowspan=\"2\">S2E</td><td>80.78</td><td>69.72</td><td>84.03</td><td>75.04</td><td>81.72</td><td>61.50</td><td>81.44</td><td>64.39</td><td>79.89</td><td>62.42</td></tr><tr><td>±0.88</td><td>±3.94</td><td>±1.01</td><td>±1.24</td><td>±0.93</td><td>±4.63</td><td>±0.59</td><td>±2.82</td><td>±0.26</td><td>±3.11</td></tr><tr><td rowspan=\"2\">MentorNet</td><td>80.92</td><td>74.67</td><td>80.37</td><td>71.69</td><td>77.98</td><td>69.39</td><td>78.02</td><td>71.56</td><td>77.02</td><td>68.17</td></tr><tr><td>±0.48</td><td>±1.17</td><td>±0.26</td><td>±1.06</td><td>±0.31</td><td>±1.73</td><td>±0.29</td><td>±0.93</td><td>±0.71</td><td>±2.52</td></tr><tr><td rowspan=\"2\">Co-teaching</td><td>82.35</td><td>77.96</td><td>83.87</td><td>73.43</td><td>80.94</td><td>72.81</td><td>81.17</td><td>74.37</td><td>79.92</td><td>73.29</td></tr><tr><td>±0.16</td><td>±0.39</td><td>±0.24</td><td>±0.62</td><td>±0.46</td><td>±0.92</td><td>±0.60</td><td>士0.64</td><td>±0.57</td><td>±1.62</td></tr><tr><td rowspan=\"2\">SIGUA</td><td>78.19</td><td>77.67</td><td>75.14</td><td>52.76</td><td>74.41</td><td>61.91</td><td>75.75</td><td>74.05</td><td>74.34</td><td>67.98</td></tr><tr><td>±0.22</td><td>±0.41</td><td>±0.36</td><td>±0.68</td><td>±0.81</td><td>±5.27</td><td>±0.53</td><td>±0.41</td><td>±0.39</td><td>±1.34</td></tr><tr><td rowspan=\"2\">JoCor</td><td>80.96</td><td>76.65</td><td>81.39</td><td>69.92</td><td>80.33</td><td>71.62</td><td>79.03</td><td>74.33</td><td>78.21</td><td>71.46</td></tr><tr><td>±0.25</td><td>±0.43</td><td>±0.74</td><td>±1.63</td><td>±0.20</td><td>±1.05</td><td>±0.13</td><td>±1.09</td><td>±0.34</td><td>±1.27</td></tr><tr><td rowspan=\"2\">CNLCU-S</td><td>83.03</td><td>78.25</td><td>85.06</td><td>75.34</td><td>83.16</td><td>73.19</td><td>82.77</td><td>74.37</td><td>82.03</td><td>73.67</td></tr><tr><td>±0.21</td><td>±0.70</td><td>±0.17</td><td>±0.32</td><td>±0.25</td><td>±1.25</td><td>±0.32</td><td>±1.37</td><td>士0.37</td><td>±1.09</td></tr><tr><td rowspan=\"2\">CNLCU-H</td><td>83.03</td><td>78.33</td><td>84.95</td><td>75.29</td><td>83.39</td><td>73.40</td><td>82.52</td><td>74.79</td><td>-81.93</td><td>73.58</td></tr><tr><td>±0.47</td><td>±0.50</td><td>±0.27</td><td>±0.80</td><td>±0.68</td><td>±1.53</td><td>±0.71</td><td>±1.13</td><td>±0.25</td><td>±1.39</td></tr></table>",
|
| 854 |
+
"bbox": [
|
| 855 |
+
171,
|
| 856 |
+
89,
|
| 857 |
+
839,
|
| 858 |
+
297
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 7
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "270 As for performance measurements, we use test accuracy. In addition, we exploit the selected ratio of \n271 training examples with the imbalanced classes, i.e., selected ratio=(# of selected imbalanced labels / \n272 # of all selected labels). Intuitively, a higher selected ratio means the proposed method can make \n273 better use of training examples with the imbalanced classes, following better generalization [18]. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
142,
|
| 867 |
+
342,
|
| 868 |
+
826,
|
| 869 |
+
397
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "Experimental results. The test accuracy achieved on IM-MNIST and IM-F-MNIST is presented in Figure 2. Recall the experimental results in Table 1 and 2, we can see that the imbalanced issue is catastrophic to the sample selection approach when learning with noisy labels. For IM-MNIST, as can be seen, all the baselines have serious overfitting in the early stages of training. The curves of test accuracy drop dramatically. As a comparison, the proposed CNLCU-S and CNLCU-H can give a try to large-loss but less selected data which are possible to be clean but equipped with imbalanced labels. Therefore, our methods always outperform baselines clearly. In the case of Asym. $10 \\%$ , our methods achieve nearly $30 \\%$ lead over baselines. For IM-F-MNIST, we can also see that our methods perform well and always achieve about $5 \\%$ lead over all the baselines. Note that due to the huge challenge of this task, some baseline, e.g., S2E, has a large error bar. In addition, the baseline SIGUA performs badly. It is because SIGUA exploits stochastic integrated gradient underweighted ascent on large-loss examples, which makes the examples with imbalanced classes more difficult to be selected than them in other sample selection methods. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
173,
|
| 878 |
+
404,
|
| 879 |
+
825,
|
| 880 |
+
583
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 7
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "The selected ratio achieved on IM-MNIST and IM-F-MNIST is presented in Table 4. The results explain well why our methods perform better on synthetic imbalanced noisy datasets, i.e., our methods can make better use of training examples with the imbalanced classes. Note that since we give a try to large-loss but less selected data in a conservative way, the selected ratio is still far away from the class prior probability on the test set, i.e., $10 \\%$ . However, a little improvement of the selection ratio can bring a considerable improvement of test accuracy. These results tell us that, in the sample selection approach when learning with noisy labels, improving the selected ratio of training examples with the imbalanced classes is challenging but promising for generalization. This practical problem deserves to be studied in depth. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
173,
|
| 889 |
+
589,
|
| 890 |
+
825,
|
| 891 |
+
714
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "3.3 Experiments on Real-world Noisy Datasets ",
|
| 898 |
+
"text_level": 1,
|
| 899 |
+
"bbox": [
|
| 900 |
+
176,
|
| 901 |
+
719,
|
| 902 |
+
509,
|
| 903 |
+
734
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 7
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "Experimental setup. To verify the efficacy of our methods in the real-world scenario, we conduct experiments on the noisy dataset Clothing1M [59]. Specifically, for experiments on Clothing1M, we use the 1M images with noisy labels for training and 10k clean data for test respectively. Note that we do not use the $5 0 \\mathrm { k }$ clean training data in all the experiments. For preprocessing, we resize the image to $2 5 6 \\times 2 5 6$ , crop the middle $2 2 4 \\times 2 2 4$ as input, and perform normalization. The experiments on Clothing1M are performed once due to the huge computational cost. We leave $10 \\%$ noisy training data as a validation set for model selection. Note that we do not exploit the resampling trick during training [24]. Here, Best denotes the test accuracy of the epoch where the validation accuracy was optimal. Last denotes test accuracy of the last epoch. For the experiments on Clothing1M, we use a ResNet-18 pretrained on ImageNet as did in [52]. We also use the Adam optimizer and set the batch size to 64. During the training stage, we run 15 epochs in total and set the learning rate $8 \\times 1 0 ^ { - 4 }$ , $5 \\times 1 0 ^ { - 4 }$ , and $5 \\times 1 0 ^ { - 5 }$ for 5 epochs each. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
173,
|
| 912 |
+
746,
|
| 913 |
+
825,
|
| 914 |
+
911
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 7
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "table",
|
| 920 |
+
"img_path": "images/6925d2facdb457312d19d1d209ebe716665ed9e1bc31dc71fb00eb850a0c203b.jpg",
|
| 921 |
+
"table_caption": [],
|
| 922 |
+
"table_footnote": [
|
| 923 |
+
"Table 4: Selected ratio ( $\\overline { { \\mathcal { \\vert } } }$ ) on IM-MNIST and IM-F-MNIST. The best two results are in bold. "
|
| 924 |
+
],
|
| 925 |
+
"table_body": "<table><tr><td>Dataset</td><td colspan=\"4\">IM-MNIST</td><td colspan=\"4\">IM-F-MNIST</td></tr><tr><td>Method/Noiseratio</td><td>10%</td><td>20%</td><td>30%</td><td>40%</td><td>10%</td><td>20%</td><td>30%</td><td>40%</td></tr><tr><td>S2E</td><td>0.13 ±0.12</td><td>0.11 ±0.05</td><td>0.09 ±0.02</td><td>0.05 ±0.01</td><td>0.13 ±0.04</td><td>0.17 ±0.03</td><td>0.16 ±0.02</td><td>0.12 ±0.04</td></tr><tr><td>MentorNet</td><td>0.10 ±0.02</td><td>0.15 ±0.02</td><td>0.12 ±0.03</td><td>0.13 ±0.02</td><td>0.12 ±0.01</td><td>0.15 ±0.03</td><td>0.09 ±0.01</td><td>0.14 ±0.02</td></tr><tr><td>Co-teaching</td><td>0.09 ±0.03</td><td>0.07 ±0.02</td><td>0.05 ±0.01</td><td>0.12 ±0.01</td><td>0.17 ±0.05</td><td>0.04 ±0.00</td><td>0.13 ±0.04</td><td>0.07 ±0.01</td></tr><tr><td>SIGUA</td><td>0.04 ±0.00</td><td>0.04 ±0.00</td><td>0.01 ±0.00</td><td>0.02 ±0.00</td><td>0.03 ±0.00</td><td>0.02 ±0.00</td><td>0.04 ±0.00</td><td>0.00 ±0.00</td></tr><tr><td>JoCor</td><td>0.11 ±0.04</td><td>0.08 ±0.01</td><td>0.07 ±0.03</td><td>0.06 ±0.02</td><td>0.05 ±0.01</td><td>0.13 ±0.04</td><td>0.13 ±0.03</td><td>0.07 ±0.02</td></tr><tr><td>CNLCU-S</td><td>0.60 ±0.11</td><td>0.37 ±0.09</td><td>0.39 ±0.04</td><td>0.38 ±0.06</td><td>0.35 ±0.03</td><td>0.39 ±0.04</td><td>0.36 ±0.03</td><td>0.30 ±0.02</td></tr><tr><td>CNLCU-H</td><td>0.57 ±0.13</td><td>0.32 ±0.01</td><td>0.37 ±0.07</td><td>0.32' ±0.05</td><td>0.34 ±0.02</td><td>0.35 ±0.06</td><td>0.32</td><td>'0.28' ±0.03</td></tr></table>",
|
| 926 |
+
"bbox": [
|
| 927 |
+
223,
|
| 928 |
+
89,
|
| 929 |
+
774,
|
| 930 |
+
296
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 8
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "image",
|
| 936 |
+
"img_path": "images/345618b16a2a497cb1770a7a6b812aef02c9db41ecbd901f24eafd6809680d9e.jpg",
|
| 937 |
+
"image_caption": [
|
| 938 |
+
"Figure 2: Test accuracy vs. number of epochs on IM-MNIST and IM- $F$ -MNIST. The error bar for standard deviation in each figure has been shaded. "
|
| 939 |
+
],
|
| 940 |
+
"image_footnote": [],
|
| 941 |
+
"bbox": [
|
| 942 |
+
184,
|
| 943 |
+
325,
|
| 944 |
+
808,
|
| 945 |
+
511
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "309 Experimental results. The results on Clothing1M are provided in Table 5. Specifically, the proposed \n310 methods get better results than state-of-the-art methods on Best, which achieve an improvement of \n311 $+ 1 . 2 8 \\%$ and $+ 0 . 9 9 \\%$ over the best baseline JoCor. Likewise, the proposed methods outperform all the \n312 baselines on Last. We achieve an improvement of $+ 1 . 0 1 \\%$ and $+ 0 . 5 4 \\%$ over JoCor. Note that the \n313 results are a bit lower than some state-of-art methods, e.g., [64] and [46], because of the following \n314 reasons. (1). We follow [52] and use ResNet-18 as a backbone. The state-of-art methods [64, 46] \n315 use ResNet-50 as a backbone. Our aim is to make the experimental results directly comparable with \n316 previous papers [52] in the same area. (2). We only focus on the sample selection approach and do \n317 not employ other advanced techniques, e.g., introducing the prior distribution [46] and combining \nsemi-supervised learning [24, 39, 28]. ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
142,
|
| 954 |
+
555,
|
| 955 |
+
825,
|
| 956 |
+
694
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 8
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "table",
|
| 962 |
+
"img_path": "images/75193c59060dbc489fbcd263b82684a9a55a120cc9fcb7a1c809c2bca66357b3.jpg",
|
| 963 |
+
"table_caption": [],
|
| 964 |
+
"table_footnote": [
|
| 965 |
+
"Table 5: Test accuracy (%) on Clothing1M. The best two results are in bold. "
|
| 966 |
+
],
|
| 967 |
+
"table_body": "<table><tr><td>Methods</td><td>S2E</td><td>MentorNet</td><td>Co-teaching</td><td>SIGUA</td><td>JoCor</td><td>CNLCU-S</td><td>CNLCU-H</td></tr><tr><td>Best</td><td>67.34</td><td>68.36</td><td>69.37</td><td>62.89</td><td>70.09</td><td>71.37</td><td>71.08</td></tr><tr><td>Last</td><td>65.90</td><td>67.42</td><td>68.62</td><td>58.73</td><td>69.75</td><td>70.76</td><td>70.29</td></tr></table>",
|
| 968 |
+
"bbox": [
|
| 969 |
+
179,
|
| 970 |
+
705,
|
| 971 |
+
813,
|
| 972 |
+
752
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "318319 4 Conclusion ",
|
| 979 |
+
"text_level": 1,
|
| 980 |
+
"bbox": [
|
| 981 |
+
140,
|
| 982 |
+
782,
|
| 983 |
+
299,
|
| 984 |
+
800
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 8
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "In this paper, we focus on promoting the prior sample selection in learning with noisy labels, which starts from concerning the uncertainty of losses during training. We robustly use the training losses at different iterations to reduce the uncertainty of small-loss examples, and adopt confidence interval estimation to reduce the uncertainty of large-loss examples. Experiments are conducted on benchmark datasets, demonstrating the effectiveness of our method. We believe that this paper opens up new possibilities in the topics of using sample selection to handle noisy labels, especially in improving the robustness of models on imbalanced noisy datasets. ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
171,
|
| 993 |
+
814,
|
| 994 |
+
825,
|
| 995 |
+
911
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 8
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "References [1] Eric Arazo, Diego Ortego, Paul Albert, Noel O’Connor, and Kevin McGuinness. Unsupervised label noise modeling and loss correction. In ICML, pages 312–321, 2019. [2] Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In ICML, pages 233–242, 2017. [3] Peter Auer. Using confidence bounds for exploitation-exploration trade-offs. Journal of Machine Learning Research, 3(Nov):397–422, 2002. [4] Léon Bottou. Stochastic gradient descent tricks. In Neural networks: Tricks of the trade, pages 421–436. Springer, 2012. [5] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration inequalities: A nonasymptotic theory of independence. Oxford university press, 2013. [6] Markus M Breunig, Hans-Peter Kriegel, Raymond T $\\mathrm { N g }$ , and Jörg Sander. Lof: identifying density-based local outliers. In SIGMOD, pages 93–104, 2000. [7] Olivier Catoni. Challenging the empirical mean and empirical variance: a deviation study. In Annales de l’IHP Probabilités et statistiques, volume 48, pages 1148–1185, 2012. [8] Arijit Chakrabarty and Gennady Samorodnitsky. Understanding heavy tails in a bounded world or, is a truncated heavy tail heavy or not? Stochastic models, 28(1):109–143, 2012. [9] Jiacheng Cheng, Tongliang Liu, Kotagiri Ramamohanarao, and Dacheng Tao. Learning with bounded instance-and label-dependent label noise. In ICML, 2020. [10] Ilias Diakonikolas, Daniel M Kane, and Ankit Pensia. Outlier robust mean estimation with subgaussian rates via stability. arXiv preprint arXiv:2007.15618, 2020. [11] Bo Han, Jiangchao Yao, Gang Niu, Mingyuan Zhou, Ivor Tsang, Ya Zhang, and Masashi Sugiyama. Masking: A new perspective of noisy supervision. In NeurIPS, pages 5836–5846, 2018. [12] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pages 8527–8537, 2018. \n355 [13] Bo Han, Gang Niu, Xingrui Yu, Quanming Yao, Miao Xu, Ivor Tsang, and Masashi Sugiyama. Sigua: Forgetting may make learning with noisy labels more robust. In ICML, pages 4006–4016, 2020. [14] Hrayr Harutyunyan, Kyle Reing, Greg Ver Steeg, and Aram Galstyan. Improving generalization by controlling label-noise information in neural network weights. In ICML, pages 4071–4081, 2020. [15] Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, 2018. \n363 [16] Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. MentorNet: Learning data-driven curriculum for very deep neural networks on corrupted labels. In ICML, pages 2309–2318, 2018. [17] Lu Jiang, Di Huang, Mason Liu, and Weilong Yang. Beyond synthetic noise: Deep learning on controlled noisy labels. In ICML, pages 4804–4815, 2020. [18] Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In ICLR, 2020. [19] Youngdong Kim, Junho Yim, Juseung Yun, and Junmo Kim. Nlnl: Negative learning for noisy labels. In ICCV, pages 101–110, 2019. \n373 [20] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. \n375 [21] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009. \n376 [22] Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/. [23] Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, and Jinwoo Shin. Robust inference via generative classifiers for handling noisy labels. In ICML, pages 3763–3772, 2019. [24] Junnan Li, Richard Socher, and Steven C.H. Hoi. Dividemix: Learning with noisy labels as semi-supervised learning. In ICLR, 2020. [25] Mingchen Li, Mahdi Soltanolkotabi, and Samet Oymak. Gradient descent with early stopping is provably robust to label noise for overparameterized neural networks. In AISTATS, 2020. [26] Xuefeng Li, Tongliang Liu, Bo Han, Gang Niu, and Masashi Sugiyama. Provably end-to-end label-noise learning without anchor points. 2021. [27] Yihua Liao and V Rao Vemuri. Use of k-nearest neighbor classifier for intrusion detection. Computers & security, 21(5):439–448, 2002. [28] Sheng Liu, Jonathan Niles-Weed, Narges Razavian, and Carlos Fernandez-Granda. Earlylearning regularization prevents memorization of noisy labels. In NeurIPS, 2020. [29] Tongliang Liu and Dacheng Tao. Classification with noisy labels by importance reweighting. IEEE Transactions on pattern analysis and machine intelligence, 38(3):447–461, 2016. \n392 [30] Michal Lukasik, Srinadh Bhojanapalli, Aditya Menon, and Sanjiv Kumar. Does label smoothing mitigate label noise? In ICML, pages 6448–6458, 2020. [31] Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pages 3361–3370, 2018. [32] Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. In ICML, pages 6543–6553, 2020. [33] Eran Malach and Shai Shalev-Shwartz. Decoupling\" when to update\" from\" how to update\". In NeurIPS, pages 960–970, 2017. \n402 [34] Aditya Krishna Menon, Brendan Van Rooyen, and Nagarajan Natarajan. Learning from binary labels with instance-dependent noise. Machine Learning, 107(8-10):1561–1595, 2018. \n404 [35] Aditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain, Andreas Veit, and Sanjiv Kumar. Long-tail learning via logit adjustment. arXiv preprint arXiv:2007.07314, 2020. [36] Baharan Mirzasoleiman, Kaidi Cao, and Jure Leskovec. Coresets for robust training of neural networks against noisy labels. In NeurIPS, 2020. [37] David S Moore. Uncertainty. On the shoulders of giants: New approaches to numeracy, pages 95–137, 1990. [38] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. In NeurIPS, pages 1196–1204, 2013. \n413 [39] Duc Tam Nguyen, Chaithanya Kumar Mummadi, Thi Phuong Nhung Ngo, Thi Hoai Phuong Nguyen, Laura Beggel, and Thomas Brox. Self: Learning to filter noisy labels with selfensembling. In ICLR, 2020. \n416 [40] Kento Nishi, Yi Ding, Alex Rich, and Tobias Höllerer. Augmentation strategies for learning with noisy labels. arXiv preprint arXiv:2103.02130, 2021. \n418 [41] Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pages 1944–1952, 2017. [42] Geoff Pleiss, Tianyi Zhang, Ethan R Elenberg, and Kilian Q Weinberger. Identifying mislabeled data using the area under the margin ranking. In NeurIPS, 2020. \n23 [43] Jeffrey S Rosenthal. Faithful couplings of markov chains: now equals forever. Advances in Applied Mathematics, 18(3):372–381, 1997. \n425 [44] Jun Shu, Qian Zhao, Zengben Xu, and Deyu Meng. Meta transition adaptation for robust deep learning with noisy labels. arXiv preprint arXiv:2006.05697, 2020. \n27 [45] Mei-Ling Shyu, Shu-Ching Chen, Kanoksri Sarinnapakorn, and LiWu Chang. A novel anomaly detection scheme based on principal component classifier. Technical report, 2003. \n429 [46] Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, 2018. [47] Kiran K Thekumparampil, Ashish Khetan, Zinan Lin, and Sewoong Oh. Robustness of conditional gans to noisy labels. In NeurIPS, pages 10271–10282, 2018. \n33 [48] Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 2013. \n435 [49] Qizhou Wang, Jiangchao Yao, Chen Gong, Tongliang Liu, Mingming Gong, Hongxia Yang, and Bo Han. Learning with group noise. In AAAI, 2021. [50] Xiaobo Wang, Shuo Wang, Jun Wang, Hailin Shi, and Tao Mei. Co-mining: Deep face recognition with noisy labels. In ICCV, pages 9358–9367, 2019. \n439 [51] Yisen Wang, Weiyang Liu, Xingjun Ma, James Bailey, Hongyuan Zha, Le Song, and Shu-Tao Xia. Iterative learning with open-set noisy labels. In CVPR, pages 8688–8696, 2018. [52] Hongxin Wei, Lei Feng, Xiangyu Chen, and Bo An. Combating noisy labels by agreement: A joint training method with co-regularization. In CVPR, pages 13726–13735, 2020. [53] Pengxiang Wu, Songzhu Zheng, Mayank Goswami, Dimitris Metaxas, and Chao Chen. A topological filter for learning with label noise. In NeurIPS, 2020. \n45 [54] Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, and Gang Niu. Class2simi: A noise reduction perspective on learning with noisy labels. In ICML, 2021. \n48 [55] Xiaobo Xia, Tongliang Liu, Nannan Wang, Bo Han, Chen Gong, Gang Niu, and Masashi Sugiyama. Are anchor points really indispensable in label-noise learning? In NeurIPS, pages 6835–6846, 2019. \n51 [56] Xiaobo Xia, Tongliang Liu, Bo Han, Nannan Wang, Mingming Gong, Haifeng Liu, Gang Niu, Dacheng Tao, and Masashi Sugiyama. Part-dependent label noise: Towards instance-dependent label noise. In NeurIPS, 2020. \n454 [57] Xiaobo Xia, Tongliang Liu, Bo Han, Chen Gong, Nannan Wang, Zongyuan Ge, and Yi Chang. Robust early-learning: Hindering the memorization of noisy labels. In ICLR, 2021. \n56 [58] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. \n458 [59] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691–2699, 2015. [60] Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L_dmi: A novel information-theoretic loss function for training deep nets robust to label noise. In NeurIPS, pages 6222–6233, 2019. \n[61] Shuo Yang, Lu Liu, and Min Xu. Free lunch for few-shot learning: Distribution calibration. In ICLR, 2021. \n[62] Quanming Yao, Hansi Yang, Bo Han, Gang Niu, and James Tin-Yau Kwok. Searching to exploit memorization effect in learning with noisy labels. In ICML, pages 10789–10798, 2020. \n[63] Yu Yao, Tongliang Liu, Bo Han, Mingming Gong, Jiankang Deng, Gang Niu, and Masashi Sugiyama. Dual t: Reducing estimation error for transition matrix in label-noise learning. In NeurIPS, 2020. \n[64] Kun Yi and Jianxin Wu. Probabilistic end-to-end noise correction for learning with noisy labels. In CVPR, pages 7017–7025, 2019. \n[65] Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W Tsang, and Masashi Sugiyama. How does disagreement benefit co-teaching? In ICML, 2019. \n[66] Xiyu Yu, Tongliang Liu, Mingming Gong, Kayhan Batmanghelich, and Dacheng Tao. An efficient and provable approach for mixture proportion estimation using linear independence assumption. In CVPR, pages 4480–4489, 2018. \n[67] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017. \n[68] Yivan Zhang, Gang Niu, and Masashi Sugiyama. Learning noise transition matrix from only noisy labels via total variation regularization. In ICML, 2021. \n[69] Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In NeurIPS, pages 8778–8788, 2018. \n[70] Yue Zhao, Zain Nasrullah, and Zheng Li. Pyod: A python toolbox for scalable outlier detection. Journal of Machine Learning Research, 20(96):1–7, 2019. \n[71] Songzhu Zheng, Pengxiang Wu, Aman Goswami, Mayank Goswami, Dimitris Metaxas, and Chao Chen. Error-bounded correction of noisy labels. In ICML, pages 11447–11457, 2020. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
145,
|
| 1004 |
+
87,
|
| 1005 |
+
828,
|
| 1006 |
+
920
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 9
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "",
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
148,
|
| 1015 |
+
63,
|
| 1016 |
+
830,
|
| 1017 |
+
920
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 10
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
151,
|
| 1026 |
+
64,
|
| 1027 |
+
828,
|
| 1028 |
+
915
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 11
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
166,
|
| 1037 |
+
89,
|
| 1038 |
+
828,
|
| 1039 |
+
526
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 12
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "The checklist follows the references. Please read the checklist guidelines carefully for information on how to answer these questions. For each question, change the default [TODO] to [Yes] , [No] , or [N/A] . You are strongly encouraged to include a justification to your answer, either by referencing the appropriate section of your paper or providing a brief inline description. For example: ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
173,
|
| 1048 |
+
121,
|
| 1049 |
+
825,
|
| 1050 |
+
176
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 13
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "• Did you include the license to the code and datasets? [No] The code and the data are proprietary. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
214,
|
| 1059 |
+
186,
|
| 1060 |
+
821,
|
| 1061 |
+
217
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 13
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Please do not modify the questions and only use the provided macros for your answers. Note that the Checklist section does not count towards the page limit. In your paper, please delete this instructions block and only keep the Checklist section heading above along with the questions/answers below. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
142,
|
| 1070 |
+
227,
|
| 1071 |
+
825,
|
| 1072 |
+
270
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 13
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "1. For all authors... ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
214,
|
| 1081 |
+
281,
|
| 1082 |
+
339,
|
| 1083 |
+
296
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 13
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] \n(c) Did you discuss any potential negative societal impacts of your work? [No] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
238,
|
| 1092 |
+
300,
|
| 1093 |
+
825,
|
| 1094 |
+
392
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 13
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "2. If you are including theoretical results... ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
215,
|
| 1103 |
+
396,
|
| 1104 |
+
493,
|
| 1105 |
+
410
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 13
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
238,
|
| 1114 |
+
414,
|
| 1115 |
+
733,
|
| 1116 |
+
445
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 13
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "3. If you ran experiments... ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
212,
|
| 1125 |
+
450,
|
| 1126 |
+
393,
|
| 1127 |
+
464
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 13
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] The code and instructions are provided in the supplemental material. The used datasets can be publicly downloaded. Besides, the code for generating noisy labels is provided. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 3. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See Section 3.1 and 3.2. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See “Baselines” in Section 3.1. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
238,
|
| 1136 |
+
468,
|
| 1137 |
+
825,
|
| 1138 |
+
614
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 13
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
217,
|
| 1147 |
+
619,
|
| 1148 |
+
825,
|
| 1149 |
+
633
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 13
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We use MNIST, $F$ -MNIST, CIFAR-10, CIFAR-100, and Clothing1M in this paper. We cite the creators, which can be checked in Section 3. \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
238,
|
| 1158 |
+
637,
|
| 1159 |
+
825,
|
| 1160 |
+
786
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 13
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
214,
|
| 1169 |
+
790,
|
| 1170 |
+
705,
|
| 1171 |
+
805
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 13
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
238,
|
| 1180 |
+
809,
|
| 1181 |
+
825,
|
| 1182 |
+
898
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 13
|
| 1185 |
+
}
|
| 1186 |
+
]
|
parse/train/zGsRcuoR5-0/zGsRcuoR5-0_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/zGsRcuoR5-0/zGsRcuoR5-0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/train/37nvvqkCo5/0.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/1.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/10.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/11.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/12.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/13.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/14.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/15.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/16.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/17.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/18.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/19.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/2.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/20.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/21.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/22.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/23.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/3.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/4.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/5.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/6.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/7.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/8.png
ADDED
|
Git LFS Details
|
vlm/train/37nvvqkCo5/9.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/0.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/1.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/10.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/11.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/12.png
ADDED
|
Git LFS Details
|
vlm/train/AAWuCvzaVt/13.png
ADDED
|
Git LFS Details
|