Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/BJg4NgBKvH/BJg4NgBKvH.md +233 -0
- parse/train/BJg4NgBKvH/BJg4NgBKvH_content_list.json +1263 -0
- parse/train/BJg4NgBKvH/BJg4NgBKvH_middle.json +0 -0
- parse/train/BJg4NgBKvH/BJg4NgBKvH_model.json +0 -0
- parse/train/BkUHlMZ0b/BkUHlMZ0b_middle.json +0 -0
- parse/train/BkUHlMZ0b/BkUHlMZ0b_model.json +0 -0
- parse/train/Bkg2viA5FQ/Bkg2viA5FQ.md +0 -0
- parse/train/Bkg2viA5FQ/Bkg2viA5FQ_content_list.json +0 -0
- parse/train/Bkg2viA5FQ/Bkg2viA5FQ_middle.json +0 -0
- parse/train/Bkg2viA5FQ/Bkg2viA5FQ_model.json +0 -0
- parse/train/H1Heentlx/H1Heentlx.md +289 -0
- parse/train/H1Heentlx/H1Heentlx_content_list.json +1223 -0
- parse/train/H1Heentlx/H1Heentlx_middle.json +0 -0
- parse/train/H1Heentlx/H1Heentlx_model.json +0 -0
- parse/train/H1eH4n09KX/H1eH4n09KX.md +268 -0
- parse/train/H1eH4n09KX/H1eH4n09KX_content_list.json +1330 -0
- parse/train/H1eH4n09KX/H1eH4n09KX_middle.json +0 -0
- parse/train/H1eH4n09KX/H1eH4n09KX_model.json +0 -0
- parse/train/S1HlA-ZAZ/S1HlA-ZAZ.md +356 -0
- parse/train/S1HlA-ZAZ/S1HlA-ZAZ_content_list.json +1868 -0
- parse/train/S1HlA-ZAZ/S1HlA-ZAZ_middle.json +0 -0
- parse/train/S1HlA-ZAZ/S1HlA-ZAZ_model.json +0 -0
- parse/train/SkNQeiRpb/SkNQeiRpb.md +192 -0
- parse/train/SkNQeiRpb/SkNQeiRpb_content_list.json +1052 -0
- parse/train/SkNQeiRpb/SkNQeiRpb_middle.json +0 -0
- parse/train/SkNQeiRpb/SkNQeiRpb_model.json +0 -0
- parse/train/SyzVb3CcFX/SyzVb3CcFX.md +390 -0
- parse/train/SyzVb3CcFX/SyzVb3CcFX_content_list.json +0 -0
- parse/train/SyzVb3CcFX/SyzVb3CcFX_middle.json +0 -0
- parse/train/SyzVb3CcFX/SyzVb3CcFX_model.json +0 -0
- parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT.md +244 -0
- parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_content_list.json +1147 -0
- parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_middle.json +0 -0
- parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_model.json +0 -0
- parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x.md +233 -0
- parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x_content_list.json +1156 -0
- parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x_middle.json +0 -0
- parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x_model.json +0 -0
- parse/train/r-oRRT-ElX/r-oRRT-ElX.md +247 -0
- parse/train/r-oRRT-ElX/r-oRRT-ElX_content_list.json +1091 -0
- parse/train/r-oRRT-ElX/r-oRRT-ElX_middle.json +0 -0
- parse/train/r-oRRT-ElX/r-oRRT-ElX_model.json +0 -0
- parse/train/r1YqWz-R-/r1YqWz-R-.md +256 -0
- parse/train/r1YqWz-R-/r1YqWz-R-_content_list.json +1248 -0
- parse/train/r1YqWz-R-/r1YqWz-R-_middle.json +0 -0
- parse/train/r1YqWz-R-/r1YqWz-R-_model.json +0 -0
- parse/train/rklaWn0qK7/rklaWn0qK7.md +423 -0
- parse/train/rklaWn0qK7/rklaWn0qK7_content_list.json +2175 -0
- parse/train/rklaWn0qK7/rklaWn0qK7_middle.json +0 -0
- parse/train/rklaWn0qK7/rklaWn0qK7_model.json +0 -0
parse/train/BJg4NgBKvH/BJg4NgBKvH.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TRAINING BINARY NEURAL NETWORKS WITH REALTO-BINARY CONVOLUTIONS
|
| 2 |
+
|
| 3 |
+
Brais Martinez1, Jing Yang1,2,\*, Adrian Bulat1,\* & Georgios Tzimiropoulos1,2
|
| 4 |
+
|
| 5 |
+
1 Samsung AI Research Center, Cambridge, UK 2 Computer Vision Laboratory, The University of Nottingham, UK {brais.a,adrian.bulat,georgios.t}@samsung.com
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
This paper shows how to train binary networks to within a few percent points $( \sim 3 - 5 \% )$ of the full precision counterpart. We first show how to build a strong baseline, which already achieves state-of-the-art accuracy, by combining recently proposed advances and carefully adjusting the optimization procedure. Secondly, we show that by attempting to minimize the discrepancy between the output of the binary and the corresponding real-valued convolution, additional significant accuracy gains can be obtained. We materialize this idea in two complementary ways: (1) with a loss function, during training, by matching the spatial attention maps computed at the output of the binary and real-valued convolutions, and (2) in a data-driven manner, by using the real-valued activations, available during inference prior to the binarization process, for re-scaling the activations right after the binary convolution. Finally, we show that, when putting all of our improvements together, the proposed model beats the current state of the art by more than $5 \%$ top-1 accuracy on ImageNet and reduces the gap to its realvalued counterpart to less than $3 \%$ and $5 \%$ top-1 accuracy on CIFAR-100 and ImageNet respectively when using a ResNet-18 architecture. Code available at https://github.com/brais-martinez/real2binary.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Following the introduction of the BinaryNeuralNet (BNN) algorithm (Courbariaux et al., 2016), binary neural networks emerged as one of the most promising approaches for obtaining highly efficient neural networks that can be deployed on devices with limited computational resources. Binary convolutions are appealing mainly for two reasons: (a) Model compression: if the weights of the network are stored as bits in a 32-bit float, this implies a reduction of $3 2 \times$ in memory usage. (b) Computational speed-up: computationally intensive floating-point multiply and add operations are replaced by efficient xnor and pop-count operations, which have been shown to provide practical speed-ups of up to $5 8 \times$ on CPU (Rastegari et al., 2016) and, as opposed to general low bit-width operations, are amenable to standard hardware. Despite these appealing properties, binary neural networks have been criticized as binarization typically results in large accuracy drops. Thus, their deployment in practical scenarios is uncommon. For example, on ImageNet classification, there is a $\sim 1 8 \%$ gap in top-1 accuracy between a ResNet-18 and its binary counterpart when binarized with XNOR-Net (Rastegari et al., 2016), which is the method of choice for neural network binarization.
|
| 14 |
+
|
| 15 |
+
But how far are we from training binary neural networks that are powerful enough to become a viable alternative to real-valued networks? Our first contribution in this work is to take stock of recent advances on binary neural networks and train a very strong baseline which already results in state-of-the-art performance. Our second contribution is a method for bridging most of the remaining gap, which boils down to minimizing the discrepancy between the output of the binary and the corresponding real-valued convolution. This idea is materialized in our work in two complementary ways: Firstly, we use an attention matching strategy so that the real-valued network can more closely guide the binary network during optimization. However, we show that due to the architectural discrepancies between the real and the binary networks, a direct application of teacher-student produces sub-optimal performance. Instead, we propose to use a sequence of teacher-student pairs that progressively bridges the architectural gap. Secondly, we further propose to use the real-valued activations of the binary network, available prior to the binarization preceding convolution, to compute scale factors that are used to re-scale the activations right after the application of the binary convolution. This is in line with recent works which have shown that re-scaling the binary convolution output can result in large performance gains (Rastegari et al., 2016; Bulat & Tzimiropoulos, 2019). However, unlike prior work, we compute the scaling factors in a data-driven manner based on the real-valued activations of each layer prior to binarization, which results in superior performance.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Left: The proposed real-to-binary block. The diagram shows how spatial attention maps computed from a teacher real-valued network are matched with the ones computed from the binary network. Supervision is injected at the end of each binary block. See also section 4.2. Right: The proposed data-driven channel re-scaling approach. The left-hand side branch corresponds to the standard binary convolution module. The right-hand side branch corresponds to the proposed gating function that computes the channel-scaling factors from the output of the batch normalization. The factor $r$ controls the compression ratio on the gating function, and $H$ , $W$ and $C$ indicate the two spatial and the channel dimensions of the activation tensors. See also section 4.3.
|
| 19 |
+
|
| 20 |
+
Overall, we make the following contributions:
|
| 21 |
+
|
| 22 |
+
• We construct a very strong baseline by combining some recent insights on training binary networks and by performing a thorough experimentation to find the most well-suited optimization techniques. We show that this baseline already achieves state-of-the-art accuracy on ImageNet, surpassing all previously published works on binary networks.
|
| 23 |
+
We propose a real-to-binary attention matching: this entails that matching spatial attention maps computed at the output of the binary and real-valued convolutions is particularly suited for training binary neural networks (see Fig. 1 left and section 4.2). We also devise an approach in which the architectural gap between real and binary networks is progressively bridged through a sequence of teacher-student pairs.
|
| 24 |
+
We propose a data-driven channel re-scaling: this entails using the real-valued activations of the binary network prior to their binarization to compute the scale factors used to rescale the activations produced right after the application of the binary convolution. See Fig. 1, right, and section 4.3.
|
| 25 |
+
• We show that our combined contributions provide, for the first time, competitive results on two standard datasets, achieving $7 6 . 2 \%$ top-1 performance on CIFAR-100 and $6 5 . 4 \%$ top-1 performance on ImageNet when using a ResNet-18 –a gap bellow $3 \%$ and $5 \%$ respectively compared to their full precision counterparts.
|
| 26 |
+
|
| 27 |
+
# 2 RELATED WORK
|
| 28 |
+
|
| 29 |
+
While being pre-dated by other works on binary networks (Soudry et al., 2014), the BNN algorithm (Courbariaux et al., 2016) established how to train networks with binary weights within the familiar back-propagation paradigm. The training method relies on a real-valued copy of the network weights which is binarized during the forward pass, but is updated during back-propagation ignoring the binarization step. Unfortunately, BNN resulted in a staggering $\sim 2 8 \%$ gap in top-1 accuracy compared to the full precision ResNet-18 on ImageNet.
|
| 30 |
+
|
| 31 |
+
It is worth noting that binary networks do have a number of floating point operations. In fact, the output of a binary convolution is not binary (values are integers resulting from the count). Also, in accordance to other low bit-width quantization methodologies, the first convolution (a costly $7 \times 7$ kernel in ResNet), the fully connected layer and the batch normalization layers are all real-valued. In consequence, a line of research has focused on developing methodologies that add a fractional amount of real-valued operations in exchange for significant accuracy gains. For example, the seminal work of XNOR-Net (Rastegari et al., 2016) proposed to add a real-valued scaling factor to each output channel of a binary convolution, a technique that has become standard for binary networks. Similarly, Bi-Real Net (Liu et al., 2018) argued that skip connections are fundamental for binary networks and observed that the flow of full precision activations provided by the skip connections is interrupted by the binary downsample convolutions. This degrades the signal and make subsequent skip connections less effective. To alleviate this, they proposed making the downsample layers real valued, obtaining around $3 \%$ accuracy increase in exchange for a small increase in computational complexity.
|
| 32 |
+
|
| 33 |
+
Improving the optimization algorithm for binary networks has been another fundamental line of research. Examples include the use of smooth approximations of the gradient, the use of PReLU (Bulat et al., 2019), a two-stage training which binarizes the weights first and then the activations (Bulat et al., 2019) and progressive quantization (Gong et al., 2019; Bulat et al., 2019). The work in (Wang et al., 2019) proposed to learn channel correlations through reinforcement learning to better preserve the sign of a convolution output. A set of regularizers are added to the loss term in (Ding et al., 2019) so as to control the range of values of the activations, and guarantee good gradient flow. Other optimization aspects, such the effect of gradient clipping or batch-norm momentum, were empirically tested in (Alizadeh et al., 2019). In section 4.1, we show how to combine many of the insights provided in these works with standard optimization techniques to obtain a very strong baseline that already achieves state-of-the-art accuracy.
|
| 34 |
+
|
| 35 |
+
While the aforementioned works either maintain the same computational cost, or increase it by a fractional amount, other research has focused instead on relaxing the problem constraints by increasing the number of binary operations by a large amount, typically a factor of 2 to 8 times. Examples include ABC-Net (Lin et al., 2017), the structure approximation of (Zhuang et al., 2019), the circulant CNN of (Liu et al., 2019), and the binary ensemble of (Zhu et al., 2019). Note that the large increase of binary operations diminishes the efficiency claim that justifies the use of binary networks in first place. Furthermore, we will show that there is still a lot of margin in order to bridge the accuracy gap prior to resorting to scaling up the network capacity1.
|
| 36 |
+
|
| 37 |
+
The methodology proposed in this paper has some relations with prior work: our use of attention matching as described in section 4.2 is somewhat related to the feature distillation approach of (Zhuang et al., 2018). However, (Zhuang et al., 2018) tries to match whole feature maps of the to-be-quantized network with the quantized feature maps of a real-valued network that is trained in parallel with the to-be-quantized network. Such an approach is shown to improve training of low-bitwidth quantized models but not binary networks. Notably, our approach based on matching attention maps is much simpler and shown to be effective for the case of binary networks.
|
| 38 |
+
|
| 39 |
+
Our data-driven channel re-scaling approach, described in section 4.3, is related to the channel rescaling approach of XNOR-Net, and also that of (Xu & Cheung, 2019; Bulat & Tzimiropoulos, 2019), which propose to learn the scale factors discriminatively through backpropagation. Contrary to (Xu & Cheung, 2019; Bulat & Tzimiropoulos, 2019), our method is data-driven and avoids using fixed scale factors learnt during training. Contrary to XNOR-Net, our method discriminatively learns how to produce the data-driven scale factors so that they are optimal for the task in hand.
|
| 40 |
+
|
| 41 |
+
# 3 BACKGROUND
|
| 42 |
+
|
| 43 |
+
This section reviews the binarization process proposed in (Courbariaux et al., 2016) and its improved version from (Rastegari et al., 2016), which is the method of choice for neural network binarization.
|
| 44 |
+
|
| 45 |
+
We denote by $\mathcal { W } \in \mathbb { R } ^ { o \times c \times k \times k }$ and $\mathcal { A } \in \mathbb { R } ^ { c \times w _ { i n } \times h _ { i n } }$ the weights and input features of a CNN layer, where $o$ and $c$ represent the number of output and input channels, $k$ the width and height of the kernel, and $w _ { i n }$ and $h _ { i n }$ represent the spatial dimension of the input features $\mathcal { A }$ . In (Courbariaux et al., 2016), both weights and activations are binarized using the sign function and then convolution is performed as $\mathcal { A } \ast \mathcal { W } \approx \mathrm { s i g n } ( \mathcal { A } ) \circledast \mathrm { s i g n } ( \mathcal { W } )$ where $\circledast$ denotes the binary convolution, which can be implemented using bit-wise operations.
|
| 46 |
+
|
| 47 |
+
However, this direct binarization approach introduces a high quantization error that leads to low accuracy. To alleviate this, XNOR-Net (Rastegari et al., 2016) proposes to use real-valued scaling factors to re-scale the output of the binary convolution as
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\mathcal { A } \ast \mathcal { W } \approx ( \mathrm { s i g n } ( \mathcal { A } ) \circledast \mathrm { s i g n } ( \mathcal { W } ) ) \odot \mathcal { K } \alpha ,
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
where $\odot$ denotes the element-wise multiplication, $_ \alpha$ and $\kappa$ are the weight and activation scaling factors, respectively, calculated in Rastegari et al. (2016) in an analytic manner. More recently, Bulat & Tzimiropoulos (2019) proposed to fuse $_ { \pmb { \alpha } }$ and $\kappa$ into a single factor $\Gamma$ that is learned via backpropagation, resulting in further accuracy gains.
|
| 54 |
+
|
| 55 |
+
# 4 METHOD
|
| 56 |
+
|
| 57 |
+
This section firstly introduces our strong baseline. Then, we present two ways to improve the approximation of Eq. 1: Firstly, we use a loss based on matching attention maps computed from the binary and a real-valued network (see section 4.2). Secondly, we make the scaling factor a function of the real-valued input activations $\mathcal { A }$ (see section 4.3).
|
| 58 |
+
|
| 59 |
+
# 4.1 BUILDING A STRONG BASELINE
|
| 60 |
+
|
| 61 |
+
Currently, almost all works on binary networks use XNOR-Net and BNN as baselines. In this section, we show how to construct a strong baseline by incorporating insights and techniques described in recent works as well as standard optimization techniques. We show that our baseline already achieves state-of-the-art accuracy. We believe this is an important contribution towards understanding the true impact of proposed methodologies and towards assessing the true gap with real-valued networks. Following prior work in binary networks, we focus on the ResNet-18 architecture and apply the improvements listed below:
|
| 62 |
+
|
| 63 |
+
Block structure: It is well-known that a modified ResNet block must be used to obtain optimal results for binary networks. We found the widely-used setting where the operations are ordered as BatchNorm Binarization BinaryConv Activation to be the best. The skip connection is the last operation of the block (Rastegari et al., 2016). Note that we use the sign function to binarize the activations. However, the BatchNorm layer includes an affine transformation and this ordering of the blocks allows its bias term act as a learnable binarization threshold.
|
| 64 |
+
|
| 65 |
+
Residual learning: We used double skip connections, as proposed in (Liu et al., 2018).
|
| 66 |
+
|
| 67 |
+
Activation: We used PReLU (He et al., 2015) as it is known to facilitate the training of binary networks (Bulat et al., 2019).
|
| 68 |
+
|
| 69 |
+
Scaling factors: We used discriminatively learnt scaling factors via backpropagation as in (Bulat & Tzimiropoulos, 2019).
|
| 70 |
+
|
| 71 |
+
Downsample layers: We used real-valued downsample layers (Liu et al., 2018). We found the large accuracy boost to be consistent across our experiments (around $3 - 4 \%$ top-1 improvement on ImageNet).
|
| 72 |
+
|
| 73 |
+
We used the following training strategies to train our strong baseline:
|
| 74 |
+
|
| 75 |
+
Initialization: When training binary networks, it is crucial to use a 2-stage optimization strategy (Bulat et al., 2019). In particular, we first train a network using binary activations and real-valued weights, and then use the resulting model as initialization to train a network where both weights and activations are binarized.
|
| 76 |
+
|
| 77 |
+
Weight decay: Setting up weight decay carefully is surprisingly important. We use $1 e - 5$ when training stage 1 (binary activation and real weights network), and set it to 0 on stage 2 (Bethge et al., 2019). Note that weights at stage 2 are either 1 or $- 1$ , so applying an $L _ { 2 }$ regularization term to them does not make sense.
|
| 78 |
+
|
| 79 |
+
Data augmentation: For CIFAR-100 we use the standard random crop, horizontal flip and rotation $( \pm 1 5 ^ { \circ } )$ . For ImageNet, we found that random cropping, flipping and colour jitter augmentation worked best. However, colour jitter is disabled for stage 2.
|
| 80 |
+
|
| 81 |
+
Mix-up: We found that mix-up (Zhang et al., 2017) is crucial for CIFAR-100, while it slightly hurts performance for ImageNet – this is due to the higher risk of overfitting on CIFAR-100.
|
| 82 |
+
|
| 83 |
+
Warm-up: We used warm-up for 5 epochs during stage 1 and no warm-up for stage 2.
|
| 84 |
+
|
| 85 |
+
Optimizer: We used Adam (Kingma & Ba, 2014) with a stepwise scheduler. The learning rate is set to $1 e - 3$ for stage 1, and $2 e - 4$ for stage 2. For CIFAR-100, we trained for 350 epochs, with steps at epochs 150, 250 and 320. For ImageNet, we train for 75 epochs, with steps at epochs 40, 60 and 70. Batch sizes are 256 for ImageNet and 128 for CIFAR-100.
|
| 86 |
+
|
| 87 |
+
# 4.2 REAL-TO-BINARY ATTENTION MATCHING
|
| 88 |
+
|
| 89 |
+
We make the reasonable assumption that if a binary network is trained so that the output of each binary convolution more closely matches the output of a real convolution in the corresponding layer of a real-valued network, then significant accuracy gains can be obtained. Notably, a similar assumption was made in (Rastegari et al., 2016) where analytic scale factors were calculated so that the error between binary and real convolutions is minimized. Instead, and inspired by the attention transfer method of (Zagoruyko & Komodakis, 2017), we propose to enforce such a constraint via a loss term at the end of each convolutional block by comparing attention maps calculated from the binary and real-valued activations. Such supervisory signals provide the binary network with muchneeded extra guidance. It is also well-known that backpropagation for binary networks is not as effective as for real-valued ones. By introducing such loss terms at the end of each block, gradients do not have to traverse the whole network and suffer a degraded signal.
|
| 90 |
+
|
| 91 |
+
Assuming that attention matching is applied at a set of $\mathcal { I }$ transfer points within the network, the total loss can be expressed as:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\mathcal { L } _ { a t t } = \sum _ { j = 1 } ^ { \mathcal { I } } \Vert \frac { \mathcal { Q } _ { S } ^ { j } } { \Vert \mathcal { Q } _ { S } ^ { j } \Vert _ { 2 } } - \frac { \mathcal { Q } _ { T } ^ { j } } { \Vert \mathcal { Q } _ { T } ^ { j } \Vert _ { 2 } } \Vert ,
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $\begin{array} { r } { \mathcal { Q } ^ { j } = \sum _ { i = 1 } ^ { c } | \mathcal { A } _ { i } | ^ { 2 } } \end{array}$ and $A _ { i }$ is the $i -$ th channel of activation map $\mathcal { A }$ . Moreover, at the end of the network, we apply a standard logit matching loss (Hinton et al., 2015).
|
| 98 |
+
|
| 99 |
+
Progressive teacher-student: We observed that teacher and student having as similar architecture as possible is very important in our case. We thus train a sequence of teacher-student pairs that progressively bridges the differences between the real network and the binary network in small increments:
|
| 100 |
+
|
| 101 |
+
Step 1: the teacher is the real-valued network with the standard ResNet architecture. The student is another real-valued network, but with the same architecture as the binary ResNet-18 (e.g. double skip connection, layer ordering, PReLU activations, etc). Furthermore, a soft binarization (a Tanh function) is applied to the activations instead of the binarization (sign) function. In this way the network is still real-valued, but it behaves more closely to a network with binary activations.
|
| 102 |
+
|
| 103 |
+
Step 2: The network resulting from the previous step is used as the teacher. A network with binary activations and real-valued weights is used as the student.
|
| 104 |
+
|
| 105 |
+
Step 3: The network resulting from step 2 is used as the teacher and the network with binary weights and binary activations is the student. In this stage, only logit matching is used.
|
| 106 |
+
|
| 107 |
+
# 4.3 DATA-DRIVEN CHANNEL RE-SCALING
|
| 108 |
+
|
| 109 |
+
While the approach of the previous section provides better guidance for the training of binary networks, the representation power of binary convolutions is still limited, hindering its capacity to approximate the real-valued network. Here we describe how to boost the representation capability of a binary neural network and yet incur in only a negligible increment on the number of operations.
|
| 110 |
+
|
| 111 |
+
Previous works have shown the effectiveness of re-scaling binary convolutions with the goal of better approximating real convolutions. XNOR-Net (Rastegari et al., 2016) proposed to compute these scale factors analytically while (Bulat & Tzimiropoulos, 2019; Xu & Cheung, 2019) proposed to learn them discriminatively in an end-to-end manner, showing additional accuracy gains. For the latter case, during training, the optimization aims to find a set of fixed scaling factors that minimize the average expected loss for the training set. We propose instead to go beyond this and obtain discriminatively-trained input-dependent scaling factors – thus, at test time, these scaling factors will not be fixed but rather inferred from data.
|
| 112 |
+
|
| 113 |
+
Let us first recall what the signal flow is when going through a binary block. The activations entering a binary block are actually real-valued. Batch normalization centers the activations, which are then binarized, losing a large amount of information. Binary convolution, re-scaling and PReLU follow. We propose to use the full-precision activation signal, available prior to the large information loss incurred by the binarization operation, to predict the scaling factors used to re-scale the output of the binary convolution channel-wise. Specifically, we propose to approximate the real convolution as follows:
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\mathcal { A } \ast \mathcal { W } \approx ( \mathrm { s i g n } ( \mathcal { A } ) \circledast \mathrm { s i g n } ( \mathcal { W } ) ) \odot \alpha \odot G ( \mathcal { A } ; \mathcal { W } _ { G } ) ,
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
where $\mathcal { W } _ { G }$ are the parameters of the gating function $G$ . Such function computes the scale factors used to re-scale the output of the binary convolution, and uses the pre-convolution real-valued activations as input. Fig. 1 shows our implementation of function $G$ . The design is inspired by Hu et al. (2018), but we use the gating function to predict ahead rather than as a self-attention mechanism.
|
| 120 |
+
|
| 121 |
+
An optimal mechanism to modulate the output of the binary convolution clearly should not be the same for all examples as in Bulat & Tzimiropoulos (2019) or Xu & Cheung (2019). Note that in Rastegari et al. (2016) the computation of the scale factors depends on the input activations. However the analytic calculation is sub-optimal with respect to the task at hand. To circumvent the aforementioned problems, our method learns, via backpropagation for the task at hand, to predict the modulating factors using the real-valued input activations. By doing so, more than $1 / 3$ of the remaining gap with the real-valued network is bridged.
|
| 122 |
+
|
| 123 |
+
# 4.4 COMPUTATIONAL COST ANALYSIS
|
| 124 |
+
|
| 125 |
+
Table 1 details the computational cost of the different binary network methodologies. We differentiate between the number of binary and floating point operations, including operations such as skip connections, pooling layers, etc. It shows that our method leaves the number of binary operations constant, and that the number of FLOPs increases by only $1 \%$ of the total floating point operation count. This is assuming a factor $r$ of 8, which is the one used in all of our experiments. To put this into perspective, the magnitude is similar to the operation increase incurred by the XNOR-Net with respect to its predecessor, BNN. Similarly, the double skip connections proposed in (Liu et al., 2018) adds again a comparable amount of operations. Note however that in order to fully exploit the computational efficiency of binary convolutions during inference, a specialized engine such as (Zhang et al., 2019; Yang et al., 2017) is required.
|
| 126 |
+
|
| 127 |
+
# 5 RESULTS
|
| 128 |
+
|
| 129 |
+
We present two main sets of experiments. We used ImageNet (Russakovsky et al., 2015) as a benchmark to compare our method against other state-of-the-art approaches in Sec. 5.1. ImageNet is the most widely used dataset to report results on binary networks and, at the same time, allows us to show for the first time that binary networks can perform competitively on a large-scale dataset. We further used CIFAR-100 (Krizhevsky & Hinton, 2009) to conduct ablation studies (Sec. 5.2).
|
| 130 |
+
|
| 131 |
+
Table 1: Breakdown of floating point and binary operations for variants of binary ResNet-18.
|
| 132 |
+
|
| 133 |
+
<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>BOPS</td><td rowspan=1 colspan=1>FLOPS</td></tr><tr><td rowspan=1 colspan=1>BNN (Courbariaux et al., 2016)XNOR-Net (Rastegari et al., 2016)Double Skip ((Liu et al., 2018)Bi-Real (Liu et al.,2018)Ours</td><td rowspan=1 colspan=1>1.695×1091.695×1091.695×1091.676×1091.676×109</td><td rowspan=1 colspan=1>1.314×1081.333×1081.351×1081.544×1081.564×108</td></tr><tr><td rowspan=1 colspan=1>Full Precision</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1.826×109</td></tr></table>
|
| 134 |
+
|
| 135 |
+
# 5.1 COMPARISON WITH THE STATE-OF-THE-ART
|
| 136 |
+
|
| 137 |
+
Table 2 shows a comparison between our method and relevant state-of-the-art methods, including low-bit quantization methods other than binary.
|
| 138 |
+
|
| 139 |
+
Vs. other binary networks: Our strong baseline already comfortably achieves state-of-the art results, surpassing the previously best-reported result by about $1 \%$ (Wang et al., 2019). Our full method further improves over the state-of-the-art by $5 . 5 \%$ top-1 accuracy. When comparing to binary models that scale the capacity of the network (second set of results on Tab. 2), only (Zhuang et al., 2019) outperforms our method, surpassing it by $0 . 9 \%$ top-1 accuracy - yet, this is achieved using 4 times the number of binary blocks.
|
| 140 |
+
|
| 141 |
+
Vs. real-valued networks: Our method reduces the performance gap with its real-valued counterpart to $\sim 4 \%$ top-1 accuracy, or $\sim 5 \%$ if we compare against a real-valued network trained with attention transfer.
|
| 142 |
+
|
| 143 |
+
Vs. other low-bit quantization: Table 2 also shows a comparison to the state-of-the-art for low-bit quantization methods (first set of results). It can be seen that our method surpasses the performance of all methods, except for TTQ (Zhu et al., 2017), which uses 2-bit weights, full-precision activations and 1.5 the channel width at each layer.
|
| 144 |
+
|
| 145 |
+
# 5.2 ABLATION STUDIES
|
| 146 |
+
|
| 147 |
+
In order to conduct a more detailed ablation study we provide results on CIFAR-100. We thoroughly optimized a ResNet-18 full precision network to serve as the real-valued baseline.
|
| 148 |
+
|
| 149 |
+
Teacher-Student effectiveness: We trained a real-valued ResNet-18 using ResNet-34 as its teacher, yielding $\sim 1 \%$ top-1 accuracy increase. Instead, our progressive teacher-student strategy yields $\sim 5 \%$ top-1 accuracy gain, showing that it is a fundamental tool when training binary networks, and that its impact is much larger than for real-valued networks, where the baseline optimization is already healthier.
|
| 150 |
+
|
| 151 |
+
Performance gap to real-valued: We observe that, for CIFAR-100, we close the gap with realvalued networks to about $2 \%$ when comparing with the full-precision ResNet-18, and to about $3 \%$ when optimized using teacher supervision. The gap is consistent to that on ImageNet in relative terms: $\mathrm { { 1 3 \% } }$ and $1 0 \%$ relative degradation on ImageNet and CIFAR-100 respectively.
|
| 152 |
+
|
| 153 |
+
Binary vs real downsample: Our proposed method achieves similar performance increase irrespective of whether binary or real-valued downsample layers are used, the improvement being $5 . 5 \%$ and $6 . 6 \%$ top-1 accuracy gain respectively. It is also interesting to note that the results on the ablation study are consistent for all entries on both cases.
|
| 154 |
+
|
| 155 |
+
Scaling factors and attention matching: It is also noteworthy that the gating module is not effective in the absence of attention matching (see $\mathrm { \bf S B + G }$ entries). It seems clear from this result that both are interconnected: the extra supervisory signal is necessary to properly guide the training, while the extra flexibility added through the gating mechanism boosts the capacity of the network to mimic the attention map.
|
| 156 |
+
|
| 157 |
+
Table 2: Comparison with state-of-the-art methods on ImageNet. \*\* indicates real-valued downsample. The second column indicates the number of bits used to represent weights and activations. Methods include low-bit quantization (upper section), and methods multiplying the capacity of the network (second section). For the latter case, the second column includes the multiplicative factor of the network capacity used.
|
| 158 |
+
|
| 159 |
+
<table><tr><td rowspan=2 colspan=1>Method</td><td rowspan=1 colspan=3>ImageNet</td></tr><tr><td rowspan=1 colspan=1>Bitwidth (W/A)</td><td rowspan=1 colspan=1>Top-1</td><td rowspan=1 colspan=1>Top-5</td></tr><tr><td rowspan=6 colspan=1>BWN (Rastegari et al., 2016)TTQ (Zhu et al., 2017)HWGQ (Cai et al., 2017)LQ-Net (Zhang et al., 2018)SYQ (Faraone et al., 2018)DOREFA-Net (Zhou et al.,2016)</td><td rowspan=1 colspan=1>1/32</td><td rowspan=1 colspan=1>60.8</td><td rowspan=1 colspan=1>83.0</td></tr><tr><td rowspan=2 colspan=1>2/321/2</td><td rowspan=1 colspan=1>66.6</td><td rowspan=1 colspan=1>87.2</td></tr><tr><td rowspan=1 colspan=1>59.6</td><td rowspan=1 colspan=1>82.2</td></tr><tr><td rowspan=3 colspan=1>1/21/22/2</td><td rowspan=1 colspan=1>62.6</td><td rowspan=1 colspan=1>84.3</td></tr><tr><td rowspan=1 colspan=1>55.4</td><td rowspan=1 colspan=1>78.6</td></tr><tr><td rowspan=1 colspan=1>62.6</td><td rowspan=1 colspan=1>84.4</td></tr><tr><td rowspan=4 colspan=1>ABC-Net (Lin et al., 2017)Circulant CNN (Liu et al., 2019)Struct Appr (Zhuang et al., 2019)Struct Appr** (Zhuang et al., 2019)Ensemble (Zhu et al., 2019)</td><td rowspan=1 colspan=1>(1/1)×5</td><td rowspan=1 colspan=1>65.0</td><td rowspan=1 colspan=1>85.9</td></tr><tr><td rowspan=2 colspan=1>(1/1)×4(1/1)×4</td><td rowspan=1 colspan=1>61.4</td><td rowspan=1 colspan=1>82.8</td></tr><tr><td rowspan=1 colspan=1>64.2</td><td rowspan=1 colspan=1>85.6</td></tr><tr><td rowspan=1 colspan=1>(1/1)x4(1/1)×6</td><td rowspan=1 colspan=1>66.361.0</td><td rowspan=1 colspan=1>86.61</td></tr><tr><td rowspan=3 colspan=1>BNN (Courbariaux et al., 2016)XNOR-Net (Rastegari et al., 2016)Trained Bin (Xu & Cheung,2019)Bi-Real Net (Liu et al., 2018)**CI-Net (Wang et al., 2019)XNOR-Net++ (Bulat & Tzimiropoulos,2019)CI-Net (Wang et al., 2019)**</td><td rowspan=2 colspan=1>1/11/11/11/1</td><td rowspan=2 colspan=1>42.251.254.256.4</td><td rowspan=1 colspan=1>69.273.277.9</td></tr><tr><td rowspan=2 colspan=1>56.456.757.159.9</td><td rowspan=2 colspan=1>79.580.179.984.2</td></tr><tr><td rowspan=1 colspan=1>1/11/11/1</td></tr><tr><td rowspan=2 colspan=1>Strong Baseline (ours)**Real-to-Bin (ours)**</td><td rowspan=1 colspan=1>1/1</td><td rowspan=1 colspan=1>60.9</td><td rowspan=1 colspan=1>83.0</td></tr><tr><td rowspan=1 colspan=1>1/1</td><td rowspan=1 colspan=1>65.4</td><td rowspan=1 colspan=1>86.2</td></tr><tr><td rowspan=1 colspan=1>Real valuedReal valued T-S</td><td rowspan=1 colspan=1>32/3232/32</td><td rowspan=1 colspan=1>69.370.7</td><td rowspan=1 colspan=1>89.290.0</td></tr></table>
|
| 160 |
+
|
| 161 |
+
Table 3: Top-1 and Top-5 classification accuracy using ResNet-18 on CIFAR-100. \*\* indicates real-valued downsample layers. $G$ indicates that the gating function of Sec. 4.3 is used.
|
| 162 |
+
|
| 163 |
+
<table><tr><td rowspan=2 colspan=1>Method</td><td rowspan=1 colspan=1>Stage 1</td><td rowspan=1 colspan=1>Stage 2</td></tr><tr><td rowspan=1 colspan=1>Top-1/Top-5</td><td rowspan=1 colspan=1>Top-1/Top-5</td></tr><tr><td rowspan=1 colspan=1>Strong BaselineSB + Att TransSB + Att Trans + HKDSB +GSB + Progressive TSReal-to-Bin</td><td rowspan=1 colspan=1>69.3/88.772.2 /90.373.1 /91.267.2 / 87.073.8 /91.575.0 /92.2</td><td rowspan=1 colspan=1>68.0/88.371.1/90.171.9 /90.966.2 / 86.872.3 / 89.873.5 / 91.6</td></tr><tr><td rowspan=1 colspan=1>Strong Baseline**SB + Att Trans**SB+Att Trans + HKD**SB + G**SB + Progressive TS**Real-to-Bin**</td><td rowspan=1 colspan=1>72.1/89.974.3 /91.375.4 /92.272.0 /89.875.7 /92.176.5 /92.8</td><td rowspan=1 colspan=1>69.6/89.272.6 /91.473.9 /91.270.9 / 89.374.6 / 91.876.2 / 92.7</td></tr><tr><td rowspan=1 colspan=1>Full Prec (our impl.)Full Prec + TS (our impl.)</td><td rowspan=1 colspan=2>78.3/93.679.3 /94.4</td></tr></table>
|
| 164 |
+
|
| 165 |
+
# 6 CONCLUSION
|
| 166 |
+
|
| 167 |
+
In this work we showed how to train binary networks to within a few percent points of their realvalued counterpart, turning binary networks from hopeful research into a compelling alternative to real-valued networks. We did so by training a binary network to not only predict training labels, but also mimic the behaviour of real-valued networks. To this end, we devised a progressive attention matching strategy to drive optimization, and combined it with a gating strategy for scaling the output of binary convolutions, increasing the representation power of the convolutional block. The two strategies combine perfectly to boost the state-of-the-art of binary networks by 5.5 top-1 accuracy on ImageNet, the standard benchmark for binary networks.
|
| 168 |
+
|
| 169 |
+
# REFERENCES
|
| 170 |
+
|
| 171 |
+
Milad Alizadeh, Javier Fernandez-Marqu ´ es, Nicholas D. Lane, and Yarin Gal. An empirical study of ´ binary neural networks’ optimisation. In International Conference on Learning Representations, 2019.
|
| 172 |
+
|
| 173 |
+
Joseph Bethge, Haojin Yang, Marvin Bornstein, and Christoph Meinel. Back to simplicity: How to train accurate BNNs from scratch? arXiv preprint arXiv:1906.08637, 2019.
|
| 174 |
+
|
| 175 |
+
Adrian Bulat and Georgios Tzimiropoulos. XNOR-Net $^ { + + }$ : Improved binary neural networks. In British Machine Vision Conference, 2019.
|
| 176 |
+
|
| 177 |
+
Adrian Bulat, Georgios Tzimiropoulos, Jean Kossaifi, and Maja Pantic. Improved training of binary networks for human pose estimation and image recognition. arXiv preprint arXiv:1904.05868, 2019.
|
| 178 |
+
|
| 179 |
+
Zhaowei Cai, Xiaodong He, Jian Sun, and Nuno Vasconcelos. Deep learning with low precision by half-wave gaussian quantization. In IEEE Conference on Computer Vision and Pattern Recognition, 2017.
|
| 180 |
+
|
| 181 |
+
Matthieu Courbariaux, Itay Hubara, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Binarized neural networks: Training deep neural networks with weights and activations constrained to $+ 1$ or-1. arXiv, 2016.
|
| 182 |
+
|
| 183 |
+
Ruizhou Ding, Ting-Wu Chin, Zeye Liu, and Diana Marculescu. Regularizing activation distribution for training binarized deep networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 184 |
+
|
| 185 |
+
Julian Faraone, Nicholas J. Fraser, Michaela Blott, and Philip H. W. Leong. SYQ: learning symmetric quantization for efficient deep neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 186 |
+
|
| 187 |
+
Ruihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li, Peng Hu, Jiazhen Lin, Fengwei Yu, and Junjie Yan. Differentiable soft quantization: Bridging full-precision and low-bit neural networks. arXiv, 2019.
|
| 188 |
+
|
| 189 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In IEEE International Conference on Computer Vision, pp. 1026–1034, 2015.
|
| 190 |
+
|
| 191 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.
|
| 192 |
+
|
| 193 |
+
Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 194 |
+
|
| 195 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 196 |
+
|
| 197 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009.
|
| 198 |
+
|
| 199 |
+
Xiaofan Lin, Cong Zhao, and Wei Pan. Towards accurate binary convolutional neural network. In Advances on Neural Information Processing Systems, 2017.
|
| 200 |
+
|
| 201 |
+
Chunlei Liu, Wenrui Ding, Xin Xia, Baochang Zhang, Jiaxin Gu, Jianzhuang Liu, Rongrong Ji, and David Doermann. Circulant binary convolutional networks: Enhancing the performance of 1-bit dcnns with circulant back propagation. In IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 202 |
+
|
| 203 |
+
Zechun Liu, Baoyuan Wu, Wenhan Luo, Xin Yang, Wei Liu, and Kwang-Ting Cheng. Bi-Real Net: Enhancing the performance of 1-bit CNNs with improved representational capability and advanced training algorithm. In European Conference on Computer Vision, 2018.
|
| 204 |
+
|
| 205 |
+
Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-Net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, 2016.
|
| 206 |
+
|
| 207 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. ImageNet Large Scale Visual Recognition Challenge. International Journal on Computer Vision, 115(3):211–252, 2015.
|
| 208 |
+
|
| 209 |
+
Daniel Soudry, Itay Hubara, and Ron Meir. Expectation backpropagation: Parameter-free training of multilayer neural networks with continuous or discrete weights. In Advances on Neural Information Processing Systems, 2014.
|
| 210 |
+
|
| 211 |
+
Ziwei Wang, Jiwen Lu, Chenxin Tao, Jie Zhou, and Qi Tian. Learning channel-wise interactions for binary convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 212 |
+
|
| 213 |
+
Zhe Xu and Ray C.C. Cheung. Accurate and compact convolutional neural networks with trained binarization. In British Machine Vision Conference, 2019.
|
| 214 |
+
|
| 215 |
+
Haojin Yang, Martin Fritzsche, Christian Bartz, and Christoph Meinel. BMXNet: An open-source binary neural network implementation based on MXNet. In ACM International Conference on Multimedia, 2017.
|
| 216 |
+
|
| 217 |
+
Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In International Conference on Learning Representations, 2017.
|
| 218 |
+
|
| 219 |
+
Dongqing Zhang, Jiaolong Yang, Dongqiangzi Ye, and Gang Hua. LQ-Nets: Learned quantization for highly accurate and compact deep neural networks. In European Conference on Computer Vision, 2018.
|
| 220 |
+
|
| 221 |
+
Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017.
|
| 222 |
+
|
| 223 |
+
Jianhao Zhang, Yingwei Pan, Ting Yao, He Zhao, and Tao Mei. dabnn: A super fast inference framework for binary neural networks on ARM devices. In ACM International Conference on Multimedia, 2019.
|
| 224 |
+
|
| 225 |
+
Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. DoReFa-Net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv, 2016.
|
| 226 |
+
|
| 227 |
+
Chenzhuo Zhu, Song Han, Huizi Mao, and William J Dally. Trained ternary quantization. International Conference on Learning Representations, 2017.
|
| 228 |
+
|
| 229 |
+
Shilin Zhu, Xin Dong, and Hao Su. Binary ensemble neural network: More bits per network or more networks per bit? In IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
| 230 |
+
|
| 231 |
+
Bohan Zhuang, Chunhua Shen, Mingkui Tan, Lingqiao Liu, and Ian D. Reid. Towards effective low-bitwidth convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 232 |
+
|
| 233 |
+
Bohan Zhuang, Chunhua Shen, Mingkui Tan, Lingqiao Liu, and Ian Reid. Structured binary neural networks for accurate image classification and semantic segmentation. In IEEE Conference on Computer Vision and Pattern Recognition, 2019.
|
parse/train/BJg4NgBKvH/BJg4NgBKvH_content_list.json
ADDED
|
@@ -0,0 +1,1263 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "TRAINING BINARY NEURAL NETWORKS WITH REALTO-BINARY CONVOLUTIONS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
112,
|
| 9 |
+
820,
|
| 10 |
+
160
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Brais Martinez1, Jing Yang1,2,\\*, Adrian Bulat1,\\* & Georgios Tzimiropoulos1,2 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
181,
|
| 20 |
+
715,
|
| 21 |
+
199
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1 Samsung AI Research Center, Cambridge, UK 2 Computer Vision Laboratory, The University of Nottingham, UK {brais.a,adrian.bulat,georgios.t}@samsung.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
200,
|
| 31 |
+
622,
|
| 32 |
+
242
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
279,
|
| 43 |
+
544,
|
| 44 |
+
292
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "This paper shows how to train binary networks to within a few percent points $( \\sim 3 - 5 \\% )$ of the full precision counterpart. We first show how to build a strong baseline, which already achieves state-of-the-art accuracy, by combining recently proposed advances and carefully adjusting the optimization procedure. Secondly, we show that by attempting to minimize the discrepancy between the output of the binary and the corresponding real-valued convolution, additional significant accuracy gains can be obtained. We materialize this idea in two complementary ways: (1) with a loss function, during training, by matching the spatial attention maps computed at the output of the binary and real-valued convolutions, and (2) in a data-driven manner, by using the real-valued activations, available during inference prior to the binarization process, for re-scaling the activations right after the binary convolution. Finally, we show that, when putting all of our improvements together, the proposed model beats the current state of the art by more than $5 \\%$ top-1 accuracy on ImageNet and reduces the gap to its realvalued counterpart to less than $3 \\%$ and $5 \\%$ top-1 accuracy on CIFAR-100 and ImageNet respectively when using a ResNet-18 architecture. Code available at https://github.com/brais-martinez/real2binary. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
311,
|
| 54 |
+
764,
|
| 55 |
+
547
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
578,
|
| 66 |
+
336,
|
| 67 |
+
594
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Following the introduction of the BinaryNeuralNet (BNN) algorithm (Courbariaux et al., 2016), binary neural networks emerged as one of the most promising approaches for obtaining highly efficient neural networks that can be deployed on devices with limited computational resources. Binary convolutions are appealing mainly for two reasons: (a) Model compression: if the weights of the network are stored as bits in a 32-bit float, this implies a reduction of $3 2 \\times$ in memory usage. (b) Computational speed-up: computationally intensive floating-point multiply and add operations are replaced by efficient xnor and pop-count operations, which have been shown to provide practical speed-ups of up to $5 8 \\times$ on CPU (Rastegari et al., 2016) and, as opposed to general low bit-width operations, are amenable to standard hardware. Despite these appealing properties, binary neural networks have been criticized as binarization typically results in large accuracy drops. Thus, their deployment in practical scenarios is uncommon. For example, on ImageNet classification, there is a $\\sim 1 8 \\%$ gap in top-1 accuracy between a ResNet-18 and its binary counterpart when binarized with XNOR-Net (Rastegari et al., 2016), which is the method of choice for neural network binarization. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
173,
|
| 76 |
+
612,
|
| 77 |
+
825,
|
| 78 |
+
791
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "But how far are we from training binary neural networks that are powerful enough to become a viable alternative to real-valued networks? Our first contribution in this work is to take stock of recent advances on binary neural networks and train a very strong baseline which already results in state-of-the-art performance. Our second contribution is a method for bridging most of the remaining gap, which boils down to minimizing the discrepancy between the output of the binary and the corresponding real-valued convolution. This idea is materialized in our work in two complementary ways: Firstly, we use an attention matching strategy so that the real-valued network can more closely guide the binary network during optimization. However, we show that due to the architectural discrepancies between the real and the binary networks, a direct application of teacher-student produces sub-optimal performance. Instead, we propose to use a sequence of teacher-student pairs that progressively bridges the architectural gap. Secondly, we further propose to use the real-valued activations of the binary network, available prior to the binarization preceding convolution, to compute scale factors that are used to re-scale the activations right after the application of the binary convolution. This is in line with recent works which have shown that re-scaling the binary convolution output can result in large performance gains (Rastegari et al., 2016; Bulat & Tzimiropoulos, 2019). However, unlike prior work, we compute the scaling factors in a data-driven manner based on the real-valued activations of each layer prior to binarization, which results in superior performance. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
799,
|
| 88 |
+
823,
|
| 89 |
+
897
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/dd8eb93919f6df00a97eca8a42b9931655439baef5d3ccbf0626594cd97c71a4.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Left: The proposed real-to-binary block. The diagram shows how spatial attention maps computed from a teacher real-valued network are matched with the ones computed from the binary network. Supervision is injected at the end of each binary block. See also section 4.2. Right: The proposed data-driven channel re-scaling approach. The left-hand side branch corresponds to the standard binary convolution module. The right-hand side branch corresponds to the proposed gating function that computes the channel-scaling factors from the output of the batch normalization. The factor $r$ controls the compression ratio on the gating function, and $H$ , $W$ and $C$ indicate the two spatial and the channel dimensions of the activation tensors. See also section 4.3. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
215,
|
| 102 |
+
101,
|
| 103 |
+
782,
|
| 104 |
+
327
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
487,
|
| 114 |
+
825,
|
| 115 |
+
626
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Overall, we make the following contributions: ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
632,
|
| 125 |
+
482,
|
| 126 |
+
647
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "• We construct a very strong baseline by combining some recent insights on training binary networks and by performing a thorough experimentation to find the most well-suited optimization techniques. We show that this baseline already achieves state-of-the-art accuracy on ImageNet, surpassing all previously published works on binary networks. \nWe propose a real-to-binary attention matching: this entails that matching spatial attention maps computed at the output of the binary and real-valued convolutions is particularly suited for training binary neural networks (see Fig. 1 left and section 4.2). We also devise an approach in which the architectural gap between real and binary networks is progressively bridged through a sequence of teacher-student pairs. \nWe propose a data-driven channel re-scaling: this entails using the real-valued activations of the binary network prior to their binarization to compute the scale factors used to rescale the activations produced right after the application of the binary convolution. See Fig. 1, right, and section 4.3. \n• We show that our combined contributions provide, for the first time, competitive results on two standard datasets, achieving $7 6 . 2 \\%$ top-1 performance on CIFAR-100 and $6 5 . 4 \\%$ top-1 performance on ImageNet when using a ResNet-18 –a gap bellow $3 \\%$ and $5 \\%$ respectively compared to their full precision counterparts. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
214,
|
| 135 |
+
661,
|
| 136 |
+
825,
|
| 137 |
+
915
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
102,
|
| 148 |
+
339,
|
| 149 |
+
117
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 2
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "While being pre-dated by other works on binary networks (Soudry et al., 2014), the BNN algorithm (Courbariaux et al., 2016) established how to train networks with binary weights within the familiar back-propagation paradigm. The training method relies on a real-valued copy of the network weights which is binarized during the forward pass, but is updated during back-propagation ignoring the binarization step. Unfortunately, BNN resulted in a staggering $\\sim 2 8 \\%$ gap in top-1 accuracy compared to the full precision ResNet-18 on ImageNet. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
140,
|
| 159 |
+
823,
|
| 160 |
+
223
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 2
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "It is worth noting that binary networks do have a number of floating point operations. In fact, the output of a binary convolution is not binary (values are integers resulting from the count). Also, in accordance to other low bit-width quantization methodologies, the first convolution (a costly $7 \\times 7$ kernel in ResNet), the fully connected layer and the batch normalization layers are all real-valued. In consequence, a line of research has focused on developing methodologies that add a fractional amount of real-valued operations in exchange for significant accuracy gains. For example, the seminal work of XNOR-Net (Rastegari et al., 2016) proposed to add a real-valued scaling factor to each output channel of a binary convolution, a technique that has become standard for binary networks. Similarly, Bi-Real Net (Liu et al., 2018) argued that skip connections are fundamental for binary networks and observed that the flow of full precision activations provided by the skip connections is interrupted by the binary downsample convolutions. This degrades the signal and make subsequent skip connections less effective. To alleviate this, they proposed making the downsample layers real valued, obtaining around $3 \\%$ accuracy increase in exchange for a small increase in computational complexity. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
231,
|
| 170 |
+
825,
|
| 171 |
+
424
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Improving the optimization algorithm for binary networks has been another fundamental line of research. Examples include the use of smooth approximations of the gradient, the use of PReLU (Bulat et al., 2019), a two-stage training which binarizes the weights first and then the activations (Bulat et al., 2019) and progressive quantization (Gong et al., 2019; Bulat et al., 2019). The work in (Wang et al., 2019) proposed to learn channel correlations through reinforcement learning to better preserve the sign of a convolution output. A set of regularizers are added to the loss term in (Ding et al., 2019) so as to control the range of values of the activations, and guarantee good gradient flow. Other optimization aspects, such the effect of gradient clipping or batch-norm momentum, were empirically tested in (Alizadeh et al., 2019). In section 4.1, we show how to combine many of the insights provided in these works with standard optimization techniques to obtain a very strong baseline that already achieves state-of-the-art accuracy. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
431,
|
| 181 |
+
825,
|
| 182 |
+
583
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "While the aforementioned works either maintain the same computational cost, or increase it by a fractional amount, other research has focused instead on relaxing the problem constraints by increasing the number of binary operations by a large amount, typically a factor of 2 to 8 times. Examples include ABC-Net (Lin et al., 2017), the structure approximation of (Zhuang et al., 2019), the circulant CNN of (Liu et al., 2019), and the binary ensemble of (Zhu et al., 2019). Note that the large increase of binary operations diminishes the efficiency claim that justifies the use of binary networks in first place. Furthermore, we will show that there is still a lot of margin in order to bridge the accuracy gap prior to resorting to scaling up the network capacity1. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
590,
|
| 192 |
+
825,
|
| 193 |
+
703
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "The methodology proposed in this paper has some relations with prior work: our use of attention matching as described in section 4.2 is somewhat related to the feature distillation approach of (Zhuang et al., 2018). However, (Zhuang et al., 2018) tries to match whole feature maps of the to-be-quantized network with the quantized feature maps of a real-valued network that is trained in parallel with the to-be-quantized network. Such an approach is shown to improve training of low-bitwidth quantized models but not binary networks. Notably, our approach based on matching attention maps is much simpler and shown to be effective for the case of binary networks. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
709,
|
| 203 |
+
825,
|
| 204 |
+
806
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Our data-driven channel re-scaling approach, described in section 4.3, is related to the channel rescaling approach of XNOR-Net, and also that of (Xu & Cheung, 2019; Bulat & Tzimiropoulos, 2019), which propose to learn the scale factors discriminatively through backpropagation. Contrary to (Xu & Cheung, 2019; Bulat & Tzimiropoulos, 2019), our method is data-driven and avoids using fixed scale factors learnt during training. Contrary to XNOR-Net, our method discriminatively learns how to produce the data-driven scale factors so that they are optimal for the task in hand. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
814,
|
| 214 |
+
823,
|
| 215 |
+
869
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "",
|
| 222 |
+
"bbox": [
|
| 223 |
+
173,
|
| 224 |
+
103,
|
| 225 |
+
823,
|
| 226 |
+
132
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 3
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "3 BACKGROUND ",
|
| 233 |
+
"text_level": 1,
|
| 234 |
+
"bbox": [
|
| 235 |
+
176,
|
| 236 |
+
152,
|
| 237 |
+
326,
|
| 238 |
+
170
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 3
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "This section reviews the binarization process proposed in (Courbariaux et al., 2016) and its improved version from (Rastegari et al., 2016), which is the method of choice for neural network binarization. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
184,
|
| 248 |
+
823,
|
| 249 |
+
213
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 3
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "We denote by $\\mathcal { W } \\in \\mathbb { R } ^ { o \\times c \\times k \\times k }$ and $\\mathcal { A } \\in \\mathbb { R } ^ { c \\times w _ { i n } \\times h _ { i n } }$ the weights and input features of a CNN layer, where $o$ and $c$ represent the number of output and input channels, $k$ the width and height of the kernel, and $w _ { i n }$ and $h _ { i n }$ represent the spatial dimension of the input features $\\mathcal { A }$ . In (Courbariaux et al., 2016), both weights and activations are binarized using the sign function and then convolution is performed as $\\mathcal { A } \\ast \\mathcal { W } \\approx \\mathrm { s i g n } ( \\mathcal { A } ) \\circledast \\mathrm { s i g n } ( \\mathcal { W } )$ where $\\circledast$ denotes the binary convolution, which can be implemented using bit-wise operations. ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
218,
|
| 259 |
+
825,
|
| 260 |
+
304
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 3
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "However, this direct binarization approach introduces a high quantization error that leads to low accuracy. To alleviate this, XNOR-Net (Rastegari et al., 2016) proposes to use real-valued scaling factors to re-scale the output of the binary convolution as ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
310,
|
| 270 |
+
825,
|
| 271 |
+
353
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 3
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "equation",
|
| 277 |
+
"img_path": "images/9f7a1fe3ef694e43d70b827d9be5d8c219e5b5c4a85eee9a87a6eb821fd15178.jpg",
|
| 278 |
+
"text": "$$\n\\mathcal { A } \\ast \\mathcal { W } \\approx ( \\mathrm { s i g n } ( \\mathcal { A } ) \\circledast \\mathrm { s i g n } ( \\mathcal { W } ) ) \\odot \\mathcal { K } \\alpha ,\n$$",
|
| 279 |
+
"text_format": "latex",
|
| 280 |
+
"bbox": [
|
| 281 |
+
364,
|
| 282 |
+
361,
|
| 283 |
+
632,
|
| 284 |
+
378
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "where $\\odot$ denotes the element-wise multiplication, $_ \\alpha$ and $\\kappa$ are the weight and activation scaling factors, respectively, calculated in Rastegari et al. (2016) in an analytic manner. More recently, Bulat & Tzimiropoulos (2019) proposed to fuse $_ { \\pmb { \\alpha } }$ and $\\kappa$ into a single factor $\\Gamma$ that is learned via backpropagation, resulting in further accuracy gains. ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
385,
|
| 294 |
+
825,
|
| 295 |
+
441
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "4 METHOD ",
|
| 302 |
+
"text_level": 1,
|
| 303 |
+
"bbox": [
|
| 304 |
+
174,
|
| 305 |
+
462,
|
| 306 |
+
282,
|
| 307 |
+
478
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 3
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "This section firstly introduces our strong baseline. Then, we present two ways to improve the approximation of Eq. 1: Firstly, we use a loss based on matching attention maps computed from the binary and a real-valued network (see section 4.2). Secondly, we make the scaling factor a function of the real-valued input activations $\\mathcal { A }$ (see section 4.3). ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
174,
|
| 316 |
+
494,
|
| 317 |
+
825,
|
| 318 |
+
551
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "4.1 BUILDING A STRONG BASELINE",
|
| 325 |
+
"text_level": 1,
|
| 326 |
+
"bbox": [
|
| 327 |
+
176,
|
| 328 |
+
569,
|
| 329 |
+
433,
|
| 330 |
+
583
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Currently, almost all works on binary networks use XNOR-Net and BNN as baselines. In this section, we show how to construct a strong baseline by incorporating insights and techniques described in recent works as well as standard optimization techniques. We show that our baseline already achieves state-of-the-art accuracy. We believe this is an important contribution towards understanding the true impact of proposed methodologies and towards assessing the true gap with real-valued networks. Following prior work in binary networks, we focus on the ResNet-18 architecture and apply the improvements listed below: ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
173,
|
| 339 |
+
594,
|
| 340 |
+
825,
|
| 341 |
+
693
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Block structure: It is well-known that a modified ResNet block must be used to obtain optimal results for binary networks. We found the widely-used setting where the operations are ordered as BatchNorm Binarization BinaryConv Activation to be the best. The skip connection is the last operation of the block (Rastegari et al., 2016). Note that we use the sign function to binarize the activations. However, the BatchNorm layer includes an affine transformation and this ordering of the blocks allows its bias term act as a learnable binarization threshold. ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
173,
|
| 350 |
+
698,
|
| 351 |
+
825,
|
| 352 |
+
784
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 3
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "Residual learning: We used double skip connections, as proposed in (Liu et al., 2018). ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
174,
|
| 361 |
+
790,
|
| 362 |
+
743,
|
| 363 |
+
804
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 3
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "Activation: We used PReLU (He et al., 2015) as it is known to facilitate the training of binary networks (Bulat et al., 2019). ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
174,
|
| 372 |
+
810,
|
| 373 |
+
823,
|
| 374 |
+
839
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "Scaling factors: We used discriminatively learnt scaling factors via backpropagation as in (Bulat & Tzimiropoulos, 2019). ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
173,
|
| 383 |
+
845,
|
| 384 |
+
821,
|
| 385 |
+
875
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "Downsample layers: We used real-valued downsample layers (Liu et al., 2018). We found the large accuracy boost to be consistent across our experiments (around $3 - 4 \\%$ top-1 improvement on ImageNet). ",
|
| 392 |
+
"bbox": [
|
| 393 |
+
176,
|
| 394 |
+
881,
|
| 395 |
+
823,
|
| 396 |
+
922
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 3
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "We used the following training strategies to train our strong baseline: ",
|
| 403 |
+
"bbox": [
|
| 404 |
+
176,
|
| 405 |
+
103,
|
| 406 |
+
625,
|
| 407 |
+
118
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 4
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "Initialization: When training binary networks, it is crucial to use a 2-stage optimization strategy (Bulat et al., 2019). In particular, we first train a network using binary activations and real-valued weights, and then use the resulting model as initialization to train a network where both weights and activations are binarized. ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
174,
|
| 416 |
+
125,
|
| 417 |
+
825,
|
| 418 |
+
180
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 4
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "Weight decay: Setting up weight decay carefully is surprisingly important. We use $1 e - 5$ when training stage 1 (binary activation and real weights network), and set it to 0 on stage 2 (Bethge et al., 2019). Note that weights at stage 2 are either 1 or $- 1$ , so applying an $L _ { 2 }$ regularization term to them does not make sense. ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
174,
|
| 427 |
+
188,
|
| 428 |
+
825,
|
| 429 |
+
243
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 4
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "Data augmentation: For CIFAR-100 we use the standard random crop, horizontal flip and rotation $( \\pm 1 5 ^ { \\circ } )$ . For ImageNet, we found that random cropping, flipping and colour jitter augmentation worked best. However, colour jitter is disabled for stage 2. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
251,
|
| 439 |
+
825,
|
| 440 |
+
292
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "Mix-up: We found that mix-up (Zhang et al., 2017) is crucial for CIFAR-100, while it slightly hurts performance for ImageNet – this is due to the higher risk of overfitting on CIFAR-100. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
299,
|
| 450 |
+
823,
|
| 451 |
+
328
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "Warm-up: We used warm-up for 5 epochs during stage 1 and no warm-up for stage 2. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
334,
|
| 461 |
+
738,
|
| 462 |
+
349
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "Optimizer: We used Adam (Kingma & Ba, 2014) with a stepwise scheduler. The learning rate is set to $1 e - 3$ for stage 1, and $2 e - 4$ for stage 2. For CIFAR-100, we trained for 350 epochs, with steps at epochs 150, 250 and 320. For ImageNet, we train for 75 epochs, with steps at epochs 40, 60 and 70. Batch sizes are 256 for ImageNet and 128 for CIFAR-100. ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
356,
|
| 472 |
+
825,
|
| 473 |
+
412
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "4.2 REAL-TO-BINARY ATTENTION MATCHING ",
|
| 480 |
+
"text_level": 1,
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
430,
|
| 484 |
+
509,
|
| 485 |
+
445
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "We make the reasonable assumption that if a binary network is trained so that the output of each binary convolution more closely matches the output of a real convolution in the corresponding layer of a real-valued network, then significant accuracy gains can be obtained. Notably, a similar assumption was made in (Rastegari et al., 2016) where analytic scale factors were calculated so that the error between binary and real convolutions is minimized. Instead, and inspired by the attention transfer method of (Zagoruyko & Komodakis, 2017), we propose to enforce such a constraint via a loss term at the end of each convolutional block by comparing attention maps calculated from the binary and real-valued activations. Such supervisory signals provide the binary network with muchneeded extra guidance. It is also well-known that backpropagation for binary networks is not as effective as for real-valued ones. By introducing such loss terms at the end of each block, gradients do not have to traverse the whole network and suffer a degraded signal. ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
173,
|
| 494 |
+
457,
|
| 495 |
+
825,
|
| 496 |
+
611
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "Assuming that attention matching is applied at a set of $\\mathcal { I }$ transfer points within the network, the total loss can be expressed as: ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
171,
|
| 505 |
+
617,
|
| 506 |
+
823,
|
| 507 |
+
646
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "equation",
|
| 513 |
+
"img_path": "images/6e72c68e6bd943c5f336d1b6c3a4883dad5f9b28ce57347fcd1f89da1eaa0c0e.jpg",
|
| 514 |
+
"text": "$$\n\\mathcal { L } _ { a t t } = \\sum _ { j = 1 } ^ { \\mathcal { I } } \\Vert \\frac { \\mathcal { Q } _ { S } ^ { j } } { \\Vert \\mathcal { Q } _ { S } ^ { j } \\Vert _ { 2 } } - \\frac { \\mathcal { Q } _ { T } ^ { j } } { \\Vert \\mathcal { Q } _ { T } ^ { j } \\Vert _ { 2 } } \\Vert ,\n$$",
|
| 515 |
+
"text_format": "latex",
|
| 516 |
+
"bbox": [
|
| 517 |
+
387,
|
| 518 |
+
654,
|
| 519 |
+
609,
|
| 520 |
+
699
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "where $\\begin{array} { r } { \\mathcal { Q } ^ { j } = \\sum _ { i = 1 } ^ { c } | \\mathcal { A } _ { i } | ^ { 2 } } \\end{array}$ and $A _ { i }$ is the $i -$ th channel of activation map $\\mathcal { A }$ . Moreover, at the end of the network, we apply a standard logit matching loss (Hinton et al., 2015). ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
174,
|
| 529 |
+
708,
|
| 530 |
+
821,
|
| 531 |
+
737
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 4
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "Progressive teacher-student: We observed that teacher and student having as similar architecture as possible is very important in our case. We thus train a sequence of teacher-student pairs that progressively bridges the differences between the real network and the binary network in small increments: ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
174,
|
| 540 |
+
742,
|
| 541 |
+
825,
|
| 542 |
+
797
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "Step 1: the teacher is the real-valued network with the standard ResNet architecture. The student is another real-valued network, but with the same architecture as the binary ResNet-18 (e.g. double skip connection, layer ordering, PReLU activations, etc). Furthermore, a soft binarization (a Tanh function) is applied to the activations instead of the binarization (sign) function. In this way the network is still real-valued, but it behaves more closely to a network with binary activations. ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
174,
|
| 551 |
+
799,
|
| 552 |
+
825,
|
| 553 |
+
867
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "Step 2: The network resulting from the previous step is used as the teacher. A network with binary activations and real-valued weights is used as the student. ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
173,
|
| 562 |
+
868,
|
| 563 |
+
821,
|
| 564 |
+
896
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "Step 3: The network resulting from step 2 is used as the teacher and the network with binary weights and binary activations is the student. In this stage, only logit matching is used. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
896,
|
| 574 |
+
823,
|
| 575 |
+
924
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "4.3 DATA-DRIVEN CHANNEL RE-SCALING ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
176,
|
| 585 |
+
104,
|
| 586 |
+
475,
|
| 587 |
+
117
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "While the approach of the previous section provides better guidance for the training of binary networks, the representation power of binary convolutions is still limited, hindering its capacity to approximate the real-valued network. Here we describe how to boost the representation capability of a binary neural network and yet incur in only a negligible increment on the number of operations. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
174,
|
| 596 |
+
130,
|
| 597 |
+
823,
|
| 598 |
+
185
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "Previous works have shown the effectiveness of re-scaling binary convolutions with the goal of better approximating real convolutions. XNOR-Net (Rastegari et al., 2016) proposed to compute these scale factors analytically while (Bulat & Tzimiropoulos, 2019; Xu & Cheung, 2019) proposed to learn them discriminatively in an end-to-end manner, showing additional accuracy gains. For the latter case, during training, the optimization aims to find a set of fixed scaling factors that minimize the average expected loss for the training set. We propose instead to go beyond this and obtain discriminatively-trained input-dependent scaling factors – thus, at test time, these scaling factors will not be fixed but rather inferred from data. ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
174,
|
| 607 |
+
193,
|
| 608 |
+
825,
|
| 609 |
+
304
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "Let us first recall what the signal flow is when going through a binary block. The activations entering a binary block are actually real-valued. Batch normalization centers the activations, which are then binarized, losing a large amount of information. Binary convolution, re-scaling and PReLU follow. We propose to use the full-precision activation signal, available prior to the large information loss incurred by the binarization operation, to predict the scaling factors used to re-scale the output of the binary convolution channel-wise. Specifically, we propose to approximate the real convolution as follows: ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
310,
|
| 619 |
+
825,
|
| 620 |
+
407
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "equation",
|
| 626 |
+
"img_path": "images/d6481f5f75c50eea92574a5a4ad126073eff2c4255b99690a5c11840a9eebb6f.jpg",
|
| 627 |
+
"text": "$$\n\\mathcal { A } \\ast \\mathcal { W } \\approx ( \\mathrm { s i g n } ( \\mathcal { A } ) \\circledast \\mathrm { s i g n } ( \\mathcal { W } ) ) \\odot \\alpha \\odot G ( \\mathcal { A } ; \\mathcal { W } _ { G } ) ,\n$$",
|
| 628 |
+
"text_format": "latex",
|
| 629 |
+
"bbox": [
|
| 630 |
+
325,
|
| 631 |
+
429,
|
| 632 |
+
671,
|
| 633 |
+
446
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "where $\\mathcal { W } _ { G }$ are the parameters of the gating function $G$ . Such function computes the scale factors used to re-scale the output of the binary convolution, and uses the pre-convolution real-valued activations as input. Fig. 1 shows our implementation of function $G$ . The design is inspired by Hu et al. (2018), but we use the gating function to predict ahead rather than as a self-attention mechanism. ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
174,
|
| 642 |
+
457,
|
| 643 |
+
823,
|
| 644 |
+
513
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "An optimal mechanism to modulate the output of the binary convolution clearly should not be the same for all examples as in Bulat & Tzimiropoulos (2019) or Xu & Cheung (2019). Note that in Rastegari et al. (2016) the computation of the scale factors depends on the input activations. However the analytic calculation is sub-optimal with respect to the task at hand. To circumvent the aforementioned problems, our method learns, via backpropagation for the task at hand, to predict the modulating factors using the real-valued input activations. By doing so, more than $1 / 3$ of the remaining gap with the real-valued network is bridged. ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
520,
|
| 654 |
+
825,
|
| 655 |
+
618
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "4.4 COMPUTATIONAL COST ANALYSIS ",
|
| 662 |
+
"text_level": 1,
|
| 663 |
+
"bbox": [
|
| 664 |
+
176,
|
| 665 |
+
636,
|
| 666 |
+
454,
|
| 667 |
+
650
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "Table 1 details the computational cost of the different binary network methodologies. We differentiate between the number of binary and floating point operations, including operations such as skip connections, pooling layers, etc. It shows that our method leaves the number of binary operations constant, and that the number of FLOPs increases by only $1 \\%$ of the total floating point operation count. This is assuming a factor $r$ of 8, which is the one used in all of our experiments. To put this into perspective, the magnitude is similar to the operation increase incurred by the XNOR-Net with respect to its predecessor, BNN. Similarly, the double skip connections proposed in (Liu et al., 2018) adds again a comparable amount of operations. Note however that in order to fully exploit the computational efficiency of binary convolutions during inference, a specialized engine such as (Zhang et al., 2019; Yang et al., 2017) is required. ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
661,
|
| 677 |
+
825,
|
| 678 |
+
801
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 5
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "5 RESULTS ",
|
| 685 |
+
"text_level": 1,
|
| 686 |
+
"bbox": [
|
| 687 |
+
176,
|
| 688 |
+
821,
|
| 689 |
+
281,
|
| 690 |
+
838
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 5
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "We present two main sets of experiments. We used ImageNet (Russakovsky et al., 2015) as a benchmark to compare our method against other state-of-the-art approaches in Sec. 5.1. ImageNet is the most widely used dataset to report results on binary networks and, at the same time, allows us to show for the first time that binary networks can perform competitively on a large-scale dataset. We further used CIFAR-100 (Krizhevsky & Hinton, 2009) to conduct ablation studies (Sec. 5.2). ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
176,
|
| 699 |
+
853,
|
| 700 |
+
823,
|
| 701 |
+
922
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 5
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "table",
|
| 707 |
+
"img_path": "images/90277349eaacaa6b800bf88fbb95c453de228f8dcfada0391dfe5ea055c5a1f3.jpg",
|
| 708 |
+
"table_caption": [
|
| 709 |
+
"Table 1: Breakdown of floating point and binary operations for variants of binary ResNet-18. "
|
| 710 |
+
],
|
| 711 |
+
"table_footnote": [],
|
| 712 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>BOPS</td><td rowspan=1 colspan=1>FLOPS</td></tr><tr><td rowspan=1 colspan=1>BNN (Courbariaux et al., 2016)XNOR-Net (Rastegari et al., 2016)Double Skip ((Liu et al., 2018)Bi-Real (Liu et al.,2018)Ours</td><td rowspan=1 colspan=1>1.695×1091.695×1091.695×1091.676×1091.676×109</td><td rowspan=1 colspan=1>1.314×1081.333×1081.351×1081.544×1081.564×108</td></tr><tr><td rowspan=1 colspan=1>Full Precision</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>1.826×109</td></tr></table>",
|
| 713 |
+
"bbox": [
|
| 714 |
+
281,
|
| 715 |
+
101,
|
| 716 |
+
717,
|
| 717 |
+
208
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 6
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "5.1 COMPARISON WITH THE STATE-OF-THE-ART ",
|
| 724 |
+
"text_level": 1,
|
| 725 |
+
"bbox": [
|
| 726 |
+
174,
|
| 727 |
+
276,
|
| 728 |
+
524,
|
| 729 |
+
291
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 6
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "Table 2 shows a comparison between our method and relevant state-of-the-art methods, including low-bit quantization methods other than binary. ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
176,
|
| 738 |
+
309,
|
| 739 |
+
821,
|
| 740 |
+
337
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 6
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "Vs. other binary networks: Our strong baseline already comfortably achieves state-of-the art results, surpassing the previously best-reported result by about $1 \\%$ (Wang et al., 2019). Our full method further improves over the state-of-the-art by $5 . 5 \\%$ top-1 accuracy. When comparing to binary models that scale the capacity of the network (second set of results on Tab. 2), only (Zhuang et al., 2019) outperforms our method, surpassing it by $0 . 9 \\%$ top-1 accuracy - yet, this is achieved using 4 times the number of binary blocks. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
174,
|
| 749 |
+
344,
|
| 750 |
+
825,
|
| 751 |
+
428
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 6
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "Vs. real-valued networks: Our method reduces the performance gap with its real-valued counterpart to $\\sim 4 \\%$ top-1 accuracy, or $\\sim 5 \\%$ if we compare against a real-valued network trained with attention transfer. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
434,
|
| 761 |
+
825,
|
| 762 |
+
477
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 6
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "Vs. other low-bit quantization: Table 2 also shows a comparison to the state-of-the-art for low-bit quantization methods (first set of results). It can be seen that our method surpasses the performance of all methods, except for TTQ (Zhu et al., 2017), which uses 2-bit weights, full-precision activations and 1.5 the channel width at each layer. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
483,
|
| 772 |
+
825,
|
| 773 |
+
540
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 6
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "5.2 ABLATION STUDIES ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
176,
|
| 783 |
+
570,
|
| 784 |
+
352,
|
| 785 |
+
585
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 6
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "In order to conduct a more detailed ablation study we provide results on CIFAR-100. We thoroughly optimized a ResNet-18 full precision network to serve as the real-valued baseline. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
171,
|
| 794 |
+
602,
|
| 795 |
+
823,
|
| 796 |
+
631
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 6
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Teacher-Student effectiveness: We trained a real-valued ResNet-18 using ResNet-34 as its teacher, yielding $\\sim 1 \\%$ top-1 accuracy increase. Instead, our progressive teacher-student strategy yields $\\sim 5 \\%$ top-1 accuracy gain, showing that it is a fundamental tool when training binary networks, and that its impact is much larger than for real-valued networks, where the baseline optimization is already healthier. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
174,
|
| 805 |
+
651,
|
| 806 |
+
825,
|
| 807 |
+
720
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 6
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "Performance gap to real-valued: We observe that, for CIFAR-100, we close the gap with realvalued networks to about $2 \\%$ when comparing with the full-precision ResNet-18, and to about $3 \\%$ when optimized using teacher supervision. The gap is consistent to that on ImageNet in relative terms: $\\mathrm { { 1 3 \\% } }$ and $1 0 \\%$ relative degradation on ImageNet and CIFAR-100 respectively. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
174,
|
| 816 |
+
728,
|
| 817 |
+
823,
|
| 818 |
+
784
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 6
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Binary vs real downsample: Our proposed method achieves similar performance increase irrespective of whether binary or real-valued downsample layers are used, the improvement being $5 . 5 \\%$ and $6 . 6 \\%$ top-1 accuracy gain respectively. It is also interesting to note that the results on the ablation study are consistent for all entries on both cases. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
174,
|
| 827 |
+
790,
|
| 828 |
+
823,
|
| 829 |
+
847
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 6
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "Scaling factors and attention matching: It is also noteworthy that the gating module is not effective in the absence of attention matching (see $\\mathrm { \\bf S B + G }$ entries). It seems clear from this result that both are interconnected: the extra supervisory signal is necessary to properly guide the training, while the extra flexibility added through the gating mechanism boosts the capacity of the network to mimic the attention map. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
854,
|
| 839 |
+
823,
|
| 840 |
+
924
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 6
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "table",
|
| 846 |
+
"img_path": "images/920287efd5edd1cfde6757b1b37edebed9aa9f14b4cef8438f15029a332e231f.jpg",
|
| 847 |
+
"table_caption": [
|
| 848 |
+
"Table 2: Comparison with state-of-the-art methods on ImageNet. \\*\\* indicates real-valued downsample. The second column indicates the number of bits used to represent weights and activations. Methods include low-bit quantization (upper section), and methods multiplying the capacity of the network (second section). For the latter case, the second column includes the multiplicative factor of the network capacity used. "
|
| 849 |
+
],
|
| 850 |
+
"table_footnote": [],
|
| 851 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Method</td><td rowspan=1 colspan=3>ImageNet</td></tr><tr><td rowspan=1 colspan=1>Bitwidth (W/A)</td><td rowspan=1 colspan=1>Top-1</td><td rowspan=1 colspan=1>Top-5</td></tr><tr><td rowspan=6 colspan=1>BWN (Rastegari et al., 2016)TTQ (Zhu et al., 2017)HWGQ (Cai et al., 2017)LQ-Net (Zhang et al., 2018)SYQ (Faraone et al., 2018)DOREFA-Net (Zhou et al.,2016)</td><td rowspan=1 colspan=1>1/32</td><td rowspan=1 colspan=1>60.8</td><td rowspan=1 colspan=1>83.0</td></tr><tr><td rowspan=2 colspan=1>2/321/2</td><td rowspan=1 colspan=1>66.6</td><td rowspan=1 colspan=1>87.2</td></tr><tr><td rowspan=1 colspan=1>59.6</td><td rowspan=1 colspan=1>82.2</td></tr><tr><td rowspan=3 colspan=1>1/21/22/2</td><td rowspan=1 colspan=1>62.6</td><td rowspan=1 colspan=1>84.3</td></tr><tr><td rowspan=1 colspan=1>55.4</td><td rowspan=1 colspan=1>78.6</td></tr><tr><td rowspan=1 colspan=1>62.6</td><td rowspan=1 colspan=1>84.4</td></tr><tr><td rowspan=4 colspan=1>ABC-Net (Lin et al., 2017)Circulant CNN (Liu et al., 2019)Struct Appr (Zhuang et al., 2019)Struct Appr** (Zhuang et al., 2019)Ensemble (Zhu et al., 2019)</td><td rowspan=1 colspan=1>(1/1)×5</td><td rowspan=1 colspan=1>65.0</td><td rowspan=1 colspan=1>85.9</td></tr><tr><td rowspan=2 colspan=1>(1/1)×4(1/1)×4</td><td rowspan=1 colspan=1>61.4</td><td rowspan=1 colspan=1>82.8</td></tr><tr><td rowspan=1 colspan=1>64.2</td><td rowspan=1 colspan=1>85.6</td></tr><tr><td rowspan=1 colspan=1>(1/1)x4(1/1)×6</td><td rowspan=1 colspan=1>66.361.0</td><td rowspan=1 colspan=1>86.61</td></tr><tr><td rowspan=3 colspan=1>BNN (Courbariaux et al., 2016)XNOR-Net (Rastegari et al., 2016)Trained Bin (Xu & Cheung,2019)Bi-Real Net (Liu et al., 2018)**CI-Net (Wang et al., 2019)XNOR-Net++ (Bulat & Tzimiropoulos,2019)CI-Net (Wang et al., 2019)**</td><td rowspan=2 colspan=1>1/11/11/11/1</td><td rowspan=2 colspan=1>42.251.254.256.4</td><td rowspan=1 colspan=1>69.273.277.9</td></tr><tr><td rowspan=2 colspan=1>56.456.757.159.9</td><td rowspan=2 colspan=1>79.580.179.984.2</td></tr><tr><td rowspan=1 colspan=1>1/11/11/1</td></tr><tr><td rowspan=2 colspan=1>Strong Baseline (ours)**Real-to-Bin (ours)**</td><td rowspan=1 colspan=1>1/1</td><td rowspan=1 colspan=1>60.9</td><td rowspan=1 colspan=1>83.0</td></tr><tr><td rowspan=1 colspan=1>1/1</td><td rowspan=1 colspan=1>65.4</td><td rowspan=1 colspan=1>86.2</td></tr><tr><td rowspan=1 colspan=1>Real valuedReal valued T-S</td><td rowspan=1 colspan=1>32/3232/32</td><td rowspan=1 colspan=1>69.370.7</td><td rowspan=1 colspan=1>89.290.0</td></tr></table>",
|
| 852 |
+
"bbox": [
|
| 853 |
+
215,
|
| 854 |
+
128,
|
| 855 |
+
781,
|
| 856 |
+
469
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 7
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "table",
|
| 862 |
+
"img_path": "images/d1a5d0d7e40376455749af2f123c1aaf6b2a84a0a0a27ef2f8acbf6dd2a084cf.jpg",
|
| 863 |
+
"table_caption": [
|
| 864 |
+
"Table 3: Top-1 and Top-5 classification accuracy using ResNet-18 on CIFAR-100. \\*\\* indicates real-valued downsample layers. $G$ indicates that the gating function of Sec. 4.3 is used. "
|
| 865 |
+
],
|
| 866 |
+
"table_footnote": [],
|
| 867 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Method</td><td rowspan=1 colspan=1>Stage 1</td><td rowspan=1 colspan=1>Stage 2</td></tr><tr><td rowspan=1 colspan=1>Top-1/Top-5</td><td rowspan=1 colspan=1>Top-1/Top-5</td></tr><tr><td rowspan=1 colspan=1>Strong BaselineSB + Att TransSB + Att Trans + HKDSB +GSB + Progressive TSReal-to-Bin</td><td rowspan=1 colspan=1>69.3/88.772.2 /90.373.1 /91.267.2 / 87.073.8 /91.575.0 /92.2</td><td rowspan=1 colspan=1>68.0/88.371.1/90.171.9 /90.966.2 / 86.872.3 / 89.873.5 / 91.6</td></tr><tr><td rowspan=1 colspan=1>Strong Baseline**SB + Att Trans**SB+Att Trans + HKD**SB + G**SB + Progressive TS**Real-to-Bin**</td><td rowspan=1 colspan=1>72.1/89.974.3 /91.375.4 /92.272.0 /89.875.7 /92.176.5 /92.8</td><td rowspan=1 colspan=1>69.6/89.272.6 /91.473.9 /91.270.9 / 89.374.6 / 91.876.2 / 92.7</td></tr><tr><td rowspan=1 colspan=1>Full Prec (our impl.)Full Prec + TS (our impl.)</td><td rowspan=1 colspan=2>78.3/93.679.3 /94.4</td></tr></table>",
|
| 868 |
+
"bbox": [
|
| 869 |
+
290,
|
| 870 |
+
619,
|
| 871 |
+
705,
|
| 872 |
+
848
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "6 CONCLUSION ",
|
| 879 |
+
"text_level": 1,
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
102,
|
| 883 |
+
318,
|
| 884 |
+
117
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 8
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "In this work we showed how to train binary networks to within a few percent points of their realvalued counterpart, turning binary networks from hopeful research into a compelling alternative to real-valued networks. We did so by training a binary network to not only predict training labels, but also mimic the behaviour of real-valued networks. To this end, we devised a progressive attention matching strategy to drive optimization, and combined it with a gating strategy for scaling the output of binary convolutions, increasing the representation power of the convolutional block. The two strategies combine perfectly to boost the state-of-the-art of binary networks by 5.5 top-1 accuracy on ImageNet, the standard benchmark for binary networks. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
133,
|
| 894 |
+
825,
|
| 895 |
+
246
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 8
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "REFERENCES ",
|
| 902 |
+
"text_level": 1,
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
267,
|
| 906 |
+
285,
|
| 907 |
+
282
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 8
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "Milad Alizadeh, Javier Fernandez-Marqu ´ es, Nicholas D. Lane, and Yarin Gal. An empirical study of ´ binary neural networks’ optimisation. In International Conference on Learning Representations, 2019. ",
|
| 914 |
+
"bbox": [
|
| 915 |
+
176,
|
| 916 |
+
290,
|
| 917 |
+
823,
|
| 918 |
+
333
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 8
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "Joseph Bethge, Haojin Yang, Marvin Bornstein, and Christoph Meinel. Back to simplicity: How to train accurate BNNs from scratch? arXiv preprint arXiv:1906.08637, 2019. ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
169,
|
| 927 |
+
343,
|
| 928 |
+
823,
|
| 929 |
+
372
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 8
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "Adrian Bulat and Georgios Tzimiropoulos. XNOR-Net $^ { + + }$ : Improved binary neural networks. In British Machine Vision Conference, 2019. ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
174,
|
| 938 |
+
382,
|
| 939 |
+
820,
|
| 940 |
+
411
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 8
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "Adrian Bulat, Georgios Tzimiropoulos, Jean Kossaifi, and Maja Pantic. Improved training of binary networks for human pose estimation and image recognition. arXiv preprint arXiv:1904.05868, 2019. ",
|
| 947 |
+
"bbox": [
|
| 948 |
+
174,
|
| 949 |
+
421,
|
| 950 |
+
826,
|
| 951 |
+
463
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 8
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "Zhaowei Cai, Xiaodong He, Jian Sun, and Nuno Vasconcelos. Deep learning with low precision by half-wave gaussian quantization. In IEEE Conference on Computer Vision and Pattern Recognition, 2017. ",
|
| 958 |
+
"bbox": [
|
| 959 |
+
173,
|
| 960 |
+
473,
|
| 961 |
+
825,
|
| 962 |
+
517
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 8
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "Matthieu Courbariaux, Itay Hubara, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Binarized neural networks: Training deep neural networks with weights and activations constrained to $+ 1$ or-1. arXiv, 2016. ",
|
| 969 |
+
"bbox": [
|
| 970 |
+
173,
|
| 971 |
+
526,
|
| 972 |
+
821,
|
| 973 |
+
569
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 8
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "Ruizhou Ding, Ting-Wu Chin, Zeye Liu, and Diana Marculescu. Regularizing activation distribution for training binarized deep networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
|
| 980 |
+
"bbox": [
|
| 981 |
+
173,
|
| 982 |
+
579,
|
| 983 |
+
823,
|
| 984 |
+
622
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 8
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "Julian Faraone, Nicholas J. Fraser, Michaela Blott, and Philip H. W. Leong. SYQ: learning symmetric quantization for efficient deep neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
173,
|
| 993 |
+
632,
|
| 994 |
+
825,
|
| 995 |
+
675
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 8
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "Ruihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li, Peng Hu, Jiazhen Lin, Fengwei Yu, and Junjie Yan. Differentiable soft quantization: Bridging full-precision and low-bit neural networks. arXiv, 2019. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
173,
|
| 1004 |
+
685,
|
| 1005 |
+
825,
|
| 1006 |
+
728
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 8
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In IEEE International Conference on Computer Vision, pp. 1026–1034, 2015. ",
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
173,
|
| 1015 |
+
738,
|
| 1016 |
+
825,
|
| 1017 |
+
781
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 8
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. ",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
171,
|
| 1026 |
+
791,
|
| 1027 |
+
823,
|
| 1028 |
+
820
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 8
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
171,
|
| 1037 |
+
830,
|
| 1038 |
+
823,
|
| 1039 |
+
859
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 8
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
173,
|
| 1048 |
+
869,
|
| 1049 |
+
823,
|
| 1050 |
+
898
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 8
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
171,
|
| 1059 |
+
909,
|
| 1060 |
+
821,
|
| 1061 |
+
924
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 8
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Xiaofan Lin, Cong Zhao, and Wei Pan. Towards accurate binary convolutional neural network. In Advances on Neural Information Processing Systems, 2017. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
169,
|
| 1070 |
+
103,
|
| 1071 |
+
823,
|
| 1072 |
+
132
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 9
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Chunlei Liu, Wenrui Ding, Xin Xia, Baochang Zhang, Jiaxin Gu, Jianzhuang Liu, Rongrong Ji, and David Doermann. Circulant binary convolutional networks: Enhancing the performance of 1-bit dcnns with circulant back propagation. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
174,
|
| 1081 |
+
141,
|
| 1082 |
+
825,
|
| 1083 |
+
198
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 9
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Zechun Liu, Baoyuan Wu, Wenhan Luo, Xin Yang, Wei Liu, and Kwang-Ting Cheng. Bi-Real Net: Enhancing the performance of 1-bit CNNs with improved representational capability and advanced training algorithm. In European Conference on Computer Vision, 2018. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
173,
|
| 1092 |
+
207,
|
| 1093 |
+
825,
|
| 1094 |
+
251
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 9
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-Net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, 2016. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
174,
|
| 1103 |
+
260,
|
| 1104 |
+
825,
|
| 1105 |
+
301
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 9
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. ImageNet Large Scale Visual Recognition Challenge. International Journal on Computer Vision, 115(3):211–252, 2015. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
174,
|
| 1114 |
+
310,
|
| 1115 |
+
825,
|
| 1116 |
+
368
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 9
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "Daniel Soudry, Itay Hubara, and Ron Meir. Expectation backpropagation: Parameter-free training of multilayer neural networks with continuous or discrete weights. In Advances on Neural Information Processing Systems, 2014. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
174,
|
| 1125 |
+
377,
|
| 1126 |
+
823,
|
| 1127 |
+
420
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 9
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Ziwei Wang, Jiwen Lu, Chenxin Tao, Jie Zhou, and Qi Tian. Learning channel-wise interactions for binary convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
174,
|
| 1136 |
+
429,
|
| 1137 |
+
825,
|
| 1138 |
+
472
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 9
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Zhe Xu and Ray C.C. Cheung. Accurate and compact convolutional neural networks with trained binarization. In British Machine Vision Conference, 2019. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
171,
|
| 1147 |
+
482,
|
| 1148 |
+
823,
|
| 1149 |
+
511
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 9
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "Haojin Yang, Martin Fritzsche, Christian Bartz, and Christoph Meinel. BMXNet: An open-source binary neural network implementation based on MXNet. In ACM International Conference on Multimedia, 2017. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
174,
|
| 1158 |
+
520,
|
| 1159 |
+
825,
|
| 1160 |
+
563
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 9
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. In International Conference on Learning Representations, 2017. ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
174,
|
| 1169 |
+
571,
|
| 1170 |
+
825,
|
| 1171 |
+
614
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 9
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "Dongqing Zhang, Jiaolong Yang, Dongqiangzi Ye, and Gang Hua. LQ-Nets: Learned quantization for highly accurate and compact deep neural networks. In European Conference on Computer Vision, 2018. ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
173,
|
| 1180 |
+
625,
|
| 1181 |
+
825,
|
| 1182 |
+
666
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 9
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization. arXiv preprint arXiv:1710.09412, 2017. ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
171,
|
| 1191 |
+
675,
|
| 1192 |
+
823,
|
| 1193 |
+
705
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 9
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Jianhao Zhang, Yingwei Pan, Ting Yao, He Zhao, and Tao Mei. dabnn: A super fast inference framework for binary neural networks on ARM devices. In ACM International Conference on Multimedia, 2019. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
173,
|
| 1202 |
+
714,
|
| 1203 |
+
825,
|
| 1204 |
+
757
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 9
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. DoReFa-Net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv, 2016. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
173,
|
| 1213 |
+
766,
|
| 1214 |
+
821,
|
| 1215 |
+
796
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 9
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "Chenzhuo Zhu, Song Han, Huizi Mao, and William J Dally. Trained ternary quantization. International Conference on Learning Representations, 2017. ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
171,
|
| 1224 |
+
804,
|
| 1225 |
+
823,
|
| 1226 |
+
834
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 9
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "text",
|
| 1232 |
+
"text": "Shilin Zhu, Xin Dong, and Hao Su. Binary ensemble neural network: More bits per network or more networks per bit? In IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
171,
|
| 1235 |
+
843,
|
| 1236 |
+
823,
|
| 1237 |
+
872
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 9
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "Bohan Zhuang, Chunhua Shen, Mingkui Tan, Lingqiao Liu, and Ian D. Reid. Towards effective low-bitwidth convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
176,
|
| 1246 |
+
881,
|
| 1247 |
+
825,
|
| 1248 |
+
924
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 9
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "Bohan Zhuang, Chunhua Shen, Mingkui Tan, Lingqiao Liu, and Ian Reid. Structured binary neural networks for accurate image classification and semantic segmentation. In IEEE Conference on Computer Vision and Pattern Recognition, 2019. ",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
178,
|
| 1257 |
+
103,
|
| 1258 |
+
823,
|
| 1259 |
+
146
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 10
|
| 1262 |
+
}
|
| 1263 |
+
]
|
parse/train/BJg4NgBKvH/BJg4NgBKvH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJg4NgBKvH/BJg4NgBKvH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkUHlMZ0b/BkUHlMZ0b_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkUHlMZ0b/BkUHlMZ0b_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bkg2viA5FQ/Bkg2viA5FQ.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bkg2viA5FQ/Bkg2viA5FQ_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bkg2viA5FQ/Bkg2viA5FQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Bkg2viA5FQ/Bkg2viA5FQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1Heentlx/H1Heentlx.md
ADDED
|
@@ -0,0 +1,289 @@
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DEEP VARIATIONAL CANONICAL CORRELATION ANALYSIS
|
| 2 |
+
|
| 3 |
+
Weiran Wang1 Xinchen Yan2 Honglak Lee2 Karen Livescu1
|
| 4 |
+
1TTI-Chicago, Chicago, IL 60637, USA
|
| 5 |
+
2University of Michigan, Ann Arbor, MI 48109, USA
|
| 6 |
+
1{weiranwang,klivescu}@ttic.edu {xcyan,honglak}@umich.edu
|
| 7 |
+
|
| 8 |
+
# ABSTRACT
|
| 9 |
+
|
| 10 |
+
We present deep variational canonical correlation analysis (VCCA), a deep multiview learning model that extends the latent variable model interpretation of linear CCA (Bach and Jordan, 2005) to nonlinear observation models parameterized by deep neural networks (DNNs). Computing the marginal data likelihood, as well as inference of the latent variables, are intractable under this model. We derive a variational lower bound of the data likelihood by parameterizing the posterior density of the latent variables with another DNN, and approximate the lower bound via Monte Carlo sampling. Interestingly, the resulting model resembles that of multiview autoencoders (Ngiam et al., 2011), with the key distinction of an additional sampling procedure at the bottleneck layer. We also propose a variant of VCCA called VCCA-private which can, in addition to the “common variables” underlying both views, extract the “private variables” within each view. We demonstrate that VCCA-private is able to disentangle the shared and private information for multi-view data without hard supervision.
|
| 11 |
+
|
| 12 |
+
# 1 INTRODUCTION
|
| 13 |
+
|
| 14 |
+
In the multi-view representation learning setting, we have multiple views/measurements of the same underlying signal, and the goal is to learn useful features of each view using complementary information contained in the views. The intuition underlying this setting is that the learned features can help uncover the common sources of variation in the views, which can be helpful for exploratory analysis or for downstream tasks.
|
| 15 |
+
|
| 16 |
+
A classical approach in this setting is canonical correlation analysis (CCA, Hotelling, 1936) and its nonlinear extensions, including the kernel extension (Lai and Fyfe, 2000; Akaho, 2001; Melzer et al., 2001; Bach and Jordan, 2002) and the deep neural network (DNN) extension (Andrew et al., 2013; Wang et al., 2015b). CCA projects two random vectors $\mathbf { x } \in \mathbb { R } ^ { d _ { x } }$ and $\mathbf { y } \in \mathbb { R } ^ { d _ { y } }$ into a lowerdimensional subspace so that the projections are maximally correlated. There is a probabilistic latent variable model interpretation of linear CCA (Bach and Jordan, 2005) as shown in Figure 1 (left). Assume that $\mathbf { x }$ and y are linear functions of some lower-dimensional random variable $\textbf { z } \in \mathbb { R } ^ { d _ { z } }$ , where $d _ { z } \leq \operatorname* { m i n } ( d _ { x } , d _ { y } )$ . When the prior distribution of the latent variable $p ( \mathbf { z } )$ and the conditional distributions $p ( \mathbf { x } | \mathbf { z } )$ and $p ( \mathbf { y } \vert \mathbf { z } )$ are Gaussian, Bach and Jordan (2005) showed that $\mathbb { E } [ \mathbf { z } | \mathbf { x } ]$ (resp. $\mathbb { E } [ \mathbf { z } | \mathbf { y } ] )$ lives in the same space as the linear CCA projection for $\mathbf { x }$ (resp. y).
|
| 17 |
+
|
| 18 |
+
This generative interpretation of CCA is often lost in nonlinear extensions of CCA. For example, in deep CCA (DCCA, (Andrew et al., 2013)), to extend CCA to nonlinear mappings with greater representation power, one extracts nonlinear features from the original inputs of each view using two DNNs, f for $\mathbf { x }$ and $\mathbf { g }$ for $\mathbf { y }$ , so that the canonical correlation of the DNN outputs (measured by a linear CCA with projection matrices $\mathbf { U }$ and $\mathbf { V }$ ) is maximized. Formally, given a dataset of $N$ pairs of observations $( \mathbf { x } _ { 1 } , \mathbf { y } _ { 1 } ) , \dotsc , ( \mathbf { x } _ { N } , \mathbf { y } _ { N } )$ of the random vectors $\displaystyle ( \mathbf { x } , \mathbf { y } )$ , DCCA optimizes
|
| 19 |
+
|
| 20 |
+
$$
|
| 21 |
+
\begin{array} { r l } { \underset { \mathbf { w } _ { \mathrm { f } } , \mathbf { w } _ { \mathbf { g } } } { \operatorname* { m a x } } \ : \mathrm { t r } \left( \mathbf { U } ^ { \top } \mathbf { f } ( \mathbf { X } ) \mathbf { g } ( \mathbf { Y } ) ^ { \top } \mathbf { V } \right) } & { \mathrm { ~ s . t . ~ } \mathbf { U } ^ { \top } \left( \mathbf { f } ( \mathbf { X } ) \mathbf { f } ( \mathbf { X } ) ^ { \top } \right) \mathbf { U } = \mathbf { V } ^ { \top } \left( \mathbf { g } ( \mathbf { Y } ) \mathbf { g } ( \mathbf { Y } ) ^ { \top } \right) \mathbf { V } = N \mathbf { I } , } \end{array}
|
| 22 |
+
$$
|
| 23 |
+
|
| 24 |
+
where $\mathbf { f } ( \mathbf { X } ) = [ \mathbf { f } ( \mathbf { x } _ { 1 } ) , \dots , \mathbf { f } ( \mathbf { x } _ { N } ) ]$ and $\mathbf { g } ( \mathbf { Y } ) = [ \mathbf { g } ( \mathbf { y } _ { 1 } ) , \dots , \mathbf { g } ( \mathbf { y } _ { N } ) ]$ , and $\mathbf { W _ { f } }$ denotes all weight parameters of the DNN f (and similarly for $\mathbf { g }$ ).
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
Figure 1: Left: Probabilistic interpretation of CCA (Bach and Jordan, 2005). Right: The deep variational CCA (VCCA) model.
|
| 28 |
+
|
| 29 |
+
DCCA has achieved good performance in the multi-view representation learning setting across different domains (Wang et al., 2015b,a; Lu et al., 2015; Yan and Mikolajczyk, 2015). However, a disadvantage of DCCA is that it directly looks for DNNs that can map inputs into the low-dimensional space, without a model for generating samples from the latent space. Although Wang et al. (2015b)’s deep canonically correlated autoencoders (DCCAE) model optimizes the combination of the autoencoder objective (reconstruction errors) and the canonical correlation objective, the authors found that in practice, the canonical correlation term tends to dominate the reconstruction error terms in the DCCAE objective when tuning performance for a downstream task (especially when the inputs are noisy), and as a result the inputs are not reconstructed well. At the same time, optimization of the DCCA and DCCAE objectives is challenging due to the constraints that couple all training samples.
|
| 30 |
+
|
| 31 |
+
The main contribution of this paper is the proposal of a new deep multi-view learning model named deep variational CCA (VCCA), which extends the latent variable model interpretation of linear CCA to nonlinear observation models parameterized by DNNs. Computing the marginal data likelihood, as well as inference of the latent variables, are intractable under this model. Inspired by variational autoencoders (VAE, Kingma and Welling, 2014), we parameterize the posterior distribution of the latent variables with another DNN, and derive a variational lower bound of the data likelihood as the objective of VCCA, which is further approximated by Monte Carlo sampling. With the reparameterization trick, sampling for the Monte Carlo approximation is trivial and all DNN weights in VCCA can be optimized jointly via stochastic gradient descent, using unbiased gradient estimates from small minibatches. Interestingly, VCCA is related to multi-view autoencoders (Ngiam et al., 2011), with the key distinctions of additional regularization on the posterior distribution and the sampling procedure at the bottleneck layer.
|
| 32 |
+
|
| 33 |
+
We also propose a variant of VCCA called VCCA-private that can, in addition to the “common variables” underlying both views, extract the “private variables” within each view. We demonstrate that VCCA-private is able to disentangle the shared and private information for multi-view data without hard supervision. Last but not least, as generative models, VCCA and VCCA-private enable us to obtain high-quality samples for the input of each view.
|
| 34 |
+
|
| 35 |
+
# 2 VARIATIONAL CCA
|
| 36 |
+
|
| 37 |
+
The probabilistic latent variable model of CCA (Bach and Jordan, 2005) defines the following joint distribution over the random variables $\displaystyle ( \mathbf { x } , \mathbf { y } )$ :
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
p ( \mathbf { x } , \mathbf { y } , \mathbf { z } ) = p ( \mathbf { z } ) p ( \mathbf { x } | \mathbf { z } ) p ( \mathbf { y } | \mathbf { z } ) , \qquad p ( \mathbf { x } , \mathbf { y } ) = \int p ( \mathbf { x } , \mathbf { y } , \mathbf { z } ) d \mathbf { z } .
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
The assumption underlying this model is that, conditioned on the latent variables $\textbf { z } \in \mathbb { R } ^ { d _ { z } }$ , the two views $\mathbf { x }$ and $\mathbf { y }$ are independent. However, linear observation models $( p ( \mathbf { x } | \mathbf { z } )$ and $p ( \mathbf { y } \vert \mathbf { z } )$ as shown in Figure 1 (left)) have limited representation power. In this paper, we consider nonlinear observation models $p _ { \pmb { \theta } } ( \mathbf { x } | \mathbf { z } ; \pmb { \theta } _ { x } )$ and $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } ; \pmb { \theta } _ { y } )$ , parameterized by $\pmb { \theta } _ { x }$ and $\theta _ { y }$ respectively, which can be the collections of weights of DNNs. In this case, the marginal likelihood $p _ { \pmb { \theta } } ( \mathbf { x } , \mathbf { y } )$ does not have a closed form. In addition, the inference problem $p _ { \pmb { \theta } } ( \mathbf { z } | \mathbf { x } )$ —the problem of inferring the latent variables given one of the views—is also intractable.
|
| 44 |
+
|
| 45 |
+
Inspired by Kingma and Welling (2014)’s work on variational autoencoders (VAE), we approximate $p _ { \pmb { \theta } } ( \mathbf { z } | \mathbf { x } )$ with the conditional density $q _ { \phi } ( \mathbf { z } | \mathbf { x } ; \phi _ { z } )$ , where $\phi _ { z }$ is the collection of parameters of another DNN.1 We can derive a lower bound on the marginal data likelihood using $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ :
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\begin{array} { r l } & { \log p _ { \theta } ( \mathbf { x } , \mathbf { y } ) = \log p _ { \theta } ( \mathbf { x } , \mathbf { y } ) \int q _ { \phi } ( \mathbf { z } | \mathbf { x } ) d \mathbf { z } = \int \log p _ { \theta } ( \mathbf { x } , \mathbf { y } ) q _ { \phi } ( \mathbf { z } | \mathbf { x } ) d \mathbf { z } } \\ & { \qquad = \int q _ { \phi } ( \mathbf { z } | \mathbf { x } ) \left( \log \frac { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } { p _ { \theta } ( \mathbf { z } | \mathbf { x } , \mathbf { y } ) } + \log \frac { p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } ) } { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \right) d \mathbf { z } } \\ & { \qquad = D _ { K L } ( q _ { \phi } ( \mathbf { z } | \mathbf { x } ) | | p _ { \theta } ( \mathbf { z } | \mathbf { x } , \mathbf { y } ) ) + \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \left[ \log \frac { p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } ) } { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \right] } \\ & { \qquad \geq \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \left[ \log \frac { p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } ) } { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \right] = : \mathcal { L } ( \mathbf { x } , \mathbf { y } ; \theta , \phi ) } \end{array}
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
where we used the fact that KL divergence is nonnegative in the last step. As a result, $\mathcal { L } ( \mathbf { x } , \mathbf { y } ; \pmb { \theta } , \phi )$ is a lower bound on the data log-likelihood $\log _ { \pmb { \theta } } p ( \mathbf { x } , \mathbf { y } )$ . Substituting (2) into (3), we have
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\begin{array} { l } { \displaystyle \mathcal { L } ( \mathbf { x } , \mathbf { y } ; \pmb { \theta } , \phi ) = \int q _ { \phi } ( \mathbf { z } | \mathbf { x } ) \left( \log \frac { p ( \mathbf { z } ) } { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } + \log p _ { \theta } ( \mathbf { x } | \mathbf { z } ) + \log p _ { \theta } ( \mathbf { y } | \mathbf { z } ) \right) d \mathbf { z } } \\ { \displaystyle = - D _ { K L } ( q _ { \phi } ( \mathbf { z } | \mathbf { x } ) | | p ( \mathbf { z } ) ) + \mathbb { E } _ { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } \left[ \log p _ { \theta } ( \mathbf { x } | \mathbf { z } ) + \log p _ { \theta } ( \mathbf { y } | \mathbf { z } ) \right] . } \end{array}
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
VCCA maximizes this variational lower bound on the data likelihood on the training set:
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\operatorname* { m a x } _ { \pmb { \theta } , \phi } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { L } ( \mathbf { x } _ { i } , \mathbf { y } _ { i } ; \pmb { \theta } , \phi ) .
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
The first term in (4) measures the KL divergence between the approximate posterior distribution and the prior distribution of the latent variables $\mathbf { z }$ . When the parameterization $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ is chosen properly, this term can be computed exactly in closed form. As a concrete example, let the variational approximate posterior be a multivariate Gaussian with diagonal covariance. That is, for a sample pair $\left( \mathbf { x } _ { i } , \mathbf { y } _ { i } \right)$ , we have
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\log q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } ) = \log \mathcal { N } ( \mathbf { z } _ { i } ; \pmb { \mu } _ { i } , \pmb { \Sigma } _ { i } ) , \qquad \quad \pmb { \Sigma } _ { i } = \mathrm { d i a g } \left( \sigma _ { i 1 } ^ { 2 } , \dots , \sigma _ { i d _ { z } } ^ { 2 } \right) ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where the mean $\pmb { \mu } _ { i }$ and covariance $\Sigma _ { i }$ are outputs of an encoding DNN f (and thus $[ \pmb { \mu } _ { i } , \pmb { \Sigma } _ { i } ] =$ $\mathbf { f } ( \mathbf { x } _ { i } ; \boldsymbol { \phi } _ { z } )$ are deterministic nonlinear functions of $\mathbf { x } _ { i }$ ). In this case, we have
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
D _ { K L } \big ( q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } ) | | p ( \mathbf { z } _ { i } ) \big ) = - \frac { 1 } { 2 } \sum _ { j = 1 } ^ { d _ { z } } \left( 1 + \log \sigma _ { i j } ^ { 2 } - \sigma _ { i j } ^ { 2 } - \mu _ { i j } ^ { 2 } \right) .
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
The second term of (4) corresponds to the expected complete data likelihood under the approximate posterior distribution. Though still intractable, this term can be approximated by Monte Carlo sampling. In particular, we draw $L$ samples ${ \bf z } _ { i } ^ { ( l ) } \sim q _ { \phi } ( { \bf z } _ { i } | { \bf x } _ { i } )$ :
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r } { { \bf z } _ { i } ^ { ( l ) } = \mu _ { i } + \Sigma _ { i } \epsilon ^ { ( l ) } , \qquad \mathrm { w h e r e } \quad \epsilon ^ { ( l ) } \sim \mathcal { N } ( { \bf 0 } , { \bf I } ) , \qquad \mathrm { f o r } \quad l = 1 , \dots , L , } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
and have
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\mathbb { E } _ { q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } ) } \left[ \log p _ { \theta } ( \mathbf { x } _ { i } | \mathbf { z } _ { i } ) + \log p _ { \theta } ( \mathbf { y } _ { i } | \mathbf { z } _ { i } ) \right] \approx \frac { 1 } { L } \sum _ { l = 1 } ^ { L } \log p _ { \theta } \left( \mathbf { x } _ { i } | \mathbf { z } _ { i } ^ { ( l ) } \right) + \log p _ { \theta } \left( \mathbf { y } _ { i } | \mathbf { z } _ { i } ^ { ( l ) } \right) .
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
Notice that we parameterized $q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } )$ above to obtain the VCCA objective; this is useful when the first view is available for downstream tasks, in which case we can directly apply $q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } )$ to obtain its projection (as features). One could also derive likelihood lower bounds by parameterizing the approximate posteriors $q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { y } _ { i } )$ and $q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } , \mathbf { y } _ { i } )$ , and optimize their convex combinations for training. We give a sketch of VCCA in Figure 1 (right).
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
Figure 2: VCCA-private: variational CCA with view-specific private variables.
|
| 91 |
+
|
| 92 |
+
Connection to multi-view autoencoder (MVAE) If we use the Gaussian observation models
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\begin{array} { r } { \log p _ { \theta } ( \mathbf { x } | \mathbf { z } ) = \log \mathcal { N } ( \mathbf { g } _ { x } ( \mathbf { z } ; \theta _ { x } ) , \mathbf { I } ) , \qquad \quad \log p _ { \theta } ( \mathbf { y } | \mathbf { z } ) = \log \mathcal { N } ( \mathbf { g } _ { y } ( \mathbf { z } ; \theta _ { y } ) , \mathbf { I } ) , } \end{array}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
we observe that $\log p _ { \pmb { \theta } } \left( \mathbf { x } _ { i } | \mathbf { z } _ { i } ^ { ( l ) } \right)$ and $\log p _ { \pmb { \theta } } \left( \mathbf { y } _ { i } | \mathbf { z } _ { i } ^ { ( l ) } \right)$ measure the reconstruction errors of each view’s inputs from samples z(l)i u sing the two DNNs $\mathbf { g } _ { x }$ and $\mathbf { g } _ { y }$ respectively. In this case, maximizing $\mathcal { L } ( \mathbf { x } , \mathbf { y } ; \pmb { \theta } , \phi )$ is equivalent to
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\operatorname* { n i n } _ { \substack { \boldsymbol { y } , \boldsymbol { \phi } } } \quad \frac { 1 } { N } \sum _ { i = 1 } ^ { N } D _ { K L } ( q _ { \boldsymbol { \phi } } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } ) | | \boldsymbol { p } ( \mathbf { z } _ { i } ) ) + \frac { 1 } { 2 N L } \sum _ { i = 1 } ^ { N } \sum _ { l = 1 } ^ { L } \Big \| \mathbf { x } _ { i } - \mathbf { g } _ { x } \left( \mathbf { z } _ { i } ^ { ( l ) } ; \boldsymbol { \theta } _ { x } \right) \Big \| ^ { 2 } + \Big \| \mathbf { y } _ { i } - \mathbf { g } _ { y } \left( \mathbf { z } _ { i } ^ { ( l ) } ; \boldsymbol { \theta } _ { y } \right) \Big \| ^ { 2 } ,
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array} { r } { \mathbf { z } _ { i } ^ { ( l ) } = \pmb { \mu } _ { i } + \pmb { \Sigma } _ { i } \pmb { \epsilon } ^ { ( l ) } , \quad \mathrm { w h e r e } \ \pmb { \epsilon } ^ { ( l ) } \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } ) , \quad l = 1 , \dots , L . } \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
Now, consider the case of $\Sigma _ { i } \to \mathbf { 0 }$ , for $i = 1 , \ldots , N$ , and we have $\mathbf { z } _ { i } ^ { ( l ) } \pmb { \mu } _ { i }$ which is a deterministic function of $\mathbf { x }$ (and there is no need for sampling). In the limit, the second term of (9) reduces to
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\frac { 1 } { 2 N } \sum _ { i = 1 } ^ { N } \left\| \mathbf { x } _ { i } - \mathbf { g } _ { x } ( \mathbf { f } ( \mathbf { x } _ { i } ; \boldsymbol { \phi } _ { z } ) ; \boldsymbol { \theta } _ { x } ) \right\| ^ { 2 } + \left\| \mathbf { y } _ { i } - \mathbf { g } _ { y } ( \mathbf { f } ( \mathbf { x } _ { i } ; \boldsymbol { \phi } _ { z } ) ; \boldsymbol { \theta } _ { y } ) \right\| ^ { 2 } ,
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
which is the objective of the multi-view autoencoder (MVAE, Ngiam et al., 2011). Note, however, that $\Sigma _ { i } \ \to \ 0$ is prevented by the VCCA objective as it results in a large penalty in $D _ { K L } ( q _ { \phi } ( \mathbf { z } _ { i } | \mathbf { x } _ { i } ) | | p ( \mathbf { z } _ { i } ) )$ . Compared with the MVAE objective, in the VCCA objective we are creating $L$ different “noisy” versions of the latent representation and enforce that these versions reconstruct the original inputs well. The “noise” distribution (the variances $\Sigma _ { i }$ ) are also learned and regularized by the KL divergence $D _ { K L } ( q _ { \phi } ( { \bf z } _ { i } | { \bf x } _ { i } ) | | p ( { \bf z } _ { i } ) )$ . Using the VCCA objective, we expect to learn different representations from those of MVAE, due to these regularization effects.
|
| 115 |
+
|
| 116 |
+
# 2.1 EXTRACTING PRIVATE VARIABLES
|
| 117 |
+
|
| 118 |
+
So far, VCCA aims at extracting only the latent variables $\mathbf { z }$ that are common to both views. A potential disadvantage of this model is that it assumes the common variables are sufficient by themselves to generate the views, which can be too restrictive in practice. Consider the example of audio and articulatory measurements as two views for speech. Although the transcription is a common variable behind the views, it combines with the physical environment and the vocal tract anatomy to generate the individual views. In other words, there might be large variations in the input space that can not be explained by the common variables, making the objective (4) hard to optimize. It may then be beneficial to explicitly model the private variables within each view.
|
| 119 |
+
|
| 120 |
+
We therefore propose a new probabilistic graphical model, shown in Figure 2, that we refer to as VCCA-private. We introduce two sets of hidden variables $\mathbf { h } _ { x } \in \mathbb { R } ^ { d _ { h _ { x } } }$ and $\mathbf { h } _ { y } \in \mathbb { R } ^ { d _ { h _ { y } } }$ to explain the aspects of $\mathbf { x }$ and $\mathbf { y }$ not captured by the common variables $\mathbf { z }$ . Under this model, the data likelihood
|
| 121 |
+
|
| 122 |
+
is defined by
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\begin{array} { l } { p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } ) = p ( \mathbf { z } ) p ( \mathbf { h } _ { x } ) p ( \mathbf { h } _ { y } ) p _ { \theta } ( \mathbf { x } | \mathbf { z } , \mathbf { h } _ { x } ; \theta _ { x } ) p _ { \theta } ( \mathbf { y } | \mathbf { z } , \mathbf { h } _ { y } ; \theta _ { y } ) , } \\ { p _ { \theta } ( \mathbf { x } , \mathbf { y } ) = \displaystyle \int \int \int p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } ) d \mathbf { z } d \mathbf { h } _ { x } d \mathbf { h } _ { y } . } \end{array}
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
To obtain tractable inference, we introduce the following factored variational posterior
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\begin{array} { r } { q _ { \phi } ( \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } | \mathbf { x } , \mathbf { y } ) = q _ { \phi } ( \mathbf { z } | \mathbf { x } ; \phi _ { z } ) q _ { \phi } ( \mathbf { h } _ { x } | \mathbf { x } ; \phi _ { x } ) q _ { \phi } ( \mathbf { h } _ { y } | \mathbf { y } ; \phi _ { y } ) , } \end{array}
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where each factor is parameterized by a different DNN. Similarly to VCCA, we can derive a variational lower bound on the data likelihood for VCCA-private as
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
\begin{array} { r l } & { \quad \log p _ { \theta } ( \mathbf { x } , \mathbf { y } ) } \\ & { \geq \iint \int d \varphi ( \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } | \mathbf { x } , \mathbf { y } ) \log \frac { p _ { \theta } ( \mathbf { x } , \mathbf { y } , \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } ) } { q _ { \phi } ( \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } | \mathbf { x } , \mathbf { y } ) } d \mathbf { z } d \mathbf { h } _ { x } d \mathbf { h } _ { y } } \\ & { = \iint \int d \varphi ( \mathbf { z } , \mathbf { h } _ { x } , \mathbf { h } _ { y } | \mathbf { x } , \mathbf { y } ) \left[ \log \frac { p ( \mathbf { z } ) } { q _ { \phi } ( \mathbf { z } | \mathbf { x } ) } + \log \frac { p ( \mathbf { h } _ { x } ) } { q _ { \phi } ( \mathbf { h } _ { x } | \mathbf { x } ) } + \log \frac { p ( \mathbf { h } _ { y } ) } { q _ { \phi } ( \mathbf { h } _ { y } | \mathbf { y } ) } \right. } \\ & { \qquad \left. + \log p _ { \theta } ( \mathbf { z } | \mathbf { z } , \mathbf { h } _ { x } ) + \log p _ { \theta } ( \mathbf { z } | \mathbf { z } , \mathbf { h } _ { y } ) \right] d \mathbf { z } d \mathbf { h } _ { x } d \mathbf { h } _ { y } } \\ & { = - D _ { K L } ( q _ { \phi } ( \mathbf { z } | \mathbf { x } ) | | p ( \mathbf { z } ) ) - D _ { K L } ( q _ { \phi } ( \mathbf { h } _ { x } | \mathbf { x } ) | | p ( \mathbf { h } _ { x } ) ) - D _ { K L } ( q _ { \phi } ( \mathbf { h } _ { y } | \mathbf { y } ) | | p ( \mathbf { h } _ { y } ) ) } \\ & \quad + \int \int q _ { \phi } ( \mathbf { z } | \mathbf { x } ) q _ { \phi } ( \mathbf { h } _ { x } | \mathbf { x } ) \log p _ { \theta } ( \mathbf { x } | \mathbf { z } , \mathbf { h } _ { x } ) d \mathbf { z } d \mathbf { h } _ { x } + \iint q _ { \phi } ( \mathbf { z } | \mathbf { x } ) q _ { \phi } ( \mathbf { h } _ { y } | \mathbf { y } ) \log p _ { \theta } ( \mathbf { y } | \mathbf { z } , \mathbf { h } _ { y } ) d \end{array}
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
As in VCCA, the last two terms of (14) can be approximated by Monte Carlo sampling. For example, we draw samples of $\mathbf { z }$ and $\mathbf { h } _ { x }$ from their corresponding approximate posteriors, and concatenate their samples as inputs to the DNN parameterizing $p _ { \pmb { \theta } } ( \mathbf { x } | \mathbf { z } , \mathbf { h } _ { x } )$ . In this paper, we use simple Gaussian prior distributions for the private variables, i.e., $\mathbf { h } _ { x } \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ and $\mathbf { h } _ { y } \sim \mathcal { N } ( \mathbf { 0 } , \mathbf { I } )$ . We leave to future work to examine the effect of more sophisticated prior distributions for the latent variables.
|
| 141 |
+
|
| 142 |
+
VCCA-private maximizes this lower bound on the training set, i.e.,
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\operatorname* { m a x } _ { \theta , \phi } \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathcal { L } _ { \mathrm { p r i v a t e } } ( \mathbf { x } _ { i } , \mathbf { y } _ { i } ; \mathbf { \boldsymbol { \theta } } , \phi ) .
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
Optimization The objectives (5) and (14) decouple over the training samples and can be trained efficiently using stochastic gradient descent. Enabled by the reparameterization trick, unbiased gradient estimates are obtained by Monte Carlo sampling and the standard backpropagation procedure on minibatches of training samples. We apply the ADAM algorithm (Kingma and Ba, 2015) for optimizing our objectives.
|
| 149 |
+
|
| 150 |
+
# 3 RELATED WORK
|
| 151 |
+
|
| 152 |
+
Recently, there has been much interest in unsupervised deep generative models (Kingma and Welling, 2014; Rezende et al., 2014; Goodfellow et al., 2014; Gregor et al., 2015; Makhzani et al., 2016; Burda et al., 2016; Alain et al., 2016). A common motivation behind these models is that, with the expressive power of DNNs, the generative models can capture distributions for complex inputs. Additionally, if we are able to generate realistic samples from the learned distribution, we can infer that we have discovered the underlying structure of the data, which may allow us to reduce the sample complexity for learning for downstream tasks. These previous models have mostly focused on single-view data. Here we focus on the multi-view setting where multiple views of the data are present for feature extraction but only one view is available at test time (in downstream tasks).
|
| 153 |
+
|
| 154 |
+
Some recent work has explored deep generative models for (semi-)supervised learning. Kingma et al. (2014) built a generative model based on variational autoencoders (VAEs) for semi-supervised classification, where the authors model the input distribution with two set of latent variables: the class label (if it is missing) and another set that models the intra-class variabilities (styles). Sohn et al. (2015) proposed a conditional generative model for structured output prediction, where the authors explicitly model the uncertainty in the input/output using Gaussian latent variables. While there are two set of observations (input and output labels) in these work, their graphical models are different from that of VCCA.
|
| 155 |
+
|
| 156 |
+
Our work is also related to the deep multi-view probabilistic models based on restricted Boltzmann machines (Srivastava and Salakhutdinov, 2014; Sohn et al., 2014). We note that these are undirected graphical models for which both inference and learning are difficult, and one typically resorts to carefully designed variational approximation and Gibbs sampling procedures for training such models. In contrast, our models only require sampling from simple, standard distributions (such as Gaussians), and all parameters can be learned end-to-end by standard stochastic gradient methods. Therefore, our models are more scalable than the previous multi-view probabilistic models.
|
| 157 |
+
|
| 158 |
+
On the other hand, there is a rich literature in modeling multi-view data using the same or similar graphical models behind VCCA/VCCA-private (Wang, 2007; Jia et al., 2010; Salzmann et al., 2010; Virtanen et al., 2011; Memisevic et al., 2012; Klami et al., 2013). Our methods differ from previous work in parameterizing the probability distributions using DNNs. This makes the model more powerful, while still having tractable objectives and efficient end-to-end training using the local reparameterization technique. We note that, unlike earlier work on probabilistic models of linear CCA (Bach and Jordan, 2005), VCCA does not optimize the same criterion, nor produce the same solution, as any linear or nonlinear CCA. However, we retain the terminology in order to clarify the connection with earlier work on probabilistic models for CCA, which we are extending with DNN models for the observations and for the variational posterior distribution approximation.
|
| 159 |
+
|
| 160 |
+
# 4 EXPERIMENTAL RESULTS
|
| 161 |
+
|
| 162 |
+
In this section, we compare different multi-view representation learning algorithms on three tasks involving several domains: image-image, speech-articulation, and image-text. The algorithms we choose to compare below are closely related to the proposed model or have been shown to have strong empirical performance under similar settings.
|
| 163 |
+
|
| 164 |
+
• Linear CCA: its probabilistic interpretation motivates this work.
|
| 165 |
+
• Deep CCA (DCCA) (Andrew et al., 2013): see its objective in (1).
|
| 166 |
+
• Deep canonically correlated autoencoders (DCCAE) (Wang et al., 2015b): combination of the DCCA objective and the reconstruction errors of each view.
|
| 167 |
+
• Multi-view autoencoder (MVAE) (Ngiam et al., 2011): see its objective in (10).
|
| 168 |
+
• Multi-view contrastive loss (Hermann and Blunsom, 2014): based on the intuition that the distance between embeddings of paired examples $\mathbf { x } ^ { + }$ and $\mathbf { y } ^ { + }$ should be smaller than the distance between embeddings of $\mathbf { x } ^ { + }$ and an unmatched negative example $\mathbf { y } ^ { - }$ by a margin: $\operatorname* { m i n } _ { f , g } \ \mathcal { L } _ { c o n t r a s t } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , \ m + d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { y } _ { i } ^ { + } ) \right) - d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { y } _ { i } ^ { - } ) \right) \right) ,$ where $\mathbf { y } _ { i } ^ { - }$ is a randomly sampled view 2 example, and $m$ is a margin hyperparameter. We use the
|
| 169 |
+
|
| 170 |
+
cosine distance $\begin{array} { r } { d i s \left( \mathbf { a } , \mathbf { b } \right) = 1 - \left. \frac { \mathbf { a } } { \| \mathbf { a } \| } , \ \frac { \mathbf { b } } { \| \mathbf { b } \| } \right. } \end{array}$ .
|
| 171 |
+
|
| 172 |
+
# 4.1 NOISY MNIST DATASET
|
| 173 |
+
|
| 174 |
+
We first demonstrate our algorithms on the noisy MNIST dataset used by Wang et al. (2015b). The dataset is generated using the MNIST dataset (LeCun et al., 1998), which consists of $2 8 \times 2 8$ grayscale digit images, with $6 0 K / 1 0 K$ images for training/testing. We first linearly rescale the pixel values to the range $[ 0 , 1 ]$ . Then, we randomly rotate the images at angles uniformly sampled from $[ - \pi / 4 , \pi / 4 ]$ and the resulting images are used as view 1 inputs. For each view 1 image, we randomly select an image of the same identity (0-9) from the original dataset, add independent random noise uniformly sampled from [0, 1] to each pixel, and truncate the pixel final values to [0, 1] to obtain the corresponding view 2 sample. Selection of input images are given in Figure 3 (left). The original training set is further split into training/tuning sets of size $5 0 K / 1 0 K$ . The data generation process ensures that the digit identity is the only common variable underlying both views.
|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
Figure 3: Left: Selection of view 1 images (top) and their corresponding view 2 images (bottom) from noisy MNIST. Right: 2D t-SNE visualization of features learned by previous multi-view models.
|
| 178 |
+
|
| 179 |
+
To evaluate the amount of class information extracted by different methods, after unsupervised learning of latent representations, we reveal the labels and train a linear SVM on the projected view 1 training data (using the one-versus-all scheme), and use it to classify the projected test set. This experiment simulates the typical usage of multi-view learning methods, which is to extract useful representations for downstream discriminative tasks.
|
| 180 |
+
|
| 181 |
+
Note that this synthetic dataset perfectly satisfies the multi-view assumption that the two views are independent given the class label, so the latent representation should contain precisely the class information. This is indeed achieved by CCA-based and contrastive loss-based multi-view approaches. In Figure 3 (right), we show 2D t-SNE (van der Maaten and Hinton, 2008) visualizations of the original view 1 inputs and view 1 projections by various deep multi-view methods.
|
| 182 |
+
|
| 183 |
+
We use DNNs with 3 hidden layers of 1024 rectified linear units (ReLUs, Nair and Hinton, 2010) each to parameterize the distributions: $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ , $p _ { \pmb { \theta } } ( \mathbf { x } | \mathbf { z } )$ , $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } )$ in VCCA, and additionally $q _ { \phi } ( \mathbf { h } _ { x } | \mathbf { x } )$ and $q _ { \phi } ( \mathbf { h } _ { y } | \mathbf { y } )$ in VCCA-private. The capacities of these networks are the same as those of their counterparts in DCCA and DCCAE from Wang et al. (2015b). The reconstruction networks $p _ { \pmb { \theta } } ( \mathbf { x } | \mathbf { z } )$ or $p _ { \pmb { \theta } } ( \mathbf { x } | \mathbf { z } , \mathbf { h } _ { x } )$ model each pixel of $\mathbf { x }$ as an independent Bernoulli variable and parameterize its mean (using a sigmoid activation); $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } )$ and $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } , \mathbf { h } _ { y } )$ model $\mathbf { y }$ with diagonal Gaussians and parameterize the mean (using a sigmoid activation) and standard deviation for each pixel dimension. We tune the dimensionality $d _ { z }$ over $\{ 1 0 , 2 0 , 3 0 , 4 0 , 5 0 \}$ , and fix $d _ { h _ { x } } = d _ { h _ { y } } = 3 0$ for VCCA-private. We select the hyperparameter combination that yields the best SVM classification accuracy on the projected tuning set, and report the corresponding accuracy on the projected test set.
|
| 184 |
+
|
| 185 |
+
The effect of dropout We add dropout (Srivastava et al., 2014) to all intermediate layers and the input layers and find it to be very useful in our models, with most of the gain coming from dropout applied to the samples of $\mathbf { z }$ , $\mathbf { h } _ { x }$ and $\mathbf { h } _ { y }$ . This is because dropout encourages each latent dimension to reconstruct the inputs well in the absence of other dimensions, and therefore avoids learning coadapted features. Intuitively, in VCCA-private dropout also helps to prevent the degenerate situation where the pathways $\mathbf { x } \to \mathbf { h } _ { x } \to \mathbf { x }$ and $\mathbf { y } \mathbf { h } _ { y } \mathbf { y }$ achieve good reconstruction while ignoring $\mathbf { z }$ (e.g., by setting it to a constant). We use the same dropout rate for all layers and tune it over $\{ 0 , 0 . 1 , 0 . 2 , 0 . 3 , 0 . 4 \}$ .
|
| 186 |
+
|
| 187 |
+
We show the 2D t-SNE embeddings of the common variables $\mathbf { z }$ learned by VCCA and VCCA-private on test set in Figure 4. We observe that in general, VCCA/VCCA-private tend to separate the classes in the projection well; dropout significantly improves the performance of both VCCA and VCCAprivate, with the latter slightly outperforming the former. While such class separation can also be achieved by DCCA/contrastive loss as well, these methods can not naturally generate samples in the input space. On the other hand, such separation is not achieved by multi-view autoencoders.
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 4: 2D t-SNE embeddings of the extracted shared variables $\mathbf { z }$ on the test set by VCCA (top row) and VCCA-private (bottom row) for different dropout rates. $d _ { z } = 4 0$ for both algorithms.
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
Figure 5: Sample reconstruction of view 2 images from the test set by VCCA and VCCA-private.
|
| 194 |
+
|
| 195 |
+
The effect of private variables on reconstructions We show sample reconstructions (mean and standard deviation) by VCCA for the view 2 images from the test set in Figure 5 (columns 2 and 3). We observe that for each input, the mean reconstruction of $\mathbf { y } _ { i }$ by VCCA is a prototypical image of the same digit, regardless of the individual style in $\mathbf { y } _ { i }$ . This is to be expected, as $\mathbf { y } _ { i }$ contains an arbitrary image of the same digit as $\mathbf { x } _ { i }$ , and the variation in background noise in $\mathbf { y } _ { i }$ does not appear in $\mathbf { x } _ { i }$ and can not be reflected in $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ ; thus the best way for $\mathbf { p } _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } )$ to model $\mathbf { y } _ { i }$ is to output a prototypical image of that class to achieve on average small reconstruction error. On the other hand, since $\mathbf { y } _ { i }$ contains little rotation of the digits, this variation is suppressed to a large extent in $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ (it is no longer the major variation in $\mathbf { z }$ as in the original inputs).
|
| 196 |
+
|
| 197 |
+
We show sample reconstructions by VCCA-private for the same set of view 2 images in Figure 5 (columns 4 and 5). With the help of private variables $\mathbf { h } _ { y }$ (as part of the input to $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } , \mathbf { h } _ { y } ) )$ , the model does a much better job in reconstructing the styles of y. And by disentangling the private variables from the shared variables, $q _ { \phi } ( \mathbf { z } | \mathbf { x } )$ achieves even better class separation than VCCA does.
|
| 198 |
+
|
| 199 |
+
Table 1: Performance of features extracted by different methods for downstream tasks: Classification error rates of linear SVMs on MNIST, mean phone error rate (PER) over 6 folds on XRMB, and mean average precision (mAP) for unimodal retrieval on MIR-Flickr.
|
| 200 |
+
|
| 201 |
+
<table><tr><td>Method</td><td>Noisy MNIST Error rate (%,↓)</td><td>XRMB PER(%,↓)</td><td>Flickr mAP (↑)</td></tr><tr><td>Original inputs</td><td>13.1</td><td>37.6</td><td>0.480</td></tr><tr><td>CCA</td><td>19.1</td><td>29.4</td><td>0.529</td></tr><tr><td>DCCA</td><td>2.9</td><td>25.4</td><td>0.573</td></tr><tr><td>DCCAE</td><td>2.2</td><td>25.4</td><td>0.573</td></tr><tr><td>Contrastive</td><td>2.7</td><td>24.6</td><td>0.565</td></tr><tr><td>MVAE</td><td>11.7</td><td>29.4</td><td>0.477</td></tr><tr><td>VCCA</td><td>3.0</td><td>28.0</td><td>0.605</td></tr><tr><td>VCCA-private</td><td>2.4</td><td>25.2</td><td>0.609</td></tr></table>
|
| 202 |
+
|
| 203 |
+
We also note that the standard deviation of the reconstruction is low within the digit and high outside the digit, implying that $p _ { \pmb { \theta } } ( \mathbf { y } | \mathbf { z } , \mathbf { h } _ { y } )$ is able to separate the background noise from the digit image.
|
| 204 |
+
|
| 205 |
+
Disentanglement of private/shared variables In Figure 6 (in Appendix) we provide the 2D $t$ - SNE embeddings of the shared variables $\mathbf { z }$ (top row) and the private variables $\mathbf { h } _ { x }$ (bottom row) learned by VCCA-private. In the embedding of $\mathbf { h } _ { x }$ , digits with different identities but the same rotation are mapped close together, and the rotation varies smoothly from left to right, confirming that the private variables contain little class information but mainly style information.
|
| 206 |
+
|
| 207 |
+
Finally, we give the test error rates of linear SVMs applied to the features learned with different models in Table 1. VCCA-private is comparable in performance to the best previous approach (DCCAE), while having the advantage that it can also generate.
|
| 208 |
+
|
| 209 |
+
# 4.2 XRMB SPEECH-ARTICULATION DATASET
|
| 210 |
+
|
| 211 |
+
We now consider the task of learning acoustic features for speech recognition. We use data from the Wisconsin $\mathrm { X }$ -ray microbeam (XRMB) corpus (Westbury, 1994), which contains simultaneously recorded speech and articulatory measurements from 47 American English speakers. We follow the setup of Wang et al. (2015a,b) and use the learned features for speaker-independent phonetic recognition.2 The two input views are standard 39D acoustic features $\lvert 1 3 \ \mathrm { m e l }$ frequency cepstral coefficients (MFCCs) and their first and second derivatives) and 16D articulatory features (horizontal/vertical displacement of 8 pellets attached to several parts of the vocal tract), each then concatenated over a 7-frame window around each frame to incorporate context. The speakers are split into disjoint sets of 35/8/2/2 speakers for feature learning/recognizer training/tuning/testing. The 35 speakers for feature learning are fixed; the remaining 12 are used in a 6-fold experiment (recognizer training on 8 speakers, tuning on 2 speakers, and testing on the remaining 2 speakers). Each speaker has roughly $5 0 K$ frames. We remove the per-speaker mean and variance of the articulatory measurements for each training speaker, and remove the mean of the acoustic measurements for each utterance. All learned feature types are used in a “tandem” speech recognizer (Hermansky et al., 2000), i.e., they are appended to the original 39D features and used in a standard hidden Markov model (HMM)-based recognizer with Gaussian mixture observation distributions.
|
| 212 |
+
|
| 213 |
+
Each algorithm uses up to 3 ReLU hidden layers, each of 1500 units, for the projection and reconstruction mappings. For VCCA/VCCA-private, we use Gaussian observation models as the inputs are real-valued. In contrast to the MNIST experiments, we do not learn the standard deviations of each output dimension on training data, as this leads to poor downstream task performance. Instead, we use isotropic covariances for each view, and tune the standard deviations by grid search. The best model uses a smaller standard deviation (0.1) for the view 2 than for view 1 (1.0), effectively putting more emphasis on the reconstruction of articulatory measurements. Our best performing VCCA model uses $d _ { z } = 7 0$ , while the best performing VCCA-private model uses $d _ { z } = 7 0$ and $d _ { h _ { x } } = d _ { h _ { y } } = 1 0$ .
|
| 214 |
+
|
| 215 |
+
The mean phone error rates (PER) over 6 folds obtained by different algorithms are given in Table 1.
|
| 216 |
+
Our methods achieve competitive performance in comparison to previous deep multi-view methods.
|
| 217 |
+
|
| 218 |
+
# 4.3 MIR-FLICKR DATASET
|
| 219 |
+
|
| 220 |
+
Finally, we consider the task of learning cross-modality features for topic classification on the MIRFlickr database (Huiskes and Lew, 2008). The Flickr database contains 1 million images accompanied by user tags, among which 25000 images are labeled with 38 topic classes (each image may be categorized as multiple topics). We use the same image and text features as in previous work (Srivastava and Salakhutdinov, 2014; Sohn et al., 2014): the image feature is 3857 dimensional real-valued vector, composed of Pyramid Histogram of Words (PHOW) (Bosch et al., 2007), GIST (Oliva and Torralba, 2001), and MPEG-7 descriptors (Manjunath et al., 2001), while the text feature is a 2000-dimensional binary vector of frequent tags.
|
| 221 |
+
|
| 222 |
+
Following the same protocol as Sohn et al. (2014), we train multi-view representations using the unlabelled data,3 and use projected image features of the labeled data (further divided into splits of 10000/5000/10000 samples for training/tuning/testing) for training and evaluating a classifier that predicts the topic labels, corresponding to the unimodal query task in Srivastava and Salakhutdinov (2014); Sohn et al. (2014). For each algorithm, we select the model which achieves the highest mean average precision (mAP) on the validation set, and report its performance on the test set.
|
| 223 |
+
|
| 224 |
+
Each algorithm uses up to 4 ReLU hidden layers, each of 1024 units, for the projection and reconstruction mappings. For VCCA/VCCA-private, we use Gaussian observation models with isotropic covariance for image features, with standard deviation tuned by grid search, and a Bernoulli model for text features. In this experiment, we also found it helpful to tune an additional trade-off parameter for the text-view likelihood (cross-entropy); the best VCCA/VCCA-private models prefer a large trade-off parameter of the level $1 0 ^ { 4 }$ , emphasizing the reconstruction of the sparse text-view inputs. Our best performing VCCA model uses $d _ { z } = 1 0 2 4$ , while the best performing VCCA-private model uses $d _ { z } = 1 0 2 4$ and $d _ { h _ { x } } = d _ { h _ { y } } = 1 6$ .
|
| 225 |
+
|
| 226 |
+
As shown in Table 1, VCCA/VCCA-private achieve significantly higher mAPs than other methods considered here. Being much easier to train, the performance of our methods are competitive with the previous state-of-the-art mAP result of 0.607 achieved by the multi-view RBMs of Sohn et al. (2014) under the same setting.
|
| 227 |
+
|
| 228 |
+
# 5 CONCLUSIONS
|
| 229 |
+
|
| 230 |
+
We have proposed variational canonical correlation analysis (VCCA), a deep generative method for multi-view representation learning. Our method embodies a natural idea for multi-view learning: the multiple views can be generated from a small set of shared latent variables. VCCA is parameterized by DNNs and can be trained efficiently by backpropagation, and is therefore scalable. We have also shown that, by modeling the private variables that are specific to each view, the VCCA-private variant can disentangle shared/private variables and provide higher-quality reconstructions.
|
| 231 |
+
|
| 232 |
+
In the future, we will explore other prior distributions such as mixtures of Gaussians or discrete random variables, which may enforce clustering in the latent space and in turn work better for discriminative tasks. We will also explore other observation models, including replacing the autoencoder objective with that of adversarial networks (Goodfellow et al., 2014; Makhzani et al., 2016; Chen et al., 2016). Another direction is to explicitly incorporate the structure of the inputs, such as the sequence structure of speech and text and the spatial structure of images.
|
| 233 |
+
|
| 234 |
+
# ACKOWLEDGEMENTS
|
| 235 |
+
|
| 236 |
+
This research was supported by NSF grant IIS-1321015. The opinions expressed in this work are those of the authors and do not necessarily reflect the views of the funding agency. This research used GPUs donated by NVIDIA Corporation.
|
| 237 |
+
|
| 238 |
+
#
|
| 239 |
+
|
| 240 |
+
REFERENCES
|
| 241 |
+
S. Akaho. A kernel method for canonical correlation analysis. In Proceedings of the International Meeting of the Psychometric Society (IMPS2001), 2001.
|
| 242 |
+
G. Alain, Y. Bengio, L. Yao, J. Yosinski, E. Thibodeau-Laufer, S. Zhang, and P. Vincent. GSNs: Generative stochastic networks. Information and Inference, 5(2):210–249, 2016.
|
| 243 |
+
G. Andrew, R. Arora, J. Bilmes, and K. Livescu. Deep canonical correlation analysis. In Int. Conf. Machine Learning, pages 1247–1255, 2013.
|
| 244 |
+
F. R. Bach and M. I. Jordan. Kernel independent component analysis. Journal of Machine Learning Research, 3:1–48, 2002.
|
| 245 |
+
F. R. Bach and M. I. Jordan. A probabilistic interpretation of canonical correlation analysis. Technical Report 688, Dept. of Statistics, University of California, Berkeley, 2005.
|
| 246 |
+
A. Bosch, A. Zisserman, and X. Munoz. Image classification using random forests and ferns. In 2007 IEEE 11th International Conference on Computer Vision, pages 1–8. IEEE, 2007.
|
| 247 |
+
Y. Burda, R. Grosse, and R. Salakhutdinov. Importance weighted autoencoders. 2016.
|
| 248 |
+
X. Chen, Y. Duan, R. Houthooft, J. Schulman, I. Sutskever, and P. Abbeel. InfoGAN: Interpretable representation learning by information maximizing generative adversarial nets. arXiv:1606.03657 [cs.LG], 2016.
|
| 249 |
+
I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. pages 2672–2680, 2014.
|
| 250 |
+
K. Gregor, I. Danihelka, A. Graves, D. J. Rezende, and D. Wierstra. DRAW: A recurrent neural network for image generation. In Int. Conf. Machine Learning, pages 1462–1471, 2015.
|
| 251 |
+
K. M. Hermann and P. Blunsom. Multilingual distributed representations without word alignment. In Int. Conf. Learning Representations, 2014. arXiv:1312.6173 [cs.CL].
|
| 252 |
+
H. Hermansky, D. P. W. Ellis, and S. Sharma. Tandem connectionist feature extraction for conventional HMM systems. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., pages 1635–1638, 2000.
|
| 253 |
+
H. Hotelling. Relations between two sets of variates. Biometrika, 28(3/4):321–377, 1936.
|
| 254 |
+
M. J. Huiskes and M. S. Lew. The mir flickr retrieval evaluation. In Proceedings of the 1st ACM International Conference on Multimedia Information Retrieval, pages 39–43, 2008. doi: 10.1145/ 1460096.1460104. URL http://doi.acm.org/10.1145/1460096.1460104.
|
| 255 |
+
Y. Jia, M. Salzmann, and T. Darrell. Factorized latent spaces with structured sparsity. pages 982– 990, 2010.
|
| 256 |
+
D. Kingma and J. Ba. ADAM: A method for stochastic optimization. In Int. Conf. Learning Representations, 2015.
|
| 257 |
+
D. P. Kingma and M. Welling. Auto-encoding variational Bayes. arXiv:1312.6114 [stat.ML], 2014.
|
| 258 |
+
D. P. Kingma, S. Mohamed, D. J. Rezende, and M. Welling. Semi-supervised learning with deep generative models. pages 3581–3589, 2014.
|
| 259 |
+
A. Klami, S. Virtanen, and S. Kaski. Bayesian canonical correlation analysis. Journal of Machine Learning Research, pages 965–1003, 2013.
|
| 260 |
+
P. L. Lai and C. Fyfe. Kernel and nonlinear canonical correlation analysis. Int. J. Neural Syst., 10 (5):365–377, 2000.
|
| 261 |
+
Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proc. IEEE, 86(11):2278–2324, 1998.
|
| 262 |
+
A. Lu, W. Wang, M. Bansal, K. Gimpel, and K. Livescu. Deep multilingual correlation for improved word embeddings. In The 2015 Conference of the North American Chapter of the Association for Computational Linguistics - Human Language Technologies (NAACL-HLT 2015), 2015.
|
| 263 |
+
A. Makhzani, J. Shlens, N. Jaitly, and I. Goodfellow. Adversarial autoencoders. In Int. Conf. Learning Representations, 2016.
|
| 264 |
+
B. S. Manjunath, J.-R. Ohm, V. V. Vasudevan, and A. Yamada. Color and texture descriptors. IEEE Transactions on circuits and systems for video technology, 11(6):703–715, 2001.
|
| 265 |
+
T. Melzer, M. Reiter, and H. Bischof. Nonlinear feature extraction using generalized canonical correlation analysis. In Int. Conf. Artificial Neural Networks, pages 353–360, 2001.
|
| 266 |
+
R. Memisevic, L. Sigal, and D. J. Fleet. Shared kernel information embedding for discriminative inference. IEEE Trans. Pattern Analysis and Machine Intelligence, 34(4):778–790, 2012.
|
| 267 |
+
V. Nair and G. E. Hinton. Rectified linear units improve restricted Boltzmann machines. In Int. Conf. Machine Learning, pages 807–814, 2010.
|
| 268 |
+
J. Ngiam, A. Khosla, M. Kim, J. Nam, H. Lee, and A. Ng. Multimodal deep learning. In Int. Conf. Machine Learning, pages 689–696, 2011.
|
| 269 |
+
A. Oliva and A. Torralba. Modeling the shape of the scene: A holistic representation of the spatial envelope. International journal of computer vision, 42(3):145–175, 2001.
|
| 270 |
+
D. Povey, A. Ghoshal, G. Boulianne, L. Burget, O. Glembek, N. Goel, M. Hannemann, P. Motlicek, Y. Qian, P. Schwarz, J. Silovsky, G. Stemmer, and K. Vesely. The Kaldi speech recognition toolkit. In IEEE Workshop on Automatic Speech Recognition and Understanding, 2011.
|
| 271 |
+
D. J. Rezende, S. Mohamed, and D. Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Int. Conf. Machine Learning, pages 1278–1286, 2014.
|
| 272 |
+
M. Salzmann, C. H. Ek, R. Urtasun, and T. Darrell. Factorized orthogonal latent spaces. In Int. Workshop on Artificial Intelligence and Statistics, pages 701–708, 2010.
|
| 273 |
+
K. Sohn, W. Shang, and H. Lee. Improved multimodal deep learning with variation of information. pages 2141–2149, 2014.
|
| 274 |
+
K. Sohn, H. Lee, and X. Yan. Learning structured output representation using deep conditional generative models. pages 3465–3473, 2015.
|
| 275 |
+
N. Srivastava and R. Salakhutdinov. Multimodal learning with deep boltzmann machines. Journal of Machine Learning Research, 15:2949–2980, 2014.
|
| 276 |
+
N. Srivastava, G. E. Hinton, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15:1929–1958, 2014.
|
| 277 |
+
L. J. P. van der Maaten and G. E. Hinton. Visualizing data using $t$ -SNE. Journal of Machine Learning Research, 9:2579–2605, 2008.
|
| 278 |
+
S. Virtanen, A. Klami, and S. Kaski. Bayesian CCA via group sparsity. In Int. Conf. Machine Learning, pages 457–464, 2011.
|
| 279 |
+
C. Wang. Variational Bayesian approach to canonical correlation analysis. IEEE Trans. Neural Networks, 18(3):905–910, 2007.
|
| 280 |
+
W. Wang and K. Livescu. Large-scale approximate kernel canonical correlation analysis. In Int. Conf. Learning Representations, 2016. arXiv:1511.04773 [cs.LG].
|
| 281 |
+
W. Wang, R. Arora, K. Livescu, and J. Bilmes. Unsupervised learning of acoustic features via deep canonical correlation analysis. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015a.
|
| 282 |
+
W. Wang, R. Arora, K. Livescu, and J. Bilmes. On deep multi-view representation learning. In Int. Conf. Machine Learning, pages 1083–1092, 2015b.
|
| 283 |
+
|
| 284 |
+
J. R. Westbury. X-Ray Microbeam Speech Production Database User’s Handbook Version 1.0, 1994. F. Yan and K. Mikolajczyk. Deep correlation for matching images and text. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pages 3441–3450, 2015. S. J. Young, D. Kernshaw, J. Odell, D. Ollason, V. Valtchev, and P. Woodland. The HTK book version 2.2. Technical report, Entropic, Ltd., 1999.
|
| 285 |
+
|
| 286 |
+
# A ADDITIONAL T-SNE VISUALIZATION OF NOISY MNIST
|
| 287 |
+
|
| 288 |
+

|
| 289 |
+
Figure 6: 2D $t$ -SNE embedding of the shared variables $\mathbf { z } \in \mathbb { R } ^ { 4 0 }$ (top) and private variables $\mathbf { h } _ { x } \in \mathbb { R } ^ { 3 0 }$ (bottom).
|
parse/train/H1Heentlx/H1Heentlx_content_list.json
ADDED
|
@@ -0,0 +1,1223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DEEP VARIATIONAL CANONICAL CORRELATION ANALYSIS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
173,
|
| 8 |
+
99,
|
| 9 |
+
637,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Weiran Wang1 Xinchen Yan2 Honglak Lee2 Karen Livescu1 \n1TTI-Chicago, Chicago, IL 60637, USA \n2University of Michigan, Ann Arbor, MI 48109, USA \n1{weiranwang,klivescu}@ttic.edu {xcyan,honglak}@umich.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
167,
|
| 20 |
+
766,
|
| 21 |
+
228
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
263,
|
| 32 |
+
544,
|
| 33 |
+
279
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We present deep variational canonical correlation analysis (VCCA), a deep multiview learning model that extends the latent variable model interpretation of linear CCA (Bach and Jordan, 2005) to nonlinear observation models parameterized by deep neural networks (DNNs). Computing the marginal data likelihood, as well as inference of the latent variables, are intractable under this model. We derive a variational lower bound of the data likelihood by parameterizing the posterior density of the latent variables with another DNN, and approximate the lower bound via Monte Carlo sampling. Interestingly, the resulting model resembles that of multiview autoencoders (Ngiam et al., 2011), with the key distinction of an additional sampling procedure at the bottleneck layer. We also propose a variant of VCCA called VCCA-private which can, in addition to the “common variables” underlying both views, extract the “private variables” within each view. We demonstrate that VCCA-private is able to disentangle the shared and private information for multi-view data without hard supervision. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
295,
|
| 43 |
+
764,
|
| 44 |
+
489
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
511,
|
| 55 |
+
336,
|
| 56 |
+
526
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "In the multi-view representation learning setting, we have multiple views/measurements of the same underlying signal, and the goal is to learn useful features of each view using complementary information contained in the views. The intuition underlying this setting is that the learned features can help uncover the common sources of variation in the views, which can be helpful for exploratory analysis or for downstream tasks. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
540,
|
| 66 |
+
825,
|
| 67 |
+
609
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "A classical approach in this setting is canonical correlation analysis (CCA, Hotelling, 1936) and its nonlinear extensions, including the kernel extension (Lai and Fyfe, 2000; Akaho, 2001; Melzer et al., 2001; Bach and Jordan, 2002) and the deep neural network (DNN) extension (Andrew et al., 2013; Wang et al., 2015b). CCA projects two random vectors $\\mathbf { x } \\in \\mathbb { R } ^ { d _ { x } }$ and $\\mathbf { y } \\in \\mathbb { R } ^ { d _ { y } }$ into a lowerdimensional subspace so that the projections are maximally correlated. There is a probabilistic latent variable model interpretation of linear CCA (Bach and Jordan, 2005) as shown in Figure 1 (left). Assume that $\\mathbf { x }$ and y are linear functions of some lower-dimensional random variable $\\textbf { z } \\in \\mathbb { R } ^ { d _ { z } }$ , where $d _ { z } \\leq \\operatorname* { m i n } ( d _ { x } , d _ { y } )$ . When the prior distribution of the latent variable $p ( \\mathbf { z } )$ and the conditional distributions $p ( \\mathbf { x } | \\mathbf { z } )$ and $p ( \\mathbf { y } \\vert \\mathbf { z } )$ are Gaussian, Bach and Jordan (2005) showed that $\\mathbb { E } [ \\mathbf { z } | \\mathbf { x } ]$ (resp. $\\mathbb { E } [ \\mathbf { z } | \\mathbf { y } ] )$ lives in the same space as the linear CCA projection for $\\mathbf { x }$ (resp. y). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
173,
|
| 76 |
+
617,
|
| 77 |
+
825,
|
| 78 |
+
757
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "This generative interpretation of CCA is often lost in nonlinear extensions of CCA. For example, in deep CCA (DCCA, (Andrew et al., 2013)), to extend CCA to nonlinear mappings with greater representation power, one extracts nonlinear features from the original inputs of each view using two DNNs, f for $\\mathbf { x }$ and $\\mathbf { g }$ for $\\mathbf { y }$ , so that the canonical correlation of the DNN outputs (measured by a linear CCA with projection matrices $\\mathbf { U }$ and $\\mathbf { V }$ ) is maximized. Formally, given a dataset of $N$ pairs of observations $( \\mathbf { x } _ { 1 } , \\mathbf { y } _ { 1 } ) , \\dotsc , ( \\mathbf { x } _ { N } , \\mathbf { y } _ { N } )$ of the random vectors $\\displaystyle ( \\mathbf { x } , \\mathbf { y } )$ , DCCA optimizes ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
762,
|
| 88 |
+
825,
|
| 89 |
+
848
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "equation",
|
| 95 |
+
"img_path": "images/d04b1575d80b54a5a22ee500f47027fc2622022ed79883846d4fe56348d9c763.jpg",
|
| 96 |
+
"text": "$$\n\\begin{array} { r l } { \\underset { \\mathbf { w } _ { \\mathrm { f } } , \\mathbf { w } _ { \\mathbf { g } } } { \\operatorname* { m a x } } \\ : \\mathrm { t r } \\left( \\mathbf { U } ^ { \\top } \\mathbf { f } ( \\mathbf { X } ) \\mathbf { g } ( \\mathbf { Y } ) ^ { \\top } \\mathbf { V } \\right) } & { \\mathrm { ~ s . t . ~ } \\mathbf { U } ^ { \\top } \\left( \\mathbf { f } ( \\mathbf { X } ) \\mathbf { f } ( \\mathbf { X } ) ^ { \\top } \\right) \\mathbf { U } = \\mathbf { V } ^ { \\top } \\left( \\mathbf { g } ( \\mathbf { Y } ) \\mathbf { g } ( \\mathbf { Y } ) ^ { \\top } \\right) \\mathbf { V } = N \\mathbf { I } , } \\end{array}\n$$",
|
| 97 |
+
"text_format": "latex",
|
| 98 |
+
"bbox": [
|
| 99 |
+
187,
|
| 100 |
+
852,
|
| 101 |
+
789,
|
| 102 |
+
878
|
| 103 |
+
],
|
| 104 |
+
"page_idx": 0
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"type": "text",
|
| 108 |
+
"text": "where $\\mathbf { f } ( \\mathbf { X } ) = [ \\mathbf { f } ( \\mathbf { x } _ { 1 } ) , \\dots , \\mathbf { f } ( \\mathbf { x } _ { N } ) ]$ and $\\mathbf { g } ( \\mathbf { Y } ) = [ \\mathbf { g } ( \\mathbf { y } _ { 1 } ) , \\dots , \\mathbf { g } ( \\mathbf { y } _ { N } ) ]$ , and $\\mathbf { W _ { f } }$ denotes all weight parameters of the DNN f (and similarly for $\\mathbf { g }$ ). ",
|
| 109 |
+
"bbox": [
|
| 110 |
+
176,
|
| 111 |
+
893,
|
| 112 |
+
823,
|
| 113 |
+
924
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 0
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "image",
|
| 119 |
+
"img_path": "images/bb2dbd35f41d89ff34e8e2a1eee60726a3db9398263cd445bbccb4c32a1eba91.jpg",
|
| 120 |
+
"image_caption": [
|
| 121 |
+
"Figure 1: Left: Probabilistic interpretation of CCA (Bach and Jordan, 2005). Right: The deep variational CCA (VCCA) model. "
|
| 122 |
+
],
|
| 123 |
+
"image_footnote": [],
|
| 124 |
+
"bbox": [
|
| 125 |
+
212,
|
| 126 |
+
99,
|
| 127 |
+
787,
|
| 128 |
+
309
|
| 129 |
+
],
|
| 130 |
+
"page_idx": 1
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"type": "text",
|
| 134 |
+
"text": "DCCA has achieved good performance in the multi-view representation learning setting across different domains (Wang et al., 2015b,a; Lu et al., 2015; Yan and Mikolajczyk, 2015). However, a disadvantage of DCCA is that it directly looks for DNNs that can map inputs into the low-dimensional space, without a model for generating samples from the latent space. Although Wang et al. (2015b)’s deep canonically correlated autoencoders (DCCAE) model optimizes the combination of the autoencoder objective (reconstruction errors) and the canonical correlation objective, the authors found that in practice, the canonical correlation term tends to dominate the reconstruction error terms in the DCCAE objective when tuning performance for a downstream task (especially when the inputs are noisy), and as a result the inputs are not reconstructed well. At the same time, optimization of the DCCA and DCCAE objectives is challenging due to the constraints that couple all training samples. ",
|
| 135 |
+
"bbox": [
|
| 136 |
+
174,
|
| 137 |
+
371,
|
| 138 |
+
825,
|
| 139 |
+
512
|
| 140 |
+
],
|
| 141 |
+
"page_idx": 1
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "text",
|
| 145 |
+
"text": "The main contribution of this paper is the proposal of a new deep multi-view learning model named deep variational CCA (VCCA), which extends the latent variable model interpretation of linear CCA to nonlinear observation models parameterized by DNNs. Computing the marginal data likelihood, as well as inference of the latent variables, are intractable under this model. Inspired by variational autoencoders (VAE, Kingma and Welling, 2014), we parameterize the posterior distribution of the latent variables with another DNN, and derive a variational lower bound of the data likelihood as the objective of VCCA, which is further approximated by Monte Carlo sampling. With the reparameterization trick, sampling for the Monte Carlo approximation is trivial and all DNN weights in VCCA can be optimized jointly via stochastic gradient descent, using unbiased gradient estimates from small minibatches. Interestingly, VCCA is related to multi-view autoencoders (Ngiam et al., 2011), with the key distinctions of additional regularization on the posterior distribution and the sampling procedure at the bottleneck layer. ",
|
| 146 |
+
"bbox": [
|
| 147 |
+
174,
|
| 148 |
+
517,
|
| 149 |
+
825,
|
| 150 |
+
685
|
| 151 |
+
],
|
| 152 |
+
"page_idx": 1
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"type": "text",
|
| 156 |
+
"text": "We also propose a variant of VCCA called VCCA-private that can, in addition to the “common variables” underlying both views, extract the “private variables” within each view. We demonstrate that VCCA-private is able to disentangle the shared and private information for multi-view data without hard supervision. Last but not least, as generative models, VCCA and VCCA-private enable us to obtain high-quality samples for the input of each view. ",
|
| 157 |
+
"bbox": [
|
| 158 |
+
174,
|
| 159 |
+
691,
|
| 160 |
+
825,
|
| 161 |
+
762
|
| 162 |
+
],
|
| 163 |
+
"page_idx": 1
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"type": "text",
|
| 167 |
+
"text": "2 VARIATIONAL CCA ",
|
| 168 |
+
"text_level": 1,
|
| 169 |
+
"bbox": [
|
| 170 |
+
176,
|
| 171 |
+
775,
|
| 172 |
+
370,
|
| 173 |
+
791
|
| 174 |
+
],
|
| 175 |
+
"page_idx": 1
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"type": "text",
|
| 179 |
+
"text": "The probabilistic latent variable model of CCA (Bach and Jordan, 2005) defines the following joint distribution over the random variables $\\displaystyle ( \\mathbf { x } , \\mathbf { y } )$ : ",
|
| 180 |
+
"bbox": [
|
| 181 |
+
174,
|
| 182 |
+
805,
|
| 183 |
+
823,
|
| 184 |
+
835
|
| 185 |
+
],
|
| 186 |
+
"page_idx": 1
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"type": "equation",
|
| 190 |
+
"img_path": "images/f3aee4c1624868fff0126811028a203b5efece8d5e556e254968b360c2e1d5f0.jpg",
|
| 191 |
+
"text": "$$\np ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } ) = p ( \\mathbf { z } ) p ( \\mathbf { x } | \\mathbf { z } ) p ( \\mathbf { y } | \\mathbf { z } ) , \\qquad p ( \\mathbf { x } , \\mathbf { y } ) = \\int p ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } ) d \\mathbf { z } .\n$$",
|
| 192 |
+
"text_format": "latex",
|
| 193 |
+
"bbox": [
|
| 194 |
+
281,
|
| 195 |
+
840,
|
| 196 |
+
717,
|
| 197 |
+
873
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 1
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "The assumption underlying this model is that, conditioned on the latent variables $\\textbf { z } \\in \\mathbb { R } ^ { d _ { z } }$ , the two views $\\mathbf { x }$ and $\\mathbf { y }$ are independent. However, linear observation models $( p ( \\mathbf { x } | \\mathbf { z } )$ and $p ( \\mathbf { y } \\vert \\mathbf { z } )$ as shown in Figure 1 (left)) have limited representation power. In this paper, we consider nonlinear observation models $p _ { \\pmb { \\theta } } ( \\mathbf { x } | \\mathbf { z } ; \\pmb { \\theta } _ { x } )$ and $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } ; \\pmb { \\theta } _ { y } )$ , parameterized by $\\pmb { \\theta } _ { x }$ and $\\theta _ { y }$ respectively, which can be the collections of weights of DNNs. In this case, the marginal likelihood $p _ { \\pmb { \\theta } } ( \\mathbf { x } , \\mathbf { y } )$ does not have a closed form. In addition, the inference problem $p _ { \\pmb { \\theta } } ( \\mathbf { z } | \\mathbf { x } )$ —the problem of inferring the latent variables given one of the views—is also intractable. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
174,
|
| 206 |
+
881,
|
| 207 |
+
825,
|
| 208 |
+
924
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 1
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "",
|
| 215 |
+
"bbox": [
|
| 216 |
+
174,
|
| 217 |
+
102,
|
| 218 |
+
825,
|
| 219 |
+
160
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "Inspired by Kingma and Welling (2014)’s work on variational autoencoders (VAE), we approximate $p _ { \\pmb { \\theta } } ( \\mathbf { z } | \\mathbf { x } )$ with the conditional density $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ; \\phi _ { z } )$ , where $\\phi _ { z }$ is the collection of parameters of another DNN.1 We can derive a lower bound on the marginal data likelihood using $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ : ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
165,
|
| 229 |
+
825,
|
| 230 |
+
210
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "equation",
|
| 236 |
+
"img_path": "images/2a31241f9668a02c893820e5df98b0b4fb94386a31172c11eac27f35d6b4d7d3.jpg",
|
| 237 |
+
"text": "$$\n\\begin{array} { r l } & { \\log p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } ) = \\log p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } ) \\int q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) d \\mathbf { z } = \\int \\log p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } ) q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) d \\mathbf { z } } \\\\ & { \\qquad = \\int q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) \\left( \\log \\frac { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } { p _ { \\theta } ( \\mathbf { z } | \\mathbf { x } , \\mathbf { y } ) } + \\log \\frac { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } ) } { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\right) d \\mathbf { z } } \\\\ & { \\qquad = D _ { K L } ( q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) | | p _ { \\theta } ( \\mathbf { z } | \\mathbf { x } , \\mathbf { y } ) ) + \\mathbb { E } _ { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\left[ \\log \\frac { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } ) } { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\right] } \\\\ & { \\qquad \\geq \\mathbb { E } _ { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\left[ \\log \\frac { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } ) } { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\right] = : \\mathcal { L } ( \\mathbf { x } , \\mathbf { y } ; \\theta , \\phi ) } \\end{array}\n$$",
|
| 238 |
+
"text_format": "latex",
|
| 239 |
+
"bbox": [
|
| 240 |
+
258,
|
| 241 |
+
212,
|
| 242 |
+
736,
|
| 243 |
+
352
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "where we used the fact that KL divergence is nonnegative in the last step. As a result, $\\mathcal { L } ( \\mathbf { x } , \\mathbf { y } ; \\pmb { \\theta } , \\phi )$ is a lower bound on the data log-likelihood $\\log _ { \\pmb { \\theta } } p ( \\mathbf { x } , \\mathbf { y } )$ . Substituting (2) into (3), we have ",
|
| 250 |
+
"bbox": [
|
| 251 |
+
173,
|
| 252 |
+
352,
|
| 253 |
+
823,
|
| 254 |
+
381
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "equation",
|
| 260 |
+
"img_path": "images/8c9157ec19b190a391391a1ca9d81211f3aef443a43a3a877f4d844225367e77.jpg",
|
| 261 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\mathcal { L } ( \\mathbf { x } , \\mathbf { y } ; \\pmb { \\theta } , \\phi ) = \\int q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) \\left( \\log \\frac { p ( \\mathbf { z } ) } { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } + \\log p _ { \\theta } ( \\mathbf { x } | \\mathbf { z } ) + \\log p _ { \\theta } ( \\mathbf { y } | \\mathbf { z } ) \\right) d \\mathbf { z } } \\\\ { \\displaystyle = - D _ { K L } ( q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) | | p ( \\mathbf { z } ) ) + \\mathbb { E } _ { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } \\left[ \\log p _ { \\theta } ( \\mathbf { x } | \\mathbf { z } ) + \\log p _ { \\theta } ( \\mathbf { y } | \\mathbf { z } ) \\right] . } \\end{array}\n$$",
|
| 262 |
+
"text_format": "latex",
|
| 263 |
+
"bbox": [
|
| 264 |
+
233,
|
| 265 |
+
381,
|
| 266 |
+
764,
|
| 267 |
+
435
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "VCCA maximizes this variational lower bound on the data likelihood on the training set: ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
435,
|
| 277 |
+
754,
|
| 278 |
+
449
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "equation",
|
| 284 |
+
"img_path": "images/1751fef8c23125ec742b4b484d36ba47632ecbfcb157acc8b206490bbb31296f.jpg",
|
| 285 |
+
"text": "$$\n\\operatorname* { m a x } _ { \\pmb { \\theta } , \\phi } \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { L } ( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } ; \\pmb { \\theta } , \\phi ) .\n$$",
|
| 286 |
+
"text_format": "latex",
|
| 287 |
+
"bbox": [
|
| 288 |
+
400,
|
| 289 |
+
449,
|
| 290 |
+
596,
|
| 291 |
+
493
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "The first term in (4) measures the KL divergence between the approximate posterior distribution and the prior distribution of the latent variables $\\mathbf { z }$ . When the parameterization $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ is chosen properly, this term can be computed exactly in closed form. As a concrete example, let the variational approximate posterior be a multivariate Gaussian with diagonal covariance. That is, for a sample pair $\\left( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } \\right)$ , we have ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
173,
|
| 300 |
+
500,
|
| 301 |
+
825,
|
| 302 |
+
570
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "equation",
|
| 308 |
+
"img_path": "images/b97d8a1df56db59ce5a177e9f032ab791e47b7884f9f75ec85b5bcbb844ff17a.jpg",
|
| 309 |
+
"text": "$$\n\\log q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } ) = \\log \\mathcal { N } ( \\mathbf { z } _ { i } ; \\pmb { \\mu } _ { i } , \\pmb { \\Sigma } _ { i } ) , \\qquad \\quad \\pmb { \\Sigma } _ { i } = \\mathrm { d i a g } \\left( \\sigma _ { i 1 } ^ { 2 } , \\dots , \\sigma _ { i d _ { z } } ^ { 2 } \\right) ,\n$$",
|
| 310 |
+
"text_format": "latex",
|
| 311 |
+
"bbox": [
|
| 312 |
+
264,
|
| 313 |
+
571,
|
| 314 |
+
732,
|
| 315 |
+
592
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "where the mean $\\pmb { \\mu } _ { i }$ and covariance $\\Sigma _ { i }$ are outputs of an encoding DNN f (and thus $[ \\pmb { \\mu } _ { i } , \\pmb { \\Sigma } _ { i } ] =$ $\\mathbf { f } ( \\mathbf { x } _ { i } ; \\boldsymbol { \\phi } _ { z } )$ are deterministic nonlinear functions of $\\mathbf { x } _ { i }$ ). In this case, we have ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
173,
|
| 324 |
+
592,
|
| 325 |
+
823,
|
| 326 |
+
621
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "equation",
|
| 332 |
+
"img_path": "images/2ff93599247700d81814feb55dbfaa1cff26165d375136a184443d51de5ac9cd.jpg",
|
| 333 |
+
"text": "$$\nD _ { K L } \\big ( q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } ) | | p ( \\mathbf { z } _ { i } ) \\big ) = - \\frac { 1 } { 2 } \\sum _ { j = 1 } ^ { d _ { z } } \\left( 1 + \\log \\sigma _ { i j } ^ { 2 } - \\sigma _ { i j } ^ { 2 } - \\mu _ { i j } ^ { 2 } \\right) .\n$$",
|
| 334 |
+
"text_format": "latex",
|
| 335 |
+
"bbox": [
|
| 336 |
+
294,
|
| 337 |
+
622,
|
| 338 |
+
704,
|
| 339 |
+
666
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "The second term of (4) corresponds to the expected complete data likelihood under the approximate posterior distribution. Though still intractable, this term can be approximated by Monte Carlo sampling. In particular, we draw $L$ samples ${ \\bf z } _ { i } ^ { ( l ) } \\sim q _ { \\phi } ( { \\bf z } _ { i } | { \\bf x } _ { i } )$ : ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
674,
|
| 349 |
+
825,
|
| 350 |
+
720
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 2
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "equation",
|
| 356 |
+
"img_path": "images/2eabca76ae41dab077d1447a0dfa75a0eb360d6ecd36bc8d4e2dd8be6e1e8224.jpg",
|
| 357 |
+
"text": "$$\n\\begin{array} { r } { { \\bf z } _ { i } ^ { ( l ) } = \\mu _ { i } + \\Sigma _ { i } \\epsilon ^ { ( l ) } , \\qquad \\mathrm { w h e r e } \\quad \\epsilon ^ { ( l ) } \\sim \\mathcal { N } ( { \\bf 0 } , { \\bf I } ) , \\qquad \\mathrm { f o r } \\quad l = 1 , \\dots , L , } \\end{array}\n$$",
|
| 358 |
+
"text_format": "latex",
|
| 359 |
+
"bbox": [
|
| 360 |
+
254,
|
| 361 |
+
722,
|
| 362 |
+
740,
|
| 363 |
+
742
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "and have ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
173,
|
| 372 |
+
742,
|
| 373 |
+
235,
|
| 374 |
+
756
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 2
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "equation",
|
| 380 |
+
"img_path": "images/16bc95f905304758115b3feb897893ac17b172a79ebdf389969e72015875c406.jpg",
|
| 381 |
+
"text": "$$\n\\mathbb { E } _ { q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } ) } \\left[ \\log p _ { \\theta } ( \\mathbf { x } _ { i } | \\mathbf { z } _ { i } ) + \\log p _ { \\theta } ( \\mathbf { y } _ { i } | \\mathbf { z } _ { i } ) \\right] \\approx \\frac { 1 } { L } \\sum _ { l = 1 } ^ { L } \\log p _ { \\theta } \\left( \\mathbf { x } _ { i } | \\mathbf { z } _ { i } ^ { ( l ) } \\right) + \\log p _ { \\theta } \\left( \\mathbf { y } _ { i } | \\mathbf { z } _ { i } ^ { ( l ) } \\right) .\n$$",
|
| 382 |
+
"text_format": "latex",
|
| 383 |
+
"bbox": [
|
| 384 |
+
199,
|
| 385 |
+
755,
|
| 386 |
+
779,
|
| 387 |
+
799
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "Notice that we parameterized $q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } )$ above to obtain the VCCA objective; this is useful when the first view is available for downstream tasks, in which case we can directly apply $q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } )$ to obtain its projection (as features). One could also derive likelihood lower bounds by parameterizing the approximate posteriors $q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { y } _ { i } )$ and $q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } , \\mathbf { y } _ { i } )$ , and optimize their convex combinations for training. We give a sketch of VCCA in Figure 1 (right). ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
173,
|
| 396 |
+
806,
|
| 397 |
+
826,
|
| 398 |
+
878
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 2
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "image",
|
| 404 |
+
"img_path": "images/94cf35c9dc267919464e46591d6c5cab4fa1e5a4bd9ed7d9e3549dfe1dfdb48c.jpg",
|
| 405 |
+
"image_caption": [
|
| 406 |
+
"Figure 2: VCCA-private: variational CCA with view-specific private variables. "
|
| 407 |
+
],
|
| 408 |
+
"image_footnote": [],
|
| 409 |
+
"bbox": [
|
| 410 |
+
228,
|
| 411 |
+
99,
|
| 412 |
+
764,
|
| 413 |
+
275
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Connection to multi-view autoencoder (MVAE) If we use the Gaussian observation models ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
171,
|
| 422 |
+
327,
|
| 423 |
+
799,
|
| 424 |
+
343
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "equation",
|
| 430 |
+
"img_path": "images/87e01c227bc2a514ef56307696e355c2e6bef372f82511ef58d70f9c127fb14e.jpg",
|
| 431 |
+
"text": "$$\n\\begin{array} { r } { \\log p _ { \\theta } ( \\mathbf { x } | \\mathbf { z } ) = \\log \\mathcal { N } ( \\mathbf { g } _ { x } ( \\mathbf { z } ; \\theta _ { x } ) , \\mathbf { I } ) , \\qquad \\quad \\log p _ { \\theta } ( \\mathbf { y } | \\mathbf { z } ) = \\log \\mathcal { N } ( \\mathbf { g } _ { y } ( \\mathbf { z } ; \\theta _ { y } ) , \\mathbf { I } ) , } \\end{array}\n$$",
|
| 432 |
+
"text_format": "latex",
|
| 433 |
+
"bbox": [
|
| 434 |
+
236,
|
| 435 |
+
349,
|
| 436 |
+
758,
|
| 437 |
+
368
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 3
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "we observe that $\\log p _ { \\pmb { \\theta } } \\left( \\mathbf { x } _ { i } | \\mathbf { z } _ { i } ^ { ( l ) } \\right)$ and $\\log p _ { \\pmb { \\theta } } \\left( \\mathbf { y } _ { i } | \\mathbf { z } _ { i } ^ { ( l ) } \\right)$ measure the reconstruction errors of each view’s inputs from samples z(l)i u sing the two DNNs $\\mathbf { g } _ { x }$ and $\\mathbf { g } _ { y }$ respectively. In this case, maximizing $\\mathcal { L } ( \\mathbf { x } , \\mathbf { y } ; \\pmb { \\theta } , \\phi )$ is equivalent to ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
173,
|
| 446 |
+
376,
|
| 447 |
+
826,
|
| 448 |
+
433
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 3
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "equation",
|
| 454 |
+
"img_path": "images/0d81ce915452c0938d5e1002a3d2ce1a071356587b6e587638efd4e99cdc3c6f.jpg",
|
| 455 |
+
"text": "$$\n\\operatorname* { n i n } _ { \\substack { \\boldsymbol { y } , \\boldsymbol { \\phi } } } \\quad \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } D _ { K L } ( q _ { \\boldsymbol { \\phi } } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } ) | | \\boldsymbol { p } ( \\mathbf { z } _ { i } ) ) + \\frac { 1 } { 2 N L } \\sum _ { i = 1 } ^ { N } \\sum _ { l = 1 } ^ { L } \\Big \\| \\mathbf { x } _ { i } - \\mathbf { g } _ { x } \\left( \\mathbf { z } _ { i } ^ { ( l ) } ; \\boldsymbol { \\theta } _ { x } \\right) \\Big \\| ^ { 2 } + \\Big \\| \\mathbf { y } _ { i } - \\mathbf { g } _ { y } \\left( \\mathbf { z } _ { i } ^ { ( l ) } ; \\boldsymbol { \\theta } _ { y } \\right) \\Big \\| ^ { 2 } ,\n$$",
|
| 456 |
+
"text_format": "latex",
|
| 457 |
+
"bbox": [
|
| 458 |
+
181,
|
| 459 |
+
439,
|
| 460 |
+
839,
|
| 461 |
+
483
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 3
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "equation",
|
| 467 |
+
"img_path": "images/bda58196e9f7df9c7fdea009d29a20a2f66d20ce6bcdb00fb7d4a13b896deb2e.jpg",
|
| 468 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { z } _ { i } ^ { ( l ) } = \\pmb { \\mu } _ { i } + \\pmb { \\Sigma } _ { i } \\pmb { \\epsilon } ^ { ( l ) } , \\quad \\mathrm { w h e r e } \\ \\pmb { \\epsilon } ^ { ( l ) } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } ) , \\quad l = 1 , \\dots , L . } \\end{array}\n$$",
|
| 469 |
+
"text_format": "latex",
|
| 470 |
+
"bbox": [
|
| 471 |
+
217,
|
| 472 |
+
500,
|
| 473 |
+
619,
|
| 474 |
+
520
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 3
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Now, consider the case of $\\Sigma _ { i } \\to \\mathbf { 0 }$ , for $i = 1 , \\ldots , N$ , and we have $\\mathbf { z } _ { i } ^ { ( l ) } \\pmb { \\mu } _ { i }$ which is a deterministic function of $\\mathbf { x }$ (and there is no need for sampling). In the limit, the second term of (9) reduces to ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
536,
|
| 484 |
+
828,
|
| 485 |
+
569
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 3
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "equation",
|
| 491 |
+
"img_path": "images/32a03624df023ca21ca7849dc2abcf6933f79b394cc99fcc0cea663b3a52dc61.jpg",
|
| 492 |
+
"text": "$$\n\\frac { 1 } { 2 N } \\sum _ { i = 1 } ^ { N } \\left\\| \\mathbf { x } _ { i } - \\mathbf { g } _ { x } ( \\mathbf { f } ( \\mathbf { x } _ { i } ; \\boldsymbol { \\phi } _ { z } ) ; \\boldsymbol { \\theta } _ { x } ) \\right\\| ^ { 2 } + \\left\\| \\mathbf { y } _ { i } - \\mathbf { g } _ { y } ( \\mathbf { f } ( \\mathbf { x } _ { i } ; \\boldsymbol { \\phi } _ { z } ) ; \\boldsymbol { \\theta } _ { y } ) \\right\\| ^ { 2 } ,\n$$",
|
| 493 |
+
"text_format": "latex",
|
| 494 |
+
"bbox": [
|
| 495 |
+
279,
|
| 496 |
+
574,
|
| 497 |
+
717,
|
| 498 |
+
618
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 3
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "which is the objective of the multi-view autoencoder (MVAE, Ngiam et al., 2011). Note, however, that $\\Sigma _ { i } \\ \\to \\ 0$ is prevented by the VCCA objective as it results in a large penalty in $D _ { K L } ( q _ { \\phi } ( \\mathbf { z } _ { i } | \\mathbf { x } _ { i } ) | | p ( \\mathbf { z } _ { i } ) )$ . Compared with the MVAE objective, in the VCCA objective we are creating $L$ different “noisy” versions of the latent representation and enforce that these versions reconstruct the original inputs well. The “noise” distribution (the variances $\\Sigma _ { i }$ ) are also learned and regularized by the KL divergence $D _ { K L } ( q _ { \\phi } ( { \\bf z } _ { i } | { \\bf x } _ { i } ) | | p ( { \\bf z } _ { i } ) )$ . Using the VCCA objective, we expect to learn different representations from those of MVAE, due to these regularization effects. ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
173,
|
| 507 |
+
625,
|
| 508 |
+
825,
|
| 509 |
+
723
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 3
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "2.1 EXTRACTING PRIVATE VARIABLES ",
|
| 516 |
+
"text_level": 1,
|
| 517 |
+
"bbox": [
|
| 518 |
+
176,
|
| 519 |
+
734,
|
| 520 |
+
450,
|
| 521 |
+
750
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 3
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "So far, VCCA aims at extracting only the latent variables $\\mathbf { z }$ that are common to both views. A potential disadvantage of this model is that it assumes the common variables are sufficient by themselves to generate the views, which can be too restrictive in practice. Consider the example of audio and articulatory measurements as two views for speech. Although the transcription is a common variable behind the views, it combines with the physical environment and the vocal tract anatomy to generate the individual views. In other words, there might be large variations in the input space that can not be explained by the common variables, making the objective (4) hard to optimize. It may then be beneficial to explicitly model the private variables within each view. ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
173,
|
| 530 |
+
761,
|
| 531 |
+
825,
|
| 532 |
+
873
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "We therefore propose a new probabilistic graphical model, shown in Figure 2, that we refer to as VCCA-private. We introduce two sets of hidden variables $\\mathbf { h } _ { x } \\in \\mathbb { R } ^ { d _ { h _ { x } } }$ and $\\mathbf { h } _ { y } \\in \\mathbb { R } ^ { d _ { h _ { y } } }$ to explain the aspects of $\\mathbf { x }$ and $\\mathbf { y }$ not captured by the common variables $\\mathbf { z }$ . Under this model, the data likelihood ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
176,
|
| 541 |
+
880,
|
| 542 |
+
823,
|
| 543 |
+
924
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 3
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "is defined by ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
173,
|
| 552 |
+
103,
|
| 553 |
+
259,
|
| 554 |
+
118
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 4
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "equation",
|
| 560 |
+
"img_path": "images/b058bb0762c274e978bcf495156551b55fb4c738fac875cbd7870384637d43f2.jpg",
|
| 561 |
+
"text": "$$\n\\begin{array} { l } { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } ) = p ( \\mathbf { z } ) p ( \\mathbf { h } _ { x } ) p ( \\mathbf { h } _ { y } ) p _ { \\theta } ( \\mathbf { x } | \\mathbf { z } , \\mathbf { h } _ { x } ; \\theta _ { x } ) p _ { \\theta } ( \\mathbf { y } | \\mathbf { z } , \\mathbf { h } _ { y } ; \\theta _ { y } ) , } \\\\ { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } ) = \\displaystyle \\int \\int \\int p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } ) d \\mathbf { z } d \\mathbf { h } _ { x } d \\mathbf { h } _ { y } . } \\end{array}\n$$",
|
| 562 |
+
"text_format": "latex",
|
| 563 |
+
"bbox": [
|
| 564 |
+
264,
|
| 565 |
+
123,
|
| 566 |
+
732,
|
| 567 |
+
179
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 4
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "To obtain tractable inference, we introduce the following factored variational posterior ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
183,
|
| 577 |
+
740,
|
| 578 |
+
198
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 4
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "equation",
|
| 584 |
+
"img_path": "images/7bba08efb07fbe20455b22d32338fb2f8fa4667203b70d4c1ee6a4c9d4371ffb.jpg",
|
| 585 |
+
"text": "$$\n\\begin{array} { r } { q _ { \\phi } ( \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } | \\mathbf { x } , \\mathbf { y } ) = q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ; \\phi _ { z } ) q _ { \\phi } ( \\mathbf { h } _ { x } | \\mathbf { x } ; \\phi _ { x } ) q _ { \\phi } ( \\mathbf { h } _ { y } | \\mathbf { y } ; \\phi _ { y } ) , } \\end{array}\n$$",
|
| 586 |
+
"text_format": "latex",
|
| 587 |
+
"bbox": [
|
| 588 |
+
294,
|
| 589 |
+
204,
|
| 590 |
+
700,
|
| 591 |
+
223
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "where each factor is parameterized by a different DNN. Similarly to VCCA, we can derive a variational lower bound on the data likelihood for VCCA-private as ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
228,
|
| 601 |
+
823,
|
| 602 |
+
257
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "equation",
|
| 608 |
+
"img_path": "images/fcba636306ddfd1c51aa24532d341d213bfbbc5d16b5ac275b8aa35d63f68a93.jpg",
|
| 609 |
+
"text": "$$\n\\begin{array} { r l } & { \\quad \\log p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } ) } \\\\ & { \\geq \\iint \\int d \\varphi ( \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } | \\mathbf { x } , \\mathbf { y } ) \\log \\frac { p _ { \\theta } ( \\mathbf { x } , \\mathbf { y } , \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } ) } { q _ { \\phi } ( \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } | \\mathbf { x } , \\mathbf { y } ) } d \\mathbf { z } d \\mathbf { h } _ { x } d \\mathbf { h } _ { y } } \\\\ & { = \\iint \\int d \\varphi ( \\mathbf { z } , \\mathbf { h } _ { x } , \\mathbf { h } _ { y } | \\mathbf { x } , \\mathbf { y } ) \\left[ \\log \\frac { p ( \\mathbf { z } ) } { q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) } + \\log \\frac { p ( \\mathbf { h } _ { x } ) } { q _ { \\phi } ( \\mathbf { h } _ { x } | \\mathbf { x } ) } + \\log \\frac { p ( \\mathbf { h } _ { y } ) } { q _ { \\phi } ( \\mathbf { h } _ { y } | \\mathbf { y } ) } \\right. } \\\\ & { \\qquad \\left. + \\log p _ { \\theta } ( \\mathbf { z } | \\mathbf { z } , \\mathbf { h } _ { x } ) + \\log p _ { \\theta } ( \\mathbf { z } | \\mathbf { z } , \\mathbf { h } _ { y } ) \\right] d \\mathbf { z } d \\mathbf { h } _ { x } d \\mathbf { h } _ { y } } \\\\ & { = - D _ { K L } ( q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) | | p ( \\mathbf { z } ) ) - D _ { K L } ( q _ { \\phi } ( \\mathbf { h } _ { x } | \\mathbf { x } ) | | p ( \\mathbf { h } _ { x } ) ) - D _ { K L } ( q _ { \\phi } ( \\mathbf { h } _ { y } | \\mathbf { y } ) | | p ( \\mathbf { h } _ { y } ) ) } \\\\ & \\quad + \\int \\int q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) q _ { \\phi } ( \\mathbf { h } _ { x } | \\mathbf { x } ) \\log p _ { \\theta } ( \\mathbf { x } | \\mathbf { z } , \\mathbf { h } _ { x } ) d \\mathbf { z } d \\mathbf { h } _ { x } + \\iint q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } ) q _ { \\phi } ( \\mathbf { h } _ { y } | \\mathbf { y } ) \\log p _ { \\theta } ( \\mathbf { y } | \\mathbf { z } , \\mathbf { h } _ { y } ) d \\end{array}\n$$",
|
| 610 |
+
"text_format": "latex",
|
| 611 |
+
"bbox": [
|
| 612 |
+
173,
|
| 613 |
+
262,
|
| 614 |
+
816,
|
| 615 |
+
460
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 4
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "As in VCCA, the last two terms of (14) can be approximated by Monte Carlo sampling. For example, we draw samples of $\\mathbf { z }$ and $\\mathbf { h } _ { x }$ from their corresponding approximate posteriors, and concatenate their samples as inputs to the DNN parameterizing $p _ { \\pmb { \\theta } } ( \\mathbf { x } | \\mathbf { z } , \\mathbf { h } _ { x } )$ . In this paper, we use simple Gaussian prior distributions for the private variables, i.e., $\\mathbf { h } _ { x } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ and $\\mathbf { h } _ { y } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\mathbf { I } )$ . We leave to future work to examine the effect of more sophisticated prior distributions for the latent variables. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
173,
|
| 624 |
+
465,
|
| 625 |
+
825,
|
| 626 |
+
536
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 4
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "VCCA-private maximizes this lower bound on the training set, i.e., ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
173,
|
| 635 |
+
541,
|
| 636 |
+
612,
|
| 637 |
+
558
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "equation",
|
| 643 |
+
"img_path": "images/2c6fe1818c43e6f66256cc95b94c97b0f1dc2643a52f22779777ff51a932d44c.jpg",
|
| 644 |
+
"text": "$$\n\\operatorname* { m a x } _ { \\theta , \\phi } \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathcal { L } _ { \\mathrm { p r i v a t e } } ( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } ; \\mathbf { \\boldsymbol { \\theta } } , \\phi ) .\n$$",
|
| 645 |
+
"text_format": "latex",
|
| 646 |
+
"bbox": [
|
| 647 |
+
383,
|
| 648 |
+
564,
|
| 649 |
+
612,
|
| 650 |
+
607
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 4
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "text",
|
| 656 |
+
"text": "Optimization The objectives (5) and (14) decouple over the training samples and can be trained efficiently using stochastic gradient descent. Enabled by the reparameterization trick, unbiased gradient estimates are obtained by Monte Carlo sampling and the standard backpropagation procedure on minibatches of training samples. We apply the ADAM algorithm (Kingma and Ba, 2015) for optimizing our objectives. ",
|
| 657 |
+
"bbox": [
|
| 658 |
+
173,
|
| 659 |
+
621,
|
| 660 |
+
825,
|
| 661 |
+
691
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 4
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "3 RELATED WORK ",
|
| 668 |
+
"text_level": 1,
|
| 669 |
+
"bbox": [
|
| 670 |
+
176,
|
| 671 |
+
705,
|
| 672 |
+
341,
|
| 673 |
+
722
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 4
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "Recently, there has been much interest in unsupervised deep generative models (Kingma and Welling, 2014; Rezende et al., 2014; Goodfellow et al., 2014; Gregor et al., 2015; Makhzani et al., 2016; Burda et al., 2016; Alain et al., 2016). A common motivation behind these models is that, with the expressive power of DNNs, the generative models can capture distributions for complex inputs. Additionally, if we are able to generate realistic samples from the learned distribution, we can infer that we have discovered the underlying structure of the data, which may allow us to reduce the sample complexity for learning for downstream tasks. These previous models have mostly focused on single-view data. Here we focus on the multi-view setting where multiple views of the data are present for feature extraction but only one view is available at test time (in downstream tasks). ",
|
| 680 |
+
"bbox": [
|
| 681 |
+
174,
|
| 682 |
+
734,
|
| 683 |
+
825,
|
| 684 |
+
861
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 4
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "Some recent work has explored deep generative models for (semi-)supervised learning. Kingma et al. (2014) built a generative model based on variational autoencoders (VAEs) for semi-supervised classification, where the authors model the input distribution with two set of latent variables: the class label (if it is missing) and another set that models the intra-class variabilities (styles). Sohn et al. (2015) proposed a conditional generative model for structured output prediction, where the authors explicitly model the uncertainty in the input/output using Gaussian latent variables. While there are two set of observations (input and output labels) in these work, their graphical models are different from that of VCCA. ",
|
| 691 |
+
"bbox": [
|
| 692 |
+
174,
|
| 693 |
+
867,
|
| 694 |
+
823,
|
| 695 |
+
924
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 4
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "",
|
| 702 |
+
"bbox": [
|
| 703 |
+
174,
|
| 704 |
+
103,
|
| 705 |
+
823,
|
| 706 |
+
159
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 5
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Our work is also related to the deep multi-view probabilistic models based on restricted Boltzmann machines (Srivastava and Salakhutdinov, 2014; Sohn et al., 2014). We note that these are undirected graphical models for which both inference and learning are difficult, and one typically resorts to carefully designed variational approximation and Gibbs sampling procedures for training such models. In contrast, our models only require sampling from simple, standard distributions (such as Gaussians), and all parameters can be learned end-to-end by standard stochastic gradient methods. Therefore, our models are more scalable than the previous multi-view probabilistic models. ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
174,
|
| 715 |
+
166,
|
| 716 |
+
825,
|
| 717 |
+
263
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 5
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "On the other hand, there is a rich literature in modeling multi-view data using the same or similar graphical models behind VCCA/VCCA-private (Wang, 2007; Jia et al., 2010; Salzmann et al., 2010; Virtanen et al., 2011; Memisevic et al., 2012; Klami et al., 2013). Our methods differ from previous work in parameterizing the probability distributions using DNNs. This makes the model more powerful, while still having tractable objectives and efficient end-to-end training using the local reparameterization technique. We note that, unlike earlier work on probabilistic models of linear CCA (Bach and Jordan, 2005), VCCA does not optimize the same criterion, nor produce the same solution, as any linear or nonlinear CCA. However, we retain the terminology in order to clarify the connection with earlier work on probabilistic models for CCA, which we are extending with DNN models for the observations and for the variational posterior distribution approximation. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
174,
|
| 726 |
+
270,
|
| 727 |
+
825,
|
| 728 |
+
410
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 5
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "4 EXPERIMENTAL RESULTS ",
|
| 735 |
+
"text_level": 1,
|
| 736 |
+
"bbox": [
|
| 737 |
+
176,
|
| 738 |
+
426,
|
| 739 |
+
416,
|
| 740 |
+
441
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "In this section, we compare different multi-view representation learning algorithms on three tasks involving several domains: image-image, speech-articulation, and image-text. The algorithms we choose to compare below are closely related to the proposed model or have been shown to have strong empirical performance under similar settings. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
173,
|
| 749 |
+
455,
|
| 750 |
+
825,
|
| 751 |
+
512
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 5
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "• Linear CCA: its probabilistic interpretation motivates this work. \n• Deep CCA (DCCA) (Andrew et al., 2013): see its objective in (1). \n• Deep canonically correlated autoencoders (DCCAE) (Wang et al., 2015b): combination of the DCCA objective and the reconstruction errors of each view. \n• Multi-view autoencoder (MVAE) (Ngiam et al., 2011): see its objective in (10). \n• Multi-view contrastive loss (Hermann and Blunsom, 2014): based on the intuition that the distance between embeddings of paired examples $\\mathbf { x } ^ { + }$ and $\\mathbf { y } ^ { + }$ should be smaller than the distance between embeddings of $\\mathbf { x } ^ { + }$ and an unmatched negative example $\\mathbf { y } ^ { - }$ by a margin: $\\operatorname* { m i n } _ { f , g } \\ \\mathcal { L } _ { c o n t r a s t } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , \\ m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { y } _ { i } ^ { + } ) \\right) - d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { y } _ { i } ^ { - } ) \\right) \\right) ,$ where $\\mathbf { y } _ { i } ^ { - }$ is a randomly sampled view 2 example, and $m$ is a margin hyperparameter. We use the ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
165,
|
| 760 |
+
518,
|
| 761 |
+
828,
|
| 762 |
+
756
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 5
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "cosine distance $\\begin{array} { r } { d i s \\left( \\mathbf { a } , \\mathbf { b } \\right) = 1 - \\left. \\frac { \\mathbf { a } } { \\| \\mathbf { a } \\| } , \\ \\frac { \\mathbf { b } } { \\| \\mathbf { b } \\| } \\right. } \\end{array}$ . ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
183,
|
| 771 |
+
732,
|
| 772 |
+
825,
|
| 773 |
+
772
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 5
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "4.1 NOISY MNIST DATASET ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
785,
|
| 784 |
+
387,
|
| 785 |
+
799
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 5
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "We first demonstrate our algorithms on the noisy MNIST dataset used by Wang et al. (2015b). The dataset is generated using the MNIST dataset (LeCun et al., 1998), which consists of $2 8 \\times 2 8$ grayscale digit images, with $6 0 K / 1 0 K$ images for training/testing. We first linearly rescale the pixel values to the range $[ 0 , 1 ]$ . Then, we randomly rotate the images at angles uniformly sampled from $[ - \\pi / 4 , \\pi / 4 ]$ and the resulting images are used as view 1 inputs. For each view 1 image, we randomly select an image of the same identity (0-9) from the original dataset, add independent random noise uniformly sampled from [0, 1] to each pixel, and truncate the pixel final values to [0, 1] to obtain the corresponding view 2 sample. Selection of input images are given in Figure 3 (left). The original training set is further split into training/tuning sets of size $5 0 K / 1 0 K$ . The data generation process ensures that the digit identity is the only common variable underlying both views. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
811,
|
| 795 |
+
825,
|
| 796 |
+
924
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 5
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "image",
|
| 802 |
+
"img_path": "images/4d3e1b453862a4241c4236728c099bbc3bff1644a1b351db312c4630ff24fbe7.jpg",
|
| 803 |
+
"image_caption": [
|
| 804 |
+
"Figure 3: Left: Selection of view 1 images (top) and their corresponding view 2 images (bottom) from noisy MNIST. Right: 2D t-SNE visualization of features learned by previous multi-view models. "
|
| 805 |
+
],
|
| 806 |
+
"image_footnote": [],
|
| 807 |
+
"bbox": [
|
| 808 |
+
184,
|
| 809 |
+
98,
|
| 810 |
+
813,
|
| 811 |
+
367
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "",
|
| 818 |
+
"bbox": [
|
| 819 |
+
174,
|
| 820 |
+
434,
|
| 821 |
+
820,
|
| 822 |
+
462
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 6
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "To evaluate the amount of class information extracted by different methods, after unsupervised learning of latent representations, we reveal the labels and train a linear SVM on the projected view 1 training data (using the one-versus-all scheme), and use it to classify the projected test set. This experiment simulates the typical usage of multi-view learning methods, which is to extract useful representations for downstream discriminative tasks. ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
469,
|
| 832 |
+
823,
|
| 833 |
+
537
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 6
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "Note that this synthetic dataset perfectly satisfies the multi-view assumption that the two views are independent given the class label, so the latent representation should contain precisely the class information. This is indeed achieved by CCA-based and contrastive loss-based multi-view approaches. In Figure 3 (right), we show 2D t-SNE (van der Maaten and Hinton, 2008) visualizations of the original view 1 inputs and view 1 projections by various deep multi-view methods. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
545,
|
| 843 |
+
825,
|
| 844 |
+
616
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 6
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "We use DNNs with 3 hidden layers of 1024 rectified linear units (ReLUs, Nair and Hinton, 2010) each to parameterize the distributions: $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ , $p _ { \\pmb { \\theta } } ( \\mathbf { x } | \\mathbf { z } )$ , $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } )$ in VCCA, and additionally $q _ { \\phi } ( \\mathbf { h } _ { x } | \\mathbf { x } )$ and $q _ { \\phi } ( \\mathbf { h } _ { y } | \\mathbf { y } )$ in VCCA-private. The capacities of these networks are the same as those of their counterparts in DCCA and DCCAE from Wang et al. (2015b). The reconstruction networks $p _ { \\pmb { \\theta } } ( \\mathbf { x } | \\mathbf { z } )$ or $p _ { \\pmb { \\theta } } ( \\mathbf { x } | \\mathbf { z } , \\mathbf { h } _ { x } )$ model each pixel of $\\mathbf { x }$ as an independent Bernoulli variable and parameterize its mean (using a sigmoid activation); $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } )$ and $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } , \\mathbf { h } _ { y } )$ model $\\mathbf { y }$ with diagonal Gaussians and parameterize the mean (using a sigmoid activation) and standard deviation for each pixel dimension. We tune the dimensionality $d _ { z }$ over $\\{ 1 0 , 2 0 , 3 0 , 4 0 , 5 0 \\}$ , and fix $d _ { h _ { x } } = d _ { h _ { y } } = 3 0$ for VCCA-private. We select the hyperparameter combination that yields the best SVM classification accuracy on the projected tuning set, and report the corresponding accuracy on the projected test set. ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
622,
|
| 854 |
+
825,
|
| 855 |
+
762
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 6
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "The effect of dropout We add dropout (Srivastava et al., 2014) to all intermediate layers and the input layers and find it to be very useful in our models, with most of the gain coming from dropout applied to the samples of $\\mathbf { z }$ , $\\mathbf { h } _ { x }$ and $\\mathbf { h } _ { y }$ . This is because dropout encourages each latent dimension to reconstruct the inputs well in the absence of other dimensions, and therefore avoids learning coadapted features. Intuitively, in VCCA-private dropout also helps to prevent the degenerate situation where the pathways $\\mathbf { x } \\to \\mathbf { h } _ { x } \\to \\mathbf { x }$ and $\\mathbf { y } \\mathbf { h } _ { y } \\mathbf { y }$ achieve good reconstruction while ignoring $\\mathbf { z }$ (e.g., by setting it to a constant). We use the same dropout rate for all layers and tune it over $\\{ 0 , 0 . 1 , 0 . 2 , 0 . 3 , 0 . 4 \\}$ . ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
174,
|
| 864 |
+
776,
|
| 865 |
+
825,
|
| 866 |
+
890
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 6
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "We show the 2D t-SNE embeddings of the common variables $\\mathbf { z }$ learned by VCCA and VCCA-private on test set in Figure 4. We observe that in general, VCCA/VCCA-private tend to separate the classes in the projection well; dropout significantly improves the performance of both VCCA and VCCAprivate, with the latter slightly outperforming the former. While such class separation can also be achieved by DCCA/contrastive loss as well, these methods can not naturally generate samples in the input space. On the other hand, such separation is not achieved by multi-view autoencoders. ",
|
| 873 |
+
"bbox": [
|
| 874 |
+
174,
|
| 875 |
+
895,
|
| 876 |
+
823,
|
| 877 |
+
924
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 6
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "image",
|
| 883 |
+
"img_path": "images/6029ce042a12b82b310d492e7252093b471226c5e8f698c2c263cf4972437533.jpg",
|
| 884 |
+
"image_caption": [
|
| 885 |
+
"Figure 4: 2D t-SNE embeddings of the extracted shared variables $\\mathbf { z }$ on the test set by VCCA (top row) and VCCA-private (bottom row) for different dropout rates. $d _ { z } = 4 0$ for both algorithms. "
|
| 886 |
+
],
|
| 887 |
+
"image_footnote": [],
|
| 888 |
+
"bbox": [
|
| 889 |
+
191,
|
| 890 |
+
97,
|
| 891 |
+
803,
|
| 892 |
+
303
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 7
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "image",
|
| 898 |
+
"img_path": "images/54bac0f2be82393a5938196bd107102f4254ce2324e28451011619fd5cb4d27c.jpg",
|
| 899 |
+
"image_caption": [
|
| 900 |
+
"Figure 5: Sample reconstruction of view 2 images from the test set by VCCA and VCCA-private. "
|
| 901 |
+
],
|
| 902 |
+
"image_footnote": [],
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
356,
|
| 906 |
+
831,
|
| 907 |
+
614
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "",
|
| 914 |
+
"bbox": [
|
| 915 |
+
174,
|
| 916 |
+
661,
|
| 917 |
+
825,
|
| 918 |
+
717
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 7
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "The effect of private variables on reconstructions We show sample reconstructions (mean and standard deviation) by VCCA for the view 2 images from the test set in Figure 5 (columns 2 and 3). We observe that for each input, the mean reconstruction of $\\mathbf { y } _ { i }$ by VCCA is a prototypical image of the same digit, regardless of the individual style in $\\mathbf { y } _ { i }$ . This is to be expected, as $\\mathbf { y } _ { i }$ contains an arbitrary image of the same digit as $\\mathbf { x } _ { i }$ , and the variation in background noise in $\\mathbf { y } _ { i }$ does not appear in $\\mathbf { x } _ { i }$ and can not be reflected in $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ ; thus the best way for $\\mathbf { p } _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } )$ to model $\\mathbf { y } _ { i }$ is to output a prototypical image of that class to achieve on average small reconstruction error. On the other hand, since $\\mathbf { y } _ { i }$ contains little rotation of the digits, this variation is suppressed to a large extent in $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ (it is no longer the major variation in $\\mathbf { z }$ as in the original inputs). ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
174,
|
| 927 |
+
736,
|
| 928 |
+
825,
|
| 929 |
+
861
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 7
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "We show sample reconstructions by VCCA-private for the same set of view 2 images in Figure 5 (columns 4 and 5). With the help of private variables $\\mathbf { h } _ { y }$ (as part of the input to $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } , \\mathbf { h } _ { y } ) )$ , the model does a much better job in reconstructing the styles of y. And by disentangling the private variables from the shared variables, $q _ { \\phi } ( \\mathbf { z } | \\mathbf { x } )$ achieves even better class separation than VCCA does. ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
174,
|
| 938 |
+
868,
|
| 939 |
+
825,
|
| 940 |
+
924
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 7
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "table",
|
| 946 |
+
"img_path": "images/bad887a866764dccf57278c7ac2402cef9453295d3f899c3f676cb17d95c56e3.jpg",
|
| 947 |
+
"table_caption": [
|
| 948 |
+
"Table 1: Performance of features extracted by different methods for downstream tasks: Classification error rates of linear SVMs on MNIST, mean phone error rate (PER) over 6 folds on XRMB, and mean average precision (mAP) for unimodal retrieval on MIR-Flickr. "
|
| 949 |
+
],
|
| 950 |
+
"table_footnote": [],
|
| 951 |
+
"table_body": "<table><tr><td>Method</td><td>Noisy MNIST Error rate (%,↓)</td><td>XRMB PER(%,↓)</td><td>Flickr mAP (↑)</td></tr><tr><td>Original inputs</td><td>13.1</td><td>37.6</td><td>0.480</td></tr><tr><td>CCA</td><td>19.1</td><td>29.4</td><td>0.529</td></tr><tr><td>DCCA</td><td>2.9</td><td>25.4</td><td>0.573</td></tr><tr><td>DCCAE</td><td>2.2</td><td>25.4</td><td>0.573</td></tr><tr><td>Contrastive</td><td>2.7</td><td>24.6</td><td>0.565</td></tr><tr><td>MVAE</td><td>11.7</td><td>29.4</td><td>0.477</td></tr><tr><td>VCCA</td><td>3.0</td><td>28.0</td><td>0.605</td></tr><tr><td>VCCA-private</td><td>2.4</td><td>25.2</td><td>0.609</td></tr></table>",
|
| 952 |
+
"bbox": [
|
| 953 |
+
287,
|
| 954 |
+
150,
|
| 955 |
+
705,
|
| 956 |
+
296
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 8
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "We also note that the standard deviation of the reconstruction is low within the digit and high outside the digit, implying that $p _ { \\pmb { \\theta } } ( \\mathbf { y } | \\mathbf { z } , \\mathbf { h } _ { y } )$ is able to separate the background noise from the digit image. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
316,
|
| 966 |
+
823,
|
| 967 |
+
344
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 8
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Disentanglement of private/shared variables In Figure 6 (in Appendix) we provide the 2D $t$ - SNE embeddings of the shared variables $\\mathbf { z }$ (top row) and the private variables $\\mathbf { h } _ { x }$ (bottom row) learned by VCCA-private. In the embedding of $\\mathbf { h } _ { x }$ , digits with different identities but the same rotation are mapped close together, and the rotation varies smoothly from left to right, confirming that the private variables contain little class information but mainly style information. ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
174,
|
| 976 |
+
358,
|
| 977 |
+
825,
|
| 978 |
+
428
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Finally, we give the test error rates of linear SVMs applied to the features learned with different models in Table 1. VCCA-private is comparable in performance to the best previous approach (DCCAE), while having the advantage that it can also generate. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
174,
|
| 987 |
+
435,
|
| 988 |
+
825,
|
| 989 |
+
477
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 8
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "4.2 XRMB SPEECH-ARTICULATION DATASET ",
|
| 996 |
+
"text_level": 1,
|
| 997 |
+
"bbox": [
|
| 998 |
+
176,
|
| 999 |
+
491,
|
| 1000 |
+
500,
|
| 1001 |
+
503
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "We now consider the task of learning acoustic features for speech recognition. We use data from the Wisconsin $\\mathrm { X }$ -ray microbeam (XRMB) corpus (Westbury, 1994), which contains simultaneously recorded speech and articulatory measurements from 47 American English speakers. We follow the setup of Wang et al. (2015a,b) and use the learned features for speaker-independent phonetic recognition.2 The two input views are standard 39D acoustic features $\\lvert 1 3 \\ \\mathrm { m e l }$ frequency cepstral coefficients (MFCCs) and their first and second derivatives) and 16D articulatory features (horizontal/vertical displacement of 8 pellets attached to several parts of the vocal tract), each then concatenated over a 7-frame window around each frame to incorporate context. The speakers are split into disjoint sets of 35/8/2/2 speakers for feature learning/recognizer training/tuning/testing. The 35 speakers for feature learning are fixed; the remaining 12 are used in a 6-fold experiment (recognizer training on 8 speakers, tuning on 2 speakers, and testing on the remaining 2 speakers). Each speaker has roughly $5 0 K$ frames. We remove the per-speaker mean and variance of the articulatory measurements for each training speaker, and remove the mean of the acoustic measurements for each utterance. All learned feature types are used in a “tandem” speech recognizer (Hermansky et al., 2000), i.e., they are appended to the original 39D features and used in a standard hidden Markov model (HMM)-based recognizer with Gaussian mixture observation distributions. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
516,
|
| 1011 |
+
825,
|
| 1012 |
+
739
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Each algorithm uses up to 3 ReLU hidden layers, each of 1500 units, for the projection and reconstruction mappings. For VCCA/VCCA-private, we use Gaussian observation models as the inputs are real-valued. In contrast to the MNIST experiments, we do not learn the standard deviations of each output dimension on training data, as this leads to poor downstream task performance. Instead, we use isotropic covariances for each view, and tune the standard deviations by grid search. The best model uses a smaller standard deviation (0.1) for the view 2 than for view 1 (1.0), effectively putting more emphasis on the reconstruction of articulatory measurements. Our best performing VCCA model uses $d _ { z } = 7 0$ , while the best performing VCCA-private model uses $d _ { z } = 7 0$ and $d _ { h _ { x } } = d _ { h _ { y } } = 1 0$ . ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
173,
|
| 1021 |
+
746,
|
| 1022 |
+
825,
|
| 1023 |
+
871
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "The mean phone error rates (PER) over 6 folds obtained by different algorithms are given in Table 1. \nOur methods achieve competitive performance in comparison to previous deep multi-view methods. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
173,
|
| 1032 |
+
103,
|
| 1033 |
+
823,
|
| 1034 |
+
132
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 9
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "4.3 MIR-FLICKR DATASET ",
|
| 1041 |
+
"text_level": 1,
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
176,
|
| 1044 |
+
150,
|
| 1045 |
+
375,
|
| 1046 |
+
164
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 9
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Finally, we consider the task of learning cross-modality features for topic classification on the MIRFlickr database (Huiskes and Lew, 2008). The Flickr database contains 1 million images accompanied by user tags, among which 25000 images are labeled with 38 topic classes (each image may be categorized as multiple topics). We use the same image and text features as in previous work (Srivastava and Salakhutdinov, 2014; Sohn et al., 2014): the image feature is 3857 dimensional real-valued vector, composed of Pyramid Histogram of Words (PHOW) (Bosch et al., 2007), GIST (Oliva and Torralba, 2001), and MPEG-7 descriptors (Manjunath et al., 2001), while the text feature is a 2000-dimensional binary vector of frequent tags. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
174,
|
| 1055 |
+
178,
|
| 1056 |
+
825,
|
| 1057 |
+
290
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 9
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Following the same protocol as Sohn et al. (2014), we train multi-view representations using the unlabelled data,3 and use projected image features of the labeled data (further divided into splits of 10000/5000/10000 samples for training/tuning/testing) for training and evaluating a classifier that predicts the topic labels, corresponding to the unimodal query task in Srivastava and Salakhutdinov (2014); Sohn et al. (2014). For each algorithm, we select the model which achieves the highest mean average precision (mAP) on the validation set, and report its performance on the test set. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
296,
|
| 1067 |
+
825,
|
| 1068 |
+
381
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 9
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Each algorithm uses up to 4 ReLU hidden layers, each of 1024 units, for the projection and reconstruction mappings. For VCCA/VCCA-private, we use Gaussian observation models with isotropic covariance for image features, with standard deviation tuned by grid search, and a Bernoulli model for text features. In this experiment, we also found it helpful to tune an additional trade-off parameter for the text-view likelihood (cross-entropy); the best VCCA/VCCA-private models prefer a large trade-off parameter of the level $1 0 ^ { 4 }$ , emphasizing the reconstruction of the sparse text-view inputs. Our best performing VCCA model uses $d _ { z } = 1 0 2 4$ , while the best performing VCCA-private model uses $d _ { z } = 1 0 2 4$ and $d _ { h _ { x } } = d _ { h _ { y } } = 1 6$ . ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
387,
|
| 1078 |
+
825,
|
| 1079 |
+
501
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 9
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "As shown in Table 1, VCCA/VCCA-private achieve significantly higher mAPs than other methods considered here. Being much easier to train, the performance of our methods are competitive with the previous state-of-the-art mAP result of 0.607 achieved by the multi-view RBMs of Sohn et al. (2014) under the same setting. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
176,
|
| 1088 |
+
506,
|
| 1089 |
+
825,
|
| 1090 |
+
561
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 9
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "5 CONCLUSIONS ",
|
| 1097 |
+
"text_level": 1,
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
176,
|
| 1100 |
+
582,
|
| 1101 |
+
328,
|
| 1102 |
+
598
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 9
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "We have proposed variational canonical correlation analysis (VCCA), a deep generative method for multi-view representation learning. Our method embodies a natural idea for multi-view learning: the multiple views can be generated from a small set of shared latent variables. VCCA is parameterized by DNNs and can be trained efficiently by backpropagation, and is therefore scalable. We have also shown that, by modeling the private variables that are specific to each view, the VCCA-private variant can disentangle shared/private variables and provide higher-quality reconstructions. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
174,
|
| 1111 |
+
613,
|
| 1112 |
+
825,
|
| 1113 |
+
696
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 9
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "In the future, we will explore other prior distributions such as mixtures of Gaussians or discrete random variables, which may enforce clustering in the latent space and in turn work better for discriminative tasks. We will also explore other observation models, including replacing the autoencoder objective with that of adversarial networks (Goodfellow et al., 2014; Makhzani et al., 2016; Chen et al., 2016). Another direction is to explicitly incorporate the structure of the inputs, such as the sequence structure of speech and text and the spatial structure of images. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
174,
|
| 1122 |
+
704,
|
| 1123 |
+
825,
|
| 1124 |
+
787
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 9
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "ACKOWLEDGEMENTS ",
|
| 1131 |
+
"text_level": 1,
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
176,
|
| 1134 |
+
809,
|
| 1135 |
+
354,
|
| 1136 |
+
823
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 9
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "This research was supported by NSF grant IIS-1321015. The opinions expressed in this work are those of the authors and do not necessarily reflect the views of the funding agency. This research used GPUs donated by NVIDIA Corporation. ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
176,
|
| 1145 |
+
839,
|
| 1146 |
+
823,
|
| 1147 |
+
881
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 9
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "",
|
| 1154 |
+
"text_level": 1,
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
174,
|
| 1157 |
+
103,
|
| 1158 |
+
285,
|
| 1159 |
+
118
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "REFERENCES \nS. Akaho. A kernel method for canonical correlation analysis. In Proceedings of the International Meeting of the Psychometric Society (IMPS2001), 2001. \nG. Alain, Y. Bengio, L. Yao, J. Yosinski, E. Thibodeau-Laufer, S. Zhang, and P. Vincent. GSNs: Generative stochastic networks. Information and Inference, 5(2):210–249, 2016. \nG. Andrew, R. Arora, J. Bilmes, and K. Livescu. Deep canonical correlation analysis. In Int. Conf. Machine Learning, pages 1247–1255, 2013. \nF. R. Bach and M. I. Jordan. Kernel independent component analysis. Journal of Machine Learning Research, 3:1–48, 2002. \nF. R. Bach and M. I. Jordan. A probabilistic interpretation of canonical correlation analysis. Technical Report 688, Dept. of Statistics, University of California, Berkeley, 2005. \nA. Bosch, A. Zisserman, and X. Munoz. Image classification using random forests and ferns. In 2007 IEEE 11th International Conference on Computer Vision, pages 1–8. IEEE, 2007. \nY. Burda, R. Grosse, and R. Salakhutdinov. Importance weighted autoencoders. 2016. \nX. Chen, Y. Duan, R. Houthooft, J. Schulman, I. Sutskever, and P. Abbeel. InfoGAN: Interpretable representation learning by information maximizing generative adversarial nets. arXiv:1606.03657 [cs.LG], 2016. \nI. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. pages 2672–2680, 2014. \nK. Gregor, I. Danihelka, A. Graves, D. J. Rezende, and D. Wierstra. DRAW: A recurrent neural network for image generation. In Int. Conf. Machine Learning, pages 1462–1471, 2015. \nK. M. Hermann and P. Blunsom. Multilingual distributed representations without word alignment. In Int. Conf. Learning Representations, 2014. arXiv:1312.6173 [cs.CL]. \nH. Hermansky, D. P. W. Ellis, and S. Sharma. Tandem connectionist feature extraction for conventional HMM systems. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., pages 1635–1638, 2000. \nH. Hotelling. Relations between two sets of variates. Biometrika, 28(3/4):321–377, 1936. \nM. J. Huiskes and M. S. Lew. The mir flickr retrieval evaluation. In Proceedings of the 1st ACM International Conference on Multimedia Information Retrieval, pages 39–43, 2008. doi: 10.1145/ 1460096.1460104. URL http://doi.acm.org/10.1145/1460096.1460104. \nY. Jia, M. Salzmann, and T. Darrell. Factorized latent spaces with structured sparsity. pages 982– 990, 2010. \nD. Kingma and J. Ba. ADAM: A method for stochastic optimization. In Int. Conf. Learning Representations, 2015. \nD. P. Kingma and M. Welling. Auto-encoding variational Bayes. arXiv:1312.6114 [stat.ML], 2014. \nD. P. Kingma, S. Mohamed, D. J. Rezende, and M. Welling. Semi-supervised learning with deep generative models. pages 3581–3589, 2014. \nA. Klami, S. Virtanen, and S. Kaski. Bayesian canonical correlation analysis. Journal of Machine Learning Research, pages 965–1003, 2013. \nP. L. Lai and C. Fyfe. Kernel and nonlinear canonical correlation analysis. Int. J. Neural Syst., 10 (5):365–377, 2000. \nY. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proc. IEEE, 86(11):2278–2324, 1998. \nA. Lu, W. Wang, M. Bansal, K. Gimpel, and K. Livescu. Deep multilingual correlation for improved word embeddings. In The 2015 Conference of the North American Chapter of the Association for Computational Linguistics - Human Language Technologies (NAACL-HLT 2015), 2015. \nA. Makhzani, J. Shlens, N. Jaitly, and I. Goodfellow. Adversarial autoencoders. In Int. Conf. Learning Representations, 2016. \nB. S. Manjunath, J.-R. Ohm, V. V. Vasudevan, and A. Yamada. Color and texture descriptors. IEEE Transactions on circuits and systems for video technology, 11(6):703–715, 2001. \nT. Melzer, M. Reiter, and H. Bischof. Nonlinear feature extraction using generalized canonical correlation analysis. In Int. Conf. Artificial Neural Networks, pages 353–360, 2001. \nR. Memisevic, L. Sigal, and D. J. Fleet. Shared kernel information embedding for discriminative inference. IEEE Trans. Pattern Analysis and Machine Intelligence, 34(4):778–790, 2012. \nV. Nair and G. E. Hinton. Rectified linear units improve restricted Boltzmann machines. In Int. Conf. Machine Learning, pages 807–814, 2010. \nJ. Ngiam, A. Khosla, M. Kim, J. Nam, H. Lee, and A. Ng. Multimodal deep learning. In Int. Conf. Machine Learning, pages 689–696, 2011. \nA. Oliva and A. Torralba. Modeling the shape of the scene: A holistic representation of the spatial envelope. International journal of computer vision, 42(3):145–175, 2001. \nD. Povey, A. Ghoshal, G. Boulianne, L. Burget, O. Glembek, N. Goel, M. Hannemann, P. Motlicek, Y. Qian, P. Schwarz, J. Silovsky, G. Stemmer, and K. Vesely. The Kaldi speech recognition toolkit. In IEEE Workshop on Automatic Speech Recognition and Understanding, 2011. \nD. J. Rezende, S. Mohamed, and D. Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Int. Conf. Machine Learning, pages 1278–1286, 2014. \nM. Salzmann, C. H. Ek, R. Urtasun, and T. Darrell. Factorized orthogonal latent spaces. In Int. Workshop on Artificial Intelligence and Statistics, pages 701–708, 2010. \nK. Sohn, W. Shang, and H. Lee. Improved multimodal deep learning with variation of information. pages 2141–2149, 2014. \nK. Sohn, H. Lee, and X. Yan. Learning structured output representation using deep conditional generative models. pages 3465–3473, 2015. \nN. Srivastava and R. Salakhutdinov. Multimodal learning with deep boltzmann machines. Journal of Machine Learning Research, 15:2949–2980, 2014. \nN. Srivastava, G. E. Hinton, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15:1929–1958, 2014. \nL. J. P. van der Maaten and G. E. Hinton. Visualizing data using $t$ -SNE. Journal of Machine Learning Research, 9:2579–2605, 2008. \nS. Virtanen, A. Klami, and S. Kaski. Bayesian CCA via group sparsity. In Int. Conf. Machine Learning, pages 457–464, 2011. \nC. Wang. Variational Bayesian approach to canonical correlation analysis. IEEE Trans. Neural Networks, 18(3):905–910, 2007. \nW. Wang and K. Livescu. Large-scale approximate kernel canonical correlation analysis. In Int. Conf. Learning Representations, 2016. arXiv:1511.04773 [cs.LG]. \nW. Wang, R. Arora, K. Livescu, and J. Bilmes. Unsupervised learning of acoustic features via deep canonical correlation analysis. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015a. \nW. Wang, R. Arora, K. Livescu, and J. Bilmes. On deep multi-view representation learning. In Int. Conf. Machine Learning, pages 1083–1092, 2015b. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
168,
|
| 1168 |
+
108,
|
| 1169 |
+
828,
|
| 1170 |
+
924
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
171,
|
| 1179 |
+
95,
|
| 1180 |
+
828,
|
| 1181 |
+
928
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 11
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "J. R. Westbury. X-Ray Microbeam Speech Production Database User’s Handbook Version 1.0, 1994. F. Yan and K. Mikolajczyk. Deep correlation for matching images and text. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pages 3441–3450, 2015. S. J. Young, D. Kernshaw, J. Odell, D. Ollason, V. Valtchev, and P. Woodland. The HTK book version 2.2. Technical report, Entropic, Ltd., 1999. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
169,
|
| 1190 |
+
101,
|
| 1191 |
+
826,
|
| 1192 |
+
194
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 12
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "A ADDITIONAL T-SNE VISUALIZATION OF NOISY MNIST ",
|
| 1199 |
+
"text_level": 1,
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
174,
|
| 1202 |
+
213,
|
| 1203 |
+
671,
|
| 1204 |
+
231
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 12
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "image",
|
| 1210 |
+
"img_path": "images/75fc2d64d13d742f31a2eb39292512368c0b88e3d21db40621c9404dee6e5307.jpg",
|
| 1211 |
+
"image_caption": [
|
| 1212 |
+
"Figure 6: 2D $t$ -SNE embedding of the shared variables $\\mathbf { z } \\in \\mathbb { R } ^ { 4 0 }$ (top) and private variables $\\mathbf { h } _ { x } \\in \\mathbb { R } ^ { 3 0 }$ (bottom). "
|
| 1213 |
+
],
|
| 1214 |
+
"image_footnote": [],
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
256,
|
| 1217 |
+
241,
|
| 1218 |
+
745,
|
| 1219 |
+
856
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 12
|
| 1222 |
+
}
|
| 1223 |
+
]
|
parse/train/H1Heentlx/H1Heentlx_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1Heentlx/H1Heentlx_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1eH4n09KX/H1eH4n09KX.md
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ADVERSARIAL AUDIO SUPER-RESOLUTION WITH UNSUPERVISED FEATURE LOSSES
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural network-based methods have recently demonstrated state-of-the-art results on image synthesis and super-resolution tasks, in particular by using variants of generative adversarial networks (GANs) with supervised feature losses. Nevertheless, previous feature loss formulations rely on the availability of large auxiliary classifier networks, and labeled datasets that enable such classifiers to be trained. Furthermore, there has been comparatively little work to explore the applicability of GAN-based methods to domains other than images and video. In this work we explore a GAN-based method for audio processing, and develop a convolutional neural network architecture to perform audio super-resolution. In addition to several new architectural building blocks for audio processing, a key component of our approach is the use of an autoencoder-based loss that enables training in the GAN framework, with feature losses derived from unlabeled data. We explore the impact of our architectural choices, and demonstrate significant improvements over previous works in terms of both objective and perceptual quality.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep convolutional neural networks (CNNs) have become a cornerstone in modern solutions for image and audio analysis. Such networks have excelled at supervised discrimination tasks, for instance on ImageNet (Deng et al., 2009; Simonyan & Zisserman, 2014), where image classifier networks are trained on a large corpus of labeled data. More recently, CNNs have successfully been applied to data synthesis problems in the context of generative adversarial networks (GANs) (Goodfellow et al., 2014). In the GAN framework, a neural network is used to synthesize new instances from a modeled distribution, or resolve missing details given lossy observations. In the latter case, the GANs have been shown to greatly improve reconstruction of fine texture details for images, compared to standalone sample-space losses that result in overly smoothed outputs (Dosovitskiy & Brox, 2016; Isola et al., 2017; Ledig et al., 2017). However, GANs are notoriously hard to train, and the use of conventional sample-space objectives in conjunction with an adversarial loss either de-stabilizes training, or results in outputs with significant artifacts (Figure 1).
|
| 12 |
+
|
| 13 |
+
To address the smoothness problem described above, previous works typically augment or replace conventional sample-space losses with a feature loss (also called a perceptual loss) (Dosovitskiy & Brox, 2016; Ledig et al., 2017; Johnson et al., 2016). Instead of distance in raw sample-space, such feature losses reflect distance in terms of the feature maps of an auxiliary neural network. While classifier-based feature losses are effective, they require either a pre-trained neural network that is applicable to the problem domain (e.g., synthesizing images of cats), or a labeled dataset that is amenable to training a relevant classifier. Training new classifiers for use in a feature loss can be non-trivial for numerous reasons. Besides the difficulty of training large classifiers that are commonly used for feature losses, such as VGG (Simonyan & Zisserman, 2014), creating a labeled dataset that is sufficiently large and diverse is often infeasible.
|
| 14 |
+
|
| 15 |
+
In this work, we sidestep the difficulty of training auxiliary classifiers by developing a feature loss that is unsupervised. In particular, we focus on an audio modeling task called super-resolution, where the goal is to generate high-quality audio given down-sampled, low-resolution input. Inspired by previous work on audio and image super-resolution, we develop a neural network architecture for end-to-end super-resolution that operates on raw audio. In addition to providing new algorithms to model audio, our work suggests new techniques to improve GAN-based methods in other domains such as images and video. Specifically, our contributions are as follows:
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: (a) High-resolution, (b) low-resolution, (c) and super-resolution spectrograms. The superresolution spectrogram corresponds to audio generated by the GAN described in Section 3, trained only with an adversarial loss and conventional $L 2$ loss. Training tends to either diverge, or results in audio with persistent high-frequency tones and alias-like artifacts.
|
| 19 |
+
|
| 20 |
+
1. We formulate a new, general-purpose feature loss that is fully unsupervised and circumvents the need for problematic classifier-based models.
|
| 21 |
+
2. We successfully adapt the adversarial framework for audio processing, and provide solutions to previously unsolved problems associated with the application of GANs to audio.
|
| 22 |
+
3. We demonstrate our methods in an end-to-end architecture for audio super-resolution, with stateof-the-art results on both speech and music tasks.
|
| 23 |
+
4. We analyze important architectural parameters of our model, and in particular discover previously-unobserved behavior with effective receptive field sizes.
|
| 24 |
+
|
| 25 |
+
# 2 BACKGROUND & RELATED WORK
|
| 26 |
+
|
| 27 |
+
Audio super-resolution Audio super-resolution is the task of constructing a high-resolution audio signal from a low-resolution signal that contains a fraction of the original samples. Concretely, given a low-resolution sequence of audio samples $x _ { l } \ = \ ( x _ { 1 / R _ { l } } , \ldots , x _ { R _ { l } T / R _ { l } } )$ , we wish to synthesize a high-resolution audio signal $x _ { h } = ( x _ { 1 / R _ { h } } , \ldots , x _ { R _ { h } T / R _ { h } } )$ , where $R _ { l }$ and $R _ { h }$ are the sampling rates of the low and high-resolution signals, respectively. We denote $R = { { R } _ { h } } / { { R } _ { l } }$ as the upsampling ratio, which ranges from 2 to 6 in this work. Thus, the audio super-resolution problem is equivalent to reconstructing the missing frequency content between frequencies $R _ { l } / 2$ and $R _ { h } / 2$ .
|
| 28 |
+
|
| 29 |
+
There is a vast body of prior work on audio super-resolution in the signal and audio processing communities under the term artificial bandwidth extension (Larsen & Aarts, 2004). Neural networkbased methods in this domain generally apply a DNN on top of hand-crafted features as part of complex bandwidth extension systems (Liu et al., 2015; Abel & Fingscheidt, 2018). Gaussian mixture and hidden Markov models have also been used (Bachhav et al., 2017; Tokuda et al., 2013), but these methods generally perform worse compared to neural networks (Abel & Fingscheidt, 2018). In contrast with the works above, our method does not rely on hand-crafted features (e.g., transformations or cepstrum coefficients), and is not specific to problems in speech modeling.
|
| 30 |
+
|
| 31 |
+
Audio modeling with neural networks Learning-based approaches for audio have also been explored in the largely in the context of representation learning, generative modeling, and text-tospeech (TTS) systems. Unsupervised methods such as convolutional deep belief networks (Lee et al., 2009) and bottleneck CNNs (Aytar et al., 2016) have been shown to learn useful representations from audio, such as phonemes and sound textures. Stacked autoencoders (Vincent et al., 2010) and variational autoencoders (Kingma & Welling, 2014; Sonderby et al., 2016) have been used for denoising, image generation, and music synthesis (Sarroff & Casey, 2014). Bottleneck-like CNNs have also demonstrated significant improvements for audio super-resolution in supervised settings compared to previous DNN and spline-based methods (Kuleshov et al., 2017). Donahue et al. (2018) is among the first to develop methods for raw audio synthesis with GANs. Notably, Donahue et al.
|
| 32 |
+
|
| 33 |
+
(2018) show that non-trivial modifications of GAN architectures are required to generative diverse and plausible audio outputs. We build on the works above by developing a GAN framework for audio super-resolution with an improved bottleneck-style generator, and show that leveraging representations learned from unsupervised training greatly aid the super-resolution task. Autoregressive probabilistic models have recently demonstrated state-of-the-art results for generation of music (Engel et al., 2017), general audio (van den Oord et al., 2016; Mehri et al., 2017), and for parametric TTS systems (Sotelo et al., 2017). Several works have leveraged model distillation (van den Oord et al., 2018; ClariNet, 2019)1 to mitigate the overhead of autoregressive methods, making them feasible for real-time audio generation. In general, our work can be used to augment existing speech synthesis systems, including those that employ autoregressive methods. For instance, the unsupervised feature loss proposed in our work could be used as a drop-in replacement for the classifier-based feature loss used by van den Oord et al. (2018). While we are not aware of any efforts that explore autoregressive modeling for audio super-resolution, we believe it may be a promising future direction.
|
| 34 |
+
|
| 35 |
+
Generative adversarial networks for images Generative methods have been extensively explored for image generation and super-resolution. Building upon the original formulation of Goodfellow et al. (2014), GANs have been continuously improved to generate plausible, high-fidelity images (Radford et al., 2015; Denton et al., 2015; Berthelot et al., 2017; Karras et al., 2018). GAN variants conditioned on class labels or object sketches have also demonstrated promising results on tasks such as in-painting and style transfer (Mirza & Osindero, 2014; Isola et al., 2017).
|
| 36 |
+
|
| 37 |
+
# 3 METHOD
|
| 38 |
+
|
| 39 |
+
GANs for Super-Resolution GANs developed for super-resolution tasks have several important differences compared to the original formulation of Goodfellow et al. (2014). When used to generate new instances from a data distribution $p _ { \mathrm { d a t a } }$ , the generator $( G )$ parameterized by $\theta _ { G }$ learns the mapping to data space as $G ( z ; \theta _ { G } )$ , where $_ { z }$ is a latent noise prior. The discriminator $( D )$ parameterized by $\theta _ { D }$ then estimates the probability that $G ( z ; \theta _ { G } )$ was drawn from $p _ { \mathrm { d a t a } }$ rather than the generator distribution $p _ { g }$ . In contrast, for super-resolution, $G$ is no longer conditioned on noise and learns the mapping to high-resolution data space $p _ { h }$ as $G ( \pmb { x } \imath ; \theta _ { G } )$ , where $_ { x \iota }$ is drawn from the low-resolution data distribution $p _ { l }$ . The task of $D$ is to discriminate between samples from the high-resolution and super-resolution (generator) distributions $p _ { h }$ and $p _ { g }$ , respectively. Since low-resolution data $_ { x \iota }$ corresponds directly to a downsampled version of $\scriptstyle { \mathbf { 2 } } ( { \mathbf { 2 } } )$ during training, we expect ${ \cal G } ( { \pmb x } _ { l } ; \theta _ { G } ) \approx { \pmb x } _ { h }$ . $G$ and $D$ are optimized according to the two-player minimax problem:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\operatorname* { m i n } _ { \theta _ { G } } \operatorname* { m a x } _ { \theta _ { D } } \mathbb { E } _ { { \mathbf { x } } _ { h } \sim p _ { h } ( { \mathbf { x } } _ { h } ) } \left[ \log D \left( { \mathbf { x } } _ { h } ; \theta _ { D } \right) \right] + \mathbb { E } _ { { \mathbf { x } } _ { l } \sim p _ { l } ( { \mathbf { x } } _ { l } ) } \left[ \log \left( 1 - D \left( G \left( { \mathbf { x } } _ { l } ; \theta _ { G } \right) \right) \right) \right]
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
This framework enables the joint optimization of two neural networks - $G$ generates super-resolution data with the goal of fooling $D$ , and $D$ is trained to distinguish between real and super-resolved data. Thus, the GAN approach encourages $G$ to learn solutions that are hard to distinguish from real, highresolution datum.
|
| 46 |
+
|
| 47 |
+
Architecture overview MU-GAN (Multiscale U-net GAN) is composed of three models that all operate on raw audio2 - a generator $( G )$ , discriminator $( D )$ , and convolutional autoencoder $( A )$ (Figure 2). The generator’s task is to learn the mapping between the low and high-resolution data spaces, corresponding to signals $_ { x \iota }$ and $\scriptstyle { \mathbf { \mathcal { X } } } _ { h }$ , respectively. The discriminator’s task is then to classify whether presented data instances are real, or produced by the generator. In addition to $G$ and $D$ , the autoencoder extracts perceptually-relevant features from both real and super-resolved data for use in feature-space loss functions. The use of $A$ is crucial in the GAN framework, as generators trained solely on L2 or other sample-space losses suffer from training instability or output artifacts (Ledig et al., 2017).
|
| 48 |
+
|
| 49 |
+
Multiscale convolutional layers In comparison to images, audio signals are inherently periodic with time-scales on the order of 10’s to 100’s of samples. As a consequence, filters with very large
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 2: Overview of the model architecture and corresponding loss terms.
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
Figure 3: Subpixel and superpixel layers for increasing and decreasing spatial resolution, respectively.
|
| 56 |
+
|
| 57 |
+
# Generator
|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
Figure 4: Generator and discriminator models.
|
| 61 |
+
|
| 62 |
+
receptive fields are required to create high quality raw audio (Donahue et al., 2018; van den Oord et al., 2016). Previous work with classifier models also suggests that varying the filter size within a network helps capture information at multiple scales (Szegedy et al., 2015). Leveraging these observations, we use a multiscale convolutional building block composed of concatenated 3x1, 9x1, $2 7 \mathrm { x } 1$ , and $8 1 \mathbf { x } 1$ filters. In practice, and with a fixed number of parameters for a given layer, we found that filters larger than 81x1 provided no additional benefit, while omitting large filter sizes resulted in significantly degraded audio quality. We interpret the poor performance of small filters as being a byproduct of their frequency selectivity; it is well known from signal processing theory that the resolution of an FIR filter’s frequency response is proportional to the length of the filter.
|
| 63 |
+
|
| 64 |
+
Superpixel layers Recently, it has been shown that pooling and strided convolutions tend to induce periodic “checkerboard” artifacts (Odena et al., 2016; Donahue et al., 2018). Shi et al. (2016) developed a subpixel layer to increase spatial resolution, and showed that it is less prone to checkerboard artifacts. While the subpixel layer was subsequently adopted by several works (Kuleshov et al., 2017), no efforts have evaluated the performance of the inverse operation for decreasing spatial resolution. Concretely, the inverse subpixel operator interleaves samples from the time dimension into the channel dimension, and thus reduces the spatial resolution by an integer factor. We refer to this simple inverse operation as a superpixel layer (Figure 3), and use it as a drop-in replacement for strided convolution and pooling layers.
|
| 65 |
+
|
| 66 |
+
Generator network The high-level architecture for the generator network (Figure 4, top) is inspired by autoencoder-like U-net models (Ronneberger et al., 2015; Isola et al., 2017; Kuleshov et al., 2017). In a U-net-style model, the first half of the network consists of $B$ downsampling blocks (D-blocks) that perform feature extraction at multiple scales and resolutions 3. The second half the model consists of $B$ upsampling blocks (U-blocks), which successively increase the spatial resolution of the signal. We use multi-scale convolutional layers throughput the generator network, and replace all strided convolutions with superpixel layers.
|
| 67 |
+
|
| 68 |
+
Discriminator network The discriminator (Figure 4, bottom) is used during training to differentiate between real, high-resolution audio and super-resolved signals produced by the generator. Our design is loosely based on the recommendations of Radford et al. (2015), and the image discriminator from Ledig et al. (2017). All discriminator activations are LeakyReLU (Maas et al., 2013) with $\alpha = 0 . 2$ . As with the generator, we use multi-scale convolutions, and the superpixel layer described above instead of strided convolutions to minimize artifacts in the loss gradients (Odena et al., 2016).
|
| 69 |
+
|
| 70 |
+
Autoencoder network The autoencoder $A$ is used to extract perceptually relevant features from the low and high-resolution signals. The features extracted by $A$ are incorporated in the generator’s feature loss $\mathcal { L } _ { f }$ , which is described in more detail in following sections. For the specific implementation of $A$ , we use a modified version of the generator model that excludes all additive and stacking skip connections. Hence, the model for $A$ is a convolutional autoencoder, augmented with multiscale convolutional layers, and super/subpixel layers for down/up-sampling.
|
| 71 |
+
|
| 72 |
+
Loss functions MU-GAN incorporates several loss terms for training the generator and discriminator. The first term in the generator loss is the sample-space L2 loss, given by4
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\mathcal { L } _ { L 2 } = \frac { 1 } { W } \sum _ { i = 1 } ^ { W } \left. \pmb { x } _ { h , i } - G ( \pmb { x } _ { l } ) _ { i } \right. _ { 2 } ^ { 2 } .
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
We found that using only the sample-space and adversarial losses either resulted in little to no improvement over the baseline non-GAN model, or introduced persistent audible artifacts (e.g., high-frequency tones, Figure 1). These findings are in line with those of Ledig et al. (2017), who experience similar issues with images 5. As described in Section 2, the use of a feature loss with GAN training encourages the generator to learn solutions that incorporate perceptually relevant texture details. Given the autoencoder $A$ , we denote the output feature tensor at the bottleneck of the autoencoder as $\phi$ . The feature loss $\mathcal { L } _ { f }$ is then given by
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\mathcal { L } _ { f } = \frac { 1 } { C _ { f } W _ { f } } \sum _ { c = 1 } ^ { C _ { f } } \sum _ { i = 1 } ^ { W _ { f } } \left. \phi ( \pmb { x _ { h } } ) _ { i , c } - \phi ( G ( \pmb { x _ { l } } ) ) _ { i , c } \right. _ { 2 } ^ { 2 } ,
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where $W _ { f }$ and $C _ { f }$ denote the width and channel dimensions for the feature maps of autoencoder bottleneck. The adversarial loss $\mathcal { L } _ { a d v }$ is determined by discriminator’s ability to discern whether data produced by the generator is real or fake. We use the gradient-friendly formulation originally posed in Goodfellow et al. (2014), given by
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\mathcal { L } _ { a d v } = - \log D ( G ( \pmb { x } \imath ) ) .
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
The composite loss $\mathcal { L } _ { G }$ for the generator is then given by the sum of the losses above, and the discriminator loss $\mathcal { L } _ { D }$ derives directly from the GAN optimization objective in Equation 1, i.e.,
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\mathcal { L } _ { G } = \mathcal { L } _ { L 2 } + \lambda _ { f } \mathcal { L } _ { f } + \lambda _ { a d v } \mathcal { L } _ { a d v } ,
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\mathcal { L } _ { D } = - \left[ \log D ( \pmb { x } _ { h } ) + \log ( 1 - D ( G ( \pmb { x } _ { l } ) ) \right] ,
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $\lambda _ { f }$ and $\lambda _ { a d v }$ are constant scaling factors.
|
| 101 |
+
|
| 102 |
+
# 4 EXPERIMENTS
|
| 103 |
+
|
| 104 |
+
Datasets We evaluate our methods on three super-resolution tasks derived from the VCTK Corpus (Yamagishi), and the non-vocal music dataset from Mehri et al. (2017). For speech from VCTK, we compose a dataset with recordings from a single speaker (the Speaker1 task), and a dataset with recordings from multiple speakers (the Speaker99 task). Speaker1 consists of the first 223 recordings from VCTK speaker 225 for training, and the final 8 recordings for testing. Speaker99 uses all recordings from the first 99 VCTK speakers for training, and recordings from the last 10 speakers for testing. Piano uses the standard $8 8 \% - 6 \% - 6 \%$ train/validation/test split. For all tasks, the dataset is created by first applying an anti-aliasing lowpass filter, and then sampling random patches of fixed length from the resulting audio. Note that for the sake of direct comparison, the datasets above are the same as those used in Kuleshov et al. (2017).
|
| 105 |
+
|
| 106 |
+
Training methodology For Speaker1, we instantiate variants of MU-GAN and train for 400 epochs. For the larger datasets Speaker99 and Piano, models are trained for 150 epochs. The epoch number is empirically selected based on observed convergence, and performance saturation on the validation set. For all models, we use the ADAM optimizer with learning rate 1e-4, $\beta _ { 1 } = 0 . 9$ , $\beta _ { 2 } ~ = ~ 0 . 9 9 9$ , and a batch size of 32. For the autoencoder feature losses, we instantiate a model with $L = 4$ , and train for 400 epochs on the same dataset as its associated GAN model. The loss scaling factors $\lambda _ { f }$ and $\lambda _ { a d v }$ are fixed at 1.0 and 0.001, respectively. Additional details on model hyperparameters can be found in Appendix A.1.
|
| 107 |
+
|
| 108 |
+
Performance metrics We use three metrics to assess the quality of super-resolved audio: (1) signal-to-noise ratio (SNR), (2) log-spectral distance (LSD), and (3) mean opinion score (MOS). The SNR is a standard metric in signal processing communities, defined as
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
\begin{array} { r } { \mathrm { S N R } \left( x , x _ { r e f } \right) = 1 0 \log _ { 1 0 } \frac { \left\| x _ { r e f } \right\| _ { 2 } ^ { 2 } } { \left\| x - x _ { r e f } \right\| _ { 2 } ^ { 2 } } , } \end{array}
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
where $x$ is an approximation of reference signal $x _ { r e f }$ . LSD (Gray & Markel, 1976) measures differences between signal frequencies, and has better correlation with perceptual quality compared to SNR (Jie et al., 2014; Kuleshov et al., 2017). Given short-time discrete Fourier transforms $X$ and $X _ { r e f }$ , the LSD is given by
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\begin{array} { r } { \mathrm { L S D } \left( X , X _ { r e f } \right) = \frac { 1 } { W } \sum _ { w = 1 } ^ { W } \sqrt { \frac { 1 } { K } \sum _ { k = 1 } ^ { N } \left( \log _ { 1 0 } \frac { | X ( w , k ) | ^ { 2 } } { | X _ { r e f } ( w , k ) | ^ { 2 } } \right) ^ { 2 } } , } \end{array}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
where $w$ and $k$ are the window and frequency bin indices, respectively6. Perceptual evaluation of speech quality (PESQ) (ITU-T, 2001) is an industry-standard methodology for the assessment of speech communication systems. Given reference and degraded audio signals, PESQ models the mean opinion score (MOS) of a group of listeners. Specifically, we use PESQ to produce MOS-LQO (listening quality objective) scores (ITU-T, 2003), which range from 1 to 5.
|
| 121 |
+
|
| 122 |
+
Impact of superpixel layers We find that the use of superpixel layers results in ${\sim } 1 4 \%$ improvement in training time across model sizes, with insignificant differences in terms of objective quality metrics. Differences in audio produced by the two methods were also imperceptible in informal selfblinded listening tests. This indicates that superpixel layers may be a suitable replacement for conventional strided convolutions, while offering improvements in training time without performance loss. Additional details are provided in Appendix A.2.
|
| 123 |
+
|
| 124 |
+
Objective performance evaluation Table 1 shows the quantitative performance of MU-GAN against other recent works. We denote MU-GAN8 as an instance of MU-GAN with a depth parameter of $L = 8$ , i.e., with 8 downsampling and 8 upsampling blocks. $U _ { ☉ }$ -net4 is the model with $L = 4$ from Kuleshov et al. (2017). To eliminate depth as a factor in the performance comparison, we reimplement the architecture from Kuleshov et al. (2017) with $L = 8$ , denoted as $U$ -net8.
|
| 125 |
+
|
| 126 |
+
Table 1 shows that MU-GAN8 often performs worse in terms of SNR compared to the baseline models, but has lower LSD and higher MOS-LQO. This indicates that while MU-GAN8 produces reconstructions with lower SNR, deviating in terms of sample-wise distance results in synthesis of more perceptually-relevant frequency content. The exception is with the Piano task, where MUGAN8 performs orders of magnitude better than the U-net baseline in terms of SNR. In general, we also find that performance on the speech tasks generally saturates at $R = 2$ for both $U$ -net8 and $M U .$ GAN8. Informal listening tests confirm that there are minimal differences at $R = 2$ , indicating that more difficult up-sampling ratios (i.e., $R = 4$ , 6) are better suited for grounds of further comparison.
|
| 127 |
+
|
| 128 |
+
Table 1: Objective comparison with baseline super-resolution networks†.
|
| 129 |
+
|
| 130 |
+
<table><tr><td rowspan="2" colspan="2"></td><td colspan="3">Up. Ratio R=2</td><td colspan="3">Up. Ratio R =4</td><td colspan="3">Up. Ratio R = 6</td></tr><tr><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td></tr><tr><td rowspan="3">Speaker1</td><td>SNR</td><td>21.1</td><td>21.94</td><td>21.40</td><td>17.1</td><td>18.68</td><td>17.72</td><td>14.4</td><td>14.85</td><td>13.98</td></tr><tr><td>LSD</td><td>3.2</td><td>2.24</td><td>1.63</td><td>3.6</td><td>2.34</td><td>1.92</td><td>3.4</td><td>2.92</td><td>1.95</td></tr><tr><td>MOS-LQO</td><td>1</td><td>4.54</td><td>4.54</td><td>-</td><td>3.81</td><td>3.79</td><td>-</td><td>2.97</td><td>3.21</td></tr><tr><td rowspan="3">Speaker99</td><td>SNR</td><td>20.7</td><td>20.05</td><td>20.01</td><td>16.1</td><td>14.30</td><td>14.03</td><td>10.0</td><td>11.11</td><td>10.92</td></tr><tr><td>LSD</td><td>3.1</td><td>2.22</td><td>2.14</td><td>3.5</td><td>2.92</td><td>2.72</td><td>3.7</td><td>3.23</td><td>2.97</td></tr><tr><td>MOS-LQ0</td><td>1</td><td>3.68</td><td>3.75</td><td>-</td><td>2.68</td><td>2.93</td><td>1</td><td>2.44</td><td>2.69</td></tr><tr><td rowspan="2">Piano</td><td>SNR</td><td>30.1</td><td>44.98</td><td>52.03</td><td>23.5</td><td>31.71</td><td>32.28</td><td>16.1</td><td>22.53</td><td>24.71</td></tr><tr><td>LSD</td><td>3.4</td><td>1.12</td><td>0.90</td><td>3.6</td><td>1.35</td><td>1.30</td><td>4.4</td><td>1.53</td><td>1.41</td></tr></table>
|
| 131 |
+
|
| 132 |
+
† Metrics for $U$ -net4 are taken directly from Kuleshov et al. (2017); those for $U$ -net8 are from our reimplementation.
|
| 133 |
+
|
| 134 |
+
Table 2: A/B test user study scores.
|
| 135 |
+
|
| 136 |
+
<table><tr><td></td><td colspan="2">Piano</td><td colspan="4">Speaker99</td></tr><tr><td></td><td>#1</td><td>#2</td><td>#1</td><td>#2</td><td>#3</td><td>#4</td></tr><tr><td>MU-GAN8</td><td>9</td><td>15</td><td>14</td><td>11</td><td>15</td><td>10</td></tr><tr><td>U-net8 (baseline)</td><td>5</td><td>3</td><td>4</td><td>6</td><td>4</td><td>8</td></tr><tr><td>No preference</td><td>8</td><td>4</td><td>4</td><td>5</td><td>3</td><td>4</td></tr><tr><td colspan="7">R=4:Piano #1,Speaker99 #1,#3 R = 6: Piano #2,Speaker99 #2,#4</td></tr></table>
|
| 137 |
+
|
| 138 |
+
Table 3: Speaker1 objective metrics for $M U .$ - GAN8 trained with the speech classifierbased loss, and proposed loss $( \mathcal { L } _ { f , S V } , \mathcal { L } _ { f } )$ .
|
| 139 |
+
|
| 140 |
+
<table><tr><td></td><td colspan="2">R=2</td><td colspan="2">R=4</td><td colspan="2">R=6</td></tr><tr><td></td><td>Lf,sV</td><td>Lf</td><td>Lf.sv</td><td>Lf</td><td>Lf.sv</td><td>Lf</td></tr><tr><td>SNR</td><td>21.28</td><td>21.40</td><td>17.57</td><td>17.72</td><td>13.85</td><td>13.98</td></tr><tr><td>LSD</td><td>1.65</td><td>1.63</td><td>1.92</td><td>1.92</td><td>1.99</td><td>1.95</td></tr><tr><td>MOS-LQO</td><td>4.54</td><td>4.54</td><td>3.67</td><td>3.79</td><td>3.24</td><td>3.21</td></tr></table>
|
| 141 |
+
|
| 142 |
+
Subjective quality analysis To evaluate the performance of $M U – G A N$ with real listeners, we perform a randomized, single-blinded user study with 22 participants (Table 2). The study presents pairs of audio clips produced by MU-GAN8 and the best baseline model $U _ { ☉ }$ -net8, and asks participants to select a preferred clip, or “No preference.” We present two clips from Piano, and four sonically diverse clips from Speaker99. Table 2 shows that in all cases, listeners prefer audio produced by MU-GAN8 over the baseline method.
|
| 143 |
+
|
| 144 |
+
In general, we observe that audio produced by MU-GAN has greater clarity compared to audio produced by the baseline networks. The quality difference is most apparent during consonant sounds, which have more high-frequency content compared to typical vowel sounds. For instance, in the phrase “Ask her to bring these things from the store,” (Figure 5, bottom row) the consonant sounds in ‘Ask,’ ‘things,’ and ‘store’ have noticeably better articulation. In contrast, audio from the best baseline, $U _ { ☉ }$ -net8, sounds relatively dull and “muffled” in comparison. Note that on some audio clips super-resolved at $R = 4 , 6$ , we observe intermittent, audible noise that is not present in the baseline reconstructions. To ensure a fair analysis, we include audio clips in the user study where this noise is apparent. Additional comments on spurious noise can be found in Appendix A.3.
|
| 145 |
+
|
| 146 |
+
Comparison with classifier-based feature loss We compare the proposed unsupervised feature loss with the classifier-based loss from Germain et al. (2018) 7. Germain et al. (2018) use a VGGbased (Simonyan & Zisserman, 2014) network as a feature loss for speech denoising, and train the loss network on classification and audio tagging tasks from DCASE 2016 (Mesaros et al., 2018). Table 3 shows objective results obtained using the proposed loss $\mathcal { L } _ { f }$ and the classifier-based loss $\mathcal { L } _ { f , S V }$ on the Speaker1 task. Across all up-sampling ratios, the proposed unsupervised method performs on-par (and slightly better in some cases) compared to the classifier-based loss. Thus, our results suggest that using a domain-specific classifier-based loss may not provide any advantage in terms of performance. Given the issues related to training classifier models on general audio (Section 1), our method may be an attractive solution that does not compromise audio quality.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 5: Spectrograms from the Speaker1 task at $R = 2$ (top row, Speaker 225), and Speaker99 task at $R = 4$ (bottom row, Speaker 360). (a-d) high-resolution, (b-e) super-resolved with $U _ { ☉ }$ -net8, and (c-f) super-resolved with MU-GAN8. Increased synthesis of high-frequency content by MU-GAN8 becomes more pronounced at difficult up-sampling ratios.
|
| 150 |
+
|
| 151 |
+
Table 4: MOS-LQO for ablated models on the Speaker1 task.
|
| 152 |
+
|
| 153 |
+
<table><tr><td rowspan="2"></td><td colspan="6">Configuration</td></tr><tr><td>MU-GAN4 Up. Ratio -Lf-Ladu</td><td>MU-GAN4 -Ladu(+Lf)</td><td>MU-GAN4 (+Ladu+Lf)</td><td>MU-GAN8 -Lf-Ladu</td><td>MU-GAN8 -Ladu(+Lf)</td><td>MU-GAN8 (+Ladv+Lf)</td></tr><tr><td>R=2</td><td>3.53</td><td>4.54</td><td>4.54</td><td>4.54</td><td>4.54</td><td>4.54</td></tr><tr><td>R=4</td><td>3.15</td><td>3.55</td><td>3.62</td><td>3.74</td><td>3.79</td><td>3.79</td></tr><tr><td>R=6</td><td>2.78</td><td>3.07</td><td>3.12</td><td>3.15</td><td>3.17</td><td>3.21</td></tr></table>
|
| 154 |
+
|
| 155 |
+
Ablation Analysis Table 4 shows the MOS-LQO metrics for the MU-GAN architecture with ablated model parameters. While almost all variations perform similarly well at $R = 2$ , adding depth (i.e., from $L = 4$ to $L = 8$ ) and additional loss terms improves performance on harder up-sampling ratios. Furthermore, adding the adversarial loss and unsupervised feature loss terms improve MOSLQO monotonically. For MU-GAN8, we see diminishing returns from adding the additional loss terms; much of the improvement over MU-GAN4 appears to come from the additional depth. On the other hand, adding the $\mathcal { L } _ { f }$ and $\mathcal { L } _ { a d v }$ losses to the MU-GAN4 variant yields significant benefits, such that its performance is comparable to that of MU-GAN8. This indicates that the feature and adversarial losses may be particularly useful to mitigate underfitting, or to decrease model size iso-performance.
|
| 156 |
+
|
| 157 |
+
Receptive Field Analysis While previous works have stressed the importance of large receptive fields (van den Oord et al., 2016; Luo et al., 2016; Yu & Koltun, 2016), little work exists to quantify receptive field sizes on practical problems. We use the methods of Luo et al. (2016) to measure the effective receptive field (ERF)8 of our model on different tasks with varying architectural hyperparameters. Notably, we find that while the theoretical receptive field of our network is on the order of hundreds of milliseconds (thousands of samples), measured ERF’s are generally no wider than 100 samples. Furthermore, we find that ERF size is strongly correlated with problem difficulty, rather than architectural hyperparameters such as depth and specific loss terms. While Luo et al. (2016) found that ERF size always increased compared to the ERF at initialization, we find that ERF decreases in many cases (Figure 6). Our findings imply that there may be subtle but important tradeoffs involved with receptive field size (for instance, ERF size versus noise rejection), and suggest promising avenues for deeper investigation of architectures that rely on large receptive fields.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 6: Measured gradient magnitude at the model input and associated Gaussian fit with $M U .$ GAN4 for (a-c) $R = 2$ , 4, 6, respectively. (d) $2 \sigma$ ERF trend, compared to ERF at initialization.
|
| 161 |
+
|
| 162 |
+
# 5 CONCLUSION
|
| 163 |
+
|
| 164 |
+
In this work we develop methods to enable the application of GANs to audio processing, in particular with classifier-free feature losses. In addition to several new model building blocks, we show that a convolutional autoencoder can be used to implement a high-performance feature loss in the context of audio super-resolution. Demonstrated on several speech and music super-resolution tasks, we show that our architecture achieves state-of-the-art performance in both objective and subjective metrics. We perform a detailed analysis of our model, and also show that effective receptive field size may be an important property that is not well-explored. Finally, our work raises new possibilities for the design and analysis of neural network-based synthesis methods in important problem domains beyond audio processing.
|
| 165 |
+
|
| 166 |
+
# REFERENCES
|
| 167 |
+
|
| 168 |
+
Johannes Abel and Tim Fingscheidt. Artificial speech bandwidth extension using deep neural networks for wideband spectral envelope estimation. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 26(1):71–83, 2018.
|
| 169 |
+
Yusuf Aytar, Carl Vondrick, and Antonio Torralba. Soundnet: Learning sound representations from unlabeled video. In NIPS, 2016.
|
| 170 |
+
Pramod Bachhav, Massimiliano Todisco, Moctar Mossi, Christophe Beaugeant, and Nicholas Evans. Artificial bandwidth extension using the constant q transform. In IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 5550–5554, 2017.
|
| 171 |
+
David Berthelot, Tom Schumm, and Luke Metz. BEGAN: boundary equilibrium generative adversarial networks. CoRR, abs/1703.10717, 2017.
|
| 172 |
+
ClariNet. Clarinet: Parallel wave generation in end-to-end text-to-speech. In Submitted to International Conference on Learning Representations, 2019. URL https://openreview.net/ forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ HklY120cYm. under review.
|
| 173 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR, 2009.
|
| 174 |
+
Emily L Denton, Soumith Chintala, Arthur Szlam, and Rob Fergus. Deep generative image models using a laplacian pyramid of adversarial networks. In NIPS, pp. 1486–1494. 2015.
|
| 175 |
+
Chris Donahue, Julian McAuley, and Miller Puckette. Synthesizing audio with generative adversarial networks. CoRR, abs/1802.04208, 2018.
|
| 176 |
+
Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In NIPS, pp. 658–666. 2016.
|
| 177 |
+
Jesse Engel, Cinjon Resnick, Adam Roberts, Sander Dieleman, Douglas Eck, Karen Simonyan, and Mohammad Norouzi. Neural audio synthesis of musical notes with wavenet autoencoders. CoRR, abs/1704.01279, 2017.
|
| 178 |
+
|
| 179 |
+
Francois G Germain, Qifeng Chen, and Vladlen Koltun. Speech denoising with deep feature losses. CoRR, 2018.
|
| 180 |
+
|
| 181 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680. 2014.
|
| 182 |
+
|
| 183 |
+
Augustine Gray and John Markel. Distance measures for speech processing. IEEE Transactions on Acoustics, Speech, and Signal Processing, 24(5):380–391, 1976.
|
| 184 |
+
|
| 185 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In CVPR, pp. 5967–5976, 2017.
|
| 186 |
+
|
| 187 |
+
ITU-T. Perceptual evaluation of speech quality, an objective method for end-to-end speech quality assessment of narrowband telephone networks and speech codecs. ITU-T Rec. P.862, 2001.
|
| 188 |
+
|
| 189 |
+
ITU-T. Mapping function for transforming p.862 raw result scores to MOS-LQO. ITU-T Rec. P.862.1, 2003.
|
| 190 |
+
|
| 191 |
+
Zhang Jie, Xiaoqun Zhao, Jingyun Xu, and Zhang Yang. Suitability of speech quality evaluation measures in speech enhancement. In International Conference on Audio, Language and Image Processing, pp. 22–26, 2014.
|
| 192 |
+
|
| 193 |
+
Justin Johnson, Alexandre Alahi, and Fei-Fei Li. Perceptual losses for real-time style transfer and super-resolution. CoRR, abs/1603.08155, 2016.
|
| 194 |
+
|
| 195 |
+
Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. International Conference on Representation Learning, abs/1710.10196, 2018.
|
| 196 |
+
|
| 197 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. ICLR, 2014.
|
| 198 |
+
|
| 199 |
+
Volodymyr Kuleshov, S. Zayd Enam, and Stefano Ermon. Audio super resolution using neural networks. ICLR, abs/1708.00853, 2017.
|
| 200 |
+
|
| 201 |
+
Erik R. Larsen and Ronald M. Aarts. Audio Bandwidth Extension: Application of Psychoacoustics, Signal Processing and Loudspeaker Design. John Wiley & Sons, Inc., 2004. ISBN 0470858648.
|
| 202 |
+
|
| 203 |
+
Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew P. Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, and Wenzhe Shi. Photorealistic single image super-resolution using a generative adversarial network. In CVPR, pp. 105–114, 2017.
|
| 204 |
+
|
| 205 |
+
Honglak Lee, Peter Pham, Yan Largman, and Andrew Y. Ng. Unsupervised feature learning for audio classification using convolutional deep belief networks. In NIPS, pp. 1096–1104. 2009.
|
| 206 |
+
|
| 207 |
+
Bin Liu, Jianhua Tao, Zhengqi Wen, Ya Li, and Danish Bukhari. A novel method of artificial bandwidth extension using deep architecture. In INTERSPEECH, 2015.
|
| 208 |
+
|
| 209 |
+
Wenjie Luo, Yujia Li, Raquel Urtasun, and Richard Zemel. Understanding the effective receptive field in deep convolutional neural networks. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), NIPS, pp. 4898–4906. 2016.
|
| 210 |
+
|
| 211 |
+
Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. In ICML, volume 30, pp. 3, 2013.
|
| 212 |
+
|
| 213 |
+
Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron C. Courville, and Yoshua Bengio. Samplernn: An unconditional end-to-end neural audio generation model. ICLR, 2017.
|
| 214 |
+
|
| 215 |
+
Annamaria Mesaros, Toni Heittola, Emmanouil Benetos, Peter Foster, Mathieu Lagrange, Tuomos Virtanen, and Mark D. Plumbley. Detection and classification of acoustic scenes and events: Outcome of the dcase 2016 challenge. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 26(2):379–393, 2018.
|
| 216 |
+
|
| 217 |
+
Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. CoRR, abs/1411.1784, 2014.
|
| 218 |
+
|
| 219 |
+
Augustus Odena, Vincent Dumoulin, and Chris Olah. Deconvolution and checkerboard artifacts. Distill, 2016. URL http://distill.pub/2016/deconv-checkerboard.
|
| 220 |
+
|
| 221 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. ICLR, 2015.
|
| 222 |
+
|
| 223 |
+
Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention, pp. 234–241, 2015.
|
| 224 |
+
|
| 225 |
+
Andy M Sarroff and Michael A Casey. Musical audio synthesis using autoencoding neural nets. In International Computer Music Conference, 2014.
|
| 226 |
+
|
| 227 |
+
Wenzhe Shi, Jose Caballero, Ferenc Huszar, Johannes Totz, Andrew P. Aitken, Rob Bishop, Daniel ´ Rueckert, and Zehan Wang. Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. In CVPR, pp. 1874–1883, 2016.
|
| 228 |
+
|
| 229 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. CoRR, abs/1409.1556, 2014.
|
| 230 |
+
|
| 231 |
+
Casper Kaae Sonderby, Tapani Raiko, Lars Maaloe, Soren Kaae Sonderby, and Ole Winther. Ladder variational autoencoders. In NIPS, pp. 3738–3746. 2016.
|
| 232 |
+
|
| 233 |
+
Jose Sotelo, Soroush Mehri, Kundan Kumar, Joo F. Santos, Kyle Kastner, Aaron Courville, and Yoshua Bengio. Char2Wav: End-to-end speech synthesis. In ICLR, 2017.
|
| 234 |
+
|
| 235 |
+
Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In CVPR, pp. 1–9, 2015.
|
| 236 |
+
|
| 237 |
+
Keiichi Tokuda, Yoshihiko Nankaku, Tomoki Toda, Heiga Zen, Junichi Yamagishi, and Keiichiro Oura. Speech synthesis based on hidden markov models. Proceedings of the IEEE, 101(5): 1234–1252, 2013.
|
| 238 |
+
|
| 239 |
+
Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, ¨ Nal Kalchbrenner, Andrew W. Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. CoRR, abs/1609.03499, 2016.
|
| 240 |
+
|
| 241 |
+
Aaron van den Oord, Yazhe Li, Igor Babuschkin, Karen Simonyan, Oriol Vinyals, Koray Kavukcuoglu, George van den Driessche, Edward Lockhart, Luis Cobo, Florian Stimberg, Norman Casagrande, Dominik Grewe, Seb Noury, Sander Dieleman, Erich Elsen, Nal Kalchbrenner, Heiga Zen, Alex Graves, Helen King, Tom Walters, Dan Belov, and Demis Hassabis. Parallel WaveNet: Fast high-fidelity speech synthesis. In ICML, volume 80, pp. 3918–3926, 2018.
|
| 242 |
+
|
| 243 |
+
Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, and Pierre-Antoine Manzagol. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. JMLR, 11:3371–3408, 2010.
|
| 244 |
+
|
| 245 |
+
Junichi Yamagishi. CSTR VCTK corpus. http://homepages.inf.ed.ac.uk/ jyamagis/page3/page58/page58.html.
|
| 246 |
+
|
| 247 |
+
Fisher Yu and Vladlen Koltun. Multi-scale context aggregation by dilated convolutions. ICLR, abs/1511.07122, 2016.
|
| 248 |
+
|
| 249 |
+
# A APPENDIX
|
| 250 |
+
|
| 251 |
+
A.1 MODEL PARAMETERS
|
| 252 |
+
|
| 253 |
+
# A.2 EVALUATION OF SUPERPIXEL LAYERS
|
| 254 |
+
|
| 255 |
+
We evaluate the impact of the superpixel layer proposed in Section 3 by comparing a baseline multiscale U-net with strided convolutions (Strided) against a multiscale U-net with superpixel layers (Super). We halve the number of convolutional kernels in each downsampling layer for Super such that the output feature map dimensions at each downsampling and upsampling layer are identical to those in Strided. Both model types are trained with the baseline $L 2$ loss for 400 epochs on the Speaker1 task.
|
| 256 |
+
|
| 257 |
+
Table 5: Comparison of superpixel and strided convolutional layers.
|
| 258 |
+
(b) Quality metrics
|
| 259 |
+
|
| 260 |
+
<table><tr><td rowspan="2"></td><td rowspan="2"></td><td colspan="3">Upsampling I Ratio</td></tr><tr><td>R=2</td><td>R=4</td><td>R=6</td></tr><tr><td rowspan="2">SNR</td><td>Strided</td><td>21.67</td><td>18.45</td><td>14.91</td></tr><tr><td>Super</td><td>21.75</td><td>18.41</td><td>14.89</td></tr><tr><td rowspan="2">LSD</td><td>Strided</td><td>1.67</td><td>2.20</td><td>2.73</td></tr><tr><td>Super</td><td>1.70</td><td>2.08</td><td>2.39</td></tr><tr><td rowspan="2">MOS-LQ0</td><td>Strided</td><td>3.57</td><td>3.13</td><td>2.71</td></tr><tr><td>Super</td><td>3.53</td><td>3.15</td><td>2.78</td></tr></table>
|
| 261 |
+
|
| 262 |
+
(a) Training time per minibatch
|
| 263 |
+
|
| 264 |
+
<table><tr><td rowspan="2"></td><td colspan="2">Depth Parameter</td></tr><tr><td>L=4</td><td>L=8</td></tr><tr><td>Strided</td><td>149.8 s</td><td>195.1 s</td></tr><tr><td>Super</td><td>128.1 s</td><td>168.0 s</td></tr><tr><td>Speedup</td><td>14.5%</td><td>13.8%</td></tr></table>
|
| 265 |
+
|
| 266 |
+
# A.3 NOTE ON INTERMITTENT SPURIOUS NOISE
|
| 267 |
+
|
| 268 |
+
As described in Section 4, some audio clips super-resolved at $R = 4 , 6$ exhibit intermittent, audible noise that is not present in the baseline reconstructions. We find that this noise is not inherent to our specific feature loss, and is present if we replace the unsupervised feature loss with a classifierbased feature loss. The spurious noise is also unrelated to the use of $\mathcal { L } _ { a d v }$ , as it is present in audio generated by models trained only with $\mathcal { L } _ { f }$ . While a deeper investigation is planned for future work, we hypothesize that such noise stems from phase ambiguity in missing high-frequency content.
|
parse/train/H1eH4n09KX/H1e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
| 9 |
+
699,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Neural network-based methods have recently demonstrated state-of-the-art results on image synthesis and super-resolution tasks, in particular by using variants of generative adversarial networks (GANs) with supervised feature losses. Nevertheless, previous feature loss formulations rely on the availability of large auxiliary classifier networks, and labeled datasets that enable such classifiers to be trained. Furthermore, there has been comparatively little work to explore the applicability of GAN-based methods to domains other than images and video. In this work we explore a GAN-based method for audio processing, and develop a convolutional neural network architecture to perform audio super-resolution. In addition to several new architectural building blocks for audio processing, a key component of our approach is the use of an autoencoder-based loss that enables training in the GAN framework, with feature losses derived from unlabeled data. We explore the impact of our architectural choices, and demonstrate significant improvements over previous works in terms of both objective and perceptual quality. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
462
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
178,
|
| 54 |
+
491,
|
| 55 |
+
334,
|
| 56 |
+
507
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep convolutional neural networks (CNNs) have become a cornerstone in modern solutions for image and audio analysis. Such networks have excelled at supervised discrimination tasks, for instance on ImageNet (Deng et al., 2009; Simonyan & Zisserman, 2014), where image classifier networks are trained on a large corpus of labeled data. More recently, CNNs have successfully been applied to data synthesis problems in the context of generative adversarial networks (GANs) (Goodfellow et al., 2014). In the GAN framework, a neural network is used to synthesize new instances from a modeled distribution, or resolve missing details given lossy observations. In the latter case, the GANs have been shown to greatly improve reconstruction of fine texture details for images, compared to standalone sample-space losses that result in overly smoothed outputs (Dosovitskiy & Brox, 2016; Isola et al., 2017; Ledig et al., 2017). However, GANs are notoriously hard to train, and the use of conventional sample-space objectives in conjunction with an adversarial loss either de-stabilizes training, or results in outputs with significant artifacts (Figure 1). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
523,
|
| 66 |
+
825,
|
| 67 |
+
689
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "To address the smoothness problem described above, previous works typically augment or replace conventional sample-space losses with a feature loss (also called a perceptual loss) (Dosovitskiy & Brox, 2016; Ledig et al., 2017; Johnson et al., 2016). Instead of distance in raw sample-space, such feature losses reflect distance in terms of the feature maps of an auxiliary neural network. While classifier-based feature losses are effective, they require either a pre-trained neural network that is applicable to the problem domain (e.g., synthesizing images of cats), or a labeled dataset that is amenable to training a relevant classifier. Training new classifiers for use in a feature loss can be non-trivial for numerous reasons. Besides the difficulty of training large classifiers that are commonly used for feature losses, such as VGG (Simonyan & Zisserman, 2014), creating a labeled dataset that is sufficiently large and diverse is often infeasible. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
696,
|
| 77 |
+
825,
|
| 78 |
+
835
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this work, we sidestep the difficulty of training auxiliary classifiers by developing a feature loss that is unsupervised. In particular, we focus on an audio modeling task called super-resolution, where the goal is to generate high-quality audio given down-sampled, low-resolution input. Inspired by previous work on audio and image super-resolution, we develop a neural network architecture for end-to-end super-resolution that operates on raw audio. In addition to providing new algorithms to model audio, our work suggests new techniques to improve GAN-based methods in other domains such as images and video. Specifically, our contributions are as follows: ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
843,
|
| 88 |
+
823,
|
| 89 |
+
900
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/1fb78758bb93c0993cb3e0b11918e1a6d3b405bd9508da262a985658f7e7a085.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: (a) High-resolution, (b) low-resolution, (c) and super-resolution spectrograms. The superresolution spectrogram corresponds to audio generated by the GAN described in Section 3, trained only with an adversarial loss and conventional $L 2$ loss. Training tends to either diverge, or results in audio with persistent high-frequency tones and alias-like artifacts. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
181,
|
| 102 |
+
101,
|
| 103 |
+
815,
|
| 104 |
+
218
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
313,
|
| 114 |
+
825,
|
| 115 |
+
354
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "1. We formulate a new, general-purpose feature loss that is fully unsupervised and circumvents the need for problematic classifier-based models. \n2. We successfully adapt the adversarial framework for audio processing, and provide solutions to previously unsolved problems associated with the application of GANs to audio. \n3. We demonstrate our methods in an end-to-end architecture for audio super-resolution, with stateof-the-art results on both speech and music tasks. \n4. We analyze important architectural parameters of our model, and in particular discover previously-unobserved behavior with effective receptive field sizes. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
169,
|
| 124 |
+
366,
|
| 125 |
+
826,
|
| 126 |
+
497
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 BACKGROUND & RELATED WORK ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
517,
|
| 137 |
+
491,
|
| 138 |
+
534
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Audio super-resolution Audio super-resolution is the task of constructing a high-resolution audio signal from a low-resolution signal that contains a fraction of the original samples. Concretely, given a low-resolution sequence of audio samples $x _ { l } \\ = \\ ( x _ { 1 / R _ { l } } , \\ldots , x _ { R _ { l } T / R _ { l } } )$ , we wish to synthesize a high-resolution audio signal $x _ { h } = ( x _ { 1 / R _ { h } } , \\ldots , x _ { R _ { h } T / R _ { h } } )$ , where $R _ { l }$ and $R _ { h }$ are the sampling rates of the low and high-resolution signals, respectively. We denote $R = { { R } _ { h } } / { { R } _ { l } }$ as the upsampling ratio, which ranges from 2 to 6 in this work. Thus, the audio super-resolution problem is equivalent to reconstructing the missing frequency content between frequencies $R _ { l } / 2$ and $R _ { h } / 2$ . ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
173,
|
| 147 |
+
549,
|
| 148 |
+
825,
|
| 149 |
+
650
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "There is a vast body of prior work on audio super-resolution in the signal and audio processing communities under the term artificial bandwidth extension (Larsen & Aarts, 2004). Neural networkbased methods in this domain generally apply a DNN on top of hand-crafted features as part of complex bandwidth extension systems (Liu et al., 2015; Abel & Fingscheidt, 2018). Gaussian mixture and hidden Markov models have also been used (Bachhav et al., 2017; Tokuda et al., 2013), but these methods generally perform worse compared to neural networks (Abel & Fingscheidt, 2018). In contrast with the works above, our method does not rely on hand-crafted features (e.g., transformations or cepstrum coefficients), and is not specific to problems in speech modeling. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
656,
|
| 159 |
+
825,
|
| 160 |
+
768
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Audio modeling with neural networks Learning-based approaches for audio have also been explored in the largely in the context of representation learning, generative modeling, and text-tospeech (TTS) systems. Unsupervised methods such as convolutional deep belief networks (Lee et al., 2009) and bottleneck CNNs (Aytar et al., 2016) have been shown to learn useful representations from audio, such as phonemes and sound textures. Stacked autoencoders (Vincent et al., 2010) and variational autoencoders (Kingma & Welling, 2014; Sonderby et al., 2016) have been used for denoising, image generation, and music synthesis (Sarroff & Casey, 2014). Bottleneck-like CNNs have also demonstrated significant improvements for audio super-resolution in supervised settings compared to previous DNN and spline-based methods (Kuleshov et al., 2017). Donahue et al. (2018) is among the first to develop methods for raw audio synthesis with GANs. Notably, Donahue et al. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
785,
|
| 170 |
+
825,
|
| 171 |
+
924
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "(2018) show that non-trivial modifications of GAN architectures are required to generative diverse and plausible audio outputs. We build on the works above by developing a GAN framework for audio super-resolution with an improved bottleneck-style generator, and show that leveraging representations learned from unsupervised training greatly aid the super-resolution task. Autoregressive probabilistic models have recently demonstrated state-of-the-art results for generation of music (Engel et al., 2017), general audio (van den Oord et al., 2016; Mehri et al., 2017), and for parametric TTS systems (Sotelo et al., 2017). Several works have leveraged model distillation (van den Oord et al., 2018; ClariNet, 2019)1 to mitigate the overhead of autoregressive methods, making them feasible for real-time audio generation. In general, our work can be used to augment existing speech synthesis systems, including those that employ autoregressive methods. For instance, the unsupervised feature loss proposed in our work could be used as a drop-in replacement for the classifier-based feature loss used by van den Oord et al. (2018). While we are not aware of any efforts that explore autoregressive modeling for audio super-resolution, we believe it may be a promising future direction. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
103,
|
| 181 |
+
825,
|
| 182 |
+
284
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Generative adversarial networks for images Generative methods have been extensively explored for image generation and super-resolution. Building upon the original formulation of Goodfellow et al. (2014), GANs have been continuously improved to generate plausible, high-fidelity images (Radford et al., 2015; Denton et al., 2015; Berthelot et al., 2017; Karras et al., 2018). GAN variants conditioned on class labels or object sketches have also demonstrated promising results on tasks such as in-painting and style transfer (Mirza & Osindero, 2014; Isola et al., 2017). ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
300,
|
| 192 |
+
823,
|
| 193 |
+
383
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 METHOD ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
405,
|
| 204 |
+
281,
|
| 205 |
+
420
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "GANs for Super-Resolution GANs developed for super-resolution tasks have several important differences compared to the original formulation of Goodfellow et al. (2014). When used to generate new instances from a data distribution $p _ { \\mathrm { d a t a } }$ , the generator $( G )$ parameterized by $\\theta _ { G }$ learns the mapping to data space as $G ( z ; \\theta _ { G } )$ , where $_ { z }$ is a latent noise prior. The discriminator $( D )$ parameterized by $\\theta _ { D }$ then estimates the probability that $G ( z ; \\theta _ { G } )$ was drawn from $p _ { \\mathrm { d a t a } }$ rather than the generator distribution $p _ { g }$ . In contrast, for super-resolution, $G$ is no longer conditioned on noise and learns the mapping to high-resolution data space $p _ { h }$ as $G ( \\pmb { x } \\imath ; \\theta _ { G } )$ , where $_ { x \\iota }$ is drawn from the low-resolution data distribution $p _ { l }$ . The task of $D$ is to discriminate between samples from the high-resolution and super-resolution (generator) distributions $p _ { h }$ and $p _ { g }$ , respectively. Since low-resolution data $_ { x \\iota }$ corresponds directly to a downsampled version of $\\scriptstyle { \\mathbf { 2 } } ( { \\mathbf { 2 } } )$ during training, we expect ${ \\cal G } ( { \\pmb x } _ { l } ; \\theta _ { G } ) \\approx { \\pmb x } _ { h }$ . $G$ and $D$ are optimized according to the two-player minimax problem: ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
435,
|
| 215 |
+
825,
|
| 216 |
+
590
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/daf4e52a03e65133f8770254279dc47bd0e9d9075986bc07649022689c38662f.jpg",
|
| 223 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\theta _ { G } } \\operatorname* { m a x } _ { \\theta _ { D } } \\mathbb { E } _ { { \\mathbf { x } } _ { h } \\sim p _ { h } ( { \\mathbf { x } } _ { h } ) } \\left[ \\log D \\left( { \\mathbf { x } } _ { h } ; \\theta _ { D } \\right) \\right] + \\mathbb { E } _ { { \\mathbf { x } } _ { l } \\sim p _ { l } ( { \\mathbf { x } } _ { l } ) } \\left[ \\log \\left( 1 - D \\left( G \\left( { \\mathbf { x } } _ { l } ; \\theta _ { G } \\right) \\right) \\right) \\right]\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
236,
|
| 227 |
+
608,
|
| 228 |
+
758,
|
| 229 |
+
635
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "This framework enables the joint optimization of two neural networks - $G$ generates super-resolution data with the goal of fooling $D$ , and $D$ is trained to distinguish between real and super-resolved data. Thus, the GAN approach encourages $G$ to learn solutions that are hard to distinguish from real, highresolution datum. ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
643,
|
| 239 |
+
823,
|
| 240 |
+
700
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "Architecture overview MU-GAN (Multiscale U-net GAN) is composed of three models that all operate on raw audio2 - a generator $( G )$ , discriminator $( D )$ , and convolutional autoencoder $( A )$ (Figure 2). The generator’s task is to learn the mapping between the low and high-resolution data spaces, corresponding to signals $_ { x \\iota }$ and $\\scriptstyle { \\mathbf { \\mathcal { X } } } _ { h }$ , respectively. The discriminator’s task is then to classify whether presented data instances are real, or produced by the generator. In addition to $G$ and $D$ , the autoencoder extracts perceptually-relevant features from both real and super-resolved data for use in feature-space loss functions. The use of $A$ is crucial in the GAN framework, as generators trained solely on L2 or other sample-space losses suffer from training instability or output artifacts (Ledig et al., 2017). ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
173,
|
| 249 |
+
715,
|
| 250 |
+
825,
|
| 251 |
+
842
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "Multiscale convolutional layers In comparison to images, audio signals are inherently periodic with time-scales on the order of 10’s to 100’s of samples. As a consequence, filters with very large ",
|
| 258 |
+
"bbox": [
|
| 259 |
+
174,
|
| 260 |
+
858,
|
| 261 |
+
820,
|
| 262 |
+
886
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 2
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "image",
|
| 268 |
+
"img_path": "images/854c3bcc676018e0fdf23e5b7464449e58772c24a1965d6b3794d0a92c80e33f.jpg",
|
| 269 |
+
"image_caption": [
|
| 270 |
+
"Figure 2: Overview of the model architecture and corresponding loss terms. "
|
| 271 |
+
],
|
| 272 |
+
"image_footnote": [],
|
| 273 |
+
"bbox": [
|
| 274 |
+
176,
|
| 275 |
+
99,
|
| 276 |
+
464,
|
| 277 |
+
183
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 3
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "image",
|
| 283 |
+
"img_path": "images/d610c2182c452a0624bfc544e407b88edda293f6085cb4761b47ac1bf308f101.jpg",
|
| 284 |
+
"image_caption": [
|
| 285 |
+
"Figure 3: Subpixel and superpixel layers for increasing and decreasing spatial resolution, respectively. "
|
| 286 |
+
],
|
| 287 |
+
"image_footnote": [],
|
| 288 |
+
"bbox": [
|
| 289 |
+
503,
|
| 290 |
+
101,
|
| 291 |
+
794,
|
| 292 |
+
167
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 3
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "Generator ",
|
| 299 |
+
"text_level": 1,
|
| 300 |
+
"bbox": [
|
| 301 |
+
184,
|
| 302 |
+
233,
|
| 303 |
+
240,
|
| 304 |
+
244
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 3
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "image",
|
| 310 |
+
"img_path": "images/ee84ede16153483e6f85a614168a1e57980e5d46f3944e1f798dcf67e0456e81.jpg",
|
| 311 |
+
"image_caption": [
|
| 312 |
+
"Figure 4: Generator and discriminator models. "
|
| 313 |
+
],
|
| 314 |
+
"image_footnote": [],
|
| 315 |
+
"bbox": [
|
| 316 |
+
181,
|
| 317 |
+
242,
|
| 318 |
+
808,
|
| 319 |
+
470
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "receptive fields are required to create high quality raw audio (Donahue et al., 2018; van den Oord et al., 2016). Previous work with classifier models also suggests that varying the filter size within a network helps capture information at multiple scales (Szegedy et al., 2015). Leveraging these observations, we use a multiscale convolutional building block composed of concatenated 3x1, 9x1, $2 7 \\mathrm { x } 1$ , and $8 1 \\mathbf { x } 1$ filters. In practice, and with a fixed number of parameters for a given layer, we found that filters larger than 81x1 provided no additional benefit, while omitting large filter sizes resulted in significantly degraded audio quality. We interpret the poor performance of small filters as being a byproduct of their frequency selectivity; it is well known from signal processing theory that the resolution of an FIR filter’s frequency response is proportional to the length of the filter. ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
521,
|
| 329 |
+
825,
|
| 330 |
+
646
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Superpixel layers Recently, it has been shown that pooling and strided convolutions tend to induce periodic “checkerboard” artifacts (Odena et al., 2016; Donahue et al., 2018). Shi et al. (2016) developed a subpixel layer to increase spatial resolution, and showed that it is less prone to checkerboard artifacts. While the subpixel layer was subsequently adopted by several works (Kuleshov et al., 2017), no efforts have evaluated the performance of the inverse operation for decreasing spatial resolution. Concretely, the inverse subpixel operator interleaves samples from the time dimension into the channel dimension, and thus reduces the spatial resolution by an integer factor. We refer to this simple inverse operation as a superpixel layer (Figure 3), and use it as a drop-in replacement for strided convolution and pooling layers. ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
661,
|
| 340 |
+
825,
|
| 341 |
+
786
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "Generator network The high-level architecture for the generator network (Figure 4, top) is inspired by autoencoder-like U-net models (Ronneberger et al., 2015; Isola et al., 2017; Kuleshov et al., 2017). In a U-net-style model, the first half of the network consists of $B$ downsampling blocks (D-blocks) that perform feature extraction at multiple scales and resolutions 3. The second half the model consists of $B$ upsampling blocks (U-blocks), which successively increase the spatial resolution of the signal. We use multi-scale convolutional layers throughput the generator network, and replace all strided convolutions with superpixel layers. ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
174,
|
| 350 |
+
803,
|
| 351 |
+
825,
|
| 352 |
+
900
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 3
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "Discriminator network The discriminator (Figure 4, bottom) is used during training to differentiate between real, high-resolution audio and super-resolved signals produced by the generator. Our design is loosely based on the recommendations of Radford et al. (2015), and the image discriminator from Ledig et al. (2017). All discriminator activations are LeakyReLU (Maas et al., 2013) with $\\alpha = 0 . 2$ . As with the generator, we use multi-scale convolutions, and the superpixel layer described above instead of strided convolutions to minimize artifacts in the loss gradients (Odena et al., 2016). ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
173,
|
| 361 |
+
103,
|
| 362 |
+
825,
|
| 363 |
+
188
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 4
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "Autoencoder network The autoencoder $A$ is used to extract perceptually relevant features from the low and high-resolution signals. The features extracted by $A$ are incorporated in the generator’s feature loss $\\mathcal { L } _ { f }$ , which is described in more detail in following sections. For the specific implementation of $A$ , we use a modified version of the generator model that excludes all additive and stacking skip connections. Hence, the model for $A$ is a convolutional autoencoder, augmented with multiscale convolutional layers, and super/subpixel layers for down/up-sampling. ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
174,
|
| 372 |
+
202,
|
| 373 |
+
825,
|
| 374 |
+
287
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 4
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "Loss functions MU-GAN incorporates several loss terms for training the generator and discriminator. The first term in the generator loss is the sample-space L2 loss, given by4 ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
171,
|
| 383 |
+
301,
|
| 384 |
+
821,
|
| 385 |
+
330
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 4
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "equation",
|
| 391 |
+
"img_path": "images/a6f47364ce5354745f368da6d90f490ea39ca0ca56a13c57135364472da18b39.jpg",
|
| 392 |
+
"text": "$$\n\\mathcal { L } _ { L 2 } = \\frac { 1 } { W } \\sum _ { i = 1 } ^ { W } \\left. \\pmb { x } _ { h , i } - G ( \\pmb { x } _ { l } ) _ { i } \\right. _ { 2 } ^ { 2 } .\n$$",
|
| 393 |
+
"text_format": "latex",
|
| 394 |
+
"bbox": [
|
| 395 |
+
383,
|
| 396 |
+
345,
|
| 397 |
+
614,
|
| 398 |
+
390
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "We found that using only the sample-space and adversarial losses either resulted in little to no improvement over the baseline non-GAN model, or introduced persistent audible artifacts (e.g., high-frequency tones, Figure 1). These findings are in line with those of Ledig et al. (2017), who experience similar issues with images 5. As described in Section 2, the use of a feature loss with GAN training encourages the generator to learn solutions that incorporate perceptually relevant texture details. Given the autoencoder $A$ , we denote the output feature tensor at the bottleneck of the autoencoder as $\\phi$ . The feature loss $\\mathcal { L } _ { f }$ is then given by ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
173,
|
| 407 |
+
398,
|
| 408 |
+
825,
|
| 409 |
+
497
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 4
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "equation",
|
| 415 |
+
"img_path": "images/23270b9dd2f5090371aebc4a8643c9e6234ddf8ba1107ef0bb5a1dfb90eda183.jpg",
|
| 416 |
+
"text": "$$\n\\mathcal { L } _ { f } = \\frac { 1 } { C _ { f } W _ { f } } \\sum _ { c = 1 } ^ { C _ { f } } \\sum _ { i = 1 } ^ { W _ { f } } \\left. \\phi ( \\pmb { x _ { h } } ) _ { i , c } - \\phi ( G ( \\pmb { x _ { l } } ) ) _ { i , c } \\right. _ { 2 } ^ { 2 } ,\n$$",
|
| 417 |
+
"text_format": "latex",
|
| 418 |
+
"bbox": [
|
| 419 |
+
330,
|
| 420 |
+
513,
|
| 421 |
+
666,
|
| 422 |
+
559
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 4
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "where $W _ { f }$ and $C _ { f }$ denote the width and channel dimensions for the feature maps of autoencoder bottleneck. The adversarial loss $\\mathcal { L } _ { a d v }$ is determined by discriminator’s ability to discern whether data produced by the generator is real or fake. We use the gradient-friendly formulation originally posed in Goodfellow et al. (2014), given by ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
173,
|
| 431 |
+
568,
|
| 432 |
+
825,
|
| 433 |
+
625
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "equation",
|
| 439 |
+
"img_path": "images/7edc7a2473996a7666f46cced58595d478820697e7766b3de49baa9a9573e000.jpg",
|
| 440 |
+
"text": "$$\n\\mathcal { L } _ { a d v } = - \\log D ( G ( \\pmb { x } \\imath ) ) .\n$$",
|
| 441 |
+
"text_format": "latex",
|
| 442 |
+
"bbox": [
|
| 443 |
+
413,
|
| 444 |
+
643,
|
| 445 |
+
584,
|
| 446 |
+
661
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "The composite loss $\\mathcal { L } _ { G }$ for the generator is then given by the sum of the losses above, and the discriminator loss $\\mathcal { L } _ { D }$ derives directly from the GAN optimization objective in Equation 1, i.e., ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
173,
|
| 455 |
+
670,
|
| 456 |
+
828,
|
| 457 |
+
699
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "equation",
|
| 463 |
+
"img_path": "images/cafbc308bb977cef964411f9a3b8813b2f5c34ba05031cd629dadaabe941d2fc.jpg",
|
| 464 |
+
"text": "$$\n\\mathcal { L } _ { G } = \\mathcal { L } _ { L 2 } + \\lambda _ { f } \\mathcal { L } _ { f } + \\lambda _ { a d v } \\mathcal { L } _ { a d v } ,\n$$",
|
| 465 |
+
"text_format": "latex",
|
| 466 |
+
"bbox": [
|
| 467 |
+
387,
|
| 468 |
+
718,
|
| 469 |
+
607,
|
| 470 |
+
737
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "equation",
|
| 476 |
+
"img_path": "images/1b1b8191f539000101ecf39e08b1f5159f7037ee7b7931c989671643742a7e29.jpg",
|
| 477 |
+
"text": "$$\n\\mathcal { L } _ { D } = - \\left[ \\log D ( \\pmb { x } _ { h } ) + \\log ( 1 - D ( G ( \\pmb { x } _ { l } ) ) \\right] ,\n$$",
|
| 478 |
+
"text_format": "latex",
|
| 479 |
+
"bbox": [
|
| 480 |
+
351,
|
| 481 |
+
751,
|
| 482 |
+
645,
|
| 483 |
+
768
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "where $\\lambda _ { f }$ and $\\lambda _ { a d v }$ are constant scaling factors. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
176,
|
| 492 |
+
779,
|
| 493 |
+
485,
|
| 494 |
+
794
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "4 EXPERIMENTS ",
|
| 501 |
+
"text_level": 1,
|
| 502 |
+
"bbox": [
|
| 503 |
+
176,
|
| 504 |
+
813,
|
| 505 |
+
326,
|
| 506 |
+
829
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Datasets We evaluate our methods on three super-resolution tasks derived from the VCTK Corpus (Yamagishi), and the non-vocal music dataset from Mehri et al. (2017). For speech from VCTK, we compose a dataset with recordings from a single speaker (the Speaker1 task), and a dataset with recordings from multiple speakers (the Speaker99 task). Speaker1 consists of the first 223 recordings from VCTK speaker 225 for training, and the final 8 recordings for testing. Speaker99 uses all recordings from the first 99 VCTK speakers for training, and recordings from the last 10 speakers for testing. Piano uses the standard $8 8 \\% - 6 \\% - 6 \\%$ train/validation/test split. For all tasks, the dataset is created by first applying an anti-aliasing lowpass filter, and then sampling random patches of fixed length from the resulting audio. Note that for the sake of direct comparison, the datasets above are the same as those used in Kuleshov et al. (2017). ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
176,
|
| 515 |
+
844,
|
| 516 |
+
825,
|
| 517 |
+
887
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "",
|
| 524 |
+
"bbox": [
|
| 525 |
+
174,
|
| 526 |
+
103,
|
| 527 |
+
825,
|
| 528 |
+
200
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 5
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "Training methodology For Speaker1, we instantiate variants of MU-GAN and train for 400 epochs. For the larger datasets Speaker99 and Piano, models are trained for 150 epochs. The epoch number is empirically selected based on observed convergence, and performance saturation on the validation set. For all models, we use the ADAM optimizer with learning rate 1e-4, $\\beta _ { 1 } = 0 . 9$ , $\\beta _ { 2 } ~ = ~ 0 . 9 9 9$ , and a batch size of 32. For the autoencoder feature losses, we instantiate a model with $L = 4$ , and train for 400 epochs on the same dataset as its associated GAN model. The loss scaling factors $\\lambda _ { f }$ and $\\lambda _ { a d v }$ are fixed at 1.0 and 0.001, respectively. Additional details on model hyperparameters can be found in Appendix A.1. ",
|
| 535 |
+
"bbox": [
|
| 536 |
+
173,
|
| 537 |
+
217,
|
| 538 |
+
825,
|
| 539 |
+
329
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 5
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "Performance metrics We use three metrics to assess the quality of super-resolved audio: (1) signal-to-noise ratio (SNR), (2) log-spectral distance (LSD), and (3) mean opinion score (MOS). The SNR is a standard metric in signal processing communities, defined as ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
174,
|
| 548 |
+
344,
|
| 549 |
+
825,
|
| 550 |
+
387
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 5
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "equation",
|
| 556 |
+
"img_path": "images/f52a794bbed0f5b655d85d592a56eae281b9c56a03262b60d7cf66ac74f10d0b.jpg",
|
| 557 |
+
"text": "$$\n\\begin{array} { r } { \\mathrm { S N R } \\left( x , x _ { r e f } \\right) = 1 0 \\log _ { 1 0 } \\frac { \\left\\| x _ { r e f } \\right\\| _ { 2 } ^ { 2 } } { \\left\\| x - x _ { r e f } \\right\\| _ { 2 } ^ { 2 } } , } \\end{array}\n$$",
|
| 558 |
+
"text_format": "latex",
|
| 559 |
+
"bbox": [
|
| 560 |
+
375,
|
| 561 |
+
405,
|
| 562 |
+
620,
|
| 563 |
+
433
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "where $x$ is an approximation of reference signal $x _ { r e f }$ . LSD (Gray & Markel, 1976) measures differences between signal frequencies, and has better correlation with perceptual quality compared to SNR (Jie et al., 2014; Kuleshov et al., 2017). Given short-time discrete Fourier transforms $X$ and $X _ { r e f }$ , the LSD is given by ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
443,
|
| 573 |
+
825,
|
| 574 |
+
501
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "equation",
|
| 580 |
+
"img_path": "images/ee7fb820193217f4ba6239c28d10a7d0e4aec382803e439ee8480ade3714931f.jpg",
|
| 581 |
+
"text": "$$\n\\begin{array} { r } { \\mathrm { L S D } \\left( X , X _ { r e f } \\right) = \\frac { 1 } { W } \\sum _ { w = 1 } ^ { W } \\sqrt { \\frac { 1 } { K } \\sum _ { k = 1 } ^ { N } \\left( \\log _ { 1 0 } \\frac { | X ( w , k ) | ^ { 2 } } { | X _ { r e f } ( w , k ) | ^ { 2 } } \\right) ^ { 2 } } , } \\end{array}\n$$",
|
| 582 |
+
"text_format": "latex",
|
| 583 |
+
"bbox": [
|
| 584 |
+
285,
|
| 585 |
+
517,
|
| 586 |
+
709,
|
| 587 |
+
553
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "where $w$ and $k$ are the window and frequency bin indices, respectively6. Perceptual evaluation of speech quality (PESQ) (ITU-T, 2001) is an industry-standard methodology for the assessment of speech communication systems. Given reference and degraded audio signals, PESQ models the mean opinion score (MOS) of a group of listeners. Specifically, we use PESQ to produce MOS-LQO (listening quality objective) scores (ITU-T, 2003), which range from 1 to 5. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
174,
|
| 596 |
+
564,
|
| 597 |
+
825,
|
| 598 |
+
636
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "Impact of superpixel layers We find that the use of superpixel layers results in ${\\sim } 1 4 \\%$ improvement in training time across model sizes, with insignificant differences in terms of objective quality metrics. Differences in audio produced by the two methods were also imperceptible in informal selfblinded listening tests. This indicates that superpixel layers may be a suitable replacement for conventional strided convolutions, while offering improvements in training time without performance loss. Additional details are provided in Appendix A.2. ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
173,
|
| 607 |
+
651,
|
| 608 |
+
823,
|
| 609 |
+
736
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "Objective performance evaluation Table 1 shows the quantitative performance of MU-GAN against other recent works. We denote MU-GAN8 as an instance of MU-GAN with a depth parameter of $L = 8$ , i.e., with 8 downsampling and 8 upsampling blocks. $U _ { ☉ }$ -net4 is the model with $L = 4$ from Kuleshov et al. (2017). To eliminate depth as a factor in the performance comparison, we reimplement the architecture from Kuleshov et al. (2017) with $L = 8$ , denoted as $U$ -net8. ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
751,
|
| 619 |
+
823,
|
| 620 |
+
820
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "Table 1 shows that MU-GAN8 often performs worse in terms of SNR compared to the baseline models, but has lower LSD and higher MOS-LQO. This indicates that while MU-GAN8 produces reconstructions with lower SNR, deviating in terms of sample-wise distance results in synthesis of more perceptually-relevant frequency content. The exception is with the Piano task, where MUGAN8 performs orders of magnitude better than the U-net baseline in terms of SNR. In general, we also find that performance on the speech tasks generally saturates at $R = 2$ for both $U$ -net8 and $M U .$ GAN8. Informal listening tests confirm that there are minimal differences at $R = 2$ , indicating that more difficult up-sampling ratios (i.e., $R = 4$ , 6) are better suited for grounds of further comparison. ",
|
| 627 |
+
"bbox": [
|
| 628 |
+
174,
|
| 629 |
+
828,
|
| 630 |
+
825,
|
| 631 |
+
898
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 5
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "table",
|
| 637 |
+
"img_path": "images/67b1d9435ce432eaa21e78d54e0c287987823a82be6a15222fdc6b17e357efc4.jpg",
|
| 638 |
+
"table_caption": [
|
| 639 |
+
"Table 1: Objective comparison with baseline super-resolution networks†. "
|
| 640 |
+
],
|
| 641 |
+
"table_footnote": [
|
| 642 |
+
"† Metrics for $U$ -net4 are taken directly from Kuleshov et al. (2017); those for $U$ -net8 are from our reimplementation. "
|
| 643 |
+
],
|
| 644 |
+
"table_body": "<table><tr><td rowspan=\"2\" colspan=\"2\"></td><td colspan=\"3\">Up. Ratio R=2</td><td colspan=\"3\">Up. Ratio R =4</td><td colspan=\"3\">Up. Ratio R = 6</td></tr><tr><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td><td>U-net4</td><td>U-net8</td><td>MU-GAN8</td></tr><tr><td rowspan=\"3\">Speaker1</td><td>SNR</td><td>21.1</td><td>21.94</td><td>21.40</td><td>17.1</td><td>18.68</td><td>17.72</td><td>14.4</td><td>14.85</td><td>13.98</td></tr><tr><td>LSD</td><td>3.2</td><td>2.24</td><td>1.63</td><td>3.6</td><td>2.34</td><td>1.92</td><td>3.4</td><td>2.92</td><td>1.95</td></tr><tr><td>MOS-LQO</td><td>1</td><td>4.54</td><td>4.54</td><td>-</td><td>3.81</td><td>3.79</td><td>-</td><td>2.97</td><td>3.21</td></tr><tr><td rowspan=\"3\">Speaker99</td><td>SNR</td><td>20.7</td><td>20.05</td><td>20.01</td><td>16.1</td><td>14.30</td><td>14.03</td><td>10.0</td><td>11.11</td><td>10.92</td></tr><tr><td>LSD</td><td>3.1</td><td>2.22</td><td>2.14</td><td>3.5</td><td>2.92</td><td>2.72</td><td>3.7</td><td>3.23</td><td>2.97</td></tr><tr><td>MOS-LQ0</td><td>1</td><td>3.68</td><td>3.75</td><td>-</td><td>2.68</td><td>2.93</td><td>1</td><td>2.44</td><td>2.69</td></tr><tr><td rowspan=\"2\">Piano</td><td>SNR</td><td>30.1</td><td>44.98</td><td>52.03</td><td>23.5</td><td>31.71</td><td>32.28</td><td>16.1</td><td>22.53</td><td>24.71</td></tr><tr><td>LSD</td><td>3.4</td><td>1.12</td><td>0.90</td><td>3.6</td><td>1.35</td><td>1.30</td><td>4.4</td><td>1.53</td><td>1.41</td></tr></table>",
|
| 645 |
+
"bbox": [
|
| 646 |
+
173,
|
| 647 |
+
127,
|
| 648 |
+
825,
|
| 649 |
+
266
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "table",
|
| 655 |
+
"img_path": "images/b3fbd1019fd459509f6840ca15811bee82d917875c8d84fac3186550a9a5809c.jpg",
|
| 656 |
+
"table_caption": [
|
| 657 |
+
"Table 2: A/B test user study scores. "
|
| 658 |
+
],
|
| 659 |
+
"table_footnote": [],
|
| 660 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">Piano</td><td colspan=\"4\">Speaker99</td></tr><tr><td></td><td>#1</td><td>#2</td><td>#1</td><td>#2</td><td>#3</td><td>#4</td></tr><tr><td>MU-GAN8</td><td>9</td><td>15</td><td>14</td><td>11</td><td>15</td><td>10</td></tr><tr><td>U-net8 (baseline)</td><td>5</td><td>3</td><td>4</td><td>6</td><td>4</td><td>8</td></tr><tr><td>No preference</td><td>8</td><td>4</td><td>4</td><td>5</td><td>3</td><td>4</td></tr><tr><td colspan=\"7\">R=4:Piano #1,Speaker99 #1,#3 R = 6: Piano #2,Speaker99 #2,#4</td></tr></table>",
|
| 661 |
+
"bbox": [
|
| 662 |
+
173,
|
| 663 |
+
319,
|
| 664 |
+
460,
|
| 665 |
+
425
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 6
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "table",
|
| 671 |
+
"img_path": "images/91c86180c13595bfec234e41a308137b18555001453b1184a70ac55b689def0a.jpg",
|
| 672 |
+
"table_caption": [
|
| 673 |
+
"Table 3: Speaker1 objective metrics for $M U .$ - GAN8 trained with the speech classifierbased loss, and proposed loss $( \\mathcal { L } _ { f , S V } , \\mathcal { L } _ { f } )$ . "
|
| 674 |
+
],
|
| 675 |
+
"table_footnote": [],
|
| 676 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">R=2</td><td colspan=\"2\">R=4</td><td colspan=\"2\">R=6</td></tr><tr><td></td><td>Lf,sV</td><td>Lf</td><td>Lf.sv</td><td>Lf</td><td>Lf.sv</td><td>Lf</td></tr><tr><td>SNR</td><td>21.28</td><td>21.40</td><td>17.57</td><td>17.72</td><td>13.85</td><td>13.98</td></tr><tr><td>LSD</td><td>1.65</td><td>1.63</td><td>1.92</td><td>1.92</td><td>1.99</td><td>1.95</td></tr><tr><td>MOS-LQO</td><td>4.54</td><td>4.54</td><td>3.67</td><td>3.79</td><td>3.24</td><td>3.21</td></tr></table>",
|
| 677 |
+
"bbox": [
|
| 678 |
+
470,
|
| 679 |
+
353,
|
| 680 |
+
823,
|
| 681 |
+
425
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 6
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "",
|
| 688 |
+
"bbox": [
|
| 689 |
+
176,
|
| 690 |
+
453,
|
| 691 |
+
821,
|
| 692 |
+
496
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 6
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Subjective quality analysis To evaluate the performance of $M U – G A N$ with real listeners, we perform a randomized, single-blinded user study with 22 participants (Table 2). The study presents pairs of audio clips produced by MU-GAN8 and the best baseline model $U _ { ☉ }$ -net8, and asks participants to select a preferred clip, or “No preference.” We present two clips from Piano, and four sonically diverse clips from Speaker99. Table 2 shows that in all cases, listeners prefer audio produced by MU-GAN8 over the baseline method. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
513,
|
| 702 |
+
823,
|
| 703 |
+
597
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 6
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "In general, we observe that audio produced by MU-GAN has greater clarity compared to audio produced by the baseline networks. The quality difference is most apparent during consonant sounds, which have more high-frequency content compared to typical vowel sounds. For instance, in the phrase “Ask her to bring these things from the store,” (Figure 5, bottom row) the consonant sounds in ‘Ask,’ ‘things,’ and ‘store’ have noticeably better articulation. In contrast, audio from the best baseline, $U _ { ☉ }$ -net8, sounds relatively dull and “muffled” in comparison. Note that on some audio clips super-resolved at $R = 4 , 6$ , we observe intermittent, audible noise that is not present in the baseline reconstructions. To ensure a fair analysis, we include audio clips in the user study where this noise is apparent. Additional comments on spurious noise can be found in Appendix A.3. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
603,
|
| 713 |
+
825,
|
| 714 |
+
728
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Comparison with classifier-based feature loss We compare the proposed unsupervised feature loss with the classifier-based loss from Germain et al. (2018) 7. Germain et al. (2018) use a VGGbased (Simonyan & Zisserman, 2014) network as a feature loss for speech denoising, and train the loss network on classification and audio tagging tasks from DCASE 2016 (Mesaros et al., 2018). Table 3 shows objective results obtained using the proposed loss $\\mathcal { L } _ { f }$ and the classifier-based loss $\\mathcal { L } _ { f , S V }$ on the Speaker1 task. Across all up-sampling ratios, the proposed unsupervised method performs on-par (and slightly better in some cases) compared to the classifier-based loss. Thus, our results suggest that using a domain-specific classifier-based loss may not provide any advantage in terms of performance. Given the issues related to training classifier models on general audio (Section 1), our method may be an attractive solution that does not compromise audio quality. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
746,
|
| 724 |
+
825,
|
| 725 |
+
886
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "image",
|
| 731 |
+
"img_path": "images/018841657e88744424ff34773eeafb70aef86bcaa2078e54ff5cccd9d3a6ae4e.jpg",
|
| 732 |
+
"image_caption": [
|
| 733 |
+
"Figure 5: Spectrograms from the Speaker1 task at $R = 2$ (top row, Speaker 225), and Speaker99 task at $R = 4$ (bottom row, Speaker 360). (a-d) high-resolution, (b-e) super-resolved with $U _ { ☉ }$ -net8, and (c-f) super-resolved with MU-GAN8. Increased synthesis of high-frequency content by MU-GAN8 becomes more pronounced at difficult up-sampling ratios. "
|
| 734 |
+
],
|
| 735 |
+
"image_footnote": [],
|
| 736 |
+
"bbox": [
|
| 737 |
+
181,
|
| 738 |
+
99,
|
| 739 |
+
816,
|
| 740 |
+
330
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 7
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "table",
|
| 746 |
+
"img_path": "images/6e72b299f68afb87af8c592a52a0656439db7a969f0c31e3ca7396afbb1c2e09.jpg",
|
| 747 |
+
"table_caption": [
|
| 748 |
+
"Table 4: MOS-LQO for ablated models on the Speaker1 task. "
|
| 749 |
+
],
|
| 750 |
+
"table_footnote": [],
|
| 751 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"6\">Configuration</td></tr><tr><td>MU-GAN4 Up. Ratio -Lf-Ladu</td><td>MU-GAN4 -Ladu(+Lf)</td><td>MU-GAN4 (+Ladu+Lf)</td><td>MU-GAN8 -Lf-Ladu</td><td>MU-GAN8 -Ladu(+Lf)</td><td>MU-GAN8 (+Ladv+Lf)</td></tr><tr><td>R=2</td><td>3.53</td><td>4.54</td><td>4.54</td><td>4.54</td><td>4.54</td><td>4.54</td></tr><tr><td>R=4</td><td>3.15</td><td>3.55</td><td>3.62</td><td>3.74</td><td>3.79</td><td>3.79</td></tr><tr><td>R=6</td><td>2.78</td><td>3.07</td><td>3.12</td><td>3.15</td><td>3.17</td><td>3.21</td></tr></table>",
|
| 752 |
+
"bbox": [
|
| 753 |
+
236,
|
| 754 |
+
444,
|
| 755 |
+
754,
|
| 756 |
+
523
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 7
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "Ablation Analysis Table 4 shows the MOS-LQO metrics for the MU-GAN architecture with ablated model parameters. While almost all variations perform similarly well at $R = 2$ , adding depth (i.e., from $L = 4$ to $L = 8$ ) and additional loss terms improves performance on harder up-sampling ratios. Furthermore, adding the adversarial loss and unsupervised feature loss terms improve MOSLQO monotonically. For MU-GAN8, we see diminishing returns from adding the additional loss terms; much of the improvement over MU-GAN4 appears to come from the additional depth. On the other hand, adding the $\\mathcal { L } _ { f }$ and $\\mathcal { L } _ { a d v }$ losses to the MU-GAN4 variant yields significant benefits, such that its performance is comparable to that of MU-GAN8. This indicates that the feature and adversarial losses may be particularly useful to mitigate underfitting, or to decrease model size iso-performance. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
173,
|
| 765 |
+
555,
|
| 766 |
+
825,
|
| 767 |
+
694
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 7
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Receptive Field Analysis While previous works have stressed the importance of large receptive fields (van den Oord et al., 2016; Luo et al., 2016; Yu & Koltun, 2016), little work exists to quantify receptive field sizes on practical problems. We use the methods of Luo et al. (2016) to measure the effective receptive field (ERF)8 of our model on different tasks with varying architectural hyperparameters. Notably, we find that while the theoretical receptive field of our network is on the order of hundreds of milliseconds (thousands of samples), measured ERF’s are generally no wider than 100 samples. Furthermore, we find that ERF size is strongly correlated with problem difficulty, rather than architectural hyperparameters such as depth and specific loss terms. While Luo et al. (2016) found that ERF size always increased compared to the ERF at initialization, we find that ERF decreases in many cases (Figure 6). Our findings imply that there may be subtle but important tradeoffs involved with receptive field size (for instance, ERF size versus noise rejection), and suggest promising avenues for deeper investigation of architectures that rely on large receptive fields. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
173,
|
| 776 |
+
718,
|
| 777 |
+
825,
|
| 778 |
+
886
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "image",
|
| 784 |
+
"img_path": "images/9a4e8a7a8743ac09b4593279b7ffd6c5c45278e0ff6a707cee8520c2fa985c50.jpg",
|
| 785 |
+
"image_caption": [
|
| 786 |
+
"Figure 6: Measured gradient magnitude at the model input and associated Gaussian fit with $M U .$ GAN4 for (a-c) $R = 2$ , 4, 6, respectively. (d) $2 \\sigma$ ERF trend, compared to ERF at initialization. "
|
| 787 |
+
],
|
| 788 |
+
"image_footnote": [],
|
| 789 |
+
"bbox": [
|
| 790 |
+
181,
|
| 791 |
+
98,
|
| 792 |
+
816,
|
| 793 |
+
212
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 8
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "5 CONCLUSION ",
|
| 800 |
+
"text_level": 1,
|
| 801 |
+
"bbox": [
|
| 802 |
+
176,
|
| 803 |
+
276,
|
| 804 |
+
318,
|
| 805 |
+
292
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 8
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "In this work we develop methods to enable the application of GANs to audio processing, in particular with classifier-free feature losses. In addition to several new model building blocks, we show that a convolutional autoencoder can be used to implement a high-performance feature loss in the context of audio super-resolution. Demonstrated on several speech and music super-resolution tasks, we show that our architecture achieves state-of-the-art performance in both objective and subjective metrics. We perform a detailed analysis of our model, and also show that effective receptive field size may be an important property that is not well-explored. Finally, our work raises new possibilities for the design and analysis of neural network-based synthesis methods in important problem domains beyond audio processing. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
309,
|
| 815 |
+
825,
|
| 816 |
+
434
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 8
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "REFERENCES ",
|
| 823 |
+
"text_level": 1,
|
| 824 |
+
"bbox": [
|
| 825 |
+
174,
|
| 826 |
+
457,
|
| 827 |
+
285,
|
| 828 |
+
472
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 8
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Johannes Abel and Tim Fingscheidt. Artificial speech bandwidth extension using deep neural networks for wideband spectral envelope estimation. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 26(1):71–83, 2018. \nYusuf Aytar, Carl Vondrick, and Antonio Torralba. Soundnet: Learning sound representations from unlabeled video. In NIPS, 2016. \nPramod Bachhav, Massimiliano Todisco, Moctar Mossi, Christophe Beaugeant, and Nicholas Evans. Artificial bandwidth extension using the constant q transform. In IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 5550–5554, 2017. \nDavid Berthelot, Tom Schumm, and Luke Metz. BEGAN: boundary equilibrium generative adversarial networks. CoRR, abs/1703.10717, 2017. \nClariNet. Clarinet: Parallel wave generation in end-to-end text-to-speech. In Submitted to International Conference on Learning Representations, 2019. URL https://openreview.net/ forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ HklY120cYm. under review. \nJia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR, 2009. \nEmily L Denton, Soumith Chintala, Arthur Szlam, and Rob Fergus. Deep generative image models using a laplacian pyramid of adversarial networks. In NIPS, pp. 1486–1494. 2015. \nChris Donahue, Julian McAuley, and Miller Puckette. Synthesizing audio with generative adversarial networks. CoRR, abs/1802.04208, 2018. \nAlexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. In NIPS, pp. 658–666. 2016. \nJesse Engel, Cinjon Resnick, Adam Roberts, Sander Dieleman, Douglas Eck, Karen Simonyan, and Mohammad Norouzi. Neural audio synthesis of musical notes with wavenet autoencoders. CoRR, abs/1704.01279, 2017. ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
169,
|
| 837 |
+
477,
|
| 838 |
+
826,
|
| 839 |
+
925
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 8
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Francois G Germain, Qifeng Chen, and Vladlen Koltun. Speech denoising with deep feature losses. CoRR, 2018. ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
171,
|
| 848 |
+
103,
|
| 849 |
+
823,
|
| 850 |
+
132
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 9
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680. 2014. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
173,
|
| 859 |
+
140,
|
| 860 |
+
823,
|
| 861 |
+
184
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 9
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Augustine Gray and John Markel. Distance measures for speech processing. IEEE Transactions on Acoustics, Speech, and Signal Processing, 24(5):380–391, 1976. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
171,
|
| 870 |
+
193,
|
| 871 |
+
823,
|
| 872 |
+
222
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 9
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In CVPR, pp. 5967–5976, 2017. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
171,
|
| 881 |
+
229,
|
| 882 |
+
825,
|
| 883 |
+
261
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 9
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "ITU-T. Perceptual evaluation of speech quality, an objective method for end-to-end speech quality assessment of narrowband telephone networks and speech codecs. ITU-T Rec. P.862, 2001. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
169,
|
| 892 |
+
268,
|
| 893 |
+
823,
|
| 894 |
+
297
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 9
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "ITU-T. Mapping function for transforming p.862 raw result scores to MOS-LQO. ITU-T Rec. P.862.1, 2003. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
176,
|
| 903 |
+
306,
|
| 904 |
+
820,
|
| 905 |
+
335
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 9
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "Zhang Jie, Xiaoqun Zhao, Jingyun Xu, and Zhang Yang. Suitability of speech quality evaluation measures in speech enhancement. In International Conference on Audio, Language and Image Processing, pp. 22–26, 2014. ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
173,
|
| 914 |
+
343,
|
| 915 |
+
826,
|
| 916 |
+
387
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 9
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Justin Johnson, Alexandre Alahi, and Fei-Fei Li. Perceptual losses for real-time style transfer and super-resolution. CoRR, abs/1603.08155, 2016. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
173,
|
| 925 |
+
395,
|
| 926 |
+
820,
|
| 927 |
+
425
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 9
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. International Conference on Representation Learning, abs/1710.10196, 2018. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
173,
|
| 936 |
+
433,
|
| 937 |
+
825,
|
| 938 |
+
477
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 9
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational bayes. ICLR, 2014. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
174,
|
| 947 |
+
484,
|
| 948 |
+
732,
|
| 949 |
+
501
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 9
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Volodymyr Kuleshov, S. Zayd Enam, and Stefano Ermon. Audio super resolution using neural networks. ICLR, abs/1708.00853, 2017. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
174,
|
| 958 |
+
508,
|
| 959 |
+
823,
|
| 960 |
+
539
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 9
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "Erik R. Larsen and Ronald M. Aarts. Audio Bandwidth Extension: Application of Psychoacoustics, Signal Processing and Loudspeaker Design. John Wiley & Sons, Inc., 2004. ISBN 0470858648. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
173,
|
| 969 |
+
546,
|
| 970 |
+
825,
|
| 971 |
+
577
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 9
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew P. Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, and Wenzhe Shi. Photorealistic single image super-resolution using a generative adversarial network. In CVPR, pp. 105–114, 2017. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
173,
|
| 980 |
+
584,
|
| 981 |
+
825,
|
| 982 |
+
641
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 9
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "Honglak Lee, Peter Pham, Yan Largman, and Andrew Y. Ng. Unsupervised feature learning for audio classification using convolutional deep belief networks. In NIPS, pp. 1096–1104. 2009. ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
171,
|
| 991 |
+
650,
|
| 992 |
+
823,
|
| 993 |
+
680
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 9
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Bin Liu, Jianhua Tao, Zhengqi Wen, Ya Li, and Danish Bukhari. A novel method of artificial bandwidth extension using deep architecture. In INTERSPEECH, 2015. ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
173,
|
| 1002 |
+
688,
|
| 1003 |
+
825,
|
| 1004 |
+
718
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 9
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Wenjie Luo, Yujia Li, Raquel Urtasun, and Richard Zemel. Understanding the effective receptive field in deep convolutional neural networks. In D. D. Lee, M. Sugiyama, U. V. Luxburg, I. Guyon, and R. Garnett (eds.), NIPS, pp. 4898–4906. 2016. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
174,
|
| 1013 |
+
726,
|
| 1014 |
+
823,
|
| 1015 |
+
768
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 9
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. In ICML, volume 30, pp. 3, 2013. ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
168,
|
| 1024 |
+
777,
|
| 1025 |
+
823,
|
| 1026 |
+
808
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 9
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron C. Courville, and Yoshua Bengio. Samplernn: An unconditional end-to-end neural audio generation model. ICLR, 2017. ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
176,
|
| 1035 |
+
815,
|
| 1036 |
+
825,
|
| 1037 |
+
858
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 9
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "Annamaria Mesaros, Toni Heittola, Emmanouil Benetos, Peter Foster, Mathieu Lagrange, Tuomos Virtanen, and Mark D. Plumbley. Detection and classification of acoustic scenes and events: Outcome of the dcase 2016 challenge. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 26(2):379–393, 2018. ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
176,
|
| 1046 |
+
867,
|
| 1047 |
+
825,
|
| 1048 |
+
924
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 9
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. CoRR, abs/1411.1784, 2014. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
169,
|
| 1057 |
+
103,
|
| 1058 |
+
825,
|
| 1059 |
+
133
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 10
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Augustus Odena, Vincent Dumoulin, and Chris Olah. Deconvolution and checkerboard artifacts. Distill, 2016. URL http://distill.pub/2016/deconv-checkerboard. ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
173,
|
| 1068 |
+
147,
|
| 1069 |
+
825,
|
| 1070 |
+
176
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 10
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. ICLR, 2015. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
169,
|
| 1079 |
+
190,
|
| 1080 |
+
825,
|
| 1081 |
+
220
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 10
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention, pp. 234–241, 2015. ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
173,
|
| 1090 |
+
234,
|
| 1091 |
+
825,
|
| 1092 |
+
277
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 10
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "Andy M Sarroff and Michael A Casey. Musical audio synthesis using autoencoding neural nets. In International Computer Music Conference, 2014. ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
171,
|
| 1101 |
+
292,
|
| 1102 |
+
823,
|
| 1103 |
+
321
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 10
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "Wenzhe Shi, Jose Caballero, Ferenc Huszar, Johannes Totz, Andrew P. Aitken, Rob Bishop, Daniel ´ Rueckert, and Zehan Wang. Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. In CVPR, pp. 1874–1883, 2016. ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
174,
|
| 1112 |
+
337,
|
| 1113 |
+
825,
|
| 1114 |
+
380
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 10
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. CoRR, abs/1409.1556, 2014. ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
173,
|
| 1123 |
+
395,
|
| 1124 |
+
823,
|
| 1125 |
+
422
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 10
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "Casper Kaae Sonderby, Tapani Raiko, Lars Maaloe, Soren Kaae Sonderby, and Ole Winther. Ladder variational autoencoders. In NIPS, pp. 3738–3746. 2016. ",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
171,
|
| 1134 |
+
438,
|
| 1135 |
+
825,
|
| 1136 |
+
468
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 10
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Jose Sotelo, Soroush Mehri, Kundan Kumar, Joo F. Santos, Kyle Kastner, Aaron Courville, and Yoshua Bengio. Char2Wav: End-to-end speech synthesis. In ICLR, 2017. ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
173,
|
| 1145 |
+
482,
|
| 1146 |
+
823,
|
| 1147 |
+
511
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 10
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In CVPR, pp. 1–9, 2015. ",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
174,
|
| 1156 |
+
526,
|
| 1157 |
+
823,
|
| 1158 |
+
569
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 10
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Keiichi Tokuda, Yoshihiko Nankaku, Tomoki Toda, Heiga Zen, Junichi Yamagishi, and Keiichiro Oura. Speech synthesis based on hidden markov models. Proceedings of the IEEE, 101(5): 1234–1252, 2013. ",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
173,
|
| 1167 |
+
583,
|
| 1168 |
+
825,
|
| 1169 |
+
626
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 10
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, ¨ Nal Kalchbrenner, Andrew W. Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. CoRR, abs/1609.03499, 2016. ",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
174,
|
| 1178 |
+
641,
|
| 1179 |
+
823,
|
| 1180 |
+
684
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 10
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "Aaron van den Oord, Yazhe Li, Igor Babuschkin, Karen Simonyan, Oriol Vinyals, Koray Kavukcuoglu, George van den Driessche, Edward Lockhart, Luis Cobo, Florian Stimberg, Norman Casagrande, Dominik Grewe, Seb Noury, Sander Dieleman, Erich Elsen, Nal Kalchbrenner, Heiga Zen, Alex Graves, Helen King, Tom Walters, Dan Belov, and Demis Hassabis. Parallel WaveNet: Fast high-fidelity speech synthesis. In ICML, volume 80, pp. 3918–3926, 2018. ",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
173,
|
| 1189 |
+
699,
|
| 1190 |
+
825,
|
| 1191 |
+
770
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 10
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, and Pierre-Antoine Manzagol. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. JMLR, 11:3371–3408, 2010. ",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
173,
|
| 1200 |
+
785,
|
| 1201 |
+
825,
|
| 1202 |
+
828
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 10
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "Junichi Yamagishi. CSTR VCTK corpus. http://homepages.inf.ed.ac.uk/ jyamagis/page3/page58/page58.html. ",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
171,
|
| 1211 |
+
842,
|
| 1212 |
+
821,
|
| 1213 |
+
872
|
| 1214 |
+
],
|
| 1215 |
+
"page_idx": 10
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"type": "text",
|
| 1219 |
+
"text": "Fisher Yu and Vladlen Koltun. Multi-scale context aggregation by dilated convolutions. ICLR, abs/1511.07122, 2016. ",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
173,
|
| 1222 |
+
887,
|
| 1223 |
+
823,
|
| 1224 |
+
915
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 10
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "text",
|
| 1230 |
+
"text": "A APPENDIX ",
|
| 1231 |
+
"text_level": 1,
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
176,
|
| 1234 |
+
102,
|
| 1235 |
+
297,
|
| 1236 |
+
117
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 11
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "A.1 MODEL PARAMETERS ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
176,
|
| 1245 |
+
133,
|
| 1246 |
+
369,
|
| 1247 |
+
148
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 11
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "A.2 EVALUATION OF SUPERPIXEL LAYERS ",
|
| 1254 |
+
"text_level": 1,
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
176,
|
| 1257 |
+
159,
|
| 1258 |
+
478,
|
| 1259 |
+
174
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 11
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "text",
|
| 1265 |
+
"text": "We evaluate the impact of the superpixel layer proposed in Section 3 by comparing a baseline multiscale U-net with strided convolutions (Strided) against a multiscale U-net with superpixel layers (Super). We halve the number of convolutional kernels in each downsampling layer for Super such that the output feature map dimensions at each downsampling and upsampling layer are identical to those in Strided. Both model types are trained with the baseline $L 2$ loss for 400 epochs on the Speaker1 task. ",
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
174,
|
| 1268 |
+
185,
|
| 1269 |
+
825,
|
| 1270 |
+
268
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 11
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "table",
|
| 1276 |
+
"img_path": "images/9bdd42911c186fc68a8c014907acb59f21a32b435f74c8c7b114554dd2773087.jpg",
|
| 1277 |
+
"table_caption": [
|
| 1278 |
+
"Table 5: Comparison of superpixel and strided convolutional layers. ",
|
| 1279 |
+
"(b) Quality metrics "
|
| 1280 |
+
],
|
| 1281 |
+
"table_footnote": [],
|
| 1282 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\"></td><td colspan=\"3\">Upsampling I Ratio</td></tr><tr><td>R=2</td><td>R=4</td><td>R=6</td></tr><tr><td rowspan=\"2\">SNR</td><td>Strided</td><td>21.67</td><td>18.45</td><td>14.91</td></tr><tr><td>Super</td><td>21.75</td><td>18.41</td><td>14.89</td></tr><tr><td rowspan=\"2\">LSD</td><td>Strided</td><td>1.67</td><td>2.20</td><td>2.73</td></tr><tr><td>Super</td><td>1.70</td><td>2.08</td><td>2.39</td></tr><tr><td rowspan=\"2\">MOS-LQ0</td><td>Strided</td><td>3.57</td><td>3.13</td><td>2.71</td></tr><tr><td>Super</td><td>3.53</td><td>3.15</td><td>2.78</td></tr></table>",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
450,
|
| 1285 |
+
328,
|
| 1286 |
+
802,
|
| 1287 |
+
486
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 11
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "table",
|
| 1293 |
+
"img_path": "images/1617e96587fad8082d26e9674bace640df0a482f724a7f3e3f63d7c44f482a76.jpg",
|
| 1294 |
+
"table_caption": [
|
| 1295 |
+
"(a) Training time per minibatch "
|
| 1296 |
+
],
|
| 1297 |
+
"table_footnote": [],
|
| 1298 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">Depth Parameter</td></tr><tr><td>L=4</td><td>L=8</td></tr><tr><td>Strided</td><td>149.8 s</td><td>195.1 s</td></tr><tr><td>Super</td><td>128.1 s</td><td>168.0 s</td></tr><tr><td>Speedup</td><td>14.5%</td><td>13.8%</td></tr></table>",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
196,
|
| 1301 |
+
328,
|
| 1302 |
+
408,
|
| 1303 |
+
426
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 11
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "A.3 NOTE ON INTERMITTENT SPURIOUS NOISE ",
|
| 1310 |
+
"text_level": 1,
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
174,
|
| 1313 |
+
511,
|
| 1314 |
+
513,
|
| 1315 |
+
523
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 11
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "As described in Section 4, some audio clips super-resolved at $R = 4 , 6$ exhibit intermittent, audible noise that is not present in the baseline reconstructions. We find that this noise is not inherent to our specific feature loss, and is present if we replace the unsupervised feature loss with a classifierbased feature loss. The spurious noise is also unrelated to the use of $\\mathcal { L } _ { a d v }$ , as it is present in audio generated by models trained only with $\\mathcal { L } _ { f }$ . While a deeper investigation is planned for future work, we hypothesize that such noise stems from phase ambiguity in missing high-frequency content. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
174,
|
| 1324 |
+
535,
|
| 1325 |
+
825,
|
| 1326 |
+
619
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 11
|
| 1329 |
+
}
|
| 1330 |
+
]
|
parse/train/H1eH4n09KX/H1eH4n09KX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1eH4n09KX/H1eH4n09KX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1HlA-ZAZ/S1HlA-ZAZ.md
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
| 1 |
+
# THE KANERVA MACHINE: A GENERATIVE DISTRIBUTED MEMORY
|
| 2 |
+
|
| 3 |
+
Yan Wu, Greg Wayne, Alex Graves, Timothy Lillicrap DeepMind {yanwu,gregwayne,gravesa,countzero}@google.com
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We present an end-to-end trained memory system that quickly adapts to new data and generates samples like them. Inspired by Kanerva’s sparse distributed memory, it has a robust distributed reading and writing mechanism. The memory is analytically tractable, which enables optimal on-line compression via a Bayesian update-rule. We formulate it as a hierarchical conditional generative model, where memory provides a rich data-dependent prior distribution. Consequently, the top-down memory and bottom-up perception are combined to produce the code representing an observation. Empirically, we demonstrate that the adaptive memory significantly improves generative models trained on both the Omniglot and CIFAR datasets. Compared with the Differentiable Neural Computer (DNC) and its variants, our memory model has greater capacity and is significantly easier to train.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Recent work in machine learning has examined a variety of novel ways to augment neural networks with fast memory stores. However, the basic problem of how to most efficiently use memory remains an open question. For instance, the slot-based external memory in models like Differentiable Neural Computers (DNCs Graves et al. (2016)) often collapses reading and writing into single slots, even though the neural network controller can in principle learn more distributed strategies. As as result, information is not shared across memory slots, and additional slots have to be recruited for new inputs, even if they are redundant with existing memories. Similarly, Matching Networks (Vinyals et al., 2016; Bartunov & Vetrov, 2016) and the Neural Episodic Controller (Pritzel et al., 2017) directly store embeddings of data. They therefore require the volume of memory to increase with the number of samples stored. In contrast, the Neural Statistician (Edwards & Storkey, 2016) summarises a dataset by averaging over their embeddings. The resulting “statistics” are conveniently small, but a large amount of information may be dropped by the averaging process, which is at odds with the desire to have large memories that can capture details of past experience.
|
| 12 |
+
|
| 13 |
+
Historically developed associative memory architectures provide insight into how to design efficient memory structures that store data in overlapping representations. For example, the Hopfield Net (Hopfield, 1982) pioneered the idea of storing patterns in low-energy states in a dynamic system. This type of model is robust, but its capacity is limited by the number of recurrent connections, which is in turn constrained by the dimensionality of the input patterns. The Boltzmann Machine (Ackley et al., 1985) lifts this constraint by introducing latent variables, but at the cost of requiring slow reading and writing mechanisms (i.e. via Gibbs sampling). This issue is resolved by Kanerva’s sparse distributed memory model (Kanerva, 1988), which affords fast reads and writes and dissociates capacity from the dimensionality of input by introducing addressing into a distributed memory store whose size is independent of the dimension of the data1.
|
| 14 |
+
|
| 15 |
+
In this paper, we present a conditional generative memory model inspired by Kanerva’s sparse distributed memory. We generalise Kanerva’s original model through learnable addresses and reparametrised latent variables (Rezende et al., 2014; Kingma & Welling, 2013; Bornschein et al., 2017). We solve the challenging problem of learning an effective memory writing operation by exploiting the analytic tractability of our memory model — we derive a Bayesian memory update rule that optimally trades-off preserving old content and storing new content. The resulting hierarchical generative model has a memory dependent prior that quickly adapts to new data, providing top-down knowledge in addition to bottom-up perception from the encoder to form the latent code representing data. As a generative model, our proposal provides a novel way of enriching the often over-simplified priors in VAE-like models (Rezende et al., 2016) through a adaptive memory. As a memory system, our proposal offers an effective way to learn online distributed writing which provides effective compression and storage of complex data.
|
| 16 |
+
|
| 17 |
+
# 2 BACKGROUND: VARIATIONAL AUTOENCODERS
|
| 18 |
+
|
| 19 |
+
Our memory architecture can be viewed as an extension of the variational autoencoder (VAE) (Rezende et al., 2014; Kingma & Welling, 2013), where the prior is derived from an adaptive memory store. A VAE has an observable variable $x$ and a latent variable $z$ . Its generative model is specified by a prior distribution $p _ { \theta } \left( z \right)$ and the conditional distribution $p _ { \theta } \left( x | z \right)$ . The intractable posterior $p _ { \theta }$ $( z | x )$ is approximated by a parameterised inference model $q _ { \phi } \left( z | x \right)$ . Throughout this paper, we use $\theta$ to represent the generative model’s parameters, and $\phi$ to represent the inference model’s parameters. All parameterised distributions are implemented as multivariate Gaussian distributions with diagonal covariance matrices, whose means and variances are outputs from neural networks as in (Rezende et al., 2014; Kingma & Welling, 2013).
|
| 20 |
+
|
| 21 |
+
We assume a dataset with independently and identically distributed (iid) samples $\begin{array} { r l } { \mathcal { D } } & { { } = } \end{array}$ $\{ x _ { 1 } , \ldots , x _ { n } , \ldots , x _ { N } \}$ . The objective of training a VAE is to maximise its log-likelihood $\mathbb { E } _ { x \sim \mathcal { D } } \left[ \ln p _ { \theta } \left( x \right) \right]$ . This can be achieved by jointly optimising $\theta$ and $\phi$ for a variational lower-bound of the likelihood (omitting the expectation over all $x$ for simplicity):
|
| 22 |
+
|
| 23 |
+
$$
|
| 24 |
+
\mathcal { L } = \mathbb { E } _ { q _ { \phi } ( z | x ) } \left[ \ln p _ { \theta } \left( x | z \right) \right] - \operatorname { D } _ { \mathrm { K L } } \left( q _ { \phi } \left( z | x \right) \| p _ { \theta } \left( z \right) \right)
|
| 25 |
+
$$
|
| 26 |
+
|
| 27 |
+
where the first term can be interpreted as the negative reconstruction loss for reconstructing $x$ using its approximated posterior sample from $q _ { \phi } \left( z | x \right)$ , and the second term as a regulariser that encourages the approximated posterior to be near the prior of $z$ .
|
| 28 |
+
|
| 29 |
+
# 3 THE KANERVA MACHINE
|
| 30 |
+
|
| 31 |
+
To introduce our model, we use the concept of an exchangeable episode: $\begin{array} { r l } { X } & { { } = } \end{array}$ $\{ x _ { 1 } , \dotsc , x _ { t } , \dotsc , x _ { T } \} \subset { \mathcal { D } }$ is a subset of the entire dataset whose order does not matter. The objective of training is the expected conditional log-likelihood (Bornschein et al., 2017),
|
| 32 |
+
|
| 33 |
+
$$
|
| 34 |
+
\mathcal { I } = \int p ( X , M ) \ln p _ { \theta } \left( X \mid M \right) \mathrm { d } M \mathrm { d } X = \int p ( X ) p ( M \mid X ) \sum _ { t = 1 } ^ { T } \ln p _ { \theta } \left( x _ { t } \mid M \right) \mathrm { d } M \mathrm { d } X
|
| 35 |
+
$$
|
| 36 |
+
|
| 37 |
+
The equality utilises the conditional independence of $x _ { t }$ given the memory $M$ , which is equivalent to the assumption of an exchangeable episode $X$ (Aldous, 1985). We factorise the joint distribution of $p ( X , M )$ into the marginal distribution $p ( X )$ and the posterior $p ( M | X )$ , so that computing $p ( M | X )$ can be naturally interpreted as writing $X$ into the memory.
|
| 38 |
+
|
| 39 |
+
We propose this scenario as a general and principled way of formulating memory-based generative models, since $\mathcal { I }$ is directly related to the mutual information $I ( X ; M )$ through $I ( { \dot { X } } ; M ) { \stackrel { \textstyle = } { = } } H ( X ) -$ $\begin{array} { r } { H ( X | M ) = H ( X ) + \int p ( X , M ) \ln p _ { \theta } \left( X | M \right) \mathrm { d } X \mathrm { d } M = H ( X ) + \mathcal { I } . } \end{array}$ As the entropy of the data $H ( X )$ is a constant, maximising $\mathcal { I }$ is equivalent to maximising $I ( X ; M )$ , the mutual information between the memory and the episode to store.
|
| 40 |
+
|
| 41 |
+
# 3.1 THE GENERATIVE MODEL
|
| 42 |
+
|
| 43 |
+
We write the collection of latent variables corresponding to the observed episode $X$ as $Y =$ $\{ y _ { 1 } , . . . , y _ { t } , . . . , y _ { T } \}$ and $Z = \{ z _ { 1 } , \dots , z _ { t } , \dots , z _ { T } \}$ . As illustrated in Fig. 1 (left), the joint distribution of the generative model can be factorised as
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
p _ { \theta } \left( X , Y , Z | M \right) = \prod _ { t = 1 } ^ { T } p _ { \theta } \left( x _ { t } , y _ { t } , z _ { t } | M \right) = \prod _ { t = 1 } ^ { T } p _ { \theta } \left( x _ { t } | z _ { t } \right) p _ { \theta } \left( z _ { t } | y _ { t } , M \right) p _ { \theta } \left( y _ { t } \right)
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
The first equality uses the conditional independence of $z _ { t } , y _ { t } , x _ { t }$ given $M$ , shown by the "plates" in Fig. 1 (left). The memory $M$ is a $K \times C$ random matrix with the matrix variate Gaussian distribution (Gupta & Nagar, 1999):
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
p ( M ) = { \mathcal { M N } } ( R , U , V )
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+

|
| 56 |
+
Figure 1: The probabilistic graphical model for the Kanerva Machine. Left: the generative model; Central: reading inference model. Right: writing inference model; Dotted lines show approximate inference and dashed lines represent exact inference.
|
| 57 |
+
|
| 58 |
+
where $R$ is a $K \times C$ matrix as the mean of $M , U$ is a $K \times K$ matrix that provides the covariance between rows of $M$ , and $V$ is a $C \times C$ matrix providing covariances between columns of $M$ . This distribution is equivalent to the multivariate Gaussian distribution of vectorised $M$ : $p ( \operatorname { v e c } ( M ) ) = \mathcal { N } ( \operatorname { v e c } ( M ) | \operatorname { \bar { v e c } } ( R ) , V \otimes U )$ , where vec $( \cdot )$ is the vectorisation operator and $\otimes$ denotes the Kronecker product. We assume independence between the columns but not the rows of $M$ , by fixing $V$ to be the identity matrix $I _ { C }$ and allow the full degree of freedom for $U$ . Since our experiments suggest the covariance between rows is useful for coordinating memory access, this setting balances simplicity and performance (Fig. 10).
|
| 59 |
+
|
| 60 |
+
Accompanying $M$ are the addresses $A$ , a $K \times S$ real-value matrix that is randomly initialised and is optimised through back-propagation. To avoid degeneracy, rows of $A$ are normalised to have L2-norms of 1. The addressing variable $y _ { t }$ is used to compute the weights controlling memory access. As in VAEs, the prior $p _ { \theta } \left( y _ { t } \right)$ is an isotropic Gaussian distribution $\bar { \mathcal { N } } ( \mathbf { 0 } , \mathbf { 1 } )$ . A learned projection $b _ { t } = f ( y _ { t } )$ then transforms $y _ { t }$ into a $S \times 1$ key vector. The $K \times 1$ vector $w _ { t }$ , as weights across the rows of $M$ , is computed via the product:
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
w _ { t } = b _ { t } \mathsf { \bar { r } } \cdot A = f ( y _ { t } ) \mathsf { \bar { r } } \cdot A
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
The projection $f$ is implemented as a multi-layer perception (MLP), which transforms the distribution of $y _ { t }$ , as well as $w _ { t }$ , to potentially non-Gaussian distributions that may better suit addressing.
|
| 67 |
+
|
| 68 |
+
The code $z _ { t }$ is a learned representation that generates samples of $x _ { t }$ through the parametrised conditional distribution $p _ { \theta } \left( x _ { t } | z _ { t } \right)$ . This distribution is tied for all $t \in \{ 1 \ldots T \}$ . Importantly, instead of the isotropic Gaussian prior, $z _ { t }$ has a memory dependent prior:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
p _ { \theta } ( z _ { t } | y _ { t } , M ) = \mathcal { N } \left( z _ { t } \middle | w _ { t } ^ { \textsf { T } } \cdot M , \sigma ^ { 2 } I _ { C } \right)
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
whose mean is a linear combination of memory rows, with the noise covariance matrix fixed as an identity matrix by setting $\sigma ^ { 2 } = 1$ . This prior results in a much richer marginal distribution, because of its dependence on memory and the addressing variable $y _ { t }$ through $p _ { \theta } ( z _ { t } | M ) =$ $\begin{array} { r } { \int p _ { \theta } ( z _ { t } | y _ { t } , M ) p _ { \theta } ( y _ { t } ) \bar { \mathrm { d } } y _ { t } } \end{array}$ .
|
| 75 |
+
|
| 76 |
+
In our hierarchical model, $M$ is a global latent variable for an episode that captures statistics of the entire episode (Bartunov & Vetrov, 2016; Edwards & Storkey, 2016), while the local latent variables $y _ { t }$ and $z _ { t }$ capture local statistics for data $x _ { t }$ within an episode. To generate an episode of length $T$ , we first sample $M$ once, then sample $y _ { t } , z _ { t }$ , and $x _ { t }$ sequentially for each of the $T$ samples.
|
| 77 |
+
|
| 78 |
+
# 3.2 THE READING INFERENCE MODEL
|
| 79 |
+
|
| 80 |
+
As illustrated in Fig. 1 (central), the approximated posterior distribution is factorised using the conditional independence:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
q _ { \phi } \left( Y , Z | X , M \right) = \prod _ { t = 1 } ^ { T } q _ { \phi } \left( y _ { t } , z _ { t } | x _ { t } , M \right) = \prod _ { t = 1 } ^ { T } q _ { \phi } \left( z _ { t } | x _ { t } , y _ { t } , M \right) q _ { \phi } \left( y _ { t } | x _ { t } \right)
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ is a parameterised approximate posterior distribution. The posterior distribution $q _ { \phi } \left( z _ { t } | x _ { t } , y _ { t } , M \right)$ refines the (conditional) prior distribution $p _ { \theta } ( z _ { t } | y _ { t } , M )$ with additional evidence from $x _ { t }$ . This parameterised posterior takes the concatenation of $x _ { t }$ and the mean of $p _ { \theta } ( z _ { t } | y _ { t } , M )$ (eq. 6) as input. The constant variance of $p _ { \theta } ( z _ { t } | y _ { t } , M )$ is omitted. Similar to the generative model, $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ is shared for all $t \in \{ 1 \ldots T \}$ .
|
| 87 |
+
|
| 88 |
+
# 3.3 THE WRITING INFERENCE MODEL
|
| 89 |
+
|
| 90 |
+
A central difficulty in updating memory is the trade-off between preserving old information and writing new information. It is well known that this trade-off can be balanced optimally through Bayes’ rule MacKay (2003). From the generative model perspective (eq. 2), it is natural to interpret memory writing as inference — computing the posterior distribution of memory $p ( M | X )$ . This section considers both batch inference — directly computing $p ( M | X )$ and on-line inference — sequentially accumulating evidence from $x _ { 1 } , \ldots , x _ { T }$ .
|
| 91 |
+
|
| 92 |
+
Following Fig. 1 (right), the approximated posterior distribution of memory can be written as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\begin{array} { l } { q _ { \phi } \left( M | X \right) = \displaystyle \int p _ { \theta } \left( M , Y , Z | X \right) \mathrm { d } Z \mathrm { d } Y } \\ { \displaystyle \qquad = \int p _ { \theta } ( M | \{ y _ { 1 } , \dots , y _ { T } \} , \{ z _ { 1 } , \dots , z _ { T } \} ) \prod _ { t = 1 } ^ { T } q _ { \phi } ( z _ { t } | x _ { t } ) q _ { \phi } ( y _ { t } | x _ { t } ) \mathrm { d } z _ { t } \mathrm { d } y _ { t } } \\ { \displaystyle \qquad \approx p _ { \theta } \left( M | \{ y _ { 1 } , \dots , y _ { T } \} , \{ z _ { 1 } , \dots , z _ { T } \} \right) \Big | _ { y _ { t } \sim q _ { \phi } ( y _ { t } | x _ { t } ) , z _ { t } \sim q _ { \phi } ( z _ { t } | x _ { t } ) } } \end{array}
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
The last line uses one sample of $y _ { t } , \ x _ { t }$ to approximate the intractable integral. The posterior of the addressing variable $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ is the same as in section 3.2, and the posterior of code $q _ { \phi } \left( z _ { t } | x _ { t } \right)$ is a parameterised distribution. We use the short-hand $p _ { \theta }$ $_ { 9 } \left( M | Y , Z \right)$ for $p _ { \theta } \left( M | \{ y _ { 1 } , \dots , y _ { T } \} , \{ z _ { 1 } , \dots , z _ { T } \} \right)$ when $Y , Z$ are sampled as described here. We abuse notation in this section and use $Z =$ $\big ( z _ { 1 } { \boldsymbol { \mathsf { \mathsf { \mathsf { \Pi } } } } } ; \qquad \ldots , ; z _ { T } { \boldsymbol { \mathsf { \mathsf { \mathsf { \Pi } } } } } ^ { \mathsf { \mathsf { \mathsf { \mathsf { \mathsf { \mathsf { \mathsf { \Pi } } } } } } } } \big )$ as a $T \times C$ matrix with all the observations in an episode, and $W = ( w _ { 1 } \mathsf { \bar { r } } ; \dots ; w _ { T } \mathsf { \bar { r } } )$ as a $T \times K$ matrix with all corresponding weights for addressing.
|
| 99 |
+
|
| 100 |
+
Given the linear Gaussian model (eq. 6), the posterior of memory $p _ { \theta } \left( M | Y , Z \right)$ is analytically tractable, and its parameters $R$ and $U$ can be updated as follows:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\begin{array} { r l r l } & { \Delta Z - W R } \\ & { \Sigma _ { c } W U } \\ & { R R + \Sigma _ { c } \mathbf { \bar { T } } \Sigma _ { z } ^ { - 1 } \Delta } & & { U U - \Sigma _ { c } \mathbf { \bar { T } } \Sigma _ { z } ^ { - 1 } \Sigma _ { c } } \end{array}
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where $\Delta$ is the prediction error before updating the memory, $\Sigma _ { c }$ is a $T \times K$ matrix providing the cross-covariance between $Z$ and $M$ , $\Sigma _ { \xi }$ is a $T \times T$ diagonal matrix whose diagonal elements are the noise variance $\sigma ^ { 2 }$ and $\Sigma _ { z }$ is a $T \times T$ matrix that encodes the covariance for $z _ { 1 } , \dots , z _ { T }$ . This update rule is derived from applying Bayes’ rule to the linear Gaussian model (Appendix E). The prior parameters of $p ( M )$ , $R _ { 0 }$ and $U _ { 0 }$ are trained through back-propagation. Therefore, the prior of $M$ can learn the general structure of the entire dataset, while the posterior is left to adapt to features presented in a subset of data observed within a given episode.
|
| 107 |
+
|
| 108 |
+
The main cost of the update rule comes from inverting $\Sigma _ { z }$ , which has a complexity of $\mathcal { O } ( T ^ { 3 } )$ . One may reduce the per-step cost via on-line updating, by performing the update rule using one sample at a time — when $X = x _ { t }$ , $\Sigma _ { z }$ is a scalar which can be inverted trivially. According to Bayes’ rule, updating using the entire episode at once is equivalent to performing the one-sample/on-line update iteratively for all observations in the episode. Similarly, one can perform intermediate updates using mini-batch with size between 1 and $T$ .
|
| 109 |
+
|
| 110 |
+
Another major cost in the update rule is the storage and multiplication of the memory’s row-covariance matrix $U$ , with the complexity of $\mathcal { O } ( K ^ { 2 } )$ . Although restricting this covariance to diagonal can reduce this cost to $\mathcal O ( K )$ , our experiments suggested this covariance is useful for coordinating memory accessing (Fig. 10). Moreover, the cost of $\mathcal { O } ( K ^ { 2 } )$ is usually small, since parameters of the model are dominated by the encoder and decoder. Nevertheless, a future direction is to investigating low-rank approximation of $U$ that better balance cost and performance.
|
| 111 |
+
|
| 112 |
+
# 3.4 TRAINING
|
| 113 |
+
|
| 114 |
+
To train this model, we optimise a variational lower-bound of the conditional likelihood $J$ (eq. 2), which can be derived in a fashion similar to standard VAEs:
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\begin{array} { l } { \displaystyle \mathcal { L } = \mathbb { E } _ { q _ { \phi } ( M | X ) p ( X ) } \sum _ { t = 1 } ^ { T } \left\{ \mathbb { E } _ { q _ { \phi } ( y _ { t } , z _ { t } | x _ { t } , M ) } \left[ \ln p _ { \theta } \left( x _ { t } | z _ { t } \right) \right] \right. } \\ { \displaystyle \left. - \mathrm { D } _ { \mathrm { K L } } \left( q _ { \phi } \left( y _ { t } | x _ { t } \right) \| p _ { \theta } \left( y _ { t } \right) \right) - \mathrm { D } _ { \mathrm { K L } } \left( q _ { \phi } \left( z _ { t } | x _ { t } , y _ { t } , M \right) \| p _ { \theta } \left( z _ { t } | y _ { t } , M \right) \right) \right\} } \end{array}
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
To maximise this lower bound, we sample $y _ { t } , z _ { t }$ from $q _ { \phi } \left( y _ { t } , z _ { t } | x _ { t } , M \right)$ to approximate the inner expectation. For computational efficiency, we use a mean-field approximation for the memory — using the mean $R$ in the place of memory samples (since directly sampling $M$ requires expensive Cholesky decomposition of the non-diagonal matrix $U$ ). Alternatively, we can further exploit the analytical tractability of the Gaussian distribution to obtain distribution-based reading and writing operations (Appendix F).
|
| 121 |
+
|
| 122 |
+
Inside the bracket, the first term is the usual VAE reconstruction error. The first KL-divergence penalises complex addresses, and the second term penalises deviation of the code $z _ { t }$ from the memory-based prior. In this way, the memory learns useful representations that do not rely on complex addresses, and the bottom-up evidence only corrects top-down memory reading when necessary.
|
| 123 |
+
|
| 124 |
+
# 3.5 ITERATIVE SAMPLING
|
| 125 |
+
|
| 126 |
+
An important feature of Kanerva’s sparse distributed memory is its iterative reading mechanism, by which output from the model is fed back as input for several iterations. Kanerva proved that the dynamics of iterative reading will decrease errors when the initial error is within a generous range, converging to a stored memory (Kanerva, 1988). A similar iterative process is also available in our model, by repeatedly feeding-back the reconstruction $\hat { x } _ { t }$ . This Gibbs-like sampling follows the loop in Fig. 1 (central). While we cannot prove convergence, in our experiments iterative reading reliably improves denoising and sampling.
|
| 127 |
+
|
| 128 |
+
To understand this process, notice that knowledge about memory is helpful in reading, which suggests using $q _ { \phi } \left( y _ { t } | x _ { t } , M \right)$ instead of $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ for addressing (section 3.2). Unfortunately, training a parameterised model with the whole matrix $M$ as input can be prohibitively costly. Nevertheless, it is well-known in the coding literature that such intractable posteriors that usually arise in non-tree graphs (as in Fig. 1) can be approximated efficiently by loopy belief-propagation, as has been used in algorithms like Turbo coding (Frey & MacKay, 1998). Similarly, we believe iterative reading works in our model because $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ models the local coupling between $x _ { t }$ and $y _ { t }$ well enough, so iterative sampling with the rest of the model is likely to converge to the true posterior $q _ { \phi } \left( y _ { t } | x _ { t } , M \right)$ Future research will seek to better understand this process.
|
| 129 |
+
|
| 130 |
+
# 4 EXPERIMENTS
|
| 131 |
+
|
| 132 |
+
Details of our model implementation are described in Appendix C. We use straightforward encoder and decoder models in order to focus on evaluating the improvements provided by an adaptive memory. In particular, we use the same model architecture for all experiments with both Omniglot and CIFAR dataset, changing only the the number of filters in the convolutional layers, memory size, and code size. We always use the on-line version of the update rule (section 3.3). The Adam optimiser was used for all training and required minimal tuning for our model (Kingma & Ba, 2014). In all experiments, we report the value of variational lower bound (eq. 12) $L$ divided by the length of episode $T$ , so the per-sample value can be compared with the likelihood from existing models.
|
| 133 |
+
|
| 134 |
+
We first used the Omniglot dataset to test our model. This dataset contains images of hand-written characters with 1623 different classes and 20 examples in each class (Lake et al., 2015). This large variation creates challenges for models trying to capture the entire complex distribution. We use a $6 4 \times 1 0 0$ memory $M$ , and a smaller $6 4 \times 5 0$ address matrix $A$ . For simplicity, we always randomly sample 32 images from the entire training set to form an “episode”, and ignore the class labels. This represents a worst case scenario since the images in an episode will tend to have relatively little redundant information for compression. We use a mini-batch size of 16, and optimise the variational lower-bound (eq. 12) using Adam with learning rate $1 \times 1 0 ^ { - 4 }$ .
|
| 135 |
+
|
| 136 |
+
We also tested our model with the CIFAR dataset, in which each $3 2 \times 3 2 \times 3$ real-valued colour image contains much more information than a binary omniglot pattern. Again, we discard all the label information and test our model in the unsupervised setting. To accommodate the increased complexity of CIFAR, we use convolutional coders with 32 features at each layer, use a code size of 200, and a $1 2 8 \times 2 0 0$ memory with $1 2 8 \times 5 0$ address matrix. All other settings are identical to experiments with Omniglot.
|
| 137 |
+
|
| 138 |
+
# 4.1 COMPARISON WITH VAES
|
| 139 |
+
|
| 140 |
+
We first use the $2 8 \times 2 8$ binary Omniglot from Burda et al. (2015) and follow the same split of 24,345 training and 8,070 test examples. We first compare the training process of our model with a baseline
|
| 141 |
+
|
| 142 |
+
VAE model using the exact same encoder and decoder. Note that there is only a modest increase of parameters in the Kanerva Machine compared the VAE since the encoder and decoder dominates the model parameters.
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
Figure 2: The negative variational lower bound (left), reconstruction loss (central), and KL-Divergence (right) during learning. The dip in the KL-divergence suggests that our model has learned to use the memory.
|
| 146 |
+
|
| 147 |
+
Fig. 2 shows learning curves for our model along with those for the VAE trained on the Omniglot dataset. We plot 4 randomly initialised instances for each model. The training is stable and insensitive to initialisation. Fig. 2 (left) shows that our model reached a significantly lower negative variational lower-bound versus the VAE. Fig. 2 (central) and (right) further shows that the Kanerva Machine achieved better reconstruction and KL-divergence. In particular, the KL-divergence of our model “dips” sharply from about the 2000th step, implying our model learned to use the memory to induce a more informative prior. Fig. 11 confirms this: the KL-divergence for $z _ { t }$ has collapsed to near zero, showing that the top-down prior from memory $q _ { \phi } \left( z _ { t } | y _ { t } , M \right)$ provides most of the information for the code. This rich prior is achieved at the cost of an additional KL-divergence for $y _ { t }$ (Fig. 11, right) which is still much lower than the KL-divergence for $z _ { t }$ in a VAE. Similar training curves are observed for CIFAR training (Fig. 12). Gemici et al. (2017) also observed such KL-divergence dips with a memory model. They report that the reduction in KL-divergence, rather than the reduction in reconstruction loss, was particularly important for improving sample quality, which we also observed in our experiments with Omniglot and CIFAR.
|
| 148 |
+
|
| 149 |
+
At the end of training, our VAE reached a negative log-likelihood (NLL) of $\leq 1 1 2 . 7$ (the lower-bound of likelihood), which is worse than the state-of-the-art unconditioned generation that is achieved by rolling out 80 steps of a DRAW model (NLL of 95.5, Rezende et al., 2016), but comparable to results with IWAE training (NLL of 103.4, Burda et al., 2015). In contrast, with the same encoder and decoders, the Kanerva Machine achieve conditional NLL of 68.3. It is not fair to directly compare our results with unconditional generative models since our model has the advantage of its memory contents. Nevertheless, the dramatic improvement of NLL demonstrates the power of incorporating an adaptive memory into generative models. Fig. 3 (left) shows examples of reconstruction at the end of training; as a signature of our model, the weights were well distributed over the memory, illustrating that patterns written into the memory were superimposed on others.
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 3: Left: reconstruction of inputs and the weights used in reconstruction, where each bin represents the weight over one memory slot. Weights are widely distributed across memory slots. Right: denoising through iterative reading. In each panel: the first column shows the original pattern, the second column (in boxes) shows the corrupted pattern, and the following columns show the reconstruction after 1, 2 and 3 iterations.
|
| 153 |
+
|
| 154 |
+
# 4.2 ONE-SHOT GENERATION
|
| 155 |
+
|
| 156 |
+
We generalise “one-shot” generation from a single image (Rezende et al., 2016), or a few sample images from a limited set of classes (Edwards & Storkey, 2016; Bartunov & Vetrov, 2016), to a batch of images with many classes and samples. To better illustrate how samples are shaped by the conditioning data, in this section we use the same trained models, but test them using episodes with samples from only 2, 4 or 12 classes (omniglot characters)2. Fig. 4 compares samples from the VAE and the Kanerva Machine. While initial samples from our model (left most columns) are visually about as good as those from the VAE, the sample quality improved in consecutive iterations and the final samples clearly reflects the statistics of the conditioning patterns. Most samples did not change much after the 6th iteration, suggesting the iterative sampling had converged. Similar conditional samples from CIFAR are shown in Fig. 5. Notice that this approach, however, does not apply to VAEs, since VAEs do not have the structure we discussed in section 3.5. This is illustrated in Figure 8 by feeding back output from VAEs as input to the next iteration, which shows the sample quality did not improve after iterations.
|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
Figure 4: One-shot generation given a batch of examples. The first panel shows reference samples from the matched VAE. Samples from our model conditioned on 12 random examples from the specified number of classes. Conditioning examples are shown above the samples. The 5 columns show samples after 0, 2, 4, 6, and 8 iterations.
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
Figure 5: Comparison of samples from CIFAR. The 24 conditioning images (top-right) are randomly sampled from the entire CIFAR dataset, so they contains a mix of many classes. Samples from the matched VAE are blurred and lack meaningful local structure. On the other hand, samples from the Kanerva Machine have clear local structures, despite using the same encoder and decoder as the VAE. The 5 columns show samples after 0, 2, 4, 6, and 8 iterations.
|
| 163 |
+
|
| 164 |
+
# 4.3 DENOISING AND INTERPOLATION
|
| 165 |
+
|
| 166 |
+
To further examine generalisation, we input images corrupted by randomly positioned $1 2 \times 1 2$ blocks, and tested whether our model can recover the original image through iterative reading. Our model was not trained on this task, but Fig. 3 (right) shows that, over several iterations, input images can be recovered. Due to high ambiguity, some cases (e.g., the second and last) ended up producing incorrect but still reasonable patterns.
|
| 167 |
+
|
| 168 |
+
The structure of our model affords interpretability of internal representations in memory. Since representations of data $x$ are obtained from a linear combination of memory slots (eq. 6), we expect linear interpolations between address weights to be meaningful. We examined interpolations by computing 2 weight vectors from two random input images, and then linearly interpolating between these two vectors. These vectors were then used to read $z _ { t }$ from memory (eq. 6), which is then decoded to produce the interpolated images. Fig. 7 in Appendix A shows that interpolating between these access weights indeed produces meaningful and smoothly changing images.
|
| 169 |
+
|
| 170 |
+

|
| 171 |
+
4.4 COMPARISON WITH DIFFERENTIABLE NEURAL COMPUTERS
|
| 172 |
+
Figure 6: Left: the training curves of DNC and Kanerva machine both shows 6 instances with the best hyperparameter configuration for each model found via grid search. DNCs were more sensitive to random initilisation, slower, and plateaued with larger error. Right: the test variational lower-bounds of a DNC (dashed lines) and a Kanerva Machine as a function of different episode sizes and different sample classes.
|
| 173 |
+
|
| 174 |
+
This section compares our model with the Differentiable Neural Computer (DNC, Graves et al., 2016), and a variant of it, the Least Recently Used Architecture (LRUA, Santoro et al., 2016). We test these using the same episode storage and retrieval task as in previous experiments with Omniglot data. For a fair comparison, we fit the DNC models into the same framework, as detailed in Appendix D. Fig. 6 (left) illustrates the process of training the DNC and the Kanerva Machine. The LRUA did not passed the loss level of 150, so we did not include it in the figure. The DNC reached a test loss close to 100, but was very sensitive to hyper-parameters and random initialisation: only 2 out of 6 instances with the best hyper-parameter configuration (batch size $= 1 6$ , learning rate= ${ \dot { 3 } } \times 1 0 ^ { - 4 }$ ) found by grid search reached this level. On the other hand, the Kanerva Machine was robust to these hyper-parameters, and worked well with batch sizes between 8 and 64, and learning rates between $3 \times 1 0 ^ { - 5 }$ and $3 \times 1 0 ^ { - 4 }$ . The Kanerva Machine trained fastest with batch size 16 and learning rate $1 \times 1 0 ^ { - 4 }$ and eventually converged below 70 test loss with all tested configurations. Therefore, the Kanerva Machine is significantly easier to train, thanks to principled reading and writing operations that do not depend on any model parameter.
|
| 175 |
+
|
| 176 |
+
We next analysed the capacity of our model versus the DNC by examining the lower bound of then likelihood when storing and then retrieving patterns from increasingly large episodes. As above, these models are still trained with episodes containing 32 samples, but are tested on much larger episodes. We tested our model with episodes containing different numbers of classes and thus varying amounts of redundancy. Fig. 6 (right) shows both models are able to exploit this redundancy, since episodes with fewer classes (but the same number of images) have lower reconstruction losses. Overall, the Kanerva Machine generalises well to larger episodes, and maintained a clear advantage over the DNC (as measured by the variational lower-bound).
|
| 177 |
+
|
| 178 |
+
# 5 DISCUSSION
|
| 179 |
+
|
| 180 |
+
In this paper, we present the Kanerva Machine, a novel memory model that combines slow-learning neural networks and a fast-adapting linear Gaussian model as memory. While our architecture is inspired by Kanerva’s seminal model, we have removed the assumption of a uniform data distribution by training a generative model that flexibly learns the observed data distribution. By implementing memory as a generative model, we can retrieve unseen patterns from the memory through sampling. This phenomenon is consistent with the observation of constructive memory neuroscience experiments (Hassabis et al., 2007).
|
| 181 |
+
|
| 182 |
+
Probabilistic interpretations of Kanerva’s model have been developed in previous works: Anderson (1989) explored a conditional probability interpretation of Kanerva’s sparse distributed memory, and generalised binary data to discrete data with more than two values. Abbott et al. (2013) provides an approximate Bayesian interpretation based on importance sampling. To our knowledge, our model is the first to generalise Kanerva’s memory model to continuous, non-uniform data while maintaining an analytic form of Bayesian inference. Moreover, we demonstrate its potential in modern machine learning through integration with deep neural networks.
|
| 183 |
+
|
| 184 |
+
Other models have combined memory mechanisms with neural networks in a generative setting. For example, Li et al. (2016) used attention to retrieve information from a set of trainable parameters in a memory matrix. Notably, the memory in this model is not updated following learning. As a result, the memory does not quickly adapt to new data as in our model, and so is not suited to the kind of episode-based learning explored here. Bornschein et al. (2017) used discrete (categorical) random variables to address an external memory, and train the addressing mechanism, together with the rest of the generative model, though a variational objective. However, the memory in their model is populated by storing images in the form of raw pixels. Although this provides a mechanism for fast adaptation, the cost of storing raw pixels may be overwhelming for large data sets. Our model learns to to store information in a compressed form by taking advantage of statistical regularity in the images via the encoder at the perceptual level, the learned addresses, and Bayes’ rule for memory updates.
|
| 185 |
+
|
| 186 |
+
Central to an effective memory model is the efficient updating of memory. While various approaches to learning such updating mechanisms have been examined recently (Graves et al., 2016; Edwards & Storkey, 2016; Santoro et al., 2016), we designed our model to employ an exact Bayes’ update-rule without compromising the flexibility and expressive power of neural networks. The compelling performance of our model and its scalable architecture suggests combining classical statistical models and neural networks may be a promising direction for novel memory models in machine learning.
|
| 187 |
+
|
| 188 |
+
# ACKNOWLEDGMENTS
|
| 189 |
+
|
| 190 |
+
We would like to thank Sergey Bartunov, Charles Blundell, Jörg Bornschein, Karol Gregor, Shakir Mohamed, and Benigno Uria for helpful discussions, and to thank Dillon Graham and Jascha Sohl-Dickstein for pointing out mistakes in earlier manuscripts.
|
| 191 |
+
|
| 192 |
+
# REFERENCES
|
| 193 |
+
|
| 194 |
+
Joshua T Abbott, Jessica B Hamrick, Thomas L Griffiths, et al. Approximating bayesian inference with a sparse distributed memory system. In Proceedings of the 35th annual conference of the cognitive science society, pp. 1686–1691, 2013.
|
| 195 |
+
David H Ackley, Geoffrey E Hinton, and Terrence J Sejnowski. A learning algorithm for boltzmann machines. Cognitive science, 9(1):147–169, 1985.
|
| 196 |
+
David J Aldous. Exchangeability and related topics. In École d’Été de Probabilités de Saint-Flour XIII—1983, pp. 1–198. Springer, 1985.
|
| 197 |
+
Charles H Anderson. A conditional probability interpretation of kanerva’s sparse distributed memory. Jet Propulsion, 1000:23–100, 1989.
|
| 198 |
+
Sergey Bartunov and Dmitry P Vetrov. Fast adaptation in generative models with generative matching networks. arXiv preprint arXiv:1612.02192, 2016.
|
| 199 |
+
Jörg Bornschein, Andriy Mnih, Daniel Zoran, and Danilo J Rezende. Variational memory addressing in generative models. arXiv preprint arXiv:1709.07116, 2017.
|
| 200 |
+
Yuri Burda, Roger Grosse, and Ruslan Salakhutdinov. Importance weighted autoencoders. arXiv preprint arXiv:1509.00519, 2015.
|
| 201 |
+
|
| 202 |
+
Harrison Edwards and Amos Storkey. Towards a neural statistician. arXiv preprint arXiv:1606.02185, 2016.
|
| 203 |
+
|
| 204 |
+
Brendan J Frey and David JC MacKay. A revolution: Belief propagation in graphs with cycles. In Advances in neural information processing systems, pp. 479–485, 1998.
|
| 205 |
+
|
| 206 |
+
Mevlana Gemici, Chia-Chun Hung, Adam Santoro, Greg Wayne, Shakir Mohamed, Danilo J Rezende, David Amos, and Timothy Lillicrap. Generative temporal models with memory. arXiv preprint arXiv:1702.04649, 2017.
|
| 207 |
+
|
| 208 |
+
Alex Graves, Greg Wayne, Malcolm Reynolds, Tim Harley, Ivo Danihelka, Agnieszka GrabskaBarwinska, Sergio Gómez Colmenarejo, Edward Grefenstette, Tiago Ramalho, John Agapiou, et al. ´ Hybrid computing using a neural network with dynamic external memory. Nature, 538(7626): 471–476, 2016.
|
| 209 |
+
|
| 210 |
+
Arjun K Gupta and Daya K Nagar. Matrix variate distributions, volume 104. CRC Press, 1999.
|
| 211 |
+
|
| 212 |
+
Demis Hassabis, Dharshan Kumaran, Seralynne D Vann, and Eleanor A Maguire. Patients with hippocampal amnesia cannot imagine new experiences. Proceedings of the National Academy of Sciences, 104(5):1726–1731, 2007.
|
| 213 |
+
|
| 214 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 215 |
+
|
| 216 |
+
John J Hopfield. Neural networks and physical systems with emergent collective computational abilities. Proceedings of the national academy of sciences, 79(8):2554–2558, 1982.
|
| 217 |
+
|
| 218 |
+
Pentti Kanerva. Sparse distributed memory. MIT press, 1988.
|
| 219 |
+
|
| 220 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 221 |
+
|
| 222 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In Proceedings of the 2nd International Conference on Learning Representations (ICLR), 2013.
|
| 223 |
+
|
| 224 |
+
Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015.
|
| 225 |
+
|
| 226 |
+
Chongxuan Li, Jun Zhu, and Bo Zhang. Learning to generate with memory. In International Conference on Machine Learning, pp. 1177–1186, 2016.
|
| 227 |
+
|
| 228 |
+
David JC MacKay. Information theory, inference and learning algorithms. Cambridge university press, 2003.
|
| 229 |
+
|
| 230 |
+
Alexander Pritzel, Benigno Uria, Sriram Srinivasan, Adrià Puigdomènech, Oriol Vinyals, Demis Hassabis, Daan Wierstra, and Charles Blundell. Neural episodic control. arXiv preprint arXiv:1703.01988, 2017.
|
| 231 |
+
|
| 232 |
+
Danilo J. Rezende, Shakir Mohamed, Ivo Danihelka, Karol Gregor, and Daan Wierstra. One-shot generalization in deep generative models. In Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48, ICML’16, pp. 1521–1529. JMLR.org, 2016. URL http://dl.acm.org/citation.cfm?id=3045390.3045551.
|
| 233 |
+
|
| 234 |
+
Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In The 31st International Conference on Machine Learning (ICML), 2014.
|
| 235 |
+
|
| 236 |
+
Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1842–1850, New York, New York, USA, 20–22 Jun 2016. PMLR.
|
| 237 |
+
|
| 238 |
+
Oriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016.
|
| 239 |
+
|
| 240 |
+
# APPENDIX
|
| 241 |
+
|
| 242 |
+
A EXTRA FIGURES
|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
Figure 7: Interpolation for Omniglot and CIFAR images. The first and last column show 2 random images from the data. Between them are linear interpolations in the space of memory accessing weights $w _ { t }$ .
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
Figure 8: Iteratively sampled priors from VAE, for both Omniglot (left) and Cifar (right). In both panels, the columns show samples after 0, 2, 4, 6, 8 and 10 iterations, mirroring the procedure producing figure 4 and 5.
|
| 249 |
+
|
| 250 |
+
# B SPARSE DISTRIBUTED MEMORY
|
| 251 |
+
|
| 252 |
+
This section reviews Kanerva’s sparse distributed memory (Kanerva, 1988). For consistency with the rest of this paper, many of the notations are different from Kanerva’s description. In contrast to many recent models, Kanerva’s memory model is characterised by its distributed reading and writing operations. The model has two main components: a fixed table of addresses $A$ pointing to a modifiable memory $M$ . Both $A$ and $M$ have the same size of $K \times D$ , where $K$ is the number of addresses that and $D$ is the input dimensionality. Kanerva assumes all the inputs are uniform random vectors $\underline { { y } } \in \{ - 1 , 1 \} ^ { D }$ . Therefore, the fixed addresses $A _ { i }$ are uniformly randomly sampled from $\{ - 1 , 1 \} ^ { D }$ to reflect the input statistics.
|
| 253 |
+
|
| 254 |
+
An input $y$ is compared with each address $A _ { k }$ in $A$ through the Hamming distance. For binary vectors $a , b \in \{ - 1 , 1 \} ^ { D }$ , the Hamming distance can be written as $\begin{array} { r } { h ( a , b ) = \frac { 1 } { 2 } ( \mathbf { \bar { \boldsymbol { D } } } - \boldsymbol { a } \cdot \boldsymbol { b } ) } \end{array}$ where $\cdot$ represents inner product between two vectors. An address $k$ is selected when the hamming distance between $x$ and $A _ { k }$ is smaller than a threshold $\tau$ , so the selection can be summarised by the binary weight vector:
|
| 255 |
+
|
| 256 |
+
$$
|
| 257 |
+
w _ { k } = \left\{ { \begin{array} { l l } { 1 , \quad } & { h ( x , A _ { k } ) \leqslant \tau } \\ { 0 , } & { \mathrm { o t h e r w i s e } } \end{array} } \right.
|
| 258 |
+
$$
|
| 259 |
+
|
| 260 |
+
During writing, a pattern $x$ is stored into $M$ by adding $M _ { k } \gets M _ { k } + w _ { k } x .$ . For reading, the memory contents pointed to by all the selected addresses are summed together to pass a threshold at 0 to produce a read out:
|
| 261 |
+
|
| 262 |
+
$$
|
| 263 |
+
\hat { x } = \left\{ \begin{array} { l l } { 1 , } & { ~ \sum _ { k = 1 } ^ { K } w _ { k } M _ { k } > 0 } \\ { - 1 , } & { ~ \mathrm { o t h e r w i s e } } \end{array} \right.
|
| 264 |
+
$$
|
| 265 |
+
|
| 266 |
+
This reading process can be iterated several times by repeatedly feeding-back the output $\hat { x }$ as input.
|
| 267 |
+
|
| 268 |
+
It has been shown analytically by Kanerva that when both $K$ and $D$ are large enough, a small portion of the addresses will always be selected, thus the operations are sparse and distributed. Although an address’ content may be over-written many times, the stored vectors can be retrieved correctly. Moreover, Kanerva proved that even a significantly corrupted query can be discovered from the memory through iterative reading. However, the application of Kanerva’s model is restricted by the assumption of a uniform and binary data distribution, on which Kanerva’s analyses and bounds of performance rely (Kanerva, 1988). Unfortunately, this assumption is rarely true in practice, since real-world data typically lie on low-dimensional manifolds, and binary representation of data is less efficient in high-level neural network implementations that are heavily optimised for floating-point numbers.
|
| 269 |
+
|
| 270 |
+
# C MODEL DETAILS
|
| 271 |
+
|
| 272 |
+
Figure 9 shows the architecture of our model compared with a standard VAE. For all experiments, we use a convolutional encoder to convert input images into $2 C$ embedding vectors $e ( \bar { x } _ { t } )$ , where $C$ is the code size (dimension of $z _ { t }$ ). The convolutional encoder has 3 consecutive blocks, where each block is a convolutional layer with $4 \times 4$ filter with stride 2, which reduces the input dimension, followed by a basic ResNet block without bottleneck (He et al., 2016). All the convolutional layers have the same number of filters, which is either 16 or 32 depending on the dataset. The output from the blocks is flattened and linearly projected to a $2 C$ dimensional vector. The convolutional decoder mirrors this structure with transposed convolutional layers. All the “MLP” boxes in Fig. 9 are 2-layer multi-layer perceptron with ReLU non-linearity in between. We found that adding noise to the input into $q _ { \phi } \left( y _ { t } | x _ { t } \right)$ helped stabilise training, possibly by restricting the information in the addresses. The exact magnitude of the added noise matters little, and we use Gaussian noise with zero mean and standard deviation of 0.2 for all experiments. We use Bernoulli likelihood function for Omniglot dataset, and Gaussian likelihood function for CIFAR. To avoid Gaussian likelihood collapsing, we added uniform noise $\textstyle { \mathcal { U } } ( 0 , { \frac { 1 } { 2 5 6 } } )$ to CIFAR images during training.
|
| 273 |
+
|
| 274 |
+
# D DNC DETAILS
|
| 275 |
+
|
| 276 |
+
For a fair comparison, we wrap the differentiable neural computer (DNC) with the same interface as the Kanerva memory so that it can simply replace the memory $M$ in Fig. 9. More specifically, the DNC receives the addressing variable $y _ { t }$ with the same size and sampled the same ways as described in the main text in reading and writing stages. During writing it also receives $z _ { t }$ sampled from $q _ { \phi } \left( z _ { t } | x _ { t } \right)$ as input, by concatenating $y _ { t }$ and $z _ { t }$ together as input into the memory controller.
|
| 277 |
+
|
| 278 |
+
Since DNCs do not have separated reading and writing stages, we separated this two process in our experiments: during writing, we discard the read-out from the DNC, and only keep its state as the memory; during reading, we discard the state at each step so it cannot be used for storing new information. In addition, we use a 2-layer MLP with 200 hidden neurons and ReLU nonlinearity as the controller instead of the commonly used LSTM to avoid the recurrent state being used as memory and interference with DNC’s external memory. Another issue with off-the-shelf DNC (Graves et al., 2016; Santoro et al., 2016) is that controllers may generate output bypassing the memory, which can be particularly confusing in our auto-encoding setting by simply ignoring the memory and functioning as a skip connection. We avoid this situation by removing this controller output and ensure that the DNC only reads-out from its memory. Further, to focus on the memory performance, we remove
|
| 279 |
+
|
| 280 |
+
VAE
|
| 281 |
+
|
| 282 |
+

|
| 283 |
+
|
| 284 |
+
generation reading writing
|
| 285 |
+
|
| 286 |
+

|
| 287 |
+
|
| 288 |
+

|
| 289 |
+
Figure 9: The architecture of the VAE and the Kanerva Machine used in our experiments. conv/deconv: convolutional and transposed convolutions neural networks. MLP: multiplayer perceptron. concat: vector concatenation. The blue arrows show memory writing as exact inference.
|
| 290 |
+
|
| 291 |
+

|
| 292 |
+
Figure 10: Covariance between memory rows is important. The two curves shows the test loss (negative variational lower bound) as a function of iterations. Four models using full $K \times K$ covariance matrix $U$ are shown by red curves and four models using diagonal covariance matrix are shown in blue. All other settings for these 8 models are the same (as described in section 4). These 8 models are trained on machines with similar setup. The models using full covariance matrices were slightly slower per-iteration, but the test loss decreased far more quickly.
|
| 293 |
+
|
| 294 |
+
the bottom-up stream in our model that compensates for the memory. This means directly sampling $z _ { t }$ from $p _ { \theta }$ $\upsilon _ { \theta } \left( z _ { t } | \boldsymbol { y } _ { t } , \boldsymbol { M } \right)$ , instead of $p _ { \theta } \left( z _ { t } | x _ { t } , y _ { t } , M \right)$ , for the decoder $\dot { p } _ { \theta } \left( x _ { t } | z _ { t } \right)$ , forcing the model to reconstruct solely using read-outs from the memory.
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
Figure 11: The KL-divergence between $y _ { t }$ (left) and $z _ { t }$ (right) during training.
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
Figure 12: The negative variational lower bound, reconstruction loss, and total KL-divergence during CIFAR training. Although the difference between the lower bound objective is smaller than that during Omniglot training, the general patterns of these curves are similar to those in Fig. 2. The relatively small difference in KL-divergence significantly influences sample quality. Notice at the time of our submission, the training is continuing and the advantage of the Kanerva Machine over the VAE is increasing.
|
| 301 |
+
|
| 302 |
+
# E DERIVATION OF THE ONLINE UPDATE RULE
|
| 303 |
+
|
| 304 |
+
Eq. 6 defines a linear Gaussian model. Using notations in the main paper, can write the joint distribution $p ( \operatorname { v e c } \left( Z \right) , \operatorname { v e c } ( M ) ) = { \mathcal { N } } \left( \operatorname { v e c } \left( Z \right) , \operatorname { v e c } ( M ) ; \mu _ { j } , \Sigma _ { j } \right)$ , where
|
| 305 |
+
|
| 306 |
+
$$
|
| 307 |
+
\begin{array} { r l } & { \mu _ { j } = \left[ \mathrm { v e c } \left( W R \right) \right] } \\ & { \Sigma _ { j } = \left[ \Sigma _ { z } \otimes I _ { C } \quad \Sigma _ { c } \otimes I _ { C } \right] } \\ & { \Sigma _ { j } = \left[ \Sigma _ { c } \mathbf { \bar { \Psi } } \otimes I _ { C } \quad U \otimes I _ { c } \right] } \end{array}
|
| 308 |
+
$$
|
| 309 |
+
|
| 310 |
+
We can then use the conditional formula for the Gaussian to derive the posterior distribution $p ( \operatorname { v e c } \left( M \right) | \operatorname { v e c } \left( Z \right) ) = \mathcal { N } \left( \operatorname { v e c } \left( M \right) ; \mu _ { p } , \Sigma _ { p } \right)$ , using the property Kronecker product:
|
| 311 |
+
|
| 312 |
+
$$
|
| 313 |
+
\begin{array} { r l } & { { \mu _ { p } } = \operatorname { v e c } \left( R \right) + { \Sigma _ { c } } ^ { \mathsf { T } } { \Sigma _ { z } } ^ { - 1 } \otimes I _ { C } ( \operatorname { v e c } \left( Z \right) - \operatorname { v e c } \left( W R \right) ) } \\ & { { \Sigma _ { p } } = U \otimes I _ { c } - { \Sigma _ { c } } ^ { \mathsf { T } } { \Sigma _ { z } } ^ { - 1 } { \Sigma _ { c } } \otimes I _ { C } } \end{array}
|
| 314 |
+
$$
|
| 315 |
+
|
| 316 |
+
From properties of matrix variate Gaussian distribution, the above two equations can be re-arranged to the update rule in eq. 9 to 11.
|
| 317 |
+
|
| 318 |
+
# F DISTRIBUTION-BASED READING AND WRITING
|
| 319 |
+
|
| 320 |
+
While the model we described in this paper works well using samples from $q _ { \phi } \left( z _ { t } | x _ { t } \right)$ for writing to the memory (section 3.3) and the mean-field approximation during reading (section 3.4), here we describe an alternative that fully exploits the analytic tractability of the Gaussian distribution. To simplify notation, we use $\psi = \{ R , U , V \}$ for all parameters of the memory.
|
| 321 |
+
|
| 322 |
+
For reading, eq. 6 can be replaced with a distribution that directly depends on $\psi$ through the integral:
|
| 323 |
+
|
| 324 |
+
$$
|
| 325 |
+
\begin{array} { c } { { p _ { \theta } \left( z _ { t } | y _ { t } , \psi \right) = \displaystyle \int p _ { \theta } \left( z _ { t } | y _ { t } , M \right) p ( M ) \mathrm { d } M } } \\ { { = \mathcal { N } \left( z _ { t } | w _ { t } { } ^ { \mathsf { T } } R , w U w ^ { \mathsf { T } } + \sigma ^ { 2 } I _ { C } \right) } } \end{array}
|
| 326 |
+
$$
|
| 327 |
+
|
| 328 |
+
For writing, the distribution $\begin{array} { r } { q _ { \phi } \left( \boldsymbol { Z } \vert \boldsymbol { X } \right) = \prod _ { t = 1 } ^ { T } q _ { \phi } \left( z _ { t } \vert \boldsymbol { x } _ { t } \right) = \mathcal { N } \left( \mu _ { Q } , \boldsymbol { \Sigma } _ { Q } \right) } \end{array}$ ( $\mu _ { Q }$ and $\Sigma _ { Q }$ are functions of $X$ ) can be incorporated into the Bayes’ update rule by analytically marginalising-out $Z$ :
|
| 329 |
+
|
| 330 |
+
$$
|
| 331 |
+
\begin{array} { r l } & { p _ { \theta } \left( M | Y , X \right) = \displaystyle \int p _ { \theta } \left( M | Y , Z \right) q _ { \phi } \left( Z | X \right) \mathrm { d } Z } \\ & { \quad \quad \quad = \displaystyle \int \frac { p _ { \theta } \left( M \right) p _ { \theta } \left( Z | Y , M \right) } { p _ { \theta } \left( Z | Y \right) } q _ { \phi } \left( Z | X \right) \mathrm { d } Z } \\ & { \quad \quad \quad \propto p _ { \theta } \left( M \right) \displaystyle \int p _ { \theta } \left( Z | Y , M \right) q _ { \phi } \left( Z | X \right) \mathrm { d } Z } \end{array}
|
| 332 |
+
$$
|
| 333 |
+
|
| 334 |
+
where we used Bayes’ rule and dropped the normalising constant $p _ { \theta } \left( Z | Y \right)$ , and then replaced the equality with proportional-to accordingly. The last integral is:
|
| 335 |
+
|
| 336 |
+
$$
|
| 337 |
+
\begin{array} { r l } & { \displaystyle \int p _ { \theta } \left( Z \vert Y , M \right) q _ { \phi } \left( Z \vert X \right) \mathrm { d } Z = \frac { 1 } { \sqrt { \operatorname* { d e t } ( 2 \pi \Sigma _ { z ^ { \prime } } ) } } \exp \left[ - \frac { 1 } { 2 } ( \mu _ { Q } - W R ) ^ { \mathsf { T } } \Sigma _ { z ^ { \prime } } ^ { - 1 } ( \mu _ { Q } - W R ) \right] } \\ & { \quad \quad \quad \quad \cdot \displaystyle \int p ^ { \prime } ( Z ) \mathrm { d } Z } \\ & { \quad \quad \quad \quad = \mathcal { N } ( \mu _ { Q } \vert W R , \Sigma _ { z ^ { \prime } } ) } \end{array}
|
| 338 |
+
$$
|
| 339 |
+
|
| 340 |
+
where $\Sigma _ { z ^ { \prime } } = W U W ^ { \intercal } + \Sigma _ { \xi } + \Sigma _ { Q }$ and $p ^ { \prime } ( Z )$ is a distribution of $Z$ whose exact form is unimportant. Therefore, eq. 20 shows that the posterior distribution of $M$ is proportional to the product between the prior $p _ { \theta } \left( M \right)$ and the above likelihood term. From inspection, we can see the update rule (eq. 9 - 11) needs to be modified by replacing $\Sigma _ { z }$ with $\Sigma _ { z ^ { \prime } }$ by adding the bottom-up uncertainty $\Sigma _ { Q }$ .
|
| 341 |
+
|
| 342 |
+
# G DESCRIPTION OF THE ALGORITHM
|
| 343 |
+
|
| 344 |
+
# Algorithm 1 Iterative Reading
|
| 345 |
+
|
| 346 |
+
<table><tr><td>Input: Memory M,a (potentially noisy) query xt, the number of iteration n Output: An estimate of the noiseless 𝑥t</td></tr><tr><td>initialisei=O</td></tr><tr><td>whilei<ndo</td></tr><tr><td>sample yt ~ q(yt|xt) compute the key bt ← f(yt)</td></tr><tr><td>Compute the weights wt ←bt · A</td></tr><tr><td>read-out mean μz ← wtT · M</td></tr><tr><td>sample zt ~ q(zt|xt, Yt,M) which takes μz and xt as inputs</td></tr><tr><td>sample the new query xt ~ pe(xt|zt)</td></tr><tr><td>incrementi←i+1</td></tr><tr><td>end while</td></tr><tr><td>returnx←xt</td></tr></table>
|
| 347 |
+
|
| 348 |
+
# Algorithm 2 Writing
|
| 349 |
+
|
| 350 |
+
Input: Images $\{ x _ { t } \} _ { t = 1 } ^ { T }$ , Memory $M$ with parameters $R$ and $U$
|
| 351 |
+
|
| 352 |
+
Output: Updated memory $M ^ { \prime }$ for each $y _ { t }$ do sample $y _ { t } \sim q _ { \phi } ( y _ { t } | x _ { t } )$ compute the key $b _ { t } \gets f ( y _ { t } )$ Compute the weights $w _ { t } \gets b _ { t } ^ { \intercal } \cdot A$ sample $z _ { t } \sim q _ { \phi } ( z _ { t } | x _ { t } )$ update parameters of $M$ $\begin{array} { r l } & { | \begin{array} { l } { \Delta \xleftarrow { } Z - W R } \end{array} } \\ & { \Sigma _ { c } \xleftarrow { } W U } \\ & { \Sigma _ { z } \xleftarrow { } W U W ^ { \intercal } + \Sigma _ { \xi } } \\ & { R R + \Sigma _ { c } \textbar { \Sigma } \Sigma _ { z } ^ { - 1 } \Delta } \\ & { U U - \Sigma _ { c } \textbar { \Sigma } \Sigma _ { z } ^ { - 1 } \Sigma _ { c } } \end{array}$
|
| 353 |
+
|
| 354 |
+
# end for
|
| 355 |
+
|
| 356 |
+
return $M ^ { \prime }$ with the updated parameters $R$ and $U$
|
parse/train/S1HlA-ZAZ/S1HlA-ZAZ_content_list.json
ADDED
|
@@ -0,0 +1,1868 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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Wayne, Alex Graves, Timothy Lillicrap DeepMind {yanwu,gregwayne,gravesa,countzero}@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
633,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
250,
|
| 32 |
+
544,
|
| 33 |
+
263
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We present an end-to-end trained memory system that quickly adapts to new data and generates samples like them. Inspired by Kanerva’s sparse distributed memory, it has a robust distributed reading and writing mechanism. The memory is analytically tractable, which enables optimal on-line compression via a Bayesian update-rule. We formulate it as a hierarchical conditional generative model, where memory provides a rich data-dependent prior distribution. Consequently, the top-down memory and bottom-up perception are combined to produce the code representing an observation. Empirically, we demonstrate that the adaptive memory significantly improves generative models trained on both the Omniglot and CIFAR datasets. Compared with the Differentiable Neural Computer (DNC) and its variants, our memory model has greater capacity and is significantly easier to train. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
281,
|
| 43 |
+
764,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
457,
|
| 55 |
+
336,
|
| 56 |
+
473
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Recent work in machine learning has examined a variety of novel ways to augment neural networks with fast memory stores. However, the basic problem of how to most efficiently use memory remains an open question. For instance, the slot-based external memory in models like Differentiable Neural Computers (DNCs Graves et al. (2016)) often collapses reading and writing into single slots, even though the neural network controller can in principle learn more distributed strategies. As as result, information is not shared across memory slots, and additional slots have to be recruited for new inputs, even if they are redundant with existing memories. Similarly, Matching Networks (Vinyals et al., 2016; Bartunov & Vetrov, 2016) and the Neural Episodic Controller (Pritzel et al., 2017) directly store embeddings of data. They therefore require the volume of memory to increase with the number of samples stored. In contrast, the Neural Statistician (Edwards & Storkey, 2016) summarises a dataset by averaging over their embeddings. The resulting “statistics” are conveniently small, but a large amount of information may be dropped by the averaging process, which is at odds with the desire to have large memories that can capture details of past experience. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
483,
|
| 66 |
+
825,
|
| 67 |
+
662
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Historically developed associative memory architectures provide insight into how to design efficient memory structures that store data in overlapping representations. For example, the Hopfield Net (Hopfield, 1982) pioneered the idea of storing patterns in low-energy states in a dynamic system. This type of model is robust, but its capacity is limited by the number of recurrent connections, which is in turn constrained by the dimensionality of the input patterns. The Boltzmann Machine (Ackley et al., 1985) lifts this constraint by introducing latent variables, but at the cost of requiring slow reading and writing mechanisms (i.e. via Gibbs sampling). This issue is resolved by Kanerva’s sparse distributed memory model (Kanerva, 1988), which affords fast reads and writes and dissociates capacity from the dimensionality of input by introducing addressing into a distributed memory store whose size is independent of the dimension of the data1. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
670,
|
| 77 |
+
825,
|
| 78 |
+
808
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this paper, we present a conditional generative memory model inspired by Kanerva’s sparse distributed memory. We generalise Kanerva’s original model through learnable addresses and reparametrised latent variables (Rezende et al., 2014; Kingma & Welling, 2013; Bornschein et al., 2017). We solve the challenging problem of learning an effective memory writing operation by exploiting the analytic tractability of our memory model — we derive a Bayesian memory update rule that optimally trades-off preserving old content and storing new content. The resulting hierarchical generative model has a memory dependent prior that quickly adapts to new data, providing top-down knowledge in addition to bottom-up perception from the encoder to form the latent code representing data. As a generative model, our proposal provides a novel way of enriching the often over-simplified priors in VAE-like models (Rezende et al., 2016) through a adaptive memory. As a memory system, our proposal offers an effective way to learn online distributed writing which provides effective compression and storage of complex data. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
815,
|
| 88 |
+
825,
|
| 89 |
+
886
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
202
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2 BACKGROUND: VARIATIONAL AUTOENCODERS ",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
174,
|
| 110 |
+
210,
|
| 111 |
+
599,
|
| 112 |
+
227
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Our memory architecture can be viewed as an extension of the variational autoencoder (VAE) (Rezende et al., 2014; Kingma & Welling, 2013), where the prior is derived from an adaptive memory store. A VAE has an observable variable $x$ and a latent variable $z$ . Its generative model is specified by a prior distribution $p _ { \\theta } \\left( z \\right)$ and the conditional distribution $p _ { \\theta } \\left( x | z \\right)$ . The intractable posterior $p _ { \\theta }$ $( z | x )$ is approximated by a parameterised inference model $q _ { \\phi } \\left( z | x \\right)$ . Throughout this paper, we use $\\theta$ to represent the generative model’s parameters, and $\\phi$ to represent the inference model’s parameters. All parameterised distributions are implemented as multivariate Gaussian distributions with diagonal covariance matrices, whose means and variances are outputs from neural networks as in (Rezende et al., 2014; Kingma & Welling, 2013). ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
173,
|
| 121 |
+
233,
|
| 122 |
+
825,
|
| 123 |
+
361
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "We assume a dataset with independently and identically distributed (iid) samples $\\begin{array} { r l } { \\mathcal { D } } & { { } = } \\end{array}$ $\\{ x _ { 1 } , \\ldots , x _ { n } , \\ldots , x _ { N } \\}$ . The objective of training a VAE is to maximise its log-likelihood $\\mathbb { E } _ { x \\sim \\mathcal { D } } \\left[ \\ln p _ { \\theta } \\left( x \\right) \\right]$ . This can be achieved by jointly optimising $\\theta$ and $\\phi$ for a variational lower-bound of the likelihood (omitting the expectation over all $x$ for simplicity): ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
173,
|
| 132 |
+
366,
|
| 133 |
+
825,
|
| 134 |
+
422
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "equation",
|
| 140 |
+
"img_path": "images/ff0c33b595a01418a7e68bb56506eb49c4dd3a488eff340edd4a9cc30636d575.jpg",
|
| 141 |
+
"text": "$$\n\\mathcal { L } = \\mathbb { E } _ { q _ { \\phi } ( z | x ) } \\left[ \\ln p _ { \\theta } \\left( x | z \\right) \\right] - \\operatorname { D } _ { \\mathrm { K L } } \\left( q _ { \\phi } \\left( z | x \\right) \\| p _ { \\theta } \\left( z \\right) \\right)\n$$",
|
| 142 |
+
"text_format": "latex",
|
| 143 |
+
"bbox": [
|
| 144 |
+
326,
|
| 145 |
+
426,
|
| 146 |
+
669,
|
| 147 |
+
445
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 1
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "where the first term can be interpreted as the negative reconstruction loss for reconstructing $x$ using its approximated posterior sample from $q _ { \\phi } \\left( z | x \\right)$ , and the second term as a regulariser that encourages the approximated posterior to be near the prior of $z$ . ",
|
| 154 |
+
"bbox": [
|
| 155 |
+
173,
|
| 156 |
+
449,
|
| 157 |
+
826,
|
| 158 |
+
491
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "3 THE KANERVA MACHINE ",
|
| 165 |
+
"text_level": 1,
|
| 166 |
+
"bbox": [
|
| 167 |
+
176,
|
| 168 |
+
500,
|
| 169 |
+
416,
|
| 170 |
+
515
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "To introduce our model, we use the concept of an exchangeable episode: $\\begin{array} { r l } { X } & { { } = } \\end{array}$ $\\{ x _ { 1 } , \\dotsc , x _ { t } , \\dotsc , x _ { T } \\} \\subset { \\mathcal { D } }$ is a subset of the entire dataset whose order does not matter. The objective of training is the expected conditional log-likelihood (Bornschein et al., 2017), ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
523,
|
| 180 |
+
825,
|
| 181 |
+
565
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "equation",
|
| 187 |
+
"img_path": "images/fa9def01886b3007f0eca74aa5cb5da9b942e4367a6a07202dbc78fb18c22e7d.jpg",
|
| 188 |
+
"text": "$$\n\\mathcal { I } = \\int p ( X , M ) \\ln p _ { \\theta } \\left( X \\mid M \\right) \\mathrm { d } M \\mathrm { d } X = \\int p ( X ) p ( M \\mid X ) \\sum _ { t = 1 } ^ { T } \\ln p _ { \\theta } \\left( x _ { t } \\mid M \\right) \\mathrm { d } M \\mathrm { d } X\n$$",
|
| 189 |
+
"text_format": "latex",
|
| 190 |
+
"bbox": [
|
| 191 |
+
214,
|
| 192 |
+
570,
|
| 193 |
+
784,
|
| 194 |
+
613
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "The equality utilises the conditional independence of $x _ { t }$ given the memory $M$ , which is equivalent to the assumption of an exchangeable episode $X$ (Aldous, 1985). We factorise the joint distribution of $p ( X , M )$ into the marginal distribution $p ( X )$ and the posterior $p ( M | X )$ , so that computing $p ( M | X )$ can be naturally interpreted as writing $X$ into the memory. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
616,
|
| 204 |
+
825,
|
| 205 |
+
674
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "We propose this scenario as a general and principled way of formulating memory-based generative models, since $\\mathcal { I }$ is directly related to the mutual information $I ( X ; M )$ through $I ( { \\dot { X } } ; M ) { \\stackrel { \\textstyle = } { = } } H ( X ) -$ $\\begin{array} { r } { H ( X | M ) = H ( X ) + \\int p ( X , M ) \\ln p _ { \\theta } \\left( X | M \\right) \\mathrm { d } X \\mathrm { d } M = H ( X ) + \\mathcal { I } . } \\end{array}$ As the entropy of the data $H ( X )$ is a constant, maximising $\\mathcal { I }$ is equivalent to maximising $I ( X ; M )$ , the mutual information between the memory and the episode to store. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
679,
|
| 215 |
+
825,
|
| 216 |
+
751
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "3.1 THE GENERATIVE MODEL ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
174,
|
| 226 |
+
756,
|
| 227 |
+
392,
|
| 228 |
+
770
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 1
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "We write the collection of latent variables corresponding to the observed episode $X$ as $Y =$ $\\{ y _ { 1 } , . . . , y _ { t } , . . . , y _ { T } \\}$ and $Z = \\{ z _ { 1 } , \\dots , z _ { t } , \\dots , z _ { T } \\}$ . As illustrated in Fig. 1 (left), the joint distribution of the generative model can be factorised as ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
775,
|
| 238 |
+
826,
|
| 239 |
+
816
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 1
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "equation",
|
| 245 |
+
"img_path": "images/9713f0115043ec3746022eb0aa7b32f2388522c856d25b2a69b936f827fde75e.jpg",
|
| 246 |
+
"text": "$$\np _ { \\theta } \\left( X , Y , Z | M \\right) = \\prod _ { t = 1 } ^ { T } p _ { \\theta } \\left( x _ { t } , y _ { t } , z _ { t } | M \\right) = \\prod _ { t = 1 } ^ { T } p _ { \\theta } \\left( x _ { t } | z _ { t } \\right) p _ { \\theta } \\left( z _ { t } | y _ { t } , M \\right) p _ { \\theta } \\left( y _ { t } \\right)\n$$",
|
| 247 |
+
"text_format": "latex",
|
| 248 |
+
"bbox": [
|
| 249 |
+
243,
|
| 250 |
+
820,
|
| 251 |
+
754,
|
| 252 |
+
863
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 1
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "The first equality uses the conditional independence of $z _ { t } , y _ { t } , x _ { t }$ given $M$ , shown by the \"plates\" in Fig. 1 (left). The memory $M$ is a $K \\times C$ random matrix with the matrix variate Gaussian distribution (Gupta & Nagar, 1999): ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
173,
|
| 261 |
+
867,
|
| 262 |
+
826,
|
| 263 |
+
909
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 1
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "equation",
|
| 269 |
+
"img_path": "images/7e354b79067769f0e74d442ddc0c3016893aa432a206b29f2ce758bac383c0f0.jpg",
|
| 270 |
+
"text": "$$\np ( M ) = { \\mathcal { M N } } ( R , U , V )\n$$",
|
| 271 |
+
"text_format": "latex",
|
| 272 |
+
"bbox": [
|
| 273 |
+
416,
|
| 274 |
+
909,
|
| 275 |
+
581,
|
| 276 |
+
925
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 1
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "image",
|
| 282 |
+
"img_path": "images/d4411ed2a4ad6cc73cbb39e9c325ac517355a41aa46592f038190c85b2228c65.jpg",
|
| 283 |
+
"image_caption": [
|
| 284 |
+
"Figure 1: The probabilistic graphical model for the Kanerva Machine. Left: the generative model; Central: reading inference model. Right: writing inference model; Dotted lines show approximate inference and dashed lines represent exact inference. "
|
| 285 |
+
],
|
| 286 |
+
"image_footnote": [],
|
| 287 |
+
"bbox": [
|
| 288 |
+
362,
|
| 289 |
+
99,
|
| 290 |
+
635,
|
| 291 |
+
217
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "where $R$ is a $K \\times C$ matrix as the mean of $M , U$ is a $K \\times K$ matrix that provides the covariance between rows of $M$ , and $V$ is a $C \\times C$ matrix providing covariances between columns of $M$ . This distribution is equivalent to the multivariate Gaussian distribution of vectorised $M$ : $p ( \\operatorname { v e c } ( M ) ) = \\mathcal { N } ( \\operatorname { v e c } ( M ) | \\operatorname { \\bar { v e c } } ( R ) , V \\otimes U )$ , where vec $( \\cdot )$ is the vectorisation operator and $\\otimes$ denotes the Kronecker product. We assume independence between the columns but not the rows of $M$ , by fixing $V$ to be the identity matrix $I _ { C }$ and allow the full degree of freedom for $U$ . Since our experiments suggest the covariance between rows is useful for coordinating memory access, this setting balances simplicity and performance (Fig. 10). ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
173,
|
| 300 |
+
303,
|
| 301 |
+
826,
|
| 302 |
+
416
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "Accompanying $M$ are the addresses $A$ , a $K \\times S$ real-value matrix that is randomly initialised and is optimised through back-propagation. To avoid degeneracy, rows of $A$ are normalised to have L2-norms of 1. The addressing variable $y _ { t }$ is used to compute the weights controlling memory access. As in VAEs, the prior $p _ { \\theta } \\left( y _ { t } \\right)$ is an isotropic Gaussian distribution $\\bar { \\mathcal { N } } ( \\mathbf { 0 } , \\mathbf { 1 } )$ . A learned projection $b _ { t } = f ( y _ { t } )$ then transforms $y _ { t }$ into a $S \\times 1$ key vector. The $K \\times 1$ vector $w _ { t }$ , as weights across the rows of $M$ , is computed via the product: ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
173,
|
| 311 |
+
421,
|
| 312 |
+
825,
|
| 313 |
+
506
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "equation",
|
| 319 |
+
"img_path": "images/7e874f0d2fdaf1a0b6de38e6d17d805b5d21c782efd7bc46af4eb4ad87511de1.jpg",
|
| 320 |
+
"text": "$$\nw _ { t } = b _ { t } \\mathsf { \\bar { r } } \\cdot A = f ( y _ { t } ) \\mathsf { \\bar { r } } \\cdot A\n$$",
|
| 321 |
+
"text_format": "latex",
|
| 322 |
+
"bbox": [
|
| 323 |
+
410,
|
| 324 |
+
511,
|
| 325 |
+
588,
|
| 326 |
+
527
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "The projection $f$ is implemented as a multi-layer perception (MLP), which transforms the distribution of $y _ { t }$ , as well as $w _ { t }$ , to potentially non-Gaussian distributions that may better suit addressing. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
173,
|
| 335 |
+
532,
|
| 336 |
+
825,
|
| 337 |
+
561
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 2
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "The code $z _ { t }$ is a learned representation that generates samples of $x _ { t }$ through the parametrised conditional distribution $p _ { \\theta } \\left( x _ { t } | z _ { t } \\right)$ . This distribution is tied for all $t \\in \\{ 1 \\ldots T \\}$ . Importantly, instead of the isotropic Gaussian prior, $z _ { t }$ has a memory dependent prior: ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
568,
|
| 347 |
+
823,
|
| 348 |
+
609
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 2
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "equation",
|
| 354 |
+
"img_path": "images/466a3367905bc867ab49b109650f77842e148963e179155e7a988a33893d78e9.jpg",
|
| 355 |
+
"text": "$$\np _ { \\theta } ( z _ { t } | y _ { t } , M ) = \\mathcal { N } \\left( z _ { t } \\middle | w _ { t } ^ { \\textsf { T } } \\cdot M , \\sigma ^ { 2 } I _ { C } \\right)\n$$",
|
| 356 |
+
"text_format": "latex",
|
| 357 |
+
"bbox": [
|
| 358 |
+
367,
|
| 359 |
+
613,
|
| 360 |
+
630,
|
| 361 |
+
633
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 2
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "whose mean is a linear combination of memory rows, with the noise covariance matrix fixed as an identity matrix by setting $\\sigma ^ { 2 } = 1$ . This prior results in a much richer marginal distribution, because of its dependence on memory and the addressing variable $y _ { t }$ through $p _ { \\theta } ( z _ { t } | M ) =$ $\\begin{array} { r } { \\int p _ { \\theta } ( z _ { t } | y _ { t } , M ) p _ { \\theta } ( y _ { t } ) \\bar { \\mathrm { d } } y _ { t } } \\end{array}$ . ",
|
| 368 |
+
"bbox": [
|
| 369 |
+
173,
|
| 370 |
+
636,
|
| 371 |
+
825,
|
| 372 |
+
694
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 2
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "In our hierarchical model, $M$ is a global latent variable for an episode that captures statistics of the entire episode (Bartunov & Vetrov, 2016; Edwards & Storkey, 2016), while the local latent variables $y _ { t }$ and $z _ { t }$ capture local statistics for data $x _ { t }$ within an episode. To generate an episode of length $T$ , we first sample $M$ once, then sample $y _ { t } , z _ { t }$ , and $x _ { t }$ sequentially for each of the $T$ samples. ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
173,
|
| 381 |
+
699,
|
| 382 |
+
825,
|
| 383 |
+
756
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 2
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "3.2 THE READING INFERENCE MODEL ",
|
| 390 |
+
"text_level": 1,
|
| 391 |
+
"bbox": [
|
| 392 |
+
174,
|
| 393 |
+
761,
|
| 394 |
+
449,
|
| 395 |
+
775
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "As illustrated in Fig. 1 (central), the approximated posterior distribution is factorised using the conditional independence: ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
173,
|
| 404 |
+
780,
|
| 405 |
+
825,
|
| 406 |
+
809
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 2
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "equation",
|
| 412 |
+
"img_path": "images/0aaedb1ac88e357b1524ce85e963ffc58112e1b88a574bd6eb4a3a325cbb4aab.jpg",
|
| 413 |
+
"text": "$$\nq _ { \\phi } \\left( Y , Z | X , M \\right) = \\prod _ { t = 1 } ^ { T } q _ { \\phi } \\left( y _ { t } , z _ { t } | x _ { t } , M \\right) = \\prod _ { t = 1 } ^ { T } q _ { \\phi } \\left( z _ { t } | x _ { t } , y _ { t } , M \\right) q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)\n$$",
|
| 414 |
+
"text_format": "latex",
|
| 415 |
+
"bbox": [
|
| 416 |
+
254,
|
| 417 |
+
813,
|
| 418 |
+
743,
|
| 419 |
+
856
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 2
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "where $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ is a parameterised approximate posterior distribution. The posterior distribution $q _ { \\phi } \\left( z _ { t } | x _ { t } , y _ { t } , M \\right)$ refines the (conditional) prior distribution $p _ { \\theta } ( z _ { t } | y _ { t } , M )$ with additional evidence from $x _ { t }$ . This parameterised posterior takes the concatenation of $x _ { t }$ and the mean of $p _ { \\theta } ( z _ { t } | y _ { t } , M )$ (eq. 6) as input. The constant variance of $p _ { \\theta } ( z _ { t } | y _ { t } , M )$ is omitted. Similar to the generative model, $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ is shared for all $t \\in \\{ 1 \\ldots T \\}$ . ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
173,
|
| 428 |
+
859,
|
| 429 |
+
825,
|
| 430 |
+
933
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 2
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "3.3 THE WRITING INFERENCE MODEL ",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
176,
|
| 440 |
+
103,
|
| 441 |
+
449,
|
| 442 |
+
117
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "A central difficulty in updating memory is the trade-off between preserving old information and writing new information. It is well known that this trade-off can be balanced optimally through Bayes’ rule MacKay (2003). From the generative model perspective (eq. 2), it is natural to interpret memory writing as inference — computing the posterior distribution of memory $p ( M | X )$ . This section considers both batch inference — directly computing $p ( M | X )$ and on-line inference — sequentially accumulating evidence from $x _ { 1 } , \\ldots , x _ { T }$ . ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
173,
|
| 451 |
+
122,
|
| 452 |
+
826,
|
| 453 |
+
207
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "Following Fig. 1 (right), the approximated posterior distribution of memory can be written as ",
|
| 460 |
+
"bbox": [
|
| 461 |
+
168,
|
| 462 |
+
213,
|
| 463 |
+
782,
|
| 464 |
+
228
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "equation",
|
| 470 |
+
"img_path": "images/cc53207f93335ebe9b75a1715b1ee507c54b5012ae32303a156157c4a1710305.jpg",
|
| 471 |
+
"text": "$$\n\\begin{array} { l } { q _ { \\phi } \\left( M | X \\right) = \\displaystyle \\int p _ { \\theta } \\left( M , Y , Z | X \\right) \\mathrm { d } Z \\mathrm { d } Y } \\\\ { \\displaystyle \\qquad = \\int p _ { \\theta } ( M | \\{ y _ { 1 } , \\dots , y _ { T } \\} , \\{ z _ { 1 } , \\dots , z _ { T } \\} ) \\prod _ { t = 1 } ^ { T } q _ { \\phi } ( z _ { t } | x _ { t } ) q _ { \\phi } ( y _ { t } | x _ { t } ) \\mathrm { d } z _ { t } \\mathrm { d } y _ { t } } \\\\ { \\displaystyle \\qquad \\approx p _ { \\theta } \\left( M | \\{ y _ { 1 } , \\dots , y _ { T } \\} , \\{ z _ { 1 } , \\dots , z _ { T } \\} \\right) \\Big | _ { y _ { t } \\sim q _ { \\phi } ( y _ { t } | x _ { t } ) , z _ { t } \\sim q _ { \\phi } ( z _ { t } | x _ { t } ) } } \\end{array}\n$$",
|
| 472 |
+
"text_format": "latex",
|
| 473 |
+
"bbox": [
|
| 474 |
+
227,
|
| 475 |
+
232,
|
| 476 |
+
769,
|
| 477 |
+
342
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "The last line uses one sample of $y _ { t } , \\ x _ { t }$ to approximate the intractable integral. The posterior of the addressing variable $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ is the same as in section 3.2, and the posterior of code $q _ { \\phi } \\left( z _ { t } | x _ { t } \\right)$ is a parameterised distribution. We use the short-hand $p _ { \\theta }$ $_ { 9 } \\left( M | Y , Z \\right)$ for $p _ { \\theta } \\left( M | \\{ y _ { 1 } , \\dots , y _ { T } \\} , \\{ z _ { 1 } , \\dots , z _ { T } \\} \\right)$ when $Y , Z$ are sampled as described here. We abuse notation in this section and use $Z =$ $\\big ( z _ { 1 } { \\boldsymbol { \\mathsf { \\mathsf { \\mathsf { \\Pi } } } } } ; \\qquad \\ldots , ; z _ { T } { \\boldsymbol { \\mathsf { \\mathsf { \\mathsf { \\Pi } } } } } ^ { \\mathsf { \\mathsf { \\mathsf { \\mathsf { \\mathsf { \\mathsf { \\mathsf { \\Pi } } } } } } } } \\big )$ as a $T \\times C$ matrix with all the observations in an episode, and $W = ( w _ { 1 } \\mathsf { \\bar { r } } ; \\dots ; w _ { T } \\mathsf { \\bar { r } } )$ as a $T \\times K$ matrix with all corresponding weights for addressing. ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
173,
|
| 486 |
+
344,
|
| 487 |
+
826,
|
| 488 |
+
429
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Given the linear Gaussian model (eq. 6), the posterior of memory $p _ { \\theta } \\left( M | Y , Z \\right)$ is analytically tractable, and its parameters $R$ and $U$ can be updated as follows: ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
174,
|
| 497 |
+
435,
|
| 498 |
+
823,
|
| 499 |
+
464
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "equation",
|
| 505 |
+
"img_path": "images/5ef5fad91374e6f8c3f4207e21c4f0c91d639aa2d29bd5c9be10f36b5af1b695.jpg",
|
| 506 |
+
"text": "$$\n\\begin{array} { r l r l } & { \\Delta Z - W R } \\\\ & { \\Sigma _ { c } W U } \\\\ & { R R + \\Sigma _ { c } \\mathbf { \\bar { T } } \\Sigma _ { z } ^ { - 1 } \\Delta } & & { U U - \\Sigma _ { c } \\mathbf { \\bar { T } } \\Sigma _ { z } ^ { - 1 } \\Sigma _ { c } } \\end{array}\n$$",
|
| 507 |
+
"text_format": "latex",
|
| 508 |
+
"bbox": [
|
| 509 |
+
253,
|
| 510 |
+
468,
|
| 511 |
+
746,
|
| 512 |
+
526
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 3
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "where $\\Delta$ is the prediction error before updating the memory, $\\Sigma _ { c }$ is a $T \\times K$ matrix providing the cross-covariance between $Z$ and $M$ , $\\Sigma _ { \\xi }$ is a $T \\times T$ diagonal matrix whose diagonal elements are the noise variance $\\sigma ^ { 2 }$ and $\\Sigma _ { z }$ is a $T \\times T$ matrix that encodes the covariance for $z _ { 1 } , \\dots , z _ { T }$ . This update rule is derived from applying Bayes’ rule to the linear Gaussian model (Appendix E). The prior parameters of $p ( M )$ , $R _ { 0 }$ and $U _ { 0 }$ are trained through back-propagation. Therefore, the prior of $M$ can learn the general structure of the entire dataset, while the posterior is left to adapt to features presented in a subset of data observed within a given episode. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
173,
|
| 521 |
+
530,
|
| 522 |
+
825,
|
| 523 |
+
628
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 3
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "The main cost of the update rule comes from inverting $\\Sigma _ { z }$ , which has a complexity of $\\mathcal { O } ( T ^ { 3 } )$ . One may reduce the per-step cost via on-line updating, by performing the update rule using one sample at a time — when $X = x _ { t }$ , $\\Sigma _ { z }$ is a scalar which can be inverted trivially. According to Bayes’ rule, updating using the entire episode at once is equivalent to performing the one-sample/on-line update iteratively for all observations in the episode. Similarly, one can perform intermediate updates using mini-batch with size between 1 and $T$ . ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
635,
|
| 533 |
+
825,
|
| 534 |
+
719
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 3
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "Another major cost in the update rule is the storage and multiplication of the memory’s row-covariance matrix $U$ , with the complexity of $\\mathcal { O } ( K ^ { 2 } )$ . Although restricting this covariance to diagonal can reduce this cost to $\\mathcal O ( K )$ , our experiments suggested this covariance is useful for coordinating memory accessing (Fig. 10). Moreover, the cost of $\\mathcal { O } ( K ^ { 2 } )$ is usually small, since parameters of the model are dominated by the encoder and decoder. Nevertheless, a future direction is to investigating low-rank approximation of $U$ that better balance cost and performance. ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
173,
|
| 543 |
+
726,
|
| 544 |
+
825,
|
| 545 |
+
810
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "3.4 TRAINING ",
|
| 552 |
+
"text_level": 1,
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
815,
|
| 556 |
+
287,
|
| 557 |
+
830
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 3
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "To train this model, we optimise a variational lower-bound of the conditional likelihood $J$ (eq. 2), which can be derived in a fashion similar to standard VAEs: ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
834,
|
| 567 |
+
823,
|
| 568 |
+
863
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 3
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "equation",
|
| 574 |
+
"img_path": "images/bb39ef57bb032c8e116360c926730df23429c0b3720a030ef78343d5a7619892.jpg",
|
| 575 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\mathcal { L } = \\mathbb { E } _ { q _ { \\phi } ( M | X ) p ( X ) } \\sum _ { t = 1 } ^ { T } \\left\\{ \\mathbb { E } _ { q _ { \\phi } ( y _ { t } , z _ { t } | x _ { t } , M ) } \\left[ \\ln p _ { \\theta } \\left( x _ { t } | z _ { t } \\right) \\right] \\right. } \\\\ { \\displaystyle \\left. - \\mathrm { D } _ { \\mathrm { K L } } \\left( q _ { \\phi } \\left( y _ { t } | x _ { t } \\right) \\| p _ { \\theta } \\left( y _ { t } \\right) \\right) - \\mathrm { D } _ { \\mathrm { K L } } \\left( q _ { \\phi } \\left( z _ { t } | x _ { t } , y _ { t } , M \\right) \\| p _ { \\theta } \\left( z _ { t } | y _ { t } , M \\right) \\right) \\right\\} } \\end{array}\n$$",
|
| 576 |
+
"text_format": "latex",
|
| 577 |
+
"bbox": [
|
| 578 |
+
256,
|
| 579 |
+
866,
|
| 580 |
+
741,
|
| 581 |
+
931
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 3
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "To maximise this lower bound, we sample $y _ { t } , z _ { t }$ from $q _ { \\phi } \\left( y _ { t } , z _ { t } | x _ { t } , M \\right)$ to approximate the inner expectation. For computational efficiency, we use a mean-field approximation for the memory — using the mean $R$ in the place of memory samples (since directly sampling $M$ requires expensive Cholesky decomposition of the non-diagonal matrix $U$ ). Alternatively, we can further exploit the analytical tractability of the Gaussian distribution to obtain distribution-based reading and writing operations (Appendix F). ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
103,
|
| 591 |
+
825,
|
| 592 |
+
188
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Inside the bracket, the first term is the usual VAE reconstruction error. The first KL-divergence penalises complex addresses, and the second term penalises deviation of the code $z _ { t }$ from the memory-based prior. In this way, the memory learns useful representations that do not rely on complex addresses, and the bottom-up evidence only corrects top-down memory reading when necessary. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
174,
|
| 601 |
+
194,
|
| 602 |
+
825,
|
| 603 |
+
263
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "3.5 ITERATIVE SAMPLING ",
|
| 610 |
+
"text_level": 1,
|
| 611 |
+
"bbox": [
|
| 612 |
+
174,
|
| 613 |
+
270,
|
| 614 |
+
369,
|
| 615 |
+
284
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 4
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "An important feature of Kanerva’s sparse distributed memory is its iterative reading mechanism, by which output from the model is fed back as input for several iterations. Kanerva proved that the dynamics of iterative reading will decrease errors when the initial error is within a generous range, converging to a stored memory (Kanerva, 1988). A similar iterative process is also available in our model, by repeatedly feeding-back the reconstruction $\\hat { x } _ { t }$ . This Gibbs-like sampling follows the loop in Fig. 1 (central). While we cannot prove convergence, in our experiments iterative reading reliably improves denoising and sampling. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
174,
|
| 624 |
+
289,
|
| 625 |
+
825,
|
| 626 |
+
386
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 4
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "To understand this process, notice that knowledge about memory is helpful in reading, which suggests using $q _ { \\phi } \\left( y _ { t } | x _ { t } , M \\right)$ instead of $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ for addressing (section 3.2). Unfortunately, training a parameterised model with the whole matrix $M$ as input can be prohibitively costly. Nevertheless, it is well-known in the coding literature that such intractable posteriors that usually arise in non-tree graphs (as in Fig. 1) can be approximated efficiently by loopy belief-propagation, as has been used in algorithms like Turbo coding (Frey & MacKay, 1998). Similarly, we believe iterative reading works in our model because $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ models the local coupling between $x _ { t }$ and $y _ { t }$ well enough, so iterative sampling with the rest of the model is likely to converge to the true posterior $q _ { \\phi } \\left( y _ { t } | x _ { t } , M \\right)$ Future research will seek to better understand this process. ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
174,
|
| 635 |
+
392,
|
| 636 |
+
825,
|
| 637 |
+
518
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 4
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "text",
|
| 643 |
+
"text": "4 EXPERIMENTS ",
|
| 644 |
+
"text_level": 1,
|
| 645 |
+
"bbox": [
|
| 646 |
+
174,
|
| 647 |
+
527,
|
| 648 |
+
326,
|
| 649 |
+
542
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 4
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "Details of our model implementation are described in Appendix C. We use straightforward encoder and decoder models in order to focus on evaluating the improvements provided by an adaptive memory. In particular, we use the same model architecture for all experiments with both Omniglot and CIFAR dataset, changing only the the number of filters in the convolutional layers, memory size, and code size. We always use the on-line version of the update rule (section 3.3). The Adam optimiser was used for all training and required minimal tuning for our model (Kingma & Ba, 2014). In all experiments, we report the value of variational lower bound (eq. 12) $L$ divided by the length of episode $T$ , so the per-sample value can be compared with the likelihood from existing models. ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
550,
|
| 659 |
+
825,
|
| 660 |
+
662
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 4
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "We first used the Omniglot dataset to test our model. This dataset contains images of hand-written characters with 1623 different classes and 20 examples in each class (Lake et al., 2015). This large variation creates challenges for models trying to capture the entire complex distribution. We use a $6 4 \\times 1 0 0$ memory $M$ , and a smaller $6 4 \\times 5 0$ address matrix $A$ . For simplicity, we always randomly sample 32 images from the entire training set to form an “episode”, and ignore the class labels. This represents a worst case scenario since the images in an episode will tend to have relatively little redundant information for compression. We use a mini-batch size of 16, and optimise the variational lower-bound (eq. 12) using Adam with learning rate $1 \\times 1 0 ^ { - 4 }$ . ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
174,
|
| 669 |
+
669,
|
| 670 |
+
825,
|
| 671 |
+
781
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 4
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "We also tested our model with the CIFAR dataset, in which each $3 2 \\times 3 2 \\times 3$ real-valued colour image contains much more information than a binary omniglot pattern. Again, we discard all the label information and test our model in the unsupervised setting. To accommodate the increased complexity of CIFAR, we use convolutional coders with 32 features at each layer, use a code size of 200, and a $1 2 8 \\times 2 0 0$ memory with $1 2 8 \\times 5 0$ address matrix. All other settings are identical to experiments with Omniglot. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
786,
|
| 681 |
+
825,
|
| 682 |
+
871
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 4
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "4.1 COMPARISON WITH VAES ",
|
| 689 |
+
"text_level": 1,
|
| 690 |
+
"bbox": [
|
| 691 |
+
176,
|
| 692 |
+
877,
|
| 693 |
+
397,
|
| 694 |
+
891
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 4
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "We first use the $2 8 \\times 2 8$ binary Omniglot from Burda et al. (2015) and follow the same split of 24,345 training and 8,070 test examples. We first compare the training process of our model with a baseline ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
174,
|
| 703 |
+
895,
|
| 704 |
+
821,
|
| 705 |
+
924
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 4
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "VAE model using the exact same encoder and decoder. Note that there is only a modest increase of parameters in the Kanerva Machine compared the VAE since the encoder and decoder dominates the model parameters. ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
176,
|
| 714 |
+
103,
|
| 715 |
+
825,
|
| 716 |
+
146
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "image",
|
| 722 |
+
"img_path": "images/a7640fe61542670684263b9ea7459e9848a00156fc88073eea9cda8eaad6a189.jpg",
|
| 723 |
+
"image_caption": [
|
| 724 |
+
"Figure 2: The negative variational lower bound (left), reconstruction loss (central), and KL-Divergence (right) during learning. The dip in the KL-divergence suggests that our model has learned to use the memory. "
|
| 725 |
+
],
|
| 726 |
+
"image_footnote": [],
|
| 727 |
+
"bbox": [
|
| 728 |
+
186,
|
| 729 |
+
161,
|
| 730 |
+
810,
|
| 731 |
+
273
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 5
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "Fig. 2 shows learning curves for our model along with those for the VAE trained on the Omniglot dataset. We plot 4 randomly initialised instances for each model. The training is stable and insensitive to initialisation. Fig. 2 (left) shows that our model reached a significantly lower negative variational lower-bound versus the VAE. Fig. 2 (central) and (right) further shows that the Kanerva Machine achieved better reconstruction and KL-divergence. In particular, the KL-divergence of our model “dips” sharply from about the 2000th step, implying our model learned to use the memory to induce a more informative prior. Fig. 11 confirms this: the KL-divergence for $z _ { t }$ has collapsed to near zero, showing that the top-down prior from memory $q _ { \\phi } \\left( z _ { t } | y _ { t } , M \\right)$ provides most of the information for the code. This rich prior is achieved at the cost of an additional KL-divergence for $y _ { t }$ (Fig. 11, right) which is still much lower than the KL-divergence for $z _ { t }$ in a VAE. Similar training curves are observed for CIFAR training (Fig. 12). Gemici et al. (2017) also observed such KL-divergence dips with a memory model. They report that the reduction in KL-divergence, rather than the reduction in reconstruction loss, was particularly important for improving sample quality, which we also observed in our experiments with Omniglot and CIFAR. ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
173,
|
| 740 |
+
348,
|
| 741 |
+
825,
|
| 742 |
+
542
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 5
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "At the end of training, our VAE reached a negative log-likelihood (NLL) of $\\leq 1 1 2 . 7$ (the lower-bound of likelihood), which is worse than the state-of-the-art unconditioned generation that is achieved by rolling out 80 steps of a DRAW model (NLL of 95.5, Rezende et al., 2016), but comparable to results with IWAE training (NLL of 103.4, Burda et al., 2015). In contrast, with the same encoder and decoders, the Kanerva Machine achieve conditional NLL of 68.3. It is not fair to directly compare our results with unconditional generative models since our model has the advantage of its memory contents. Nevertheless, the dramatic improvement of NLL demonstrates the power of incorporating an adaptive memory into generative models. Fig. 3 (left) shows examples of reconstruction at the end of training; as a signature of our model, the weights were well distributed over the memory, illustrating that patterns written into the memory were superimposed on others. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
549,
|
| 752 |
+
825,
|
| 753 |
+
689
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 5
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "image",
|
| 759 |
+
"img_path": "images/1ba4e39eebfe9297d7e79c43b7a5f9b9ac9a4508dfe5cb6a919bf8403823a287.jpg",
|
| 760 |
+
"image_caption": [
|
| 761 |
+
"Figure 3: Left: reconstruction of inputs and the weights used in reconstruction, where each bin represents the weight over one memory slot. Weights are widely distributed across memory slots. Right: denoising through iterative reading. In each panel: the first column shows the original pattern, the second column (in boxes) shows the corrupted pattern, and the following columns show the reconstruction after 1, 2 and 3 iterations. "
|
| 762 |
+
],
|
| 763 |
+
"image_footnote": [],
|
| 764 |
+
"bbox": [
|
| 765 |
+
181,
|
| 766 |
+
699,
|
| 767 |
+
818,
|
| 768 |
+
779
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 5
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "4.2 ONE-SHOT GENERATION ",
|
| 775 |
+
"text_level": 1,
|
| 776 |
+
"bbox": [
|
| 777 |
+
174,
|
| 778 |
+
877,
|
| 779 |
+
385,
|
| 780 |
+
890
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 5
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "We generalise “one-shot” generation from a single image (Rezende et al., 2016), or a few sample images from a limited set of classes (Edwards & Storkey, 2016; Bartunov & Vetrov, 2016), to a batch of images with many classes and samples. To better illustrate how samples are shaped by the conditioning data, in this section we use the same trained models, but test them using episodes with samples from only 2, 4 or 12 classes (omniglot characters)2. Fig. 4 compares samples from the VAE and the Kanerva Machine. While initial samples from our model (left most columns) are visually about as good as those from the VAE, the sample quality improved in consecutive iterations and the final samples clearly reflects the statistics of the conditioning patterns. Most samples did not change much after the 6th iteration, suggesting the iterative sampling had converged. Similar conditional samples from CIFAR are shown in Fig. 5. Notice that this approach, however, does not apply to VAEs, since VAEs do not have the structure we discussed in section 3.5. This is illustrated in Figure 8 by feeding back output from VAEs as input to the next iteration, which shows the sample quality did not improve after iterations. ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
174,
|
| 789 |
+
895,
|
| 790 |
+
825,
|
| 791 |
+
924
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 5
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "",
|
| 798 |
+
"bbox": [
|
| 799 |
+
173,
|
| 800 |
+
103,
|
| 801 |
+
825,
|
| 802 |
+
256
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 6
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "image",
|
| 808 |
+
"img_path": "images/e956a39900751590a52da07813b359778c839a9848a67753f95a0e3e838470d7.jpg",
|
| 809 |
+
"image_caption": [
|
| 810 |
+
"Figure 4: One-shot generation given a batch of examples. The first panel shows reference samples from the matched VAE. Samples from our model conditioned on 12 random examples from the specified number of classes. Conditioning examples are shown above the samples. The 5 columns show samples after 0, 2, 4, 6, and 8 iterations. "
|
| 811 |
+
],
|
| 812 |
+
"image_footnote": [],
|
| 813 |
+
"bbox": [
|
| 814 |
+
272,
|
| 815 |
+
267,
|
| 816 |
+
727,
|
| 817 |
+
469
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 6
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "image",
|
| 823 |
+
"img_path": "images/65614c70c89ba0071ffe40253ff93802c1baafbec3ead3791d79d1fe42d14f93.jpg",
|
| 824 |
+
"image_caption": [
|
| 825 |
+
"Figure 5: Comparison of samples from CIFAR. The 24 conditioning images (top-right) are randomly sampled from the entire CIFAR dataset, so they contains a mix of many classes. Samples from the matched VAE are blurred and lack meaningful local structure. On the other hand, samples from the Kanerva Machine have clear local structures, despite using the same encoder and decoder as the VAE. The 5 columns show samples after 0, 2, 4, 6, and 8 iterations. "
|
| 826 |
+
],
|
| 827 |
+
"image_footnote": [],
|
| 828 |
+
"bbox": [
|
| 829 |
+
191,
|
| 830 |
+
568,
|
| 831 |
+
808,
|
| 832 |
+
707
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 6
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "4.3 DENOISING AND INTERPOLATION ",
|
| 839 |
+
"text_level": 1,
|
| 840 |
+
"bbox": [
|
| 841 |
+
176,
|
| 842 |
+
813,
|
| 843 |
+
444,
|
| 844 |
+
827
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 6
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "To further examine generalisation, we input images corrupted by randomly positioned $1 2 \\times 1 2$ blocks, and tested whether our model can recover the original image through iterative reading. Our model was not trained on this task, but Fig. 3 (right) shows that, over several iterations, input images can be recovered. Due to high ambiguity, some cases (e.g., the second and last) ended up producing incorrect but still reasonable patterns. ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
832,
|
| 854 |
+
825,
|
| 855 |
+
873
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 6
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "",
|
| 862 |
+
"bbox": [
|
| 863 |
+
173,
|
| 864 |
+
103,
|
| 865 |
+
823,
|
| 866 |
+
132
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 7
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "The structure of our model affords interpretability of internal representations in memory. Since representations of data $x$ are obtained from a linear combination of memory slots (eq. 6), we expect linear interpolations between address weights to be meaningful. We examined interpolations by computing 2 weight vectors from two random input images, and then linearly interpolating between these two vectors. These vectors were then used to read $z _ { t }$ from memory (eq. 6), which is then decoded to produce the interpolated images. Fig. 7 in Appendix A shows that interpolating between these access weights indeed produces meaningful and smoothly changing images. ",
|
| 873 |
+
"bbox": [
|
| 874 |
+
174,
|
| 875 |
+
138,
|
| 876 |
+
825,
|
| 877 |
+
236
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 7
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "image",
|
| 883 |
+
"img_path": "images/d444b6eb0da9213ad80d81e1e5b94a53b4173d3cd1c3c084b68c6a1618ac343d.jpg",
|
| 884 |
+
"image_caption": [
|
| 885 |
+
"4.4 COMPARISON WITH DIFFERENTIABLE NEURAL COMPUTERS ",
|
| 886 |
+
"Figure 6: Left: the training curves of DNC and Kanerva machine both shows 6 instances with the best hyperparameter configuration for each model found via grid search. DNCs were more sensitive to random initilisation, slower, and plateaued with larger error. Right: the test variational lower-bounds of a DNC (dashed lines) and a Kanerva Machine as a function of different episode sizes and different sample classes. "
|
| 887 |
+
],
|
| 888 |
+
"image_footnote": [],
|
| 889 |
+
"bbox": [
|
| 890 |
+
236,
|
| 891 |
+
268,
|
| 892 |
+
758,
|
| 893 |
+
424
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 7
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "This section compares our model with the Differentiable Neural Computer (DNC, Graves et al., 2016), and a variant of it, the Least Recently Used Architecture (LRUA, Santoro et al., 2016). We test these using the same episode storage and retrieval task as in previous experiments with Omniglot data. For a fair comparison, we fit the DNC models into the same framework, as detailed in Appendix D. Fig. 6 (left) illustrates the process of training the DNC and the Kanerva Machine. The LRUA did not passed the loss level of 150, so we did not include it in the figure. The DNC reached a test loss close to 100, but was very sensitive to hyper-parameters and random initialisation: only 2 out of 6 instances with the best hyper-parameter configuration (batch size $= 1 6$ , learning rate= ${ \\dot { 3 } } \\times 1 0 ^ { - 4 }$ ) found by grid search reached this level. On the other hand, the Kanerva Machine was robust to these hyper-parameters, and worked well with batch sizes between 8 and 64, and learning rates between $3 \\times 1 0 ^ { - 5 }$ and $3 \\times 1 0 ^ { - 4 }$ . The Kanerva Machine trained fastest with batch size 16 and learning rate $1 \\times 1 0 ^ { - 4 }$ and eventually converged below 70 test loss with all tested configurations. Therefore, the Kanerva Machine is significantly easier to train, thanks to principled reading and writing operations that do not depend on any model parameter. ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
173,
|
| 902 |
+
534,
|
| 903 |
+
825,
|
| 904 |
+
728
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 7
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "We next analysed the capacity of our model versus the DNC by examining the lower bound of then likelihood when storing and then retrieving patterns from increasingly large episodes. As above, these models are still trained with episodes containing 32 samples, but are tested on much larger episodes. We tested our model with episodes containing different numbers of classes and thus varying amounts of redundancy. Fig. 6 (right) shows both models are able to exploit this redundancy, since episodes with fewer classes (but the same number of images) have lower reconstruction losses. Overall, the Kanerva Machine generalises well to larger episodes, and maintained a clear advantage over the DNC (as measured by the variational lower-bound). ",
|
| 911 |
+
"bbox": [
|
| 912 |
+
174,
|
| 913 |
+
734,
|
| 914 |
+
825,
|
| 915 |
+
847
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 7
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "5 DISCUSSION ",
|
| 922 |
+
"text_level": 1,
|
| 923 |
+
"bbox": [
|
| 924 |
+
174,
|
| 925 |
+
857,
|
| 926 |
+
312,
|
| 927 |
+
873
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 7
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "In this paper, we present the Kanerva Machine, a novel memory model that combines slow-learning neural networks and a fast-adapting linear Gaussian model as memory. While our architecture is inspired by Kanerva’s seminal model, we have removed the assumption of a uniform data distribution by training a generative model that flexibly learns the observed data distribution. By implementing memory as a generative model, we can retrieve unseen patterns from the memory through sampling. This phenomenon is consistent with the observation of constructive memory neuroscience experiments (Hassabis et al., 2007). ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
176,
|
| 936 |
+
882,
|
| 937 |
+
823,
|
| 938 |
+
924
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 7
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "",
|
| 945 |
+
"bbox": [
|
| 946 |
+
174,
|
| 947 |
+
103,
|
| 948 |
+
825,
|
| 949 |
+
159
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 8
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Probabilistic interpretations of Kanerva’s model have been developed in previous works: Anderson (1989) explored a conditional probability interpretation of Kanerva’s sparse distributed memory, and generalised binary data to discrete data with more than two values. Abbott et al. (2013) provides an approximate Bayesian interpretation based on importance sampling. To our knowledge, our model is the first to generalise Kanerva’s memory model to continuous, non-uniform data while maintaining an analytic form of Bayesian inference. Moreover, we demonstrate its potential in modern machine learning through integration with deep neural networks. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
174,
|
| 958 |
+
166,
|
| 959 |
+
825,
|
| 960 |
+
263
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "Other models have combined memory mechanisms with neural networks in a generative setting. For example, Li et al. (2016) used attention to retrieve information from a set of trainable parameters in a memory matrix. Notably, the memory in this model is not updated following learning. As a result, the memory does not quickly adapt to new data as in our model, and so is not suited to the kind of episode-based learning explored here. Bornschein et al. (2017) used discrete (categorical) random variables to address an external memory, and train the addressing mechanism, together with the rest of the generative model, though a variational objective. However, the memory in their model is populated by storing images in the form of raw pixels. Although this provides a mechanism for fast adaptation, the cost of storing raw pixels may be overwhelming for large data sets. Our model learns to to store information in a compressed form by taking advantage of statistical regularity in the images via the encoder at the perceptual level, the learned addresses, and Bayes’ rule for memory updates. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
174,
|
| 969 |
+
271,
|
| 970 |
+
825,
|
| 971 |
+
438
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Central to an effective memory model is the efficient updating of memory. While various approaches to learning such updating mechanisms have been examined recently (Graves et al., 2016; Edwards & Storkey, 2016; Santoro et al., 2016), we designed our model to employ an exact Bayes’ update-rule without compromising the flexibility and expressive power of neural networks. The compelling performance of our model and its scalable architecture suggests combining classical statistical models and neural networks may be a promising direction for novel memory models in machine learning. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
174,
|
| 980 |
+
444,
|
| 981 |
+
825,
|
| 982 |
+
527
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 989 |
+
"text_level": 1,
|
| 990 |
+
"bbox": [
|
| 991 |
+
176,
|
| 992 |
+
545,
|
| 993 |
+
326,
|
| 994 |
+
558
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 8
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "We would like to thank Sergey Bartunov, Charles Blundell, Jörg Bornschein, Karol Gregor, Shakir Mohamed, and Benigno Uria for helpful discussions, and to thank Dillon Graham and Jascha Sohl-Dickstein for pointing out mistakes in earlier manuscripts. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
176,
|
| 1003 |
+
568,
|
| 1004 |
+
825,
|
| 1005 |
+
609
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 8
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "REFERENCES ",
|
| 1012 |
+
"text_level": 1,
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
176,
|
| 1015 |
+
631,
|
| 1016 |
+
285,
|
| 1017 |
+
646
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 8
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "Joshua T Abbott, Jessica B Hamrick, Thomas L Griffiths, et al. Approximating bayesian inference with a sparse distributed memory system. In Proceedings of the 35th annual conference of the cognitive science society, pp. 1686–1691, 2013. \nDavid H Ackley, Geoffrey E Hinton, and Terrence J Sejnowski. A learning algorithm for boltzmann machines. Cognitive science, 9(1):147–169, 1985. \nDavid J Aldous. Exchangeability and related topics. In École d’Été de Probabilités de Saint-Flour XIII—1983, pp. 1–198. Springer, 1985. \nCharles H Anderson. A conditional probability interpretation of kanerva’s sparse distributed memory. Jet Propulsion, 1000:23–100, 1989. \nSergey Bartunov and Dmitry P Vetrov. Fast adaptation in generative models with generative matching networks. arXiv preprint arXiv:1612.02192, 2016. \nJörg Bornschein, Andriy Mnih, Daniel Zoran, and Danilo J Rezende. Variational memory addressing in generative models. arXiv preprint arXiv:1709.07116, 2017. \nYuri Burda, Roger Grosse, and Ruslan Salakhutdinov. Importance weighted autoencoders. arXiv preprint arXiv:1509.00519, 2015. ",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
171,
|
| 1026 |
+
654,
|
| 1027 |
+
826,
|
| 1028 |
+
925
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 8
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "Harrison Edwards and Amos Storkey. Towards a neural statistician. arXiv preprint arXiv:1606.02185, 2016. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
171,
|
| 1037 |
+
103,
|
| 1038 |
+
825,
|
| 1039 |
+
132
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 9
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Brendan J Frey and David JC MacKay. A revolution: Belief propagation in graphs with cycles. In Advances in neural information processing systems, pp. 479–485, 1998. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
171,
|
| 1048 |
+
140,
|
| 1049 |
+
825,
|
| 1050 |
+
169
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 9
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Mevlana Gemici, Chia-Chun Hung, Adam Santoro, Greg Wayne, Shakir Mohamed, Danilo J Rezende, David Amos, and Timothy Lillicrap. Generative temporal models with memory. arXiv preprint arXiv:1702.04649, 2017. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
173,
|
| 1059 |
+
175,
|
| 1060 |
+
823,
|
| 1061 |
+
218
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 9
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Alex Graves, Greg Wayne, Malcolm Reynolds, Tim Harley, Ivo Danihelka, Agnieszka GrabskaBarwinska, Sergio Gómez Colmenarejo, Edward Grefenstette, Tiago Ramalho, John Agapiou, et al. ´ Hybrid computing using a neural network with dynamic external memory. Nature, 538(7626): 471–476, 2016. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
173,
|
| 1070 |
+
224,
|
| 1071 |
+
826,
|
| 1072 |
+
281
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 9
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Arjun K Gupta and Daya K Nagar. Matrix variate distributions, volume 104. CRC Press, 1999. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
173,
|
| 1081 |
+
289,
|
| 1082 |
+
800,
|
| 1083 |
+
305
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 9
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Demis Hassabis, Dharshan Kumaran, Seralynne D Vann, and Eleanor A Maguire. Patients with hippocampal amnesia cannot imagine new experiences. Proceedings of the National Academy of Sciences, 104(5):1726–1731, 2007. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
174,
|
| 1092 |
+
311,
|
| 1093 |
+
826,
|
| 1094 |
+
354
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 9
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
174,
|
| 1103 |
+
361,
|
| 1104 |
+
826,
|
| 1105 |
+
404
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 9
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "John J Hopfield. Neural networks and physical systems with emergent collective computational abilities. Proceedings of the national academy of sciences, 79(8):2554–2558, 1982. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
173,
|
| 1114 |
+
411,
|
| 1115 |
+
825,
|
| 1116 |
+
440
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 9
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "Pentti Kanerva. Sparse distributed memory. MIT press, 1988. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
173,
|
| 1125 |
+
446,
|
| 1126 |
+
581,
|
| 1127 |
+
463
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 9
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
173,
|
| 1136 |
+
469,
|
| 1137 |
+
825,
|
| 1138 |
+
500
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 9
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In Proceedings of the 2nd International Conference on Learning Representations (ICLR), 2013. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
173,
|
| 1147 |
+
506,
|
| 1148 |
+
823,
|
| 1149 |
+
535
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 9
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
173,
|
| 1158 |
+
542,
|
| 1159 |
+
823,
|
| 1160 |
+
571
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 9
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Chongxuan Li, Jun Zhu, and Bo Zhang. Learning to generate with memory. In International Conference on Machine Learning, pp. 1177–1186, 2016. ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
173,
|
| 1169 |
+
579,
|
| 1170 |
+
823,
|
| 1171 |
+
608
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 9
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "David JC MacKay. Information theory, inference and learning algorithms. Cambridge university press, 2003. ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
171,
|
| 1180 |
+
614,
|
| 1181 |
+
823,
|
| 1182 |
+
643
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 9
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "Alexander Pritzel, Benigno Uria, Sriram Srinivasan, Adrià Puigdomènech, Oriol Vinyals, Demis Hassabis, Daan Wierstra, and Charles Blundell. Neural episodic control. arXiv preprint arXiv:1703.01988, 2017. ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
174,
|
| 1191 |
+
651,
|
| 1192 |
+
823,
|
| 1193 |
+
694
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 9
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Danilo J. Rezende, Shakir Mohamed, Ivo Danihelka, Karol Gregor, and Daan Wierstra. One-shot generalization in deep generative models. In Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48, ICML’16, pp. 1521–1529. JMLR.org, 2016. URL http://dl.acm.org/citation.cfm?id=3045390.3045551. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
173,
|
| 1202 |
+
700,
|
| 1203 |
+
825,
|
| 1204 |
+
758
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 9
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In The 31st International Conference on Machine Learning (ICML), 2014. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
176,
|
| 1213 |
+
765,
|
| 1214 |
+
823,
|
| 1215 |
+
808
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 9
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1842–1850, New York, New York, USA, 20–22 Jun 2016. PMLR. ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
173,
|
| 1224 |
+
814,
|
| 1225 |
+
825,
|
| 1226 |
+
885
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 9
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "text",
|
| 1232 |
+
"text": "Oriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016. ",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
173,
|
| 1235 |
+
892,
|
| 1236 |
+
823,
|
| 1237 |
+
921
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 9
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "APPENDIX ",
|
| 1244 |
+
"text_level": 1,
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
174,
|
| 1247 |
+
98,
|
| 1248 |
+
290,
|
| 1249 |
+
118
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 10
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "A EXTRA FIGURES ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
176,
|
| 1258 |
+
140,
|
| 1259 |
+
346,
|
| 1260 |
+
156
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 10
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "image",
|
| 1266 |
+
"img_path": "images/22077009a79474ec7ca55bda0fd3419e40a3d6fd28e079323f3889937664496e.jpg",
|
| 1267 |
+
"image_caption": [
|
| 1268 |
+
"Figure 7: Interpolation for Omniglot and CIFAR images. The first and last column show 2 random images from the data. Between them are linear interpolations in the space of memory accessing weights $w _ { t }$ . "
|
| 1269 |
+
],
|
| 1270 |
+
"image_footnote": [],
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
305,
|
| 1273 |
+
179,
|
| 1274 |
+
692,
|
| 1275 |
+
366
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 10
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "image",
|
| 1281 |
+
"img_path": "images/4486f345fd09442526e3b1f315a205da691f01b1850bb279b0e6e352ae43733a.jpg",
|
| 1282 |
+
"image_caption": [
|
| 1283 |
+
"Figure 8: Iteratively sampled priors from VAE, for both Omniglot (left) and Cifar (right). In both panels, the columns show samples after 0, 2, 4, 6, 8 and 10 iterations, mirroring the procedure producing figure 4 and 5. "
|
| 1284 |
+
],
|
| 1285 |
+
"image_footnote": [],
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
302,
|
| 1288 |
+
454,
|
| 1289 |
+
691,
|
| 1290 |
+
631
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 10
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "B SPARSE DISTRIBUTED MEMORY ",
|
| 1297 |
+
"text_level": 1,
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
176,
|
| 1300 |
+
729,
|
| 1301 |
+
475,
|
| 1302 |
+
746
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 10
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "This section reviews Kanerva’s sparse distributed memory (Kanerva, 1988). For consistency with the rest of this paper, many of the notations are different from Kanerva’s description. In contrast to many recent models, Kanerva’s memory model is characterised by its distributed reading and writing operations. The model has two main components: a fixed table of addresses $A$ pointing to a modifiable memory $M$ . Both $A$ and $M$ have the same size of $K \\times D$ , where $K$ is the number of addresses that and $D$ is the input dimensionality. Kanerva assumes all the inputs are uniform random vectors $\\underline { { y } } \\in \\{ - 1 , 1 \\} ^ { D }$ . Therefore, the fixed addresses $A _ { i }$ are uniformly randomly sampled from $\\{ - 1 , 1 \\} ^ { D }$ to reflect the input statistics. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
174,
|
| 1311 |
+
762,
|
| 1312 |
+
825,
|
| 1313 |
+
875
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 10
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "An input $y$ is compared with each address $A _ { k }$ in $A$ through the Hamming distance. For binary vectors $a , b \\in \\{ - 1 , 1 \\} ^ { D }$ , the Hamming distance can be written as $\\begin{array} { r } { h ( a , b ) = \\frac { 1 } { 2 } ( \\mathbf { \\bar { \\boldsymbol { D } } } - \\boldsymbol { a } \\cdot \\boldsymbol { b } ) } \\end{array}$ where $\\cdot$ represents inner product between two vectors. An address $k$ is selected when the hamming distance between $x$ and $A _ { k }$ is smaller than a threshold $\\tau$ , so the selection can be summarised by the binary weight vector: ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
176,
|
| 1322 |
+
882,
|
| 1323 |
+
823,
|
| 1324 |
+
924
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 10
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
171,
|
| 1333 |
+
103,
|
| 1334 |
+
825,
|
| 1335 |
+
119
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "equation",
|
| 1341 |
+
"img_path": "images/9ad1ee0766e244b75cab8041c6bc770cba9f7c9e55fbec5988f837f3ca4c9a41.jpg",
|
| 1342 |
+
"text": "$$\nw _ { k } = \\left\\{ { \\begin{array} { l l } { 1 , \\quad } & { h ( x , A _ { k } ) \\leqslant \\tau } \\\\ { 0 , } & { \\mathrm { o t h e r w i s e } } \\end{array} } \\right.\n$$",
|
| 1343 |
+
"text_format": "latex",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
392,
|
| 1346 |
+
128,
|
| 1347 |
+
588,
|
| 1348 |
+
164
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "During writing, a pattern $x$ is stored into $M$ by adding $M _ { k } \\gets M _ { k } + w _ { k } x .$ . For reading, the memory contents pointed to by all the selected addresses are summed together to pass a threshold at 0 to produce a read out: ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
176,
|
| 1357 |
+
166,
|
| 1358 |
+
825,
|
| 1359 |
+
207
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 11
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "equation",
|
| 1365 |
+
"img_path": "images/a40a0661b8b0ba140f5822022f867bfe1c3f24895db962c8dc6e645edd9fb93a.jpg",
|
| 1366 |
+
"text": "$$\n\\hat { x } = \\left\\{ \\begin{array} { l l } { 1 , } & { ~ \\sum _ { k = 1 } ^ { K } w _ { k } M _ { k } > 0 } \\\\ { - 1 , } & { ~ \\mathrm { o t h e r w i s e } } \\end{array} \\right.\n$$",
|
| 1367 |
+
"text_format": "latex",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
380,
|
| 1370 |
+
205,
|
| 1371 |
+
598,
|
| 1372 |
+
248
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 11
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "This reading process can be iterated several times by repeatedly feeding-back the output $\\hat { x }$ as input. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
174,
|
| 1381 |
+
250,
|
| 1382 |
+
821,
|
| 1383 |
+
265
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 11
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "It has been shown analytically by Kanerva that when both $K$ and $D$ are large enough, a small portion of the addresses will always be selected, thus the operations are sparse and distributed. Although an address’ content may be over-written many times, the stored vectors can be retrieved correctly. Moreover, Kanerva proved that even a significantly corrupted query can be discovered from the memory through iterative reading. However, the application of Kanerva’s model is restricted by the assumption of a uniform and binary data distribution, on which Kanerva’s analyses and bounds of performance rely (Kanerva, 1988). Unfortunately, this assumption is rarely true in practice, since real-world data typically lie on low-dimensional manifolds, and binary representation of data is less efficient in high-level neural network implementations that are heavily optimised for floating-point numbers. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
174,
|
| 1392 |
+
270,
|
| 1393 |
+
825,
|
| 1394 |
+
410
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 11
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "C MODEL DETAILS ",
|
| 1401 |
+
"text_level": 1,
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
176,
|
| 1404 |
+
430,
|
| 1405 |
+
348,
|
| 1406 |
+
446
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 11
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "Figure 9 shows the architecture of our model compared with a standard VAE. For all experiments, we use a convolutional encoder to convert input images into $2 C$ embedding vectors $e ( \\bar { x } _ { t } )$ , where $C$ is the code size (dimension of $z _ { t }$ ). The convolutional encoder has 3 consecutive blocks, where each block is a convolutional layer with $4 \\times 4$ filter with stride 2, which reduces the input dimension, followed by a basic ResNet block without bottleneck (He et al., 2016). All the convolutional layers have the same number of filters, which is either 16 or 32 depending on the dataset. The output from the blocks is flattened and linearly projected to a $2 C$ dimensional vector. The convolutional decoder mirrors this structure with transposed convolutional layers. All the “MLP” boxes in Fig. 9 are 2-layer multi-layer perceptron with ReLU non-linearity in between. We found that adding noise to the input into $q _ { \\phi } \\left( y _ { t } | x _ { t } \\right)$ helped stabilise training, possibly by restricting the information in the addresses. The exact magnitude of the added noise matters little, and we use Gaussian noise with zero mean and standard deviation of 0.2 for all experiments. We use Bernoulli likelihood function for Omniglot dataset, and Gaussian likelihood function for CIFAR. To avoid Gaussian likelihood collapsing, we added uniform noise $\\textstyle { \\mathcal { U } } ( 0 , { \\frac { 1 } { 2 5 6 } } )$ to CIFAR images during training. ",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
173,
|
| 1415 |
+
462,
|
| 1416 |
+
825,
|
| 1417 |
+
657
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 11
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "D DNC DETAILS ",
|
| 1424 |
+
"text_level": 1,
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
176,
|
| 1427 |
+
676,
|
| 1428 |
+
330,
|
| 1429 |
+
693
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 11
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "For a fair comparison, we wrap the differentiable neural computer (DNC) with the same interface as the Kanerva memory so that it can simply replace the memory $M$ in Fig. 9. More specifically, the DNC receives the addressing variable $y _ { t }$ with the same size and sampled the same ways as described in the main text in reading and writing stages. During writing it also receives $z _ { t }$ sampled from $q _ { \\phi } \\left( z _ { t } | x _ { t } \\right)$ as input, by concatenating $y _ { t }$ and $z _ { t }$ together as input into the memory controller. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
174,
|
| 1438 |
+
708,
|
| 1439 |
+
823,
|
| 1440 |
+
779
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 11
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "Since DNCs do not have separated reading and writing stages, we separated this two process in our experiments: during writing, we discard the read-out from the DNC, and only keep its state as the memory; during reading, we discard the state at each step so it cannot be used for storing new information. In addition, we use a 2-layer MLP with 200 hidden neurons and ReLU nonlinearity as the controller instead of the commonly used LSTM to avoid the recurrent state being used as memory and interference with DNC’s external memory. Another issue with off-the-shelf DNC (Graves et al., 2016; Santoro et al., 2016) is that controllers may generate output bypassing the memory, which can be particularly confusing in our auto-encoding setting by simply ignoring the memory and functioning as a skip connection. We avoid this situation by removing this controller output and ensure that the DNC only reads-out from its memory. Further, to focus on the memory performance, we remove ",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
174,
|
| 1449 |
+
785,
|
| 1450 |
+
825,
|
| 1451 |
+
924
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 11
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "VAE ",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
183,
|
| 1460 |
+
104,
|
| 1461 |
+
209,
|
| 1462 |
+
116
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 12
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "image",
|
| 1468 |
+
"img_path": "images/81e4bc84470fadba151690e5e38dee018f2c8fb50bd2e946e92aea0a3920f6e9.jpg",
|
| 1469 |
+
"image_caption": [],
|
| 1470 |
+
"image_footnote": [],
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
183,
|
| 1473 |
+
121,
|
| 1474 |
+
818,
|
| 1475 |
+
141
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 12
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "generation reading writing ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
183,
|
| 1484 |
+
154,
|
| 1485 |
+
246,
|
| 1486 |
+
166
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 12
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
183,
|
| 1495 |
+
199,
|
| 1496 |
+
228,
|
| 1497 |
+
210
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 12
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "image",
|
| 1503 |
+
"img_path": "images/a5597b89089504beb9260c48f0db06bf06ae4ff19c24f21ddf1c56e209ba9bd8.jpg",
|
| 1504 |
+
"image_caption": [],
|
| 1505 |
+
"image_footnote": [],
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
186,
|
| 1508 |
+
213,
|
| 1509 |
+
820,
|
| 1510 |
+
263
|
| 1511 |
+
],
|
| 1512 |
+
"page_idx": 12
|
| 1513 |
+
},
|
| 1514 |
+
{
|
| 1515 |
+
"type": "text",
|
| 1516 |
+
"text": "",
|
| 1517 |
+
"bbox": [
|
| 1518 |
+
183,
|
| 1519 |
+
267,
|
| 1520 |
+
223,
|
| 1521 |
+
280
|
| 1522 |
+
],
|
| 1523 |
+
"page_idx": 12
|
| 1524 |
+
},
|
| 1525 |
+
{
|
| 1526 |
+
"type": "image",
|
| 1527 |
+
"img_path": "images/8834844721d58aadb5e2d46850182826b9ae5d6ca40719afe2fe02f28090d8ca.jpg",
|
| 1528 |
+
"image_caption": [
|
| 1529 |
+
"Figure 9: The architecture of the VAE and the Kanerva Machine used in our experiments. conv/deconv: convolutional and transposed convolutions neural networks. MLP: multiplayer perceptron. concat: vector concatenation. The blue arrows show memory writing as exact inference. "
|
| 1530 |
+
],
|
| 1531 |
+
"image_footnote": [],
|
| 1532 |
+
"bbox": [
|
| 1533 |
+
187,
|
| 1534 |
+
281,
|
| 1535 |
+
583,
|
| 1536 |
+
333
|
| 1537 |
+
],
|
| 1538 |
+
"page_idx": 12
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"type": "image",
|
| 1542 |
+
"img_path": "images/6202cd774c86d5dc91647350ecdfad782401061c6c0f80dad2b27e349754aa35.jpg",
|
| 1543 |
+
"image_caption": [
|
| 1544 |
+
"Figure 10: Covariance between memory rows is important. The two curves shows the test loss (negative variational lower bound) as a function of iterations. Four models using full $K \\times K$ covariance matrix $U$ are shown by red curves and four models using diagonal covariance matrix are shown in blue. All other settings for these 8 models are the same (as described in section 4). These 8 models are trained on machines with similar setup. The models using full covariance matrices were slightly slower per-iteration, but the test loss decreased far more quickly. "
|
| 1545 |
+
],
|
| 1546 |
+
"image_footnote": [],
|
| 1547 |
+
"bbox": [
|
| 1548 |
+
338,
|
| 1549 |
+
487,
|
| 1550 |
+
658,
|
| 1551 |
+
671
|
| 1552 |
+
],
|
| 1553 |
+
"page_idx": 12
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"type": "text",
|
| 1557 |
+
"text": "the bottom-up stream in our model that compensates for the memory. This means directly sampling $z _ { t }$ from $p _ { \\theta }$ $\\upsilon _ { \\theta } \\left( z _ { t } | \\boldsymbol { y } _ { t } , \\boldsymbol { M } \\right)$ , instead of $p _ { \\theta } \\left( z _ { t } | x _ { t } , y _ { t } , M \\right)$ , for the decoder $\\dot { p } _ { \\theta } \\left( x _ { t } | z _ { t } \\right)$ , forcing the model to reconstruct solely using read-outs from the memory. ",
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
176,
|
| 1560 |
+
881,
|
| 1561 |
+
825,
|
| 1562 |
+
924
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 12
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "image",
|
| 1568 |
+
"img_path": "images/ea5f146818917a868f439ba9fbe9f0825cae79e9b5737892c057571c838b6d62.jpg",
|
| 1569 |
+
"image_caption": [
|
| 1570 |
+
"Figure 11: The KL-divergence between $y _ { t }$ (left) and $z _ { t }$ (right) during training. "
|
| 1571 |
+
],
|
| 1572 |
+
"image_footnote": [],
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
240,
|
| 1575 |
+
102,
|
| 1576 |
+
759,
|
| 1577 |
+
247
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 13
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "image",
|
| 1583 |
+
"img_path": "images/abd7e818d5da2bf5f791bb8b027e0a504827b16e2b020cc56c8034cae7bb3ea6.jpg",
|
| 1584 |
+
"image_caption": [
|
| 1585 |
+
"Figure 12: The negative variational lower bound, reconstruction loss, and total KL-divergence during CIFAR training. Although the difference between the lower bound objective is smaller than that during Omniglot training, the general patterns of these curves are similar to those in Fig. 2. The relatively small difference in KL-divergence significantly influences sample quality. Notice at the time of our submission, the training is continuing and the advantage of the Kanerva Machine over the VAE is increasing. "
|
| 1586 |
+
],
|
| 1587 |
+
"image_footnote": [],
|
| 1588 |
+
"bbox": [
|
| 1589 |
+
202,
|
| 1590 |
+
304,
|
| 1591 |
+
794,
|
| 1592 |
+
410
|
| 1593 |
+
],
|
| 1594 |
+
"page_idx": 13
|
| 1595 |
+
},
|
| 1596 |
+
{
|
| 1597 |
+
"type": "text",
|
| 1598 |
+
"text": "E DERIVATION OF THE ONLINE UPDATE RULE ",
|
| 1599 |
+
"text_level": 1,
|
| 1600 |
+
"bbox": [
|
| 1601 |
+
173,
|
| 1602 |
+
544,
|
| 1603 |
+
566,
|
| 1604 |
+
559
|
| 1605 |
+
],
|
| 1606 |
+
"page_idx": 13
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"type": "text",
|
| 1610 |
+
"text": "Eq. 6 defines a linear Gaussian model. Using notations in the main paper, can write the joint distribution $p ( \\operatorname { v e c } \\left( Z \\right) , \\operatorname { v e c } ( M ) ) = { \\mathcal { N } } \\left( \\operatorname { v e c } \\left( Z \\right) , \\operatorname { v e c } ( M ) ; \\mu _ { j } , \\Sigma _ { j } \\right)$ , where ",
|
| 1611 |
+
"bbox": [
|
| 1612 |
+
169,
|
| 1613 |
+
577,
|
| 1614 |
+
823,
|
| 1615 |
+
607
|
| 1616 |
+
],
|
| 1617 |
+
"page_idx": 13
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"type": "equation",
|
| 1621 |
+
"img_path": "images/a017ebe807c58990d8cc3b6934b9c45848cd0106eff7c399354c6fcda9e584fc.jpg",
|
| 1622 |
+
"text": "$$\n\\begin{array} { r l } & { \\mu _ { j } = \\left[ \\mathrm { v e c } \\left( W R \\right) \\right] } \\\\ & { \\Sigma _ { j } = \\left[ \\Sigma _ { z } \\otimes I _ { C } \\quad \\Sigma _ { c } \\otimes I _ { C } \\right] } \\\\ & { \\Sigma _ { j } = \\left[ \\Sigma _ { c } \\mathbf { \\bar { \\Psi } } \\otimes I _ { C } \\quad U \\otimes I _ { c } \\right] } \\end{array}\n$$",
|
| 1623 |
+
"text_format": "latex",
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
398,
|
| 1626 |
+
614,
|
| 1627 |
+
598,
|
| 1628 |
+
688
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 13
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "text",
|
| 1634 |
+
"text": "We can then use the conditional formula for the Gaussian to derive the posterior distribution $p ( \\operatorname { v e c } \\left( M \\right) | \\operatorname { v e c } \\left( Z \\right) ) = \\mathcal { N } \\left( \\operatorname { v e c } \\left( M \\right) ; \\mu _ { p } , \\Sigma _ { p } \\right)$ , using the property Kronecker product: ",
|
| 1635 |
+
"bbox": [
|
| 1636 |
+
173,
|
| 1637 |
+
694,
|
| 1638 |
+
823,
|
| 1639 |
+
724
|
| 1640 |
+
],
|
| 1641 |
+
"page_idx": 13
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"type": "equation",
|
| 1645 |
+
"img_path": "images/b1c96ca379cd69dba488c70ba6e29c81fc9e75dde96193be101f4f81f1652d6b.jpg",
|
| 1646 |
+
"text": "$$\n\\begin{array} { r l } & { { \\mu _ { p } } = \\operatorname { v e c } \\left( R \\right) + { \\Sigma _ { c } } ^ { \\mathsf { T } } { \\Sigma _ { z } } ^ { - 1 } \\otimes I _ { C } ( \\operatorname { v e c } \\left( Z \\right) - \\operatorname { v e c } \\left( W R \\right) ) } \\\\ & { { \\Sigma _ { p } } = U \\otimes I _ { c } - { \\Sigma _ { c } } ^ { \\mathsf { T } } { \\Sigma _ { z } } ^ { - 1 } { \\Sigma _ { c } } \\otimes I _ { C } } \\end{array}\n$$",
|
| 1647 |
+
"text_format": "latex",
|
| 1648 |
+
"bbox": [
|
| 1649 |
+
318,
|
| 1650 |
+
732,
|
| 1651 |
+
679,
|
| 1652 |
+
775
|
| 1653 |
+
],
|
| 1654 |
+
"page_idx": 13
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"type": "text",
|
| 1658 |
+
"text": "From properties of matrix variate Gaussian distribution, the above two equations can be re-arranged to the update rule in eq. 9 to 11. ",
|
| 1659 |
+
"bbox": [
|
| 1660 |
+
174,
|
| 1661 |
+
781,
|
| 1662 |
+
823,
|
| 1663 |
+
810
|
| 1664 |
+
],
|
| 1665 |
+
"page_idx": 13
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"type": "text",
|
| 1669 |
+
"text": "F DISTRIBUTION-BASED READING AND WRITING ",
|
| 1670 |
+
"text_level": 1,
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
173,
|
| 1673 |
+
834,
|
| 1674 |
+
604,
|
| 1675 |
+
851
|
| 1676 |
+
],
|
| 1677 |
+
"page_idx": 13
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"type": "text",
|
| 1681 |
+
"text": "While the model we described in this paper works well using samples from $q _ { \\phi } \\left( z _ { t } | x _ { t } \\right)$ for writing to the memory (section 3.3) and the mean-field approximation during reading (section 3.4), here we describe an alternative that fully exploits the analytic tractability of the Gaussian distribution. To simplify notation, we use $\\psi = \\{ R , U , V \\}$ for all parameters of the memory. ",
|
| 1682 |
+
"bbox": [
|
| 1683 |
+
174,
|
| 1684 |
+
867,
|
| 1685 |
+
825,
|
| 1686 |
+
924
|
| 1687 |
+
],
|
| 1688 |
+
"page_idx": 13
|
| 1689 |
+
},
|
| 1690 |
+
{
|
| 1691 |
+
"type": "text",
|
| 1692 |
+
"text": "For reading, eq. 6 can be replaced with a distribution that directly depends on $\\psi$ through the integral: ",
|
| 1693 |
+
"bbox": [
|
| 1694 |
+
169,
|
| 1695 |
+
102,
|
| 1696 |
+
820,
|
| 1697 |
+
119
|
| 1698 |
+
],
|
| 1699 |
+
"page_idx": 14
|
| 1700 |
+
},
|
| 1701 |
+
{
|
| 1702 |
+
"type": "equation",
|
| 1703 |
+
"img_path": "images/4df8eb1af31a0c45e7df7090c3e1cd61f48c2d006603f9edd43b195962228706.jpg",
|
| 1704 |
+
"text": "$$\n\\begin{array} { c } { { p _ { \\theta } \\left( z _ { t } | y _ { t } , \\psi \\right) = \\displaystyle \\int p _ { \\theta } \\left( z _ { t } | y _ { t } , M \\right) p ( M ) \\mathrm { d } M } } \\\\ { { = \\mathcal { N } \\left( z _ { t } | w _ { t } { } ^ { \\mathsf { T } } R , w U w ^ { \\mathsf { T } } + \\sigma ^ { 2 } I _ { C } \\right) } } \\end{array}\n$$",
|
| 1705 |
+
"text_format": "latex",
|
| 1706 |
+
"bbox": [
|
| 1707 |
+
341,
|
| 1708 |
+
140,
|
| 1709 |
+
656,
|
| 1710 |
+
194
|
| 1711 |
+
],
|
| 1712 |
+
"page_idx": 14
|
| 1713 |
+
},
|
| 1714 |
+
{
|
| 1715 |
+
"type": "text",
|
| 1716 |
+
"text": "For writing, the distribution $\\begin{array} { r } { q _ { \\phi } \\left( \\boldsymbol { Z } \\vert \\boldsymbol { X } \\right) = \\prod _ { t = 1 } ^ { T } q _ { \\phi } \\left( z _ { t } \\vert \\boldsymbol { x } _ { t } \\right) = \\mathcal { N } \\left( \\mu _ { Q } , \\boldsymbol { \\Sigma } _ { Q } \\right) } \\end{array}$ ( $\\mu _ { Q }$ and $\\Sigma _ { Q }$ are functions of $X$ ) can be incorporated into the Bayes’ update rule by analytically marginalising-out $Z$ : ",
|
| 1717 |
+
"bbox": [
|
| 1718 |
+
173,
|
| 1719 |
+
223,
|
| 1720 |
+
823,
|
| 1721 |
+
256
|
| 1722 |
+
],
|
| 1723 |
+
"page_idx": 14
|
| 1724 |
+
},
|
| 1725 |
+
{
|
| 1726 |
+
"type": "equation",
|
| 1727 |
+
"img_path": "images/d7120d3d09155125ce156f645014ed8378f50c0ff7f4a125ca0987413f3146bf.jpg",
|
| 1728 |
+
"text": "$$\n\\begin{array} { r l } & { p _ { \\theta } \\left( M | Y , X \\right) = \\displaystyle \\int p _ { \\theta } \\left( M | Y , Z \\right) q _ { \\phi } \\left( Z | X \\right) \\mathrm { d } Z } \\\\ & { \\quad \\quad \\quad = \\displaystyle \\int \\frac { p _ { \\theta } \\left( M \\right) p _ { \\theta } \\left( Z | Y , M \\right) } { p _ { \\theta } \\left( Z | Y \\right) } q _ { \\phi } \\left( Z | X \\right) \\mathrm { d } Z } \\\\ & { \\quad \\quad \\quad \\propto p _ { \\theta } \\left( M \\right) \\displaystyle \\int p _ { \\theta } \\left( Z | Y , M \\right) q _ { \\phi } \\left( Z | X \\right) \\mathrm { d } Z } \\end{array}\n$$",
|
| 1729 |
+
"text_format": "latex",
|
| 1730 |
+
"bbox": [
|
| 1731 |
+
320,
|
| 1732 |
+
276,
|
| 1733 |
+
679,
|
| 1734 |
+
378
|
| 1735 |
+
],
|
| 1736 |
+
"page_idx": 14
|
| 1737 |
+
},
|
| 1738 |
+
{
|
| 1739 |
+
"type": "text",
|
| 1740 |
+
"text": "where we used Bayes’ rule and dropped the normalising constant $p _ { \\theta } \\left( Z | Y \\right)$ , and then replaced the equality with proportional-to accordingly. The last integral is: ",
|
| 1741 |
+
"bbox": [
|
| 1742 |
+
173,
|
| 1743 |
+
398,
|
| 1744 |
+
825,
|
| 1745 |
+
428
|
| 1746 |
+
],
|
| 1747 |
+
"page_idx": 14
|
| 1748 |
+
},
|
| 1749 |
+
{
|
| 1750 |
+
"type": "equation",
|
| 1751 |
+
"img_path": "images/25f7efe24ef6292b157d86719b10cd0ad551136eb46b3b7e8863177d1ee2f8d7.jpg",
|
| 1752 |
+
"text": "$$\n\\begin{array} { r l } & { \\displaystyle \\int p _ { \\theta } \\left( Z \\vert Y , M \\right) q _ { \\phi } \\left( Z \\vert X \\right) \\mathrm { d } Z = \\frac { 1 } { \\sqrt { \\operatorname* { d e t } ( 2 \\pi \\Sigma _ { z ^ { \\prime } } ) } } \\exp \\left[ - \\frac { 1 } { 2 } ( \\mu _ { Q } - W R ) ^ { \\mathsf { T } } \\Sigma _ { z ^ { \\prime } } ^ { - 1 } ( \\mu _ { Q } - W R ) \\right] } \\\\ & { \\quad \\quad \\quad \\quad \\cdot \\displaystyle \\int p ^ { \\prime } ( Z ) \\mathrm { d } Z } \\\\ & { \\quad \\quad \\quad \\quad = \\mathcal { N } ( \\mu _ { Q } \\vert W R , \\Sigma _ { z ^ { \\prime } } ) } \\end{array}\n$$",
|
| 1753 |
+
"text_format": "latex",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
186,
|
| 1756 |
+
448,
|
| 1757 |
+
781,
|
| 1758 |
+
539
|
| 1759 |
+
],
|
| 1760 |
+
"page_idx": 14
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"type": "text",
|
| 1764 |
+
"text": "where $\\Sigma _ { z ^ { \\prime } } = W U W ^ { \\intercal } + \\Sigma _ { \\xi } + \\Sigma _ { Q }$ and $p ^ { \\prime } ( Z )$ is a distribution of $Z$ whose exact form is unimportant. Therefore, eq. 20 shows that the posterior distribution of $M$ is proportional to the product between the prior $p _ { \\theta } \\left( M \\right)$ and the above likelihood term. From inspection, we can see the update rule (eq. 9 - 11) needs to be modified by replacing $\\Sigma _ { z }$ with $\\Sigma _ { z ^ { \\prime } }$ by adding the bottom-up uncertainty $\\Sigma _ { Q }$ . ",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
174,
|
| 1767 |
+
559,
|
| 1768 |
+
826,
|
| 1769 |
+
617
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 14
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "text",
|
| 1775 |
+
"text": "G DESCRIPTION OF THE ALGORITHM ",
|
| 1776 |
+
"text_level": 1,
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
174,
|
| 1779 |
+
654,
|
| 1780 |
+
501,
|
| 1781 |
+
670
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 14
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "text",
|
| 1787 |
+
"text": "Algorithm 1 Iterative Reading ",
|
| 1788 |
+
"text_level": 1,
|
| 1789 |
+
"bbox": [
|
| 1790 |
+
174,
|
| 1791 |
+
719,
|
| 1792 |
+
377,
|
| 1793 |
+
734
|
| 1794 |
+
],
|
| 1795 |
+
"page_idx": 14
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"type": "table",
|
| 1799 |
+
"img_path": "images/047731985fac6f8ed4fc625a4a6dc48696a6a849652e9960b2ce892eef71801f.jpg",
|
| 1800 |
+
"table_caption": [],
|
| 1801 |
+
"table_footnote": [],
|
| 1802 |
+
"table_body": "<table><tr><td>Input: Memory M,a (potentially noisy) query xt, the number of iteration n Output: An estimate of the noiseless 𝑥t</td></tr><tr><td>initialisei=O</td></tr><tr><td>whilei<ndo</td></tr><tr><td>sample yt ~ q(yt|xt) compute the key bt ← f(yt)</td></tr><tr><td>Compute the weights wt ←bt · A</td></tr><tr><td>read-out mean μz ← wtT · M</td></tr><tr><td>sample zt ~ q(zt|xt, Yt,M) which takes μz and xt as inputs</td></tr><tr><td>sample the new query xt ~ pe(xt|zt)</td></tr><tr><td>incrementi←i+1</td></tr><tr><td>end while</td></tr><tr><td>returnx←xt</td></tr></table>",
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
173,
|
| 1805 |
+
736,
|
| 1806 |
+
758,
|
| 1807 |
+
921
|
| 1808 |
+
],
|
| 1809 |
+
"page_idx": 14
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"type": "text",
|
| 1813 |
+
"text": "Algorithm 2 Writing ",
|
| 1814 |
+
"text_level": 1,
|
| 1815 |
+
"bbox": [
|
| 1816 |
+
174,
|
| 1817 |
+
103,
|
| 1818 |
+
315,
|
| 1819 |
+
117
|
| 1820 |
+
],
|
| 1821 |
+
"page_idx": 15
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"type": "text",
|
| 1825 |
+
"text": "Input: Images $\\{ x _ { t } \\} _ { t = 1 } ^ { T }$ , Memory $M$ with parameters $R$ and $U$ ",
|
| 1826 |
+
"bbox": [
|
| 1827 |
+
173,
|
| 1828 |
+
122,
|
| 1829 |
+
589,
|
| 1830 |
+
137
|
| 1831 |
+
],
|
| 1832 |
+
"page_idx": 15
|
| 1833 |
+
},
|
| 1834 |
+
{
|
| 1835 |
+
"type": "text",
|
| 1836 |
+
"text": "Output: Updated memory $M ^ { \\prime }$ for each $y _ { t }$ do sample $y _ { t } \\sim q _ { \\phi } ( y _ { t } | x _ { t } )$ compute the key $b _ { t } \\gets f ( y _ { t } )$ Compute the weights $w _ { t } \\gets b _ { t } ^ { \\intercal } \\cdot A$ sample $z _ { t } \\sim q _ { \\phi } ( z _ { t } | x _ { t } )$ update parameters of $M$ $\\begin{array} { r l } & { | \\begin{array} { l } { \\Delta \\xleftarrow { } Z - W R } \\end{array} } \\\\ & { \\Sigma _ { c } \\xleftarrow { } W U } \\\\ & { \\Sigma _ { z } \\xleftarrow { } W U W ^ { \\intercal } + \\Sigma _ { \\xi } } \\\\ & { R R + \\Sigma _ { c } \\textbar { \\Sigma } \\Sigma _ { z } ^ { - 1 } \\Delta } \\\\ & { U U - \\Sigma _ { c } \\textbar { \\Sigma } \\Sigma _ { z } ^ { - 1 } \\Sigma _ { c } } \\end{array}$ ",
|
| 1837 |
+
"bbox": [
|
| 1838 |
+
174,
|
| 1839 |
+
137,
|
| 1840 |
+
431,
|
| 1841 |
+
306
|
| 1842 |
+
],
|
| 1843 |
+
"page_idx": 15
|
| 1844 |
+
},
|
| 1845 |
+
{
|
| 1846 |
+
"type": "text",
|
| 1847 |
+
"text": "end for ",
|
| 1848 |
+
"text_level": 1,
|
| 1849 |
+
"bbox": [
|
| 1850 |
+
191,
|
| 1851 |
+
304,
|
| 1852 |
+
243,
|
| 1853 |
+
316
|
| 1854 |
+
],
|
| 1855 |
+
"page_idx": 15
|
| 1856 |
+
},
|
| 1857 |
+
{
|
| 1858 |
+
"type": "text",
|
| 1859 |
+
"text": "return $M ^ { \\prime }$ with the updated parameters $R$ and $U$ ",
|
| 1860 |
+
"bbox": [
|
| 1861 |
+
189,
|
| 1862 |
+
318,
|
| 1863 |
+
504,
|
| 1864 |
+
332
|
| 1865 |
+
],
|
| 1866 |
+
"page_idx": 15
|
| 1867 |
+
}
|
| 1868 |
+
]
|
parse/train/S1HlA-ZAZ/S1HlA-ZAZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1HlA-ZAZ/S1HlA-ZAZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkNQeiRpb/SkNQeiRpb.md
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TRAINING DEEP AUTOENCODERS FOR RECOM-MENDER SYSTEMS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
This paper proposes a new model for the rating prediction task in recommender systems which significantly outperforms previous state-of-the art models on a time-split Netflix data set. Our model is based on deep autoencoder with 6 layers and is trained end-to-end without any layer-wise pre-training. We empirically demonstrate that: a) deep autoencoder models generalize much better than the shallow ones, b) non-linear activation functions with negative parts are crucial for training deep models, and c) heavy use of regularization techniques such as dropout is necessary to prevent overfitting. We also propose a new training algorithm based on iterative output re-feeding to overcome natural sparseness of collaborate filtering. The new algorithm significantly speeds up training and improves model performance.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Sites like Amazon, Netflix and Spotify use recommender systems to suggest items to users. Recommender systems can be divided into two categories: context-based and personalized recommendations.
|
| 12 |
+
|
| 13 |
+
Context based recommendations take into account contextual factors such as location, date and time (Adomavicius & Tuzhilin, 2011). Personalized recommendations typically suggest items to users using the collaborative filtering (CF) approach. In this approach the user’s interests are predicted based on the analysis of tastes and preference of other users in the system and implicitly inferring “similarity” between them. The underlying assumption is that two people who have similar tastes, have a higher likelihood of having the same opinion on an item than two randomly chosen people.
|
| 14 |
+
|
| 15 |
+
In designing recommender systems, the goal is to improve the accuracy of predictions. The Netflix Prize contest provides the most famous example of this problem (Bennett et al., 2007): Netflix held the Netflix Prize to substantially improve the accuracy of the algorithm to predict user ratings for films. This is a classic CF problem: Infer the missing entries in an mxn matrix, $R$ , whose $( i , j )$ entry describes the ratings given by the ith user to the $j$ th item. The performance is then measured using Root Mean Squared Error (RMSE).
|
| 16 |
+
|
| 17 |
+
Training very deep autoencoders is non trivial both from optimization and regularization points of view. Early works on training auto-enocoders adapted layer-wise pre-training to solve optimization issues (Hinton & Salakhutdinov, 2006). In this work, we empirically show that optimization difficulties of training deep autoencoders can be solved by using scaled exponential linear units $( S E L U s ,$ )(Klambauer et al., 2017). This enables training without any layer-wise pre-training or residual connections. Since publicly available data sets for CF are relatively small, sufficiently large models can easily overfit. To prevent overfitting we employ heavy dropout with drop probability as high as 0.8. We also introduce a new output re-feeding training algorithm which helps to bypass the natural sparseness of updates in collaborative filtering and helps to further improve the model performance.
|
| 18 |
+
|
| 19 |
+
# 1.1 RELATED WORK
|
| 20 |
+
|
| 21 |
+
Deep learning (LeCun et al., 2015) has led to breakthroughs in image recognition, natural language understanding, and reinforcement learning. Naturally, these successes fuel an interest for using deep learning in recommender systems. First attempts at using deep learning for recommender systems involved restricted Boltzman machines (RBM) (Salakhutdinov et al., 2007). Several recent approaches use autoencoders (Sedhain et al., 2015; Strub & Mary, 2015), feed-forward neural networks (He et al., 2017), neural autoregressive architectures (Zheng et al., 2016) and recurrent recommender networks (Wu et al., 2017). Many popular matrix factorization techniques can be thought of as a form of dimensionality reduction. It is, therefore, natural to adapt deep autoencoders for this task as well. I-AutoRec (item-based autoencoder) and $U _ { ☉ }$ -AutoRec (user-based autoencoder) are first successful attempts to do so Sedhain et al. (2015). Stacked de-noising autoencoders has been sucesfully used on this task as well (Li et al., 2015; Wang et al., 2015).
|
| 22 |
+
|
| 23 |
+
There are many non deep learning types of approaches to collaborative filtering (CF) (Breese et al., 1998; Ricci et al., 2011). Matrix factorization techniques, such as alternating least squares (ALS) (Kim & Park, 2008; Koren et al., 2009) and probabilistic matrix factorization (Mnih & Salakhutdinov, 2008) are particularly popular. The most robust systems may incorporate several ideas together such as the winning solution to the Netflix Prize competition (Koren, 2009). Note that Netflix Prize data also includes temporal signal - time when each rating has been made. Thus, several classic CF approaches has been extended to incorporate temporal information such as TimeSVD $^ { + + }$ Koren (2010), as well as more recent RNN-based techniques such as recurrent recommender networks Wu et al. (2017).
|
| 24 |
+
|
| 25 |
+
# 2 MODEL
|
| 26 |
+
|
| 27 |
+
Our model is inspired by $U$ -AutoRec approach with several important distinctions. We train much deeper models. To enable this without any pre-training, we: a) use “scaled exponential linear units” (SELUs) Klambauer et al. (2017), b) use high dropout rates, and d) use iterative output re-feeding during training.
|
| 28 |
+
|
| 29 |
+
An autoencoder is a network which implements two transformations - encoder $e n c o d e ( x ) : R ^ { n } \to$ $R ^ { d }$ and $d e c o d e r ( z ) : R ^ { d } \to R ^ { n }$ . The “goal” of autoenoder is to obtain $d$ dimensional representation of data such that an error measure between $x$ and $f ( x ) = d e c o d e ( e n c o d e ( x ) )$ is minimized Hinton & Zemel (1994). Figure 1 depicts typical 4-layer autoencoder network. If noise is added to the data during encoding step, the autoencoder is called de-noising. Autoencoder is an excellent tool for dimensionality reduction and can be thought of as a strict generalization of principle component analysis (PCA) Hinton & Salakhutdinov (2006). An autoencoder without non-linear activations and only with “code” layer should be able to learn PCA transformation in the encoder if trained to optimize mean squared error (MSE) loss.
|
| 30 |
+
|
| 31 |
+
In our model, both encoder and decoder parts of the autoencoder consist of feed-forward neural networks with classical fully connected layers computing $l = f ( W * x + b )$ , where $f$ is some nonlinear activation function. If range of the activation function is smaller than that of data, the last layer of the decoder should be kept linear. We found it to be very important for activation function $f$ in hidden layers to contain non-zero negative part, and we use SELU units in most of our experiments (see Section 3.2 for details).
|
| 32 |
+
|
| 33 |
+
If decoder mirrors encoder architecture (as it does in our model), then one can constrain decoder’s weights $\boldsymbol { W } _ { d } ^ { l }$ to be equal to transposed encoder weights $W _ { e } ^ { l }$ from the corresponding layer $l$ . Such autoencoder is called constrained or tied and has almost two times less free parameters than unconstrained one.
|
| 34 |
+
|
| 35 |
+
Forward pass and inference. During forward pass (and inference) the model takes user represented by his vector of ratings from the training set $x \in R ^ { n }$ , where $n$ is number of items. Note that $x$ is very sparse, while the output of the decoder, $f ( x ) \in R ^ { n }$ is dense and contains rating predictions for all items in the corpus.
|
| 36 |
+
|
| 37 |
+
# 2.1 LOSS FUNCTION
|
| 38 |
+
|
| 39 |
+
Since it doesn’t make sense to predict zeros in user’s representation vector $x$ , we follow the approach from Sedhain et al. (2015) and optimize Masked Mean Squared Error loss:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
M M S E = \frac { m _ { i } * ( r _ { i } - y _ { i } ) ^ { 2 } } { \sum _ { i = 0 } ^ { i = n } m _ { i } }
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
where $r _ { i }$ is actual rating, $y _ { i }$ is reconstructed, or predicted rating, and $m _ { i }$ is a mask function such that $m _ { i } = 1$ if $r _ { i } \neq 0$ else $m _ { i } = 0$ . Note that there is a straightforward relation between RMSE score and MMSE score: $R M S E = \sqrt { M M S E }$ .
|
| 46 |
+
|
| 47 |
+
# 2.2 DENSE RE-FEEDING
|
| 48 |
+
|
| 49 |
+
During training and inference, an input $x \in R ^ { n }$ is very sparse because no user can realistically rate but a tiny fractions of all items. This poses problem for model training. Bayesian approches can be used to overcome this issue (Wang et al., 2015). On the other hand, autoencoder’s output $f ( x )$ is dense. Lets consider an idealized scenario with a perfect $f$ . Then $f ( x ) _ { i } = x _ { i } , \forall i : x _ { i } \neq 0$ and $f ( { \boldsymbol { x } } ) _ { i }$ accurately predicts all user’s future ratings for items $i : x _ { i } = 0$ . This means that if user rates new item $k$ (thereby creating a new vector $x ^ { \prime }$ ) then $f ( x ) _ { k } = x _ { k } ^ { \prime }$ and $f ( x ) = f ( x ^ { \prime } )$ . Hence, in this idealized scenario, $y = f ( x )$ should be a fixed point of a well trained autoencoder: $f ( y ) = y$ .
|
| 50 |
+
|
| 51 |
+
To explicitly enforce fixed-point constraint and to be able to perform dense training updates, we augment every optimization iteration with an iterative dense re-feeding steps (3 and 4 below) as follows:
|
| 52 |
+
|
| 53 |
+
1. Given sparse $x$ , compute dense $f ( x )$ and loss using equation 1 (forward pass)
|
| 54 |
+
2. Compute gradients and perform weight update (backward pass)
|
| 55 |
+
3. Treat $f ( x )$ as a new example and compute $f ( f ( x ) )$ . Now both $f ( x )$ and $f ( f ( x ) )$ are dense
|
| 56 |
+
and the loss from equation 1 has all $m$ as non-zeros. (second forward pass)
|
| 57 |
+
4. Compute gradients and perform weight update (second backward pass)
|
| 58 |
+
|
| 59 |
+
Steps (3) and (4) can be also performed more than once for every iteration.
|
| 60 |
+
|
| 61 |
+
# 3 EXPERIMENTS AND RESULTS
|
| 62 |
+
|
| 63 |
+
# 3.1 EXPERIMENT SETUP
|
| 64 |
+
|
| 65 |
+
For the rating prediction task, it is often most relevant to predict future ratings given the past ones instead of predicting ratings missing at random. For evaluation purposes we followed Wu et al. (2017) exactly by splitting the original Netflix Prize Bennett et al. (2007) training set into several training and testing intervals based on time. Training interval contains ratings which came in earlier than the ones from testing interval. Testing interval is then randomly split into Test and Validation subsets so that each rating from testing interval has a $50 \%$ chance of appearing in either subset. Users and items that do not appear in the training set are removed from both test and validation subsets. Table 1 provides details on the data sets.2
|
| 66 |
+
|
| 67 |
+
For most of our experiments we uses a batch size of 128, trained using SGD with momentum of 0.9 and learning rate of 0.001. We used xavier initialization to initialize parameters. Note, that unlike Strub & Mary (2015) we did not use any layer-wise pre-training. We believe that we were able to do so successfully because of choosing the right activation function (see Section 3.2).
|
| 68 |
+
|
| 69 |
+
# 3.2 EFFECTS OF THE ACTIVATION TYPES
|
| 70 |
+
|
| 71 |
+
To explore the effects of using different activation functions, we tested some of the most popular choices in deep learning : sigmoid, “rectified linear units” (RELU), $m a x ( r e l u ( x ) , 6 )$ or RELU6, hyperbolic tangent (TANH), “exponential linear units” (ELU) (Clevert et al., 2015), leaky relu (LRELU) (Xu et al., 2015) , “self-gated activation function” (SWISH) (Ramachandran et al., 2017), and “scaled exponential linear units” (Klambauer et al., 2017) (SELU) on the 4 layer autoencoder with 128 units in each hidden layer. Because ratings are on the scale from 1 to 5, we keep last layer of the decoder linear for sigmoid and tanh-based models. In all other models activation function is applied in all layers.
|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
Figure 1: AutoEncoder consists of two neural networks, encoder and decoder, fused together on the “representation” layer $z$ . Encoder has 2 layers $e _ { 1 }$ and $e _ { 2 }$ and decoder has 2 layers $d _ { 1 }$ and $d _ { 2 }$ . Dropout may be applied to coding layer $z$ .
|
| 75 |
+
|
| 76 |
+
Table 1: Subsets of Netflix Prize training set used in our experiments. We made sure that these splits match exactly the ones used in (Wu et al., 2017).
|
| 77 |
+
|
| 78 |
+
<table><tr><td></td><td>Full</td><td>3 months</td><td>6 months</td><td>1 year</td></tr><tr><td></td><td></td><td></td><td>06/05-11/05</td><td></td></tr><tr><td>Training Users</td><td>12/99-11/05 477,412</td><td>09/05-11/05 311,315</td><td>390,795</td><td>06/04-05/05 345,855</td></tr><tr><td>Ratings</td><td>98,074,901</td><td>13,675,402</td><td>29,179,009</td><td>41,451,832</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Testing Users</td><td>12/05</td><td>12/05</td><td>12/05</td><td>06/05</td></tr></table>
|
| 79 |
+
|
| 80 |
+
We found that on this task ELU, SELU and LRELU perform much better than SIGMOID, RELU, RELU6, TANH and SWISH. Figure 2 clearly demonstrates this. There are two properties which seems to separate activations which perform well from those which do not: a) non-zero negative part and b) unbounded positive part. Hence, we conclude, that in this setting these properties are important for successful training. Thus, we use SELU activation units and tune SELU-based networks for performance.
|
| 81 |
+
|
| 82 |
+

|
| 83 |
+
Figure 2: Training RMSE per mini-batch. All lines correspond to 4-layers autoencoder (2 layer encoder and 2 layer decoder) with hidden unit dimensions of 128. Different line colors correspond to different activation functions. TANH and SIGMOID lines are very similar as well as lines for ELU and SELU. The best performing activation functions are ELU and SELU.
|
| 84 |
+
|
| 85 |
+
# 3.3 OVER-FITTING THE DATA
|
| 86 |
+
|
| 87 |
+
The largest data set we use for training, “Netflix Full” from Table 1, contains 98M ratings given by 477K users. Number of movies (e.g. items) in this set is $n = 1 7$ , 768. Therefore, the first layer of encoder will have $d * n + d$ weights, where $d$ is number of units in the layer.
|
| 88 |
+
|
| 89 |
+
For modern deep learning algorithms and hardware this is relatively small task. If we start with single layer encoders and decoders we can quickly overfit to the training data even for $d$ as small as 512. Figure 3 clearly demonstrates this. Switching from unconstrained autoencoder to constrained reduces over-fitting, but does not completely solve the problem.
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
Figure 3: Single layer autoencoder with 128, 256, 512 and 1024 hidden units in the coding layer. A: training RMSE per epoch; B: evaluation RMSE per epoch.
|
| 93 |
+
|
| 94 |
+
# 3.4 GOING DEEPER
|
| 95 |
+
|
| 96 |
+
While making layers wider helps bring training loss down, adding more layers is often correlated with a network’s ability to generalize. In this set of experiments we show that this is indeed the case here. We choose small enough dimensionality $d = 1 2 8$ ) for all hidden layers to easily avoid over-fitting and start adding more layers. Table 2 shows that there is a positive correlation between the number of layers and the evaluation accuracy.
|
| 97 |
+
|
| 98 |
+
Table 2: Depth helps generalization. Evaluation RMSE of the models with different number of layers. In all cases the hidden layer dimension is 128.
|
| 99 |
+
|
| 100 |
+
<table><tr><td>Number of layers</td><td>Evaluation RMSE</td><td>params</td></tr><tr><td></td><td></td><td></td></tr><tr><td>2</td><td>1.146</td><td>4,566,504</td></tr><tr><td>4</td><td>0.9615</td><td>4,599,528</td></tr><tr><td>6</td><td>0.9378</td><td>4,632,552</td></tr><tr><td>8 10</td><td>0.9364</td><td>4,665,576</td></tr><tr><td>12</td><td>0.9340 0.9328</td><td>4,698,600</td></tr><tr><td></td><td></td><td>4,731,624</td></tr></table>
|
| 101 |
+
|
| 102 |
+
Going from one layer in encoder and decoder to three layers in both provides good improvement in evaluation RMSE (from 1.146 to 0.9378). After that, blindly adding more layers does help, however it provides diminishing returns. Note that the model with single $d \ : = \ : 2 5 6$ layer in encoder and decoder has 9,115,240 parameters which is almost two times more than any of these deep models while having much worse evauation RMSE (above 1.0).
|
| 103 |
+
|
| 104 |
+
# 3.5 DROPOUT
|
| 105 |
+
|
| 106 |
+
Section 3.4 shows us that adding too many small layers eventually hits diminishing returns. Thus, we start experimenting with model architecture and hyper-parameters more broadly. Our most promising model has the following architecture: $n , 5 1 2 , 5 1 2 , 1 0 2 4 , 5 1 2 , 5 1 2 , n .$ , which means 3 layers in encoder (512,512,1024), coding layer of 1024 and 3 layers in decoder of size 512,512,n. This model, however, quickly over-fits if trained with no regularization. To regularize it, we tried several dropout values and, interestingly, very high values of drop probability (e.g. 0.8) turned out to be the best. See Figure 4 for evaluation RMSE. We apply dropout on the encoder output only, e.g. $f ( x ) = d e c o d e ( d r o p o u t ( e n c o d e ( x ) ) )$ . We tried applying dropout after every layer of the model but that stifled training convergence and did not improve generalization.
|
| 107 |
+
|
| 108 |
+

|
| 109 |
+
Figure 4: Effects of dropout. Y-axis: evaluation RMSE, X-axis: epoch number. Model with no dropout (Drop Prob 0.0) clearly over-fits. Model with drop probability of 0.5 over-fits as well (but much slowly). Models with drop probabilities of 0.65 and 0.8 result in RMSEs of 0.9192 and 0.9183 correspondingly.
|
| 110 |
+
|
| 111 |
+
# 3.6 DENSE RE-FEEDING
|
| 112 |
+
|
| 113 |
+
Iterative dense re-feeding (see Section 2.2) provides us with additional improvement in evaluation accuracy for our 6-layer-model: $n$ , 512, 512, 1024, $d p ( 0 . 8 )$ , 512, 512, $n$ (referred to as Baseline below). Here each parameter denotes the number of inputs, hidden units, or outputs and $d p ( 0 . 8 )$ is a dropout layer with a drop probability of 0.8. Just applying output re-feeding did not have significant impact on the model performance. However, in conjunction with the higher learning rate, it did significantly increase the model performance. Note, that with this higher learning rate (0.005) but without dense re-feeding, the model started to diverge. See Figure 5 for details.
|
| 114 |
+
|
| 115 |
+
Table 3: Test RMSE of different models. I-AR, U-AR and RRN numbers are taken from (Wu et al., 2017)
|
| 116 |
+
|
| 117 |
+
<table><tr><td>DataSet</td><td>I-AR</td><td>U-AR</td><td>RRN</td><td>DeepRec</td></tr><tr><td rowspan="3">Netflix 3 months Netfix Full</td><td></td><td></td><td></td><td></td></tr><tr><td>0.9778</td><td>0.9836</td><td>0.9427</td><td>0.9373</td></tr><tr><td>0.9364</td><td>0.9647</td><td>0.9224</td><td>0.9099</td></tr></table>
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
Figure 5: Effects of dense re-feeding. Y-axis: evaluation RMSE, $\mathbf { X }$ -axis: epoch number. Baseline model was trained with learning rate of 0.001. Applying re-feeding step with the same learning rate almost did not help (Baseline RF). Learning rate of 0.005 (Baseline LR 0.005) is too big for baseline model without re-feeding. However, increasing both learning rate and applying re-feeding step clearly helps (Baseline LR 0.005 RF).
|
| 121 |
+
|
| 122 |
+
Applying dense re-feeding and increasing the learning rate, allowed us to further improve the evaluation RMSE from 0.9167 to 0.9100. Picking a checkpoint with best evaluation RMSE and computing test RMSE gives as 0.9099, which we believe is significantly better than other methods.
|
| 123 |
+
|
| 124 |
+
# 3.7 COMPARISON WITH OTHER METHODS
|
| 125 |
+
|
| 126 |
+
We compare our best model with Recurrent Recommender Network from Wu et al. (2017) which has been shown to outperform PMF (Mnih & Salakhutdinov, 2008), T-SVD (Koren, 2010) and I/UAR (Sedhain et al., 2015) on the data we use (see Table 1 for data description). Note, that unlike T-SVD and RRN, our method does not explicitly take into account temporal dynamics of ratings. Yet, Table 3 shows that it is still capable of outperforming these methods on future rating prediction task. We train each model using only the training set and compute evaluation RMSE for 100 epochs. Then the checkpoint with the highest evaluation RMSE is tested on the test set.
|
| 127 |
+
|
| 128 |
+
“Netflix 3 months” has 7 times less training data compared to “Netflix full”, it is therefore, not surprising that the model’s performance is significantly worse if trained on this data alone (0.9373 vs 0.9099). In fact, the model that performs best on “Netflix full” over-fits on this set, and we had to reduce the model’s complexity accordingly (see Table 4 for details).
|
| 129 |
+
|
| 130 |
+
Table 4: Test RMSE achieved by DeepRec on different Netflix subsets. All models are trained with one iterative output re-feeding step per each iteration.
|
| 131 |
+
|
| 132 |
+
<table><tr><td>DataSet</td><td>RMSE</td><td>Model Architecture</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Netflix 3 months</td><td>0.9373</td><td>n,128,256,256,dp(0.65),256,128,n</td></tr><tr><td>Netflix 6 months</td><td>0.9207</td><td>n,256,256,512,dp(0.8),256,256,n</td></tr><tr><td>Netflix 1 year</td><td>0.9225</td><td>n,256,256,512,dp(0.8),256,256, n</td></tr><tr><td>Netfix Full</td><td>0.9099</td><td>n,512,512,1024,dp(0.8),512,512, n</td></tr></table>
|
| 133 |
+
|
| 134 |
+
# 4 CONCLUSION
|
| 135 |
+
|
| 136 |
+
Deep learning has revolutionized many areas of machine learning, and it is poised do so with recommender systems as well. In this paper we demonstrated how very deep autoencoders can be successfully trained even on relatively small amounts of data by using both well established (dropout) and relatively recent (“scaled exponential linear units”) deep learning techniques. Further, we introduced iterative output re-feeding - a technique which allowed us to perform dense updates in collaborative filtering, increase learning rate and further improve generalization performance of our model. On the task of future rating prediction, our model outperforms other approaches even without using additional temporal signals.
|
| 137 |
+
|
| 138 |
+
While our code supports item-based model (such as I-AutoRec) we argue that this approach is less practical than user-based model (U-AutoRec). This is because in real-world recommender systems, there are usually much more users then items. Finally, when building personalized recommender system and faced with scaling problems, it can be acceptable to sample items but not users.
|
| 139 |
+
|
| 140 |
+
# ACKNOWLEDGMENTS
|
| 141 |
+
|
| 142 |
+
We thank the author of (Wu et al., 2017), Chao-Yuan Wu, for fruitfull discussion and help validating our data sets.
|
| 143 |
+
|
| 144 |
+
# REFERENCES
|
| 145 |
+
|
| 146 |
+
Gediminas Adomavicius and Alexander Tuzhilin. Context-aware recommender systems. In Recommender systems handbook, pp. 217–253. Springer, 2011.
|
| 147 |
+
|
| 148 |
+
James Bennett, Stan Lanning, and Netflix Netflix. The netflix prize. In In KDD Cup and Workshop in conjunction with KDD, 2007.
|
| 149 |
+
|
| 150 |
+
John S. Breese, David Heckerman, and Carl Kadie. Empirical analysis of predictive algorithms for collaborative filtering. In Proceedings of the Fourteenth Conference on Uncertainty in Artificial Intelligence, UAI’98, pp. 43–52, San Francisco, CA, USA, 1998. Morgan Kaufmann Publishers Inc. ISBN 1-55860-555-X. URL http://dl.acm.org/citation.cfm?id=2074094. 2074100.
|
| 151 |
+
|
| 152 |
+
Djork-Arne Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network´ learning by exponential linear units (elus). arXiv preprint arXiv:1511.07289, 2015.
|
| 153 |
+
|
| 154 |
+
Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. Neural collaborative filtering. In Proceedings of the 26th International Conference on World Wide Web, pp. 173–182. International World Wide Web Conferences Steering Committee, 2017.
|
| 155 |
+
|
| 156 |
+
Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. science, 313(5786):504–507, 2006.
|
| 157 |
+
|
| 158 |
+
Geoffrey E Hinton and Richard S. Zemel. Autoencoders, minimum description length and helmholtz free energy. In J. D. Cowan, G. Tesauro, and J. Alspector (eds.), Advances in Neural Information Processing Systems 6, pp. 3– 10. Morgan-Kaufmann, 1994. URL http://papers.nips.cc/paper/ 798-autoencoders-minimum-description-length-and-helmholtz-free-energy. pdf.
|
| 159 |
+
|
| 160 |
+
Hyunsoo Kim and Haesun Park. Nonnegative matrix factorization based on alternating nonnegativity constrained least squares and active set method. SIAM journal on matrix analysis and applications, 30(2):713–730, 2008.
|
| 161 |
+
|
| 162 |
+
Gunter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-normalizing ¨ neural networks. arXiv preprint arXiv:1706.02515, 2017.
|
| 163 |
+
|
| 164 |
+
Yehuda Koren. The bellkor solution to the netflix grand prize. Netflix prize documentation, 81:1–10, 2009.
|
| 165 |
+
|
| 166 |
+
Yehuda Koren. Collaborative filtering with temporal dynamics. Communications of the ACM, 53 (4):89–97, 2010.
|
| 167 |
+
|
| 168 |
+
Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8), 2009.
|
| 169 |
+
|
| 170 |
+
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015.
|
| 171 |
+
|
| 172 |
+
Sheng Li, Jaya Kawale, and Yun Fu. Deep collaborative filtering via marginalized denoising autoencoder. In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, pp. 811–820. ACM, 2015.
|
| 173 |
+
|
| 174 |
+
Andriy Mnih and Ruslan R Salakhutdinov. Probabilistic matrix factorization. In Advances in neural information processing systems, pp. 1257–1264, 2008.
|
| 175 |
+
|
| 176 |
+
Prajit Ramachandran, Barret Zoph, and Quoc V Le. Swish: a self-gated activation function. arXiv preprint arXiv:1710.05941, 2017.
|
| 177 |
+
|
| 178 |
+
Francesco Ricci, Lior Rokach, and Bracha Shapira. Introduction to recommender systems handbook. In Recommender systems handbook, pp. 1–35. Springer, 2011.
|
| 179 |
+
|
| 180 |
+
Ruslan Salakhutdinov, Andriy Mnih, and Geoffrey Hinton. Restricted boltzmann machines for collaborative filtering. In Proceedings of the 24th international conference on Machine learning, pp. 791–798. ACM, 2007.
|
| 181 |
+
|
| 182 |
+
Suvash Sedhain, Aditya Krishna Menon, Scott Sanner, and Lexing Xie. Autorec: Autoencoders meet collaborative filtering. In Proceedings of the 24th International Conference on World Wide Web, pp. 111–112. ACM, 2015.
|
| 183 |
+
|
| 184 |
+
Florian Strub and Jer´ emie Mary. Collaborative filtering with stacked denoising autoencoders and ´ sparse inputs. In NIPS workshop on machine learning for eCommerce, 2015.
|
| 185 |
+
|
| 186 |
+
Hao Wang, Naiyan Wang, and Dit-Yan Yeung. Collaborative deep learning for recommender systems. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1235–1244. ACM, 2015.
|
| 187 |
+
|
| 188 |
+
Chao-Yuan Wu, Amr Ahmed, Alex Beutel, Alexander J. Smola, and How Jing. Recurrent recommender networks. In Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, WSDM ’17, pp. 495–503, New York, NY, USA, 2017. ACM. ISBN 978- 1-4503-4675-7. doi: 10.1145/3018661.3018689. URL http://doi.acm.org/10.1145/ 3018661.3018689.
|
| 189 |
+
|
| 190 |
+
Bing Xu, Naiyan Wang, Tianqi Chen, and Mu Li. Empirical evaluation of rectified activations in convolutional network. arXiv preprint arXiv:1505.00853, 2015.
|
| 191 |
+
|
| 192 |
+
Yin Zheng, Bangsheng Tang, Wenkui Ding, and Hanning Zhou. A neural autoregressive approach to collaborative filtering. arXiv preprint arXiv:1605.09477, 2016.
|
parse/train/SkNQeiRpb/SkNQeiRpb_content_list.json
ADDED
|
@@ -0,0 +1,1052 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 3 |
+
"type": "text",
|
| 4 |
+
"text": "TRAINING DEEP AUTOENCODERS FOR RECOM-MENDER SYSTEMS",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "This paper proposes a new model for the rating prediction task in recommender systems which significantly outperforms previous state-of-the art models on a time-split Netflix data set. Our model is based on deep autoencoder with 6 layers and is trained end-to-end without any layer-wise pre-training. We empirically demonstrate that: a) deep autoencoder models generalize much better than the shallow ones, b) non-linear activation functions with negative parts are crucial for training deep models, and c) heavy use of regularization techniques such as dropout is necessary to prevent overfitting. We also propose a new training algorithm based on iterative output re-feeding to overcome natural sparseness of collaborate filtering. The new algorithm significantly speeds up training and improves model performance. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
273,
|
| 43 |
+
764,
|
| 44 |
+
426
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
472,
|
| 55 |
+
336,
|
| 56 |
+
488
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Sites like Amazon, Netflix and Spotify use recommender systems to suggest items to users. Recommender systems can be divided into two categories: context-based and personalized recommendations. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
511,
|
| 66 |
+
823,
|
| 67 |
+
551
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Context based recommendations take into account contextual factors such as location, date and time (Adomavicius & Tuzhilin, 2011). Personalized recommendations typically suggest items to users using the collaborative filtering (CF) approach. In this approach the user’s interests are predicted based on the analysis of tastes and preference of other users in the system and implicitly inferring “similarity” between them. The underlying assumption is that two people who have similar tastes, have a higher likelihood of having the same opinion on an item than two randomly chosen people. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
559,
|
| 77 |
+
825,
|
| 78 |
+
642
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In designing recommender systems, the goal is to improve the accuracy of predictions. The Netflix Prize contest provides the most famous example of this problem (Bennett et al., 2007): Netflix held the Netflix Prize to substantially improve the accuracy of the algorithm to predict user ratings for films. This is a classic CF problem: Infer the missing entries in an mxn matrix, $R$ , whose $( i , j )$ entry describes the ratings given by the ith user to the $j$ th item. The performance is then measured using Root Mean Squared Error (RMSE). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
650,
|
| 88 |
+
823,
|
| 89 |
+
733
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Training very deep autoencoders is non trivial both from optimization and regularization points of view. Early works on training auto-enocoders adapted layer-wise pre-training to solve optimization issues (Hinton & Salakhutdinov, 2006). In this work, we empirically show that optimization difficulties of training deep autoencoders can be solved by using scaled exponential linear units $( S E L U s ,$ )(Klambauer et al., 2017). This enables training without any layer-wise pre-training or residual connections. Since publicly available data sets for CF are relatively small, sufficiently large models can easily overfit. To prevent overfitting we employ heavy dropout with drop probability as high as 0.8. We also introduce a new output re-feeding training algorithm which helps to bypass the natural sparseness of updates in collaborative filtering and helps to further improve the model performance. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
741,
|
| 99 |
+
825,
|
| 100 |
+
880
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "1.1 RELATED WORK ",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
176,
|
| 110 |
+
103,
|
| 111 |
+
326,
|
| 112 |
+
117
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Deep learning (LeCun et al., 2015) has led to breakthroughs in image recognition, natural language understanding, and reinforcement learning. Naturally, these successes fuel an interest for using deep learning in recommender systems. First attempts at using deep learning for recommender systems involved restricted Boltzman machines (RBM) (Salakhutdinov et al., 2007). Several recent approaches use autoencoders (Sedhain et al., 2015; Strub & Mary, 2015), feed-forward neural networks (He et al., 2017), neural autoregressive architectures (Zheng et al., 2016) and recurrent recommender networks (Wu et al., 2017). Many popular matrix factorization techniques can be thought of as a form of dimensionality reduction. It is, therefore, natural to adapt deep autoencoders for this task as well. I-AutoRec (item-based autoencoder) and $U _ { ☉ }$ -AutoRec (user-based autoencoder) are first successful attempts to do so Sedhain et al. (2015). Stacked de-noising autoencoders has been sucesfully used on this task as well (Li et al., 2015; Wang et al., 2015). ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
140,
|
| 122 |
+
825,
|
| 123 |
+
292
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "There are many non deep learning types of approaches to collaborative filtering (CF) (Breese et al., 1998; Ricci et al., 2011). Matrix factorization techniques, such as alternating least squares (ALS) (Kim & Park, 2008; Koren et al., 2009) and probabilistic matrix factorization (Mnih & Salakhutdinov, 2008) are particularly popular. The most robust systems may incorporate several ideas together such as the winning solution to the Netflix Prize competition (Koren, 2009). Note that Netflix Prize data also includes temporal signal - time when each rating has been made. Thus, several classic CF approaches has been extended to incorporate temporal information such as TimeSVD $^ { + + }$ Koren (2010), as well as more recent RNN-based techniques such as recurrent recommender networks Wu et al. (2017). ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
299,
|
| 133 |
+
825,
|
| 134 |
+
425
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "2 MODEL ",
|
| 141 |
+
"text_level": 1,
|
| 142 |
+
"bbox": [
|
| 143 |
+
174,
|
| 144 |
+
472,
|
| 145 |
+
267,
|
| 146 |
+
488
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "Our model is inspired by $U$ -AutoRec approach with several important distinctions. We train much deeper models. To enable this without any pre-training, we: a) use “scaled exponential linear units” (SELUs) Klambauer et al. (2017), b) use high dropout rates, and d) use iterative output re-feeding during training. ",
|
| 153 |
+
"bbox": [
|
| 154 |
+
174,
|
| 155 |
+
518,
|
| 156 |
+
825,
|
| 157 |
+
575
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "An autoencoder is a network which implements two transformations - encoder $e n c o d e ( x ) : R ^ { n } \\to$ $R ^ { d }$ and $d e c o d e r ( z ) : R ^ { d } \\to R ^ { n }$ . The “goal” of autoenoder is to obtain $d$ dimensional representation of data such that an error measure between $x$ and $f ( x ) = d e c o d e ( e n c o d e ( x ) )$ is minimized Hinton & Zemel (1994). Figure 1 depicts typical 4-layer autoencoder network. If noise is added to the data during encoding step, the autoencoder is called de-noising. Autoencoder is an excellent tool for dimensionality reduction and can be thought of as a strict generalization of principle component analysis (PCA) Hinton & Salakhutdinov (2006). An autoencoder without non-linear activations and only with “code” layer should be able to learn PCA transformation in the encoder if trained to optimize mean squared error (MSE) loss. ",
|
| 164 |
+
"bbox": [
|
| 165 |
+
174,
|
| 166 |
+
582,
|
| 167 |
+
825,
|
| 168 |
+
707
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "In our model, both encoder and decoder parts of the autoencoder consist of feed-forward neural networks with classical fully connected layers computing $l = f ( W * x + b )$ , where $f$ is some nonlinear activation function. If range of the activation function is smaller than that of data, the last layer of the decoder should be kept linear. We found it to be very important for activation function $f$ in hidden layers to contain non-zero negative part, and we use SELU units in most of our experiments (see Section 3.2 for details). ",
|
| 175 |
+
"bbox": [
|
| 176 |
+
174,
|
| 177 |
+
714,
|
| 178 |
+
825,
|
| 179 |
+
797
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "If decoder mirrors encoder architecture (as it does in our model), then one can constrain decoder’s weights $\\boldsymbol { W } _ { d } ^ { l }$ to be equal to transposed encoder weights $W _ { e } ^ { l }$ from the corresponding layer $l$ . Such autoencoder is called constrained or tied and has almost two times less free parameters than unconstrained one. ",
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
805,
|
| 189 |
+
823,
|
| 190 |
+
861
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "Forward pass and inference. During forward pass (and inference) the model takes user represented by his vector of ratings from the training set $x \\in R ^ { n }$ , where $n$ is number of items. Note that $x$ is very sparse, while the output of the decoder, $f ( x ) \\in R ^ { n }$ is dense and contains rating predictions for all items in the corpus. ",
|
| 197 |
+
"bbox": [
|
| 198 |
+
174,
|
| 199 |
+
867,
|
| 200 |
+
823,
|
| 201 |
+
924
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "2.1 LOSS FUNCTION ",
|
| 208 |
+
"text_level": 1,
|
| 209 |
+
"bbox": [
|
| 210 |
+
174,
|
| 211 |
+
103,
|
| 212 |
+
328,
|
| 213 |
+
117
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 2
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "Since it doesn’t make sense to predict zeros in user’s representation vector $x$ , we follow the approach from Sedhain et al. (2015) and optimize Masked Mean Squared Error loss: ",
|
| 220 |
+
"bbox": [
|
| 221 |
+
171,
|
| 222 |
+
130,
|
| 223 |
+
823,
|
| 224 |
+
159
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 2
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "equation",
|
| 230 |
+
"img_path": "images/1897d4b1db1749e191b172c3dd7d98ae749d38dd07fd68a752082ec3404f525a.jpg",
|
| 231 |
+
"text": "$$\nM M S E = \\frac { m _ { i } * ( r _ { i } - y _ { i } ) ^ { 2 } } { \\sum _ { i = 0 } ^ { i = n } m _ { i } }\n$$",
|
| 232 |
+
"text_format": "latex",
|
| 233 |
+
"bbox": [
|
| 234 |
+
403,
|
| 235 |
+
164,
|
| 236 |
+
594,
|
| 237 |
+
203
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "where $r _ { i }$ is actual rating, $y _ { i }$ is reconstructed, or predicted rating, and $m _ { i }$ is a mask function such that $m _ { i } = 1$ if $r _ { i } \\neq 0$ else $m _ { i } = 0$ . Note that there is a straightforward relation between RMSE score and MMSE score: $R M S E = \\sqrt { M M S E }$ . ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
207,
|
| 247 |
+
823,
|
| 248 |
+
251
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "2.2 DENSE RE-FEEDING ",
|
| 255 |
+
"text_level": 1,
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
268,
|
| 259 |
+
354,
|
| 260 |
+
282
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "During training and inference, an input $x \\in R ^ { n }$ is very sparse because no user can realistically rate but a tiny fractions of all items. This poses problem for model training. Bayesian approches can be used to overcome this issue (Wang et al., 2015). On the other hand, autoencoder’s output $f ( x )$ is dense. Lets consider an idealized scenario with a perfect $f$ . Then $f ( x ) _ { i } = x _ { i } , \\forall i : x _ { i } \\neq 0$ and $f ( { \\boldsymbol { x } } ) _ { i }$ accurately predicts all user’s future ratings for items $i : x _ { i } = 0$ . This means that if user rates new item $k$ (thereby creating a new vector $x ^ { \\prime }$ ) then $f ( x ) _ { k } = x _ { k } ^ { \\prime }$ and $f ( x ) = f ( x ^ { \\prime } )$ . Hence, in this idealized scenario, $y = f ( x )$ should be a fixed point of a well trained autoencoder: $f ( y ) = y$ . ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
294,
|
| 270 |
+
825,
|
| 271 |
+
392
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "To explicitly enforce fixed-point constraint and to be able to perform dense training updates, we augment every optimization iteration with an iterative dense re-feeding steps (3 and 4 below) as follows: ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
176,
|
| 280 |
+
398,
|
| 281 |
+
825,
|
| 282 |
+
440
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "1. Given sparse $x$ , compute dense $f ( x )$ and loss using equation 1 (forward pass) \n2. Compute gradients and perform weight update (backward pass) \n3. Treat $f ( x )$ as a new example and compute $f ( f ( x ) )$ . Now both $f ( x )$ and $f ( f ( x ) )$ are dense \nand the loss from equation 1 has all $m$ as non-zeros. (second forward pass) \n4. Compute gradients and perform weight update (second backward pass) ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
210,
|
| 291 |
+
452,
|
| 292 |
+
825,
|
| 293 |
+
539
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "Steps (3) and (4) can be also performed more than once for every iteration. ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
176,
|
| 302 |
+
549,
|
| 303 |
+
663,
|
| 304 |
+
564
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "3 EXPERIMENTS AND RESULTS ",
|
| 311 |
+
"text_level": 1,
|
| 312 |
+
"bbox": [
|
| 313 |
+
176,
|
| 314 |
+
583,
|
| 315 |
+
449,
|
| 316 |
+
599
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 2
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "3.1 EXPERIMENT SETUP ",
|
| 323 |
+
"text_level": 1,
|
| 324 |
+
"bbox": [
|
| 325 |
+
176,
|
| 326 |
+
614,
|
| 327 |
+
356,
|
| 328 |
+
630
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "For the rating prediction task, it is often most relevant to predict future ratings given the past ones instead of predicting ratings missing at random. For evaluation purposes we followed Wu et al. (2017) exactly by splitting the original Netflix Prize Bennett et al. (2007) training set into several training and testing intervals based on time. Training interval contains ratings which came in earlier than the ones from testing interval. Testing interval is then randomly split into Test and Validation subsets so that each rating from testing interval has a $50 \\%$ chance of appearing in either subset. Users and items that do not appear in the training set are removed from both test and validation subsets. Table 1 provides details on the data sets.2 ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
173,
|
| 337 |
+
641,
|
| 338 |
+
825,
|
| 339 |
+
752
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "For most of our experiments we uses a batch size of 128, trained using SGD with momentum of 0.9 and learning rate of 0.001. We used xavier initialization to initialize parameters. Note, that unlike Strub & Mary (2015) we did not use any layer-wise pre-training. We believe that we were able to do so successfully because of choosing the right activation function (see Section 3.2). ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
760,
|
| 349 |
+
825,
|
| 350 |
+
815
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 2
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "3.2 EFFECTS OF THE ACTIVATION TYPES ",
|
| 357 |
+
"text_level": 1,
|
| 358 |
+
"bbox": [
|
| 359 |
+
178,
|
| 360 |
+
833,
|
| 361 |
+
467,
|
| 362 |
+
847
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 2
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "To explore the effects of using different activation functions, we tested some of the most popular choices in deep learning : sigmoid, “rectified linear units” (RELU), $m a x ( r e l u ( x ) , 6 )$ or RELU6, hyperbolic tangent (TANH), “exponential linear units” (ELU) (Clevert et al., 2015), leaky relu (LRELU) (Xu et al., 2015) , “self-gated activation function” (SWISH) (Ramachandran et al., 2017), and “scaled exponential linear units” (Klambauer et al., 2017) (SELU) on the 4 layer autoencoder with 128 units in each hidden layer. Because ratings are on the scale from 1 to 5, we keep last layer of the decoder linear for sigmoid and tanh-based models. In all other models activation function is applied in all layers. ",
|
| 369 |
+
"bbox": [
|
| 370 |
+
176,
|
| 371 |
+
858,
|
| 372 |
+
823,
|
| 373 |
+
887
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "image",
|
| 379 |
+
"img_path": "images/09a17f90285f07af06cb356344fc9c7e4c66332e57baa5666e3e4a13acf00cc6.jpg",
|
| 380 |
+
"image_caption": [
|
| 381 |
+
"Figure 1: AutoEncoder consists of two neural networks, encoder and decoder, fused together on the “representation” layer $z$ . Encoder has 2 layers $e _ { 1 }$ and $e _ { 2 }$ and decoder has 2 layers $d _ { 1 }$ and $d _ { 2 }$ . Dropout may be applied to coding layer $z$ . "
|
| 382 |
+
],
|
| 383 |
+
"image_footnote": [],
|
| 384 |
+
"bbox": [
|
| 385 |
+
212,
|
| 386 |
+
103,
|
| 387 |
+
787,
|
| 388 |
+
388
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "table",
|
| 394 |
+
"img_path": "images/98febd8b2de97993caeb17fa47cd2eb95b84983871e8e9652b9662c8b7406a28.jpg",
|
| 395 |
+
"table_caption": [
|
| 396 |
+
"Table 1: Subsets of Netflix Prize training set used in our experiments. We made sure that these splits match exactly the ones used in (Wu et al., 2017). "
|
| 397 |
+
],
|
| 398 |
+
"table_footnote": [],
|
| 399 |
+
"table_body": "<table><tr><td></td><td>Full</td><td>3 months</td><td>6 months</td><td>1 year</td></tr><tr><td></td><td></td><td></td><td>06/05-11/05</td><td></td></tr><tr><td>Training Users</td><td>12/99-11/05 477,412</td><td>09/05-11/05 311,315</td><td>390,795</td><td>06/04-05/05 345,855</td></tr><tr><td>Ratings</td><td>98,074,901</td><td>13,675,402</td><td>29,179,009</td><td>41,451,832</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Testing Users</td><td>12/05</td><td>12/05</td><td>12/05</td><td>06/05</td></tr></table>",
|
| 400 |
+
"bbox": [
|
| 401 |
+
259,
|
| 402 |
+
535,
|
| 403 |
+
738,
|
| 404 |
+
679
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "",
|
| 411 |
+
"bbox": [
|
| 412 |
+
173,
|
| 413 |
+
748,
|
| 414 |
+
825,
|
| 415 |
+
833
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 3
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "We found that on this task ELU, SELU and LRELU perform much better than SIGMOID, RELU, RELU6, TANH and SWISH. Figure 2 clearly demonstrates this. There are two properties which seems to separate activations which perform well from those which do not: a) non-zero negative part and b) unbounded positive part. Hence, we conclude, that in this setting these properties are important for successful training. Thus, we use SELU activation units and tune SELU-based networks for performance. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
173,
|
| 424 |
+
839,
|
| 425 |
+
825,
|
| 426 |
+
924
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "image",
|
| 432 |
+
"img_path": "images/aec9a2eced5f723ac04e892d3f29d7e2ede096781d457488e2eaddd2ec164ecb.jpg",
|
| 433 |
+
"image_caption": [
|
| 434 |
+
"Figure 2: Training RMSE per mini-batch. All lines correspond to 4-layers autoencoder (2 layer encoder and 2 layer decoder) with hidden unit dimensions of 128. Different line colors correspond to different activation functions. TANH and SIGMOID lines are very similar as well as lines for ELU and SELU. The best performing activation functions are ELU and SELU. "
|
| 435 |
+
],
|
| 436 |
+
"image_footnote": [],
|
| 437 |
+
"bbox": [
|
| 438 |
+
173,
|
| 439 |
+
106,
|
| 440 |
+
816,
|
| 441 |
+
348
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 4
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "3.3 OVER-FITTING THE DATA ",
|
| 448 |
+
"text_level": 1,
|
| 449 |
+
"bbox": [
|
| 450 |
+
174,
|
| 451 |
+
452,
|
| 452 |
+
388,
|
| 453 |
+
467
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 4
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "The largest data set we use for training, “Netflix Full” from Table 1, contains 98M ratings given by 477K users. Number of movies (e.g. items) in this set is $n = 1 7$ , 768. Therefore, the first layer of encoder will have $d * n + d$ weights, where $d$ is number of units in the layer. ",
|
| 460 |
+
"bbox": [
|
| 461 |
+
174,
|
| 462 |
+
478,
|
| 463 |
+
823,
|
| 464 |
+
521
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "For modern deep learning algorithms and hardware this is relatively small task. If we start with single layer encoders and decoders we can quickly overfit to the training data even for $d$ as small as 512. Figure 3 clearly demonstrates this. Switching from unconstrained autoencoder to constrained reduces over-fitting, but does not completely solve the problem. ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
174,
|
| 473 |
+
527,
|
| 474 |
+
825,
|
| 475 |
+
583
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "image",
|
| 481 |
+
"img_path": "images/63b7bb1ea66cdf6bb9ca0bb346e6100321c6a5f1f9ea9693554e275cb0692ba0.jpg",
|
| 482 |
+
"image_caption": [
|
| 483 |
+
"Figure 3: Single layer autoencoder with 128, 256, 512 and 1024 hidden units in the coding layer. A: training RMSE per epoch; B: evaluation RMSE per epoch. "
|
| 484 |
+
],
|
| 485 |
+
"image_footnote": [],
|
| 486 |
+
"bbox": [
|
| 487 |
+
173,
|
| 488 |
+
599,
|
| 489 |
+
825,
|
| 490 |
+
756
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 4
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "3.4 GOING DEEPER ",
|
| 497 |
+
"text_level": 1,
|
| 498 |
+
"bbox": [
|
| 499 |
+
174,
|
| 500 |
+
828,
|
| 501 |
+
320,
|
| 502 |
+
842
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "While making layers wider helps bring training loss down, adding more layers is often correlated with a network’s ability to generalize. In this set of experiments we show that this is indeed the case here. We choose small enough dimensionality $d = 1 2 8$ ) for all hidden layers to easily avoid over-fitting and start adding more layers. Table 2 shows that there is a positive correlation between the number of layers and the evaluation accuracy. ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
174,
|
| 511 |
+
853,
|
| 512 |
+
825,
|
| 513 |
+
924
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "table",
|
| 519 |
+
"img_path": "images/88fcfcca1263e20a032f9acfaef74ea8491daebbea86756b7bd10814e85b9e95.jpg",
|
| 520 |
+
"table_caption": [
|
| 521 |
+
"Table 2: Depth helps generalization. Evaluation RMSE of the models with different number of layers. In all cases the hidden layer dimension is 128. "
|
| 522 |
+
],
|
| 523 |
+
"table_footnote": [],
|
| 524 |
+
"table_body": "<table><tr><td>Number of layers</td><td>Evaluation RMSE</td><td>params</td></tr><tr><td></td><td></td><td></td></tr><tr><td>2</td><td>1.146</td><td>4,566,504</td></tr><tr><td>4</td><td>0.9615</td><td>4,599,528</td></tr><tr><td>6</td><td>0.9378</td><td>4,632,552</td></tr><tr><td>8 10</td><td>0.9364</td><td>4,665,576</td></tr><tr><td>12</td><td>0.9340 0.9328</td><td>4,698,600</td></tr><tr><td></td><td></td><td>4,731,624</td></tr></table>",
|
| 525 |
+
"bbox": [
|
| 526 |
+
310,
|
| 527 |
+
145,
|
| 528 |
+
687,
|
| 529 |
+
273
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 5
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "Going from one layer in encoder and decoder to three layers in both provides good improvement in evaluation RMSE (from 1.146 to 0.9378). After that, blindly adding more layers does help, however it provides diminishing returns. Note that the model with single $d \\ : = \\ : 2 5 6$ layer in encoder and decoder has 9,115,240 parameters which is almost two times more than any of these deep models while having much worse evauation RMSE (above 1.0). ",
|
| 536 |
+
"bbox": [
|
| 537 |
+
174,
|
| 538 |
+
320,
|
| 539 |
+
825,
|
| 540 |
+
390
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 5
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "3.5 DROPOUT ",
|
| 547 |
+
"text_level": 1,
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
407,
|
| 551 |
+
284,
|
| 552 |
+
422
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Section 3.4 shows us that adding too many small layers eventually hits diminishing returns. Thus, we start experimenting with model architecture and hyper-parameters more broadly. Our most promising model has the following architecture: $n , 5 1 2 , 5 1 2 , 1 0 2 4 , 5 1 2 , 5 1 2 , n .$ , which means 3 layers in encoder (512,512,1024), coding layer of 1024 and 3 layers in decoder of size 512,512,n. This model, however, quickly over-fits if trained with no regularization. To regularize it, we tried several dropout values and, interestingly, very high values of drop probability (e.g. 0.8) turned out to be the best. See Figure 4 for evaluation RMSE. We apply dropout on the encoder output only, e.g. $f ( x ) = d e c o d e ( d r o p o u t ( e n c o d e ( x ) ) )$ . We tried applying dropout after every layer of the model but that stifled training convergence and did not improve generalization. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
173,
|
| 561 |
+
434,
|
| 562 |
+
825,
|
| 563 |
+
560
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "image",
|
| 569 |
+
"img_path": "images/1d42da41c3ad8938ff124090a7abb4a7d64268bb5591f52f0509568c13480560.jpg",
|
| 570 |
+
"image_caption": [
|
| 571 |
+
"Figure 4: Effects of dropout. Y-axis: evaluation RMSE, X-axis: epoch number. Model with no dropout (Drop Prob 0.0) clearly over-fits. Model with drop probability of 0.5 over-fits as well (but much slowly). Models with drop probabilities of 0.65 and 0.8 result in RMSEs of 0.9192 and 0.9183 correspondingly. "
|
| 572 |
+
],
|
| 573 |
+
"image_footnote": [],
|
| 574 |
+
"bbox": [
|
| 575 |
+
297,
|
| 576 |
+
573,
|
| 577 |
+
699,
|
| 578 |
+
732
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "3.6 DENSE RE-FEEDING ",
|
| 585 |
+
"text_level": 1,
|
| 586 |
+
"bbox": [
|
| 587 |
+
176,
|
| 588 |
+
842,
|
| 589 |
+
352,
|
| 590 |
+
856
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 5
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Iterative dense re-feeding (see Section 2.2) provides us with additional improvement in evaluation accuracy for our 6-layer-model: $n$ , 512, 512, 1024, $d p ( 0 . 8 )$ , 512, 512, $n$ (referred to as Baseline below). Here each parameter denotes the number of inputs, hidden units, or outputs and $d p ( 0 . 8 )$ is a dropout layer with a drop probability of 0.8. Just applying output re-feeding did not have significant impact on the model performance. However, in conjunction with the higher learning rate, it did significantly increase the model performance. Note, that with this higher learning rate (0.005) but without dense re-feeding, the model started to diverge. See Figure 5 for details. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
867,
|
| 600 |
+
823,
|
| 601 |
+
924
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 5
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "table",
|
| 607 |
+
"img_path": "images/89ef14c3de00dd1d762baf07ab626bac7c2f3f10836603e833ad767ad6532fab.jpg",
|
| 608 |
+
"table_caption": [
|
| 609 |
+
"Table 3: Test RMSE of different models. I-AR, U-AR and RRN numbers are taken from (Wu et al., 2017) "
|
| 610 |
+
],
|
| 611 |
+
"table_footnote": [],
|
| 612 |
+
"table_body": "<table><tr><td>DataSet</td><td>I-AR</td><td>U-AR</td><td>RRN</td><td>DeepRec</td></tr><tr><td rowspan=\"3\">Netflix 3 months Netfix Full</td><td></td><td></td><td></td><td></td></tr><tr><td>0.9778</td><td>0.9836</td><td>0.9427</td><td>0.9373</td></tr><tr><td>0.9364</td><td>0.9647</td><td>0.9224</td><td>0.9099</td></tr></table>",
|
| 613 |
+
"bbox": [
|
| 614 |
+
294,
|
| 615 |
+
143,
|
| 616 |
+
702,
|
| 617 |
+
218
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 6
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "",
|
| 624 |
+
"bbox": [
|
| 625 |
+
174,
|
| 626 |
+
275,
|
| 627 |
+
825,
|
| 628 |
+
318
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 6
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "image",
|
| 634 |
+
"img_path": "images/b589cd81bc68f7c0374d34eb5d18286cf197a9628be19ee2e0751e9faaaf5554.jpg",
|
| 635 |
+
"image_caption": [
|
| 636 |
+
"Figure 5: Effects of dense re-feeding. Y-axis: evaluation RMSE, $\\mathbf { X }$ -axis: epoch number. Baseline model was trained with learning rate of 0.001. Applying re-feeding step with the same learning rate almost did not help (Baseline RF). Learning rate of 0.005 (Baseline LR 0.005) is too big for baseline model without re-feeding. However, increasing both learning rate and applying re-feeding step clearly helps (Baseline LR 0.005 RF). "
|
| 637 |
+
],
|
| 638 |
+
"image_footnote": [],
|
| 639 |
+
"bbox": [
|
| 640 |
+
299,
|
| 641 |
+
344,
|
| 642 |
+
694,
|
| 643 |
+
535
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 6
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "Applying dense re-feeding and increasing the learning rate, allowed us to further improve the evaluation RMSE from 0.9167 to 0.9100. Picking a checkpoint with best evaluation RMSE and computing test RMSE gives as 0.9099, which we believe is significantly better than other methods. ",
|
| 650 |
+
"bbox": [
|
| 651 |
+
176,
|
| 652 |
+
660,
|
| 653 |
+
825,
|
| 654 |
+
702
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 6
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "text",
|
| 660 |
+
"text": "3.7 COMPARISON WITH OTHER METHODS ",
|
| 661 |
+
"text_level": 1,
|
| 662 |
+
"bbox": [
|
| 663 |
+
176,
|
| 664 |
+
732,
|
| 665 |
+
473,
|
| 666 |
+
746
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 6
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "We compare our best model with Recurrent Recommender Network from Wu et al. (2017) which has been shown to outperform PMF (Mnih & Salakhutdinov, 2008), T-SVD (Koren, 2010) and I/UAR (Sedhain et al., 2015) on the data we use (see Table 1 for data description). Note, that unlike T-SVD and RRN, our method does not explicitly take into account temporal dynamics of ratings. Yet, Table 3 shows that it is still capable of outperforming these methods on future rating prediction task. We train each model using only the training set and compute evaluation RMSE for 100 epochs. Then the checkpoint with the highest evaluation RMSE is tested on the test set. ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
174,
|
| 675 |
+
762,
|
| 676 |
+
825,
|
| 677 |
+
861
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 6
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "“Netflix 3 months” has 7 times less training data compared to “Netflix full”, it is therefore, not surprising that the model’s performance is significantly worse if trained on this data alone (0.9373 vs 0.9099). In fact, the model that performs best on “Netflix full” over-fits on this set, and we had to reduce the model’s complexity accordingly (see Table 4 for details). ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
174,
|
| 686 |
+
867,
|
| 687 |
+
823,
|
| 688 |
+
924
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 6
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "table",
|
| 694 |
+
"img_path": "images/89907b1ebad481827acd0332cbbaef5f201eabc2a54538f92e01b86f1cd34677.jpg",
|
| 695 |
+
"table_caption": [
|
| 696 |
+
"Table 4: Test RMSE achieved by DeepRec on different Netflix subsets. All models are trained with one iterative output re-feeding step per each iteration. "
|
| 697 |
+
],
|
| 698 |
+
"table_footnote": [],
|
| 699 |
+
"table_body": "<table><tr><td>DataSet</td><td>RMSE</td><td>Model Architecture</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Netflix 3 months</td><td>0.9373</td><td>n,128,256,256,dp(0.65),256,128,n</td></tr><tr><td>Netflix 6 months</td><td>0.9207</td><td>n,256,256,512,dp(0.8),256,256,n</td></tr><tr><td>Netflix 1 year</td><td>0.9225</td><td>n,256,256,512,dp(0.8),256,256, n</td></tr><tr><td>Netfix Full</td><td>0.9099</td><td>n,512,512,1024,dp(0.8),512,512, n</td></tr></table>",
|
| 700 |
+
"bbox": [
|
| 701 |
+
263,
|
| 702 |
+
145,
|
| 703 |
+
733,
|
| 704 |
+
247
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 7
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "4 CONCLUSION ",
|
| 711 |
+
"text_level": 1,
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
290,
|
| 715 |
+
320,
|
| 716 |
+
306
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 7
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Deep learning has revolutionized many areas of machine learning, and it is poised do so with recommender systems as well. In this paper we demonstrated how very deep autoencoders can be successfully trained even on relatively small amounts of data by using both well established (dropout) and relatively recent (“scaled exponential linear units”) deep learning techniques. Further, we introduced iterative output re-feeding - a technique which allowed us to perform dense updates in collaborative filtering, increase learning rate and further improve generalization performance of our model. On the task of future rating prediction, our model outperforms other approaches even without using additional temporal signals. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
321,
|
| 726 |
+
825,
|
| 727 |
+
434
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 7
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "While our code supports item-based model (such as I-AutoRec) we argue that this approach is less practical than user-based model (U-AutoRec). This is because in real-world recommender systems, there are usually much more users then items. Finally, when building personalized recommender system and faced with scaling problems, it can be acceptable to sample items but not users. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
440,
|
| 737 |
+
825,
|
| 738 |
+
497
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 7
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 745 |
+
"text_level": 1,
|
| 746 |
+
"bbox": [
|
| 747 |
+
176,
|
| 748 |
+
513,
|
| 749 |
+
326,
|
| 750 |
+
526
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "We thank the author of (Wu et al., 2017), Chao-Yuan Wu, for fruitfull discussion and help validating our data sets. ",
|
| 757 |
+
"bbox": [
|
| 758 |
+
176,
|
| 759 |
+
536,
|
| 760 |
+
823,
|
| 761 |
+
564
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 7
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "REFERENCES ",
|
| 768 |
+
"text_level": 1,
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
585,
|
| 772 |
+
285,
|
| 773 |
+
602
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "Gediminas Adomavicius and Alexander Tuzhilin. Context-aware recommender systems. In Recommender systems handbook, pp. 217–253. Springer, 2011. ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
174,
|
| 782 |
+
609,
|
| 783 |
+
821,
|
| 784 |
+
638
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 7
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "James Bennett, Stan Lanning, and Netflix Netflix. The netflix prize. In In KDD Cup and Workshop in conjunction with KDD, 2007. ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
173,
|
| 793 |
+
647,
|
| 794 |
+
823,
|
| 795 |
+
676
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "John S. Breese, David Heckerman, and Carl Kadie. Empirical analysis of predictive algorithms for collaborative filtering. In Proceedings of the Fourteenth Conference on Uncertainty in Artificial Intelligence, UAI’98, pp. 43–52, San Francisco, CA, USA, 1998. Morgan Kaufmann Publishers Inc. ISBN 1-55860-555-X. URL http://dl.acm.org/citation.cfm?id=2074094. 2074100. ",
|
| 802 |
+
"bbox": [
|
| 803 |
+
173,
|
| 804 |
+
685,
|
| 805 |
+
825,
|
| 806 |
+
756
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "Djork-Arne Clevert, Thomas Unterthiner, and Sepp Hochreiter. Fast and accurate deep network´ learning by exponential linear units (elus). arXiv preprint arXiv:1511.07289, 2015. ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
171,
|
| 815 |
+
765,
|
| 816 |
+
823,
|
| 817 |
+
795
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 7
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. Neural collaborative filtering. In Proceedings of the 26th International Conference on World Wide Web, pp. 173–182. International World Wide Web Conferences Steering Committee, 2017. ",
|
| 824 |
+
"bbox": [
|
| 825 |
+
176,
|
| 826 |
+
804,
|
| 827 |
+
821,
|
| 828 |
+
848
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 7
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. science, 313(5786):504–507, 2006. ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
174,
|
| 837 |
+
857,
|
| 838 |
+
821,
|
| 839 |
+
886
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 7
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "Geoffrey E Hinton and Richard S. Zemel. Autoencoders, minimum description length and helmholtz free energy. In J. D. Cowan, G. Tesauro, and J. Alspector (eds.), Advances in Neural Information Processing Systems 6, pp. 3– 10. Morgan-Kaufmann, 1994. URL http://papers.nips.cc/paper/ 798-autoencoders-minimum-description-length-and-helmholtz-free-energy. pdf. ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
176,
|
| 848 |
+
895,
|
| 849 |
+
820,
|
| 850 |
+
924
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 7
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "",
|
| 857 |
+
"bbox": [
|
| 858 |
+
187,
|
| 859 |
+
103,
|
| 860 |
+
879,
|
| 861 |
+
160
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 8
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Hyunsoo Kim and Haesun Park. Nonnegative matrix factorization based on alternating nonnegativity constrained least squares and active set method. SIAM journal on matrix analysis and applications, 30(2):713–730, 2008. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
176,
|
| 870 |
+
169,
|
| 871 |
+
825,
|
| 872 |
+
212
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Gunter Klambauer, Thomas Unterthiner, Andreas Mayr, and Sepp Hochreiter. Self-normalizing ¨ neural networks. arXiv preprint arXiv:1706.02515, 2017. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
219,
|
| 882 |
+
823,
|
| 883 |
+
250
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 8
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "Yehuda Koren. The bellkor solution to the netflix grand prize. Netflix prize documentation, 81:1–10, 2009. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
174,
|
| 892 |
+
257,
|
| 893 |
+
823,
|
| 894 |
+
287
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 8
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "Yehuda Koren. Collaborative filtering with temporal dynamics. Communications of the ACM, 53 (4):89–97, 2010. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
174,
|
| 903 |
+
295,
|
| 904 |
+
823,
|
| 905 |
+
325
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 8
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8), 2009. ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
333,
|
| 915 |
+
823,
|
| 916 |
+
363
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 8
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
173,
|
| 925 |
+
371,
|
| 926 |
+
823,
|
| 927 |
+
401
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 8
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "Sheng Li, Jaya Kawale, and Yun Fu. Deep collaborative filtering via marginalized denoising autoencoder. In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, pp. 811–820. ACM, 2015. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
174,
|
| 936 |
+
409,
|
| 937 |
+
823,
|
| 938 |
+
452
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 8
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "Andriy Mnih and Ruslan R Salakhutdinov. Probabilistic matrix factorization. In Advances in neural information processing systems, pp. 1257–1264, 2008. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
173,
|
| 947 |
+
460,
|
| 948 |
+
823,
|
| 949 |
+
489
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 8
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Prajit Ramachandran, Barret Zoph, and Quoc V Le. Swish: a self-gated activation function. arXiv preprint arXiv:1710.05941, 2017. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
174,
|
| 958 |
+
497,
|
| 959 |
+
821,
|
| 960 |
+
527
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "Francesco Ricci, Lior Rokach, and Bracha Shapira. Introduction to recommender systems handbook. In Recommender systems handbook, pp. 1–35. Springer, 2011. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
173,
|
| 969 |
+
535,
|
| 970 |
+
823,
|
| 971 |
+
565
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Ruslan Salakhutdinov, Andriy Mnih, and Geoffrey Hinton. Restricted boltzmann machines for collaborative filtering. In Proceedings of the 24th international conference on Machine learning, pp. 791–798. ACM, 2007. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
173,
|
| 980 |
+
573,
|
| 981 |
+
823,
|
| 982 |
+
617
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "Suvash Sedhain, Aditya Krishna Menon, Scott Sanner, and Lexing Xie. Autorec: Autoencoders meet collaborative filtering. In Proceedings of the 24th International Conference on World Wide Web, pp. 111–112. ACM, 2015. ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
173,
|
| 991 |
+
625,
|
| 992 |
+
823,
|
| 993 |
+
667
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 8
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Florian Strub and Jer´ emie Mary. Collaborative filtering with stacked denoising autoencoders and ´ sparse inputs. In NIPS workshop on machine learning for eCommerce, 2015. ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
169,
|
| 1002 |
+
676,
|
| 1003 |
+
823,
|
| 1004 |
+
707
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 8
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Hao Wang, Naiyan Wang, and Dit-Yan Yeung. Collaborative deep learning for recommender systems. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1235–1244. ACM, 2015. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
174,
|
| 1013 |
+
714,
|
| 1014 |
+
823,
|
| 1015 |
+
758
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 8
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Chao-Yuan Wu, Amr Ahmed, Alex Beutel, Alexander J. Smola, and How Jing. Recurrent recommender networks. In Proceedings of the Tenth ACM International Conference on Web Search and Data Mining, WSDM ’17, pp. 495–503, New York, NY, USA, 2017. ACM. ISBN 978- 1-4503-4675-7. doi: 10.1145/3018661.3018689. URL http://doi.acm.org/10.1145/ 3018661.3018689. ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
174,
|
| 1024 |
+
766,
|
| 1025 |
+
825,
|
| 1026 |
+
837
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 8
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Bing Xu, Naiyan Wang, Tianqi Chen, and Mu Li. Empirical evaluation of rectified activations in convolutional network. arXiv preprint arXiv:1505.00853, 2015. ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
173,
|
| 1035 |
+
844,
|
| 1036 |
+
821,
|
| 1037 |
+
875
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 8
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "Yin Zheng, Bangsheng Tang, Wenkui Ding, and Hanning Zhou. A neural autoregressive approach to collaborative filtering. arXiv preprint arXiv:1605.09477, 2016. ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
174,
|
| 1046 |
+
883,
|
| 1047 |
+
823,
|
| 1048 |
+
912
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 8
|
| 1051 |
+
}
|
| 1052 |
+
]
|
parse/train/SkNQeiRpb/SkNQeiRpb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkNQeiRpb/SkNQeiRpb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyzVb3CcFX/SyzVb3CcFX.md
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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UC Berkeley
|
| 4 |
+
|
| 5 |
+
Frederik Ebert UC Berkeley
|
| 6 |
+
|
| 7 |
+
Alyosha Efros UC Berkeley
|
| 8 |
+
|
| 9 |
+
Sergey Levine UC Berkeley
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
Prediction is arguably one of the most basic functions of an intelligent system. In general, the problem of predicting events in the future or between two waypoints is exceedingly difficult. However, most phenomena naturally pass through relatively predictable bottlenecks—while we cannot predict the precise trajectory of a robot arm between being at rest and holding an object up, we can be certain that it must have picked the object up. To exploit this, we decouple visual prediction from a rigid notion of time. While conventional approaches predict frames at regularly spaced temporal intervals, our time-agnostic predictors (TAP) are not tied to specific times so that they may instead discover predictable “bottleneck” frames no matter when they occur. We evaluate our approach for future and intermediate frame prediction across three robotic manipulation tasks. Our predictions are not only of higher visual quality, but also correspond to coherent semantic subgoals in temporally extended tasks.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
Imagine taking a bottle of water and laying it on its side. Consider what happens to the surface of the water as you do this: which times can you confidently make predictions about? The surface is initially flat, then becomes turbulent, until it is flat again, as shown in Fig 1. Predicting the exact shape of the turbulent liquid is extremely hard, but its easy to say that it will eventually settle down.
|
| 18 |
+
|
| 19 |
+
Prediction is thought to be fundamental to intelligence (Bar, 2009; Clark, 2013; Hohwy, 2013). If an agent can learn to predict the future, it can take anticipatory actions, plan through its predictions, and use prediction as a proxy for representation learning. The key difficulty in prediction is uncertainty. Visual prediction approaches attempt to mitigate uncertainty by predicting iteratively in heuristically chosen small timesteps, such as, say, $0 . 1 s$ . In the bottle-tilting case, such approaches generate blurry images of the chaotic states at $t = 0 . 1 s , 0 . 2 s , . . . ,$ , and this blurriness compounds to make predictions unusable within a few steps. Sophisticated probabilistic approaches have been proposed to better handle this uncertainty (Babaeizadeh et al., 2018; Lee et al., 2018; Denton & Fergus, 2018; Xue et al., 2016).
|
| 20 |
+
|
| 21 |
+
What if we instead change the goal of our prediction models? Fixed time intervals in prediction are in many ways an artifact of the fact that cameras and monitors record and display video at fixed frequencies. Rather than requiring predictions at regularly spaced future frames, we ask: if a frame prediction is treated as a bet on that frame occurring at some future point, what should we predict? Such time-agnostic prediction (TAP) has two immediate effects: (i) the predictor may skip more uncertain states in favor of less uncertain ones, and (ii) while in the standard approach, a prediction is wrong if it occurs at $t \pm \epsilon$ rather than at $t$ , our formulation considers such predictions equally correct.
|
| 22 |
+
|
| 23 |
+
Recall the bottle-tilting uncertainty profile. Fig 1 depicts uncertainty profiles for several other prediction settings, including both forward/future prediction (given a start frame) and intermediate prediction (given start and end frames). Our time-agnostic reframing of the prediction problem targets the minima of these profiles, where prediction is intuitively easiest. We refer to these minima states as “bottlenecks.”
|
| 24 |
+
|
| 25 |
+
At this point, one might ask: are these “easy” bottlenecks actually useful to predict? Intuitively, bottlenecks naturally correspond to reliable subgoals—an agent hoping to solve the maze in Fig 1 (e) would do well to target its bottlenecks as subgoals. In our experiments, we evaluate the usefulness of our predictions as subgoals in simulated robotic manipulation tasks.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: (a) Over time as the bottle is tilted, the uncertainty first rises and then falls as the bottle is held steady after tilting. (b)-(e) Similar uncertainty profiles corresponding to various scenarios—a ball rolling down the side of a bowl, a car driving on a highway with an exit $1 0 0 \mathrm { m }$ away, an iron pellet tossed in the direction of a magnet, and intermediate frame prediction in a maze traversal given start and end states. The red asterisks along the $\mathbf { X } ^ { } -$ -axis correspond to the asterisks in the maze—these “bottleneck” states must occur in any successful traversal.
|
| 29 |
+
|
| 30 |
+
Our main contributions are: (i) we reframe the video prediction problem to be time-agnostic, (ii) we propose a novel technical approach to solve this problem, (iii) we show that our approach effectively identifies “bottleneck states” across several tasks, and (iv) we show that these bottlenecks correspond to subgoals that aid in planning towards complex end goals.
|
| 31 |
+
|
| 32 |
+
# 2 RELATED WORK
|
| 33 |
+
|
| 34 |
+
Visual prediction approaches. Prior visual prediction approaches regress directly to future video frames in the pixel space (Ranzato et al., 2014; Oh et al., 2015) or in a learned feature space (Hadsell et al., 2006; Mobahi et al., 2009; Jayaraman & Grauman, 2015; Wang et al., 2016; Vondrick et al., 2016b; Kitani et al., 2012). The success of generative adversarial networks (GANs) (Goodfellow et al., 2014; Mirza & Osindero, 2014; Radford et al., 2015; Isola et al., 2017) has inspired many video prediction approaches (Mathieu et al., 2015; Vondrick et al., 2016a; Finn & Levine, 2017; Xue et al., 2016; Oh et al., 2015; Ebert et al., 2017; Finn et al., 2016; Larsen et al., 2016; Lee et al., 2018). While adversarial losses aid in producing photorealistic image patches, prediction has to contend with a more fundamental problem: uncertainty. Several approaches (Walker et al., 2016; Xue et al., 2016; Denton & Fergus, 2018; Lee et al., 2018; Larsen et al., 2016; Babaeizadeh et al., 2018) exploit conditional variational autoencoders (VAE) (Kingma & Welling, 2013) to train latent variable models for video prediction. Pixel-autoregression (Oord et al., 2016; van den Oord et al., 2016; Kalchbrenner et al., 2016) explicitly factorizes the joint distribution over all pixels to model uncertainty, at a high computational cost.
|
| 35 |
+
|
| 36 |
+
Like these prior approaches, we too address the uncertainty problem in video prediction. We propose a general time-agnostic prediction (TAP) framework for prediction tasks. While all prior work predicts at fixed time intervals, we aim to identify inherently low-uncertainty bottleneck frames with no associated timestamp. We show how TAP may be combined with conditional GANs as well as VAEs, to handle the residual uncertainty in its predictions.
|
| 37 |
+
|
| 38 |
+
Bottlenecks. In hierarchical reinforcement learning, bottlenecks are proposed for discovery of options (Sutton et al., 1999) in low-dimensional state spaces in (McGovern & Barto, 2001; S¸ ims¸ek & Barto, 2009; Bacon, 2013; Metzen, 2013). Most approaches (S¸ims¸ek & Barto, 2009; Bacon, 2013; Metzen, 2013) construct full transition graphs and apply notions of graph centrality to locate bottlenecks. A multi-instance learning approach is applied in (McGovern & Barto, 2001) to mine states that occur in successful trajectories but not in others. We consider the use of our bottleneck predictions as subgoals for a hierarchical planner, which is loosely related to options in that both aim to break down temporally extended trajectories into more manageable chunks. Unlike these prior works, we use predictability to identify bottlenecks, and apply this to unlabeled high-dimensional visual state trajectories.
|
| 39 |
+
|
| 40 |
+
Concurrently with us, Neitz et al. (2018) also propose a similar idea that allows a predictor to select when to predict, and their experiments demonstrate its advantages in specially constructed tasks with clear bottlenecks. In comparison, we propose not just the basic time-agnostic loss (Sec 3.1), but also improvements in Sec 3.2 through 3.5 that allow time-agnostic prediction to work in more general tasks such as synthetic and real videos of robotic object manipulation. Our experiments also test the quality of discovered bottlenecks in these scenarios and their usefulness as subgoals for hierarchical planning.
|
| 41 |
+
|
| 42 |
+
# 3 TIME-AGNOSTIC PREDICTION OF BOTTLENECK FRAMES
|
| 43 |
+
|
| 44 |
+
In visual prediction, the goal is to predict a set of unobserved target video frames given some observed context frames. In forward prediction, the context is the first frame, and the target is all future frames. In the bidirectionally conditioned prediction case, the context is the first and the last frame, and the frames in between are the target. In Fig 1, we may wish to predict future images of the tilting bottle, or intermediate images of an agent who traverses the maze successfully.
|
| 45 |
+
|
| 46 |
+
# 3.1 MINIMUM-OVER-TIME LOSS
|
| 47 |
+
|
| 48 |
+
In standard fixed-time video prediction models (Ranzato et al., 2014; Oh et al., 2015; Mathieu et al., 2015; Vondrick et al., 2016a; Walker et al., 2016; Finn & Levine, 2017; Xue et al., 2016; Oh et al., 2015; Ebert et al., 2017; Finn et al., 2016; Lee et al., 2018; Denton & Fergus, 2018), a frame $x _ { \tau }$ (video frame at time $\tau$ ) is selected in advance to be the training target for some given input frames $c$ . For instance, in a
|
| 49 |
+
|
| 50 |
+

|
| 51 |
+
Figure 2: The TAP minimum-over time loss.
|
| 52 |
+
|
| 53 |
+
typical forward prediction setup, the input may be $c = x _ { 0 }$ , and the target frame may be set to $x _ { \tau } = x _ { 1 }$ A predictor $G$ takes context frames $c$ as input and produces a single frame $G ( c )$ . $G$ is trained as:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \mathcal { L } _ { 0 } ( G ) = \underset { G } { \arg \operatorname* { m i n } } \mathcal { E } ( G ( c ) , x _ { \tau } ) ,
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $\mathcal { E }$ is a measure of prediction error, such as $\| G ( c ) - x _ { \tau } \| _ { 1 }$ .1 This predictor may be applied recursively at test time to generate more predictions as ${ \dot { G } } ( G ( c ) ) , G ( G ( G ( c ) ) )$ , and so on.
|
| 60 |
+
|
| 61 |
+
We propose to depart from this fixed-time paradigm by decoupling prediction from a rigid notion of time. Instead of predicting the video frame at a specified time $\tau$ , we propose to predict predictable bottleneck video frames through a time-agnostic predictor (TAP), as motivated in Sec 1. To train this predictor, we minimize the following “minimum-over-time” loss:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \ : \mathcal { L } ( G ) = \underset { G } { \arg \operatorname* { m i n } } \ : \underset { t \in \mathrm { T } } { \operatorname* { m i n } } \ : \mathcal { E } ( G ( c ) , x _ { t } ) ,
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
where the key difference from $\mathrm { E q ~ } 1$ is that the loss is now a minimum over target times of a timeindexed error $\mathcal { E } _ { t } = \mathcal { E } ( \cdot , x _ { t } )$ . The target times are defined by a set of time indices T. For forward prediction starting from input $c = x _ { 0 }$ , we may set targets to $\mathrm { T } = \{ 1 , 2 , \ldots \}$ . Fig 2 depicts this idea schematically. Intuitively, the penalty for a prediction is determined based on the closest matching ground truth target frame. This loss incentivizes the model to latch on to “bottleneck” states in the video, i.e., those with low uncertainty. In the bottle-tilting example, this would mean producing an image of the bottle after the water has come to rest.
|
| 68 |
+
|
| 69 |
+
One immediate concern with this minimum-over-time TAP loss might be that it could produce degenerate predictions very close to the input conditioning frames $c$ . However, as in the tilting bottle and other cases in Fig 1, uncertainty is not always lowest closest to the observed frames. Moreover, target frame indices $\mathrm { T }$ are always disjoint from the input context frames, so the model’s prediction must be different from input frames by at least one step, which is no worse than the one-step-forward prediction of Eq 1. In our experiments, we show cases where the minimum-over-time loss above captures natural bottlenecks successfully. Further, Sec 3.2 shows how it is also possible to explicitly penalize predictions near input frames $c$ .
|
| 70 |
+
|
| 71 |
+
This minimum loss may be viewed as adaptively learning the time offset $\tau$ , but in fact, the predictor’s task is even simpler since it is not required to provide a timestamp accompanying its prediction. For example, in Fig 1(e), it need only specify which points in the maze the agent will go through; it need not specify when. Lifting the requirement of a timestamped prediction relieves TAP approaches of a significant implicit burden.
|
| 72 |
+
|
| 73 |
+
Recursive TAP. TAP models may also be trained for recursive prediction, by minimizing the following loss:
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \mathcal L _ { \mathrm { r e c } } ( G ) = \underset { G } { \arg \operatorname* { m i n } } \sum _ { r } \underset { t \in \mathrm { T } ( r ) } { \min } \mathcal { E } ( G ( c ( r ) ) , x _ { t } ) ,
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
where $c ( r )$ and $\mathrm { T } ( r )$ are the input and target set at recursion level $r$ , both dynamically adapted based on the previous prediction. The input $c ( r )$ may be set to the previous prediction $G ( c ( r - 1 ) )$ , so that the sequence of predictions is $( G ( c ( 0 ) ) , G ( G ( c ( 0 ) ) ) , \dots )$ . $\mathrm { T } ( r )$ is set to target all times after the last prediction. In other words, if the prediction at $r = 0$ was closest to frame $x _ { 5 }$ , the targets for $r = 1$ are set to $\mathrm { T } ( 1 ) = \{ 6 , 7 , \ldots \}$ . While we also test recursive TAP in Sec 4, in the rest of this section, we discuss the non-recursive formulation, building on $\operatorname { E q } 2$ , for simplicity.
|
| 80 |
+
|
| 81 |
+
Bidirectional TAP. Finally, while the above description of TAP has focused on forward prediction, the TAP loss of Eq 2 easily generalizes to bidirectional prediction. Given input frames $c = ( x _ { 0 } , x _ { \mathrm { l a s t } } )$ , fixed-time bidirectional predictors might target, say, the middle frame $x _ { \tau } = x _ { \mathrm { l a s t / 2 } }$ . Instead, bidirectional TAP models target all intermediate frames, i.e., $\mathrm { T } = \{ 1 , 2 , . . . , \mathrm { l a s t } - 1 \}$ in Eq 2. As in forward prediction, the model has incentive to predict predictable frames. In the maze example from Fig 1, this would mean producing an image of the agent at one of the asterisks.
|
| 82 |
+
|
| 83 |
+
# 3.2 FROM MINIMUM TO GENERALIZED MINIMUM TAP LOSS
|
| 84 |
+
|
| 85 |
+
Within the time-agnostic prediction paradigm, we may still want to specify preferences for some times over others, or for some visual properties of the predictions. Consider the minimum-over-time loss $\mathcal { L }$ in Eq 2. Taking the minimum inside, this may be rewritten as:
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
{ \mathcal { L } } ( G ) = \operatorname* { m i n } _ { t \in T } { \mathcal { E } } _ { t } = { \mathcal { E } } _ { \arg \operatorname* { m i n } _ { t \in T } { \mathcal { E } } _ { t } } ,
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where we use the time-indexed error $\mathcal { E } _ { t }$ as shorthand for $\mathcal { E } ( . , x _ { t } )$ . We may now extend this to the following “generalized minimum” loss, where the outer and inner errors are decoupled:
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\begin{array} { r } { \mathcal { L } ^ { \prime } ( G ) = \mathcal { E } _ { \mathrm { a r g m i n } _ { t \in T } } \mathcal { E } _ { t } ^ { \prime } . } \end{array}
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
Now, $\mathcal { E } _ { t } ^ { \prime }$ , over which the minimum is computed, could be designed to express preferences about which frames to predict. In the simplest case, $\mathcal { E } _ { t } ^ { \prime } = \mathcal { E } _ { t }$ , and the loss reduces to $\operatorname { E q } 2$ . Instead, suppose that predictions at some times are preferred over others. Let $w ( t )$ express the preference value for all target times $t \in T$ , so that higher $w ( t )$ indicates higher preference. Then we may set $\mathcal { E } _ { t } ^ { \prime } = \mathcal { E } _ { t } / w ( t )$ so that times $t$ with higher $w ( t )$ are preferred in the arg min. In our experiments, we set $w ( t )$ to linearly increase with time during forward prediction and to a truncated discrete Gaussian centered at the midpoint in bidirectional prediction.
|
| 98 |
+
|
| 99 |
+
At this point, one might ask: could we not directly incorporate preferences into the outer error? For instance, why not simply optimize $\mathrm { m i n } _ { t } \mathcal { E } _ { t } / w ( t ) ^ { \star }$ ? Unfortunately, that would have the sideeffect of downweighting the errors computed against frames with higher preferences $w ( t )$ , which is counterproductive. Decoupling the outer and inner errors instead, as in $\operatorname { E q } 5$ , allows applying preferences $w ( t )$ only to select the target frame to compute the outer loss against; the outer loss itself penalizes prediction errors equally regardless of which frame was selected.
|
| 100 |
+
|
| 101 |
+
The generalized minimum formulation may be used to express other kinds of preferences too. For instance, when using predictions as subgoals in a planner, perhaps some states are more expensive to reach than others. We also use the generalized minimum to select frames using different criteria than the prediction penalty itself, as we will discuss in Sec 3.5.
|
| 102 |
+
|
| 103 |
+
# 3.3 TIME-AGNOSTIC CONDITIONAL GANS
|
| 104 |
+
|
| 105 |
+
TAP is not limited to simple losses such as $\ell _ { 1 }$ or $\ell _ { 2 }$ errors; it can be extended to handle expressive GAN losses to improve perceptual quality. A standard conditional GAN (CGAN) in fixed-time video prediction targeting time $\tau$ works as follows: given a “discriminator” $D$ that outputs 0 for input-prediction tuples and 1 for input-ground truth tuples, the generator $G$ is trained to fool the discriminator. The discriminator in turn is trained adversarially using a binary cross-entropy loss. The CGAN objective is written as:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\begin{array} { r l } & { G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \ \underset { D } { \operatorname* { m a x } } \mathcal { L } _ { \mathrm { c g a n } } ( G , D ) , } \\ & { } \\ & { \mathcal { L } _ { \mathrm { c g a n } } ( G , D ) = \log ( D ( c , x _ { \tau } ) ) + \log ( 1 - D ( c , G ( c ) ) } \end{array}
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
To make this compatible with TAP, we train $| \mathrm { T } |$ discriminators $\{ D _ { t } \}$ , one per timestep. Then, analogous to $\operatorname { E q } 2$ , we may define a time-agnostic CGAN loss:
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\begin{array} { r l } & { G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \underset { t \in T } { \operatorname* { m i n } } \underset { D _ { t } } { \operatorname* { m a x } } \mathcal { L } _ { \mathrm { c g a n } } ^ { t } ( G , D _ { t } ) , } \\ & { \mathcal { L } _ { \mathrm { c g a n } } ^ { t } ( G , D _ { t } ) = \log D _ { t } ( c , x _ { t } ) + \log ( 1 - D _ { t } ( c , G ( c ) ) ) + \underset { t ^ { \prime } \neq t } { \sum } \log ( 1 - D _ { t } ( c , x _ { t ^ { \prime } } ) ) , } \end{array}
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
Like $\mathrm { E q } 6 , \mathrm { E q } 7$ defines a cross-entropy loss. The first two terms are analogous to $\operatorname { E q } 6$ — for the $t$ -th discriminator, the $t$ -th frame provides a positive, and the generated frame provides a negative instance. The third term treats ground truth video frames occurring at other times $x _ { t ^ { \prime } \neq t }$ as negatives. In practice, we train a single discriminator network with $| T |$ outputs that serve as $\{ D _ { t } \}$ . Further, for computational efficiency, we approximate the summation over $t ^ { \prime } \neq t$ by sampling a single frame at random for each training video at each iteration. Appendix A provides additional details.
|
| 118 |
+
|
| 119 |
+
# 3.4 TIME-AGNOSTIC CONDITIONAL VAES
|
| 120 |
+
|
| 121 |
+
While TAP targets low-uncertainty bottleneck states, it may be integrated with a conditional variational autoencoder (CVAE) to handle residual uncertainty at these bottlenecks. In typical fixed-time CVAE predictors targeting time $\tau$ , variations in a latent code $z$ input to a generator $G ( c , z )$ must capture stochasticity in $x _ { \tau }$ . At training time, $z$ is sampled from a posterior distribution $q _ { \phi } ( z | x _ { \tau } )$ with parameters $\phi$ , represented by a neural network. At test time, $z$ is sampled from a prior $p ( z )$ . The training loss combines a log-likelihood term with a KL-divergence from the prior:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { c v a e } } ( G , \phi ) = D _ { K L } ( q _ { \phi } ( z | x _ { \tau } ) , p ( z ) ) - \mathbb { E } _ { z \sim q _ { \phi } ( z | x _ { \tau } ) } \ln p _ { G } ( x _ { \tau } | c , z ) , } \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
where we might set $p _ { G }$ to a Laplacian distribution such that the second term reduces to a $l 1$ - reconstruction loss $- \ln p _ { G } ( x _ { \tau } | \bar { c , { z } } ) = \| \boldsymbol { G } ( c , { z } ) - \boldsymbol { x } _ { \tau } \| _ { 1 }$ . In a time-agnostic CVAE, rather than capturing stochasticity at a fixed time $\tau$ , $z$ must now capture stochasticity at bottlenecks: e.g., when the agent crosses one of the asterisks in the maze of $\mathrm { F i g ~ 1 }$ , which pose is it in? The bottleneck’s time index varies and is not known in advance. For computational reasons (see Appendix B), we pass the entire video $X$ into the inference network $q _ { \phi }$ , similar to Babaeizadeh et al. (2018). The negative log-likelihood term is adapted to be a minimum-over-time:
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
\mathcal { L } _ { \mathrm { c v a e } } ( G , \phi ) = D _ { K L } ( q _ { \phi } ( z | X ) , p ( z ) ) + \operatorname* { m i n } _ { t \in \mathbb { T } } \mathbb { E } _ { z \sim q _ { \phi } ( z | X ) } \left[ - \ln p _ { G } ( x _ { t } | c , z ) \right] .
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
# 3.5 COMBINED LOSS, NETWORK ARCHITECTURE, AND TRAINING
|
| 134 |
+
|
| 135 |
+
We train time-agnostic CVAE-GANs with the following combination of a generalized minimum loss (Sec 3.2) and the CVAE KL divergence loss (Sec 3.4):
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\begin{array} { r l } & { G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \underset { \phi } { \operatorname* { m i n } } \left[ D _ { K L } ( q _ { \phi } ( \boldsymbol { z } | \boldsymbol { X } ) , p ( \boldsymbol { z } ) ) + \mathcal { E } _ { \mathrm { a r g } \operatorname* { m i n } _ { t \in \mathbb { T } } } \varepsilon _ { t } ^ { \prime } \right] , } \\ & { \mathcal { E } _ { t } = \underset { D , D ^ { \prime } } { \operatorname* { m a x } } \mathcal { L } _ { \mathrm { c g a n } } ^ { t } ( G , D _ { t } ) + \mathcal { L } _ { \mathrm { c v a e - g a n } } ^ { t } ( G , D _ { t } ^ { \prime } ) + \| G ( \boldsymbol { c } , \boldsymbol { z } ) - x _ { t } \| _ { 1 } , } \\ & { \mathcal { E } _ { t } ^ { \prime } = \| G ( \boldsymbol { c } , \boldsymbol { z } ) - x _ { t } \| _ { 1 } / w ( t ) . } \end{array}
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
The outer error $\mathcal { E } _ { t }$ absorbs the CGAN discriminator errors (Sec 3.3), while the inner error $\mathcal { E } _ { t } ^ { \prime }$ is a simple $\ell _ { 1 }$ error, weighted by user-specified time preferences $w ( t )$ (Sec 3.2). Omitting GAN error terms in $\mathcal { E } _ { t } ^ { \prime }$ helps stabilize training, since learned errors may not always be meaningful especially includesthe prior early on in training. As in VAE-GANs (Larsen et al., 2016; Lee et al., 2018), the training objective w term , while $\mathcal { L } _ { \mathrm { c v a e - g a n } } ^ { t }$ , analogous to instead sample $\mathcal { L } _ { \mathrm { c g a n } } ^ { t }$ (Eq 7). We set om the posterior $\mathcal { L } _ { \mathrm { c g a n } } ^ { t }$ to use samples , and employs s $z$ fromarate $p ( z )$ $\mathcal { L } _ { \mathrm { c v a e - g a n } } ^ { t }$ $z$ $q _ { \phi } ( z | X )$ discriminators $\{ D _ { t } ^ { \prime } \}$ . The $\ell _ { 1 }$ loss also samples $z$ from the posterior. We omit expectations over the VAE latent $z$ to keep notation simple.
|
| 142 |
+
|
| 143 |
+
Frame generation in the predictor involves first generating appearance flow-transformed input frames (Zhou et al., 2016) and a frame with new uncopied pixels. These frames are masked and averaged to produce the output. Full architecture and training details are in Appendix C.
|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
Figure 3: (Best seen in pdf) One sample episode each for grasping, pick-andplace, and pushing. Time overlaid on each frame.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 4: Forward prediction $\ell _ { 1 }$ error for grasping. TAP methods (red) perform better than fixedtime predictors over all time steps.
|
| 150 |
+
|
| 151 |
+
# 4 EXPERIMENTS
|
| 152 |
+
|
| 153 |
+
We have proposed a time-agnostic prediction (TAP) paradigm that is different from the fixed-time paradigm followed in prior prediction work. In our experiments, we focus on comparing TAP against a representative fixed-time prediction model, keeping network architectures fixed. We use three simulated robot manipulation settings: object grasping ( $5 0 \mathrm { k }$ episodes), pick-and-place $7 5 \mathrm { k }$ episodes), and multi-object pushing (55k episodes). Example episodes from each task are shown in Fig 3 (videos in Supp). $5 \%$ of the data is set aside for testing. We use $6 4 \times 6 4$ images.
|
| 154 |
+
|
| 155 |
+
For grasping (15 frames per episode), the arm moves to a single object on a table, selects a grasp, and lifts it vertically. For pick-and-place (20 frames), the arm additionally places the lifted object at a new position before performing a random walk. For pushing (40 frames), two objects are initialized at random locations and pushed to random final positions. Object shapes and colors in all three settings are randomly generated. Fig 3 shows example episodes.
|
| 156 |
+
|
| 157 |
+
Forward prediction. First, we evaluate our approach for forward prediction on grasping. The first frame (“start”) is provided as input. We train fixed-time baselines (architecture same as ours, using $\ell _ { 1 }$ and GAN losses same as MIN and GENMIN) that target predictions at exactly 0.25, 0.50, 0.75, 1.0 fraction of the episode length (FIX0.25,. . . , FIX1.00). MIN and GENMIN are TAP with/without the generalized minimum of ${ \tt S e c 3 . 2 }$ . For GENMIN, we evaluate different choices of the time preference vector $w ( t )$ (Sec 3.2). We set $w ( t ) = \beta + t / 1 5$ , so that our preference increases linearly from $\beta$ to $\beta + 1$ . Since $w ( t )$ applies multiplicatively, low $\beta$ corresponds to high disparity in preferences $\beta = \infty$ reduces to MIN, i.e., no time preference). GENMIN2 is our approach with $\beta = 2$ and so on.
|
| 158 |
+
|
| 159 |
+
Fig 5 shows example predictions from all methods for the grasping task. In terms of visual quality of predictions and finding a semantically coherent bottleneck, GENMIN2, GENMIN4, and GENMIN7 perform best—they reliably produce a grasp on the object while it is still on the table. With little or no time preferences, MIN and GENMIN10 produce images very close to the start, while GENMIN0.5 places too high a value on predictions farther away, and produces blurry images of the object after lifting.
|
| 160 |
+
|
| 161 |
+
Quantitatively, for each method, we report the min and arg min index of the $\ell _ { 1 }$ distance to all frames in the video, as “min $\ell _ { 1 }$ err” and “match-step” (“which future ground truth frame is the prediction closest to?”). Fig 4 shows a scatter plot, where each dot or square is one model. TAP (various models with varying $\beta$ ) produces an even larger variation in stepsizes than fixed-time methods explicitly targeting the entire video $\mathrm { ' } _ { \mathrm { F I X 0 . 7 5 } }$ and $\mathrm { F I X } 1 . 0$ fall short of producing predictions at 0.75 and 1.0 fraction of the episode length). TAP also produces higher quality predictions (lower error) over that entire range. From these quantitative and qualitative results, we see that TAP not only successfully encourages semantically coherent bottleneck predictions, it also produces higher quality predictions than fixed-time prediction over a range of time offsets.
|
| 162 |
+
|
| 163 |
+
Intermediate frame prediction. Next, we evaluate our approaches for bidirectionally conditioned prediction in all three settings. Initial and final frames are provided as input, and the method is trained to generate an intermediate frame. The FIX baseline now targets the middle frame. As before, MIN and GENMIN are our TAP models. The GENMIN time preference $w ( t )$ is bell-shaped and varies from 2/3 at the ends to 1 at the middle frame (see Appendix E).
|
| 164 |
+
|
| 165 |
+
Figs 6 and 9 show examples from the three settings. TAP approaches successfully discover interesting bottlenecks in each setting. For grasping (Fig 6 (left)), both MIN and GENMIN consistently produce clear images of the arm at the point at which it picks up the object. Pick-and-place (Fig 6, right) is harder because it is more temporally extended, and the goal image does not specify how to grasp the object. FIX struggles to produce any coherent predictions, but GENMIN once again identifies bottlenecks reliably—in examples #3 and #1, it predicts the “pick” and the “place” respectively. For the pushing setting (Fig 9 (left)), GENMIN frequently produces images with one object moved and the other object fixed in place, which again is a semantically coherent bottleneck for this task. In row #1, it moves the correct object first to generate the subgoal, so that objects do not collide.
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 5: (Best seen in pdf) Forward prediction results on grasping comparing fixed-time predictors and our approach. Each row is a separate example. First column is the input. Thereafter, each column corresponds to the output of a different model per the column title. More in Appendix Fig 17.
|
| 171 |
+
Figure 6: (Best seen in pdf) Bidirectional prediction results comparing fixed-time prediction and our approach. (Left) Grasping results. First two columns are inputs (start and goal). Thereafter, each column corresponds to the output of a different model per the column title. “match” is the ground truth image closest to the GENMIN prediction. More in Appendix Fig 13. (Right) Similar results for pick-and-place. More in Appendix Fig 14.
|
| 172 |
+
|
| 173 |
+
Table 1 shows quantitative results over the full test set. As in forward prediction, we report min $\ell _ { 1 }$ error and the best-matching frame index (“match-step”) for all methods. MIN and GENMIN consistently yield higher quality predictions (lower error) than FIX at similar times on average. As an example, GENMIN reduces FIX errors by $21 \%$ , $2 6 . 5 \%$ , and $5 3 . 2 \%$ on the three tasks—these are consistent and large gains that increase with increasing task complexity/duration. Additionally, while all foregoing results were reported without the CVAE approach of Sec 3.4, Table 1 shows results for GENMIN+VAE, and Fig 9 shows example predictions for pick-and-place. In our models, individual stochastic predictions from GENMIN $^ +$ VAE produce higher $\ell _ { 1 }$ errors than GENMIN. However, the CVAE helps capture meaningful sources of stochasticity at the bottlenecks—in Fig 9 (right), it produces different grasp configurations to pick up the object in each case. To measure this, we evaluate the best of 100 stochastic predictions from GENMIN $^ +$ VAE in Table 1 (GENMIN $^ +$ VAE BEST-OF-100). On pick-and-place and pushing, the best VAE results are significantly better than any of the deterministic methods. Table 1 also shows results for our method without the GAN (GENMIN W/O GAN)—while its $\ell _ { 1 }$ errors are comparable, we observed a drop in visual quality.
|
| 174 |
+
|
| 175 |
+
Table 1: Bidirectional frame prediction performance on: grasping, pick-and-place, and two-object pushing. Lower min $\ell _ { 1 }$ err is better. match-step denotes which times are being predicted, out of $T$ steps. It is clear that TAP methods make better predictions than fixed-time prediction at the same time offsets.
|
| 176 |
+
|
| 177 |
+
<table><tr><td>Setting→ Method↓</td><td>Grasping (T=15 steps) min lierr</td><td>match-step/T</td><td>Pick-and-place (T=20 steps) min l1 err</td><td>match-step/T</td><td>Pushing (T=30 steps) min l1 err</td><td>match-step/T</td></tr><tr><td>fix</td><td>0.0153</td><td>0.51±0.17</td><td>0.0366</td><td>0.53±0.24</td><td>0.0722</td><td>0.36±0.19</td></tr><tr><td>MIN (ours)</td><td>0.0104</td><td>0.49±0.18</td><td>0.0256</td><td>0.41±0.30</td><td>0.0365</td><td>0.35±0.22</td></tr><tr><td>GENMIN (ours)</td><td>0.0121</td><td>0.45±0.16</td><td>0.0269</td><td>0.42±0.23</td><td>0.0338</td><td>0.36±0.19</td></tr><tr><td>GENMIN W/O GAN (Ours)</td><td>0.0117</td><td>0.45±0.16</td><td>0.0235</td><td>0.46±0.25</td><td>0.0411</td><td>0.37±0.19</td></tr><tr><td>GENMIN + VAE (Ours)</td><td>0.0156</td><td>0.47±0.18</td><td>0.0432</td><td>0.31±0.24</td><td>0.0447</td><td>0.37±0.21</td></tr><tr><td>GENMIN + VAE BEST-OF-10O (Ours)</td><td>0.0121</td><td>-</td><td>0.0196</td><td>-</td><td>0.0236</td><td>-</td></tr></table>
|
| 178 |
+
|
| 179 |
+

|
| 180 |
+
Figure 9: (Best seen in pdf) (Left) Bidirectional prediction results on two-object pushing. More in Appendix Fig 15. (Right) When used with a VAE (Sec 3.4), our approach captures residual stochasticity at the bottleneck. In these results from the pick-and-place task, GENMIN $^ +$ VAE produces images that are all of the arm in contact with the object on the table, but at different points on the object, and with different arm/gripper poses.
|
| 181 |
+
|
| 182 |
+
As indicated in ${ \mathrm { S e c } } 3 . 1$ and Eq 3, TAP may also be applied recursively. Fig 7 compares consecutive subgoals for the pick-and-place task produced by recursive TAP versus a recursive fixed-time model. Recursion level $r = 1$ refers to the first subgoal, and $r = 2$ refers to the subgoal generated when the first subgoal is provided as the goal input (start input is unchanged). In example #1, FIX struggles while “ours” identifies the “place” bottleneck at $r = 1$ , and subsequently the “pick” botleneck at $r = 2$ .
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 7: Recursive bidirectional prediction on pickand-place. $r = 2$ is earlier in time than $r = 2$ .
|
| 186 |
+
|
| 187 |
+
Finally, we test on “BAIR pushing” (Ebert et al., 2017), a real-world dataset that is commonly used in visual prediction tasks. The data consists of 30-frame clips of random motions of a Sawyer arm tabletop. While this dataset does not have natural bottlenecks like in grasping, TAP (min $\ell _ { 1 }$ error 0.046 at match-step 15.42) still performs better than FIX (0.059 at 15.29). Qualitatively, as Fig 8 shows, even though BAIR pushing contains incoherent random arm motions, TAP consistently produces predictions that plausibly lie on the path from start to goal image. In example #1, given a start and goal image with one object displaced, “ours” correctly moves the arm to the object before displacement, whereas FIX struggles.
|
| 188 |
+
|
| 189 |
+

|
| 190 |
+
Figure 8: Bidirectional prediction results on BAIR pushing data. The first two columns are the inputs, and the next two correspond to FIX and GENMIN.
|
| 191 |
+
|
| 192 |
+
Bottleneck discovery frequency. We have thus far relied on qualitative results to assess how often our approach finds coherent bottlenecks. For pushing, we test bottleneck discovery frequency more quantitatively. We make the reasonable assumption that bottlenecks in 2-object pushing correspond to states where one object is pushed and the other is in place. Our metric exploits knowledge of true object positions at start and goal states. First, for this evaluation, we restrict both GENMIN and FIX to synthesize predictions purely by warping and masking inputs. Thus, we can track where the pixels at ground truth object locations in start and goal images end up in the prediction, i.e., where did each object move? We then compute a score that may be thresholded to detect when only one object moves (details in Appendix F). As an intuitive example, suppose that the two objects are displaced by $1 0 \mathrm { c m }$ and $1 5 \mathrm { { c m } }$ respectively between start and goal frames. Suppose further that our predictor predicts the start frame as its output. Then its distance score would be computed to be 10 cm. For all values of threshold below $1 0 \mathrm { c m }$ , this would be counted as a bottleneck discovery failure.
|
| 193 |
+
|
| 194 |
+

|
| 195 |
+
Figure 10: Bottleneck frequency vs. score threshold
|
| 196 |
+
|
| 197 |
+
As Fig 10 shows, GENMIN predicts bottlenecks much more frequently $\sim 6 0 \%$ of the time) than FIX. As hypothesized, our time-agnostic approach does indeed identify and latch on to low-uncertainty states to improve its predictions.
|
| 198 |
+
|
| 199 |
+
Hierarchical planning evaluation. Finally, we discuss experiments directly evaluating our intermediate predictions as visual subgoals for hierarchical planning for pushing tasks. A forward Visual MPC planner (Ebert et al., 2017) accepts the subgoal object positions (computed as above for evaluating bottlenecks). Start and goal object positions are also known. Internally, Visual MPC makes action-conditioned fixed-time forward predictions of future object positions to find an action sequence that reaches the subgoal object
|
| 200 |
+
|
| 201 |
+
<table><tr><td></td><td>2-object</td><td>3-object</td></tr><tr><td>direct</td><td>12.9±0.6</td><td>15.8±0.6</td></tr><tr><td>FIX</td><td>12.5±0.5</td><td>17.6±0.6</td></tr><tr><td>GENMIN</td><td>11.9±0.6</td><td>12.9±0.7</td></tr></table>
|
| 202 |
+
|
| 203 |
+
Table 2: Multi-object pushing errors (in cm).
|
| 204 |
+
|
| 205 |
+
positions, with a planning horizon of 15. Additional implementation details are in Appendix G.
|
| 206 |
+
|
| 207 |
+
Given start and goal images, our model produces a subgoal. Visual MPC plans towards this subgoal for half the episode length, then switches to the final goal. We compare this scheme against (i) “direct”: planning directly towards the final goal for the entire episode length, and (ii) FIX: subgoals from a center-frame predictor. The error measure is the mean of object distances to goal states (lower is better). As an upper bound, single-object pushing with the planner yields ${ \sim } 5 \mathrm { c m }$ error. Results for two-object and three-object pushing are shown in Table 2. GENMIN does best on both, but especially on the more complex three-object task. Since Visual MPC has thus far been demonstrated to work only on pushing tasks, our hierarchical planning evaluation is also limited to this task. Going forward, we plan to adapt Visual MPC to allow testing TAP on more complex temporally extended tasks like block-stacking, where direct planning breaks down and subgoals offer greater value.
|
| 208 |
+
|
| 209 |
+
# 5 CONCLUSIONS
|
| 210 |
+
|
| 211 |
+
The standard paradigm for prediction tasks demands that a predictor not only make good predictions, but that it make them on a set schedule. We have argued for redefining the prediction task so that the predictor need only care that its prediction occur at some time, rather than that it occur at a specific scheduled time. We define this time-agnostic prediction task and propose novel technical approaches to solve it, that require relatively small changes to standard prediction methods. Our results show that reframing prediction objectives in this way yields higher quality predictions that are also semantically coherent—unattached to a rigid schedule of regularly specified timestamps, model predictions instead naturally attach to specific semantic “bottleneck” events, like a grasp. In our preliminary experiments with a hierarchical visual planner, our results suggest that such predictions could serve as useful subgoals for complex tasks.
|
| 212 |
+
|
| 213 |
+
In future work, we would like to address some limitations of our TAP formulation, of which we will mention two here. First, TAP currently benefits not only from selecting which times to predict, but also from not having to provide timestamps attached to its predictions. We would like to study: could we retain the benefits of time-agnostic prediction while also providing timestamps for when each predicted state will occur? Second, our current TAP formulation may not generalize to prediction problems in all settings of interest. As an example, for videos of juggling or waving, which involve repeated frames, TAP might collapse to predicting the input state repeatedly. We would like to investigate more general TAP formulations: for example, rather than choosing $\mathcal { E } _ { t } ^ { \prime }$ in Eq 5 to encourage predicting farther away times, we could conceivably penalize predictions that look too similar to the input context frames. More broadly, we believe that our results thus far hold great promise for many applications of prediction including hierarchical planning and model-based reinforcement learning, and we hope to build further on these results.
|
| 214 |
+
|
| 215 |
+
Acknowledgements. We thank Alex Lee and Chelsea Finn for helpful discussions and Sudeep Dasari for help with the simulation framework and for generating the simulated data used in this work. We thank Kate Rakelly, Kyle Hsu, and Allan Jabri for feedback on early drafts. This work was supported by Berkeley DeepDrive, NSF IIS-1614653, NSF IIS-1633310, and an Office of Naval Research Young Investigator Program award. The NVIDIA DGX-1 used for this research was donated by the NVIDIA Corporation.
|
| 216 |
+
|
| 217 |
+
# REFERENCES
|
| 218 |
+
|
| 219 |
+
Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H Campbell, and Sergey Levine. Stochastic variational video prediction. ICLR, 2018.
|
| 220 |
+
|
| 221 |
+
Pierre-Luc Bacon. On the bottleneck concept for options discovery. M.S. Thesis, McGill University, 2013.
|
| 222 |
+
|
| 223 |
+
Moshe Bar. The proactive brain: memory for predictions. Philosophical Transactions of the Royal Society B: Biological Sciences, 364(1521):1235–1243, 2009.
|
| 224 |
+
|
| 225 |
+
Andy Clark. Whatever next? predictive brains, situated agents, and the future of cognitive science. Behavioral and brain sciences, 36(3):181–204, 2013.
|
| 226 |
+
|
| 227 |
+
Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. arXiv preprint arXiv:1802.07687, 2018.
|
| 228 |
+
|
| 229 |
+
Frederik Ebert, Chelsea Finn, Alex X. Lee, and Sergey Levine. Self-supervised visual planning with temporal skip connections. CORL, 2017.
|
| 230 |
+
|
| 231 |
+
Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In International Conference on Robotics and Automation (ICRA), 2017.
|
| 232 |
+
|
| 233 |
+
Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In Neural Information Processing Systems (NIPS), 2016.
|
| 234 |
+
|
| 235 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014.
|
| 236 |
+
|
| 237 |
+
Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In Computer vision and pattern recognition, 2006 IEEE computer society conference on, volume 2, pp. 1735–1742. IEEE, 2006.
|
| 238 |
+
|
| 239 |
+
Jakob Hohwy. The predictive mind. Oxford University Press, 2013.
|
| 240 |
+
|
| 241 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. CVPR, 2017.
|
| 242 |
+
|
| 243 |
+
Dinesh Jayaraman and Kristen Grauman. Learning image representations tied to ego-motion. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1413–1421, 2015.
|
| 244 |
+
|
| 245 |
+
Nal Kalchbrenner, Aaron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex Graves, and Koray Kavukcuoglu. Video pixel networks. arXiv preprint arXiv:1610.00527, 2016.
|
| 246 |
+
|
| 247 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 248 |
+
|
| 249 |
+
Kris M Kitani, Brian D Ziebart, James Andrew Bagnell, and Martial Hebert. Activity forecasting. In European Conference on Computer Vision, pp. 201–214. Springer, 2012.
|
| 250 |
+
|
| 251 |
+
Dirk P Kroese, Reuven Y Rubinstein, Izack Cohen, Sergey Porotsky, and Thomas Taimre. Crossentropy method. In Encyclopedia of Operations Research and Management Science, pp. 326–333. Springer, 2013.
|
| 252 |
+
|
| 253 |
+
Anders Boesen Lindbo Larsen, Søren Kaae Sønderby, Hugo Larochelle, and Ole Winther. Autoencoding beyond pixels using a learned similarity metric. ICML, 2016.
|
| 254 |
+
|
| 255 |
+
Alex X Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, and Sergey Levine. Stochastic adversarial video prediction. arXiv preprint arXiv:1804.01523, 2018.
|
| 256 |
+
|
| 257 |
+
Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. arXiv preprint arXiv:1511.05440, 2015.
|
| 258 |
+
|
| 259 |
+
Amy McGovern and Andrew G Barto. Automatic discovery of subgoals in reinforcement learning using diverse density. In ICML, 2001.
|
| 260 |
+
|
| 261 |
+
Jan Hendrik Metzen. Online skill discovery using graph-based clustering. In European Workshop on Reinforcement Learning, pp. 77–88, 2013.
|
| 262 |
+
|
| 263 |
+
Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014.
|
| 264 |
+
|
| 265 |
+
Hossein Mobahi, Ronan Collobert, and Jason Weston. Deep learning from temporal coherence in video. In Proceedings of the 26th Annual International Conference on Machine Learning, pp. 737–744. ACM, 2009.
|
| 266 |
+
|
| 267 |
+
Alexander Neitz, Giambattista Parascandolo, Stefan Bauer, and Bernhard Schlkopf. Adaptive skip intervals: Temporal abstraction for recurrent dynamical models. NIPS, 2018.
|
| 268 |
+
|
| 269 |
+
Augustus Odena, Vincent Dumoulin, and Chris Olah. Deconvolution and checkerboard artifacts. Distill, 2016. doi: 10.23915/distill.00003. URL http://distill.pub/2016/ deconv-checkerboard.
|
| 270 |
+
|
| 271 |
+
Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems, 2015.
|
| 272 |
+
|
| 273 |
+
Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016.
|
| 274 |
+
|
| 275 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
|
| 276 |
+
|
| 277 |
+
MarcAurelio Ranzato, Arthur Szlam, Joan Bruna, Michael Mathieu, Ronan Collobert, and Sumit Chopra. Video (language) modeling: a baseline for generative models of natural videos. arXiv preprint arXiv:1412.6604, 2014.
|
| 278 |
+
|
| 279 |
+
Ozg ¨ ur¨ S¸ims¸ek and Andrew G Barto. Skill characterization based on betweenness. In Advances in neural information processing systems, pp. 1497–1504, 2009.
|
| 280 |
+
|
| 281 |
+
Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 112(1-2):181–211, 1999.
|
| 282 |
+
|
| 283 |
+
Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In Intelligent Robots and Systems (IROS), 2012 IEEE/RSJ International Conference on, pp. 5026–5033. IEEE, 2012.
|
| 284 |
+
|
| 285 |
+
Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Oriol Vinyals, Alex Graves, et al. Conditional image generation with pixelcnn decoders. In Advances in Neural Information Processing Systems, pp. 4790–4798, 2016.
|
| 286 |
+
|
| 287 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In Advances In Neural Information Processing Systems, pp. 613–621, 2016a.
|
| 288 |
+
|
| 289 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Anticipating visual representations from unlabeled video. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 98–106, 2016b.
|
| 290 |
+
|
| 291 |
+
Jacob Walker, Carl Doersch, Abhinav Gupta, and Martial Hebert. An uncertain future: Forecasting from static images using variational autoencoders. In European Conference on Computer Vision, pp. 835–851. Springer, 2016.
|
| 292 |
+
|
| 293 |
+
Xiaolong Wang, Ali Farhadi, and Abhinav Gupta. Actions˜ transformations. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pp. 2658–2667, 2016.
|
| 294 |
+
|
| 295 |
+
Tianfan Xue, Jiajun Wu, Katherine Bouman, and Bill Freeman. Visual dynamics: Probabilistic future frame synthesis via cross convolutional networks. In Advances in Neural Information Processing Systems, pp. 91–99, 2016.
|
| 296 |
+
|
| 297 |
+
Tinghui Zhou, Shubham Tulsiani, Weilun Sun, Jitendra Malik, and Alexei A Efros. View synthesis by appearance flow. In European conference on computer vision, pp. 286–301. Springer, 2016.
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
Figure 11: Training time network schematic. At test time, only the predictor $G$ is used, and $z \sim \mathcal { N } ( 0 , \mathcal { Z } )$ . Loss terms (as used in Eq 10) are in red.
|
| 301 |
+
|
| 302 |
+
In these appendices, we provide details omitted in the main text for space. Note that more supplementary material, such as video examples, is hosted at: https://sites.google.com/view/ ta-pred
|
| 303 |
+
|
| 304 |
+
# A LABEL SMOOTHING FOR TIME-AGNOSTIC CONDITIONAL GANS
|
| 305 |
+
|
| 306 |
+
In $\operatorname { E q } 7$ , we defined a time-agnostic CGAN loss that trained $\mathrm { T }$ discriminators, one corresponding to each target time $t \in \mathrm { T }$ . In Eq 7, the only positives for the $t$ -th discriminator $D _ { t }$ were ground truth frames that occured precisely at time $t$ relative to the input $c$ , i.e., discriminators are trained so that $D _ { t } ( c , x _ { t } )$ would be 1, and $D _ { t } ( c , x _ { t ^ { \prime } \neq t } )$ and $D _ { t } ( c , G ( c ) )$ would both be 0. However, in practice, we use the following slightly different loss:
|
| 307 |
+
|
| 308 |
+
$$
|
| 309 |
+
\begin{array} { r l } & { G ^ { * } = \underset { G } { \arg \operatorname* { m i n } } \underset { t \in \mathcal { T } } { \min } \underset { D _ { t } } { \operatorname* { m a x } } \mathcal { L } _ { \mathrm { c g a n } } ^ { t } ( G , D _ { t } ) , } \\ & { \mathcal { L } _ { \mathrm { c g a n } } ^ { t } ( G , D _ { t } ) = \log D _ { t } ( c , x _ { t } ) + \log ( 1 - D _ { t } ( c , G ( c ) ) ) + } \\ & { \qquad \quad \sum _ { t ^ { \prime } \not = t } [ l _ { t , t ^ { \prime } } \log D _ { t } ( c , x _ { t ^ { \prime } } ) + ( 1 - l _ { t , t ^ { \prime } } ) \log ( 1 - D _ { t } ( c , x _ { t ^ { \prime } } ) ) ] , } \end{array}
|
| 310 |
+
$$
|
| 311 |
+
|
| 312 |
+
where we set $l _ { t , t ^ { \prime } } = \operatorname* { m a x } ( 0 , 1 - \alpha | t - t ^ { \prime } | )$ with $\alpha = 0 . 2 5$ . The first two terms are the same as $\mathrm { E q } ~ 7$ — for the $t$ -th discriminator, the $t$ -th frame provides a positive, and the generated frame provides a negative instance. The third term defines the loss for frames $x _ { t ^ { \prime } \neq t }$ : frames close to time $t$ are partial positives $( 0 < l _ { t , t ^ { \prime } } < 1 )$ , and others are negatives $( l _ { t , t ^ { \prime } } = 0 )$ . This label smoothing stabilizes training and ensures enough positives for each discriminator $D _ { t }$ .
|
| 313 |
+
|
| 314 |
+
# B TIME-AGNOSTIC CONDITIONAL VAES
|
| 315 |
+
|
| 316 |
+
Here, we discuss one alternative to the TAP CVAE formulation of $\operatorname { E q } 9$ in Sec 3.4. Rather than restricting the minimum-over-time to be over the log-likelihood term alone, why not take the minimumover-time over the whole loss? In other words, the inference network would still have to only see one frame as input, and this version of the TAP CVAE loss would be:
|
| 317 |
+
|
| 318 |
+
$$
|
| 319 |
+
\mathcal { L } _ { \mathrm { c v a e } } ( G , \phi ) = \operatorname* { m i n } _ { t \in \mathbb { T } } \left[ D _ { K L } ( q _ { \phi } ( z | x _ { t } ) , p ( z ) ) - \mathbb { E } _ { z \sim q _ { \phi } ( z | x _ { t } ) } \ln p _ { G } ( x _ { t } | c , z ) \right] .
|
| 320 |
+
$$
|
| 321 |
+
|
| 322 |
+
Unfortunately, this would be computationally very expensive to train. Both the inference network $q _ { \phi }$ and the generator $G$ would have to process $| \mathrm { T } |$ frames. In comparison, the formulation of $\operatorname { E q } 9$ allows $q _ { \phi }$ and $G$ to process just one frame, and only error computation must be done $\mathrm { T }$ times, once with each target frame $x _ { t }$ for $t \in \mathrm { T }$ .
|
| 323 |
+
|
| 324 |
+
# C ARCHITECTURE AND TRAINING DETAILS
|
| 325 |
+
|
| 326 |
+
Predictor architecture. As indicated in Fig 11, the predictor $G$ has an encoder-decoder architecture. When our approach is used together with the conditional VAE (Sec 3.4), the conditional latent $z$ is appended at the bottleneck between the encoder and the decoder. The encoder produces a 128- dimensional code, and the VAE latent code $z$ is 32-dimensional, so the overall size of the input to the decoder is 160 when the VAE is used.
|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
Figure 12: The predictor produces an appearance flowfield which is used to produce flow-warped input frames, which together with a frame of new pixels are masked and averaged to produce the output frame.
|
| 330 |
+
|
| 331 |
+
The encoder inside the predictor uses a series of 4x4convolution-batchnorm-LeakyReLU(0.2) blocks to reduce the 64x64 input image as $3 \mathrm { x 6 4 \mathrm { x 6 4 } } { } 3 2 \mathrm { x } 3 2 \mathrm { x } 3 2 { } 6 4 \mathrm { x } 1 6 \mathrm { x } 1 6 { } 1 2 8 \mathrm { x } 8 \mathrm { x } 8 { } 2 5 6 \mathrm { x } 4 \mathrm { x } 4$ . For bidirectional prediction, this is repeated for both images and concatenated to produce a $5 1 2 \mathrm { x } 4 \mathrm { x } 4$ feature map. Finally, a small convolution-ReLU-convolution head reduces this to a 128-dimensional vector. Except for this last head subnetwork, this architecture is identical to the DCGAN discriminator (Radford et al., 2015).
|
| 332 |
+
|
| 333 |
+
The decoder inside the predictor uses a DCGAN-based architecture (Radford et al., 2015). The input vector is reshaped by a transposed convolution into 256 $4 \times 4$ maps. This is subsequently processed a series of bilinear upsampling-5x5convolution-batchnorm-ReLU blocks as $2 5 6 \times 4 \times 4 - 1 2 8 \times 8 \times 8 6 4 \mathrm { x } 3 2 \mathrm { x } 3 2 3 \mathrm { x } 6 4 \mathrm { x } \bar { 6 } 4$ . For the last block, a Tanh activation is used in place of ReLU to keep outputs in [-1,1]. Compared to (Radford et al., 2015), the main difference is that transposed convolutions are replaced by upsampling-5x5 convolution blocks, which aids in faster learning with fewer image artifacts (Odena et al., 2016).
|
| 334 |
+
|
| 335 |
+
As shown in $\mathrm { F i g } 1 2$ , our predictor produces three sets of outputs: (a) one frame of new pixels, (b) “appearance flow” (Zhou et al., 2016) maps that warp the $| C |$ input image(s), and (c) $| C | + 1$ masks (summing to 1 at each pixel) that combine the warped input images and the new pixels frame to produce the final output. To produce these three outputs, we use three decoders that all have the same architecture as above, except that the final output is shaped appropriately—the appearance flow decoder produces $\vert C \vert \mathrm { x 6 4 x 6 4 }$ flowfields, and the masks decoder produces $( | C | + 1 ) \mathrm { x } 6 4 \mathrm { x } 6 4$ masks.
|
| 336 |
+
|
| 337 |
+
Discriminator and Recognition Network The VAE recognition network and the discriminator both use similar architectures to the predictor encoder above. Only the input layer and the output layer are changed as follows: (a) The discriminator accepts $| C | + 1$ images as input and the recognition network accepts $| C | + | T |$ images (the full video) as input. (b) The discriminator head produces $| T |$ logits (one corresponding to each target time), and the recognition network produces a 32-dimensional conditional latent.
|
| 338 |
+
|
| 339 |
+
Training. We found it beneficial to initialize the decoder by training it first as an unconditional frame generator on frames from the training videos. For this pretraining, we use learning rate 0.0001 for 10 epochs with batch size 64 and Adam optimizer. Thereafter, for training, we use learning rate 0.0001 for 200 epochs with batch size 64 and Adam optimizer.
|
| 340 |
+
|
| 341 |
+
# D DATA GENERATION
|
| 342 |
+
|
| 343 |
+
To generate the data, we use a cross-entropy method (CEM)-based planner (Kroese et al., 2013; Ebert et al., 2017) in the MuJoCo (Todorov et al., 2012) environment with access to the physics engine, which produces non-deterministic trajectories. The planner plans towards randomly provided goals, but we use both successful and failed trajectories. Sample videos of episodes are shown at: https://sites.google.com/view/ta-pred
|
| 344 |
+
|
| 345 |
+
# E GENERALIZED MINIMUM WEIGHTS FOR INTERMEDIATE PREDICTION
|
| 346 |
+
|
| 347 |
+
In Sec 4, we briefly mentioned that the time preference $w ( t )$ for the generalized minimum loss during intermediate frame prediction was set to 2/3 at the ends to 1 at the middle frame. In our experiments, we set these weights heuristically as follows: $w ( t )$ rises linearly from $\kappa = 0 . 6 6$ at $t = 1$ to 1.0 at the $t = 5$ , then stay at 1.0 for $T - 1 0$ frames. Then, starting from the $( T - 5 )$ -th frame, it would drop linearly to $\kappa$ once more at $t = T$ . The only hyperparameter we tuned was $\kappa$ (search over $2 / 3$ and $1 / 3$ ).
|
| 348 |
+
|
| 349 |
+
# F BOTTLENECK DISCOVERY FREQUENCY SCORE
|
| 350 |
+
|
| 351 |
+
In Sec 4, we mentioned a bottleneck discovery frequency measure in the paragraph titled “Bottleneck discovery frequency metric.” We now provide further details.
|
| 352 |
+
|
| 353 |
+
Our proposed metric for two-object pushing quantifies how reliably the network is able to generate a bottleneck state with one object being moved and the other being at its original position. The reason that this state is of interest is that in two-object pushing, this may be reasonably assumed to be the natural bottleneck, so we call this metric the bottleneck frequency. Even without this assumption though, the metric quantifies the ability of our approach to generate predictions attached to this consistent semantically coherent bidirectional state.
|
| 354 |
+
|
| 355 |
+
To measure bottleneck frequency, we use a technique similar to the approach proposed in (Ebert et al., 2017) for planning with a visual predictor. First, we train versions of “genmin” and “fix” that synthesize predictions purely by appearance-flow-warping and masking inputs (as shown in the scheme of Fig 12, but without pixel generation). Next, recall that we have access to the starting and goal positions of objects since our dataset is synthetically generated. Thus, we can exploit this and track where the pixels at ground truth object locations in start and goal images end up in the prediction, i.e., where did each object move? This works as follows: we take the appearance flow transformations and masks generated by the model internally (for application to input images to generate prediction) and apply them instead to one-hot object location maps—these maps have value one at the ground truth origin of the the objects and zero elsewhere. The output of this operation is a probability map for each object indicating where it is located in the predictor’s bidirectional prediction output.
|
| 356 |
+
|
| 357 |
+
To compute the score, we then calculate the expected distance in pixels between the predicted positions of each object and the bottleneck state. There are actually two possible candidates for this bottleneck state: object 1 is moved first, or object 2 is moved first. We compute the expected distances to both these bottleneck candidates and take the lower distance to be the score. This score does not evaluate whether the semantically correct bottleneck was predicted (in cases where one object must always be moved first to avoid collision, such as Fig 9 (left) example #1).
|
| 358 |
+
|
| 359 |
+
The lower this distance score, the higher the likelihood that the predicted output is actually a bottleneck (“bottleneck frequency”). Fig 10 shows what happens when the threshold over the score is varied, for our approach and the fixed-time baseline. Higher bottleneck frequency at lower threshold is desirable. As the figure shows, at a low threshold distance score $\approx 2$ pixels), our approach gets to about $58 \%$ bottleneck frequency while the fixed-time predictor gets about $0 \%$ frequency at this threshold. This verifies that our approach produces predictions attached to semantically coherent low-uncertainty bottleneck events.
|
| 360 |
+
|
| 361 |
+
# G HIERARCHICAL PLANNING EVALUTION METHOD
|
| 362 |
+
|
| 363 |
+
In Sec 4, we described a hierarchical planning approach using our predictions in the paragraph titled “Hierarchical planning evaluation.” We describe this method in more detail here.
|
| 364 |
+
|
| 365 |
+
We test the usefulness of the generated predictions as subgoals for planning multi-object pushing. Given a start and goal image, we produce an bidirectional prediction using our time-agnostic predictor and feed it to a low-level planner that plans towards this prediction as its subgoal. For the low-level planner we use the visual model-predictive control algorithm (“Visual MPC”) (Ebert et al., 2017) which internally uses a fixed-time forward prediction model and sampling-based planning to solve short-term and medium duration tasks. A more detailed description of this process follows.
|
| 366 |
+
|
| 367 |
+
Visual MPC requires start and goal locations of objects to plan. When used in conjunction with our method, we first compute the locations of objects at the bidirectional predictions and feed this in place of the final goal object locations, so that Visual MPC may plan to first reach the bidirectional prediction as a subgoal/stepping stone towards the final goal. Once the subgoal is reached, Visual MPC is fed the final goal. To compute subgoal object locations, we use the same technique as in Appendix F above—one-hot maps of object locations are transformed by the appearance flow maps and masks computed internally by our predictor. This produces a probability map $p _ { g }$ over object locations at the prediction, which is passed to Visual MPC.
|
| 368 |
+
|
| 369 |
+
Internally, the Visual MPC planner makes fixed-time forward predictions for the object locations starting from the initial distribution $p _ { s }$ given a randomly sampled action sequence of length $h = 1 5$ (the “planning horizon”). Out of all the action sequences, it selects the sequence that brings the distribution closest to $p _ { g }$ within $h = 1 5$ steps $h$ is the “planning horizon”). In practice, we use 200 random action sequences and perform three iterations of CEM search (Kroese et al., 2013) to find the the best sequence. Once an action sequence is selected, the first action in the sequence is executed, and the initial object distribution is updated. New candidate action sequences are now generated starting from this updated object distribution and the process repeats.
|
| 370 |
+
|
| 371 |
+
In our experiments, we use a time budget $B$ of 40 steps for 2-object pushing, and 75 steps for 3-object pushing. In both cases, we feed Visual MPC the subgoal (bidirectional prediction object locations) for the first $B / 2$ timesteps, and then feed the final goal location for the last $B / 2$ steps. The “direct” planning baseline instead receives the final goal location for all $B$ steps. As shown by the results in the paper, our subgoal predictions aid in performing these multi-stage pushing tasks better than with the direct planning baseline.
|
| 372 |
+
|
| 373 |
+
# H SUPPLEMENTARY PREDICTION EXAMPLES
|
| 374 |
+
|
| 375 |
+
We now show more prediction results from various settings in Figs 13, 14, 15, 16, and 17, to supplement those in Sec 4.
|
| 376 |
+
|
| 377 |
+

|
| 378 |
+
Figure 13: (Same format as Fig 6). Supplementary bidirectional prediction results comparing fixed-time prediction and our approach on grasping. First two columns are inputs (start and goal). Thereafter, each column corresponds to the output of a different model per the column title. “match” is the ground truth image closest to the GENMIN prediction.
|
| 379 |
+
|
| 380 |
+

|
| 381 |
+
Figure 14: (Same format as Fig 6). Supplementary bidirectional prediction results comparing fixed-time prediction and our approach on pick-and-place. First two columns are inputs (start and goal). Thereafter, each column corresponds to the output of a different model per the column title. “match” is the ground truth image closest to the GENMIN prediction.
|
| 382 |
+
|
| 383 |
+

|
| 384 |
+
Figure 15: Supplementary bidirectional prediction results on pushing. Four columns for each method correspond to masked warped start frame, masked warped goal frame, masked new pixels, and final output respectively. See Appendix C and Fig 12 for the synthesis scheme with masks and warps.
|
| 385 |
+
|
| 386 |
+

|
| 387 |
+
Figure 16: Supplementary bidirectional prediction examples for pick-and-place with GENMIN $^ +$ VAE. Same format as Fig 9. Each row is a separate example. First column is the input. GENMIN $^ +$ VAE captures residual stochasticity at the bottleneck. GENMIN $^ +$ VAE produces images that are most all of the arm in contact with the object on the table, but at different points on the object, and with different arm/gripper poses.
|
| 388 |
+
|
| 389 |
+

|
| 390 |
+
Figure 17: Supplementary forward prediction examples for grasping, comparing fixed-time predictors and our approach. Same format as Fig 5. Each row is a separate example. First column is the input. Thereafter, each column corresponds to the output of a different model per the column title.
|
parse/train/SyzVb3CcFX/SyzVb3CcFX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyzVb3CcFX/SyzVb3CcFX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SyzVb3CcFX/SyzVb3CcFX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Deep Learning on a Data Diet: Finding Important Examples Early in Training
|
| 2 |
+
|
| 3 |
+
Mansheej Paul Stanford University mansheej@stanford.edu
|
| 4 |
+
|
| 5 |
+
Surya Ganguli Stanford University; Facebook AI Research sganguli@stanford.edu
|
| 6 |
+
|
| 7 |
+
Gintare Karolina Dziugaite Mila ⇤ gkdz@google.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Recent success in deep learning has partially been driven by training increasingly overparametrized networks on ever larger datasets. It is therefore natural to ask: how much of the data is superfluous, which examples are important for generalization, and how do we find them? In this work, we make the striking observation that, in standard vision datasets, simple scores averaged over several weight initializations can be used to identify important examples very early in training. We propose two such scores—the Gradient Normed (GraNd) and the Error L2-Norm (EL2N) scores—and demonstrate their efficacy on a range of architectures and datasets by pruning significant fractions of training data without sacrificing test accuracy. In fact, using EL2N scores calculated a few epochs into training, we can prune half of the CIFAR10 training set while slightly improving test accuracy. Furthermore, for a given dataset, EL2N scores from one architecture or hyperparameter configuration generalize to other configurations. Compared to recent work that prunes data by discarding examples that are rarely forgotten over the course of training, our scores use only local information early in training. We also use our scores to detect noisy examples and study training dynamics through the lens of important examples—we investigate how the data distribution shapes the loss surface and identify subspaces of the model’s data representation that are relatively stable over training.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Recently, deep learning has made remarkable progress driven, in part, by training overparameterized models on ever larger datasets. This trend creates new challenges: the large computational resources required pose a roadblock to the democratization of AI. Memory and resource constrained settings, such as on-device computing, require smaller models and datasets. Identifying important training data plays a role in online and active learning. Finally, it is of theoretical interest to understand how individual examples and sub-populations of training examples influence learning.
|
| 16 |
+
|
| 17 |
+
To address these challenges, we propose a scoring method that can be used to identify important and difficult examples early in training, and prune the training dataset without large sacrifices in test accuracy. We also investigate how different sub-populations of the training data identified by our score affect the loss surface and training dynamics of the model.
|
| 18 |
+
|
| 19 |
+
Recent work on pruning data [1, 2], can be placed in the broader context of identifying coresets— examples that provably guarantee a small gap in training error on the full dataset [3–7]. However, due to the nonconvex nature of deep learning, coreset techniques make conservative estimates that lead to weak theoretical guarantees and are less effective in practice.
|
| 20 |
+
|
| 21 |
+
A different approach recently proposed by Toneva et al. [8] tracks the number of times through training an example transitions from being correctly classified to misclassified, called a "forgetting event", and find that some examples are rarely forgotten, while others are forgotten repeatedly. Empirically, they observed that training accuracy is not affected by the rarely forgotten training examples and a large fraction of the training data can be removed without any impact on test accuracy. However, since this method relies on collecting forgetting statistics throughout training, the forgetting score is typically calculated in the middle of or at the end of training. Toneva et al. [8] find that, in their example of a ResNet18 trained on CIFAR-10 for 200 epochs, the Spearman rank correlation between early and late scores is good after about 25 epochs and stabilizes after 75 epochs.
|
| 22 |
+
|
| 23 |
+
Broadly speaking, the ability to prune datasets raises a number of questions: What is the nature of examples that can be removed from the training data without hurting accuracy? How early in training can we recognize such examples? How many examples do we need and how does this depend on the data distribution? These questions may have no generic answers and so, in this work, we begin to pursue them empirically in the context of several standard vision benchmarks and standard network architectures. Answers to these questions may both (1) lead to new methodologies that could dramatically reduce training times and memory requirements, and (2) offer important insights into the training dynamics of deep neural networks, and the role of data.
|
| 24 |
+
|
| 25 |
+
Our first finding is that very early in training (just a few epochs), partial forgetting scores identify large fractions of data that can be pruned. Analyzing this puzzling result with a one gradient step analysis of training suggests a very simple heuristic: use the loss gradient norm of individual examples to identify important examples. While this approach does not work when the loss gradient norms are computed at the weights early in training of a single trajectory, we find that, surprisingly, averaging these norms over multiple weight initializations does produce a ranking that correlates strongly with forgetting scores and allows us to prune a significant fraction of examples early in training. Indeed, we can prune $50 \%$ of examples from CIFAR-10 without affecting accuracy, while on the more challenging CIFAR-100 dataset, we can prune $2 5 \%$ of examples with only a $1 \%$ drop in accuracy.
|
| 26 |
+
|
| 27 |
+
Through a series of empirical studies, we have begun to tease apart the properties of important examples and how they can depend on the data distribution. In particular, we find that the examples with the very highest norms become superfluous as the amount of label noise increases. Indeed, even on clean data, we find that in the high pruning regime, the best population excludes the very highest-scoring examples.
|
| 28 |
+
|
| 29 |
+
# 1.1 Contributions
|
| 30 |
+
|
| 31 |
+
• We propose to score the importance of each training example $( x _ { i } , y _ { i } )$ by its expected loss gradient norm (GraNd score), which, up to a constant, bounds the expected change in loss for an arbitrary example $( x , y )$ caused by removing $( x _ { i } , y _ { i } )$ .
|
| 32 |
+
|
| 33 |
+
• We show that pruning training samples with small GraNd scores at initialization allows one to train on much smaller subset of the training data without significant loss in accuracy. While the pruning levels are comparable to those provided by other methods [1, 8], our score is the only one that is well-defined at initialization and early in training.
|
| 34 |
+
|
| 35 |
+
• Our experimental findings suggest that, within the first few epochs of training, the GraNd score is well-approximated by the norm of the error vector (EL2N score), where the error vector is the predicted class probabilities minus one-hot label encoding. In fact, we find that the EL2N score provides an even stronger signal for data-pruning—for CIFAR10 we can prune $50 \%$ of the data, and for the harder CIFAR100, we can prune as much as $2 5 \%$ of the data without any loss in test accuracy.
|
| 36 |
+
|
| 37 |
+
• We study the role of examples with the highest EL2N scores, and find that excluding a small subset of the very highest scoring examples produces a boost in performance. This boost in performance is enhanced in a corrupted label regime.
|
| 38 |
+
|
| 39 |
+
• We introduce a method, based on linearly connected modes, for studying the empirical risk surface in terms of the modes of subsets of data, allowing us to identify when, in training, the final performance on subpopulations is determined. We demonstrate that the linearly connected mode at-convergence of empirical risk surface computed on low EL2N score examples is determined much earlier in training compared to high score examples.
|
| 40 |
+
|
| 41 |
+
• Finally, we study how an example’s EL2N score connects to the network’s training dynamics. We do so by tracking the data-dependent NTK submatrices corresponding to the low or high score examples, and measuring the rate at which it evolves in a scale-invariant way. We find that the NTK submatrix for the high score examples evolves faster throughout training, supporting our hypothesis that high-scoring examples are the ones driving the learning and the changes in the NTK feature space [9].
|
| 42 |
+
|
| 43 |
+
# 2 Which samples are important for learning?
|
| 44 |
+
|
| 45 |
+
# 2.1 Preliminaries
|
| 46 |
+
|
| 47 |
+
We consider supervised classification, where ${ \cal { S } } = \{ ( x _ { i } , y _ { i } ) \} _ { i = 1 } ^ { N }$ denotes the training set, drawn i.i.d. from an unknown data distribution $\mathcal { D }$ , with input vectors $x \in \mathbb { R } ^ { d }$ and one-hot vectors $y \in \{ 0 , 1 \} ^ { K }$ encoding labels. For a fixed neural network architecture, let $f _ { \mathbf { w } } ( x ) \in \mathbb { R } ^ { K }$ be the logit outputs of the neural network with weights w $\in \mathcal { W } \subseteq \mathbb { R } ^ { D }$ on input $\boldsymbol { x } ~ \in ~ \mathbb { R } ^ { d }$ . Let $\sigma$ be the softmax function given by $\begin{array} { r } { \sigma ( z _ { 1 } , . . . , z _ { K } ) _ { k } = \exp \{ z _ { k } \} / \sum _ { k ^ { \prime } = 1 } ^ { K } \exp \{ z _ { k ^ { \prime } } \} } \end{array}$ . Let $p ( \mathbf { w } , x ) = \sigma ( f ( \mathbf { w } , x ) )$ denote the neural network output in the form of a probability vector. For any probability vector $\begin{array} { r } { \ell ( \hat { p } , y ) = \sum _ { k = 1 } ^ { K } y ^ { ( k ) } \log \hat { p } ^ { ( k ) } } \end{array}$ denote cross-entropy loss. $\hat { p }$ , let
|
| 48 |
+
|
| 49 |
+
Let $\mathbf { w } _ { 0 } , \mathbf { w } _ { 1 } , \mathbf { w } _ { 2 } , \ldots , \mathbf { w } _ { T }$ be the iterates of stochastic gradient descent (SGD), where, for some sequence of minibatches $S _ { 0 } , S _ { 1 } , \ldots , S _ { T - 1 } \subseteq S$ of size $M$ , we have
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
\begin{array} { r } { \mathbf { w } _ { t } = \mathbf { w } _ { t - 1 } - \eta \sum _ { ( x , y ) \in S _ { t - 1 } } g _ { t - 1 } ( x , y ) , } \end{array}
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
for $g _ { t - 1 } ( x , y ) = \nabla _ { \mathbf { w } _ { t - 1 } } \ell ( p ( \mathbf { w } _ { t - 1 } , x ) , y )$ , and $t = 1 , \dots , T$ .
|
| 56 |
+
|
| 57 |
+
# 2.2 Gradient Norm Score and an infinitesimal analysis
|
| 58 |
+
|
| 59 |
+
Fix a training set $S$ . Due to training with SGD from a random initialization, the weight vector at time $t > 0$ , $\mathbf { w } _ { t }$ , is a random variable. The expected magnitude of the loss vector is our primary focus:
|
| 60 |
+
|
| 61 |
+
Definition 2.1. The GraNd score of a training example $( x , y )$ at time $t$ is $\chi _ { t } ( x , y ) = \mathbb { E } _ { \mathbf { w } _ { t } } \left\| g _ { t } ( x , y ) \right\| _ { 2 }$
|
| 62 |
+
|
| 63 |
+
Here we describe conditions under which the GraNd score controls the contribution of a training example to the change in the training loss. In order to simplify our analysis, we approximate the training dynamics as if they were in continuous time.
|
| 64 |
+
|
| 65 |
+
A key quantity in our analysis is the time derivative of the loss for a generic labeled example $( x , y )$ : $\begin{array} { r } { \Delta _ { t } ( ( x , y ) , S _ { t } ) = - \frac { \mathrm { d } \ell ( f _ { t } ( x ) , y ) } { \mathrm { d } t } } \end{array}$ (where $f _ { t } ( \cdot ) = f _ { \mathbf { w } _ { t } } ( \cdot ) )$ , i.e., the instantaneous rate of change in the loss on $( x , y )$ at time $t$ , where the gradient is computed on the minibatch $S _ { t }$ . By the chain rule,
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\begin{array} { r } { \Delta _ { t } ( ( x , y ) , S _ { t } ) = g _ { t } ( x , y ) \frac { \mathrm { d } { \mathbf w } _ { t } } { \mathrm { d } t } . } \end{array}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
This relates to our discrete time dynamics via $\begin{array} { r } { \frac { \mathrm { d } \mathbf { w } _ { t } } { \mathrm { d } t } \approx \mathbf { w } _ { t + 1 } - \mathbf { w } _ { t } = - \eta \sum _ { ( x ^ { \prime } , y ^ { \prime } ) \in S _ { t } } g _ { t } ( x ^ { \prime } , y ^ { \prime } ) } \end{array}$
|
| 72 |
+
|
| 73 |
+
Our goal is to understand how removing a training point from minibatch $S _ { t }$ affects $\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S _ { t } )$ for any $( x ^ { * } , y ^ { * } )$ . If a training point $( x , y )$ is not in the minibatch $S _ { t }$ , then the effect is trivial. We thus study $\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S )$ in order to be able to rank all the training examples.
|
| 74 |
+
|
| 75 |
+
Lemma 2.2. Let $S _ { \neg j } = S \setminus ( x _ { j } , y _ { j } )$ . Then for all $( x ^ { * } , y ^ { * } )$ , there exists c such that
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r } { \| \Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S ) - \Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S _ { - j } ) \| \leq c \| g _ { t } ( x _ { j } , y _ { j } ) \| . } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Proof. For a given example $( x ^ { * } , y ^ { * } )$ , the chain rule yields $\begin{array} { r l } { \Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S ) } & { { } = } \end{array}$ $\begin{array} { r l r } { - \frac { \mathrm { d } \ell \left( f _ { t } ( x ^ { * } ) , y ^ { * } \right) } { \mathrm { d } t } } & { { } = } & { \frac { \mathrm { d } \ell ( f _ { t } ( x ^ { * } ) , \bar { y } ^ { * } ) } { \mathrm { d } \mathbf { w } _ { t } } \frac { \mathrm { d } \mathbf { w } _ { t } } { \mathrm { d } t } } \end{array}$ d\`(ft(x⇤),y⇤) dwt nce the weights ar GD, we have . Sitting e updated using S, the result follows. $\begin{array} { r } { \frac { \mathrm { d } \mathbf { w } _ { t } } { \mathrm { d } t } = - \eta \sum _ { ( x _ { j } , y _ { j } ) \in S _ { t } } g _ { t } ( x _ { j } , y _ { j } ) } \end{array}$ $\begin{array} { r } { c = \eta \Vert \frac { \mathrm { d } \ell ( f _ { t } ( x ^ { * } ) , y ^ { * } ) } { \mathrm { d } \mathbf { w } _ { t } } \Vert } \end{array}$ □
|
| 82 |
+
|
| 83 |
+
At any given training step, given the current location $\mathbf { w } _ { t }$ , the contribution of a training example $( x , y ) ^ { \bar { 2 } }$ to the decrease of loss on any other example, is bounded by Eq. (3). Since the constant $c$ does not depend on the training example $( x , y ) ^ { 3 }$ , we only consider the gradient norm term, $\| g _ { t } ( x , y ) \|$ . The expected value of this gradient norm is exactly the GraNd score of $( x , y )$ . In other words, examples with a small GraNd score in expectation have a bounded influence on learning how to classify the rest of the training data at a given training time4. We therefore propose to rank training examples by their GraNd scores, larger norm meaning more important for preserving $\Delta _ { t } ( x )$ .
|
| 84 |
+
|
| 85 |
+
For an arbitrary input $x \in \mathbb { R } ^ { d }$ , let $\psi _ { t } ^ { ( k ) } ( x ) = \nabla _ { \mathbf { w } _ { t } } f _ { t } ^ { ( k ) } ( x )$ denote the $k$ th logit gradient. Then GraNd can be written as5
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\begin{array} { r } { \chi _ { t } ( x , y ) = \mathbb { E } \left. \sum _ { k = 1 } ^ { K } \nabla _ { f ^ { ( k ) } } \ell ( f _ { t } ( x ) , y ) ^ { T } \psi _ { t } ^ { ( k ) } ( x ) \right. _ { 2 } . } \end{array}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
Under the cross entropy loss, $\nabla _ { f ^ { ( k ) } } \ell ( f _ { t } ( x ) , y ) ^ { T } = p ( \mathbf { w } _ { t } , x ) ^ { ( k ) } - y _ { k }$ . When $\{ \psi _ { t } ^ { ( k ) } ( x ) \} _ { k }$ are roughly orthogonal across logits, and are of a similar size across logits and training examples $x$ , then we can approximate GraNd by just the norm of the error vector.
|
| 92 |
+
|
| 93 |
+
Definition 2.3. The EL2N score of a training sample $( x , y )$ is defined to be $\mathbb { E } \| p ( \mathbf { w } _ { t } , x ) - y \| _ { 2 }$ .
|
| 94 |
+
|
| 95 |
+
Our experimental results suggest that this approximation becomes accurate after a few epochs of training (see Section 3). These approximations are also in agreement with the empirical results reported in [9, 10]. Fort and Ganguli [10, Sec. 5.1] demonstrate that the mean logit gradients are nearly orthogonal among classes throughout training. The authors demonstrate that per-example gradients cluster around the mean logit gradient. Fort et al. [9, Figs. 12D-14D] provide evidence that the mean logit gradient directions evolve rapidly early in training and then stabilize (as measured by the cosine distance between mean logit gradient vectors at different times in training).
|
| 96 |
+
|
| 97 |
+
# 2.3 Comparison to forgetting scores
|
| 98 |
+
|
| 99 |
+
Toneva et al. [8] define a “forgetting event” for a training sample to be a point in training when the classifier switches from making a correct classification decision to an incorrect one. They define an approximate forgetting score for each training example as the number of times during training when it was included in a minibatch and underwent a forgetting event. Toneva et al. demonstrate that examples with low forgetting score may be completely omitted during training without any noticeable effect on the accuracy of the learned predictor. In Fig. 1 and Appendix E.5, we make an empirical comparison of forgetting scores to our proposed GraNd and EL2N scores.
|
| 100 |
+
|
| 101 |
+
In Lemma 2.2, we bounded the contribution of a training example to the decrease of the loss of any other sample over a single gradient step. Due to $\psi _ { t } ( \cdot )$ ’s being time-dependent, it is complicated to extend the analysis to multiple steps. However, it is interesting to consider a case when $\psi _ { t } ( x _ { i } ) =$ $\psi ( x _ { i } )$ for all $x _ { i }$ in the training set, and $K = 1$ . Then summing the bound in Eq. (3) on how much a sample $( x _ { j } , y _ { j } )$ affects the logit output on an arbitrary point at each time $t \in \{ 1 , . . , T \}$ , we obtain a score that depends on $\| \psi ( x _ { j } ) \| | \sum _ { t } ( p _ { t } ( x _ { j } ) - y _ { j } ) |$ . For two examples, $( x , y )$ and $( x ^ { \prime } , y ^ { \prime } )$ , such that $\| \psi ( x ^ { \prime } ) \| \approx \| \psi ( x ) \|$ , we see that the example that is learned faster and maintains small error over training time will have a smaller GraNd score on average throughout training. Note that $| ( p _ { t } ( x _ { j } ) - y _ { j } ) |$ , if rescaled, is an upper bound on 0–1 loss, and therefore $\begin{array} { r } { \sum _ { t } | ( p _ { t } ( x _ { j } ) - y _ { j } ) | } \end{array}$ upper bounds the number of forgetting events during training (after rescaling). In this simplified setting an example with a high number of forgetting events will also have a high GraNd score.
|
| 102 |
+
|
| 103 |
+
# 3 Empirical Evaluation of GraNd and EL2N Scores via Data Pruning
|
| 104 |
+
|
| 105 |
+
In the previous section, we motivated GraNd and EL2N scores by quantifying the influence of a training example on the loss of an arbitrary example after one optimization step. In this section, we evaluate these scores empirically, and verify that they identify examples important for generalization. Networks trained on subsets of the data with high scores achieve levels of test accuracy comparable to training on the full dataset and are competitive with other state of the art data pruning methods. Perhaps most remarkably, these scores are effective even when computed early in training and perform significantly better than a random baseline, even at initialization.
|
| 106 |
+
|
| 107 |
+

|
| 108 |
+
Figure 1: Columns correspond to three different dataset and network combinations (labeled at the top). Each legend applies to all 3 figures in its row. First row: Final test accuracy achieved by training on a subset of training data comprised of examples with maximum forgetting, EL2N and GraNd scores computed at different times early in training. Subsets of a fixed size are used: networks are trained on $50 \%$ of training data for CIFAR-10, $60 \%$ for CINIC-10 and $7 5 \%$ for CIFAR-100. Second row: Final test accuracy achieved by training after different fractions of the dataset are pruned. Here we compare forgetting scores at the end of training, EL2N scores early in training (at epoch 20) and GraNd scores at initialization. In each case, examples with the lowest scores are pruned at initialization. In all experiments accuracies achieved by training on the full dataset and on a random subset of the corresponding size are used as baselines.
|
| 109 |
+
|
| 110 |
+
Data pruning experiments. We train convolutional neural networks of varying depth–ResNet18 and ResNet50 [11]–on standard vision datasets of varying difficulty–CIFAR-10, CIFAR-100 [12], and CINIC-10 [13]. All scores are calculated by averaging the scores from ten independent training runs. After calculating scores and selecting a training subset, final test accuracies are obtained by retraining networks from new random initializations on only the selected subset. Networks used for evaluating the scores are initialized with seeds that are different from those used to calculate the scores. For each experiment, we report the mean of four independent runs and represent variability across runs by shading the region which spans the 16th to 84th percentile of obtained accuracies. See Appendix B for more implementation details and Appendix E for additional experiments.
|
| 111 |
+
|
| 112 |
+
In Fig. 1, we show the results of two sets of experiments (top and bottom) on three different network and dataset combinations. The first experiment asks, how early in training are forgetting, GraNd and EL2N scores effective at identifying examples important for generalization? We compare the final test accuracy from training on subsets of fixed size but pruned based on scores computed at different times early in training. The second experiment compares how GraNd scores at initialization, EL2N scores early in training and forgetting scores at the end of training negotiate the trade-off between generalization performance and training set size. The training sets are constructed by pruning different fractions of the lowest score examples. In all examples, training on the full dataset and a random subset of the corresponding size are used as baselines. We make the following observations.
|
| 113 |
+
|
| 114 |
+
Pruning at initialization. In all settings, GraNd scores can be used to select a training subset at initialization that achieves test accuracy significantly better than random, and in some cases, competitive with training on all the data. This is remarkable because GraNd only contains information about the gradient norm at initializion, averaged over initializations. This suggests that the geometry of the training distribution induced by a random network contains a surprising amount of information about the structure of the classification problem. EL2N scores, which only contain information about errors, are not consistently effective at initialization and forgetting scores, which require counting forgetting events over training, are not defined at initialization.
|
| 115 |
+
|
| 116 |
+
Pruning early in training. We find that, after only a few epochs of training, EL2N scores are extremely effective at identifying important examples for generalization. For a wide range of intermediate pruning levels, training on the highest scores performs on par with or better than training on the full dataset. Even at higher pruning levels, EL2N scores computed using local information early in training are competitive with forgetting scores which integrate information over the training trajectory. This suggests that the average error vector a few epochs into training can identify examples that the network heavily uses to shape the decision boundary throughout training.
|
| 117 |
+
|
| 118 |
+
Interestingly, at extreme levels of pruning with either EL2N or GraNd scores, we observe a sharp drop in performance. We hypothesize that this is because at high levels of pruning, using either GraNd or EL2N scores leads to bad coverage of the data distribution. By only focusing on the highest error examples, it is likely that an entire subpopulation of significant size that is present in the test data is now excluded from the training set. We only fit a small number of very difficult examples and do not keep enough of a variety of examples for training models with good test error.
|
| 119 |
+
|
| 120 |
+
A property of the data. Our results suggest that the ranking of important examples induced by EL2N scores is a property of the dataset and not specific to a network. First, in Appendix E.2, we show that a ResNet18 and a ResNet50 trained on CIFAR-10 have similar performance curves and the same amount of data can be pruned, even though ResNet50 is a much deeper network with more parameters. Second, EL2N scores calculated on one set of network architecture and hyperparameter configurations can be used to prune data for training with a different network architecture or hyperparameter configuration. The set of important examples generalizes across architectures and hyperparameters. See Appendix E.3 for the experiment on generalization across architectures and Appendix E.4 for the experiment on using scores calculated during hyperparameter optimization. Additionally, in an analysis of the sensitivity of the scoring methods to hyperparameters in Appendix E.1, we observe that scores calculated on a single network do not perform as well as those averaged across networks.
|
| 121 |
+
|
| 122 |
+
We hypothesize that averaging the gradient or error norms over multiple initializations or training trajectories removes dependence on specific weights, allowing a more accurate distillation of the properties of the dataset. EL2N scores can thus be used to probe and understand how the distribution of the training data impacts dynamics (as we show in the next sections). Additionally, it can also reduce the computational burden of training neural networks; once we compute the scores, future networks can be trained on the pruned dataset.
|
| 123 |
+
|
| 124 |
+
In the following experiments, we focus on EL2N scores computed early in training, as they appear to more accurately identify important examples.
|
| 125 |
+
|
| 126 |
+
# 4 Identifying noise examples
|
| 127 |
+
|
| 128 |
+
In the previous section, we studied the effect of keeping the highest-scoring examples, and found that we could train on only the top $50 \%$ of examples by score without a drop in accuracy (CIFAR-10). What is the nature of subpopulations of examples that allow us to reach high accuracy? One hypothesis is that the highest-scoring examples are the most important ones for achieving an accurate classifier. In this section, we refute this hypothesis, and demonstrate the role of label noise.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 2: ResNet18 trained on a $40 \%$ subset of CIFAR-10 with clean (left) and $10 \%$ randomized labels (right). The training subset contains the lowest scoring examples after examples with scores below the offset are discarded. Scores computed at epoch 10.
|
| 132 |
+
|
| 133 |
+
To test whether the highest-scoring examples are most important for achieving high accuracy, we first sort the examples by increasing EL2N score computed after a small number of training epochs.6 Then we perform a sliding window analysis by training on a subset of examples with scores within a window from percentile $f$ to percentile $f + P$ percentile, always keep $P \%$ of the data but sliding up $f$ . As this window slides to higher percentiles, performance increases, except when the window includes examples with the very highest scores Fig. 2 (left). Indeed the the optimal sliding window actually excludes approximately 500 of the highest-scoring training examples. These effects are reduced in the low pruning regime (see Appendix F.1). In Appendix C, we visualize some of the images that are excluded from each class.
|
| 134 |
+
|
| 135 |
+
Before we analyze these results, we first place them into a wider context, where we also change the amount of noise in the underlying label distribution. We repeat the experiment outlined above, but corrupt a random $K \%$ of labels, replacing them with a random label, mirroring the protocol popularized by Zhang et al. [14]. Fig. 2 reveals that with increased label corruption, the optimal window shifts and excludes a higher number of examples. Therefore, the effect we see in the noiseless case appears to be magnified in the presence of label noise. Appendix F.2 examines how adding label noise influences the distribution of EL2N scores of examples.
|
| 136 |
+
|
| 137 |
+
These findings have several implications. The most obvious implication is that training with only the highest-scoring samples may not be optimal, especially when there is label noise. When the population has a low Bayes error rate, using only the highest scoring samples yields optimal results. However, without a validation set, one should be cautious in excluding high-score examples. Feldman [15] discusses memorization in a noisy-label setup and gives conditions under which one should memorize in order to not misclassify singleton examples ( examples in the training data that are the sole representatives of a subpopulation). For example, if the subpopulation appears with a frequency $\Omega ( 1 \bar { / } N )$ , memorizing such examples can improve generalization. In practice, we may not know whether our data fits these conditions. However, our analysis in Fig. 2 suggests a simple and powerful method to prune data for optimal performance by optimizing just two hyperparameters of a sliding window using a validation set.
|
| 138 |
+
|
| 139 |
+
# 5 Optimization landscape and the training dynamics
|
| 140 |
+
|
| 141 |
+
# 5.1 Evolution of the data-dependent NTK
|
| 142 |
+
|
| 143 |
+
The dynamics of neural-network training in the infinite-width limit are now well understood [16, 17]: for an appropriate scaling of the learning rate and initial weights, the neural network behaves like a linear model in which the data is transformed by the Neural Tangent Kernel (NTK) at initialization, which is defined as the product of the Jacobians of the logits at initialization. In the limit, neural network training implements kernel regression with the fixed NTK as the kernel.
|
| 144 |
+
|
| 145 |
+
However, finite neural networks outperform their infinitewidth limits [18] and have different dynamics early in training [19]. In fact, rather than being constant, the datadependent NTK, defined by Fort et al. [9] as the Gram matrix of the logit Jacobian, evolves with high velocity in the initial phase of training. Then, around the time of onset of linear mode connectivity, the NTK velocity stabilizes at a smaller value and remains nearly constant for the rest of the high learning rate training time.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 3: Kernel velocity for different subsets of images when ResNet18 is trained on CIFAR-10 with all true labels (left) and $10 \%$ label noise (right). Examples are sorted in ascending order by EL2N scores and each point corresponds to the kernel velocity of 100 contiguous images starting at example index. Both scores and velocities are computed at the same epoch indicated by color.
|
| 149 |
+
|
| 150 |
+
Here we seek to understand which training samples contribute to the NTK gram matrix evolution. To empirically approximate the velocity of a NTK submatrix corresponding to a subset of images in a scale invariant way, we follow [9]. We compute the cosine distance between two NTK gram matrices on the given subset, one computed at epoch $t$ , and another one at epoch $t { + } 1$ , one epoch later (see Appendix B.3). We look at submatrices of a fixed size, formed by examples with contiguous EL2N scores. Fig. 3 shows that higher EL2N scores lead to higher velocities. This relationship is not affected by the time at which both are computed.
|
| 151 |
+
|
| 152 |
+
Interestingly, the kernel velocity drops off sharply for examples with the very highest scores when label noise is introduced. In Section 4, we showed that dropping these examples boosts the accuracy of the final predictor. We hypothesize that, while the kernel velocity is higher for harder examples that the model is actively trying to fit, the kernel velocity drops off for the very highest scoring examples that might be too difficult to learn, perhaps because they are unrepresentative samples or they have have label noise.
|
| 153 |
+
|
| 154 |
+
# 5.2 Connections to the Linear Mode Connectivity
|
| 155 |
+
|
| 156 |
+
We now examine how the ranking of the examples by EL2N connects to the geometry of the loss surface. In particular, Frankle et al. [20] studied the effect of minibatch randomness on the training trajectory, focusing on identifying the point in training when two networks, starting from the same weights, but trained with independent minibatches, converge to the same “linearly connected” mode. They find that, for standard vision datasets, the onset of this “linear mode connectivity” (LMC) happens early in training.
|
| 157 |
+
|
| 158 |
+
More precisely, let $w _ { 1 } , w _ { 2 } , \dots , w _ { T }$ be the training trajectory of a parent network, fix a spawning time $t ^ { * }$ , and let $v _ { t ^ { * } }$ , $v _ { t ^ { * } + 1 }$ , $v _ { t ^ { * } + 2 } , \ldots , v _ { T }$ be an independent training trajectory (i.e., with independent minibatches), beginning at $v _ { t ^ { * } } = w _ { t ^ { * } }$ . We call $v _ { T }$ the child network and $v _ { t ^ { * } } , v _ { t ^ { * } + 1 } , \ldots .$ the child trajectory. The (training) error barrier between two weights $w$ and $w ^ { \prime }$ , denoted $\mathrm { e r r } ( w , w ^ { \prime } ; S )$ , is the maximum deviation of the training error surface ${ \hat { R } } _ { S } ( \cdot )$ above the line connecting the empirical risk at $w$ and $w ^ { \prime }$ . That is,
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
\begin{array} { r } { \mathrm { e r r } ( w , w ^ { \prime } ; S ) = \operatorname* { s u p } _ { \alpha \in [ 0 , 1 ] } \left\{ \hat { R } _ { S } ( \alpha w + ( 1 - \alpha ) w ^ { \prime } ) - \alpha \hat { R } _ { S } ( w ) - ( 1 - \alpha ) \hat { R } _ { S } ( w ^ { \prime } ) \right\} . } \end{array}
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
We then define the mean (training) error barrier, spawning at $t ^ { * }$ , at time $t$ , for $t ^ { * } \leq t \leq T$ , denoted $\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S )$ , to be the expected error barrier between $w _ { t }$ and $v _ { t }$ on the data $S$ . That is,
|
| 165 |
+
|
| 166 |
+
$$
|
| 167 |
+
\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S ) = \mathbb { E } _ { w _ { t ^ { * } + 1 : t } , v _ { t ^ { * } + 1 , t } } [ \mathrm { e r r } ( w _ { t } , v _ { t } ; S ) ] ,
|
| 168 |
+
$$
|
| 169 |
+
|
| 170 |
+
where the expectation is taken over the randomness in the trajectories of $w$ and $v$ after $t ^ { * }$ due to the choice of minibatches, conditional on the initial trajectories up through time $t ^ { * }$ . (Note that, at the end of training $t = T$ , the supremum in $\mathrm { e r r } ( w _ { T } , v _ { T } ; S )$ is often achieved near $\alpha = 1 / 2$ , and so this is a cheap approximation used in practice.) The “onset” of linear mode connectivity is the earliest spawning time $t ^ { * }$ at which point $\mathrm { e r r } _ { T } ^ { t ^ { * } } ( S ) \approx 0$ , where $S$ is the whole training set. In our work, we instead compute the error barrier on subsets of the training set, which allows us to compare the training dynamics and modes on subpopulations.
|
| 171 |
+
|
| 172 |
+
In Fig. 4, we measure the mean error barrier $\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S ^ { \prime } )$ as a function of the spawning time $t ^ { * }$ , in the cases where $S ^ { \prime }$ are either 1) the training examples with the smallest scores, 2) the largest scores, or 3) a random subset of training examples. We find that the error barrier falls close to zero very rapidly for examples that have low EL2N scores, and stays high for high score examples. These findings suggest that the loss landscape derived from restricted subsets of examples with low and high EL2N behave very differently. The loss landscape derived from easy subsets of examples with low scores is quite flat, in the sense that error barriers between children as a function of spawn time rapidly diminish. On the other hand, the loss landscape derived from harder subsets of examples with higher scores is rougher, with higher error barriers that persist for longer in the spawn time. Further, this result is in agreement with the results presented in Section 5.1, showing that most of the learning happens in the high EL2N score examples.
|
| 173 |
+
|
| 174 |
+
# 6 Related Work
|
| 175 |
+
|
| 176 |
+
As discussed earlier, our work is closely related to an empirical study by Toneva et al. [8], which examines the frequency with which correct classification decisions are forgotten during training.
|
| 177 |
+
|
| 178 |
+

|
| 179 |
+
Figure 4: The final training error barrier between children on subsets of a 1000 highest (green) and lowest (orange) EL2N score examples, and randomly selected training subset (blue) as a function of the spawning time. Left to right: different dataset and network combinations.
|
| 180 |
+
|
| 181 |
+
The authors observe that examples that are rarely forgotten are also ones that do not contribute much to the final accuracy of the predictor. In particular, if we retrain from initialization after having removed rarely forgotten examples from the training data, we achieve the same accuracy. Similar to our work, this work analyzes the dynamics of training in deep learning through the lens of training examples. However, unlike forgetting scores, our proposed methods use only local information early in training. This highlights two properties: example importance is reflected in the local properties of the loss landscape after a few epochs and the ordering of examples by importance is roughly preserved throughout training. We think that this is a key contribution and hope it prompts future empirical and theoretical work exploring the early stage of learning.
|
| 182 |
+
|
| 183 |
+
Coleman et al. [1] use a small proxy network in combination with other training data selection methods to find a small subset of important-for-training examples, that can then be used to train a large state-of-the-art (SOTA) deep neural network. In their empirical study, they observe that most important examples selected via a proxy model are also important for training a SOTA network. In addition, they study a proxy which reuses SOTA network’s architecture but is trained for a shorter time. The authors observe that selecting the important examples after at least 50 epochs of training works better than selecting them at random, but not as well as after the full training run. They do not study shorter training times for proxies or relate it to the training dynamics in any other way.
|
| 184 |
+
|
| 185 |
+
Another line of related work is on coresets (see, e.g., [4, 5, 7, 21–23], and many others). The term coresets generally refers to a possibly weighted subset of training data. Much of the work on coresets is focused on identifying small training data subsets that provably yield an $\epsilon$ -approximate solution to the original objective (on all the training data). Most guarantees require the problem to have special structure, such as convexity. For nonconvex problems, like training deep neural networks, guarantees are provided for very conservative proxies, e.g., based on Lipschitz constants or smoothness. While coreset selection comes with nice theoretical guarantees, in our opinion, the utility of these methods is best considered an empirical question.
|
| 186 |
+
|
| 187 |
+
Coresets have also been studied in the active learning community. Here, the goal is to select a small set of examples to label at any given iteration of training (see, e.g., [24–28], and references therein). Coreset selection has also been proposed as a way to increase model robustness [29].
|
| 188 |
+
|
| 189 |
+
Pleiss et al. use a similar method, the Area Under the Margin (AUM) statistic, but with a slightly different goal: identifying noisy and mislabeled examples. Their proposed method exploits differences in the training dynamics of clean and mislabeled samples by keeping track of statistics through the course of training. The AUM statistic is similar to forgetting scores in that it uses information from the whole training run. In contrast, we focus on instantaneous information in the early phase of training. In addition to identifying noisy examples, we aim to rank points by importance and therefore also identify redundant/easy examples. Thus our approach is complimentary to the AUM statistic and can be used together to obtain higher levels of pruning on noisy datasets.
|
| 190 |
+
|
| 191 |
+
There have been a number of recent studies looking at the problem of estimating example difficulty. One such approach for identifying difficult examples within a given class is the Variance of Gradients (VoG) score proposed by Agarwal, D’souza, and Hooker [31]. For each image, they calculate the gradient of the activations with respect to the pixels at $K$ different checkpoints over training. The VoG score is the average (over pixels) of the per-pixel variance across these $K$ checkpoints. The authors conclude that the images that appear more difficult also have a higher VoG score. Understanding the connections between these two scores calculated in entirely different spaces is an interesting direction for future work.
|
| 192 |
+
|
| 193 |
+
Another quite different approach estimates example difficulty using prediction depth [32], which is defined as the first layer at which a $\mathbf { k }$ -Nearest Neighbor classifier can correctly classify an example using the representation of the image in all subsequent layers. In additional to methodological differences, this method uses the final trained network. To our knowledge, we are the first to highlight the existence of a strong signal for estimating example difficulty early in training.
|
| 194 |
+
|
| 195 |
+
Informally, removing a training example from the training data and not hurting the generalization error suggests that the example has small “influence” on the test data. Influence of the training examples on test examples is studied in sample-based explainability [33–35]. On the theory side, Feldman [15] recently proposed to model data as a mixture of populations and study the role of memorization when the data distribution is long-tailed. Feldman demonstrates conditions under which memorization is necessary for good generalization. In doing so, he proposes a definition of example memorization and influence, which can be interpreted as a leave-one-out notion of stability. In an empirical study following this work, Feldman and Zhang [36] demonstrate that classifiers trained on computer vision benchmarks benefit from memorization. In particular, training without high-memorization-value examples comes at a cost of accuracy of the learned neural network classifier. In Appendix G, we compare GraNd, EL2N, forgetting scores, and memorization values on CIFAR-100-trained Resnet50 networks; memorization values do not correlate with the other scores.
|
| 196 |
+
|
| 197 |
+
# 7 Discussion
|
| 198 |
+
|
| 199 |
+
In summary, our work both (1) introduces methods to significantly prune data without sacrificing test accuracy using only local information very early in training (Fig. 1), sometimes even at initialization, and (2) uses the resulting methods to obtain new scientific insights into how different subsets of training examples drive the dynamics of deep learning. We start from a principled approach by asking how much on average each training example influences the loss reduction of other examples, and from that starting point, we obtain 2 scores, namely gradient norm (GraNd) and error norm (EL2N) that bound or approximate this influence, with higher scores indicating higher potential influence. We find that examples with higher scores tend to be harder to learn, in the sense that they are forgotten more often over the entire course of training. We also find that the very highest scoring examples tend to be either unrepresentative outliers of a class, have non standard backgrounds or odd angles, are subject to label noise, or are otherwise difficult. This observation yields a simple and powerful sliding window method (Fig. 2) to prune data by keeping examples within a range of scores, where the start and the end of the range constitute just 2 hyperparmeters that can be tuned via a validation set. This tuning can be done using different hyperparameter settings or on a different network saving computation time (Appendix E.3). Furthermore, we find that high-scoring examples primarily drive feature learning by maximally supporting the velocity of the NTK, whereas learning dynamics might actually give up on the very highest scoring examples that may correspond to unrepresentative examples or noise (Fig. 3). Finally we show that higher (lower) scoring subsets of examples contribute to a rougher (smoother) loss landscape (Fig. 4). Overall this decomposition of both loss landscape geometry and learning dynamics into differential contributions from different types of examples constitutes an exciting new methodology for analyzing deep learning. A deeper understanding of the differential role played by different subsets of examples could aid not only in data pruning, but also in curriculum design, active learning, federated learning with privacy, and analysis of fairness and bias. Our empirical findings raise a number of interesting theoretical questions, some of which we discuss in Appendix D.
|
| 200 |
+
|
| 201 |
+
# Acknowledgements
|
| 202 |
+
|
| 203 |
+
The authors would like to thank Blair Bilodeau, Alex Drouin, Étienne Marcotte, and Daniel M. Roy for feedback on drafts, the Toolkit team at ServiceNow for providing the tools and computation resources that greatly accelerated our empirical work, and the NeurIPS reviewers for their thorough engagement and invaluable feedback on label-dependence and practical applications. S.G. thanks the Simons Foundation, NTT Research and an NSF Career award for funding while at Stanford.
|
| 204 |
+
|
| 205 |
+
# References
|
| 206 |
+
|
| 207 |
+
Zaharia. Selection via proxy: Efficient data selection for deep learning. 2019. arXiv: 1906. 11829.
|
| 208 |
+
[2] M. Hwang, Y. Jeong, and W. Sung. “Data distribution search to select core-set for machine learning”. In: Proc. 9th Int. Conf. Smart Media & Appl. (SMA 2020), Jeju, Korea. 2020, pp. 17–19.
|
| 209 |
+
[3] S. Har-Peled and A. Kushal. “Smaller coresets for $\mathbf { k }$ -median and $\mathbf { k }$ -means clustering”. Discrete & Computational Geometry 37.1 (2007), pp. 3–19.
|
| 210 |
+
[4] J. H. Huggins, T. Campbell, and T. Broderick. “Coresets for scalable bayesian logistic regression” (2016). arXiv: 1605.06423.
|
| 211 |
+
[5] T. Campbell and T. Broderick. “Bayesian coreset construction via greedy iterative geodesic ascent”. In: Int. Conf. Machine Learning. PMLR. 2018, pp. 698–706.
|
| 212 |
+
[6] I. W. Tsang, J. T. Kwok, P.-M. Cheung, and N. Cristianini. “Core vector machines: Fast SVM training on very large data sets.” Journal of Machine Learning Research 6.4 (2005).
|
| 213 |
+
[7] A. Munteanu, C. Schwiegelshohn, C. Sohler, and D. P. Woodruff. On coresets for logistic regression. 2018. arXiv: 1805.08571.
|
| 214 |
+
[8] M. Toneva, A. Sordoni, R. T. d. Combes, A. Trischler, Y. Bengio, and G. J. Gordon. An empirical study of example forgetting during deep neural network learning. 2018. arXiv: 1812.05159.
|
| 215 |
+
[9] S. Fort, G. K. Dziugaite, M. Paul, S. Kharaghani, D. M. Roy, and S. Ganguli. “Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the Neural Tangent Kernel”. In: Advances in Neural Information Processing Systems. 2020. arXiv: 2010.15110.
|
| 216 |
+
[10] S. Fort and S. Ganguli. “Emergent properties of the local geometry of neural loss landscapes”. arXiv preprint arXiv:1910.05929 (2019).
|
| 217 |
+
[11] K. He, X. Zhang, S. Ren, and J. Sun. “Deep residual learning for image recognition”. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2016, pp. 770– 778.
|
| 218 |
+
[12] A. Krizhevsky, V. Nair, and G. Hinton. “Learning multiple layers of features from tiny images” (2009).
|
| 219 |
+
[13] L. N. Darlow, E. J. Crowley, A. Antoniou, and A. J. Storkey. “CINIC-10 is not ImageNet or CIFAR-10”. CoRR abs/1810.03505 (2018). arXiv: 1810.03505.
|
| 220 |
+
[14] C. Zhang, S. Bengio, M. Hardt, B. Recht, and O. Vinyals. “Understanding deep learning requires rethinking generalization”. In: Int. Conf. Representation Learning (ICLR). 2017. arXiv: 1611.03530v2.
|
| 221 |
+
[15] V. Feldman. “Does learning require memorization? a short tale about a long tail”. In: Proc. 52nd Ann. ACM SIGACT Symp. Theory of Comput. (STOC). 2020, pp. 954–959.
|
| 222 |
+
[16] A. Jacot, F. Gabriel, and C. Hongler. “Neural tangent kernel: Convergence and generalization in neural networks”. In: Advances in Information Processing Systems (NeurIPS). 2018. arXiv: 1806.07572.
|
| 223 |
+
[17] J. Lee, L. Xiao, S. S. Schoenholz, Y. Bahri, R. Novak, J. Sohl-Dickstein, and J. Pennington. Wide neural networks of any depth evolve as linear models under gradient descent. 2019. arXiv: 1902.06720.
|
| 224 |
+
[18] S. Arora, S. S. Du, Z. Li, R. Salakhutdinov, R. Wang, and D. Yu. Harnessing the power of infinitely wide deep nets on small-data tasks. 2019. arXiv: 1910.01663.
|
| 225 |
+
[19] A. Lewkowycz, Y. Bahri, E. Dyer, J. Sohl-Dickstein, and G. Gur-Ari. The large learning rate phase of deep learning: the catapult mechanism. 2020. arXiv: 2003.02218.
|
| 226 |
+
[20] J. Frankle, G. K. Dziugaite, D. Roy, and M. Carbin. “Linear mode connectivity and the lottery ticket hypothesis”. In: Int. Conf. Machine Learning (ICML). 2020, pp. 3259–3269. arXiv: 1912.05671.
|
| 227 |
+
[21] P. K. Agarwal, S. Har-Peled, K. R. Varadarajan, et al. “Geometric approximation via coresets”. Combinatorial and computational geometry 52 (2005), pp. 1–30.
|
| 228 |
+
[22] D. Feldman, M. Schmidt, and C. Sohler. “Turning big data into tiny data: Constant-size coresets for k-means, PCA, and projective clustering”. SIAM J. Computing 49.3 (2020), pp. 601– 657.
|
| 229 |
+
[23] E. Tolochinsky and D. Feldman. Coresets for monotonic functions with applications to deep learning. 2018. arXiv: 1802.07382.
|
| 230 |
+
[24] K. Wei, R. Iyer, and J. Bilmes. “Submodularity in data subset selection and active learning”. In: Int. Conf. Machine Learning. PMLR. 2015, pp. 1954–1963.
|
| 231 |
+
[25] O. Sener and S. Savarese. Active learning for convolutional neural networks: A core-set approach. 2017. arXiv: 1708.00489.
|
| 232 |
+
[26] K. Killamsetty, D. Sivasubramanian, G. Ramakrishnan, and R. Iyer. GLISTER: Generalization based Data Subset Selection for Efficient and Robust Learning. 2020. arXiv: 2012 . 10630.
|
| 233 |
+
[27] B. Mirzasoleiman, J. Bilmes, and J. Leskovec. “Coresets for data-efficient training of machine learning models”. In: Int. Conf. Machine Learning (ICML). PMLR. 2020, pp. 6950–6960. arXiv: 1906.01827.
|
| 234 |
+
[28] Y. Shen, H. Yun, Z. C. Lipton, Y. Kronrod, and A. Anandkumar. Deep active learning for named entity recognition. 2017. arXiv: 1707.05928.
|
| 235 |
+
[29] B. Mirzasoleiman, K. Cao, and J. Leskovec. “Coresets for Robust Training of Neural Networks against Noisy Labels” (2020). arXiv: 2011.07451.
|
| 236 |
+
[30] G. Pleiss, T. Zhang, E. R. Elenberg, and K. Q. Weinberger. “Identifying mislabeled data using the area under the margin ranking”. arXiv preprint arXiv:2001.10528 (2020).
|
| 237 |
+
[31] C. Agarwal, D. D’souza, and S. Hooker. “Estimating example difficulty using variance of gradients”. arXiv preprint arXiv:2008.11600 (2020).
|
| 238 |
+
[32] R. J. N. Baldock, H. Maennel, and B. Neyshabur. Deep Learning Through the Lens of Example Difficulty. 2021. arXiv: 2106.09647 [cs.LG].
|
| 239 |
+
[33] P. W. Koh and P. Liang. “Understanding black-box predictions via influence functions”. In: Int. Conf. Machine Learning. PMLR. 2017, pp. 1885–1894.
|
| 240 |
+
[34] E. Barshan, M.-E. Brunet, and G. K. Dziugaite. “Relatif: Identifying explanatory training samples via relative influence”. In: Int. Conf. Artificial Intelligence and Statistics (AISTATS). 2020, pp. 1899–1909.
|
| 241 |
+
[35] G. Pruthi, F. Liu, S. Kale, and M. Sundararajan. “Estimating Training Data Influence by Tracing Gradient Descent”. In: Advances in Neural Information Processing Systems. 2020.
|
| 242 |
+
[36] V. Feldman and C. Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. 2020. arXiv: 2008.03703.
|
| 243 |
+
[37] J. Bradbury, R. Frostig, P. Hawkins, M. J. Johnson, C. Leary, D. Maclaurin, G. Necula, A. Paszke, J. VanderPlas, S. Wanderman-Milne, and Q. Zhang. JAX: composable transformations of Python+NumPy programs. Version 0.2.5. 2018.
|
| 244 |
+
[38] J. Heek, A. Levskaya, A. Oliver, M. Ritter, B. Rondepierre, A. Steiner, and M. van Zee. Flax: A neural network library and ecosystem for JAX. Version 0.3.4. 2020.
|
parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_content_list.json
ADDED
|
@@ -0,0 +1,1147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Deep Learning on a Data Diet: Finding Important Examples Early in Training ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
215,
|
| 8 |
+
122,
|
| 9 |
+
784,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Mansheej Paul Stanford University mansheej@stanford.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
230,
|
| 19 |
+
226,
|
| 20 |
+
415,
|
| 21 |
+
267
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Surya Ganguli Stanford University; Facebook AI Research sganguli@stanford.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
478,
|
| 30 |
+
226,
|
| 31 |
+
766,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Gintare Karolina Dziugaite Mila ⇤ gkdz@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
401,
|
| 41 |
+
289,
|
| 42 |
+
594,
|
| 43 |
+
332
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
367,
|
| 54 |
+
535,
|
| 55 |
+
383
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Recent success in deep learning has partially been driven by training increasingly overparametrized networks on ever larger datasets. It is therefore natural to ask: how much of the data is superfluous, which examples are important for generalization, and how do we find them? In this work, we make the striking observation that, in standard vision datasets, simple scores averaged over several weight initializations can be used to identify important examples very early in training. We propose two such scores—the Gradient Normed (GraNd) and the Error L2-Norm (EL2N) scores—and demonstrate their efficacy on a range of architectures and datasets by pruning significant fractions of training data without sacrificing test accuracy. In fact, using EL2N scores calculated a few epochs into training, we can prune half of the CIFAR10 training set while slightly improving test accuracy. Furthermore, for a given dataset, EL2N scores from one architecture or hyperparameter configuration generalize to other configurations. Compared to recent work that prunes data by discarding examples that are rarely forgotten over the course of training, our scores use only local information early in training. We also use our scores to detect noisy examples and study training dynamics through the lens of important examples—we investigate how the data distribution shapes the loss surface and identify subspaces of the model’s data representation that are relatively stable over training. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
400,
|
| 65 |
+
764,
|
| 66 |
+
662
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
691,
|
| 77 |
+
310,
|
| 78 |
+
709
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Recently, deep learning has made remarkable progress driven, in part, by training overparameterized models on ever larger datasets. This trend creates new challenges: the large computational resources required pose a roadblock to the democratization of AI. Memory and resource constrained settings, such as on-device computing, require smaller models and datasets. Identifying important training data plays a role in online and active learning. Finally, it is of theoretical interest to understand how individual examples and sub-populations of training examples influence learning. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
726,
|
| 88 |
+
823,
|
| 89 |
+
809
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To address these challenges, we propose a scoring method that can be used to identify important and difficult examples early in training, and prune the training dataset without large sacrifices in test accuracy. We also investigate how different sub-populations of the training data identified by our score affect the loss surface and training dynamics of the model. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
815,
|
| 99 |
+
823,
|
| 100 |
+
869
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Recent work on pruning data [1, 2], can be placed in the broader context of identifying coresets— examples that provably guarantee a small gap in training error on the full dataset [3–7]. However, due to the nonconvex nature of deep learning, coreset techniques make conservative estimates that lead to weak theoretical guarantees and are less effective in practice. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
92,
|
| 110 |
+
825,
|
| 111 |
+
147
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "A different approach recently proposed by Toneva et al. [8] tracks the number of times through training an example transitions from being correctly classified to misclassified, called a \"forgetting event\", and find that some examples are rarely forgotten, while others are forgotten repeatedly. Empirically, they observed that training accuracy is not affected by the rarely forgotten training examples and a large fraction of the training data can be removed without any impact on test accuracy. However, since this method relies on collecting forgetting statistics throughout training, the forgetting score is typically calculated in the middle of or at the end of training. Toneva et al. [8] find that, in their example of a ResNet18 trained on CIFAR-10 for 200 epochs, the Spearman rank correlation between early and late scores is good after about 25 epochs and stabilizes after 75 epochs. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
154,
|
| 121 |
+
823,
|
| 122 |
+
279
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Broadly speaking, the ability to prune datasets raises a number of questions: What is the nature of examples that can be removed from the training data without hurting accuracy? How early in training can we recognize such examples? How many examples do we need and how does this depend on the data distribution? These questions may have no generic answers and so, in this work, we begin to pursue them empirically in the context of several standard vision benchmarks and standard network architectures. Answers to these questions may both (1) lead to new methodologies that could dramatically reduce training times and memory requirements, and (2) offer important insights into the training dynamics of deep neural networks, and the role of data. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
285,
|
| 132 |
+
825,
|
| 133 |
+
395
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Our first finding is that very early in training (just a few epochs), partial forgetting scores identify large fractions of data that can be pruned. Analyzing this puzzling result with a one gradient step analysis of training suggests a very simple heuristic: use the loss gradient norm of individual examples to identify important examples. While this approach does not work when the loss gradient norms are computed at the weights early in training of a single trajectory, we find that, surprisingly, averaging these norms over multiple weight initializations does produce a ranking that correlates strongly with forgetting scores and allows us to prune a significant fraction of examples early in training. Indeed, we can prune $50 \\%$ of examples from CIFAR-10 without affecting accuracy, while on the more challenging CIFAR-100 dataset, we can prune $2 5 \\%$ of examples with only a $1 \\%$ drop in accuracy. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
401,
|
| 143 |
+
825,
|
| 144 |
+
540
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Through a series of empirical studies, we have begun to tease apart the properties of important examples and how they can depend on the data distribution. In particular, we find that the examples with the very highest norms become superfluous as the amount of label noise increases. Indeed, even on clean data, we find that in the high pruning regime, the best population excludes the very highest-scoring examples. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
546,
|
| 154 |
+
825,
|
| 155 |
+
616
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "1.1 Contributions ",
|
| 162 |
+
"text_level": 1,
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
637,
|
| 166 |
+
310,
|
| 167 |
+
651
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "• We propose to score the importance of each training example $( x _ { i } , y _ { i } )$ by its expected loss gradient norm (GraNd score), which, up to a constant, bounds the expected change in loss for an arbitrary example $( x , y )$ caused by removing $( x _ { i } , y _ { i } )$ . ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
192,
|
| 176 |
+
662,
|
| 177 |
+
825,
|
| 178 |
+
704
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "• We show that pruning training samples with small GraNd scores at initialization allows one to train on much smaller subset of the training data without significant loss in accuracy. While the pruning levels are comparable to those provided by other methods [1, 8], our score is the only one that is well-defined at initialization and early in training. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
192,
|
| 187 |
+
712,
|
| 188 |
+
825,
|
| 189 |
+
768
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "• Our experimental findings suggest that, within the first few epochs of training, the GraNd score is well-approximated by the norm of the error vector (EL2N score), where the error vector is the predicted class probabilities minus one-hot label encoding. In fact, we find that the EL2N score provides an even stronger signal for data-pruning—for CIFAR10 we can prune $50 \\%$ of the data, and for the harder CIFAR100, we can prune as much as $2 5 \\%$ of the data without any loss in test accuracy. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
192,
|
| 198 |
+
776,
|
| 199 |
+
825,
|
| 200 |
+
859
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "• We study the role of examples with the highest EL2N scores, and find that excluding a small subset of the very highest scoring examples produces a boost in performance. This boost in performance is enhanced in a corrupted label regime. ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
192,
|
| 209 |
+
869,
|
| 210 |
+
825,
|
| 211 |
+
911
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "• We introduce a method, based on linearly connected modes, for studying the empirical risk surface in terms of the modes of subsets of data, allowing us to identify when, in training, the final performance on subpopulations is determined. We demonstrate that the linearly connected mode at-convergence of empirical risk surface computed on low EL2N score examples is determined much earlier in training compared to high score examples. ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
192,
|
| 220 |
+
90,
|
| 221 |
+
825,
|
| 222 |
+
161
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 2
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "• Finally, we study how an example’s EL2N score connects to the network’s training dynamics. We do so by tracking the data-dependent NTK submatrices corresponding to the low or high score examples, and measuring the rate at which it evolves in a scale-invariant way. We find that the NTK submatrix for the high score examples evolves faster throughout training, supporting our hypothesis that high-scoring examples are the ones driving the learning and the changes in the NTK feature space [9]. ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
192,
|
| 231 |
+
165,
|
| 232 |
+
825,
|
| 233 |
+
248
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 2
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "2 Which samples are important for learning? ",
|
| 240 |
+
"text_level": 1,
|
| 241 |
+
"bbox": [
|
| 242 |
+
173,
|
| 243 |
+
267,
|
| 244 |
+
566,
|
| 245 |
+
284
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "2.1 Preliminaries ",
|
| 252 |
+
"text_level": 1,
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
297,
|
| 256 |
+
308,
|
| 257 |
+
313
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "We consider supervised classification, where ${ \\cal { S } } = \\{ ( x _ { i } , y _ { i } ) \\} _ { i = 1 } ^ { N }$ denotes the training set, drawn i.i.d. from an unknown data distribution $\\mathcal { D }$ , with input vectors $x \\in \\mathbb { R } ^ { d }$ and one-hot vectors $y \\in \\{ 0 , 1 \\} ^ { K }$ encoding labels. For a fixed neural network architecture, let $f _ { \\mathbf { w } } ( x ) \\in \\mathbb { R } ^ { K }$ be the logit outputs of the neural network with weights w $\\in \\mathcal { W } \\subseteq \\mathbb { R } ^ { D }$ on input $\\boldsymbol { x } ~ \\in ~ \\mathbb { R } ^ { d }$ . Let $\\sigma$ be the softmax function given by $\\begin{array} { r } { \\sigma ( z _ { 1 } , . . . , z _ { K } ) _ { k } = \\exp \\{ z _ { k } \\} / \\sum _ { k ^ { \\prime } = 1 } ^ { K } \\exp \\{ z _ { k ^ { \\prime } } \\} } \\end{array}$ . Let $p ( \\mathbf { w } , x ) = \\sigma ( f ( \\mathbf { w } , x ) )$ denote the neural network output in the form of a probability vector. For any probability vector $\\begin{array} { r } { \\ell ( \\hat { p } , y ) = \\sum _ { k = 1 } ^ { K } y ^ { ( k ) } \\log \\hat { p } ^ { ( k ) } } \\end{array}$ denote cross-entropy loss. $\\hat { p }$ , let ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
173,
|
| 266 |
+
320,
|
| 267 |
+
825,
|
| 268 |
+
429
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "Let $\\mathbf { w } _ { 0 } , \\mathbf { w } _ { 1 } , \\mathbf { w } _ { 2 } , \\ldots , \\mathbf { w } _ { T }$ be the iterates of stochastic gradient descent (SGD), where, for some sequence of minibatches $S _ { 0 } , S _ { 1 } , \\ldots , S _ { T - 1 } \\subseteq S$ of size $M$ , we have ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
173,
|
| 277 |
+
434,
|
| 278 |
+
820,
|
| 279 |
+
463
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "equation",
|
| 285 |
+
"img_path": "images/61c6de147ea417a283c3b4c36fee7166fb3e317f9834ef7909961584b1d90798.jpg",
|
| 286 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { w } _ { t } = \\mathbf { w } _ { t - 1 } - \\eta \\sum _ { ( x , y ) \\in S _ { t - 1 } } g _ { t - 1 } ( x , y ) , } \\end{array}\n$$",
|
| 287 |
+
"text_format": "latex",
|
| 288 |
+
"bbox": [
|
| 289 |
+
362,
|
| 290 |
+
467,
|
| 291 |
+
633,
|
| 292 |
+
487
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "for $g _ { t - 1 } ( x , y ) = \\nabla _ { \\mathbf { w } _ { t - 1 } } \\ell ( p ( \\mathbf { w } _ { t - 1 } , x ) , y )$ , and $t = 1 , \\dots , T$ . ",
|
| 299 |
+
"bbox": [
|
| 300 |
+
173,
|
| 301 |
+
491,
|
| 302 |
+
566,
|
| 303 |
+
507
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 2
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "2.2 Gradient Norm Score and an infinitesimal analysis ",
|
| 310 |
+
"text_level": 1,
|
| 311 |
+
"bbox": [
|
| 312 |
+
173,
|
| 313 |
+
521,
|
| 314 |
+
566,
|
| 315 |
+
536
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 2
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "Fix a training set $S$ . Due to training with SGD from a random initialization, the weight vector at time $t > 0$ , $\\mathbf { w } _ { t }$ , is a random variable. The expected magnitude of the loss vector is our primary focus: ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
173,
|
| 324 |
+
546,
|
| 325 |
+
826,
|
| 326 |
+
588
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "Definition 2.1. The GraNd score of a training example $( x , y )$ at time $t$ is $\\chi _ { t } ( x , y ) = \\mathbb { E } _ { \\mathbf { w } _ { t } } \\left\\| g _ { t } ( x , y ) \\right\\| _ { 2 }$ ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
171,
|
| 335 |
+
592,
|
| 336 |
+
838,
|
| 337 |
+
608
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 2
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Here we describe conditions under which the GraNd score controls the contribution of a training example to the change in the training loss. In order to simplify our analysis, we approximate the training dynamics as if they were in continuous time. ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
173,
|
| 346 |
+
616,
|
| 347 |
+
826,
|
| 348 |
+
660
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 2
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "A key quantity in our analysis is the time derivative of the loss for a generic labeled example $( x , y )$ : $\\begin{array} { r } { \\Delta _ { t } ( ( x , y ) , S _ { t } ) = - \\frac { \\mathrm { d } \\ell ( f _ { t } ( x ) , y ) } { \\mathrm { d } t } } \\end{array}$ (where $f _ { t } ( \\cdot ) = f _ { \\mathbf { w } _ { t } } ( \\cdot ) )$ , i.e., the instantaneous rate of change in the loss on $( x , y )$ at time $t$ , where the gradient is computed on the minibatch $S _ { t }$ . By the chain rule, ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
174,
|
| 357 |
+
665,
|
| 358 |
+
825,
|
| 359 |
+
712
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 2
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/0c1a1ab294e556aabfc364990fd04eabeb9f797c8e54fac2a22c7c283f2af12c.jpg",
|
| 366 |
+
"text": "$$\n\\begin{array} { r } { \\Delta _ { t } ( ( x , y ) , S _ { t } ) = g _ { t } ( x , y ) \\frac { \\mathrm { d } { \\mathbf w } _ { t } } { \\mathrm { d } t } . } \\end{array}\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
398,
|
| 370 |
+
715,
|
| 371 |
+
598,
|
| 372 |
+
736
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 2
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "This relates to our discrete time dynamics via $\\begin{array} { r } { \\frac { \\mathrm { d } \\mathbf { w } _ { t } } { \\mathrm { d } t } \\approx \\mathbf { w } _ { t + 1 } - \\mathbf { w } _ { t } = - \\eta \\sum _ { ( x ^ { \\prime } , y ^ { \\prime } ) \\in S _ { t } } g _ { t } ( x ^ { \\prime } , y ^ { \\prime } ) } \\end{array}$ ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
174,
|
| 381 |
+
739,
|
| 382 |
+
790,
|
| 383 |
+
760
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 2
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "Our goal is to understand how removing a training point from minibatch $S _ { t }$ affects $\\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S _ { t } )$ for any $( x ^ { * } , y ^ { * } )$ . If a training point $( x , y )$ is not in the minibatch $S _ { t }$ , then the effect is trivial. We thus study $\\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S )$ in order to be able to rank all the training examples. ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
174,
|
| 392 |
+
765,
|
| 393 |
+
826,
|
| 394 |
+
808
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 2
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "Lemma 2.2. Let $S _ { \\neg j } = S \\setminus ( x _ { j } , y _ { j } )$ . Then for all $( x ^ { * } , y ^ { * } )$ , there exists c such that ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
174,
|
| 403 |
+
809,
|
| 404 |
+
715,
|
| 405 |
+
825
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 2
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "equation",
|
| 411 |
+
"img_path": "images/ff5715e1708b63db7a7a27218cc446bed99505c577858620bb0b455cf142d2a6.jpg",
|
| 412 |
+
"text": "$$\n\\begin{array} { r } { \\| \\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S ) - \\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S _ { - j } ) \\| \\leq c \\| g _ { t } ( x _ { j } , y _ { j } ) \\| . } \\end{array}\n$$",
|
| 413 |
+
"text_format": "latex",
|
| 414 |
+
"bbox": [
|
| 415 |
+
310,
|
| 416 |
+
829,
|
| 417 |
+
686,
|
| 418 |
+
847
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 2
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "Proof. For a given example $( x ^ { * } , y ^ { * } )$ , the chain rule yields $\\begin{array} { r l } { \\Delta _ { t } ( ( x ^ { * } , y ^ { * } ) , S ) } & { { } = } \\end{array}$ $\\begin{array} { r l r } { - \\frac { \\mathrm { d } \\ell \\left( f _ { t } ( x ^ { * } ) , y ^ { * } \\right) } { \\mathrm { d } t } } & { { } = } & { \\frac { \\mathrm { d } \\ell ( f _ { t } ( x ^ { * } ) , \\bar { y } ^ { * } ) } { \\mathrm { d } \\mathbf { w } _ { t } } \\frac { \\mathrm { d } \\mathbf { w } _ { t } } { \\mathrm { d } t } } \\end{array}$ d\\`(ft(x⇤),y⇤) dwt nce the weights ar GD, we have . Sitting e updated using S, the result follows. $\\begin{array} { r } { \\frac { \\mathrm { d } \\mathbf { w } _ { t } } { \\mathrm { d } t } = - \\eta \\sum _ { ( x _ { j } , y _ { j } ) \\in S _ { t } } g _ { t } ( x _ { j } , y _ { j } ) } \\end{array}$ $\\begin{array} { r } { c = \\eta \\Vert \\frac { \\mathrm { d } \\ell ( f _ { t } ( x ^ { * } ) , y ^ { * } ) } { \\mathrm { d } \\mathbf { w } _ { t } } \\Vert } \\end{array}$ □ ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
174,
|
| 427 |
+
859,
|
| 428 |
+
825,
|
| 429 |
+
915
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 2
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "At any given training step, given the current location $\\mathbf { w } _ { t }$ , the contribution of a training example $( x , y ) ^ { \\bar { 2 } }$ to the decrease of loss on any other example, is bounded by Eq. (3). Since the constant $c$ does not depend on the training example $( x , y ) ^ { 3 }$ , we only consider the gradient norm term, $\\| g _ { t } ( x , y ) \\|$ . The expected value of this gradient norm is exactly the GraNd score of $( x , y )$ . In other words, examples with a small GraNd score in expectation have a bounded influence on learning how to classify the rest of the training data at a given training time4. We therefore propose to rank training examples by their GraNd scores, larger norm meaning more important for preserving $\\Delta _ { t } ( x )$ . ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
173,
|
| 438 |
+
90,
|
| 439 |
+
825,
|
| 440 |
+
189
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "For an arbitrary input $x \\in \\mathbb { R } ^ { d }$ , let $\\psi _ { t } ^ { ( k ) } ( x ) = \\nabla _ { \\mathbf { w } _ { t } } f _ { t } ^ { ( k ) } ( x )$ denote the $k$ th logit gradient. Then GraNd can be written as5 ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
194,
|
| 450 |
+
823,
|
| 451 |
+
226
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/bee89d444feb4659f388e7e36d24cfce536832002813b5710350ebc45de35394.jpg",
|
| 458 |
+
"text": "$$\n\\begin{array} { r } { \\chi _ { t } ( x , y ) = \\mathbb { E } \\left. \\sum _ { k = 1 } ^ { K } \\nabla _ { f ^ { ( k ) } } \\ell ( f _ { t } ( x ) , y ) ^ { T } \\psi _ { t } ^ { ( k ) } ( x ) \\right. _ { 2 } . } \\end{array}\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
328,
|
| 462 |
+
224,
|
| 463 |
+
669,
|
| 464 |
+
253
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Under the cross entropy loss, $\\nabla _ { f ^ { ( k ) } } \\ell ( f _ { t } ( x ) , y ) ^ { T } = p ( \\mathbf { w } _ { t } , x ) ^ { ( k ) } - y _ { k }$ . When $\\{ \\psi _ { t } ^ { ( k ) } ( x ) \\} _ { k }$ are roughly orthogonal across logits, and are of a similar size across logits and training examples $x$ , then we can approximate GraNd by just the norm of the error vector. ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
174,
|
| 473 |
+
257,
|
| 474 |
+
825,
|
| 475 |
+
301
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 3
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "Definition 2.3. The EL2N score of a training sample $( x , y )$ is defined to be $\\mathbb { E } \\| p ( \\mathbf { w } _ { t } , x ) - y \\| _ { 2 }$ . ",
|
| 482 |
+
"bbox": [
|
| 483 |
+
174,
|
| 484 |
+
303,
|
| 485 |
+
797,
|
| 486 |
+
319
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 3
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "Our experimental results suggest that this approximation becomes accurate after a few epochs of training (see Section 3). These approximations are also in agreement with the empirical results reported in [9, 10]. Fort and Ganguli [10, Sec. 5.1] demonstrate that the mean logit gradients are nearly orthogonal among classes throughout training. The authors demonstrate that per-example gradients cluster around the mean logit gradient. Fort et al. [9, Figs. 12D-14D] provide evidence that the mean logit gradient directions evolve rapidly early in training and then stabilize (as measured by the cosine distance between mean logit gradient vectors at different times in training). ",
|
| 493 |
+
"bbox": [
|
| 494 |
+
173,
|
| 495 |
+
327,
|
| 496 |
+
825,
|
| 497 |
+
425
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 3
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "2.3 Comparison to forgetting scores ",
|
| 504 |
+
"text_level": 1,
|
| 505 |
+
"bbox": [
|
| 506 |
+
176,
|
| 507 |
+
440,
|
| 508 |
+
434,
|
| 509 |
+
455
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 3
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "Toneva et al. [8] define a “forgetting event” for a training sample to be a point in training when the classifier switches from making a correct classification decision to an incorrect one. They define an approximate forgetting score for each training example as the number of times during training when it was included in a minibatch and underwent a forgetting event. Toneva et al. demonstrate that examples with low forgetting score may be completely omitted during training without any noticeable effect on the accuracy of the learned predictor. In Fig. 1 and Appendix E.5, we make an empirical comparison of forgetting scores to our proposed GraNd and EL2N scores. ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
464,
|
| 519 |
+
825,
|
| 520 |
+
563
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 3
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "In Lemma 2.2, we bounded the contribution of a training example to the decrease of the loss of any other sample over a single gradient step. Due to $\\psi _ { t } ( \\cdot )$ ’s being time-dependent, it is complicated to extend the analysis to multiple steps. However, it is interesting to consider a case when $\\psi _ { t } ( x _ { i } ) =$ $\\psi ( x _ { i } )$ for all $x _ { i }$ in the training set, and $K = 1$ . Then summing the bound in Eq. (3) on how much a sample $( x _ { j } , y _ { j } )$ affects the logit output on an arbitrary point at each time $t \\in \\{ 1 , . . , T \\}$ , we obtain a score that depends on $\\| \\psi ( x _ { j } ) \\| | \\sum _ { t } ( p _ { t } ( x _ { j } ) - y _ { j } ) |$ . For two examples, $( x , y )$ and $( x ^ { \\prime } , y ^ { \\prime } )$ , such that $\\| \\psi ( x ^ { \\prime } ) \\| \\approx \\| \\psi ( x ) \\|$ , we see that the example that is learned faster and maintains small error over training time will have a smaller GraNd score on average throughout training. Note that $| ( p _ { t } ( x _ { j } ) - y _ { j } ) |$ , if rescaled, is an upper bound on 0–1 loss, and therefore $\\begin{array} { r } { \\sum _ { t } | ( p _ { t } ( x _ { j } ) - y _ { j } ) | } \\end{array}$ upper bounds the number of forgetting events during training (after rescaling). In this simplified setting an example with a high number of forgetting events will also have a high GraNd score. ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
173,
|
| 529 |
+
568,
|
| 530 |
+
825,
|
| 531 |
+
722
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 3
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "3 Empirical Evaluation of GraNd and EL2N Scores via Data Pruning ",
|
| 538 |
+
"text_level": 1,
|
| 539 |
+
"bbox": [
|
| 540 |
+
171,
|
| 541 |
+
738,
|
| 542 |
+
767,
|
| 543 |
+
757
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 3
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "In the previous section, we motivated GraNd and EL2N scores by quantifying the influence of a training example on the loss of an arbitrary example after one optimization step. In this section, we evaluate these scores empirically, and verify that they identify examples important for generalization. Networks trained on subsets of the data with high scores achieve levels of test accuracy comparable to training on the full dataset and are competitive with other state of the art data pruning methods. Perhaps most remarkably, these scores are effective even when computed early in training and perform significantly better than a random baseline, even at initialization. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
176,
|
| 552 |
+
768,
|
| 553 |
+
823,
|
| 554 |
+
797
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 3
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "image",
|
| 560 |
+
"img_path": "images/de5af3c5a609fd0da97bc2ce8dd9af85b689ca65e8e7bf483be222f7cfa2b8da.jpg",
|
| 561 |
+
"image_caption": [
|
| 562 |
+
"Figure 1: Columns correspond to three different dataset and network combinations (labeled at the top). Each legend applies to all 3 figures in its row. First row: Final test accuracy achieved by training on a subset of training data comprised of examples with maximum forgetting, EL2N and GraNd scores computed at different times early in training. Subsets of a fixed size are used: networks are trained on $50 \\%$ of training data for CIFAR-10, $60 \\%$ for CINIC-10 and $7 5 \\%$ for CIFAR-100. Second row: Final test accuracy achieved by training after different fractions of the dataset are pruned. Here we compare forgetting scores at the end of training, EL2N scores early in training (at epoch 20) and GraNd scores at initialization. In each case, examples with the lowest scores are pruned at initialization. In all experiments accuracies achieved by training on the full dataset and on a random subset of the corresponding size are used as baselines. "
|
| 563 |
+
],
|
| 564 |
+
"image_footnote": [],
|
| 565 |
+
"bbox": [
|
| 566 |
+
176,
|
| 567 |
+
89,
|
| 568 |
+
820,
|
| 569 |
+
339
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "",
|
| 576 |
+
"bbox": [
|
| 577 |
+
174,
|
| 578 |
+
517,
|
| 579 |
+
823,
|
| 580 |
+
587
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Data pruning experiments. We train convolutional neural networks of varying depth–ResNet18 and ResNet50 [11]–on standard vision datasets of varying difficulty–CIFAR-10, CIFAR-100 [12], and CINIC-10 [13]. All scores are calculated by averaging the scores from ten independent training runs. After calculating scores and selecting a training subset, final test accuracies are obtained by retraining networks from new random initializations on only the selected subset. Networks used for evaluating the scores are initialized with seeds that are different from those used to calculate the scores. For each experiment, we report the mean of four independent runs and represent variability across runs by shading the region which spans the 16th to 84th percentile of obtained accuracies. See Appendix B for more implementation details and Appendix E for additional experiments. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
174,
|
| 589 |
+
593,
|
| 590 |
+
825,
|
| 591 |
+
718
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "In Fig. 1, we show the results of two sets of experiments (top and bottom) on three different network and dataset combinations. The first experiment asks, how early in training are forgetting, GraNd and EL2N scores effective at identifying examples important for generalization? We compare the final test accuracy from training on subsets of fixed size but pruned based on scores computed at different times early in training. The second experiment compares how GraNd scores at initialization, EL2N scores early in training and forgetting scores at the end of training negotiate the trade-off between generalization performance and training set size. The training sets are constructed by pruning different fractions of the lowest score examples. In all examples, training on the full dataset and a random subset of the corresponding size are used as baselines. We make the following observations. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
724,
|
| 601 |
+
825,
|
| 602 |
+
849
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Pruning at initialization. In all settings, GraNd scores can be used to select a training subset at initialization that achieves test accuracy significantly better than random, and in some cases, competitive with training on all the data. This is remarkable because GraNd only contains information about the gradient norm at initializion, averaged over initializations. This suggests that the geometry of the training distribution induced by a random network contains a surprising amount of information about the structure of the classification problem. EL2N scores, which only contain information about errors, are not consistently effective at initialization and forgetting scores, which require counting forgetting events over training, are not defined at initialization. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
176,
|
| 611 |
+
856,
|
| 612 |
+
823,
|
| 613 |
+
911
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 4
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "",
|
| 620 |
+
"bbox": [
|
| 621 |
+
174,
|
| 622 |
+
92,
|
| 623 |
+
825,
|
| 624 |
+
147
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 5
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Pruning early in training. We find that, after only a few epochs of training, EL2N scores are extremely effective at identifying important examples for generalization. For a wide range of intermediate pruning levels, training on the highest scores performs on par with or better than training on the full dataset. Even at higher pruning levels, EL2N scores computed using local information early in training are competitive with forgetting scores which integrate information over the training trajectory. This suggests that the average error vector a few epochs into training can identify examples that the network heavily uses to shape the decision boundary throughout training. ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
173,
|
| 633 |
+
154,
|
| 634 |
+
825,
|
| 635 |
+
251
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Interestingly, at extreme levels of pruning with either EL2N or GraNd scores, we observe a sharp drop in performance. We hypothesize that this is because at high levels of pruning, using either GraNd or EL2N scores leads to bad coverage of the data distribution. By only focusing on the highest error examples, it is likely that an entire subpopulation of significant size that is present in the test data is now excluded from the training set. We only fit a small number of very difficult examples and do not keep enough of a variety of examples for training models with good test error. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
256,
|
| 645 |
+
825,
|
| 646 |
+
340
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "A property of the data. Our results suggest that the ranking of important examples induced by EL2N scores is a property of the dataset and not specific to a network. First, in Appendix E.2, we show that a ResNet18 and a ResNet50 trained on CIFAR-10 have similar performance curves and the same amount of data can be pruned, even though ResNet50 is a much deeper network with more parameters. Second, EL2N scores calculated on one set of network architecture and hyperparameter configurations can be used to prune data for training with a different network architecture or hyperparameter configuration. The set of important examples generalizes across architectures and hyperparameters. See Appendix E.3 for the experiment on generalization across architectures and Appendix E.4 for the experiment on using scores calculated during hyperparameter optimization. Additionally, in an analysis of the sensitivity of the scoring methods to hyperparameters in Appendix E.1, we observe that scores calculated on a single network do not perform as well as those averaged across networks. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
174,
|
| 655 |
+
345,
|
| 656 |
+
825,
|
| 657 |
+
512
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 5
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "We hypothesize that averaging the gradient or error norms over multiple initializations or training trajectories removes dependence on specific weights, allowing a more accurate distillation of the properties of the dataset. EL2N scores can thus be used to probe and understand how the distribution of the training data impacts dynamics (as we show in the next sections). Additionally, it can also reduce the computational burden of training neural networks; once we compute the scores, future networks can be trained on the pruned dataset. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
174,
|
| 666 |
+
518,
|
| 667 |
+
825,
|
| 668 |
+
602
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 5
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "In the following experiments, we focus on EL2N scores computed early in training, as they appear to more accurately identify important examples. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
174,
|
| 677 |
+
608,
|
| 678 |
+
820,
|
| 679 |
+
636
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "4 Identifying noise examples ",
|
| 686 |
+
"text_level": 1,
|
| 687 |
+
"bbox": [
|
| 688 |
+
176,
|
| 689 |
+
645,
|
| 690 |
+
428,
|
| 691 |
+
661
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 5
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "In the previous section, we studied the effect of keeping the highest-scoring examples, and found that we could train on only the top $50 \\%$ of examples by score without a drop in accuracy (CIFAR-10). What is the nature of subpopulations of examples that allow us to reach high accuracy? One hypothesis is that the highest-scoring examples are the most important ones for achieving an accurate classifier. In this section, we refute this hypothesis, and demonstrate the role of label noise. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
173,
|
| 700 |
+
678,
|
| 701 |
+
380,
|
| 702 |
+
910
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 5
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "image",
|
| 708 |
+
"img_path": "images/f03b77e3d671d9eb8d8b4b2f965c6b1156f6ac57c90d2f23891b55a6551c8a9a.jpg",
|
| 709 |
+
"image_caption": [
|
| 710 |
+
"Figure 2: ResNet18 trained on a $40 \\%$ subset of CIFAR-10 with clean (left) and $10 \\%$ randomized labels (right). The training subset contains the lowest scoring examples after examples with scores below the offset are discarded. Scores computed at epoch 10. "
|
| 711 |
+
],
|
| 712 |
+
"image_footnote": [],
|
| 713 |
+
"bbox": [
|
| 714 |
+
398,
|
| 715 |
+
694,
|
| 716 |
+
820,
|
| 717 |
+
819
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 5
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "To test whether the highest-scoring examples are most important for achieving high accuracy, we first sort the examples by increasing EL2N score computed after a small number of training epochs.6 Then we perform a sliding window analysis by training on a subset of examples with scores within a window from percentile $f$ to percentile $f + P$ percentile, always keep $P \\%$ of the data but sliding up $f$ . As this window slides to higher percentiles, performance increases, except when the window includes examples with the very highest scores Fig. 2 (left). Indeed the the optimal sliding window actually excludes approximately 500 of the highest-scoring training examples. These effects are reduced in the low pruning regime (see Appendix F.1). In Appendix C, we visualize some of the images that are excluded from each class. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
174,
|
| 726 |
+
92,
|
| 727 |
+
825,
|
| 728 |
+
215
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Before we analyze these results, we first place them into a wider context, where we also change the amount of noise in the underlying label distribution. We repeat the experiment outlined above, but corrupt a random $K \\%$ of labels, replacing them with a random label, mirroring the protocol popularized by Zhang et al. [14]. Fig. 2 reveals that with increased label corruption, the optimal window shifts and excludes a higher number of examples. Therefore, the effect we see in the noiseless case appears to be magnified in the presence of label noise. Appendix F.2 examines how adding label noise influences the distribution of EL2N scores of examples. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
174,
|
| 737 |
+
222,
|
| 738 |
+
825,
|
| 739 |
+
319
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "These findings have several implications. The most obvious implication is that training with only the highest-scoring samples may not be optimal, especially when there is label noise. When the population has a low Bayes error rate, using only the highest scoring samples yields optimal results. However, without a validation set, one should be cautious in excluding high-score examples. Feldman [15] discusses memorization in a noisy-label setup and gives conditions under which one should memorize in order to not misclassify singleton examples ( examples in the training data that are the sole representatives of a subpopulation). For example, if the subpopulation appears with a frequency $\\Omega ( 1 \\bar { / } N )$ , memorizing such examples can improve generalization. In practice, we may not know whether our data fits these conditions. However, our analysis in Fig. 2 suggests a simple and powerful method to prune data for optimal performance by optimizing just two hyperparameters of a sliding window using a validation set. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
174,
|
| 748 |
+
325,
|
| 749 |
+
825,
|
| 750 |
+
478
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 6
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "5 Optimization landscape and the training dynamics ",
|
| 757 |
+
"text_level": 1,
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
500,
|
| 761 |
+
627,
|
| 762 |
+
517
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 6
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "5.1 Evolution of the data-dependent NTK ",
|
| 769 |
+
"text_level": 1,
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
532,
|
| 773 |
+
475,
|
| 774 |
+
547
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 6
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "The dynamics of neural-network training in the infinite-width limit are now well understood [16, 17]: for an appropriate scaling of the learning rate and initial weights, the neural network behaves like a linear model in which the data is transformed by the Neural Tangent Kernel (NTK) at initialization, which is defined as the product of the Jacobians of the logits at initialization. In the limit, neural network training implements kernel regression with the fixed NTK as the kernel. ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
560,
|
| 784 |
+
825,
|
| 785 |
+
630
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 6
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "However, finite neural networks outperform their infinitewidth limits [18] and have different dynamics early in training [19]. In fact, rather than being constant, the datadependent NTK, defined by Fort et al. [9] as the Gram matrix of the logit Jacobian, evolves with high velocity in the initial phase of training. Then, around the time of onset of linear mode connectivity, the NTK velocity stabilizes at a smaller value and remains nearly constant for the rest of the high learning rate training time. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
636,
|
| 795 |
+
380,
|
| 796 |
+
883
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 6
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "image",
|
| 802 |
+
"img_path": "images/be06056521925d5e757e883f793e4b50e8e147bb05901f045efac7f85afdc315.jpg",
|
| 803 |
+
"image_caption": [
|
| 804 |
+
"Figure 3: Kernel velocity for different subsets of images when ResNet18 is trained on CIFAR-10 with all true labels (left) and $10 \\%$ label noise (right). Examples are sorted in ascending order by EL2N scores and each point corresponds to the kernel velocity of 100 contiguous images starting at example index. Both scores and velocities are computed at the same epoch indicated by color. "
|
| 805 |
+
],
|
| 806 |
+
"image_footnote": [],
|
| 807 |
+
"bbox": [
|
| 808 |
+
398,
|
| 809 |
+
654,
|
| 810 |
+
818,
|
| 811 |
+
779
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "Here we seek to understand which training samples contribute to the NTK gram matrix evolution. To empirically approximate the velocity of a NTK submatrix corresponding to a subset of images in a scale invariant way, we follow [9]. We compute the cosine distance between two NTK gram matrices on the given subset, one computed at epoch $t$ , and another one at epoch $t { + } 1$ , one epoch later (see Appendix B.3). We look at submatrices of a fixed size, formed by examples with contiguous EL2N scores. Fig. 3 shows that higher EL2N scores lead to higher velocities. This relationship is not affected by the time at which both are computed. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
92,
|
| 821 |
+
825,
|
| 822 |
+
189
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 7
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "Interestingly, the kernel velocity drops off sharply for examples with the very highest scores when label noise is introduced. In Section 4, we showed that dropping these examples boosts the accuracy of the final predictor. We hypothesize that, while the kernel velocity is higher for harder examples that the model is actively trying to fit, the kernel velocity drops off for the very highest scoring examples that might be too difficult to learn, perhaps because they are unrepresentative samples or they have have label noise. ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
194,
|
| 832 |
+
825,
|
| 833 |
+
277
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 7
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "5.2 Connections to the Linear Mode Connectivity ",
|
| 840 |
+
"text_level": 1,
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
294,
|
| 844 |
+
529,
|
| 845 |
+
309
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "We now examine how the ranking of the examples by EL2N connects to the geometry of the loss surface. In particular, Frankle et al. [20] studied the effect of minibatch randomness on the training trajectory, focusing on identifying the point in training when two networks, starting from the same weights, but trained with independent minibatches, converge to the same “linearly connected” mode. They find that, for standard vision datasets, the onset of this “linear mode connectivity” (LMC) happens early in training. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
173,
|
| 854 |
+
319,
|
| 855 |
+
825,
|
| 856 |
+
404
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 7
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "More precisely, let $w _ { 1 } , w _ { 2 } , \\dots , w _ { T }$ be the training trajectory of a parent network, fix a spawning time $t ^ { * }$ , and let $v _ { t ^ { * } }$ , $v _ { t ^ { * } + 1 }$ , $v _ { t ^ { * } + 2 } , \\ldots , v _ { T }$ be an independent training trajectory (i.e., with independent minibatches), beginning at $v _ { t ^ { * } } = w _ { t ^ { * } }$ . We call $v _ { T }$ the child network and $v _ { t ^ { * } } , v _ { t ^ { * } + 1 } , \\ldots .$ the child trajectory. The (training) error barrier between two weights $w$ and $w ^ { \\prime }$ , denoted $\\mathrm { e r r } ( w , w ^ { \\prime } ; S )$ , is the maximum deviation of the training error surface ${ \\hat { R } } _ { S } ( \\cdot )$ above the line connecting the empirical risk at $w$ and $w ^ { \\prime }$ . That is, ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
174,
|
| 865 |
+
409,
|
| 866 |
+
825,
|
| 867 |
+
496
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 7
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "equation",
|
| 873 |
+
"img_path": "images/5cd9ffafea9445fb64ef7fca03f5bfa25b572421ac854513475196f0d325a330.jpg",
|
| 874 |
+
"text": "$$\n\\begin{array} { r } { \\mathrm { e r r } ( w , w ^ { \\prime } ; S ) = \\operatorname* { s u p } _ { \\alpha \\in [ 0 , 1 ] } \\left\\{ \\hat { R } _ { S } ( \\alpha w + ( 1 - \\alpha ) w ^ { \\prime } ) - \\alpha \\hat { R } _ { S } ( w ) - ( 1 - \\alpha ) \\hat { R } _ { S } ( w ^ { \\prime } ) \\right\\} . } \\end{array}\n$$",
|
| 875 |
+
"text_format": "latex",
|
| 876 |
+
"bbox": [
|
| 877 |
+
217,
|
| 878 |
+
498,
|
| 879 |
+
779,
|
| 880 |
+
520
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 7
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "We then define the mean (training) error barrier, spawning at $t ^ { * }$ , at time $t$ , for $t ^ { * } \\leq t \\leq T$ , denoted $\\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S )$ , to be the expected error barrier between $w _ { t }$ and $v _ { t }$ on the data $S$ . That is, ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
173,
|
| 889 |
+
525,
|
| 890 |
+
823,
|
| 891 |
+
555
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "equation",
|
| 897 |
+
"img_path": "images/87f17fccea0f705c5a68bb0344f533a4d9a0ee4da874f8ce6ce2d9252afec63e.jpg",
|
| 898 |
+
"text": "$$\n\\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S ) = \\mathbb { E } _ { w _ { t ^ { * } + 1 : t } , v _ { t ^ { * } + 1 , t } } [ \\mathrm { e r r } ( w _ { t } , v _ { t } ; S ) ] ,\n$$",
|
| 899 |
+
"text_format": "latex",
|
| 900 |
+
"bbox": [
|
| 901 |
+
356,
|
| 902 |
+
561,
|
| 903 |
+
640,
|
| 904 |
+
583
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 7
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "where the expectation is taken over the randomness in the trajectories of $w$ and $v$ after $t ^ { * }$ due to the choice of minibatches, conditional on the initial trajectories up through time $t ^ { * }$ . (Note that, at the end of training $t = T$ , the supremum in $\\mathrm { e r r } ( w _ { T } , v _ { T } ; S )$ is often achieved near $\\alpha = 1 / 2$ , and so this is a cheap approximation used in practice.) The “onset” of linear mode connectivity is the earliest spawning time $t ^ { * }$ at which point $\\mathrm { e r r } _ { T } ^ { t ^ { * } } ( S ) \\approx 0$ , where $S$ is the whole training set. In our work, we instead compute the error barrier on subsets of the training set, which allows us to compare the training dynamics and modes on subpopulations. ",
|
| 911 |
+
"bbox": [
|
| 912 |
+
174,
|
| 913 |
+
587,
|
| 914 |
+
825,
|
| 915 |
+
685
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 7
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "In Fig. 4, we measure the mean error barrier $\\mathrm { e r r } _ { t } ^ { t ^ { * } } ( S ^ { \\prime } )$ as a function of the spawning time $t ^ { * }$ , in the cases where $S ^ { \\prime }$ are either 1) the training examples with the smallest scores, 2) the largest scores, or 3) a random subset of training examples. We find that the error barrier falls close to zero very rapidly for examples that have low EL2N scores, and stays high for high score examples. These findings suggest that the loss landscape derived from restricted subsets of examples with low and high EL2N behave very differently. The loss landscape derived from easy subsets of examples with low scores is quite flat, in the sense that error barriers between children as a function of spawn time rapidly diminish. On the other hand, the loss landscape derived from harder subsets of examples with higher scores is rougher, with higher error barriers that persist for longer in the spawn time. Further, this result is in agreement with the results presented in Section 5.1, showing that most of the learning happens in the high EL2N score examples. ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
173,
|
| 924 |
+
691,
|
| 925 |
+
825,
|
| 926 |
+
845
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 7
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "6 Related Work ",
|
| 933 |
+
"text_level": 1,
|
| 934 |
+
"bbox": [
|
| 935 |
+
174,
|
| 936 |
+
864,
|
| 937 |
+
323,
|
| 938 |
+
881
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 7
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "As discussed earlier, our work is closely related to an empirical study by Toneva et al. [8], which examines the frequency with which correct classification decisions are forgotten during training. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
174,
|
| 947 |
+
883,
|
| 948 |
+
821,
|
| 949 |
+
911
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 7
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "image",
|
| 955 |
+
"img_path": "images/774d18f9da13c888136150d8efa81dd83fcc166153e431f3b2c92f0cb3ec0bf4.jpg",
|
| 956 |
+
"image_caption": [
|
| 957 |
+
"Figure 4: The final training error barrier between children on subsets of a 1000 highest (green) and lowest (orange) EL2N score examples, and randomly selected training subset (blue) as a function of the spawning time. Left to right: different dataset and network combinations. "
|
| 958 |
+
],
|
| 959 |
+
"image_footnote": [],
|
| 960 |
+
"bbox": [
|
| 961 |
+
178,
|
| 962 |
+
90,
|
| 963 |
+
820,
|
| 964 |
+
217
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 8
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "The authors observe that examples that are rarely forgotten are also ones that do not contribute much to the final accuracy of the predictor. In particular, if we retrain from initialization after having removed rarely forgotten examples from the training data, we achieve the same accuracy. Similar to our work, this work analyzes the dynamics of training in deep learning through the lens of training examples. However, unlike forgetting scores, our proposed methods use only local information early in training. This highlights two properties: example importance is reflected in the local properties of the loss landscape after a few epochs and the ordering of examples by importance is roughly preserved throughout training. We think that this is a key contribution and hope it prompts future empirical and theoretical work exploring the early stage of learning. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
296,
|
| 974 |
+
825,
|
| 975 |
+
422
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 8
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Coleman et al. [1] use a small proxy network in combination with other training data selection methods to find a small subset of important-for-training examples, that can then be used to train a large state-of-the-art (SOTA) deep neural network. In their empirical study, they observe that most important examples selected via a proxy model are also important for training a SOTA network. In addition, they study a proxy which reuses SOTA network’s architecture but is trained for a shorter time. The authors observe that selecting the important examples after at least 50 epochs of training works better than selecting them at random, but not as well as after the full training run. They do not study shorter training times for proxies or relate it to the training dynamics in any other way. ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
428,
|
| 985 |
+
825,
|
| 986 |
+
540
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 8
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Another line of related work is on coresets (see, e.g., [4, 5, 7, 21–23], and many others). The term coresets generally refers to a possibly weighted subset of training data. Much of the work on coresets is focused on identifying small training data subsets that provably yield an $\\epsilon$ -approximate solution to the original objective (on all the training data). Most guarantees require the problem to have special structure, such as convexity. For nonconvex problems, like training deep neural networks, guarantees are provided for very conservative proxies, e.g., based on Lipschitz constants or smoothness. While coreset selection comes with nice theoretical guarantees, in our opinion, the utility of these methods is best considered an empirical question. ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
174,
|
| 995 |
+
545,
|
| 996 |
+
825,
|
| 997 |
+
656
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 8
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Coresets have also been studied in the active learning community. Here, the goal is to select a small set of examples to label at any given iteration of training (see, e.g., [24–28], and references therein). Coreset selection has also been proposed as a way to increase model robustness [29]. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
176,
|
| 1006 |
+
662,
|
| 1007 |
+
825,
|
| 1008 |
+
704
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 8
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Pleiss et al. use a similar method, the Area Under the Margin (AUM) statistic, but with a slightly different goal: identifying noisy and mislabeled examples. Their proposed method exploits differences in the training dynamics of clean and mislabeled samples by keeping track of statistics through the course of training. The AUM statistic is similar to forgetting scores in that it uses information from the whole training run. In contrast, we focus on instantaneous information in the early phase of training. In addition to identifying noisy examples, we aim to rank points by importance and therefore also identify redundant/easy examples. Thus our approach is complimentary to the AUM statistic and can be used together to obtain higher levels of pruning on noisy datasets. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
710,
|
| 1018 |
+
825,
|
| 1019 |
+
821
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 8
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "There have been a number of recent studies looking at the problem of estimating example difficulty. One such approach for identifying difficult examples within a given class is the Variance of Gradients (VoG) score proposed by Agarwal, D’souza, and Hooker [31]. For each image, they calculate the gradient of the activations with respect to the pixels at $K$ different checkpoints over training. The VoG score is the average (over pixels) of the per-pixel variance across these $K$ checkpoints. The authors conclude that the images that appear more difficult also have a higher VoG score. Understanding the connections between these two scores calculated in entirely different spaces is an interesting direction for future work. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
174,
|
| 1028 |
+
828,
|
| 1029 |
+
823,
|
| 1030 |
+
911
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 8
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
174,
|
| 1039 |
+
92,
|
| 1040 |
+
823,
|
| 1041 |
+
119
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 9
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Another quite different approach estimates example difficulty using prediction depth [32], which is defined as the first layer at which a $\\mathbf { k }$ -Nearest Neighbor classifier can correctly classify an example using the representation of the image in all subsequent layers. In additional to methodological differences, this method uses the final trained network. To our knowledge, we are the first to highlight the existence of a strong signal for estimating example difficulty early in training. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
174,
|
| 1050 |
+
126,
|
| 1051 |
+
823,
|
| 1052 |
+
195
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 9
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "Informally, removing a training example from the training data and not hurting the generalization error suggests that the example has small “influence” on the test data. Influence of the training examples on test examples is studied in sample-based explainability [33–35]. On the theory side, Feldman [15] recently proposed to model data as a mixture of populations and study the role of memorization when the data distribution is long-tailed. Feldman demonstrates conditions under which memorization is necessary for good generalization. In doing so, he proposes a definition of example memorization and influence, which can be interpreted as a leave-one-out notion of stability. In an empirical study following this work, Feldman and Zhang [36] demonstrate that classifiers trained on computer vision benchmarks benefit from memorization. In particular, training without high-memorization-value examples comes at a cost of accuracy of the learned neural network classifier. In Appendix G, we compare GraNd, EL2N, forgetting scores, and memorization values on CIFAR-100-trained Resnet50 networks; memorization values do not correlate with the other scores. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
174,
|
| 1061 |
+
202,
|
| 1062 |
+
825,
|
| 1063 |
+
367
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 9
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "7 Discussion ",
|
| 1070 |
+
"text_level": 1,
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
387,
|
| 1074 |
+
294,
|
| 1075 |
+
402
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "In summary, our work both (1) introduces methods to significantly prune data without sacrificing test accuracy using only local information very early in training (Fig. 1), sometimes even at initialization, and (2) uses the resulting methods to obtain new scientific insights into how different subsets of training examples drive the dynamics of deep learning. We start from a principled approach by asking how much on average each training example influences the loss reduction of other examples, and from that starting point, we obtain 2 scores, namely gradient norm (GraNd) and error norm (EL2N) that bound or approximate this influence, with higher scores indicating higher potential influence. We find that examples with higher scores tend to be harder to learn, in the sense that they are forgotten more often over the entire course of training. We also find that the very highest scoring examples tend to be either unrepresentative outliers of a class, have non standard backgrounds or odd angles, are subject to label noise, or are otherwise difficult. This observation yields a simple and powerful sliding window method (Fig. 2) to prune data by keeping examples within a range of scores, where the start and the end of the range constitute just 2 hyperparmeters that can be tuned via a validation set. This tuning can be done using different hyperparameter settings or on a different network saving computation time (Appendix E.3). Furthermore, we find that high-scoring examples primarily drive feature learning by maximally supporting the velocity of the NTK, whereas learning dynamics might actually give up on the very highest scoring examples that may correspond to unrepresentative examples or noise (Fig. 3). Finally we show that higher (lower) scoring subsets of examples contribute to a rougher (smoother) loss landscape (Fig. 4). Overall this decomposition of both loss landscape geometry and learning dynamics into differential contributions from different types of examples constitutes an exciting new methodology for analyzing deep learning. A deeper understanding of the differential role played by different subsets of examples could aid not only in data pruning, but also in curriculum design, active learning, federated learning with privacy, and analysis of fairness and bias. Our empirical findings raise a number of interesting theoretical questions, some of which we discuss in Appendix D. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
405,
|
| 1085 |
+
825,
|
| 1086 |
+
751
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 9
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Acknowledgements ",
|
| 1093 |
+
"text_level": 1,
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
176,
|
| 1096 |
+
770,
|
| 1097 |
+
338,
|
| 1098 |
+
786
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 9
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "The authors would like to thank Blair Bilodeau, Alex Drouin, Étienne Marcotte, and Daniel M. Roy for feedback on drafts, the Toolkit team at ServiceNow for providing the tools and computation resources that greatly accelerated our empirical work, and the NeurIPS reviewers for their thorough engagement and invaluable feedback on label-dependence and practical applications. S.G. thanks the Simons Foundation, NTT Research and an NSF Career award for funding while at Stanford. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
174,
|
| 1107 |
+
803,
|
| 1108 |
+
823,
|
| 1109 |
+
872
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 9
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "References ",
|
| 1116 |
+
"text_level": 1,
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
174,
|
| 1119 |
+
90,
|
| 1120 |
+
266,
|
| 1121 |
+
106
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 10
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Zaharia. Selection via proxy: Efficient data selection for deep learning. 2019. arXiv: 1906. 11829. \n[2] M. Hwang, Y. Jeong, and W. Sung. “Data distribution search to select core-set for machine learning”. In: Proc. 9th Int. Conf. Smart Media & Appl. (SMA 2020), Jeju, Korea. 2020, pp. 17–19. \n[3] S. Har-Peled and A. Kushal. “Smaller coresets for $\\mathbf { k }$ -median and $\\mathbf { k }$ -means clustering”. Discrete & Computational Geometry 37.1 (2007), pp. 3–19. \n[4] J. H. Huggins, T. Campbell, and T. Broderick. “Coresets for scalable bayesian logistic regression” (2016). arXiv: 1605.06423. \n[5] T. Campbell and T. Broderick. “Bayesian coreset construction via greedy iterative geodesic ascent”. In: Int. Conf. Machine Learning. PMLR. 2018, pp. 698–706. \n[6] I. W. Tsang, J. T. Kwok, P.-M. Cheung, and N. Cristianini. “Core vector machines: Fast SVM training on very large data sets.” Journal of Machine Learning Research 6.4 (2005). \n[7] A. Munteanu, C. Schwiegelshohn, C. Sohler, and D. P. Woodruff. On coresets for logistic regression. 2018. arXiv: 1805.08571. \n[8] M. Toneva, A. Sordoni, R. T. d. Combes, A. Trischler, Y. Bengio, and G. J. Gordon. An empirical study of example forgetting during deep neural network learning. 2018. arXiv: 1812.05159. \n[9] S. Fort, G. K. Dziugaite, M. Paul, S. Kharaghani, D. M. Roy, and S. Ganguli. “Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the Neural Tangent Kernel”. In: Advances in Neural Information Processing Systems. 2020. arXiv: 2010.15110. \n[10] S. Fort and S. Ganguli. “Emergent properties of the local geometry of neural loss landscapes”. arXiv preprint arXiv:1910.05929 (2019). \n[11] K. He, X. Zhang, S. Ren, and J. Sun. “Deep residual learning for image recognition”. In: Proceedings of the IEEE conference on computer vision and pattern recognition. 2016, pp. 770– 778. \n[12] A. Krizhevsky, V. Nair, and G. Hinton. “Learning multiple layers of features from tiny images” (2009). \n[13] L. N. Darlow, E. J. Crowley, A. Antoniou, and A. J. Storkey. “CINIC-10 is not ImageNet or CIFAR-10”. CoRR abs/1810.03505 (2018). arXiv: 1810.03505. \n[14] C. Zhang, S. Bengio, M. Hardt, B. Recht, and O. Vinyals. “Understanding deep learning requires rethinking generalization”. In: Int. Conf. Representation Learning (ICLR). 2017. arXiv: 1611.03530v2. \n[15] V. Feldman. “Does learning require memorization? a short tale about a long tail”. In: Proc. 52nd Ann. ACM SIGACT Symp. Theory of Comput. (STOC). 2020, pp. 954–959. \n[16] A. Jacot, F. Gabriel, and C. Hongler. “Neural tangent kernel: Convergence and generalization in neural networks”. In: Advances in Information Processing Systems (NeurIPS). 2018. arXiv: 1806.07572. \n[17] J. Lee, L. Xiao, S. S. Schoenholz, Y. Bahri, R. Novak, J. Sohl-Dickstein, and J. Pennington. Wide neural networks of any depth evolve as linear models under gradient descent. 2019. arXiv: 1902.06720. \n[18] S. Arora, S. S. Du, Z. Li, R. Salakhutdinov, R. Wang, and D. Yu. Harnessing the power of infinitely wide deep nets on small-data tasks. 2019. arXiv: 1910.01663. \n[19] A. Lewkowycz, Y. Bahri, E. Dyer, J. Sohl-Dickstein, and G. Gur-Ari. The large learning rate phase of deep learning: the catapult mechanism. 2020. arXiv: 2003.02218. \n[20] J. Frankle, G. K. Dziugaite, D. Roy, and M. Carbin. “Linear mode connectivity and the lottery ticket hypothesis”. In: Int. Conf. Machine Learning (ICML). 2020, pp. 3259–3269. arXiv: 1912.05671. \n[21] P. K. Agarwal, S. Har-Peled, K. R. Varadarajan, et al. “Geometric approximation via coresets”. Combinatorial and computational geometry 52 (2005), pp. 1–30. \n[22] D. Feldman, M. Schmidt, and C. Sohler. “Turning big data into tiny data: Constant-size coresets for k-means, PCA, and projective clustering”. SIAM J. Computing 49.3 (2020), pp. 601– 657. \n[23] E. Tolochinsky and D. Feldman. Coresets for monotonic functions with applications to deep learning. 2018. arXiv: 1802.07382. \n[24] K. Wei, R. Iyer, and J. Bilmes. “Submodularity in data subset selection and active learning”. In: Int. Conf. Machine Learning. PMLR. 2015, pp. 1954–1963. \n[25] O. Sener and S. Savarese. Active learning for convolutional neural networks: A core-set approach. 2017. arXiv: 1708.00489. \n[26] K. Killamsetty, D. Sivasubramanian, G. Ramakrishnan, and R. Iyer. GLISTER: Generalization based Data Subset Selection for Efficient and Robust Learning. 2020. arXiv: 2012 . 10630. \n[27] B. Mirzasoleiman, J. Bilmes, and J. Leskovec. “Coresets for data-efficient training of machine learning models”. In: Int. Conf. Machine Learning (ICML). PMLR. 2020, pp. 6950–6960. arXiv: 1906.01827. \n[28] Y. Shen, H. Yun, Z. C. Lipton, Y. Kronrod, and A. Anandkumar. Deep active learning for named entity recognition. 2017. arXiv: 1707.05928. \n[29] B. Mirzasoleiman, K. Cao, and J. Leskovec. “Coresets for Robust Training of Neural Networks against Noisy Labels” (2020). arXiv: 2011.07451. \n[30] G. Pleiss, T. Zhang, E. R. Elenberg, and K. Q. Weinberger. “Identifying mislabeled data using the area under the margin ranking”. arXiv preprint arXiv:2001.10528 (2020). \n[31] C. Agarwal, D. D’souza, and S. Hooker. “Estimating example difficulty using variance of gradients”. arXiv preprint arXiv:2008.11600 (2020). \n[32] R. J. N. Baldock, H. Maennel, and B. Neyshabur. Deep Learning Through the Lens of Example Difficulty. 2021. arXiv: 2106.09647 [cs.LG]. \n[33] P. W. Koh and P. Liang. “Understanding black-box predictions via influence functions”. In: Int. Conf. Machine Learning. PMLR. 2017, pp. 1885–1894. \n[34] E. Barshan, M.-E. Brunet, and G. K. Dziugaite. “Relatif: Identifying explanatory training samples via relative influence”. In: Int. Conf. Artificial Intelligence and Statistics (AISTATS). 2020, pp. 1899–1909. \n[35] G. Pruthi, F. Liu, S. Kale, and M. Sundararajan. “Estimating Training Data Influence by Tracing Gradient Descent”. In: Advances in Neural Information Processing Systems. 2020. \n[36] V. Feldman and C. Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. 2020. arXiv: 2008.03703. \n[37] J. Bradbury, R. Frostig, P. Hawkins, M. J. Johnson, C. Leary, D. Maclaurin, G. Necula, A. Paszke, J. VanderPlas, S. Wanderman-Milne, and Q. Zhang. JAX: composable transformations of Python+NumPy programs. Version 0.2.5. 2018. \n[38] J. Heek, A. Levskaya, A. Oliver, M. Ritter, B. Rondepierre, A. Steiner, and M. van Zee. Flax: A neural network library and ecosystem for JAX. Version 0.3.4. 2020. ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
171,
|
| 1130 |
+
125,
|
| 1131 |
+
828,
|
| 1132 |
+
905
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 10
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
171,
|
| 1141 |
+
89,
|
| 1142 |
+
826,
|
| 1143 |
+
632
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 11
|
| 1146 |
+
}
|
| 1147 |
+
]
|
parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Uj7pF-D-YvT/Uj7pF-D-YvT_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Training Neural Networks with Fixed Sparse Masks
|
| 2 |
+
|
| 3 |
+
Yi-Lin Sung∗ UNC Chapel Hill ylsung@cs.unc.edu
|
| 4 |
+
|
| 5 |
+
Varun Nair∗ Duke University vn40@duke.edu
|
| 6 |
+
|
| 7 |
+
Colin Raffel UNC Chapel Hill craffel@gmail.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
During typical gradient-based training of deep neural networks, all of the model’s parameters are updated at each iteration. Recent work has shown that it is possible to update only a small subset of the model’s parameters during training, which can alleviate storage and communication requirements. In this paper, we show that it is possible to induce a fixed sparse mask on the model’s parameters that selects a subset to update over many iterations. Our method constructs the mask out of the $k$ parameters with the largest Fisher information as a simple approximation as to which parameters are most important for the task at hand. In experiments on parameter-efficient transfer learning and distributed training, we show that our approach matches or exceeds the performance of other methods for training with sparse updates while being more efficient in terms of memory usage and communication costs. We release our code publicly to promote further applications of our approach.2
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Stochastic gradient descent (SGD) is a vital component of the modern pipeline for training deep neural networks. Along with the back-propagation algorithm, gradient descent allows for the efficient minimization of a loss function by gradually updating a model’s parameters. SGD minimizes the loss over a small random subset of the dataset at each training iteration, which allows training over large datasets. In practice, minimizing a large neural network’s training loss using SGD often results in models that generalize well to new data [3, 17, 27], making SGD an invaluable tool.
|
| 16 |
+
|
| 17 |
+
While effective, standard SGD requires that all model parameters are updated at every iteration of training. As a result, communicating changes to the model requires communicating the updated value of every parameter. Since modern neural networks often have millions or billions of parameters [9, 7, 40], this communication can become excessively expensive. A concrete example of the negative impacts of these costs arises in the setting of transfer learning. In transfer learning, a model’s parameters are initialized from an existing pre-trained model before being fine-tuned (i.e. trained) on a task of interest. Pre-trained models can be fine-tuned a huge number of times – for example, the Hugging Face model repository3 has thousands of fine-tuned variants of the BERT model [12]. Each of these fine-tuned variants requires a unique copy of the model’s parameters, each of which takes up around 500MB of disk space. Relatedly, in distributed training [11] and federated learning [35], workers compute updates for a centralized model in parallel on different subsets of data. After a certain number of updates, the workers each communicate the newly-computed parameter values back to the centralized model. The communication step can cause a significant amount of overhead (particularly when the model is large) since the workers must communicate the updated values of all parameters when using standard SGD.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Diagram comparing our proposed method to standard SGD. In traditional gradient-based training (left), all of a model’s parameters are updated at every iteration. We propose FISH Mask, a method for precomputing a sparse subset of parameters to update over many subsequent training iterations. To construct the FISH Mask, we find the $k$ parameters with the largest Fisher information (right, top). Then, we train the model with traditional gradient descent, but only update those parameters chosen by the mask (right, bottom).
|
| 21 |
+
|
| 22 |
+
These issues could be mitigated if it was possible to only update a few parameters during training while still maintaining performance close to that of training all parameters. This has led to various work on parameter-efficient training of neural networks. For example, Adapters [19, 41, 5] introduce additional parameters into a pre-trained model in the form of small task-specific modules that are fine-tuned while the rest of the model’s parameters are kept fixed. Diff Pruning [16] and BitFit [6] demonstrate that it is possible to fine-tune a model while only updating a small subset of the existing parameters. In distributed and federated learning settings, Aji and Heafield [2] and Konecnˇ y\` et al. [23] have shown that it is possible for each worker to only update a sparse subset of a model’s parameters, thereby reducing communication costs.
|
| 23 |
+
|
| 24 |
+
Existing methods for training with sparse updates typically work in one of three ways: they either add parameters to the model (Adapters), choose a hand-defined and heuristically-motivated subset of parameters (BitFit), or allow the subset of parameters to change over the course of training (Diff Pruning and methods in distributed and federated training). In this paper, we argue for pre-computing a sparse subset of existing parameters to update and keeping the subset fixed over many iterations of training. This approach yields various benefits: First, by updating a subset of existing parameters instead of adding parameters (as is done in Adapters), we avoid any increase in the total size of the model. Second, by avoiding hand-defining the mask, we can ensure that our procedure is modelagnostic. Third, by pre-computing a mask, we avoid the computational and memory overhead that are apparent when updating the mask over the course of training. It also allows workers in the distributed training setup to operate on strictly complementary subsets of parameters. Finally, keeping the mask fixed over many iterations, we can ensure that only a specific fixed number of parameters are updated. We are not aware of any existing techniques that satisfy these desiderata.
|
| 25 |
+
|
| 26 |
+
Motivated by these benefits, we introduce a new method for pre-computing fixed sparse masks. Our approach first estimates the importance of each parameter using an empirical approximation of its Fisher information. Then, we construct the mask by choosing the $k$ parameters with the largest Fisher information. The resulting mask, which we deem a “FISH (Fisher-Induced Sparse uncHanging) mask”, can be re-used for many subsequent training iterations. We demonstrate the effectiveness of using a FISH Mask in a wide variety of settings, including parameter-efficient transfer learning, distributed training with long delays across workers, and reducing checkpoint size. Broadly speaking, FISH Mask training can dramatically reduce storage and communication requirements, while sacrificing minimal performance compared to standard gradient descent and outperforming relevant prior methods for training with sparse updates.
|
| 27 |
+
|
| 28 |
+
# 2 The Fisher-Induced Sparse uncHanging (FISH) Mask
|
| 29 |
+
|
| 30 |
+
The main contribution of this paper is a method for pre-computing a sparse subset of a model’s parameters to update over many subsequent training iterations. To construct such a subset, we use an approximation of each parameter’s Fisher information as a signal of how important the parameter is for a given task. We refer to the resulting mask (i.e. binary array indicating which parameters are included in the subset) as a FISH (Fisher-Induced Sparse uncHanging) mask. In this section, we provide the necessary background and detail the steps necessary for computing a FISH Mask. This process is diagrammed in fig. 1.
|
| 31 |
+
|
| 32 |
+
# 2.1 Fisher Information
|
| 33 |
+
|
| 34 |
+
Our goal is to select the subset of parameters that are (in some sense) the most important to update. One way to measure a parameter’s importance is to consider how much changing the parameter will change the model’s output. We denote $p _ { \theta } ( y | x )$ as the output distribution over $y$ produced by a model with parameter vector $\theta \in \mathbb { R } ^ { | \theta | }$ given input $x$ . One way to measure how much a change in parameters would change a model’s prediction would be to compute $\mathrm { D } _ { \mathrm { K L } } ( p _ { \boldsymbol { \theta } } ( \boldsymbol { y } | \boldsymbol { x } ) | | p _ { \boldsymbol { \theta } + \delta } ( \boldsymbol { y } | \boldsymbol { x } ) )$ , where $\delta \in \mathbb { R } ^ { | \theta | }$ is a small perturbation. It can be shown [34, 37] that as $\delta 0$ , to second order,
|
| 35 |
+
|
| 36 |
+
$$
|
| 37 |
+
\mathbb { E } _ { x } \mathrm { D } _ { \mathrm { K L } } \big ( p _ { \theta } ( y | x ) \ | | \ p _ { \theta + \delta } ( y | x ) \big ) = \delta ^ { \mathrm { T } } F _ { \theta } \delta + O ( \delta ^ { 3 } )
|
| 38 |
+
$$
|
| 39 |
+
|
| 40 |
+
where $F _ { \theta } \in \mathbb { R } ^ { | \theta | \times | \theta | }$ is the Fisher information matrix [14, 4], defined as
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
F _ { \theta } = \mathbb { E } _ { x \sim p ( x ) } \left[ \mathbb { E } _ { y \sim p _ { \theta } ( y \vert x ) } \nabla _ { \theta } \log p _ { \theta } ( y \vert x ) \nabla _ { \theta } \log p _ { \theta } ( y \vert x ) ^ { \mathrm { T } } \right]
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
Given this relation, it can be seen that the Fisher information matrix is closely connected to how much each parameter affects the model’s predictions. Indeed, this has led the Fisher information matrix to be widely used in modern machine learning, e.g. as a measure of parameter importance [21], as a preconditioner in gradient descent [4, 37, 34], as a way to measure the amount of “information” in each parameter of a neural network [1], or as a way to decide which parameters to prune when performing model compression [43, 10, 47].
|
| 47 |
+
|
| 48 |
+
When applied to large neural networks, the $\left| \theta \right| \times \left| \theta \right|$ size of the Fisher information matrix makes it intractable to compute. Prior work therefore frequently approximates $F _ { \theta }$ as a diagonal matrix, or equivalently, as a vector in $\mathbb { R } ^ { | \theta | }$ . Separately, when training machine learning models we seldom have the ability to draw samples $x \sim p ( x )$ ; instead, we are given a finite training set of such samples. Furthermore, it is rarely necessary to compute the expectation over $x$ in eq. (2) over the full training set; instead, it can often be well-approximated over $N$ samples $x _ { 1 } , \ldots , x _ { N }$ . These constraints result in the following common approximation:
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\hat { F _ { \theta } } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \mathbb { E } _ { y \sim p _ { \theta } ( y | x _ { i } ) } ( \nabla _ { \theta } \log p _ { \theta } ( y | x _ { i } ) ) ^ { 2 }
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $\hat { F } _ { \theta } \in \mathbb { R } ^ { | \theta | }$ . This approximation also has an intuitive interpretation: A given entry in $\hat { F } _ { \theta }$ relates to the average of the square gradient of the model’s output with respect to a given parameter. If a given parameter heavily affects the model’s output, then its corresponding entry in $\hat { F } _ { \theta }$ will be large, so we can reasonably treat $\hat { F } _ { \theta }$ as an approximation of the importance of each parameter.
|
| 55 |
+
|
| 56 |
+
Note that both eq. (2) and eq. (3) include an expectation over $y \sim p _ { \theta } ( y | x )$ . When the number of classes is small, this expectation can be computed exactly. For tasks with many possible classes, it is common to approximate the expectation with a few samples from $p _ { \theta } ( y | x )$ . In supervised learning settings, we have access to the ground-truth label $y _ { i }$ for each sample $x _ { i }$ in our training set. This leads to the possibility of replacing $\mathbb { E } _ { y \sim p _ { \theta } ( y | x _ { i } ) } ( \nabla _ { \theta } \log p _ { \theta } ( y | x _ { i } ) ) ^ { 2 }$ in eq. (3) with $( \nabla _ { \theta } \mathbf { \bar { l } } _ { 0 } \mathrm { { g } } p _ { \theta } ( y _ { i } | x _ { i } ) ) ^ { 2 }$ Performing this approximation is referred to as the “empirical Fisher”. It has been shown that using the empirical Fisher can lead to degenerate behavior when used as a preconditioner in an optimizer [34, 26]. Since our use of the Fisher information is largely based on a heuristically-motivated notion of parameter importance, we experimented with both the empirical and standard (eq. (3)) Fisher approximations and found that they produced similar performance. Furthermore, the Empirical Fisher is faster to compute than the standard Fisher as long as more than one sample is used to approximate the expectation $\mathbb { E } _ { y \sim p _ { \theta } ( y | x _ { i } ) }$ . We discuss this further in section 4.4.1.
|
| 57 |
+
|
| 58 |
+
# 2.2 Computing Fixed Sparse Masks
|
| 59 |
+
|
| 60 |
+
Recall that our goal is to select a subset of parameters (or, equivalently, a sparse mask over parameters) to update over many iterations of training while keeping the remainder of the parameters fixed. Having established the Fisher information as a useful tool for estimating the importance of a given parameter, we therefore first compute the approximate Fisher information (as described in the previous section)
|
| 61 |
+
|
| 62 |
+
for all of a model’s parameters. Then, to construct the FISH Mask, we simply choose the $k$ parameters with the largest Fisher information, where $k$ is set according to the desired mask sparsity level.4 Specifically, a FISH Mask comprises the parameters $\{ \theta _ { i } \mid \hat { F } _ { \theta _ { i } } \geq \mathsf { s o r t } ( \hat { F } _ { \theta } ) _ { k } \}$ . Computing the FISH Mask is cheap because $\hat { F } _ { \theta }$ can be computed efficiently using backpropagation, and (as we will show in section 4.4.2) we can obtain a reliable mask for relatively small values of $N$ . Further, the fact that we re-use the mask for many iterations prevents us from having to compute $\hat { F } _ { \theta }$ frequently. As we will show in section 4, we find that this simple procedure is sufficient to produce a mask that can be reused for many iterations (over 100,000 iterations in some cases) in a wide variety of settings without sacrificing substantial performance compared to standard gradient-based training.
|
| 63 |
+
|
| 64 |
+
Note that in some applications of transfer learning, a new linear classifier layer must be added to the model to make it applicable to the downstream task. Since the FISH Mask depends on $p _ { \theta } ( y | x )$ and is computed before training begins, this means that we must compute the FISH Mask using the randomly-initialized classifier before any training has begun. We find that computing the Fisher information through the randomly-initialized classifier layer still provides a good signal of parameter importance. When applying FISH Mask in transfer learning settings where a new classifier layer is added, we always include the parameters of the classifier in the mask.
|
| 65 |
+
|
| 66 |
+
# 3 Related Work
|
| 67 |
+
|
| 68 |
+
Our approach bears similarity and takes inspiration from existing approaches for parameter-efficient transfer learning and distributed training of machine learning models. In this section, we outline related methods, some of which we will compare to directly in section 4. We also briefly describe how our work is related to and differs from work in network pruning.
|
| 69 |
+
|
| 70 |
+
# 3.1 Parameter-Efficient Transfer Learning
|
| 71 |
+
|
| 72 |
+
Transfer learning [36], where a model is initialized from a pre-trained checkpoint before being finetuned on a related downstream task, can dramatically improve performance and speed up convergence on the downstream task [12, 8, 40]. Standard practice is to update all of the model’s parameters during fine-tuning, though in some cases reasonable performance can be attained by only fine-tuning the output layer of the model [20, 8, 38]. Training only the output layer has the benefit that adapting a given pre-trained model to a downstream task only requires adding a relatively small number of new parameters, but typically results in worse performance compared to training the full model [38, 24].
|
| 73 |
+
|
| 74 |
+
Various methods have been proposed that endeavor to match the performance of fine-tuning the full model while only updating or adding a small amount of parameters. Adapters [19, 41, 5] are small subnetworks that are added between a pre-trained neural networks layers. Various works [19, 33, 32] have shown that, when appropriately designed, updating only the parameters in the adapters and the output layer can approach the performance of fine-tuning all parameters. For example, Houlsby et al. [19] add on average $3 . 6 \%$ more parameters to adapt a pre-trained BERT model [12] to tasks in the GLUE benchmark [48]. Concurrent work by Mahabadi et al. [33] improves the efficiency of Adapters by generating the weights of task-specific adapters via a hypernetwork. A second concurrent approach by Mahabadi et al. [32] introduces COMPACTER, which utilizes matrix decomposition and low-rank parameterization for the adapters’ weights. COMPACTER is shown to achieve the same performance as standard fine-tuning of the T5 models [40] while only adding $0 . 0 4 7 \%$ as many parameters as the original model. Finally, very recent work has shown that it is possible to train language models to perform a task by only optimizing the parameters of a "prompt" that is injected into the input of the model’s layers [29, 28]. This can yield extremely parameter-efficient results (as low as $0 . 0 1 \%$ task-specific parameters [28]) but this class of methods is only applicable to next-step-prediction language models. The main drawback of all Adapter-style methods is that they increase the parameter count and computational cost of the model. This makes them inapplicable to the distributed training and efficient checkpointing settings consider in this paper. We therefore only compare directly to other methods that do not add any parameters.
|
| 75 |
+
|
| 76 |
+
More closely related to our approach are methods for choosing a small subset of the model’s existing parameters to update. In an extreme case, Zhao et al. [50] find a sparse mask to multiply against pre-trained parameters (which are not otherwise updated). That is, instead of fine-tuning the models, a binary mask is learned that marks which parameters should be zeroed out. The resulting performance degrades heavily when the mask is made very sparse, suggesting that it is likely beneficial to update parameters. More recently, Guo et al. [16] propose “Diff Pruning”, where a sparse binary mask is found over the course of training that denotes which parameters should be updated or fixed at the value from the pre-trained model. Mask sparsity in the binary mask is enforced through a smooth approximation of the $L _ { 0 }$ norm introduced by Louizos et al. [31]. Guo et al. [16] also show improved performance by imposing a structure on the mask according to which parameters correspond to a particular weight matrix or bias vector. Ultimately, Diff Pruning is shown to both be more parameterefficient and outperform Adapters when applied to fine-tuning BERT on the GLUE benchmark. However, using Diff Pruning requires significantly more memory during training in order to store and update the mask. Another recent result by Ben-Zaken et al. [6] demonstrated that simply updating the bias parameters in BERT can attain competitive performance with Diff Pruning. While this provides a simple and strong baseline, it is not universally applicable – for example, the pre-trained T5 model [40] does not have any bias vectors. In section 4, we show that using a FISH Mask outperforms all of these approaches in parameter-efficient fine-tuning of BERT on GLUE.
|
| 77 |
+
|
| 78 |
+
# 3.2 Distributed Training
|
| 79 |
+
|
| 80 |
+
As models and datasets grow, it becomes inefficient or impossible to train a model on a single machine. This has motivated the need for distributed training strategies where computation for training a model is shared across many machines (called workers) [11]. A major consideration in distributed training are communication costs, since workers need to regularly communicate parameter updates with one another. To minimize communication costs, workers can compute multiple updates on their copy of the model before communicating their changes, but this gives rise to the “stale gradient” problem where workers are operating on an out-of-date copy of the model. The standard and straightforward approach to dealing with stale gradients it to simply apply updates in the “wrong” order, which can be effective in practice [11, 42]. An orthogonal approach to reducing communication costs is to have workers only update a small subset of the model’s parameters [2, 13, 44, 45]. For example, Aji and Heafield [2] simply have workers communicate only those updates corresponding to the gradients with top- $k$ largest magnitude at each step. This bears a similar motivation to FISH Mask, but results in a “mask” that changes at every iteration and therefore requires workers communicate after each update. In contrast, pre-computing a FISH Mask allows workers to perform multiple iterations before communicating their updates, thereby further reducing communication costs.
|
| 81 |
+
|
| 82 |
+
An extreme variant of distributed training is federated learning [22, 35]. In federated learning, asynchronous workers perform many updates on private data before communicating the changes back to a centralized model. The training involves one server and multiple clients, and the server model’s gradient is the combination of the workers’ gradients. As with any form of asynchronous training, communication costs and stale gradients are significant issues. McMahan et al. [35] demonstrated that averaging the updates computed by individual workers is an effective approach to dealing with stale gradients and Konecnˇ y et al. \` [23] investigated techniques for significantly reducing communication costs. Our method is complementary to the techniques for reducing communication proposed by Konecnˇ y et al. [23].\`
|
| 83 |
+
|
| 84 |
+
# 3.3 Network Pruning
|
| 85 |
+
|
| 86 |
+
Past work in network pruning has also explored techniques for sparsifying neural networks (i.e. zeroing out many parameters for compression purposes) while sacrificing minimal performance. Most relevant to our work, Theis et al. [46] propose utilizing the Fisher to prune and decrease the overall number of parameters for gaze prediction, and Liu et al. [30] also use the Fisher to discover groups of parameters to prune from common backbone architectures. Critically, these works differ from our work in that we do not train neural networks with sparse weights. Instead, we focus on using the Fisher to inform the selection of a fixed sparse subset of weights in a non-sparse network to update over the course of training.
|
| 87 |
+
|
| 88 |
+
# 4 Experiments
|
| 89 |
+
|
| 90 |
+
We evaluate the efficacy of the FISH Mask in three settings: parameter-efficient transfer learning, distributed training, and training with efficient checkpointing. For parameter-efficient transfer learning, we demonstrate that our approach matches the performance of standard gradient-based training on the GLUE benchmark [48] while updating only $0 . 5 \%$ of the model’s parameters per task. For distributed training, we evaluate FISH Mask training for both transfer learning on GLUE and training from scratch on CIFAR-10 [25]. In both settings, we find that we can dramatically reduce communication without sacrificing significant performance, though from-scratch training on CIFAR-10 requires a higher mask sparsity level than fine-tuning on GLUE. Finally, we demonstrate a novel application of training with sparse updates: Minimizing the size of checkpoints over training. We show that using a FISH Mask while training on CIFAR-10 with a mask sparsity level of $10 \%$ can shrink checkpoint size on disk by a factor of 5 while sacrificing only a small amount of accuracy. Throughout our experiments, we report results with varying mask sparsity to get a sense of the savings induced by the FISH Mask. For ease of comparison, we report mask sparsity in terms of the total percentage of parameters that are updated. This percentage can be converted to a value of $k$ used for the top- $k$ operation when constructing the mask simply by multiplying it against the total number of parameters in the model.
|
| 91 |
+
|
| 92 |
+
We also include ablation studies to measure the impact of the number of samples used to estimate the Fisher information as well as the choice of true or empirical Fisher. All experiments for GLUE are run with the BERTLARGE variant of BERT, which contains 16 attention heads, 24 layers, and 330 million parameters in total [12], and most experiments are run on a RTX 3090 GPU. For experiments on CIFAR-10, we use a ResNet-34 [18] with various optimizations for fast convergence.5 We report the average performance across 5 seeds for all experiments.
|
| 93 |
+
|
| 94 |
+
# 4.1 Parameter-Efficient Transfer Learning
|
| 95 |
+
|
| 96 |
+
In parameter-efficient transfer learning, the goal is to fine-tune a pre-trained model while updating as few parameters as possible. We focus on fine-tuning $\mathbf { B E R T _ { L A R G E } }$ on the GLUE benchmark [48], which is the primary setting used for evaluation in prior work. For all experiments, we fine-tune for 7 epochs and perform a hyper-parameter search across learning rate $\in \{ 1 \stackrel { \cdot } { \times } 1 0 ^ { - 4 } , 5 \times 1 0 ^ { - 5 } , 1 \times 1 0 ^ { - 5 } \}$ and batch si $\mathsf { z e } \in \{ 8 , 1 6 \}$ for each GLUE task. We find the learning rate of $5 \times 1 0 ^ { - 5 }$ and batch size of 16 to be effective for most tasks, with the exception of batch $\mathrm { s i z e } = 8$ used for RTE. Additional hyper-parameters, such as choice of optimizer, sequence length, and others, follow from the default configuration for BERTLARGE presented in the Hugging Face library [49]. Test set results are reported by submitting to the GLUE benchmark using the final model checkpoint following a hyper-parameter search on validation results, unless otherwise noted.
|
| 97 |
+
|
| 98 |
+
Baselines We compare GLUE task performance of the FISH Mask to several other baselines and methods focused on parameter-efficient transfer learning. In Dense Fine-tuning, we fine-tune all parameters of a pre-trained model, as is typical in standard transfer learning. In the Random Mask baseline, we randomly select and fix $k$ parameters to update at the start of training. To compare to prior work, we reproduce Bit-Fit [6], in which only the bias parameters of the BERT model are updated across training. Our reproduction follows the original paper and performs a hyper-parameter search with learning rates in the $[ 1 \times 1 0 ^ { - 3 } , 1 \times 1 0 ^ { - 4 } ]$ range. We also reproduce results from Diff Pruning [16], which updates the sparse mask over the course of training. Our reproduction of Diff Pruning at $0 . 5 \%$ mask sparsity follows the paper’s code-base6 and training settings, and reports the GLUE test set results using the best validation checkpoint. Due to restrictions on the number of permissible submissions to the GLUE test server, we are only able to report results with a mask sparsity of $0 . 5 \%$ for those methods where we can control the mask sparsity level. We therefore include additional validation set results for varying mask sparsity levels when using a FISH Mask.
|
| 99 |
+
|
| 100 |
+
Results Our results on parameter-efficient transfer learning with the FISH Mask can be seen in table 1. FISH Mask training results in effectively the same performance $( 8 2 . 6 \% )$ as standard “dense” fine-tuning $( 8 2 . 5 \% )$ , despite updating just $0 . 5 \%$ of BERTLARGE parameters. The Random Mask baseline achieves a significantly lower average GLUE score, which demonstrates the value of using
|
| 101 |
+
|
| 102 |
+
<table><tr><td>Method</td><td>Updated Params/Task</td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>AVG</td></tr><tr><td>Dense Fine-tuning</td><td>100%</td><td>93.4</td><td>94.9</td><td>87.0</td><td>86.1</td><td>61.0</td><td>86.6</td><td>86.5</td><td>70.9</td><td>80.5</td><td>82.5</td></tr><tr><td>Random Mask</td><td>0.50%</td><td>89.8</td><td>93.4</td><td>83.7</td><td>84.0</td><td>43.2</td><td>77.8</td><td>87.7</td><td>61.3</td><td>77.2</td><td>76.8</td></tr><tr><td>Bit-Fit [6]</td><td>0.08%</td><td>90.4</td><td>94.5</td><td>85.0</td><td>84.8</td><td>60.3</td><td>86.3</td><td>85.0</td><td>69.6</td><td>78.5</td><td>81.2</td></tr><tr><td>Diff Pruning [16]</td><td>0.50%</td><td>91.9</td><td>93.8</td><td>86.0</td><td>85.5</td><td>61.0</td><td>86.2</td><td>85.6</td><td>67.5</td><td>80.1</td><td>81.5</td></tr><tr><td>FISHMask</td><td>0.08%</td><td>93.3</td><td>94.0</td><td>85.3</td><td>84.9</td><td>56.4</td><td>86.2</td><td>85.7</td><td>70.2</td><td>79.3</td><td>81.3</td></tr><tr><td>FISHMask</td><td>0.50%</td><td>93.1</td><td>94.7</td><td>86.5</td><td>85.9</td><td>61.6</td><td>87.1</td><td>86.5</td><td>71.2</td><td>80.2</td><td>82.6</td></tr></table>
|
| 103 |
+
|
| 104 |
+
Table 1: GLUE test server evaluation results with BERTLARGE. MRPC and QQP are reported as an average of F1-score and accuracy, and STS-B is reported as an average of Pearson and Spearman correlation. Accuracy is reported for all other tasks. All results are reproduced experimentally. Training with the FISH surpasses (82.6) other methods and equals dense fine-tuning performance (82.5) whilst updating only $0 . 5 \%$ of model parameters.
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 2: (Left) GLUE validation performance of a randomly selected mask and the FISH Mask at varying levels of mask sparsity. Compared to the densely fine-tuned baseline score of $85 \%$ , training with the FISH Mask is competitive at $0 . 5 \%$ mask sparsity. (Right) GLUE validation performance at varying levels of dataset samples used to compute the FISH Mask. Few samples are needed to effectively compute the FISH Mask and obtain good performance. Results in both (Left) and (Right) are averaged over 5 seeds.
|
| 108 |
+
|
| 109 |
+
the Fisher information in selecting parameters to update. Finally, FISH Mask training is competitive with all other parameter-efficient transfer learning approaches; the next-best score of $8 1 . 5 \%$ is achieved by Diff Pruning [16]. As mentioned in section 3, we do not include a direct comparison to Adapter-based methods since they add parameters to the model, though we note that our method is able to match BERTLARGE’s performance using a significantly lower mask sparsity level $0 . 5 \%$ vs. $3 . 6 \%$ ) than the method proposed by Houlsby et al. [19].
|
| 110 |
+
|
| 111 |
+
Figure 2 shows the change in performance on the GLUE validation set as we change the mask sparsity level for both a random mask and a FISH Mask. We find that the FISH Mask consistently outperforms the random mask baseline and is still strong even at a lower mask sparsity level of $0 . 1 \%$ . These results demonstrate that the FISH Mask can be a useful tool in mitigating the storage costs of saving many fine-tuned models since it only requires that the updated parameters and their respective indices are saved.
|
| 112 |
+
|
| 113 |
+
# 4.2 Distributed Training
|
| 114 |
+
|
| 115 |
+
Now, we turn to using FISH Mask to reduce communication costs in distributed training settings. We consider the setting where distributed workers compute many subsequent updates to a local copy of the model before transmitting their changes back to a central server. In our experiments, we assume all workers sample data i.i.d. from the same dataset and that all workers compute the same number of updates between each communication step, though our results could carry over to settings where workers use different datasets and varying amounts of updates (e.g. in Federated Learning [35]).
|
| 116 |
+
|
| 117 |
+
Let $\theta$ denote the parameter vector stored on the central server and $\delta _ { i }$ represent the update computed by worker $i$ . After each update/communication step, the server must transmit the updated $\theta$ back to all workers. When standard gradient-based training is used, all parameters are updated, so $| \delta _ { i } | = | \theta |$ . If there are $M$ workers, the communication costs for normal training are then $M | \delta _ { i } | = M | \ddot { \theta } |$ for workerto-server communication and $M | \theta |$ for server-to-worker communication, for a total communication cost of $2 M | \theta |$ .
|
| 118 |
+
|
| 119 |
+
Using a sparse mask will effectively reduce the size of each $\delta _ { i }$ to $k$ . Without loss of generality, we assume that $| \delta _ { i } |$ is the same across all workers. Furthermore, assuming updates are aggregated on the central server by summing them together, the server can either communicate the full updated parameter vector back to all workers, or the server can communicate all other workers’ updates to a given worker. These two options amount to server-to-worker communication costs of either $M | \theta |$ or $M ( M - \underline { { { 1 } } } ) \lVert \delta _ { i } \rVert \approx M ^ { 2 } | \dot { \delta } _ { i } |$ . In general, we expect $M$ to be small and $| \theta |$ to be large, so we typically have $M ^ { 2 } | \delta _ { i } | < M | \theta |$ . Therefore, we can achieve significant communication savings by using sparse updates. For simplicity, we set $M = 2$ in all of our experiments; this makes the savings in communication equal to the mask sparsity level. To apply FISH in distributed training, the central server computes $\hat { F } _ { \theta }$ and a single FISH Mask which is shared across all workers.
|
| 120 |
+
|
| 121 |
+
Baselines For distributed training experiments, we compare FISH Mask training to three baselines: First, in standard training, we tune all the parameters in a single machine (i.e. standard, nondistributed training). This provides an upper bound on performance for distributed training techniques. Second, in densely-updated distributed training, workers use standard gradient descent to compute updates over all parameters, and all of the worker’s updates are added together on the centralized server. Third, in random mask distributed training, we randomly select a subset of parameters to update for workers. For a fair comparison, we keep the overall training batches the same for all methods, so the training iterations of a worker are half of that of the single-machine baseline.
|
| 122 |
+
|
| 123 |
+
Experimental setting In preliminary experiments on the GLUE benchmark (described in appendix A), we found that densely-updated distributed training saw no real degradation in performance even for long communication delays. This suggests that stale gradients could be less of an issue in transfer learning settings. We therefore instead focused on from-scratch training of a ResNet-34 on CIFAR-10. We train the model for 100 total epochs, with 50 epochs performed by each of the two workers. Notably, we found that the performance of sparse update methods was poor for fromscratch training unless we performed 5 epochs of standard training as “warmup” before beginning distributed training. Beyond this change, all the models and hyper-parameters follow those mentioned in section 4.1. We searched for the best initial learning rate in {0.4, 0.2, 0.08, 0.04, 0.02}. We measure performance using a varying number of parameter updates between each worker-server communication step. We report performance in terms of the accuracy achieved under a certain communication budget, where the communication cost is measured in terms of the equivalent number of full model parameter updates. For example, a method that updates $10 \%$ of the model’s parameters and performs 5 communication steps over the course of training has the same cost as a method that communicates all of a model’s parameters once (since we must transmit both the updated parameters and their locations; more details are in section 4.3).
|
| 124 |
+
|
| 125 |
+
Results Results from training a ResNet-34 on CIFAR-10 are shown in fig. 3. As in section 4.1, using a FISH Mask works better than using a random mask for all communication costs. Furthermore, we generally find that using FISH Mask with a sparsity level of $10 \%$ attains a better commnication/performance trade-off than densely-updated distributed training. For example, FISH Mask training attains comparable performance to standard training when only communicating two copies of the model, whereas densely-updated training performs significantly worse at this communication amount. Notably, performance was relatively poor when only updating $2 \%$ of the model’s parameters with FISH Mask, suggesting there is a lower bound under which it is difficult to attain reasonable results. As a whole, our results show significant promise for dramatically reducing computational costs in distributed training settings.
|
| 126 |
+
|
| 127 |
+
# 4.3 Efficient Checkpointing
|
| 128 |
+
|
| 129 |
+
Over the course of training a machine learning model, it is common to save intermediate checkpoint files that store the model’s parameter values. These checkpoints can be useful for restarting training from a given iteration rather than starting from scratch in the event that the training job crashes or is otherwise stopped. They are also commonly used for post-hoc analysis, for example for evaluating a model’s performance on new datasets or metrics over the course of training. Since checkpoints store a full copy of the model’s parameters, they can take up a significant amount of space on disk.
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 3: CIFAR-10 validation set accuracy achieved by a ResNet-34 through distributed training at different communication costs. $\mathrm { X }$ -axis refers to the total number of model communications required for a single worker. Standard (non-distributed) training achieves an accuracy of $9 3 . 9 \%$ .
|
| 133 |
+
|
| 134 |
+
Furthermore, depending on the checkpointing frequency, hundreds of checkpoints are often written to disk over the course of a training run. The development cycle of a machine learning model can result in hundreds of different model variants being trained. Combining these factors with the on-disk space needed to store the parameters of modern models (around 1 GB for BERTLARGE) results in potentially massive storage costs.
|
| 135 |
+
|
| 136 |
+
Training with sparse updates can significantly reduce these storage costs. Specifically, if only a small subset of the parameters are updated between checkpoint saves, then the checkpoint only needs to store the updated parameter values and indices denoting the position of the updated parameters’ values. Assuming that the storage costs for a parameter value and index is the same (e.g. using a 32-bit float for parameter values and a 32-bit integer for indices), using a sparse mask will reduce storage cost when the mask sparsity level is less than $50 \%$ . Note that this setting allows the “mask” to change over the course of training, and is therefore a relaxation of the setting in section 4.1, where the requirement is that the same subset of parameters is updated over the entire fine-tuning run. It follows from our results in section 4.1 that FISH Mask training could be readily applied to reducing checkpoint size in parameter-efficient transfer learning. However, we found that the strict requirement of fixing the mask over an entire from-scratch training run on CIFAR-10 resulted in a significant degradation in performance. This is in line with past work demonstrating the difficulty of identifying fixed sparse subnetworks to train before training begins [15]. We therefore focus on from-scratch training on CIFAR-10 and allow the mask to change every time a checkpoint is written, which does not increase storage requirements over using the same fixed mask from the start of training.
|
| 137 |
+
|
| 138 |
+
Table 2: CIFAR-10 validation set accuracy when using the FISH Mask and the Random Mask to reduce checkpoint sizes. “Epoch” refers to allowing the mask to change each epoch, and the number is how many epochs we update masks. Standard training achieves an accuracy of 93.9 $( \pm 0 . 1 ) \%$ .
|
| 139 |
+
|
| 140 |
+
Overall, we use the same experimental setup as in section 4.2. We measure performance when updating the mask every epoch (which is a common choice in practice), every 2 epochs, every 4 epochs, and leaving the mask fixed over the course of training. We performed a new search over learning rates in $\{ 0 . 4 , 0 . 2 , 0 . 0 8 , 0 . 0 4 , 0 . 0 2 \}$ We compare to baselines of standard training (which to serve as an upper bound on the performance of using a FISH Mask) and using a random mask.
|
| 141 |
+
|
| 142 |
+
<table><tr><td rowspan="2"></td><td colspan="3">Mask sparsity level</td></tr><tr><td>0.5%</td><td>2%</td><td>10%</td></tr><tr><td>Random Mask(1 Epoch)</td><td>74.80.6</td><td>84.40.2</td><td>90.00.2</td></tr><tr><td>FISH Mask (1 Epoch)</td><td>90.50.3</td><td>93.00.3</td><td>93.90.1</td></tr><tr><td>FISH Mask (2 Epochs)</td><td>90.30.5</td><td>92.50.1</td><td>93.70.2</td></tr><tr><td>FISH Mask (4 Epochs)</td><td>89.40.6</td><td>92.10.3</td><td>93.40.2</td></tr><tr><td>FISHMask (Fixed)</td><td>78.50.7</td><td>90.60.2</td><td>93.00.2</td></tr></table>
|
| 143 |
+
|
| 144 |
+
Results In table 2, we show the results of FISH Mask training when keeping the mask fixed over the course of training or updating it at each epoch. We find that updating the FISH Mask every epoch can match the performance of normal training $9 3 . 9 \%$ accuracy) at a mask sparsity level of $10 \%$ , which would reduce storage requirements by a factor of 5. At lower mask sparsity levels, we see some degradation in performance. We find that accuracy tends to decrease as we decrease the frequency of updating the mask, but this effect is relatively small. As mentioned earlier, we also found that using a fixed mask significantly degraded performance, though only by a few percent at a mask sparsity level of $10 \%$ . This suggests that the FISH Mask could also be useful for identifying sparse subnetworks to train before training begins, as conjectured by the Lottery Ticket Hypothesis [15]. We leave the exploration of this possibility for future work. Lastly, the FISH Mask’s performance is unanimously better than the Random Mask across the three mask sparsity levels.
|
| 145 |
+
|
| 146 |
+
# 4.4 Ablations
|
| 147 |
+
|
| 148 |
+
Having established the effectiveness of training with a FISH mask, we now ablate a few design choices to help demonstrate the robustness of our approach. We perform all ablation experiments in the parameter-efficient transfer learning setup described in section 4.1.
|
| 149 |
+
|
| 150 |
+
# 4.4.1 True Fisher vs. Empirical Fisher
|
| 151 |
+
|
| 152 |
+
In section 2, we note that past work has approximated the Fisher information matrix (eq. (3)) using either the expectation over $y \sim p _ { \theta } ( y | x )$ (“true Fisher”) or ground-truth labels (“empirical Fisher”). While past work has shown that using the empirical Fisher can be detrimental in optimization settings [34, 26], we mainly use the Fisher information as a signal of parameter importance. The empirical Fisher also has the benefit that it avoids marginalizing over or sampling from $p _ { \theta } ( y | x )$ and only requires computing the gradient for a single value of $y$ . When comparing the performance of using the true or empirical Fisher to compute a $0 . 5 \%$ -sparse FISH Mask for parameter-efficient transfer learning, we observe that both methods achieve near-identical performance with an average validation-set GLUE score of 82.5 in both cases. Since computing the empirical Fisher can be more computationally efficient, we used the empirical Fisher for all experiments.
|
| 153 |
+
|
| 154 |
+
# 4.4.2 Sample Ablation
|
| 155 |
+
|
| 156 |
+
We also ablate the number of samples, $N$ , used to compute the FISH Mask to study if more samples are beneficial. The results for parameter-efficient transfer learning on GLUE are shown in fig. 2, right. At a sample count of 0, the FISH Mask is equivalent to the Random Mask baseline presented in section 4.1 in which parameters to update are selected at random instead of informed by the Fisher information. We observe that FISH Mask performance on the GLUE validation set is surprisingly stable across many values of samples, with just 32 samples needed to achieve the highest-possible performance. These suggest that using the approximate Fisher information is a data-efficient approach of computing parameter importance, and we therefore ran all experiments with a sample count $N = 1 0 2 4$ , except in distributed training we use $N = 2 5 6$ for efficiency.
|
| 157 |
+
|
| 158 |
+
# 5 Conclusion
|
| 159 |
+
|
| 160 |
+
In this work, we proposed FISH Mask training as a novel method for pre-computing fixed sparse masks of a model’s parameters to update over many subsequent iterations. The FISH Mask estimates the importance of each of a model’s parameters by first approximating the Fisher information of each parameter and then selecting the $k$ parameters with the largest Fisher information to include in the mask. We demonstrate the usefulness of FISH Mask training in several settings, including parameter-efficient transfer learning, distributed training, and reducing storage requirements of model checkpoints. In future work, we hope to explore methods for improving the performance of FISH Mask training at lower mask sparsity levels, possibly by considering other measures of parameter importance. We also hope to further demonstrate the efficacy of FISH Mask in real-world settings where the benefits of sparse parameter updating are even more pronounced, such as in Federated Learning. The integration of FISH Masks across tasks and sharing amongst practitioners could also be a useful line of inquiry, as recent frameworks such as AdapterHub [39] have enabled for Adapter modules [19].
|
| 161 |
+
|
| 162 |
+
# Acknowledgments and Disclosure of Funding
|
| 163 |
+
|
| 164 |
+
We thank Yoon Kim, Michael Matena, and Demi Guo for helpful discussions.
|
| 165 |
+
|
| 166 |
+
References
|
| 167 |
+
[1] Alessandro Achille, Giovanni Paolini, and Stefano Soatto. Where is the information in a deep neural network? arXiv preprint arXiv:1905.12213, 2019.
|
| 168 |
+
[2] Alham Fikri Aji and Kenneth Heafield. Sparse communication for distributed gradient descent. arXiv preprint arXiv:1704.05021, 2017.
|
| 169 |
+
[3] Zeyuan Allen-Zhu, Yuanzhi Li, and Yingyu Liang. Learning and generalization in overparameterized neural networks, going beyond two layers. CoRR, abs/1811.04918, 2018. URL http://arxiv.org/abs/1811.04918.
|
| 170 |
+
[4] SI Amari. Neural learning in structured parameter spaces-natural riemannian gradient. Advances in neural information processing systems, pages 127–133, 1997.
|
| 171 |
+
[5] Ankur Bapna, Naveen Arivazhagan, and Orhan Firat. Simple, scalable adaptation for neural machine translation. arXiv preprint arXiv:1909.08478, 2019.
|
| 172 |
+
[6] Elad Ben-Zaken, Shauli Ravfogel, and Yoav Goldberg. BitFit: Simple parameter-efficient fine-tuning for transformer-based masked language models. 2021.
|
| 173 |
+
[7] Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. CoRR, abs/2005.14165, 2020. URL https://arxiv.org/abs/2005.14165.
|
| 174 |
+
[8] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. CoRR, abs/2002.05709, 2020. URL https: //arxiv.org/abs/2002.05709.
|
| 175 |
+
[9] Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey E. Hinton. Big self-supervised models are strong semi-supervised learners. CoRR, abs/2006.10029, 2020. URL https://arxiv.org/abs/2006.10029.
|
| 176 |
+
[10] Elliot J. Crowley, Jack Turner, Amos Storkey, and Michael O’Boyle. Pruning neural networks: is it time to nip it in the bud? 2018.
|
| 177 |
+
[11] J. Dean, G. Corrado, Rajat Monga, Kai Chen, M. Devin, Quoc V. Le, Mark Z. Mao, Marc’Aurelio Ranzato, A. Senior, P. Tucker, K. Yang, and A. Ng. Large scale distributed deep networks. In NIPS, 2012.
|
| 178 |
+
[12] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://www.aclweb.org/anthology/N19-1423.
|
| 179 |
+
[13] Nikoli Dryden, Tim Moon, Sam Ade Jacobs, and Brian Van Essen. Communication quantization for data-parallel training of deep neural networks. In 2nd Workshop on Machine Learning in HPC Environments (MLHPC), 2016.
|
| 180 |
+
[14] Ronald A Fisher. On the mathematical foundations of theoretical statistics. Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character, 222(594-604):309–368, 1922.
|
| 181 |
+
[15] Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. arXiv preprint arXiv:1803.03635, 2018.
|
| 182 |
+
[16] Demi Guo, Alexander M. Rush, and Yoon Kim. Parameter-efficient transfer learning with diff pruning. CoRR, abs/2012.07463, 2020. URL https://arxiv.org/abs/2012.07463.
|
| 183 |
+
[17] Moritz Hardt, Ben Recht, and Yoram Singer. Train faster, generalize better: Stability of stochastic gradient descent. In International Conference on Machine Learning, 2016.
|
| 184 |
+
[18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015. URL http://arxiv.org/abs/1512.03385.
|
| 185 |
+
[19] Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. CoRR, abs/1902.00751, 2019. URL http://arxiv.org/abs/1902.00751.
|
| 186 |
+
[20] Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. CoRR, abs/1801.06146, 2018. URL http://arxiv.org/abs/1801.06146.
|
| 187 |
+
[21] James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13), 2017.
|
| 188 |
+
[22] Jakub Konecnˇ y, H Brendan McMahan, Daniel Ramage, and Peter Richtárik. Federated optimiza- \` tion: Distributed machine learning for on-device intelligence. arXiv preprint arXiv:1610.02527, 2016.
|
| 189 |
+
[23] Jakub Konecnˇ y, H Brendan McMahan, Felix X Yu, Peter Richtárik, Ananda Theertha Suresh, \` and Dave Bacon. Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492, 2016.
|
| 190 |
+
[24] Simon Kornblith, Jonathon Shlens, and Quoc V Le. Do better imagenet models transfer better? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019.
|
| 191 |
+
[25] A. Krizhevsky. Learning multiple layers of features from tiny images. 2009.
|
| 192 |
+
[26] Frederik Kunstner, Lukas Balles, and Philipp Hennig. Limitations of the empirical fisher approximation for natural gradient descent. arXiv preprint arXiv:1905.12558, 2019.
|
| 193 |
+
[27] Yann A LeCun, Léon Bottou, Genevieve B Orr, and Klaus-Robert Müller. Efficient backprop. In Neural networks: Tricks of the trade, pages 9–48. Springer, 2012.
|
| 194 |
+
[28] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021.
|
| 195 |
+
[29] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. arXiv preprint arXiv:2101.00190, 2021.
|
| 196 |
+
[30] Liyang Liu, Shilong Zhang, Zhanghui Kuang, Aojun Zhou, Jing-Hao Xue, Xinjiang Wang, Yimin Chen, Wenming Yang, Qingmin Liao, and Wayne Zhang. Group fisher pruning for practical network compression. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 7021–7032. PMLR, 18–24 Jul 2021. URL https://proceedings. mlr.press/v139/liu21ab.html.
|
| 197 |
+
[31] Christos Louizos, Max Welling, and Diederik P. Kingma. Learning sparse neural networks through l_0 regularization. arXiv preprint arXiv:1712.01312, 2017.
|
| 198 |
+
[32] Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. Compacter: Efficient low-rank hypercomplex adapter layers, 2021.
|
| 199 |
+
[33] Rabeeh Karimi Mahabadi, Sebastian Ruder, Mostafa Dehghani, and James Henderson. Parameter-efficient multi-task fine-tuning for transformers via shared hypernetworks, 2021.
|
| 200 |
+
|
| 201 |
+
[34] James Martens. New insights and perspectives on the natural gradient method. arXiv preprint arXiv:1412.1193, 2014.
|
| 202 |
+
|
| 203 |
+
[35] H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data, 2017.
|
| 204 |
+
|
| 205 |
+
[36] Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on knowledge and data engineering, 22(10):1345–1359, 2009.
|
| 206 |
+
|
| 207 |
+
[37] Razvan Pascanu and Yoshua Bengio. Revisiting natural gradient for deep networks. arXiv preprint arXiv:1301.3584, 2013.
|
| 208 |
+
|
| 209 |
+
[38] Matthew E. Peters, Sebastian Ruder, and Noah A. Smith. To tune or not to tune? adapting pretrained representations to diverse tasks. arXiv preprint arXiv:1903.05987, 2019.
|
| 210 |
+
|
| 211 |
+
[39] Jonas Pfeiffer, Andreas Rücklé, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. Adapterhub: A framework for adapting transformers. CoRR, abs/2007.07779, 2020. URL https://arxiv.org/abs/2007.07779.
|
| 212 |
+
|
| 213 |
+
[40] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21, 2020.
|
| 214 |
+
|
| 215 |
+
[41] Sylvestre-Alvise Rebuffi, Hakan Bilen, and Andrea Vedaldi. Learning multiple visual domains with residual adapters. arXiv preprint arXiv:1705.08045, 2017.
|
| 216 |
+
|
| 217 |
+
[42] Benjamin Recht, Christopher Re, Stephen Wright, and Feng Niu. Hogwild!: A lock-free approach to parallelizing stochastic gradient descent. In J. Shawe-Taylor, R. Zemel, P. Bartlett, F. Pereira, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 24. Curran Associates, Inc., 2011. URL https://proceedings.neurips.cc/ paper/2011/file/218a0aefd1d1a4be65601cc6ddc1520e-Paper.pdf.
|
| 218 |
+
|
| 219 |
+
[43] Sidak Pal Singh and Dan Alistarh. Woodfisher: Efficient second-order approximation for neural network compression. Advances in Neural Information Processing Systems, 2020.
|
| 220 |
+
|
| 221 |
+
[44] Nikko Strom. Scalable distributed dnn training using commodity gpu cloud computing. In Sixteenth Annual Conference of the International Speech Communication Association, 2015.
|
| 222 |
+
|
| 223 |
+
[45] Zeyi Tao and Qun Li. esgd: Communication efficient distributed deep learning on the edge. In {USENIX} Workshop on Hot Topics in Edge Computing (HotEdge 18), 2018.
|
| 224 |
+
|
| 225 |
+
[46] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. CoRR, abs/1801.05787, 2018. URL http://arxiv. org/abs/1801.05787.
|
| 226 |
+
|
| 227 |
+
[47] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. arXiv preprint arXiv:1801.05787, 2018.
|
| 228 |
+
|
| 229 |
+
[48] Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. CoRR, abs/1804.07461, 2018. URL http://arxiv.org/abs/1804.07461.
|
| 230 |
+
|
| 231 |
+
[49] Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. Huggingface’s transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771, 2019.
|
| 232 |
+
|
| 233 |
+
[50] Mengjie Zhao, Tao Lin, Martin Jaggi, and Hinrich Schütze. Masking as an efficient alternative to finetuning for pretrained language models. CoRR, abs/2004.12406, 2020. URL https: //arxiv.org/abs/2004.12406.
|
parse/train/Uwh-v1HSw-x/U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+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yi-Lin Sung∗ UNC Chapel Hill ylsung@cs.unc.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
230,
|
| 19 |
+
200,
|
| 20 |
+
379,
|
| 21 |
+
243
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Varun Nair∗ Duke University vn40@duke.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
442,
|
| 30 |
+
202,
|
| 31 |
+
555,
|
| 32 |
+
242
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Colin Raffel UNC Chapel Hill craffel@gmail.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
619,
|
| 41 |
+
200,
|
| 42 |
+
766,
|
| 43 |
+
243
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
279,
|
| 54 |
+
535,
|
| 55 |
+
295
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "During typical gradient-based training of deep neural networks, all of the model’s parameters are updated at each iteration. Recent work has shown that it is possible to update only a small subset of the model’s parameters during training, which can alleviate storage and communication requirements. In this paper, we show that it is possible to induce a fixed sparse mask on the model’s parameters that selects a subset to update over many iterations. Our method constructs the mask out of the $k$ parameters with the largest Fisher information as a simple approximation as to which parameters are most important for the task at hand. In experiments on parameter-efficient transfer learning and distributed training, we show that our approach matches or exceeds the performance of other methods for training with sparse updates while being more efficient in terms of memory usage and communication costs. We release our code publicly to promote further applications of our approach.2 ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
232,
|
| 64 |
+
310,
|
| 65 |
+
764,
|
| 66 |
+
491
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
517,
|
| 77 |
+
312,
|
| 78 |
+
535
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Stochastic gradient descent (SGD) is a vital component of the modern pipeline for training deep neural networks. Along with the back-propagation algorithm, gradient descent allows for the efficient minimization of a loss function by gradually updating a model’s parameters. SGD minimizes the loss over a small random subset of the dataset at each training iteration, which allows training over large datasets. In practice, minimizing a large neural network’s training loss using SGD often results in models that generalize well to new data [3, 17, 27], making SGD an invaluable tool. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
550,
|
| 88 |
+
825,
|
| 89 |
+
633
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "While effective, standard SGD requires that all model parameters are updated at every iteration of training. As a result, communicating changes to the model requires communicating the updated value of every parameter. Since modern neural networks often have millions or billions of parameters [9, 7, 40], this communication can become excessively expensive. A concrete example of the negative impacts of these costs arises in the setting of transfer learning. In transfer learning, a model’s parameters are initialized from an existing pre-trained model before being fine-tuned (i.e. trained) on a task of interest. Pre-trained models can be fine-tuned a huge number of times – for example, the Hugging Face model repository3 has thousands of fine-tuned variants of the BERT model [12]. Each of these fine-tuned variants requires a unique copy of the model’s parameters, each of which takes up around 500MB of disk space. Relatedly, in distributed training [11] and federated learning [35], workers compute updates for a centralized model in parallel on different subsets of data. After a certain number of updates, the workers each communicate the newly-computed parameter values back to the centralized model. The communication step can cause a significant amount of overhead (particularly when the model is large) since the workers must communicate the updated values of all parameters when using standard SGD. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
640,
|
| 99 |
+
826,
|
| 100 |
+
847
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/1bf43c1ff9e93dadfc033c4f837c48bdac97e690153e19a2e3f7d3022ee485ee.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Diagram comparing our proposed method to standard SGD. In traditional gradient-based training (left), all of a model’s parameters are updated at every iteration. We propose FISH Mask, a method for precomputing a sparse subset of parameters to update over many subsequent training iterations. To construct the FISH Mask, we find the $k$ parameters with the largest Fisher information (right, top). Then, we train the model with traditional gradient descent, but only update those parameters chosen by the mask (right, bottom). "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
271,
|
| 113 |
+
88,
|
| 114 |
+
728,
|
| 115 |
+
228
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "These issues could be mitigated if it was possible to only update a few parameters during training while still maintaining performance close to that of training all parameters. This has led to various work on parameter-efficient training of neural networks. For example, Adapters [19, 41, 5] introduce additional parameters into a pre-trained model in the form of small task-specific modules that are fine-tuned while the rest of the model’s parameters are kept fixed. Diff Pruning [16] and BitFit [6] demonstrate that it is possible to fine-tune a model while only updating a small subset of the existing parameters. In distributed and federated learning settings, Aji and Heafield [2] and Konecnˇ y\\` et al. [23] have shown that it is possible for each worker to only update a sparse subset of a model’s parameters, thereby reducing communication costs. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
347,
|
| 125 |
+
825,
|
| 126 |
+
472
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Existing methods for training with sparse updates typically work in one of three ways: they either add parameters to the model (Adapters), choose a hand-defined and heuristically-motivated subset of parameters (BitFit), or allow the subset of parameters to change over the course of training (Diff Pruning and methods in distributed and federated training). In this paper, we argue for pre-computing a sparse subset of existing parameters to update and keeping the subset fixed over many iterations of training. This approach yields various benefits: First, by updating a subset of existing parameters instead of adding parameters (as is done in Adapters), we avoid any increase in the total size of the model. Second, by avoiding hand-defining the mask, we can ensure that our procedure is modelagnostic. Third, by pre-computing a mask, we avoid the computational and memory overhead that are apparent when updating the mask over the course of training. It also allows workers in the distributed training setup to operate on strictly complementary subsets of parameters. Finally, keeping the mask fixed over many iterations, we can ensure that only a specific fixed number of parameters are updated. We are not aware of any existing techniques that satisfy these desiderata. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
478,
|
| 136 |
+
825,
|
| 137 |
+
659
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Motivated by these benefits, we introduce a new method for pre-computing fixed sparse masks. Our approach first estimates the importance of each parameter using an empirical approximation of its Fisher information. Then, we construct the mask by choosing the $k$ parameters with the largest Fisher information. The resulting mask, which we deem a “FISH (Fisher-Induced Sparse uncHanging) mask”, can be re-used for many subsequent training iterations. We demonstrate the effectiveness of using a FISH Mask in a wide variety of settings, including parameter-efficient transfer learning, distributed training with long delays across workers, and reducing checkpoint size. Broadly speaking, FISH Mask training can dramatically reduce storage and communication requirements, while sacrificing minimal performance compared to standard gradient descent and outperforming relevant prior methods for training with sparse updates. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
664,
|
| 147 |
+
825,
|
| 148 |
+
803
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 The Fisher-Induced Sparse uncHanging (FISH) Mask ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
823,
|
| 159 |
+
653,
|
| 160 |
+
840
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "The main contribution of this paper is a method for pre-computing a sparse subset of a model’s parameters to update over many subsequent training iterations. To construct such a subset, we use an approximation of each parameter’s Fisher information as a signal of how important the parameter is for a given task. We refer to the resulting mask (i.e. binary array indicating which parameters are included in the subset) as a FISH (Fisher-Induced Sparse uncHanging) mask. In this section, we provide the necessary background and detail the steps necessary for computing a FISH Mask. This process is diagrammed in fig. 1. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
856,
|
| 170 |
+
823,
|
| 171 |
+
911
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
90,
|
| 181 |
+
825,
|
| 182 |
+
133
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "2.1 Fisher Information ",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
148,
|
| 193 |
+
346,
|
| 194 |
+
164
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Our goal is to select the subset of parameters that are (in some sense) the most important to update. One way to measure a parameter’s importance is to consider how much changing the parameter will change the model’s output. We denote $p _ { \\theta } ( y | x )$ as the output distribution over $y$ produced by a model with parameter vector $\\theta \\in \\mathbb { R } ^ { | \\theta | }$ given input $x$ . One way to measure how much a change in parameters would change a model’s prediction would be to compute $\\mathrm { D } _ { \\mathrm { K L } } ( p _ { \\boldsymbol { \\theta } } ( \\boldsymbol { y } | \\boldsymbol { x } ) | | p _ { \\boldsymbol { \\theta } + \\delta } ( \\boldsymbol { y } | \\boldsymbol { x } ) )$ , where $\\delta \\in \\mathbb { R } ^ { | \\theta | }$ is a small perturbation. It can be shown [34, 37] that as $\\delta 0$ , to second order, ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
174,
|
| 204 |
+
825,
|
| 205 |
+
262
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "equation",
|
| 211 |
+
"img_path": "images/3f5279dc88f6a5994131d6c85f7e0faa85a3ddf79f1ad8353e6a36bab7273e56.jpg",
|
| 212 |
+
"text": "$$\n\\mathbb { E } _ { x } \\mathrm { D } _ { \\mathrm { K L } } \\big ( p _ { \\theta } ( y | x ) \\ | | \\ p _ { \\theta + \\delta } ( y | x ) \\big ) = \\delta ^ { \\mathrm { T } } F _ { \\theta } \\delta + O ( \\delta ^ { 3 } )\n$$",
|
| 213 |
+
"text_format": "latex",
|
| 214 |
+
"bbox": [
|
| 215 |
+
333,
|
| 216 |
+
267,
|
| 217 |
+
665,
|
| 218 |
+
286
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "where $F _ { \\theta } \\in \\mathbb { R } ^ { | \\theta | \\times | \\theta | }$ is the Fisher information matrix [14, 4], defined as ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
169,
|
| 227 |
+
291,
|
| 228 |
+
647,
|
| 229 |
+
308
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "equation",
|
| 235 |
+
"img_path": "images/d2f9f7279abb35adb23dcd45682df5f0da6d583b0d618f6726a1aaaf465ba3de.jpg",
|
| 236 |
+
"text": "$$\nF _ { \\theta } = \\mathbb { E } _ { x \\sim p ( x ) } \\left[ \\mathbb { E } _ { y \\sim p _ { \\theta } ( y \\vert x ) } \\nabla _ { \\theta } \\log p _ { \\theta } ( y \\vert x ) \\nabla _ { \\theta } \\log p _ { \\theta } ( y \\vert x ) ^ { \\mathrm { T } } \\right]\n$$",
|
| 237 |
+
"text_format": "latex",
|
| 238 |
+
"bbox": [
|
| 239 |
+
302,
|
| 240 |
+
313,
|
| 241 |
+
692,
|
| 242 |
+
332
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "Given this relation, it can be seen that the Fisher information matrix is closely connected to how much each parameter affects the model’s predictions. Indeed, this has led the Fisher information matrix to be widely used in modern machine learning, e.g. as a measure of parameter importance [21], as a preconditioner in gradient descent [4, 37, 34], as a way to measure the amount of “information” in each parameter of a neural network [1], or as a way to decide which parameters to prune when performing model compression [43, 10, 47]. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
173,
|
| 251 |
+
335,
|
| 252 |
+
826,
|
| 253 |
+
420
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "When applied to large neural networks, the $\\left| \\theta \\right| \\times \\left| \\theta \\right|$ size of the Fisher information matrix makes it intractable to compute. Prior work therefore frequently approximates $F _ { \\theta }$ as a diagonal matrix, or equivalently, as a vector in $\\mathbb { R } ^ { | \\theta | }$ . Separately, when training machine learning models we seldom have the ability to draw samples $x \\sim p ( x )$ ; instead, we are given a finite training set of such samples. Furthermore, it is rarely necessary to compute the expectation over $x$ in eq. (2) over the full training set; instead, it can often be well-approximated over $N$ samples $x _ { 1 } , \\ldots , x _ { N }$ . These constraints result in the following common approximation: ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
173,
|
| 262 |
+
425,
|
| 263 |
+
825,
|
| 264 |
+
525
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "equation",
|
| 270 |
+
"img_path": "images/21955763df68f06069859fc1c11db6c450f4a7de147dd4b828dd917478deb37f.jpg",
|
| 271 |
+
"text": "$$\n\\hat { F _ { \\theta } } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\mathbb { E } _ { y \\sim p _ { \\theta } ( y | x _ { i } ) } ( \\nabla _ { \\theta } \\log p _ { \\theta } ( y | x _ { i } ) ) ^ { 2 }\n$$",
|
| 272 |
+
"text_format": "latex",
|
| 273 |
+
"bbox": [
|
| 274 |
+
354,
|
| 275 |
+
530,
|
| 276 |
+
643,
|
| 277 |
+
574
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "where $\\hat { F } _ { \\theta } \\in \\mathbb { R } ^ { | \\theta | }$ . This approximation also has an intuitive interpretation: A given entry in $\\hat { F } _ { \\theta }$ relates to the average of the square gradient of the model’s output with respect to a given parameter. If a given parameter heavily affects the model’s output, then its corresponding entry in $\\hat { F } _ { \\theta }$ will be large, so we can reasonably treat $\\hat { F } _ { \\theta }$ as an approximation of the importance of each parameter. ",
|
| 284 |
+
"bbox": [
|
| 285 |
+
174,
|
| 286 |
+
580,
|
| 287 |
+
825,
|
| 288 |
+
642
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "Note that both eq. (2) and eq. (3) include an expectation over $y \\sim p _ { \\theta } ( y | x )$ . When the number of classes is small, this expectation can be computed exactly. For tasks with many possible classes, it is common to approximate the expectation with a few samples from $p _ { \\theta } ( y | x )$ . In supervised learning settings, we have access to the ground-truth label $y _ { i }$ for each sample $x _ { i }$ in our training set. This leads to the possibility of replacing $\\mathbb { E } _ { y \\sim p _ { \\theta } ( y | x _ { i } ) } ( \\nabla _ { \\theta } \\log p _ { \\theta } ( y | x _ { i } ) ) ^ { 2 }$ in eq. (3) with $( \\nabla _ { \\theta } \\mathbf { \\bar { l } } _ { 0 } \\mathrm { { g } } p _ { \\theta } ( y _ { i } | x _ { i } ) ) ^ { 2 }$ Performing this approximation is referred to as the “empirical Fisher”. It has been shown that using the empirical Fisher can lead to degenerate behavior when used as a preconditioner in an optimizer [34, 26]. Since our use of the Fisher information is largely based on a heuristically-motivated notion of parameter importance, we experimented with both the empirical and standard (eq. (3)) Fisher approximations and found that they produced similar performance. Furthermore, the Empirical Fisher is faster to compute than the standard Fisher as long as more than one sample is used to approximate the expectation $\\mathbb { E } _ { y \\sim p _ { \\theta } ( y | x _ { i } ) }$ . We discuss this further in section 4.4.1. ",
|
| 295 |
+
"bbox": [
|
| 296 |
+
173,
|
| 297 |
+
647,
|
| 298 |
+
825,
|
| 299 |
+
815
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "2.2 Computing Fixed Sparse Masks ",
|
| 306 |
+
"text_level": 1,
|
| 307 |
+
"bbox": [
|
| 308 |
+
174,
|
| 309 |
+
830,
|
| 310 |
+
434,
|
| 311 |
+
845
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "Recall that our goal is to select a subset of parameters (or, equivalently, a sparse mask over parameters) to update over many iterations of training while keeping the remainder of the parameters fixed. Having established the Fisher information as a useful tool for estimating the importance of a given parameter, we therefore first compute the approximate Fisher information (as described in the previous section) ",
|
| 318 |
+
"bbox": [
|
| 319 |
+
174,
|
| 320 |
+
856,
|
| 321 |
+
825,
|
| 322 |
+
911
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "for all of a model’s parameters. Then, to construct the FISH Mask, we simply choose the $k$ parameters with the largest Fisher information, where $k$ is set according to the desired mask sparsity level.4 Specifically, a FISH Mask comprises the parameters $\\{ \\theta _ { i } \\mid \\hat { F } _ { \\theta _ { i } } \\geq \\mathsf { s o r t } ( \\hat { F } _ { \\theta } ) _ { k } \\}$ . Computing the FISH Mask is cheap because $\\hat { F } _ { \\theta }$ can be computed efficiently using backpropagation, and (as we will show in section 4.4.2) we can obtain a reliable mask for relatively small values of $N$ . Further, the fact that we re-use the mask for many iterations prevents us from having to compute $\\hat { F } _ { \\theta }$ frequently. As we will show in section 4, we find that this simple procedure is sufficient to produce a mask that can be reused for many iterations (over 100,000 iterations in some cases) in a wide variety of settings without sacrificing substantial performance compared to standard gradient-based training. ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
173,
|
| 331 |
+
90,
|
| 332 |
+
825,
|
| 333 |
+
223
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "Note that in some applications of transfer learning, a new linear classifier layer must be added to the model to make it applicable to the downstream task. Since the FISH Mask depends on $p _ { \\theta } ( y | x )$ and is computed before training begins, this means that we must compute the FISH Mask using the randomly-initialized classifier before any training has begun. We find that computing the Fisher information through the randomly-initialized classifier layer still provides a good signal of parameter importance. When applying FISH Mask in transfer learning settings where a new classifier layer is added, we always include the parameters of the classifier in the mask. ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
174,
|
| 342 |
+
229,
|
| 343 |
+
825,
|
| 344 |
+
325
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "3 Related Work ",
|
| 351 |
+
"text_level": 1,
|
| 352 |
+
"bbox": [
|
| 353 |
+
174,
|
| 354 |
+
344,
|
| 355 |
+
321,
|
| 356 |
+
362
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "Our approach bears similarity and takes inspiration from existing approaches for parameter-efficient transfer learning and distributed training of machine learning models. In this section, we outline related methods, some of which we will compare to directly in section 4. We also briefly describe how our work is related to and differs from work in network pruning. ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
174,
|
| 365 |
+
377,
|
| 366 |
+
825,
|
| 367 |
+
433
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "3.1 Parameter-Efficient Transfer Learning ",
|
| 374 |
+
"text_level": 1,
|
| 375 |
+
"bbox": [
|
| 376 |
+
176,
|
| 377 |
+
449,
|
| 378 |
+
483,
|
| 379 |
+
463
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "Transfer learning [36], where a model is initialized from a pre-trained checkpoint before being finetuned on a related downstream task, can dramatically improve performance and speed up convergence on the downstream task [12, 8, 40]. Standard practice is to update all of the model’s parameters during fine-tuning, though in some cases reasonable performance can be attained by only fine-tuning the output layer of the model [20, 8, 38]. Training only the output layer has the benefit that adapting a given pre-trained model to a downstream task only requires adding a relatively small number of new parameters, but typically results in worse performance compared to training the full model [38, 24]. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
474,
|
| 389 |
+
825,
|
| 390 |
+
571
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Various methods have been proposed that endeavor to match the performance of fine-tuning the full model while only updating or adding a small amount of parameters. Adapters [19, 41, 5] are small subnetworks that are added between a pre-trained neural networks layers. Various works [19, 33, 32] have shown that, when appropriately designed, updating only the parameters in the adapters and the output layer can approach the performance of fine-tuning all parameters. For example, Houlsby et al. [19] add on average $3 . 6 \\%$ more parameters to adapt a pre-trained BERT model [12] to tasks in the GLUE benchmark [48]. Concurrent work by Mahabadi et al. [33] improves the efficiency of Adapters by generating the weights of task-specific adapters via a hypernetwork. A second concurrent approach by Mahabadi et al. [32] introduces COMPACTER, which utilizes matrix decomposition and low-rank parameterization for the adapters’ weights. COMPACTER is shown to achieve the same performance as standard fine-tuning of the T5 models [40] while only adding $0 . 0 4 7 \\%$ as many parameters as the original model. Finally, very recent work has shown that it is possible to train language models to perform a task by only optimizing the parameters of a \"prompt\" that is injected into the input of the model’s layers [29, 28]. This can yield extremely parameter-efficient results (as low as $0 . 0 1 \\%$ task-specific parameters [28]) but this class of methods is only applicable to next-step-prediction language models. The main drawback of all Adapter-style methods is that they increase the parameter count and computational cost of the model. This makes them inapplicable to the distributed training and efficient checkpointing settings consider in this paper. We therefore only compare directly to other methods that do not add any parameters. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
578,
|
| 400 |
+
825,
|
| 401 |
+
840
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "More closely related to our approach are methods for choosing a small subset of the model’s existing parameters to update. In an extreme case, Zhao et al. [50] find a sparse mask to multiply against pre-trained parameters (which are not otherwise updated). That is, instead of fine-tuning the models, a binary mask is learned that marks which parameters should be zeroed out. The resulting performance degrades heavily when the mask is made very sparse, suggesting that it is likely beneficial to update parameters. More recently, Guo et al. [16] propose “Diff Pruning”, where a sparse binary mask is found over the course of training that denotes which parameters should be updated or fixed at the value from the pre-trained model. Mask sparsity in the binary mask is enforced through a smooth approximation of the $L _ { 0 }$ norm introduced by Louizos et al. [31]. Guo et al. [16] also show improved performance by imposing a structure on the mask according to which parameters correspond to a particular weight matrix or bias vector. Ultimately, Diff Pruning is shown to both be more parameterefficient and outperform Adapters when applied to fine-tuning BERT on the GLUE benchmark. However, using Diff Pruning requires significantly more memory during training in order to store and update the mask. Another recent result by Ben-Zaken et al. [6] demonstrated that simply updating the bias parameters in BERT can attain competitive performance with Diff Pruning. While this provides a simple and strong baseline, it is not universally applicable – for example, the pre-trained T5 model [40] does not have any bias vectors. In section 4, we show that using a FISH Mask outperforms all of these approaches in parameter-efficient fine-tuning of BERT on GLUE. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
176,
|
| 410 |
+
847,
|
| 411 |
+
821,
|
| 412 |
+
875
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "",
|
| 419 |
+
"bbox": [
|
| 420 |
+
174,
|
| 421 |
+
90,
|
| 422 |
+
825,
|
| 423 |
+
313
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 4
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "3.2 Distributed Training ",
|
| 430 |
+
"text_level": 1,
|
| 431 |
+
"bbox": [
|
| 432 |
+
174,
|
| 433 |
+
352,
|
| 434 |
+
356,
|
| 435 |
+
367
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "As models and datasets grow, it becomes inefficient or impossible to train a model on a single machine. This has motivated the need for distributed training strategies where computation for training a model is shared across many machines (called workers) [11]. A major consideration in distributed training are communication costs, since workers need to regularly communicate parameter updates with one another. To minimize communication costs, workers can compute multiple updates on their copy of the model before communicating their changes, but this gives rise to the “stale gradient” problem where workers are operating on an out-of-date copy of the model. The standard and straightforward approach to dealing with stale gradients it to simply apply updates in the “wrong” order, which can be effective in practice [11, 42]. An orthogonal approach to reducing communication costs is to have workers only update a small subset of the model’s parameters [2, 13, 44, 45]. For example, Aji and Heafield [2] simply have workers communicate only those updates corresponding to the gradients with top- $k$ largest magnitude at each step. This bears a similar motivation to FISH Mask, but results in a “mask” that changes at every iteration and therefore requires workers communicate after each update. In contrast, pre-computing a FISH Mask allows workers to perform multiple iterations before communicating their updates, thereby further reducing communication costs. ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
174,
|
| 444 |
+
387,
|
| 445 |
+
825,
|
| 446 |
+
594
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "An extreme variant of distributed training is federated learning [22, 35]. In federated learning, asynchronous workers perform many updates on private data before communicating the changes back to a centralized model. The training involves one server and multiple clients, and the server model’s gradient is the combination of the workers’ gradients. As with any form of asynchronous training, communication costs and stale gradients are significant issues. McMahan et al. [35] demonstrated that averaging the updates computed by individual workers is an effective approach to dealing with stale gradients and Konecnˇ y et al. \\` [23] investigated techniques for significantly reducing communication costs. Our method is complementary to the techniques for reducing communication proposed by Konecnˇ y et al. [23].\\` ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
174,
|
| 455 |
+
601,
|
| 456 |
+
825,
|
| 457 |
+
726
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "3.3 Network Pruning ",
|
| 464 |
+
"text_level": 1,
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
765,
|
| 468 |
+
334,
|
| 469 |
+
780
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 4
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "Past work in network pruning has also explored techniques for sparsifying neural networks (i.e. zeroing out many parameters for compression purposes) while sacrificing minimal performance. Most relevant to our work, Theis et al. [46] propose utilizing the Fisher to prune and decrease the overall number of parameters for gaze prediction, and Liu et al. [30] also use the Fisher to discover groups of parameters to prune from common backbone architectures. Critically, these works differ from our work in that we do not train neural networks with sparse weights. Instead, we focus on using the Fisher to inform the selection of a fixed sparse subset of weights in a non-sparse network to update over the course of training. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
174,
|
| 478 |
+
800,
|
| 479 |
+
825,
|
| 480 |
+
911
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 4
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "4 Experiments ",
|
| 487 |
+
"text_level": 1,
|
| 488 |
+
"bbox": [
|
| 489 |
+
174,
|
| 490 |
+
89,
|
| 491 |
+
312,
|
| 492 |
+
107
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 5
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "We evaluate the efficacy of the FISH Mask in three settings: parameter-efficient transfer learning, distributed training, and training with efficient checkpointing. For parameter-efficient transfer learning, we demonstrate that our approach matches the performance of standard gradient-based training on the GLUE benchmark [48] while updating only $0 . 5 \\%$ of the model’s parameters per task. For distributed training, we evaluate FISH Mask training for both transfer learning on GLUE and training from scratch on CIFAR-10 [25]. In both settings, we find that we can dramatically reduce communication without sacrificing significant performance, though from-scratch training on CIFAR-10 requires a higher mask sparsity level than fine-tuning on GLUE. Finally, we demonstrate a novel application of training with sparse updates: Minimizing the size of checkpoints over training. We show that using a FISH Mask while training on CIFAR-10 with a mask sparsity level of $10 \\%$ can shrink checkpoint size on disk by a factor of 5 while sacrificing only a small amount of accuracy. Throughout our experiments, we report results with varying mask sparsity to get a sense of the savings induced by the FISH Mask. For ease of comparison, we report mask sparsity in terms of the total percentage of parameters that are updated. This percentage can be converted to a value of $k$ used for the top- $k$ operation when constructing the mask simply by multiplying it against the total number of parameters in the model. ",
|
| 499 |
+
"bbox": [
|
| 500 |
+
174,
|
| 501 |
+
119,
|
| 502 |
+
825,
|
| 503 |
+
342
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 5
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "We also include ablation studies to measure the impact of the number of samples used to estimate the Fisher information as well as the choice of true or empirical Fisher. All experiments for GLUE are run with the BERTLARGE variant of BERT, which contains 16 attention heads, 24 layers, and 330 million parameters in total [12], and most experiments are run on a RTX 3090 GPU. For experiments on CIFAR-10, we use a ResNet-34 [18] with various optimizations for fast convergence.5 We report the average performance across 5 seeds for all experiments. ",
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
347,
|
| 513 |
+
825,
|
| 514 |
+
430
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 5
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "4.1 Parameter-Efficient Transfer Learning ",
|
| 521 |
+
"text_level": 1,
|
| 522 |
+
"bbox": [
|
| 523 |
+
176,
|
| 524 |
+
445,
|
| 525 |
+
483,
|
| 526 |
+
462
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 5
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "In parameter-efficient transfer learning, the goal is to fine-tune a pre-trained model while updating as few parameters as possible. We focus on fine-tuning $\\mathbf { B E R T _ { L A R G E } }$ on the GLUE benchmark [48], which is the primary setting used for evaluation in prior work. For all experiments, we fine-tune for 7 epochs and perform a hyper-parameter search across learning rate $\\in \\{ 1 \\stackrel { \\cdot } { \\times } 1 0 ^ { - 4 } , 5 \\times 1 0 ^ { - 5 } , 1 \\times 1 0 ^ { - 5 } \\}$ and batch si $\\mathsf { z e } \\in \\{ 8 , 1 6 \\}$ for each GLUE task. We find the learning rate of $5 \\times 1 0 ^ { - 5 }$ and batch size of 16 to be effective for most tasks, with the exception of batch $\\mathrm { s i z e } = 8$ used for RTE. Additional hyper-parameters, such as choice of optimizer, sequence length, and others, follow from the default configuration for BERTLARGE presented in the Hugging Face library [49]. Test set results are reported by submitting to the GLUE benchmark using the final model checkpoint following a hyper-parameter search on validation results, unless otherwise noted. ",
|
| 533 |
+
"bbox": [
|
| 534 |
+
174,
|
| 535 |
+
472,
|
| 536 |
+
825,
|
| 537 |
+
609
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 5
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "Baselines We compare GLUE task performance of the FISH Mask to several other baselines and methods focused on parameter-efficient transfer learning. In Dense Fine-tuning, we fine-tune all parameters of a pre-trained model, as is typical in standard transfer learning. In the Random Mask baseline, we randomly select and fix $k$ parameters to update at the start of training. To compare to prior work, we reproduce Bit-Fit [6], in which only the bias parameters of the BERT model are updated across training. Our reproduction follows the original paper and performs a hyper-parameter search with learning rates in the $[ 1 \\times 1 0 ^ { - 3 } , 1 \\times 1 0 ^ { - 4 } ]$ range. We also reproduce results from Diff Pruning [16], which updates the sparse mask over the course of training. Our reproduction of Diff Pruning at $0 . 5 \\%$ mask sparsity follows the paper’s code-base6 and training settings, and reports the GLUE test set results using the best validation checkpoint. Due to restrictions on the number of permissible submissions to the GLUE test server, we are only able to report results with a mask sparsity of $0 . 5 \\%$ for those methods where we can control the mask sparsity level. We therefore include additional validation set results for varying mask sparsity levels when using a FISH Mask. ",
|
| 544 |
+
"bbox": [
|
| 545 |
+
173,
|
| 546 |
+
625,
|
| 547 |
+
826,
|
| 548 |
+
804
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "Results Our results on parameter-efficient transfer learning with the FISH Mask can be seen in table 1. FISH Mask training results in effectively the same performance $( 8 2 . 6 \\% )$ as standard “dense” fine-tuning $( 8 2 . 5 \\% )$ , despite updating just $0 . 5 \\%$ of BERTLARGE parameters. The Random Mask baseline achieves a significantly lower average GLUE score, which demonstrates the value of using ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
174,
|
| 557 |
+
819,
|
| 558 |
+
825,
|
| 559 |
+
875
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "table",
|
| 565 |
+
"img_path": "images/ece171cdc4649c87d3444f15ad2f38556040960ce3068dd4cddff022696ea22c.jpg",
|
| 566 |
+
"table_caption": [],
|
| 567 |
+
"table_footnote": [],
|
| 568 |
+
"table_body": "<table><tr><td>Method</td><td>Updated Params/Task</td><td>QNLI</td><td>SST-2</td><td>MNLIm</td><td>MNLImm</td><td>CoLA</td><td>MRPC</td><td>STS-B</td><td>RTE</td><td>QQP</td><td>AVG</td></tr><tr><td>Dense Fine-tuning</td><td>100%</td><td>93.4</td><td>94.9</td><td>87.0</td><td>86.1</td><td>61.0</td><td>86.6</td><td>86.5</td><td>70.9</td><td>80.5</td><td>82.5</td></tr><tr><td>Random Mask</td><td>0.50%</td><td>89.8</td><td>93.4</td><td>83.7</td><td>84.0</td><td>43.2</td><td>77.8</td><td>87.7</td><td>61.3</td><td>77.2</td><td>76.8</td></tr><tr><td>Bit-Fit [6]</td><td>0.08%</td><td>90.4</td><td>94.5</td><td>85.0</td><td>84.8</td><td>60.3</td><td>86.3</td><td>85.0</td><td>69.6</td><td>78.5</td><td>81.2</td></tr><tr><td>Diff Pruning [16]</td><td>0.50%</td><td>91.9</td><td>93.8</td><td>86.0</td><td>85.5</td><td>61.0</td><td>86.2</td><td>85.6</td><td>67.5</td><td>80.1</td><td>81.5</td></tr><tr><td>FISHMask</td><td>0.08%</td><td>93.3</td><td>94.0</td><td>85.3</td><td>84.9</td><td>56.4</td><td>86.2</td><td>85.7</td><td>70.2</td><td>79.3</td><td>81.3</td></tr><tr><td>FISHMask</td><td>0.50%</td><td>93.1</td><td>94.7</td><td>86.5</td><td>85.9</td><td>61.6</td><td>87.1</td><td>86.5</td><td>71.2</td><td>80.2</td><td>82.6</td></tr></table>",
|
| 569 |
+
"bbox": [
|
| 570 |
+
173,
|
| 571 |
+
88,
|
| 572 |
+
821,
|
| 573 |
+
174
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 6
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "Table 1: GLUE test server evaluation results with BERTLARGE. MRPC and QQP are reported as an average of F1-score and accuracy, and STS-B is reported as an average of Pearson and Spearman correlation. Accuracy is reported for all other tasks. All results are reproduced experimentally. Training with the FISH surpasses (82.6) other methods and equals dense fine-tuning performance (82.5) whilst updating only $0 . 5 \\%$ of model parameters. ",
|
| 580 |
+
"bbox": [
|
| 581 |
+
173,
|
| 582 |
+
188,
|
| 583 |
+
825,
|
| 584 |
+
257
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 6
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "image",
|
| 590 |
+
"img_path": "images/b9bad8752af76a2f149e5f7491ae5a4d3b8240fba3fc407e81321404b595077f.jpg",
|
| 591 |
+
"image_caption": [
|
| 592 |
+
"Figure 2: (Left) GLUE validation performance of a randomly selected mask and the FISH Mask at varying levels of mask sparsity. Compared to the densely fine-tuned baseline score of $85 \\%$ , training with the FISH Mask is competitive at $0 . 5 \\%$ mask sparsity. (Right) GLUE validation performance at varying levels of dataset samples used to compute the FISH Mask. Few samples are needed to effectively compute the FISH Mask and obtain good performance. Results in both (Left) and (Right) are averaged over 5 seeds. "
|
| 593 |
+
],
|
| 594 |
+
"image_footnote": [],
|
| 595 |
+
"bbox": [
|
| 596 |
+
189,
|
| 597 |
+
272,
|
| 598 |
+
805,
|
| 599 |
+
441
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 6
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "the Fisher information in selecting parameters to update. Finally, FISH Mask training is competitive with all other parameter-efficient transfer learning approaches; the next-best score of $8 1 . 5 \\%$ is achieved by Diff Pruning [16]. As mentioned in section 3, we do not include a direct comparison to Adapter-based methods since they add parameters to the model, though we note that our method is able to match BERTLARGE’s performance using a significantly lower mask sparsity level $0 . 5 \\%$ vs. $3 . 6 \\%$ ) than the method proposed by Houlsby et al. [19]. ",
|
| 606 |
+
"bbox": [
|
| 607 |
+
173,
|
| 608 |
+
551,
|
| 609 |
+
825,
|
| 610 |
+
636
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 6
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Figure 2 shows the change in performance on the GLUE validation set as we change the mask sparsity level for both a random mask and a FISH Mask. We find that the FISH Mask consistently outperforms the random mask baseline and is still strong even at a lower mask sparsity level of $0 . 1 \\%$ . These results demonstrate that the FISH Mask can be a useful tool in mitigating the storage costs of saving many fine-tuned models since it only requires that the updated parameters and their respective indices are saved. ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
173,
|
| 619 |
+
640,
|
| 620 |
+
825,
|
| 621 |
+
724
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 6
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "4.2 Distributed Training ",
|
| 628 |
+
"text_level": 1,
|
| 629 |
+
"bbox": [
|
| 630 |
+
174,
|
| 631 |
+
741,
|
| 632 |
+
356,
|
| 633 |
+
756
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 6
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "Now, we turn to using FISH Mask to reduce communication costs in distributed training settings. We consider the setting where distributed workers compute many subsequent updates to a local copy of the model before transmitting their changes back to a central server. In our experiments, we assume all workers sample data i.i.d. from the same dataset and that all workers compute the same number of updates between each communication step, though our results could carry over to settings where workers use different datasets and varying amounts of updates (e.g. in Federated Learning [35]). ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
765,
|
| 643 |
+
825,
|
| 644 |
+
849
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 6
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "Let $\\theta$ denote the parameter vector stored on the central server and $\\delta _ { i }$ represent the update computed by worker $i$ . After each update/communication step, the server must transmit the updated $\\theta$ back to all workers. When standard gradient-based training is used, all parameters are updated, so $| \\delta _ { i } | = | \\theta |$ . If there are $M$ workers, the communication costs for normal training are then $M | \\delta _ { i } | = M | \\ddot { \\theta } |$ for workerto-server communication and $M | \\theta |$ for server-to-worker communication, for a total communication cost of $2 M | \\theta |$ . ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
856,
|
| 654 |
+
825,
|
| 655 |
+
911
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 6
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "",
|
| 662 |
+
"bbox": [
|
| 663 |
+
174,
|
| 664 |
+
90,
|
| 665 |
+
823,
|
| 666 |
+
119
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 7
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "Using a sparse mask will effectively reduce the size of each $\\delta _ { i }$ to $k$ . Without loss of generality, we assume that $| \\delta _ { i } |$ is the same across all workers. Furthermore, assuming updates are aggregated on the central server by summing them together, the server can either communicate the full updated parameter vector back to all workers, or the server can communicate all other workers’ updates to a given worker. These two options amount to server-to-worker communication costs of either $M | \\theta |$ or $M ( M - \\underline { { { 1 } } } ) \\lVert \\delta _ { i } \\rVert \\approx M ^ { 2 } | \\dot { \\delta } _ { i } |$ . In general, we expect $M$ to be small and $| \\theta |$ to be large, so we typically have $M ^ { 2 } | \\delta _ { i } | < M | \\theta |$ . Therefore, we can achieve significant communication savings by using sparse updates. For simplicity, we set $M = 2$ in all of our experiments; this makes the savings in communication equal to the mask sparsity level. To apply FISH in distributed training, the central server computes $\\hat { F } _ { \\theta }$ and a single FISH Mask which is shared across all workers. ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
174,
|
| 675 |
+
126,
|
| 676 |
+
825,
|
| 677 |
+
266
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 7
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "Baselines For distributed training experiments, we compare FISH Mask training to three baselines: First, in standard training, we tune all the parameters in a single machine (i.e. standard, nondistributed training). This provides an upper bound on performance for distributed training techniques. Second, in densely-updated distributed training, workers use standard gradient descent to compute updates over all parameters, and all of the worker’s updates are added together on the centralized server. Third, in random mask distributed training, we randomly select a subset of parameters to update for workers. For a fair comparison, we keep the overall training batches the same for all methods, so the training iterations of a worker are half of that of the single-machine baseline. ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
174,
|
| 686 |
+
282,
|
| 687 |
+
825,
|
| 688 |
+
393
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 7
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Experimental setting In preliminary experiments on the GLUE benchmark (described in appendix A), we found that densely-updated distributed training saw no real degradation in performance even for long communication delays. This suggests that stale gradients could be less of an issue in transfer learning settings. We therefore instead focused on from-scratch training of a ResNet-34 on CIFAR-10. We train the model for 100 total epochs, with 50 epochs performed by each of the two workers. Notably, we found that the performance of sparse update methods was poor for fromscratch training unless we performed 5 epochs of standard training as “warmup” before beginning distributed training. Beyond this change, all the models and hyper-parameters follow those mentioned in section 4.1. We searched for the best initial learning rate in {0.4, 0.2, 0.08, 0.04, 0.02}. We measure performance using a varying number of parameter updates between each worker-server communication step. We report performance in terms of the accuracy achieved under a certain communication budget, where the communication cost is measured in terms of the equivalent number of full model parameter updates. For example, a method that updates $10 \\%$ of the model’s parameters and performs 5 communication steps over the course of training has the same cost as a method that communicates all of a model’s parameters once (since we must transmit both the updated parameters and their locations; more details are in section 4.3). ",
|
| 695 |
+
"bbox": [
|
| 696 |
+
174,
|
| 697 |
+
410,
|
| 698 |
+
825,
|
| 699 |
+
628
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 7
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "Results Results from training a ResNet-34 on CIFAR-10 are shown in fig. 3. As in section 4.1, using a FISH Mask works better than using a random mask for all communication costs. Furthermore, we generally find that using FISH Mask with a sparsity level of $10 \\%$ attains a better commnication/performance trade-off than densely-updated distributed training. For example, FISH Mask training attains comparable performance to standard training when only communicating two copies of the model, whereas densely-updated training performs significantly worse at this communication amount. Notably, performance was relatively poor when only updating $2 \\%$ of the model’s parameters with FISH Mask, suggesting there is a lower bound under which it is difficult to attain reasonable results. As a whole, our results show significant promise for dramatically reducing computational costs in distributed training settings. ",
|
| 706 |
+
"bbox": [
|
| 707 |
+
174,
|
| 708 |
+
645,
|
| 709 |
+
825,
|
| 710 |
+
785
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 7
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "4.3 Efficient Checkpointing ",
|
| 717 |
+
"text_level": 1,
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
801,
|
| 721 |
+
379,
|
| 722 |
+
818
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 7
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "Over the course of training a machine learning model, it is common to save intermediate checkpoint files that store the model’s parameter values. These checkpoints can be useful for restarting training from a given iteration rather than starting from scratch in the event that the training job crashes or is otherwise stopped. They are also commonly used for post-hoc analysis, for example for evaluating a model’s performance on new datasets or metrics over the course of training. Since checkpoints store a full copy of the model’s parameters, they can take up a significant amount of space on disk. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
174,
|
| 731 |
+
828,
|
| 732 |
+
825,
|
| 733 |
+
911
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 7
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "image",
|
| 739 |
+
"img_path": "images/8998565721af8c8071214bca31df7506ed15f4236f119467ad82f4977cc53755.jpg",
|
| 740 |
+
"image_caption": [
|
| 741 |
+
"Figure 3: CIFAR-10 validation set accuracy achieved by a ResNet-34 through distributed training at different communication costs. $\\mathrm { X }$ -axis refers to the total number of model communications required for a single worker. Standard (non-distributed) training achieves an accuracy of $9 3 . 9 \\%$ . "
|
| 742 |
+
],
|
| 743 |
+
"image_footnote": [],
|
| 744 |
+
"bbox": [
|
| 745 |
+
302,
|
| 746 |
+
87,
|
| 747 |
+
694,
|
| 748 |
+
280
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 8
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "Furthermore, depending on the checkpointing frequency, hundreds of checkpoints are often written to disk over the course of a training run. The development cycle of a machine learning model can result in hundreds of different model variants being trained. Combining these factors with the on-disk space needed to store the parameters of modern models (around 1 GB for BERTLARGE) results in potentially massive storage costs. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
367,
|
| 758 |
+
825,
|
| 759 |
+
435
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 8
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "Training with sparse updates can significantly reduce these storage costs. Specifically, if only a small subset of the parameters are updated between checkpoint saves, then the checkpoint only needs to store the updated parameter values and indices denoting the position of the updated parameters’ values. Assuming that the storage costs for a parameter value and index is the same (e.g. using a 32-bit float for parameter values and a 32-bit integer for indices), using a sparse mask will reduce storage cost when the mask sparsity level is less than $50 \\%$ . Note that this setting allows the “mask” to change over the course of training, and is therefore a relaxation of the setting in section 4.1, where the requirement is that the same subset of parameters is updated over the entire fine-tuning run. It follows from our results in section 4.1 that FISH Mask training could be readily applied to reducing checkpoint size in parameter-efficient transfer learning. However, we found that the strict requirement of fixing the mask over an entire from-scratch training run on CIFAR-10 resulted in a significant degradation in performance. This is in line with past work demonstrating the difficulty of identifying fixed sparse subnetworks to train before training begins [15]. We therefore focus on from-scratch training on CIFAR-10 and allow the mask to change every time a checkpoint is written, which does not increase storage requirements over using the same fixed mask from the start of training. ",
|
| 766 |
+
"bbox": [
|
| 767 |
+
174,
|
| 768 |
+
443,
|
| 769 |
+
826,
|
| 770 |
+
650
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 8
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "Table 2: CIFAR-10 validation set accuracy when using the FISH Mask and the Random Mask to reduce checkpoint sizes. “Epoch” refers to allowing the mask to change each epoch, and the number is how many epochs we update masks. Standard training achieves an accuracy of 93.9 $( \\pm 0 . 1 ) \\%$ . ",
|
| 777 |
+
"bbox": [
|
| 778 |
+
433,
|
| 779 |
+
660,
|
| 780 |
+
823,
|
| 781 |
+
729
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 8
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "text",
|
| 787 |
+
"text": "Overall, we use the same experimental setup as in section 4.2. We measure performance when updating the mask every epoch (which is a common choice in practice), every 2 epochs, every 4 epochs, and leaving the mask fixed over the course of training. We performed a new search over learning rates in $\\{ 0 . 4 , 0 . 2 , 0 . 0 8 , 0 . 0 4 , 0 . 0 2 \\}$ We compare to baselines of standard training (which to serve as an upper bound on the performance of using a FISH Mask) and using a random mask. ",
|
| 788 |
+
"bbox": [
|
| 789 |
+
174,
|
| 790 |
+
657,
|
| 791 |
+
419,
|
| 792 |
+
849
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 8
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "table",
|
| 798 |
+
"img_path": "images/e6eb383e012f0bec2465dfaf52cad6a91d8a88508cf3b296287e4e6194afb541.jpg",
|
| 799 |
+
"table_caption": [],
|
| 800 |
+
"table_footnote": [],
|
| 801 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"3\">Mask sparsity level</td></tr><tr><td>0.5%</td><td>2%</td><td>10%</td></tr><tr><td>Random Mask(1 Epoch)</td><td>74.80.6</td><td>84.40.2</td><td>90.00.2</td></tr><tr><td>FISH Mask (1 Epoch)</td><td>90.50.3</td><td>93.00.3</td><td>93.90.1</td></tr><tr><td>FISH Mask (2 Epochs)</td><td>90.30.5</td><td>92.50.1</td><td>93.70.2</td></tr><tr><td>FISH Mask (4 Epochs)</td><td>89.40.6</td><td>92.10.3</td><td>93.40.2</td></tr><tr><td>FISHMask (Fixed)</td><td>78.50.7</td><td>90.60.2</td><td>93.00.2</td></tr></table>",
|
| 802 |
+
"bbox": [
|
| 803 |
+
446,
|
| 804 |
+
744,
|
| 805 |
+
805,
|
| 806 |
+
856
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 8
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "Results In table 2, we show the results of FISH Mask training when keeping the mask fixed over the course of training or updating it at each epoch. We find that updating the FISH Mask every epoch can match the performance of normal training $9 3 . 9 \\%$ accuracy) at a mask sparsity level of $10 \\%$ , which would reduce storage requirements by a factor of 5. At lower mask sparsity levels, we see some degradation in performance. We find that accuracy tends to decrease as we decrease the frequency of updating the mask, but this effect is relatively small. As mentioned earlier, we also found that using a fixed mask significantly degraded performance, though only by a few percent at a mask sparsity level of $10 \\%$ . This suggests that the FISH Mask could also be useful for identifying sparse subnetworks to train before training begins, as conjectured by the Lottery Ticket Hypothesis [15]. We leave the exploration of this possibility for future work. Lastly, the FISH Mask’s performance is unanimously better than the Random Mask across the three mask sparsity levels. ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
174,
|
| 815 |
+
869,
|
| 816 |
+
825,
|
| 817 |
+
911
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 8
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "",
|
| 824 |
+
"bbox": [
|
| 825 |
+
174,
|
| 826 |
+
90,
|
| 827 |
+
825,
|
| 828 |
+
202
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 9
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "4.4 Ablations ",
|
| 835 |
+
"text_level": 1,
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
228,
|
| 839 |
+
279,
|
| 840 |
+
242
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 9
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Having established the effectiveness of training with a FISH mask, we now ablate a few design choices to help demonstrate the robustness of our approach. We perform all ablation experiments in the parameter-efficient transfer learning setup described in section 4.1. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
174,
|
| 849 |
+
257,
|
| 850 |
+
825,
|
| 851 |
+
299
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 9
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "4.4.1 True Fisher vs. Empirical Fisher ",
|
| 858 |
+
"text_level": 1,
|
| 859 |
+
"bbox": [
|
| 860 |
+
176,
|
| 861 |
+
323,
|
| 862 |
+
450,
|
| 863 |
+
338
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 9
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "In section 2, we note that past work has approximated the Fisher information matrix (eq. (3)) using either the expectation over $y \\sim p _ { \\theta } ( y | x )$ (“true Fisher”) or ground-truth labels (“empirical Fisher”). While past work has shown that using the empirical Fisher can be detrimental in optimization settings [34, 26], we mainly use the Fisher information as a signal of parameter importance. The empirical Fisher also has the benefit that it avoids marginalizing over or sampling from $p _ { \\theta } ( y | x )$ and only requires computing the gradient for a single value of $y$ . When comparing the performance of using the true or empirical Fisher to compute a $0 . 5 \\%$ -sparse FISH Mask for parameter-efficient transfer learning, we observe that both methods achieve near-identical performance with an average validation-set GLUE score of 82.5 in both cases. Since computing the empirical Fisher can be more computationally efficient, we used the empirical Fisher for all experiments. ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
174,
|
| 872 |
+
351,
|
| 873 |
+
825,
|
| 874 |
+
489
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 9
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "4.4.2 Sample Ablation ",
|
| 881 |
+
"text_level": 1,
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
513,
|
| 885 |
+
341,
|
| 886 |
+
529
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 9
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "We also ablate the number of samples, $N$ , used to compute the FISH Mask to study if more samples are beneficial. The results for parameter-efficient transfer learning on GLUE are shown in fig. 2, right. At a sample count of 0, the FISH Mask is equivalent to the Random Mask baseline presented in section 4.1 in which parameters to update are selected at random instead of informed by the Fisher information. We observe that FISH Mask performance on the GLUE validation set is surprisingly stable across many values of samples, with just 32 samples needed to achieve the highest-possible performance. These suggest that using the approximate Fisher information is a data-efficient approach of computing parameter importance, and we therefore ran all experiments with a sample count $N = 1 0 2 4$ , except in distributed training we use $N = 2 5 6$ for efficiency. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
173,
|
| 895 |
+
540,
|
| 896 |
+
825,
|
| 897 |
+
666
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 9
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "5 Conclusion ",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
174,
|
| 907 |
+
694,
|
| 908 |
+
299,
|
| 909 |
+
712
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 9
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "In this work, we proposed FISH Mask training as a novel method for pre-computing fixed sparse masks of a model’s parameters to update over many subsequent iterations. The FISH Mask estimates the importance of each of a model’s parameters by first approximating the Fisher information of each parameter and then selecting the $k$ parameters with the largest Fisher information to include in the mask. We demonstrate the usefulness of FISH Mask training in several settings, including parameter-efficient transfer learning, distributed training, and reducing storage requirements of model checkpoints. In future work, we hope to explore methods for improving the performance of FISH Mask training at lower mask sparsity levels, possibly by considering other measures of parameter importance. We also hope to further demonstrate the efficacy of FISH Mask in real-world settings where the benefits of sparse parameter updating are even more pronounced, such as in Federated Learning. The integration of FISH Masks across tasks and sharing amongst practitioners could also be a useful line of inquiry, as recent frameworks such as AdapterHub [39] have enabled for Adapter modules [19]. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
173,
|
| 918 |
+
731,
|
| 919 |
+
825,
|
| 920 |
+
911
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 9
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 927 |
+
"text_level": 1,
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
88,
|
| 931 |
+
553,
|
| 932 |
+
107
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 10
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "We thank Yoon Kim, Michael Matena, and Demi Guo for helpful discussions. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
174,
|
| 941 |
+
121,
|
| 942 |
+
681,
|
| 943 |
+
135
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 10
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "References \n[1] Alessandro Achille, Giovanni Paolini, and Stefano Soatto. Where is the information in a deep neural network? arXiv preprint arXiv:1905.12213, 2019. \n[2] Alham Fikri Aji and Kenneth Heafield. Sparse communication for distributed gradient descent. arXiv preprint arXiv:1704.05021, 2017. \n[3] Zeyuan Allen-Zhu, Yuanzhi Li, and Yingyu Liang. Learning and generalization in overparameterized neural networks, going beyond two layers. CoRR, abs/1811.04918, 2018. URL http://arxiv.org/abs/1811.04918. \n[4] SI Amari. Neural learning in structured parameter spaces-natural riemannian gradient. Advances in neural information processing systems, pages 127–133, 1997. \n[5] Ankur Bapna, Naveen Arivazhagan, and Orhan Firat. Simple, scalable adaptation for neural machine translation. arXiv preprint arXiv:1909.08478, 2019. \n[6] Elad Ben-Zaken, Shauli Ravfogel, and Yoav Goldberg. BitFit: Simple parameter-efficient fine-tuning for transformer-based masked language models. 2021. \n[7] Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. CoRR, abs/2005.14165, 2020. URL https://arxiv.org/abs/2005.14165. \n[8] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. CoRR, abs/2002.05709, 2020. URL https: //arxiv.org/abs/2002.05709. \n[9] Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey E. Hinton. Big self-supervised models are strong semi-supervised learners. CoRR, abs/2006.10029, 2020. URL https://arxiv.org/abs/2006.10029. \n[10] Elliot J. Crowley, Jack Turner, Amos Storkey, and Michael O’Boyle. Pruning neural networks: is it time to nip it in the bud? 2018. \n[11] J. Dean, G. Corrado, Rajat Monga, Kai Chen, M. Devin, Quoc V. Le, Mark Z. Mao, Marc’Aurelio Ranzato, A. Senior, P. Tucker, K. Yang, and A. Ng. Large scale distributed deep networks. In NIPS, 2012. \n[12] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://www.aclweb.org/anthology/N19-1423. \n[13] Nikoli Dryden, Tim Moon, Sam Ade Jacobs, and Brian Van Essen. Communication quantization for data-parallel training of deep neural networks. In 2nd Workshop on Machine Learning in HPC Environments (MLHPC), 2016. \n[14] Ronald A Fisher. On the mathematical foundations of theoretical statistics. Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character, 222(594-604):309–368, 1922. \n[15] Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. arXiv preprint arXiv:1803.03635, 2018. \n[16] Demi Guo, Alexander M. Rush, and Yoon Kim. Parameter-efficient transfer learning with diff pruning. CoRR, abs/2012.07463, 2020. URL https://arxiv.org/abs/2012.07463. \n[17] Moritz Hardt, Ben Recht, and Yoram Singer. Train faster, generalize better: Stability of stochastic gradient descent. In International Conference on Machine Learning, 2016. \n[18] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CoRR, abs/1512.03385, 2015. URL http://arxiv.org/abs/1512.03385. \n[19] Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin de Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for NLP. CoRR, abs/1902.00751, 2019. URL http://arxiv.org/abs/1902.00751. \n[20] Jeremy Howard and Sebastian Ruder. Universal language model fine-tuning for text classification. CoRR, abs/1801.06146, 2018. URL http://arxiv.org/abs/1801.06146. \n[21] James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13), 2017. \n[22] Jakub Konecnˇ y, H Brendan McMahan, Daniel Ramage, and Peter Richtárik. Federated optimiza- \\` tion: Distributed machine learning for on-device intelligence. arXiv preprint arXiv:1610.02527, 2016. \n[23] Jakub Konecnˇ y, H Brendan McMahan, Felix X Yu, Peter Richtárik, Ananda Theertha Suresh, \\` and Dave Bacon. Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492, 2016. \n[24] Simon Kornblith, Jonathon Shlens, and Quoc V Le. Do better imagenet models transfer better? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019. \n[25] A. Krizhevsky. Learning multiple layers of features from tiny images. 2009. \n[26] Frederik Kunstner, Lukas Balles, and Philipp Hennig. Limitations of the empirical fisher approximation for natural gradient descent. arXiv preprint arXiv:1905.12558, 2019. \n[27] Yann A LeCun, Léon Bottou, Genevieve B Orr, and Klaus-Robert Müller. Efficient backprop. In Neural networks: Tricks of the trade, pages 9–48. Springer, 2012. \n[28] Brian Lester, Rami Al-Rfou, and Noah Constant. The power of scale for parameter-efficient prompt tuning. arXiv preprint arXiv:2104.08691, 2021. \n[29] Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. arXiv preprint arXiv:2101.00190, 2021. \n[30] Liyang Liu, Shilong Zhang, Zhanghui Kuang, Aojun Zhou, Jing-Hao Xue, Xinjiang Wang, Yimin Chen, Wenming Yang, Qingmin Liao, and Wayne Zhang. Group fisher pruning for practical network compression. In Marina Meila and Tong Zhang, editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 7021–7032. PMLR, 18–24 Jul 2021. URL https://proceedings. mlr.press/v139/liu21ab.html. \n[31] Christos Louizos, Max Welling, and Diederik P. Kingma. Learning sparse neural networks through l_0 regularization. arXiv preprint arXiv:1712.01312, 2017. \n[32] Rabeeh Karimi Mahabadi, James Henderson, and Sebastian Ruder. Compacter: Efficient low-rank hypercomplex adapter layers, 2021. \n[33] Rabeeh Karimi Mahabadi, Sebastian Ruder, Mostafa Dehghani, and James Henderson. Parameter-efficient multi-task fine-tuning for transformers via shared hypernetworks, 2021. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
173,
|
| 952 |
+
127,
|
| 953 |
+
828,
|
| 954 |
+
920
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 10
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "",
|
| 961 |
+
"bbox": [
|
| 962 |
+
171,
|
| 963 |
+
73,
|
| 964 |
+
830,
|
| 965 |
+
919
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 11
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "[34] James Martens. New insights and perspectives on the natural gradient method. arXiv preprint arXiv:1412.1193, 2014. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
171,
|
| 974 |
+
90,
|
| 975 |
+
823,
|
| 976 |
+
119
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 12
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "[35] H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data, 2017. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
128,
|
| 986 |
+
823,
|
| 987 |
+
159
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 12
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "[36] Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on knowledge and data engineering, 22(10):1345–1359, 2009. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
174,
|
| 996 |
+
166,
|
| 997 |
+
823,
|
| 998 |
+
195
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 12
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "[37] Razvan Pascanu and Yoshua Bengio. Revisiting natural gradient for deep networks. arXiv preprint arXiv:1301.3584, 2013. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
174,
|
| 1007 |
+
204,
|
| 1008 |
+
823,
|
| 1009 |
+
233
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 12
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "[38] Matthew E. Peters, Sebastian Ruder, and Noah A. Smith. To tune or not to tune? adapting pretrained representations to diverse tasks. arXiv preprint arXiv:1903.05987, 2019. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
173,
|
| 1018 |
+
241,
|
| 1019 |
+
825,
|
| 1020 |
+
271
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 12
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "[39] Jonas Pfeiffer, Andreas Rücklé, Clifton Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, and Iryna Gurevych. Adapterhub: A framework for adapting transformers. CoRR, abs/2007.07779, 2020. URL https://arxiv.org/abs/2007.07779. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
279,
|
| 1030 |
+
825,
|
| 1031 |
+
321
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 12
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "[40] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21, 2020. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
329,
|
| 1041 |
+
821,
|
| 1042 |
+
373
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 12
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "[41] Sylvestre-Alvise Rebuffi, Hakan Bilen, and Andrea Vedaldi. Learning multiple visual domains with residual adapters. arXiv preprint arXiv:1705.08045, 2017. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
381,
|
| 1052 |
+
820,
|
| 1053 |
+
411
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 12
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "[42] Benjamin Recht, Christopher Re, Stephen Wright, and Feng Niu. Hogwild!: A lock-free approach to parallelizing stochastic gradient descent. In J. Shawe-Taylor, R. Zemel, P. Bartlett, F. Pereira, and K. Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 24. Curran Associates, Inc., 2011. URL https://proceedings.neurips.cc/ paper/2011/file/218a0aefd1d1a4be65601cc6ddc1520e-Paper.pdf. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
173,
|
| 1062 |
+
419,
|
| 1063 |
+
826,
|
| 1064 |
+
489
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 12
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "[43] Sidak Pal Singh and Dan Alistarh. Woodfisher: Efficient second-order approximation for neural network compression. Advances in Neural Information Processing Systems, 2020. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
173,
|
| 1073 |
+
497,
|
| 1074 |
+
821,
|
| 1075 |
+
527
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 12
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "[44] Nikko Strom. Scalable distributed dnn training using commodity gpu cloud computing. In Sixteenth Annual Conference of the International Speech Communication Association, 2015. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
535,
|
| 1085 |
+
823,
|
| 1086 |
+
565
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 12
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "[45] Zeyi Tao and Qun Li. esgd: Communication efficient distributed deep learning on the edge. In {USENIX} Workshop on Hot Topics in Edge Computing (HotEdge 18), 2018. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
173,
|
| 1095 |
+
573,
|
| 1096 |
+
823,
|
| 1097 |
+
603
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 12
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "[46] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. CoRR, abs/1801.05787, 2018. URL http://arxiv. org/abs/1801.05787. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
174,
|
| 1106 |
+
611,
|
| 1107 |
+
825,
|
| 1108 |
+
654
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 12
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "[47] Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszár. Faster gaze prediction with dense networks and fisher pruning. arXiv preprint arXiv:1801.05787, 2018. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
173,
|
| 1117 |
+
661,
|
| 1118 |
+
823,
|
| 1119 |
+
693
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 12
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "[48] Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. CoRR, abs/1804.07461, 2018. URL http://arxiv.org/abs/1804.07461. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
173,
|
| 1128 |
+
700,
|
| 1129 |
+
823,
|
| 1130 |
+
743
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 12
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "[49] Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. Huggingface’s transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771, 2019. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
751,
|
| 1140 |
+
825,
|
| 1141 |
+
795
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 12
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "[50] Mengjie Zhao, Tao Lin, Martin Jaggi, and Hinrich Schütze. Masking as an efficient alternative to finetuning for pretrained language models. CoRR, abs/2004.12406, 2020. URL https: //arxiv.org/abs/2004.12406. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
171,
|
| 1150 |
+
803,
|
| 1151 |
+
825,
|
| 1152 |
+
845
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 12
|
| 1155 |
+
}
|
| 1156 |
+
]
|
parse/train/Uwh-v1HSw-x/Uwh-v1HSw-x_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Uwh-v1HSw-x/Uwh-v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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# On Provable Benefits of Depth in Training Graph Convolutional Networks
|
| 2 |
+
|
| 3 |
+
Weilin Cong Penn State wxc272@psu.edu
|
| 4 |
+
|
| 5 |
+
Morteza Ramezani Penn State morteza@cse.psu.edu
|
| 6 |
+
|
| 7 |
+
Mehrdad MahdaviPenn Statemzm616@psu.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Graph Convolutional Networks (GCNs) are known to suffer from performance degradation as the number of layers increases, which is usually attributed to oversmoothing. Despite the apparent consensus, we observe that there exists a discrepancy between the theoretical understanding of over-smoothing and the practical capabilities of GCNs. Specifically, we argue that over-smoothing does not necessarily happen in practice, a deeper model is provably expressive, can converge to global optimum with linear convergence rate, and achieve very high training accuracy as long as properly trained. Despite being capable of achieving high training accuracy, empirical results show that the deeper models generalize poorly on the testing stage and existing theoretical understanding of such behavior remains elusive. To achieve better understanding, we carefully analyze the generalization capability of GCNs, and show that the training strategies to achieve high training accuracy significantly deteriorate the generalization capability of GCNs. Motivated by these findings, we propose a decoupled structure for GCNs that detaches weight matrices from feature propagation to preserve the expressive power and ensure good generalization performance. We conduct empirical evaluations on various synthetic and real-world datasets to validate the correctness of our theory.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
In recent years, Graph Convolutional Networks (GCNs) have achieved state-of-the-art performance in dealing with graph-structured applications, including social networks [28, 21, 51, 12, 44], traffic prediction [10, 45, 34, 31], knowledge graphs [52, 53, 43], drug reaction [14, 16] and recommendation system [2, 60]. Despite the success of GCNs, applying a shallow GCN model that only uses the information of a very limited neighborhood on a large sparse graph has shown to be not effective [23, 6, 20, 9, 46]. As a result, a deeper GCN model would be desirable to reach and aggregate information from farther neighbors. The inefficiency of shallow GCNs is exacerbated even further when the labeled nodes compared to graph size is negligible, as a shallow GCN cannot sufficiently propagate the label information to the entire graph with only a few available labels [35].
|
| 16 |
+
|
| 17 |
+
Although a deeper GCN is preferred to perceive more graph structure information, unlike traditional deep neural networks, it has been pointed out that deeper GCNs potentially suffer from oversmoothing [35, 41, 26, 4, 58], vanishing/exploding gradients [33], over-squashing [1], and training difficulties [62, 38], which significantly affect the performance of GCNs as the depth increases. Among these, the most widely accepted reason is “over-smoothing”, which is referred to as a phenomenon due to applying multiple graph convolutions such that all node embeddings converge to a single subspace (or vector) and leads to indistinguishable node representations.
|
| 18 |
+
|
| 19 |
+
The conventional wisdom is that adding to the number of layers causes over-smoothing, which impairs the expressiveness power of GCNs and consequently leads to a poor training accuracy. However, we observe that there exists a discrepancy between theoretical understanding of their inherent capabilities and practical performances. According to the definition of over-smoothing that the node representation becomes indistinguishable as GCNs goes deeper, the classifier has difficulty assigning the correct label for each node if over-smoothing happens. As a result, the training accuracy is expected to be decreasing as the number of layers increases. However, as shown in Figure 1, GCNs are capable of achieving high training accuracy regardless of the number of layers. But, as it can be observed, deeper GCNs require more training iterations to reach a high training accuracy, and its generalization performance on evaluation set decreases as the number of layers increases. This observation suggests that the performance degradation is likely due to inappropriate training rather than the low expressive power caused by over-smoothing. Otherwise, a low expressiveness model cannot achieve almost perfect training accuracy simply by proper training tricks alone.1 Indeed, recent years significant advances have been witnessed on tweaking the model architecture to overcome the training difficulties in deeper GCN models and achieve good generalization performance [38, 6, 33, 62].
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Comparison of F1-score for GCN with different depth on Cora dataset, where deeper models can achieve high training accuracy, but complicate the training by requiring more iterations to converge and suffer from poor generalization.
|
| 23 |
+
|
| 24 |
+
Contributions. Motivated by aforementioned observation, i.e., still achieving high training accuracy when trained properly but poor generalization performance, we aim at answering two fundamental questions in this paper:
|
| 25 |
+
|
| 26 |
+
Q1: Does increasing depth really impair the expressiveness power of GCNs? In Section 4, we argue that there exists a discrepancy between over-smoothing based theoretical results and the practical capabilities of deep GCN models, demonstrating that over-smoothing is not the key factor that leads to the performance degradation in deeper GCNs. In particular, we mathematically show that over-smoothing [41, 26, 35, 4] is mainly an artifact of theoretical analysis and simplifications made in analysis. Indeed, by characterizing the representational capacity of GCNs via Weisfeiler-Lehman (WL) graph isomorphism test [39, 55], we show that deeper GCN model is at least as expressive as the shallow GCN model, the deeper GCN models can distinguish nodes with a different neighborhood that the shallow GCN cannot distinguish, as long as the GCNs are properly trained. Besides, we theoretically show that more training iterations is sufficient (but not necessary due to the assumptions made in our theoretical analysis) for a deeper model to achieve the same training error as the shallow ones, which further suggests the poor training error in deep GCN training is most likely due to inappropriate training.
|
| 27 |
+
|
| 28 |
+
Q2: If expressive, why then deep GCNs generalize poorly?
|
| 29 |
+
|
| 30 |
+
In Section 5, in order to understand the performance degradation phenomenon in deep GCNs during the evaluation phase, we give a novel generalization analysis on GCNs and its variants (e.g., ResGCN, APPNP, and GCNII) under the semi-supervised setting for the node classification task. We show that the generalization gap of GCNs is governed by the number of training iterations, largest node degree, the largest singular value of weight matrices, and the number of layers. In particular, our result suggests that a deeper GCN model requires more iterations of training and optimization tricks to converge (e.g., adding skip-connections), which leads to a poor generalization. More interestingly, our generalization analysis shows that most of the so-called methods to solve oversmoothing [47, 61, 6, 29] can greatly improve the generalization ability of the model, therefore results in a deeper model.
|
| 31 |
+
|
| 32 |
+
The aforementioned findings naturally lead to the algorithmic contribution of this paper. In Section 6, we present a novel framework, Decoupled GCN (DGCN), that is capable of training deeper GCNs and can significantly improve the generalization performance. The main idea is to isolate the expressive power from generalization ability by decoupling the weight parameters from feature propagation. In Section 7, we conduct experiments on the synthetic and real-world datasets to validate the correctness of the theoretical analysis and the advantages of DGCN over baseline methods.
|
| 33 |
+
|
| 34 |
+
# 2 Related works
|
| 35 |
+
|
| 36 |
+
Expressivity of GCNs. Existing results on expressive power of GCNs are mixed, [39, 37, 7, 5] argue that deeper model has higher expressive power but [41, 26, 25] have completely opposite result. On the one hand, [39] shows a deeper GCN is as least as powerful as the shallow one in terms of distinguishing non-isomorphic graphs. [37] shows that deep and wide GCNs is Turing universal, however, GCNs lose power when their depth and width are restricted. [7] and [5] measure the expressive power of GCNs via its subgraph counting capability and attribute walks, and both show the expressive power of GCNs grows exponentially with the GCN depth. On the other hand, [25] studies the infinity wide GCNs and shows that the covariance matrix of its outputs converges to a constant matrix at an exponential rate. [41, 26] characterize the expressive power using the distance between node embeddings to a node feature agnostic subspace and show the distance is decreasing as the number of layers increases. Details are deferred to Section 4 and Appendix B. Such contradictory results motivate us to rethink the role of over-smoothing on expressiveness.
|
| 37 |
+
|
| 38 |
+
Generalization analysis of GCNs. In recent years, many papers are working on the generalization of GCNs using uniform stability [50, 63], Neural Tangent Kernel [15], VC-dimension [49], Rademacher complexity [18, 42], algorithm alignment [56, 57] and PAC-Bayesian [36]. Existing works only focus on a specific GCN structure, which cannot be used to understand the impact of GCN structures on its generalization ability. The most closely related to ours is [50], where they analyze the stability of the single-layer GCN model, and show that the stability of GCN depends on the largest absolute eigenvalue of its Laplacian matrix. However, their result is under the inductive learning setting and extending the results to the multi-layer GCNs with different structures is non-trivial.
|
| 39 |
+
|
| 40 |
+
Literature with similar observations. Most recently, several works have similar observations on the over-smoothing issue to ours. [62] argues that the main factors to performance degradation are vanishing gradient, training instability, and over-fitting, rather than over-smoothing, and proposes a node embedding normalization heuristic to alleviate the aforementioned issues. [38] argues that the performance degradation is mainly due to the training difficulty, and proposes a different graph Laplacian formulation, weight parameter initialization, and skip-connections to improve the training difficulty. [59] argues that deep GCNs can learn to overcome the over-smoothing issue during training, and the key factor of performance degradation is over-fitting, and proposes a node embedding normalization method to help deep GCNs overcome the over-smoothing issue. [30] improves the generalization ability of GCNs by using adversarial training and results in a consistent improvement than all GCNs baseline models without adversarial training. All aforementioned literature only gives heuristic explanations based on the empirical results, and do not provide theoretical arguments.
|
| 41 |
+
|
| 42 |
+
# 3 Preliminaries
|
| 43 |
+
|
| 44 |
+
Notations and setup. We consider the semi-supervised node classification problem, where a selfconnected graph $\mathcal { G } = ( \nu , \mathcal { E } )$ with $N = | \nu |$ nodes is given in which each node $i \in \nu$ is associated with a feature vector $\mathbf { x } _ { i } \in \mathbb { R } ^ { d _ { 0 } }$ , and only a subset of nodes $\mathcal { V } _ { \mathrm { t r a i n } } \subset \mathcal { V }$ are labeled, i.e., $y _ { i } \in \{ 1 , \ldots , | { \mathcal { C } } | \}$ for each $i \in \mathcal { V } _ { \mathrm { t r a i n } }$ and $\mathcal { C }$ is the set of all candidate classes. Let $\mathbf { A } \in \mathbb { R } ^ { N \times N }$ denote the adjacency matrix and $\mathbf { D } \in \mathbb { R } ^ { N \times N }$ denote the corresponding degree matrix with $D _ { i , i } = \deg ( i )$ and $D _ { i , j } = 0$ if $i \neq j$ . Then, the propagation matrix (using the Laplacian matrix defined in [28]) is computed as $\mathbf { P } = \mathbf { D } ^ { - 1 / 2 } \mathbf { A } \mathbf { D } ^ { - 1 / 2 }$ . Our goal is to learn a GCN model using the node features for all nodes $\{ { \bf x } _ { i } \} _ { i \in \mathcal { V } }$ and node labels for the training set nodes $\{ y _ { i } \} _ { i \in \mathcal { V } _ { \operatorname { t r a i n } } }$ , and expect it generalizes well on the unlabeled node set $\mathcal { V } _ { \mathrm { t e s t } } = \mathcal { V } \setminus \mathcal { V } _ { \mathrm { t r a i n } }$ .
|
| 45 |
+
|
| 46 |
+
GCN architectures. In this paper, we consider the following architectures for training GCNs:
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
Figure 2: Comparison of intra- and inter-class normalized node embeddings $\mathbf { H } ^ { ( \ell ) } / \| \mathbf { H } ^ { ( \ell ) } \| _ { \mathrm { F } }$ pairwise distance on Cora dataset. See Appendix A for more evidences.
|
| 50 |
+
|
| 51 |
+
• Vanilla GCN [28] computes node embeddings by $\mathbf { H } ^ { ( \ell ) } = \sigma ( \mathbf { P H } ^ { ( \ell - 1 ) } \mathbf { W } ^ { ( \ell ) } )$ , where $\mathbf { H } ^ { ( \ell ) } =$ $\{ \mathbf { h } _ { i } ^ { ( \ell ) } \} _ { i = 1 } ^ { N }$ is the \`th layer node embedding matrix, $\mathbf { h } _ { i } ^ { ( \ell ) } \in \mathbb { R } ^ { d _ { \ell } }$ is the embedding of $i$ th node, $\mathbf { W } ^ { ( \ell ) } \in \mathbb { R } ^ { d _ { \ell } \times d _ { \ell - 1 } }$ is the \`th layer weight matrix, and $\sigma ( \cdot )$ is the ReLU activation.
|
| 52 |
+
|
| 53 |
+
• ResGCN [33] solves the vanishing gradient issue by adding skip-connections between adjacency layers. More specifically, ResGCN computes node embeddings by $\mathbf { H } ^ { ( \ell ) } = \sigma ( \mathbf { P H } ^ { ( \ell - 1 ) } \mathbf { \dot { W } } ^ { ( \ell ) } ) \dot { + }$ $\mathbf { H } ^ { ( \ell - 1 ) }$ No fully connected layer after node feature, where node embeddings of the previous layer is added to the output of the current layer to facilitate the training of deeper GCN models.
|
| 54 |
+
|
| 55 |
+
• APPNP [29] adds skip-connections from the input layer to each hidden layer to preserve the feature information. APPNP computes node embeddings by $\mathbf { H } ^ { ( \ell ) } = \alpha _ { \ell } \mathbf { P } \mathbf { H } ^ { ( \ell - 1 ) } + ( \mathbf { \bar { l } } - \alpha _ { \ell } ) \mathbf { H } ^ { ( 0 ) } \mathbf { W }$ , where $\alpha _ { \ell } \in [ 0 , 1 ]$ balances the amount of information preserved at each layer. By decoupling feature transformation and propagation, APPNP can aggregate information from multi-hop neighbors without significantly increasing the computation complexity.
|
| 56 |
+
|
| 57 |
+
• GCNII [6] improves the capacity of APPNP by adding non-linearty and weight matrix at each individual layer. GCNII computes node embeddings by $\mathbf { H } ^ { ( \ell ) } = \bar { \sigma } \big ( ( \alpha _ { \ell } \mathbf { P } \bar { \mathbf { H } ^ { ( \ell - 1 ) } } + ( 1 -$ $\alpha _ { \ell } ) \mathbf { H } ^ { ( 0 ) } ) \bar { \mathbf { W } } ^ { ( \ell ) } )$ , where $\bar { \mathbf { W } } ^ { ( \ell ) } = \beta _ { \ell } \mathbf { W } ^ { ( \ell ) } + ( 1 - \beta _ { \ell } ) \mathbf { I }$ , constant $\alpha _ { \ell }$ same as APPNP, and constant $\beta _ { \ell } \in [ 0 , 1 ]$ restricts the power of \`th layer parameters.
|
| 58 |
+
|
| 59 |
+
# 4 On true expressiveness and optimization landscape of deep GCNs
|
| 60 |
+
|
| 61 |
+
Empirical validation of over-smoothing. In this section, we aim at answering the following fundamental question: “Does over-smoothing really cause the performance degradation in deeper $G C N s ? ^ { \prime \prime }$ As first defined in [35], over-smoothing is referred to as a phenomenon where all node embeddings converge to a single vector after applying multiple graph convolution operations to the node features. However, [35] only considers the graph convolution operation without non-linearity and the per-layer weight matrices. To verify whether over-smoothing exists in normal GCNs, we measure the pairwise distance between the normalized node embeddings with varying the model depth.2 As shown in Figure 2, without the weight matrices and non-linear activation functions, the pairwise distance between node embeddings indeed decreases as the number of layers increases. However, by considering the weight matrices and non-linearity, the pairwise distances are actually increasing after a certain depth which contradicts the definition of over-smoothing that node embeddings become indistinguishable when the model becomes deeper. That is, graph convolution makes adjacent node embeddings get closer, then non-linearity and weight matrices help node embeddings preserve distinguishing-ability after convolution.
|
| 62 |
+
|
| 63 |
+
Most recently, [41, 26] generalize the idea of over-smoothing by taking both the non-linearity and weight matrices into considerations. More specifically, the expressive power of the \`th layer node embeddings $\mathbf { H } ^ { ( \ell ) }$ is measured using $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } )$ , which is defined as the distance of node embeddings to a subspace $\mathcal { M }$ that only has node degree information. Let denote $\lambda _ { L }$ as the second largest eigenvalue of graph Laplacian and $\lambda _ { W }$ as the largest singular value of weight matrices. [41, 26] show that the expressive power $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } )$ is bounded by $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } ) \leq ( \lambda _ { W } \lambda _ { L } ) ^ { \ell } \cdot d _ { \mathcal { M } } ( \mathbf { X } )$ , i.e., the expressive power of node embeddings will be exponentially decreasing or increasing as the number of layers increases, depending on whether $\lambda _ { W } \lambda _ { L } < 1$ or $\lambda _ { W } \lambda _ { L } > 1$ . They conclude that deeper GCN exponentially loss expressive power by assuming $\lambda _ { W } \lambda _ { L } < 1$ . However, we argue that this assumption does not always hold. To see this, let suppose $\mathbf { W } ^ { ( \ell ) } \in \mathbb { R } ^ { d _ { \ell - 1 } \times d _ { \ell } }$ is initialized by uniform distribution $\mathcal { N } ( 0 , \sqrt { 1 / d _ { \ell - 1 } } )$ . By the Gordon’s theorem for Gaussian matrices [11], we know its expected largest singular value is bounded by $\mathbb { E } [ \lambda _ { W } ] \le 1 + \sqrt { d _ { \ell } / d _ { \ell - 1 } }$ , which is strictly greater than 1 and $\lambda _ { W }$ usually increases during training. The above discussion also holds for other commonly used initialization methods [19, 22]. Furthermore, since most real world graphs are sparse with $\lambda _ { L }$ close to 1, e.g., Cora has $\lambda _ { L } = 0 . 9 9 6 4$ , Citeseer has $\lambda _ { L } = 0 . 9 9 8 7$ , and Pubmed has $\lambda _ { L } = 0 . 9 9 0 5$ , making assumption on $\lambda _ { W } \lambda _ { L } < 1$ is not realistic. As shown in Figure 3, when increasing the number of layers, we observe that the distance $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } )$ is decreasing on untrained-GCN models, however, the distance $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } )$ is increasing on trained-GCN models, which contradicts the conclusion in [41]. Due to the space limit, we defer the more empirical evidence to Appendix B. Through these findings, we cast doubt on the power of over-smoothing based analysis to provide a complete picture of why deep GCNs perform badly.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 3: Compare $d _ { \mathcal { M } } ( \mathbf { H } ^ { ( \ell ) } )$ and $\lambda _ { W } ( \mathbf { W } ^ { ( \ell ) } )$ on both trained- (using 500 gradient update) and untrained-GCN models on Cora dataset.
|
| 67 |
+
|
| 68 |
+
Definition 1. Let $\mathcal { T } _ { i } ^ { L }$ denote the $L$ -layer computation tree of node $i$ , which represents the structured $L$ -hop neighbors of node $i$ , where the children of any node $j$ in the tree are the nodes in $\mathcal { N } ( i )$ .
|
| 69 |
+
|
| 70 |
+
Exponentially growing expressieness without strong assumptions. Indeed, we argue that deeper GCNs have stronger expressive power than the shallow GCNs. To prove this, we employ the connection between WL test3 [32] and GCNs. Recently, [39] shows that GCNs have the same expressiveness as the WL-test for graph isomorphism if they are appropriately trained, i.e., a properly trained $L$ -layer GCN computes different node representations for two nodes if their $L$ -layer computation tree (Definition 1) have different structure or different features on the corresponding nodes. Since $L$ -GCN can encode any different computation tree into different representations, it is natural to characterize the expressiveness of $L$ -GCN by the number of computation graph it can encode.
|
| 71 |
+
|
| 72 |
+
Theorem 1. Suppose $\mathcal { T } ^ { L }$ is a computation tree with binary node features and node degree at least d. Then, by assuming the computation tree of two nodes are disjoint, the richness (i.e., the number of computation graphs a model can encode) of the output of $L$ -GCN defined on $\mathcal { T } ^ { L }$ is at least $| \bar { L } \bar { - } G C \bar { N } ( \bar { \cal T } ^ { L } ) | \geq 2 ( \bar { d } - 1 ) ^ { L - 1 }$ .
|
| 73 |
+
|
| 74 |
+
The proof is deferred to Appendix C. The above theorem implies that the richness of $L$ -GCN grows at least exponentially with respect to the number of layers.
|
| 75 |
+
|
| 76 |
+
Comparison of expressiveness metrics. Although distance-based expressiveness metric [41, 26] is strong than WL-based metric in the sense that node embeddings can be distinct but close to each other, the distance-based metric requires explicit assumptions on the GCN structures, weight matrices, and graph structures comparing to the WL-based metric, which has been shown that are not likely hold. On the other hand, WL-based metric has been widely used in characterizing the expressive power of GCNs in graph-level task [39, 37, 7, 5]. More details are deferred to related works (Section 2).
|
| 77 |
+
|
| 78 |
+
Although expressive, it is still unclear why the deeper GCN requires more training iterations to achieve small training error and reach the properly trained status. To understand this, we show in Theorem 2 that under assumptions on the width of the final layer, the deeper GCN can converge to its global optimal with linear convergence rate. More specifically, the theorem claims that if the dimension of the last layer of $\mathrm { G C N } d _ { L }$ is larger than the number of data $N ^ { 4 }$ , then we can guarantee the loss ${ \mathcal { L } } ( \theta _ { T } ) \leq \varepsilon$ after $T = \mathcal { O } ( 1 / \varepsilon )$ iterations of the gradient updates. Besides, more training iterations is sufficient (but not necessary due to the assumptions made in our theoretical analysis) for a deeper model to achieve the same training error as the shallow ones.
|
| 79 |
+
|
| 80 |
+
Theorem 2. Let $\pmb { \theta } _ { t } = \{ \mathbf { W } _ { t } ^ { ( \ell ) } \in \mathbb { R } ^ { d _ { \ell - 1 } \times d _ { \ell } } \} _ { \ell = 1 } ^ { L + 1 }$ be the model parameter at the $t$ -th iteration and using square loss $\begin{array} { r } { \mathcal { L } ( \pmb { \theta } ) = \frac { 1 } { 2 } \| \mathbf { H } ^ { ( L ) } \mathbf { W } ^ { ( L + 1 ) } - \mathbf { Y } \| _ { \mathrm { F } } ^ { 2 } } \end{array}$ , $\mathbf { H } ^ { ( \ell ) } = \sigma ( \mathbf { P H } ^ { ( \ell - 1 ) } \mathbf { W } ^ { ( \ell ) } )$ as objective function. Then, under the condition that $d _ { L } \geq N$ we can obtain $\mathcal { L } ( \pmb { \theta } _ { T } ) \leq \epsilon i f T \geq C ( L ) \log ( \mathcal { L } ( \pmb { \theta } _ { 0 } ) / \epsilon )$ , where $\epsilon$ is the desired error and $C ( L )$ is a function of GCN depth $L$ that grows as GCN becomes deeper.
|
| 81 |
+
|
| 82 |
+
A formal statement of Theorem 2 and its proof are deferred to Appendix D. Besides, gradient stability also provides an alternative way of empirically understanding why deeper GCN requires more iterations: deeper neural networks are prone to exploding/vanishing gradient, which results in a very noisy gradient and requires small learning rate to stabilize the training. This issue can be significantly alleviated by adding skip-connections (Appendix E.5). When training with adaptive learning rate mechanisms, such as Adam $[ 2 7 ]$ , noisy gradient will result in a much smaller update on current model compared to a stabilized gradient, therefore more training iterations are required.
|
| 83 |
+
|
| 84 |
+
# 5 A different view from generalization
|
| 85 |
+
|
| 86 |
+
In the previous section, we provided evidence that a well-trained deep GCN is at least as powerful as a shallow one. However, it is still unclear why a deeper GCN has worse performance than a shallow GCN during the evaluation phase. To answer this question, we provide a different view by analyzing the impact of GCN structures on the generalization.
|
| 87 |
+
|
| 88 |
+
Transductive uniform stability. In the following, we study the generalization ability of GCNs via transductive uniform stability [17], where the generalization gap is defined as the difference between the training and testing errors for the random partition of a full dataset into training and testing sets. Transductive uniform stability is defined under the notation that the output of a classifier does not change much if the input is perturbed a bit, which is an extension of uniform stability [3] from the inductive to the transductive setting. The previous analysis on the uniform stability of GCNs [50] only shows the result of GCN with one graph convolutional layer under inductive learning setting, which cannot explain the effect of depth, model structure, and training data size on the generalization, and its extension to multi-layer GCNs and other GCN structures are non-trivial.
|
| 89 |
+
|
| 90 |
+
Problem setup. Let $m = | \mathcal { V } _ { \mathrm { t r a i n } } |$ and $u = | \nu _ { \mathrm { t e s t } } |$ denote the training and test dataset sizes, respectively. Under the transductive learning setting, we start with a fixed set of points $X _ { m + u } = \{ x _ { 1 } , \ldots , x _ { m + u } \}$ For notational convenience, we assume $X _ { m }$ are the first $m$ data points and $X _ { u }$ are the last $u$ data points of $X _ { m + u }$ . We randomly select a subset $X _ { m } ~ \subset ~ X _ { m + u }$ uniformly at random and reveal the labels $Y _ { m }$ for the selected subset for training, but the labels for the remaining $u$ data points $Y _ { u } = Y _ { m + u } \setminus Y _ { m }$ are not available during the training phase. Let $S _ { m } = ( ( x _ { 1 } , y _ { 1 } ) , \bar { \bf \Phi } \cdot \cdot \cdot , ( x _ { m } , \bar { y } _ { m } ) )$ denotes the labeled set and $X _ { u } = ( x _ { m + 1 } , \dots , x _ { m + u } )$ denotes the unlabeled set. Our goal is to learn a model to label the remaining unlabeled set as accurately as possible.
|
| 91 |
+
|
| 92 |
+
For the analysis purpose, we assume a binary classifier is applied to the final layer node representation $f ( \mathbf { h } _ { i } ^ { ( L ) } ) = \tilde { \sigma } ( \mathbf { v } ^ { \top } \mathbf { h } _ { i } ^ { ( L ) } )$ with $\tilde { \sigma } ( \cdot )$ denotes the sigmoid function. We predict $\hat { y } _ { i } = 1$ if $f ( \mathbf { h } _ { i } ^ { ( L ) } ) > 1 / 2$ and $\hat { y } _ { i } = 0$ otherwise, with ground truth label $y _ { i } \in \{ 0 , 1 \}$ . Let denote the perturbed dataset as $S _ { m } ^ { i j } \triangleq ( S _ { m } \setminus \{ ( x _ { i } , y _ { i } ) \} ) \cup \{ ( x _ { j } , y _ { j } ) \}$ and $X _ { u } ^ { i j } \triangleq ( X _ { u } \setminus \{ x _ { j } \} ) \cup \{ x _ { i } \}$ , which is obtained by replacing the ith example in training set $S _ { m }$ with the $j$ th example from the testing set $X _ { u }$ . Let $\pmb { \theta }$ and $\pmb { \theta } ^ { i j }$ denote the weight parameters trained on the original dataset $( S _ { m } , X _ { u } )$ and the perturbed dataset $( S _ { m } ^ { i j } , X _ { u } ^ { i j } )$ , respectively. Then, we say transductive learner $f$ is $\epsilon$ -uniformly stable if the outputs change less than $\epsilon$ when we exchange two examples from the training set and testing set, i.e., for any $S _ { m } \subset S _ { m + u }$ and any $i , j \in [ m + u ]$ it holds that $\begin{array} { r } { \operatorname* { s u p } _ { i \in [ m + u ] } | f ( \mathbf { h } _ { i } ^ { ( L ) } ) - \tilde { f } ( \tilde { \mathbf { h } } _ { i } ^ { ( L ) } ) ) | \leq \epsilon } \end{array}$ , where $f ( \mathbf { h } _ { i } ^ { ( L ) } )$ and $\tilde { f } ( \tilde { \mathbf { h } } _ { i } ^ { ( L ) } )$ denote the prediction of node $i$ using parameters $\pmb { \theta }$ and $\pmb { \theta } ^ { i j }$ respectively.
|
| 93 |
+
|
| 94 |
+
To define testing error and training error in our setting, let us introduce the difference in probability between the correct and the incorrect label as $p ( z , y ) \triangleq y ( 2 z - 1 ) + ( 1 - y ) ( 1 - 2 z )$ with $p ( z , y ) \leq 0$ if there exists a classification error. Let denote the Then, the testing error is defined as $\begin{array} { r } { \mathcal { R } _ { u } ( f ) = \frac { 1 } { u } \sum _ { i = m + 1 } ^ { m + u } \mathbf { 1 } \{ p ( f ( \mathbf { h } _ { i } ^ { ( L ) } ) , y _ { i } ) \leq 0 \} } \end{array}$ $\gamma$ -margin loss as $\Phi _ { \gamma } ( x ) = \operatorname* { m i n } ( 1 , \operatorname* { m a x } ( 0 , 1 - x / \gamma ) )$ and the training . loss is defined as $\begin{array} { r } { \mathcal { R } _ { m } ^ { \gamma } ( f ) = \frac { 1 } { m } \sum _ { i = 1 } ^ { m } \Phi _ { \gamma } ( - p ( f ( \mathbf { h } _ { i } ^ { ( L ) } ) , y _ { i } ) ) } \end{array}$ . 6
|
| 95 |
+
|
| 96 |
+
Theorem 3 (Transductive uniform stability bound [17]). Let $f$ be a $\epsilon$ -uniformly stable transductive learner and $\gamma , \delta > 0$ , and define $Q = m u / ( m + u )$ . Then, with probability at least $1 - \delta$ over all training and testing partitions, we have $\begin{array} { r } { \mathcal { R } _ { u } ( f ) \leq \mathcal { R } _ { m } ^ { \gamma } ( f ) + \frac { 2 } { \gamma } \mathcal { O } \left( \epsilon \sqrt { Q \ln ( \delta ^ { - 1 } ) } \right) + \mathcal { O } \left( \frac { \ln ( \delta ^ { - 1 } ) } { \sqrt { Q } } \right) } \end{array}$ .
|
| 97 |
+
|
| 98 |
+
Recall that as we discussed in Section 4, deeper GCN is provable more expressive and can achieve very low training error $\mathcal { R } _ { m } ^ { \gamma } ( f )$ if properly training. Then, if the dataset size is sufficiently large, the testing error $\mathcal { R } _ { u } ( f )$ will be dominated by the generalization gap, which is mainly controlled by uniformly stable constant . In the following, we explore the impact of GCN structures on $\epsilon$ . Our key idea is to decompose the $\epsilon$ into three terms: the Lipschitz continuous constant $\rho _ { f }$ , upper bound on gradient $G _ { f }$ , and the smoothness constant $L _ { f }$ of GCNs. Please refer to Lemma 1 for details.
|
| 99 |
+
|
| 100 |
+
Lemma 1. Suppose function $f ( \mathbf { h } ^ { ( L ) } )$ is $\rho _ { f }$ -Lipschitz continuous, $L _ { f }$ -smooth, and the gradient of loss w.r.t. the parameter is bounded by $G _ { f }$ . After $T$ steps of full-batch gradient descent, we have $\begin{array} { r } { \epsilon = \frac { 2 \eta \rho _ { f } G _ { f } } { m } \sum _ { t = 1 } ^ { T } ( 1 + \eta L _ { f } ) ^ { t - 1 } } \end{array}$
|
| 101 |
+
|
| 102 |
+
The proof is deferred to Appendix K. By using Lemma 1, we can derive constant $\epsilon$ of different model structures by comparing the Lipschitz continuity, smoothness, and gradient scale.
|
| 103 |
+
|
| 104 |
+
Before proceeding to our result, we make the following standard assumption on the node feature vectors and weight matrices, which are previously used in generalization analysis of GCNs [18, 36].
|
| 105 |
+
|
| 106 |
+
Assumption 1. We assume the norm of node feature vectors, weight parameters are bounded, i.e., $\| \mathbf { x } _ { i } \| _ { 2 } \leq B _ { x }$ , $\| \mathbf { W } ^ { ( \ell ) } \| _ { 2 } \le B _ { w }$ , and $\| \mathbf { v } \| _ { 2 } \leq 1$ .
|
| 107 |
+
|
| 108 |
+
In Theorem 4, we show that the generalization bounds of GCN and its variants are dominated by the following terms: maximum node degree $d$ , model depth $L$ , training/validation set size $( m , u )$ , training iterations $T$ , and spectral norm of the weight matrices $B _ { w }$ . The larger the aforementioned variables are, the larger the generalization gap is. We defer the formal statements and proofs to Appendices F, G, H, and I.
|
| 109 |
+
|
| 110 |
+
Theorem 4 (Informal). We say model is -uniformly stable with = 2ηρf Gfm PTt= $\begin{array} { r } { \epsilon = \frac { 2 \eta \rho _ { f } G _ { f } } { m } \sum _ { t = 1 } ^ { T } ( 1 + \eta L _ { f } ) ^ { t - 1 } } \end{array}$ where the result of $\rho _ { f } , G _ { f } , L _ { f }$ 1are summarized in Table 1, and other related constants as
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\begin{array} { r l } & { \quad B _ { d } ^ { \alpha } = ( 1 - \alpha ) \sum _ { \ell = 1 } ^ { L } ( \alpha \sqrt { d } ) ^ { \ell - 1 } + ( \alpha \sqrt { d } ) ^ { L } , \ B _ { w } ^ { \beta } = \beta B _ { w } + ( 1 - \beta ) , } \\ & { B _ { \ell , d } ^ { \alpha , \beta } = \operatorname* { m a x } \big \{ \beta \big ( ( 1 - \alpha ) L + \alpha \sqrt { d } \big ) , ( 1 - \alpha ) L B _ { w } ^ { \beta } + 1 \big \} . } \end{array}
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
In the following, we provide intuitions and discussions on the generalization bound of each algorithm:
|
| 117 |
+
|
| 118 |
+
• Deep GCN requires iterations $T$ to achieve small training error. Since the generalization bound increases with $T$ , more iterations significantly hurt its generalization power. Note that our results considers both $B _ { w } \le 1$ and $B _ { w } > 1$ , where increasing model depth will not hurt the generalization if $B _ { w } \le 1$ , and the generalization gap becomes sensitive to the model depth if $B _ { w } > 1$ . Notice that $B _ { w } > 1$ is more likely to happen during training as we discussed in Section 4.
|
| 119 |
+
|
| 120 |
+
• ResGCN resolves the training difficulties by adding skip-connections between hidden layers. Although it requires less training iterations $T$ , adding skip-connections enlarges the dependency on the number of layers $L$ and the spectral norm of weight matrices $B _ { w }$ , therefore results in a larger generalization gap and a poor generalization performance..
|
| 121 |
+
|
| 122 |
+
Table 1: Comparison of uniform stability constant $\epsilon$ of GCN variants, where $\mathcal { O } ( \cdot )$ is used to hide constants that shared between all bounds.
|
| 123 |
+
|
| 124 |
+
<table><tr><td></td><td>Pf and Gf</td><td>Lf</td><td>C1 and C2</td></tr><tr><td>EGCN</td><td>O(CHC2)</td><td>O(CIC(L + 2)CIC + 2))</td><td>C1 = max{1,√dBw},C= √d(1+Bx)</td></tr><tr><td>EResGCN</td><td>O(CC2)</td><td>O(CIC2((L + 2)CIC2 + 2))</td><td>C1 =1+ √dBω,C = √d(1+Bx)</td></tr><tr><td>EAPPNP</td><td>0(C1)</td><td>O(Ci(CiC2) +1)</td><td>C1=BqBx,C2=max{1,Bω}</td></tr><tr><td>EGCNII</td><td>O(βCIC2)</td><td>O(aβCIC(αβL +2)CIC+ 2β))</td><td></td></tr><tr><td>EDGCN</td><td>0(C1)</td><td>O(Ci(CiC2) + 1)</td><td>C1 =(√d)LBx,C2 = max{1,Bω}</td></tr></table>
|
| 125 |
+
|
| 126 |
+
• APPNP alleviates the aforementioned dependency by decoupling the weight parameters and feature propagation. As a result, its generalization gap does not significantly change as $L$ and $B _ { w }$ increase. The optimal $\alpha$ that minimizes the generalization gap can be obtained by finding the $\alpha$ that minimize the term $B _ { d } ^ { \alpha }$ . Although APPNP can significantly reduce the generalization gap, because a single weight matrix is shared between all layers, its expressive power is not enough for large-scale challenging graph datasets [24].
|
| 127 |
+
|
| 128 |
+
• To gain expressiveness, GCNII proposes to add the weight matrices back and add another hyper-parameter that explicitly controls the dependency on $B _ { w }$ . Although GCNII achieves the state-of-the-art performances on several graph datasets, the selection of hyper-parameters is non-trivial compared to APPNP because $\alpha , \beta$ are coupled with $L , B _ { w }$ , and $d$ . In practice, [6] builds a very deep GCNII by choosing $\beta$ dynamically decreases as the number of layers and different $\alpha$ values for different datasets.
|
| 129 |
+
|
| 130 |
+
• By property chosen hyper-parameters, we have the following order on the generalization gap given the same training iteration $T$ : $\mathrm { A P P N P } \leq \mathrm { G C N I I } \leq \mathrm { G C N } \leq \mathrm { R e s G C N }$ , which exactly match our empirical evaluation on the generalization gap in Section 7 and Appendix E.
|
| 131 |
+
|
| 132 |
+
Remark 1. It is worthy to provide an alternative view of DropEdge [47] and PairNorm [61] algorithms from a generalization perspective. To improve the generalization power of standard GCNs, DropEdge randomly drops edges in the training phase, which leads to a smaller maximum node degree $d _ { s } < d$ . PairNorm applies normalization on intermediate node embeddings to ensure that the total pairwise feature distances remain constant across layers, which leads to less dependency on $d$ and $B _ { w }$ . However, since deep GCN requires significantly more iterations to achieve low training error than shallow one, the performance of applying DropEdge and PairNorm on GCNs is still degrading as the number of layers increases. Most importantly, our empirical results in Appendix E.3 and $E . 4$ suggest that applying Dropout and PairNorm is hurting the training accuracy (i.e., not alleviating over-smoothing) but reducing the generalization gap.
|
| 133 |
+
|
| 134 |
+
# 6 Decoupled GCN
|
| 135 |
+
|
| 136 |
+
We propose to decouple the expressive power from generalization a(DGCN). The DGCN model can be mathematically formulated as $\begin{array} { r } { \mathbf { Z } \ = \ \sum _ { \ell = 1 } ^ { L } \alpha _ { \ell } f ^ { ( \ell ) } ( \mathbf { X } ) } \end{array}$ GCN and $f ^ { ( \ell ) } ( \mathbf { X } ) = \mathbf { P } ^ { \ell } \mathbf { X } \big ( \beta _ { \ell } \mathbf { W } ^ { ( \ell ) } + ( 1 - \beta _ { \ell } ) \mathbf { I } \big )$ , where $\mathbf { W } ^ { ( \ell ) }$ , $\alpha _ { \ell }$ and $\beta _ { \ell }$ are the learnable weights for \`th layer function $f ^ { ( \ell ) } ( { \mathbf { X } } )$ .7 The design of DGCN has the following key ingredients:
|
| 137 |
+
|
| 138 |
+
• (Decoupling) The generalization gap in GCN grows exponentially with the number of layers. To overcome this issue, we propose to decouple the weight matrices from propagation by assigning weight $\mathbf { W } ^ { ( \ell ) }$ to each individual layerwise function ${ \bf \nabla } _ { f } ( \ell ) _ { \left( \mathbf { X } \right) }$ . DGCN can be thought of as an ensemble of multiple SGCs [54] with depth from 1 to $L$ . By doing so, the generalization gap has less dependency on the number of weight matrices, and deep models with large receptive fields can incorporate information of the global graph structure. Please refer to Theorem 5 for the details. • (Learnable $\alpha _ { \ell }$ ) After decoupling the weight matrices from feature propagation, the layerwise function $f ^ { ( \ell ) } ( { \mathbf { X } } )$ with more propagation steps can suffer from less expressive power. Therefore, we propose to assign a learnable weight $\alpha _ { \ell }$ for each step of feature propagation. Intuitively, DGCN assigns smaller weight $\alpha _ { \ell }$ to each layerwise function $f ^ { ( \ell ) } ( { \mathbf { X } } )$ with more propagation steps at the beginning of training. Throughout the training, DGCN gradually adjusts the weight to leverage more useful large receptive field information. • (Learnable $\beta _ { \ell }$ ) A learnable weight $\beta _ { \ell } \in [ 0 , 1 ]$ is assigned to each weight matrix to balance the expressiveness with model complexity, which guarantees a better generalization ability.
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 4: Comparison of generalization error on synthetic dataset. The curve early stopped at the largest training accuracy iteration.
|
| 142 |
+
|
| 143 |
+
Theorem 5. Let suppose DGCN-uniformly stable with $\begin{array} { r } { \epsilon _ { D G C N } = \frac { 2 \eta \rho _ { f } \bar { G } _ { f } } { m } \sum _ { t = 1 } ^ { T } ( 1 + \eta L _ { f } ) ^ { t - 1 } } \end{array}$ $\beta _ { \ell }$ during training. We say DGCN iswhere
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\begin{array} { r } { \rho _ { f } = G _ { f } = \mathcal { O } \Big ( ( \sqrt { d } ) ^ { L } B _ { x } \Big ) , L _ { f } = \mathcal { O } \Big ( ( \sqrt { d } ) ^ { L } B _ { x } \big ( ( \sqrt { d } ) ^ { L } B _ { x } \operatorname* { m a x } \{ 1 , B _ { w } \} + 1 ) \big ) \Big ) . } \end{array}
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
The details are deferred to Appendix J, and comparison of bound to other GCN variants are summarized in Table 1. Depending on the automatic selection of $\alpha _ { \ell } , \beta _ { \ell }$ , the generalization bound of DGCN is between APPNP and GCN. In the following, we make connection to many GCN structures:
|
| 150 |
+
|
| 151 |
+
• Connections to APPNP: APPNP can be thought of as a variant of DGCN. More specifically, the layerwise weight in APPNP is computed as $\alpha _ { \ell } = \alpha ( 1 - \alpha ) ^ { \ell }$ for $\ell < L$ and $\alpha _ { \ell } \stackrel { \cdot } { = } ( 1 - \alpha ) ^ { \cdot }$ for $\ell = L$ given some constant $\alpha \in ( 0 , 1 )$ , and the weight matrix is shared between all layers. Although DGCN has $L$ weight matrices, its generalization is independent of the number of weight matrices, and thus enjoys a low generalization error with high expressiveness.
|
| 152 |
+
|
| 153 |
+
• Connections to GCNII: GCNII can be regarded as a variant of DGCN. Compared to GCNII, the decoupled propagation of DGCN significantly reduces the dependency of generalization error to the weight matrices. Besides, the learnable weights $\alpha _ { \ell }$ and $\beta _ { \ell }$ allow DGCN to automatically adapt to challenging large-scale datasets without time-consuming hyper-parameter selection.
|
| 154 |
+
|
| 155 |
+
• Connections to ResGCN: By expanding the forward computation of ResGCN, we know that ResGCN can be think of as training an ensemble of GCNs from 1 to $L$ layer, i.e., $\begin{array} { r } { \mathbf { H } ^ { ( L ) } = \sum _ { \ell = 1 } ^ { L } \alpha _ { \ell } \sigma \big ( \mathbf { P H } ^ { ( \ell - 1 ) } \mathbf { W } ^ { ( \ell ) } \big ) } \end{array}$ with $\alpha _ { \ell } = 1$ . In other word, ResNet can be regarded asL the “summation of the model complexity” of $L$ -layer. However, DGCN is using $\begin{array} { r } { \sum _ { \ell = 1 } ^ { L ^ { - } } \alpha _ { \ell } = 1 } \end{array}$ which can be thought of as a “weighted average of model complexity”. Therefore, ResGCN is a special case of DGCN with equal weights $\alpha _ { \ell }$ on each layerwise function. With just a simple change on the ResNet structure, our model DGCN is both easy to train and good to generalize.
|
| 156 |
+
|
| 157 |
+
# 7 Experiments
|
| 158 |
+
|
| 159 |
+
Synthetic dataset. We empirically compare the generalization error of different GCN structures on the synthetic dataset. In particular, we create the synthetic dataset by contextual stochastic block model (CSBM) [13] with two equal-size classes. CSBM is a graph generation algorithm that adds Gaussian random vectors as node features on top of classical SBM. CSBM allows for smooth control over the information ratio between node features and graph topology by a pair of hyper-parameter $( \mu , \lambda )$ , where $\mu$ controls the diversity of the Gaussian distribution and $\lambda$ controls the number of edges between intra- and inter-class nodes. We generate random graphs with 1000 nodes, average node degree as 5, and each node has a Gaussian random vector of dimension 1000 as node features. We chose $7 5 \%$ nodes as training set, $1 5 \%$ of nodes as validation set for hyper-parameter tuning, and the remaining nodes as testing set. We conduct an experiment 20 times by randomly selecting $( \mu , \lambda )$ such that both node feature and graph topology are equally informative.
|
| 160 |
+
|
| 161 |
+
As shown in Figure 4, we have the following order on the generalization gap given the same training iteration $T$ : $\mathrm { A P P N P } \leq \mathrm { G C N I I } \leq \mathrm { G C N } \leq \mathrm { R e s G C N }$ , which exactly match the theoretical result in Theorem 4. More specifically, ResGCN has the largest generalization gap due to the skip-connections, APPNP has the smallest generalization gap by removing the weight matrices in each individual layer. GCNII achieves a good balance between GCN and APPNP by balancing the expressive and generalization power. Finally, DGCN enjoys a small generalization error by using the decoupled GCN structure.
|
| 162 |
+
|
| 163 |
+
Open graph benchmark dataset. As pointed out by Hu et al. [24], the traditional commonly-used graph datasets are unable to provide a reliable evaluation due to various factors including dataset size, leakage of node features and no consensus on data splitting. To truly evaluate the expressive and the generalization power of existing methods, we evaluate on the open graph benchmark (OGB) dataset. Experiment setups are based on the default setting for GCN implementation on the leaderboard. We choose the hidden dimension as 128, learning rate as 0.01, dropout ratio as 0.5 for Arxiv dataset, and no dropout for Products and Protein datasets. We train $3 0 0 / 1 0 \mathrm { \bar { 0 } 0 / 5 0 0 }$ epochs for Products, Proteins, and Arxiv dataset respectively. Due to limited GPU memory, the number of layers is selected as the one with the best performance between 2 to 16 layers for Arxiv dataset, 2 to 8 layers for Protein dataset, and 2 to 4 for Products dataset. We choose $\alpha _ { \ell }$ from $\{ 0 . 9 , 0 . 8 , 0 . 5 \}$ for APPNP and GCNII, and use $\beta _ { \ell } = 0 . 5 / \ell$ for GCNII, and select the setup with the best validation result for comparison.
|
| 164 |
+
|
| 165 |
+
As shown in Table 2, DGCN achieves a compatible performance to $\mathrm { G C N I I ^ { 8 } }$ without the need of manually tuning the hyper-parameters for all settings, and it significantly outperform APPNP and ResGCN. Due to the space limit, the detailed setups and more results can be found in Appendix E. Notice that generalization bounds are more valuable when comparing two models with same training accuracy (therefore we first show in Section 4 that deeper model can also achieve low training error before our discussion on generalization in Section 5).
|
| 166 |
+
|
| 167 |
+
In Table 2, because ResGCN has no restriction on the weight matrices, it can achieve lower training error and its test performance is mainly restricted by its generalization error. However, because GCNII and APPNP have restrictions on the weight matrices, their performance is mainly restricted by their training error. A model with small generalization error and no restriction on the weight (e.g., DGCN)
|
| 168 |
+
|
| 169 |
+
Table 2: Comparison of F1-score on OGB dataset.
|
| 170 |
+
|
| 171 |
+
<table><tr><td>%</td><td>Products</td><td>Proteins</td><td>Arvix</td></tr><tr><td>GCN</td><td>75.39 ± 0.21</td><td>71.66 ± 0.48</td><td>71.56 ± 0.19</td></tr><tr><td>ResGCN</td><td>75.53 ± 0.12</td><td>74.50 ± 0.41</td><td>72.56 ± 0.31</td></tr><tr><td>APPNP</td><td>66.35±0.10</td><td>71.78±0.29</td><td>68.02 ±0.55</td></tr><tr><td>GCNII</td><td>71.93 ± 0.35t</td><td>75.60±0.47</td><td>72.57 ± 0.23‡</td></tr><tr><td>DGCN</td><td>76.09 ± 0.29</td><td>75.45 ± 0.24</td><td>72.63± 0.12</td></tr></table>
|
| 172 |
+
|
| 173 |
+
is preferred as it has higher potential to reach a better test accuracy by reducing its training error.
|
| 174 |
+
|
| 175 |
+
# 8 Conclusion
|
| 176 |
+
|
| 177 |
+
In this work, we show that there exists a discrepancy between over-smoothing based theoretical results and the practical behavior of deep GCNs. Our theoretical result shows that a deeper GCN can be as expressive as a shallow GCN, if it is properly trained. To truly understand the performance decay issue of deep GCNs, we provide the first transductive uniform stability-based generalization analysis of GCNs and other GCN structures. To improve the optimization issue and benefit from depth, we propose DGCN that enjoys a provable high expressive power and generalization power. We conduct empirical evaluations on various synthetic and real-world datasets to validate the correctness of our theory and advantages over the baselines.
|
| 178 |
+
|
| 179 |
+
# Acknowledgements
|
| 180 |
+
|
| 181 |
+
This work was supported in part by NSF grant 2008398.
|
| 182 |
+
|
| 183 |
+
# References
|
| 184 |
+
|
| 185 |
+
[1] Uri Alon and Eran Yahav. On the bottleneck of graph neural networks and its practical implications. In International Conference on Learning Representations, 2020.
|
| 186 |
+
[2] Rianne van den Berg, Thomas N Kipf, and Max Welling. Graph convolutional matrix completion. arXiv preprint arXiv:1706.02263, 2017.
|
| 187 |
+
[3] Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of machine learning research, 2(Mar):499–526, 2002.
|
| 188 |
+
[4] Chen Cai and Yusu Wang. A note on over-smoothing for graph neural networks. arXiv preprint arXiv:2006.13318, 2020.
|
| 189 |
+
[5] Lei Chen, Zhengdao Chen, and Joan Bruna. On graph neural networks versus graph-augmented mlps. In International Conference on Learning Representations, 2020.
|
| 190 |
+
[6] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1725–1735. PMLR, 2020.
|
| 191 |
+
[7] Zhengdao Chen, Lei Chen, Soledad Villar, and Joan Bruna. Can graph neural networks count substructures? In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
|
| 192 |
+
[8] Eli Chien, Jianhao Peng, Pan Li, and Olgica Milenkovic. Adaptive universal generalized pagerank graph neural network. 2021.
|
| 193 |
+
[9] Weilin Cong, Rana Forsati, Mahmut T. Kandemir, and Mehrdad Mahdavi. Minimal variance sampling with provable guarantees for fast training of graph neural networks. In KDD ’20: The 26th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Virtual Event, CA, USA, August 23-27, 2020, pages 1393–1403. ACM, 2020.
|
| 194 |
+
[10] Zhiyong Cui, Kristian Henrickson, Ruimin Ke, and Yinhai Wang. Traffic graph convolutional recurrent neural network: A deep learning framework for network-scale traffic learning and forecasting. IEEE Transactions on Intelligent Transportation Systems, 2019.
|
| 195 |
+
[11] Kenneth R Davidson and Stanislaw J Szarek. Local operator theory, random matrices and banach spaces. Handbook of the geometry of Banach spaces, 1(317-366):131, 2001.
|
| 196 |
+
[12] Songgaojun Deng, Huzefa Rangwala, and Yue Ning. Learning dynamic context graphs for predicting social events. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1007–1016. ACM, 2019.
|
| 197 |
+
[13] Yash Deshpande, Subhabrata Sen, Andrea Montanari, and Elchanan Mossel. Contextual stochastic block models. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 8590–8602, 2018.
|
| 198 |
+
[14] Kien Do, Truyen Tran, and Svetha Venkatesh. Graph transformation policy network for chemical reaction prediction. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 750–760. ACM, 2019.
|
| 199 |
+
[15] Simon S. Du, Kangcheng Hou, Ruslan Salakhutdinov, Barnabás Póczos, Ruosong Wang, and Keyulu Xu. Graph neural tangent kernel: Fusing graph neural networks with graph kernels. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 5724–5734, 2019.
|
| 200 |
+
[16] David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gómez-Bombarelli, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P. Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pages 2224–2232, 2015.
|
| 201 |
+
[17] Ran El-Yaniv and Dmitry Pechyony. Stable transductive learning. In Learning Theory, 19th Annual Conference on Learning Theory, COLT 2006, Pittsburgh, PA, USA, June 22-25, 2006, Proceedings, volume 4005 of Lecture Notes in Computer Science, pages 35–49. Springer, 2006.
|
| 202 |
+
[18] Vikas K. Garg, Stefanie Jegelka, and Tommi S. Jaakkola. Generalization and representational limits of graph neural networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 3419–3430. PMLR, 2020.
|
| 203 |
+
[19] 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, pages 249–256. JMLR Workshop and Conference Proceedings, 2010.
|
| 204 |
+
[20] Shunwang Gong, Mehdi Bahri, Michael M. Bronstein, and Stefanos Zafeiriou. Geometrically principled connections in graph neural networks. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 11412–11421. IEEE, 2020.
|
| 205 |
+
[21] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1024–1034, 2017.
|
| 206 |
+
[22] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015, pages 1026–1034. IEEE Computer Society, 2015.
|
| 207 |
+
[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770–778. IEEE Computer Society, 2016.
|
| 208 |
+
[24] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020.
|
| 209 |
+
[25] Wei Huang, Yayong Li, Weitao Du, Richard Yi Da Xu, Jie Yin, and Ling Chen. Wide graph neural networks: Aggregation provably leads to exponentially trainability loss. arXiv preprint arXiv:2103.03113, 2021.
|
| 210 |
+
[26] Wenbing Huang, Yu Rong, Tingyang Xu, Fuchun Sun, and Junzhou Huang. Tackling oversmoothing for general graph convolutional networks. arXiv e-prints, pages arXiv–2008, 2020.
|
| 211 |
+
[27] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015.
|
| 212 |
+
[28] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017.
|
| 213 |
+
[29] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019.
|
| 214 |
+
[30] Kezhi Kong, Guohao Li, Mucong Ding, Zuxuan Wu, Chen Zhu, Bernard Ghanem, Gavin Taylor, and Tom Goldstein. Flag: Adversarial data augmentation for graph neural networks. arXiv preprint arXiv:2010.09891, 2020.
|
| 215 |
+
[31] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1269–1278. ACM, 2019.
|
| 216 |
+
[32] AA Leman and B Weisfeiler. A reduction of a graph to a canonical form and an algebra arising during this reduction. Nauchno-Technicheskaya Informatsiya, 2(9):12–16, 1968.
|
| 217 |
+
[33] Guohao Li, Matthias Müller, Ali K. Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 9266–9275. IEEE, 2019.
|
| 218 |
+
[34] Jia Li, Zhichao Han, Hong Cheng, Jiao Su, Pengyun Wang, Jianfeng Zhang, and Lujia Pan. Predicting path failure in time-evolving graphs. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1279–1289. ACM, 2019.
|
| 219 |
+
[35] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 3538–3545. AAAI Press, 2018.
|
| 220 |
+
[36] Renjie Liao, Raquel Urtasun, and Richard Zemel. A pac-bayesian approach to generalization bounds for graph neural networks. arXiv preprint arXiv:2012.07690, 2020.
|
| 221 |
+
[37] Andreas Loukas. What graph neural networks cannot learn: depth vs width. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 222 |
+
[38] Sitao Luan, Mingde Zhao, Xiao-Wen Chang, and Doina Precup. Training matters: Unlocking potentials of deeper graph convolutional neural networks. arXiv preprint arXiv:2008.08838, 2020.
|
| 223 |
+
[39] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and leman go neural: Higher-order graph neural networks. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 4602–4609. AAAI Press, 2019.
|
| 224 |
+
[40] Quynh Nguyen. On the proof of global convergence of gradient descent for deep relu networks with linear widths. arXiv preprint arXiv:2101.09612, 2021.
|
| 225 |
+
[41] Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 226 |
+
[42] Kenta Oono and Taiji Suzuki. Optimization and generalization analysis of transduction through gradient boosting and application to multi-scale graph neural networks. Advances in Neural Information Processing Systems, 33, 2020.
|
| 227 |
+
[43] Namyong Park, Andrey Kan, Xin Luna Dong, Tong Zhao, and Christos Faloutsos. Estimating node importance in knowledge graphs using graph neural networks. In Proceedings of the $2 5 t h$ ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 596–606. ACM, 2019.
|
| 228 |
+
[44] Jiezhong Qiu, Jian Tang, Hao Ma, Yuxiao Dong, Kuansan Wang, and Jie Tang. Deepinf: Modeling influence locality in large social networks. In KDD, 2018.
|
| 229 |
+
[45] Afshin Rahimi, Trevor Cohn, and Timothy Baldwin. Semi-supervised user geolocation via graph convolutional networks. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2009–2019. Association for Computational Linguistics, 2018.
|
| 230 |
+
[46] Morteza Ramezani, Weilin Cong, Mehrdad Mahdavi, Anand Sivasubramaniam, and Mahmut Kandemir. Gcn meets gpu: Decoupling “when to sample” from “how to sample”. Advances in Neural Information Processing Systems, 33, 2020.
|
| 231 |
+
[47] Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 232 |
+
[48] Ruslan Salakhutdinov. Deep learning. In The 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’14, New York, NY, USA - August 24 - 27, 2014, page 1973. ACM, 2014.
|
| 233 |
+
[49] Franco Scarselli, Ah Chung Tsoi, and Markus Hagenbuchner. The vapnik–chervonenkis dimension of graph and recursive neural networks. Neural Networks, 108:248–259, 2018.
|
| 234 |
+
[50] Saurabh Verma and Zhi-Li Zhang. Stability and generalization of graph convolutional neural networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1539– 1548. ACM, 2019.
|
| 235 |
+
[51] Hao Wang, Tong Xu, Qi Liu, Defu Lian, Enhong Chen, Dongfang Du, Han Wu, and Wen Su. MCNE: an end-to-end framework for learning multiple conditional network representations of social network. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1064–1072. ACM, 2019.
|
| 236 |
+
[52] Hongwei Wang, Fuzheng Zhang, Mengdi Zhang, Jure Leskovec, Miao Zhao, Wenjie Li, and Zhongyuan Wang. Knowledge-aware graph neural networks with label smoothness regularization for recommender systems. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 968–977. ACM, 2019.
|
| 237 |
+
[53] Xiang Wang, Xiangnan He, Yixin Cao, Meng Liu, and Tat-Seng Chua. KGAT: knowledge graph attention network for recommendation. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 950–958. ACM, 2019.
|
| 238 |
+
[54] Felix Wu, Amauri H. Souza Jr., Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Q. Weinberger. Simplifying graph convolutional networks. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 6861–6871. PMLR, 2019.
|
| 239 |
+
[55] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019.
|
| 240 |
+
[56] Keyulu Xu, Jingling Li, Mozhi Zhang, Simon S. Du, Ken-ichi Kawarabayashi, and Stefanie Jegelka. What can neural networks reason about? In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 241 |
+
[57] Keyulu Xu, Mozhi Zhang, Jingling Li, Simon Shaolei Du, Ken-Ichi Kawarabayashi, and Stefanie Jegelka. How neural networks extrapolate: From feedforward to graph neural networks. In International Conference on Learning Representations, 2021.
|
| 242 |
+
[58] Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint arXiv:2102.06462, 2021.
|
| 243 |
+
[59] Chaoqi Yang, Ruijie Wang, Shuochao Yao, Shengzhong Liu, and Tarek Abdelzaher. Revisiting" over-smoothing" in deep gcns. arXiv preprint arXiv:2003.13663, 2020.
|
| 244 |
+
[60] Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L. Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018, pages 974–983. ACM, 2018.
|
| 245 |
+
[61] Lingxiao Zhao and Leman Akoglu. Pairnorm: Tackling oversmoothing in gnns. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020.
|
| 246 |
+
[62] Kuangqi Zhou, Yanfei Dong, Wee Sun Lee, Bryan Hooi, Huan Xu, and Jiashi Feng. Effective training strategies for deep graph neural networks. arXiv preprint arXiv:2006.07107, 2020.
|
| 247 |
+
[63] Xianchen Zhou and Hongxia Wang. The generalization error of graph convolutional networks may enlarge with more layers. Neurocomputing, 424:97–106, 2021.
|
parse/train/r-oRRT-ElX/r-oRRT-ElX_content_list.json
ADDED
|
@@ -0,0 +1,1091 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "On Provable Benefits of Depth in Training Graph Convolutional Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
243,
|
| 8 |
+
122,
|
| 9 |
+
753,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Weilin Cong Penn State wxc272@psu.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
228,
|
| 19 |
+
226,
|
| 20 |
+
349,
|
| 21 |
+
268
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Morteza Ramezani Penn State morteza@cse.psu.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
410,
|
| 30 |
+
226,
|
| 31 |
+
575,
|
| 32 |
+
267
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Mehrdad MahdaviPenn Statemzm616@psu.edu",
|
| 39 |
+
"bbox": [
|
| 40 |
+
637,
|
| 41 |
+
226,
|
| 42 |
+
769,
|
| 43 |
+
268
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
304,
|
| 54 |
+
535,
|
| 55 |
+
320
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Graph Convolutional Networks (GCNs) are known to suffer from performance degradation as the number of layers increases, which is usually attributed to oversmoothing. Despite the apparent consensus, we observe that there exists a discrepancy between the theoretical understanding of over-smoothing and the practical capabilities of GCNs. Specifically, we argue that over-smoothing does not necessarily happen in practice, a deeper model is provably expressive, can converge to global optimum with linear convergence rate, and achieve very high training accuracy as long as properly trained. Despite being capable of achieving high training accuracy, empirical results show that the deeper models generalize poorly on the testing stage and existing theoretical understanding of such behavior remains elusive. To achieve better understanding, we carefully analyze the generalization capability of GCNs, and show that the training strategies to achieve high training accuracy significantly deteriorate the generalization capability of GCNs. Motivated by these findings, we propose a decoupled structure for GCNs that detaches weight matrices from feature propagation to preserve the expressive power and ensure good generalization performance. We conduct empirical evaluations on various synthetic and real-world datasets to validate the correctness of our theory. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
334,
|
| 65 |
+
766,
|
| 66 |
+
569
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
593,
|
| 77 |
+
310,
|
| 78 |
+
611
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In recent years, Graph Convolutional Networks (GCNs) have achieved state-of-the-art performance in dealing with graph-structured applications, including social networks [28, 21, 51, 12, 44], traffic prediction [10, 45, 34, 31], knowledge graphs [52, 53, 43], drug reaction [14, 16] and recommendation system [2, 60]. Despite the success of GCNs, applying a shallow GCN model that only uses the information of a very limited neighborhood on a large sparse graph has shown to be not effective [23, 6, 20, 9, 46]. As a result, a deeper GCN model would be desirable to reach and aggregate information from farther neighbors. The inefficiency of shallow GCNs is exacerbated even further when the labeled nodes compared to graph size is negligible, as a shallow GCN cannot sufficiently propagate the label information to the entire graph with only a few available labels [35]. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
625,
|
| 88 |
+
825,
|
| 89 |
+
751
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Although a deeper GCN is preferred to perceive more graph structure information, unlike traditional deep neural networks, it has been pointed out that deeper GCNs potentially suffer from oversmoothing [35, 41, 26, 4, 58], vanishing/exploding gradients [33], over-squashing [1], and training difficulties [62, 38], which significantly affect the performance of GCNs as the depth increases. Among these, the most widely accepted reason is “over-smoothing”, which is referred to as a phenomenon due to applying multiple graph convolutions such that all node embeddings converge to a single subspace (or vector) and leads to indistinguishable node representations. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
757,
|
| 99 |
+
825,
|
| 100 |
+
853
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "The conventional wisdom is that adding to the number of layers causes over-smoothing, which impairs the expressiveness power of GCNs and consequently leads to a poor training accuracy. However, we observe that there exists a discrepancy between theoretical understanding of their inherent capabilities and practical performances. According to the definition of over-smoothing that the node representation becomes indistinguishable as GCNs goes deeper, the classifier has difficulty assigning the correct label for each node if over-smoothing happens. As a result, the training accuracy is expected to be decreasing as the number of layers increases. However, as shown in Figure 1, GCNs are capable of achieving high training accuracy regardless of the number of layers. But, as it can be observed, deeper GCNs require more training iterations to reach a high training accuracy, and its generalization performance on evaluation set decreases as the number of layers increases. This observation suggests that the performance degradation is likely due to inappropriate training rather than the low expressive power caused by over-smoothing. Otherwise, a low expressiveness model cannot achieve almost perfect training accuracy simply by proper training tricks alone.1 Indeed, recent years significant advances have been witnessed on tweaking the model architecture to overcome the training difficulties in deeper GCN models and achieve good generalization performance [38, 6, 33, 62]. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
859,
|
| 110 |
+
823,
|
| 111 |
+
901
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/d96dabd61d79d6401e80639fa13156cc6e9e472b4caf09be8035395a98d70400.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Comparison of F1-score for GCN with different depth on Cora dataset, where deeper models can achieve high training accuracy, but complicate the training by requiring more iterations to converge and suffer from poor generalization. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
253,
|
| 124 |
+
89,
|
| 125 |
+
740,
|
| 126 |
+
210
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
286,
|
| 136 |
+
825,
|
| 137 |
+
452
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Contributions. Motivated by aforementioned observation, i.e., still achieving high training accuracy when trained properly but poor generalization performance, we aim at answering two fundamental questions in this paper: ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
458,
|
| 147 |
+
825,
|
| 148 |
+
500
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Q1: Does increasing depth really impair the expressiveness power of GCNs? In Section 4, we argue that there exists a discrepancy between over-smoothing based theoretical results and the practical capabilities of deep GCN models, demonstrating that over-smoothing is not the key factor that leads to the performance degradation in deeper GCNs. In particular, we mathematically show that over-smoothing [41, 26, 35, 4] is mainly an artifact of theoretical analysis and simplifications made in analysis. Indeed, by characterizing the representational capacity of GCNs via Weisfeiler-Lehman (WL) graph isomorphism test [39, 55], we show that deeper GCN model is at least as expressive as the shallow GCN model, the deeper GCN models can distinguish nodes with a different neighborhood that the shallow GCN cannot distinguish, as long as the GCNs are properly trained. Besides, we theoretically show that more training iterations is sufficient (but not necessary due to the assumptions made in our theoretical analysis) for a deeper model to achieve the same training error as the shallow ones, which further suggests the poor training error in deep GCN training is most likely due to inappropriate training. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
507,
|
| 158 |
+
825,
|
| 159 |
+
686
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "Q2: If expressive, why then deep GCNs generalize poorly? ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
176,
|
| 168 |
+
693,
|
| 169 |
+
558,
|
| 170 |
+
707
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "In Section 5, in order to understand the performance degradation phenomenon in deep GCNs during the evaluation phase, we give a novel generalization analysis on GCNs and its variants (e.g., ResGCN, APPNP, and GCNII) under the semi-supervised setting for the node classification task. We show that the generalization gap of GCNs is governed by the number of training iterations, largest node degree, the largest singular value of weight matrices, and the number of layers. In particular, our result suggests that a deeper GCN model requires more iterations of training and optimization tricks to converge (e.g., adding skip-connections), which leads to a poor generalization. More interestingly, our generalization analysis shows that most of the so-called methods to solve oversmoothing [47, 61, 6, 29] can greatly improve the generalization ability of the model, therefore results in a deeper model. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
707,
|
| 180 |
+
825,
|
| 181 |
+
844
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "The aforementioned findings naturally lead to the algorithmic contribution of this paper. In Section 6, we present a novel framework, Decoupled GCN (DGCN), that is capable of training deeper GCNs and can significantly improve the generalization performance. The main idea is to isolate the expressive power from generalization ability by decoupling the weight parameters from feature propagation. In Section 7, we conduct experiments on the synthetic and real-world datasets to validate the correctness of the theoretical analysis and the advantages of DGCN over baseline methods. ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
174,
|
| 190 |
+
90,
|
| 191 |
+
825,
|
| 192 |
+
174
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 2
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "2 Related works ",
|
| 199 |
+
"text_level": 1,
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
204,
|
| 203 |
+
325,
|
| 204 |
+
220
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Expressivity of GCNs. Existing results on expressive power of GCNs are mixed, [39, 37, 7, 5] argue that deeper model has higher expressive power but [41, 26, 25] have completely opposite result. On the one hand, [39] shows a deeper GCN is as least as powerful as the shallow one in terms of distinguishing non-isomorphic graphs. [37] shows that deep and wide GCNs is Turing universal, however, GCNs lose power when their depth and width are restricted. [7] and [5] measure the expressive power of GCNs via its subgraph counting capability and attribute walks, and both show the expressive power of GCNs grows exponentially with the GCN depth. On the other hand, [25] studies the infinity wide GCNs and shows that the covariance matrix of its outputs converges to a constant matrix at an exponential rate. [41, 26] characterize the expressive power using the distance between node embeddings to a node feature agnostic subspace and show the distance is decreasing as the number of layers increases. Details are deferred to Section 4 and Appendix B. Such contradictory results motivate us to rethink the role of over-smoothing on expressiveness. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
241,
|
| 214 |
+
825,
|
| 215 |
+
406
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Generalization analysis of GCNs. In recent years, many papers are working on the generalization of GCNs using uniform stability [50, 63], Neural Tangent Kernel [15], VC-dimension [49], Rademacher complexity [18, 42], algorithm alignment [56, 57] and PAC-Bayesian [36]. Existing works only focus on a specific GCN structure, which cannot be used to understand the impact of GCN structures on its generalization ability. The most closely related to ours is [50], where they analyze the stability of the single-layer GCN model, and show that the stability of GCN depends on the largest absolute eigenvalue of its Laplacian matrix. However, their result is under the inductive learning setting and extending the results to the multi-layer GCNs with different structures is non-trivial. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
414,
|
| 225 |
+
825,
|
| 226 |
+
525
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "Literature with similar observations. Most recently, several works have similar observations on the over-smoothing issue to ours. [62] argues that the main factors to performance degradation are vanishing gradient, training instability, and over-fitting, rather than over-smoothing, and proposes a node embedding normalization heuristic to alleviate the aforementioned issues. [38] argues that the performance degradation is mainly due to the training difficulty, and proposes a different graph Laplacian formulation, weight parameter initialization, and skip-connections to improve the training difficulty. [59] argues that deep GCNs can learn to overcome the over-smoothing issue during training, and the key factor of performance degradation is over-fitting, and proposes a node embedding normalization method to help deep GCNs overcome the over-smoothing issue. [30] improves the generalization ability of GCNs by using adversarial training and results in a consistent improvement than all GCNs baseline models without adversarial training. All aforementioned literature only gives heuristic explanations based on the empirical results, and do not provide theoretical arguments. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
174,
|
| 235 |
+
530,
|
| 236 |
+
825,
|
| 237 |
+
696
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "3 Preliminaries ",
|
| 244 |
+
"text_level": 1,
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
726,
|
| 248 |
+
318,
|
| 249 |
+
743
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "Notations and setup. We consider the semi-supervised node classification problem, where a selfconnected graph $\\mathcal { G } = ( \\nu , \\mathcal { E } )$ with $N = | \\nu |$ nodes is given in which each node $i \\in \\nu$ is associated with a feature vector $\\mathbf { x } _ { i } \\in \\mathbb { R } ^ { d _ { 0 } }$ , and only a subset of nodes $\\mathcal { V } _ { \\mathrm { t r a i n } } \\subset \\mathcal { V }$ are labeled, i.e., $y _ { i } \\in \\{ 1 , \\ldots , | { \\mathcal { C } } | \\}$ for each $i \\in \\mathcal { V } _ { \\mathrm { t r a i n } }$ and $\\mathcal { C }$ is the set of all candidate classes. Let $\\mathbf { A } \\in \\mathbb { R } ^ { N \\times N }$ denote the adjacency matrix and $\\mathbf { D } \\in \\mathbb { R } ^ { N \\times N }$ denote the corresponding degree matrix with $D _ { i , i } = \\deg ( i )$ and $D _ { i , j } = 0$ if $i \\neq j$ . Then, the propagation matrix (using the Laplacian matrix defined in [28]) is computed as $\\mathbf { P } = \\mathbf { D } ^ { - 1 / 2 } \\mathbf { A } \\mathbf { D } ^ { - 1 / 2 }$ . Our goal is to learn a GCN model using the node features for all nodes $\\{ { \\bf x } _ { i } \\} _ { i \\in \\mathcal { V } }$ and node labels for the training set nodes $\\{ y _ { i } \\} _ { i \\in \\mathcal { V } _ { \\operatorname { t r a i n } } }$ , and expect it generalizes well on the unlabeled node set $\\mathcal { V } _ { \\mathrm { t e s t } } = \\mathcal { V } \\setminus \\mathcal { V } _ { \\mathrm { t r a i n } }$ . ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
174,
|
| 258 |
+
762,
|
| 259 |
+
825,
|
| 260 |
+
892
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "GCN architectures. In this paper, we consider the following architectures for training GCNs: ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
169,
|
| 269 |
+
897,
|
| 270 |
+
792,
|
| 271 |
+
911
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "image",
|
| 277 |
+
"img_path": "images/1060240432cfbec674f54ca5828faa36688caf668156a8b6d68ff12171d6b3cb.jpg",
|
| 278 |
+
"image_caption": [
|
| 279 |
+
"Figure 2: Comparison of intra- and inter-class normalized node embeddings $\\mathbf { H } ^ { ( \\ell ) } / \\| \\mathbf { H } ^ { ( \\ell ) } \\| _ { \\mathrm { F } }$ pairwise distance on Cora dataset. See Appendix A for more evidences. "
|
| 280 |
+
],
|
| 281 |
+
"image_footnote": [],
|
| 282 |
+
"bbox": [
|
| 283 |
+
245,
|
| 284 |
+
88,
|
| 285 |
+
748,
|
| 286 |
+
223
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "• Vanilla GCN [28] computes node embeddings by $\\mathbf { H } ^ { ( \\ell ) } = \\sigma ( \\mathbf { P H } ^ { ( \\ell - 1 ) } \\mathbf { W } ^ { ( \\ell ) } )$ , where $\\mathbf { H } ^ { ( \\ell ) } =$ $\\{ \\mathbf { h } _ { i } ^ { ( \\ell ) } \\} _ { i = 1 } ^ { N }$ is the \\`th layer node embedding matrix, $\\mathbf { h } _ { i } ^ { ( \\ell ) } \\in \\mathbb { R } ^ { d _ { \\ell } }$ is the embedding of $i$ th node, $\\mathbf { W } ^ { ( \\ell ) } \\in \\mathbb { R } ^ { d _ { \\ell } \\times d _ { \\ell - 1 } }$ is the \\`th layer weight matrix, and $\\sigma ( \\cdot )$ is the ReLU activation. ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
183,
|
| 295 |
+
282,
|
| 296 |
+
825,
|
| 297 |
+
332
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "• ResGCN [33] solves the vanishing gradient issue by adding skip-connections between adjacency layers. More specifically, ResGCN computes node embeddings by $\\mathbf { H } ^ { ( \\ell ) } = \\sigma ( \\mathbf { P H } ^ { ( \\ell - 1 ) } \\mathbf { \\dot { W } } ^ { ( \\ell ) } ) \\dot { + }$ $\\mathbf { H } ^ { ( \\ell - 1 ) }$ No fully connected layer after node feature, where node embeddings of the previous layer is added to the output of the current layer to facilitate the training of deeper GCN models. ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
184,
|
| 306 |
+
332,
|
| 307 |
+
825,
|
| 308 |
+
388
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "• APPNP [29] adds skip-connections from the input layer to each hidden layer to preserve the feature information. APPNP computes node embeddings by $\\mathbf { H } ^ { ( \\ell ) } = \\alpha _ { \\ell } \\mathbf { P } \\mathbf { H } ^ { ( \\ell - 1 ) } + ( \\mathbf { \\bar { l } } - \\alpha _ { \\ell } ) \\mathbf { H } ^ { ( 0 ) } \\mathbf { W }$ , where $\\alpha _ { \\ell } \\in [ 0 , 1 ]$ balances the amount of information preserved at each layer. By decoupling feature transformation and propagation, APPNP can aggregate information from multi-hop neighbors without significantly increasing the computation complexity. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
183,
|
| 317 |
+
390,
|
| 318 |
+
825,
|
| 319 |
+
459
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "• GCNII [6] improves the capacity of APPNP by adding non-linearty and weight matrix at each individual layer. GCNII computes node embeddings by $\\mathbf { H } ^ { ( \\ell ) } = \\bar { \\sigma } \\big ( ( \\alpha _ { \\ell } \\mathbf { P } \\bar { \\mathbf { H } ^ { ( \\ell - 1 ) } } + ( 1 -$ $\\alpha _ { \\ell } ) \\mathbf { H } ^ { ( 0 ) } ) \\bar { \\mathbf { W } } ^ { ( \\ell ) } )$ , where $\\bar { \\mathbf { W } } ^ { ( \\ell ) } = \\beta _ { \\ell } \\mathbf { W } ^ { ( \\ell ) } + ( 1 - \\beta _ { \\ell } ) \\mathbf { I }$ , constant $\\alpha _ { \\ell }$ same as APPNP, and constant $\\beta _ { \\ell } \\in [ 0 , 1 ]$ restricts the power of \\`th layer parameters. ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
183,
|
| 328 |
+
460,
|
| 329 |
+
825,
|
| 330 |
+
521
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "4 On true expressiveness and optimization landscape of deep GCNs ",
|
| 337 |
+
"text_level": 1,
|
| 338 |
+
"bbox": [
|
| 339 |
+
173,
|
| 340 |
+
541,
|
| 341 |
+
751,
|
| 342 |
+
559
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Empirical validation of over-smoothing. In this section, we aim at answering the following fundamental question: “Does over-smoothing really cause the performance degradation in deeper $G C N s ? ^ { \\prime \\prime }$ As first defined in [35], over-smoothing is referred to as a phenomenon where all node embeddings converge to a single vector after applying multiple graph convolution operations to the node features. However, [35] only considers the graph convolution operation without non-linearity and the per-layer weight matrices. To verify whether over-smoothing exists in normal GCNs, we measure the pairwise distance between the normalized node embeddings with varying the model depth.2 As shown in Figure 2, without the weight matrices and non-linear activation functions, the pairwise distance between node embeddings indeed decreases as the number of layers increases. However, by considering the weight matrices and non-linearity, the pairwise distances are actually increasing after a certain depth which contradicts the definition of over-smoothing that node embeddings become indistinguishable when the model becomes deeper. That is, graph convolution makes adjacent node embeddings get closer, then non-linearity and weight matrices help node embeddings preserve distinguishing-ability after convolution. ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
173,
|
| 351 |
+
573,
|
| 352 |
+
825,
|
| 353 |
+
766
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "Most recently, [41, 26] generalize the idea of over-smoothing by taking both the non-linearity and weight matrices into considerations. More specifically, the expressive power of the \\`th layer node embeddings $\\mathbf { H } ^ { ( \\ell ) }$ is measured using $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } )$ , which is defined as the distance of node embeddings to a subspace $\\mathcal { M }$ that only has node degree information. Let denote $\\lambda _ { L }$ as the second largest eigenvalue of graph Laplacian and $\\lambda _ { W }$ as the largest singular value of weight matrices. [41, 26] show that the expressive power $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } )$ is bounded by $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } ) \\leq ( \\lambda _ { W } \\lambda _ { L } ) ^ { \\ell } \\cdot d _ { \\mathcal { M } } ( \\mathbf { X } )$ , i.e., the expressive power of node embeddings will be exponentially decreasing or increasing as the number of layers increases, depending on whether $\\lambda _ { W } \\lambda _ { L } < 1$ or $\\lambda _ { W } \\lambda _ { L } > 1$ . They conclude that deeper GCN exponentially loss expressive power by assuming $\\lambda _ { W } \\lambda _ { L } < 1$ . However, we argue that this assumption does not always hold. To see this, let suppose $\\mathbf { W } ^ { ( \\ell ) } \\in \\mathbb { R } ^ { d _ { \\ell - 1 } \\times d _ { \\ell } }$ is initialized by uniform distribution $\\mathcal { N } ( 0 , \\sqrt { 1 / d _ { \\ell - 1 } } )$ . By the Gordon’s theorem for Gaussian matrices [11], we know its expected largest singular value is bounded by $\\mathbb { E } [ \\lambda _ { W } ] \\le 1 + \\sqrt { d _ { \\ell } / d _ { \\ell - 1 } }$ , which is strictly greater than 1 and $\\lambda _ { W }$ usually increases during training. The above discussion also holds for other commonly used initialization methods [19, 22]. Furthermore, since most real world graphs are sparse with $\\lambda _ { L }$ close to 1, e.g., Cora has $\\lambda _ { L } = 0 . 9 9 6 4$ , Citeseer has $\\lambda _ { L } = 0 . 9 9 8 7$ , and Pubmed has $\\lambda _ { L } = 0 . 9 9 0 5$ , making assumption on $\\lambda _ { W } \\lambda _ { L } < 1$ is not realistic. As shown in Figure 3, when increasing the number of layers, we observe that the distance $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } )$ is decreasing on untrained-GCN models, however, the distance $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } )$ is increasing on trained-GCN models, which contradicts the conclusion in [41]. Due to the space limit, we defer the more empirical evidence to Appendix B. Through these findings, we cast doubt on the power of over-smoothing based analysis to provide a complete picture of why deep GCNs perform badly. ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
173,
|
| 362 |
+
772,
|
| 363 |
+
825,
|
| 364 |
+
873
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "image",
|
| 370 |
+
"img_path": "images/84e24a192bc5e80db4a4ccfceccfa7007c39202a2f0d6209d2870a24585057cf.jpg",
|
| 371 |
+
"image_caption": [
|
| 372 |
+
"Figure 3: Compare $d _ { \\mathcal { M } } ( \\mathbf { H } ^ { ( \\ell ) } )$ and $\\lambda _ { W } ( \\mathbf { W } ^ { ( \\ell ) } )$ on both trained- (using 500 gradient update) and untrained-GCN models on Cora dataset. "
|
| 373 |
+
],
|
| 374 |
+
"image_footnote": [],
|
| 375 |
+
"bbox": [
|
| 376 |
+
240,
|
| 377 |
+
87,
|
| 378 |
+
758,
|
| 379 |
+
223
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 4
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "",
|
| 386 |
+
"bbox": [
|
| 387 |
+
173,
|
| 388 |
+
290,
|
| 389 |
+
825,
|
| 390 |
+
493
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 4
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Definition 1. Let $\\mathcal { T } _ { i } ^ { L }$ denote the $L$ -layer computation tree of node $i$ , which represents the structured $L$ -hop neighbors of node $i$ , where the children of any node $j$ in the tree are the nodes in $\\mathcal { N } ( i )$ . ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
498,
|
| 400 |
+
823,
|
| 401 |
+
527
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 4
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "Exponentially growing expressieness without strong assumptions. Indeed, we argue that deeper GCNs have stronger expressive power than the shallow GCNs. To prove this, we employ the connection between WL test3 [32] and GCNs. Recently, [39] shows that GCNs have the same expressiveness as the WL-test for graph isomorphism if they are appropriately trained, i.e., a properly trained $L$ -layer GCN computes different node representations for two nodes if their $L$ -layer computation tree (Definition 1) have different structure or different features on the corresponding nodes. Since $L$ -GCN can encode any different computation tree into different representations, it is natural to characterize the expressiveness of $L$ -GCN by the number of computation graph it can encode. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
173,
|
| 410 |
+
540,
|
| 411 |
+
825,
|
| 412 |
+
650
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 4
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "Theorem 1. Suppose $\\mathcal { T } ^ { L }$ is a computation tree with binary node features and node degree at least d. Then, by assuming the computation tree of two nodes are disjoint, the richness (i.e., the number of computation graphs a model can encode) of the output of $L$ -GCN defined on $\\mathcal { T } ^ { L }$ is at least $| \\bar { L } \\bar { - } G C \\bar { N } ( \\bar { \\cal T } ^ { L } ) | \\geq 2 ( \\bar { d } - 1 ) ^ { L - 1 }$ . ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
174,
|
| 421 |
+
655,
|
| 422 |
+
825,
|
| 423 |
+
712
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 4
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "The proof is deferred to Appendix C. The above theorem implies that the richness of $L$ -GCN grows at least exponentially with respect to the number of layers. ",
|
| 430 |
+
"bbox": [
|
| 431 |
+
173,
|
| 432 |
+
724,
|
| 433 |
+
821,
|
| 434 |
+
752
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 4
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "Comparison of expressiveness metrics. Although distance-based expressiveness metric [41, 26] is strong than WL-based metric in the sense that node embeddings can be distinct but close to each other, the distance-based metric requires explicit assumptions on the GCN structures, weight matrices, and graph structures comparing to the WL-based metric, which has been shown that are not likely hold. On the other hand, WL-based metric has been widely used in characterizing the expressive power of GCNs in graph-level task [39, 37, 7, 5]. More details are deferred to related works (Section 2). ",
|
| 441 |
+
"bbox": [
|
| 442 |
+
174,
|
| 443 |
+
758,
|
| 444 |
+
826,
|
| 445 |
+
842
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 4
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "Although expressive, it is still unclear why the deeper GCN requires more training iterations to achieve small training error and reach the properly trained status. To understand this, we show in Theorem 2 that under assumptions on the width of the final layer, the deeper GCN can converge to its global optimal with linear convergence rate. More specifically, the theorem claims that if the dimension of the last layer of $\\mathrm { G C N } d _ { L }$ is larger than the number of data $N ^ { 4 }$ , then we can guarantee the loss ${ \\mathcal { L } } ( \\theta _ { T } ) \\leq \\varepsilon$ after $T = \\mathcal { O } ( 1 / \\varepsilon )$ iterations of the gradient updates. Besides, more training iterations is sufficient (but not necessary due to the assumptions made in our theoretical analysis) for a deeper model to achieve the same training error as the shallow ones. ",
|
| 452 |
+
"bbox": [
|
| 453 |
+
173,
|
| 454 |
+
90,
|
| 455 |
+
825,
|
| 456 |
+
202
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 5
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "Theorem 2. Let $\\pmb { \\theta } _ { t } = \\{ \\mathbf { W } _ { t } ^ { ( \\ell ) } \\in \\mathbb { R } ^ { d _ { \\ell - 1 } \\times d _ { \\ell } } \\} _ { \\ell = 1 } ^ { L + 1 }$ be the model parameter at the $t$ -th iteration and using square loss $\\begin{array} { r } { \\mathcal { L } ( \\pmb { \\theta } ) = \\frac { 1 } { 2 } \\| \\mathbf { H } ^ { ( L ) } \\mathbf { W } ^ { ( L + 1 ) } - \\mathbf { Y } \\| _ { \\mathrm { F } } ^ { 2 } } \\end{array}$ , $\\mathbf { H } ^ { ( \\ell ) } = \\sigma ( \\mathbf { P H } ^ { ( \\ell - 1 ) } \\mathbf { W } ^ { ( \\ell ) } )$ as objective function. Then, under the condition that $d _ { L } \\geq N$ we can obtain $\\mathcal { L } ( \\pmb { \\theta } _ { T } ) \\leq \\epsilon i f T \\geq C ( L ) \\log ( \\mathcal { L } ( \\pmb { \\theta } _ { 0 } ) / \\epsilon )$ , where $\\epsilon$ is the desired error and $C ( L )$ is a function of GCN depth $L$ that grows as GCN becomes deeper. ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
174,
|
| 465 |
+
208,
|
| 466 |
+
825,
|
| 467 |
+
268
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 5
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "text",
|
| 473 |
+
"text": "A formal statement of Theorem 2 and its proof are deferred to Appendix D. Besides, gradient stability also provides an alternative way of empirically understanding why deeper GCN requires more iterations: deeper neural networks are prone to exploding/vanishing gradient, which results in a very noisy gradient and requires small learning rate to stabilize the training. This issue can be significantly alleviated by adding skip-connections (Appendix E.5). When training with adaptive learning rate mechanisms, such as Adam $[ 2 7 ]$ , noisy gradient will result in a much smaller update on current model compared to a stabilized gradient, therefore more training iterations are required. ",
|
| 474 |
+
"bbox": [
|
| 475 |
+
173,
|
| 476 |
+
280,
|
| 477 |
+
825,
|
| 478 |
+
378
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 5
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "5 A different view from generalization ",
|
| 485 |
+
"text_level": 1,
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
398,
|
| 489 |
+
508,
|
| 490 |
+
416
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 5
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "In the previous section, we provided evidence that a well-trained deep GCN is at least as powerful as a shallow one. However, it is still unclear why a deeper GCN has worse performance than a shallow GCN during the evaluation phase. To answer this question, we provide a different view by analyzing the impact of GCN structures on the generalization. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
430,
|
| 500 |
+
825,
|
| 501 |
+
486
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 5
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "Transductive uniform stability. In the following, we study the generalization ability of GCNs via transductive uniform stability [17], where the generalization gap is defined as the difference between the training and testing errors for the random partition of a full dataset into training and testing sets. Transductive uniform stability is defined under the notation that the output of a classifier does not change much if the input is perturbed a bit, which is an extension of uniform stability [3] from the inductive to the transductive setting. The previous analysis on the uniform stability of GCNs [50] only shows the result of GCN with one graph convolutional layer under inductive learning setting, which cannot explain the effect of depth, model structure, and training data size on the generalization, and its extension to multi-layer GCNs and other GCN structures are non-trivial. ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
173,
|
| 510 |
+
492,
|
| 511 |
+
825,
|
| 512 |
+
617
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 5
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "Problem setup. Let $m = | \\mathcal { V } _ { \\mathrm { t r a i n } } |$ and $u = | \\nu _ { \\mathrm { t e s t } } |$ denote the training and test dataset sizes, respectively. Under the transductive learning setting, we start with a fixed set of points $X _ { m + u } = \\{ x _ { 1 } , \\ldots , x _ { m + u } \\}$ For notational convenience, we assume $X _ { m }$ are the first $m$ data points and $X _ { u }$ are the last $u$ data points of $X _ { m + u }$ . We randomly select a subset $X _ { m } ~ \\subset ~ X _ { m + u }$ uniformly at random and reveal the labels $Y _ { m }$ for the selected subset for training, but the labels for the remaining $u$ data points $Y _ { u } = Y _ { m + u } \\setminus Y _ { m }$ are not available during the training phase. Let $S _ { m } = ( ( x _ { 1 } , y _ { 1 } ) , \\bar { \\bf \\Phi } \\cdot \\cdot \\cdot , ( x _ { m } , \\bar { y } _ { m } ) )$ denotes the labeled set and $X _ { u } = ( x _ { m + 1 } , \\dots , x _ { m + u } )$ denotes the unlabeled set. Our goal is to learn a model to label the remaining unlabeled set as accurately as possible. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
173,
|
| 521 |
+
623,
|
| 522 |
+
825,
|
| 523 |
+
736
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 5
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "For the analysis purpose, we assume a binary classifier is applied to the final layer node representation $f ( \\mathbf { h } _ { i } ^ { ( L ) } ) = \\tilde { \\sigma } ( \\mathbf { v } ^ { \\top } \\mathbf { h } _ { i } ^ { ( L ) } )$ with $\\tilde { \\sigma } ( \\cdot )$ denotes the sigmoid function. We predict $\\hat { y } _ { i } = 1$ if $f ( \\mathbf { h } _ { i } ^ { ( L ) } ) > 1 / 2$ and $\\hat { y } _ { i } = 0$ otherwise, with ground truth label $y _ { i } \\in \\{ 0 , 1 \\}$ . Let denote the perturbed dataset as $S _ { m } ^ { i j } \\triangleq ( S _ { m } \\setminus \\{ ( x _ { i } , y _ { i } ) \\} ) \\cup \\{ ( x _ { j } , y _ { j } ) \\}$ and $X _ { u } ^ { i j } \\triangleq ( X _ { u } \\setminus \\{ x _ { j } \\} ) \\cup \\{ x _ { i } \\}$ , which is obtained by replacing the ith example in training set $S _ { m }$ with the $j$ th example from the testing set $X _ { u }$ . Let $\\pmb { \\theta }$ and $\\pmb { \\theta } ^ { i j }$ denote the weight parameters trained on the original dataset $( S _ { m } , X _ { u } )$ and the perturbed dataset $( S _ { m } ^ { i j } , X _ { u } ^ { i j } )$ , respectively. Then, we say transductive learner $f$ is $\\epsilon$ -uniformly stable if the outputs change less than $\\epsilon$ when we exchange two examples from the training set and testing set, i.e., for any $S _ { m } \\subset S _ { m + u }$ and any $i , j \\in [ m + u ]$ it holds that $\\begin{array} { r } { \\operatorname* { s u p } _ { i \\in [ m + u ] } | f ( \\mathbf { h } _ { i } ^ { ( L ) } ) - \\tilde { f } ( \\tilde { \\mathbf { h } } _ { i } ^ { ( L ) } ) ) | \\leq \\epsilon } \\end{array}$ , where $f ( \\mathbf { h } _ { i } ^ { ( L ) } )$ and $\\tilde { f } ( \\tilde { \\mathbf { h } } _ { i } ^ { ( L ) } )$ denote the prediction of node $i$ using parameters $\\pmb { \\theta }$ and $\\pmb { \\theta } ^ { i j }$ respectively. ",
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
741,
|
| 533 |
+
825,
|
| 534 |
+
833
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 5
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "",
|
| 541 |
+
"bbox": [
|
| 542 |
+
173,
|
| 543 |
+
90,
|
| 544 |
+
825,
|
| 545 |
+
154
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 6
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "To define testing error and training error in our setting, let us introduce the difference in probability between the correct and the incorrect label as $p ( z , y ) \\triangleq y ( 2 z - 1 ) + ( 1 - y ) ( 1 - 2 z )$ with $p ( z , y ) \\leq 0$ if there exists a classification error. Let denote the Then, the testing error is defined as $\\begin{array} { r } { \\mathcal { R } _ { u } ( f ) = \\frac { 1 } { u } \\sum _ { i = m + 1 } ^ { m + u } \\mathbf { 1 } \\{ p ( f ( \\mathbf { h } _ { i } ^ { ( L ) } ) , y _ { i } ) \\leq 0 \\} } \\end{array}$ $\\gamma$ -margin loss as $\\Phi _ { \\gamma } ( x ) = \\operatorname* { m i n } ( 1 , \\operatorname* { m a x } ( 0 , 1 - x / \\gamma ) )$ and the training . loss is defined as $\\begin{array} { r } { \\mathcal { R } _ { m } ^ { \\gamma } ( f ) = \\frac { 1 } { m } \\sum _ { i = 1 } ^ { m } \\Phi _ { \\gamma } ( - p ( f ( \\mathbf { h } _ { i } ^ { ( L ) } ) , y _ { i } ) ) } \\end{array}$ . 6 ",
|
| 552 |
+
"bbox": [
|
| 553 |
+
173,
|
| 554 |
+
160,
|
| 555 |
+
826,
|
| 556 |
+
243
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 6
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "Theorem 3 (Transductive uniform stability bound [17]). Let $f$ be a $\\epsilon$ -uniformly stable transductive learner and $\\gamma , \\delta > 0$ , and define $Q = m u / ( m + u )$ . Then, with probability at least $1 - \\delta$ over all training and testing partitions, we have $\\begin{array} { r } { \\mathcal { R } _ { u } ( f ) \\leq \\mathcal { R } _ { m } ^ { \\gamma } ( f ) + \\frac { 2 } { \\gamma } \\mathcal { O } \\left( \\epsilon \\sqrt { Q \\ln ( \\delta ^ { - 1 } ) } \\right) + \\mathcal { O } \\left( \\frac { \\ln ( \\delta ^ { - 1 } ) } { \\sqrt { Q } } \\right) } \\end{array}$ . ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
246,
|
| 566 |
+
825,
|
| 567 |
+
297
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 6
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Recall that as we discussed in Section 4, deeper GCN is provable more expressive and can achieve very low training error $\\mathcal { R } _ { m } ^ { \\gamma } ( f )$ if properly training. Then, if the dataset size is sufficiently large, the testing error $\\mathcal { R } _ { u } ( f )$ will be dominated by the generalization gap, which is mainly controlled by uniformly stable constant \u000f. In the following, we explore the impact of GCN structures on $\\epsilon$ . Our key idea is to decompose the $\\epsilon$ into three terms: the Lipschitz continuous constant $\\rho _ { f }$ , upper bound on gradient $G _ { f }$ , and the smoothness constant $L _ { f }$ of GCNs. Please refer to Lemma 1 for details. ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
173,
|
| 576 |
+
308,
|
| 577 |
+
825,
|
| 578 |
+
392
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 6
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "Lemma 1. Suppose function $f ( \\mathbf { h } ^ { ( L ) } )$ is $\\rho _ { f }$ -Lipschitz continuous, $L _ { f }$ -smooth, and the gradient of loss w.r.t. the parameter is bounded by $G _ { f }$ . After $T$ steps of full-batch gradient descent, we have $\\begin{array} { r } { \\epsilon = \\frac { 2 \\eta \\rho _ { f } G _ { f } } { m } \\sum _ { t = 1 } ^ { T } ( 1 + \\eta L _ { f } ) ^ { t - 1 } } \\end{array}$ ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
173,
|
| 587 |
+
396,
|
| 588 |
+
825,
|
| 589 |
+
445
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 6
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "The proof is deferred to Appendix K. By using Lemma 1, we can derive constant $\\epsilon$ of different model structures by comparing the Lipschitz continuity, smoothness, and gradient scale. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
171,
|
| 598 |
+
454,
|
| 599 |
+
823,
|
| 600 |
+
483
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 6
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "Before proceeding to our result, we make the following standard assumption on the node feature vectors and weight matrices, which are previously used in generalization analysis of GCNs [18, 36]. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
171,
|
| 609 |
+
489,
|
| 610 |
+
823,
|
| 611 |
+
518
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 6
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "Assumption 1. We assume the norm of node feature vectors, weight parameters are bounded, i.e., $\\| \\mathbf { x } _ { i } \\| _ { 2 } \\leq B _ { x }$ , $\\| \\mathbf { W } ^ { ( \\ell ) } \\| _ { 2 } \\le B _ { w }$ , and $\\| \\mathbf { v } \\| _ { 2 } \\leq 1$ . ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
522,
|
| 621 |
+
825,
|
| 622 |
+
551
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 6
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "In Theorem 4, we show that the generalization bounds of GCN and its variants are dominated by the following terms: maximum node degree $d$ , model depth $L$ , training/validation set size $( m , u )$ , training iterations $T$ , and spectral norm of the weight matrices $B _ { w }$ . The larger the aforementioned variables are, the larger the generalization gap is. We defer the formal statements and proofs to Appendices F, G, H, and I. ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
173,
|
| 631 |
+
561,
|
| 632 |
+
826,
|
| 633 |
+
631
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 6
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "Theorem 4 (Informal). We say model is \u000f-uniformly stable with \u000f = 2ηρf Gfm PTt= $\\begin{array} { r } { \\epsilon = \\frac { 2 \\eta \\rho _ { f } G _ { f } } { m } \\sum _ { t = 1 } ^ { T } ( 1 + \\eta L _ { f } ) ^ { t - 1 } } \\end{array}$ where the result of $\\rho _ { f } , G _ { f } , L _ { f }$ 1are summarized in Table 1, and other related constants as ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
635,
|
| 643 |
+
825,
|
| 644 |
+
667
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 6
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "equation",
|
| 650 |
+
"img_path": "images/d06acb6f3048917a30614325a03bfb2694498d74d3b517477ce7fb35b36d14d2.jpg",
|
| 651 |
+
"text": "$$\n\\begin{array} { r l } & { \\quad B _ { d } ^ { \\alpha } = ( 1 - \\alpha ) \\sum _ { \\ell = 1 } ^ { L } ( \\alpha \\sqrt { d } ) ^ { \\ell - 1 } + ( \\alpha \\sqrt { d } ) ^ { L } , \\ B _ { w } ^ { \\beta } = \\beta B _ { w } + ( 1 - \\beta ) , } \\\\ & { B _ { \\ell , d } ^ { \\alpha , \\beta } = \\operatorname* { m a x } \\big \\{ \\beta \\big ( ( 1 - \\alpha ) L + \\alpha \\sqrt { d } \\big ) , ( 1 - \\alpha ) L B _ { w } ^ { \\beta } + 1 \\big \\} . } \\end{array}\n$$",
|
| 652 |
+
"text_format": "latex",
|
| 653 |
+
"bbox": [
|
| 654 |
+
267,
|
| 655 |
+
674,
|
| 656 |
+
730,
|
| 657 |
+
719
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 6
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "In the following, we provide intuitions and discussions on the generalization bound of each algorithm: ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
171,
|
| 666 |
+
731,
|
| 667 |
+
825,
|
| 668 |
+
746
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 6
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "• Deep GCN requires iterations $T$ to achieve small training error. Since the generalization bound increases with $T$ , more iterations significantly hurt its generalization power. Note that our results considers both $B _ { w } \\le 1$ and $B _ { w } > 1$ , where increasing model depth will not hurt the generalization if $B _ { w } \\le 1$ , and the generalization gap becomes sensitive to the model depth if $B _ { w } > 1$ . Notice that $B _ { w } > 1$ is more likely to happen during training as we discussed in Section 4. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
181,
|
| 677 |
+
751,
|
| 678 |
+
825,
|
| 679 |
+
821
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 6
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "• ResGCN resolves the training difficulties by adding skip-connections between hidden layers. Although it requires less training iterations $T$ , adding skip-connections enlarges the dependency on the number of layers $L$ and the spectral norm of weight matrices $B _ { w }$ , therefore results in a larger generalization gap and a poor generalization performance.. ",
|
| 686 |
+
"bbox": [
|
| 687 |
+
184,
|
| 688 |
+
821,
|
| 689 |
+
823,
|
| 690 |
+
849
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 6
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "table",
|
| 696 |
+
"img_path": "images/92f5f070fa4028c630b33fb6dc832094abd2633a30e613342e710cfe80bc2104.jpg",
|
| 697 |
+
"table_caption": [
|
| 698 |
+
"Table 1: Comparison of uniform stability constant $\\epsilon$ of GCN variants, where $\\mathcal { O } ( \\cdot )$ is used to hide constants that shared between all bounds. "
|
| 699 |
+
],
|
| 700 |
+
"table_footnote": [],
|
| 701 |
+
"table_body": "<table><tr><td></td><td>Pf and Gf</td><td>Lf</td><td>C1 and C2</td></tr><tr><td>EGCN</td><td>O(CHC2)</td><td>O(CIC(L + 2)CIC + 2))</td><td>C1 = max{1,√dBw},C= √d(1+Bx)</td></tr><tr><td>EResGCN</td><td>O(CC2)</td><td>O(CIC2((L + 2)CIC2 + 2))</td><td>C1 =1+ √dBω,C = √d(1+Bx)</td></tr><tr><td>EAPPNP</td><td>0(C1)</td><td>O(Ci(CiC2) +1)</td><td>C1=BqBx,C2=max{1,Bω}</td></tr><tr><td>EGCNII</td><td>O(βCIC2)</td><td>O(aβCIC(αβL +2)CIC+ 2β))</td><td></td></tr><tr><td>EDGCN</td><td>0(C1)</td><td>O(Ci(CiC2) + 1)</td><td>C1 =(√d)LBx,C2 = max{1,Bω}</td></tr></table>",
|
| 702 |
+
"bbox": [
|
| 703 |
+
187,
|
| 704 |
+
127,
|
| 705 |
+
810,
|
| 706 |
+
227
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 7
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "",
|
| 713 |
+
"bbox": [
|
| 714 |
+
194,
|
| 715 |
+
250,
|
| 716 |
+
823,
|
| 717 |
+
279
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 7
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "• APPNP alleviates the aforementioned dependency by decoupling the weight parameters and feature propagation. As a result, its generalization gap does not significantly change as $L$ and $B _ { w }$ increase. The optimal $\\alpha$ that minimizes the generalization gap can be obtained by finding the $\\alpha$ that minimize the term $B _ { d } ^ { \\alpha }$ . Although APPNP can significantly reduce the generalization gap, because a single weight matrix is shared between all layers, its expressive power is not enough for large-scale challenging graph datasets [24]. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
183,
|
| 726 |
+
279,
|
| 727 |
+
825,
|
| 728 |
+
361
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 7
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "• To gain expressiveness, GCNII proposes to add the weight matrices back and add another hyper-parameter that explicitly controls the dependency on $B _ { w }$ . Although GCNII achieves the state-of-the-art performances on several graph datasets, the selection of hyper-parameters is non-trivial compared to APPNP because $\\alpha , \\beta$ are coupled with $L , B _ { w }$ , and $d$ . In practice, [6] builds a very deep GCNII by choosing $\\beta$ dynamically decreases as the number of layers and different $\\alpha$ values for different datasets. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
186,
|
| 737 |
+
361,
|
| 738 |
+
821,
|
| 739 |
+
443
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 7
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "• By property chosen hyper-parameters, we have the following order on the generalization gap given the same training iteration $T$ : $\\mathrm { A P P N P } \\leq \\mathrm { G C N I I } \\leq \\mathrm { G C N } \\leq \\mathrm { R e s G C N }$ , which exactly match our empirical evaluation on the generalization gap in Section 7 and Appendix E. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
183,
|
| 748 |
+
444,
|
| 749 |
+
821,
|
| 750 |
+
486
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "Remark 1. It is worthy to provide an alternative view of DropEdge [47] and PairNorm [61] algorithms from a generalization perspective. To improve the generalization power of standard GCNs, DropEdge randomly drops edges in the training phase, which leads to a smaller maximum node degree $d _ { s } < d$ . PairNorm applies normalization on intermediate node embeddings to ensure that the total pairwise feature distances remain constant across layers, which leads to less dependency on $d$ and $B _ { w }$ . However, since deep GCN requires significantly more iterations to achieve low training error than shallow one, the performance of applying DropEdge and PairNorm on GCNs is still degrading as the number of layers increases. Most importantly, our empirical results in Appendix E.3 and $E . 4$ suggest that applying Dropout and PairNorm is hurting the training accuracy (i.e., not alleviating over-smoothing) but reducing the generalization gap. ",
|
| 757 |
+
"bbox": [
|
| 758 |
+
173,
|
| 759 |
+
489,
|
| 760 |
+
825,
|
| 761 |
+
627
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 7
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "6 Decoupled GCN ",
|
| 768 |
+
"text_level": 1,
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
646,
|
| 772 |
+
346,
|
| 773 |
+
664
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "We propose to decouple the expressive power from generalization a(DGCN). The DGCN model can be mathematically formulated as $\\begin{array} { r } { \\mathbf { Z } \\ = \\ \\sum _ { \\ell = 1 } ^ { L } \\alpha _ { \\ell } f ^ { ( \\ell ) } ( \\mathbf { X } ) } \\end{array}$ GCN and $f ^ { ( \\ell ) } ( \\mathbf { X } ) = \\mathbf { P } ^ { \\ell } \\mathbf { X } \\big ( \\beta _ { \\ell } \\mathbf { W } ^ { ( \\ell ) } + ( 1 - \\beta _ { \\ell } ) \\mathbf { I } \\big )$ , where $\\mathbf { W } ^ { ( \\ell ) }$ , $\\alpha _ { \\ell }$ and $\\beta _ { \\ell }$ are the learnable weights for \\`th layer function $f ^ { ( \\ell ) } ( { \\mathbf { X } } )$ .7 The design of DGCN has the following key ingredients: ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
173,
|
| 782 |
+
676,
|
| 783 |
+
825,
|
| 784 |
+
742
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 7
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "• (Decoupling) The generalization gap in GCN grows exponentially with the number of layers. To overcome this issue, we propose to decouple the weight matrices from propagation by assigning weight $\\mathbf { W } ^ { ( \\ell ) }$ to each individual layerwise function ${ \\bf \\nabla } _ { f } ( \\ell ) _ { \\left( \\mathbf { X } \\right) }$ . DGCN can be thought of as an ensemble of multiple SGCs [54] with depth from 1 to $L$ . By doing so, the generalization gap has less dependency on the number of weight matrices, and deep models with large receptive fields can incorporate information of the global graph structure. Please refer to Theorem 5 for the details. • (Learnable $\\alpha _ { \\ell }$ ) After decoupling the weight matrices from feature propagation, the layerwise function $f ^ { ( \\ell ) } ( { \\mathbf { X } } )$ with more propagation steps can suffer from less expressive power. Therefore, we propose to assign a learnable weight $\\alpha _ { \\ell }$ for each step of feature propagation. Intuitively, DGCN assigns smaller weight $\\alpha _ { \\ell }$ to each layerwise function $f ^ { ( \\ell ) } ( { \\mathbf { X } } )$ with more propagation steps at the beginning of training. Throughout the training, DGCN gradually adjusts the weight to leverage more useful large receptive field information. • (Learnable $\\beta _ { \\ell }$ ) A learnable weight $\\beta _ { \\ell } \\in [ 0 , 1 ]$ is assigned to each weight matrix to balance the expressiveness with model complexity, which guarantees a better generalization ability. ",
|
| 791 |
+
"bbox": [
|
| 792 |
+
181,
|
| 793 |
+
747,
|
| 794 |
+
825,
|
| 795 |
+
876
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "image",
|
| 801 |
+
"img_path": "images/88a04fb0f7daceea30a7cea13af4ec513523ab772c3c5f05f55f2616f96d75ea.jpg",
|
| 802 |
+
"image_caption": [
|
| 803 |
+
"Figure 4: Comparison of generalization error on synthetic dataset. The curve early stopped at the largest training accuracy iteration. "
|
| 804 |
+
],
|
| 805 |
+
"image_footnote": [],
|
| 806 |
+
"bbox": [
|
| 807 |
+
173,
|
| 808 |
+
87,
|
| 809 |
+
818,
|
| 810 |
+
304
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 8
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "",
|
| 817 |
+
"bbox": [
|
| 818 |
+
181,
|
| 819 |
+
357,
|
| 820 |
+
825,
|
| 821 |
+
443
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 8
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "Theorem 5. Let suppose \u000fDGCN-uniformly stable with $\\begin{array} { r } { \\epsilon _ { D G C N } = \\frac { 2 \\eta \\rho _ { f } \\bar { G } _ { f } } { m } \\sum _ { t = 1 } ^ { T } ( 1 + \\eta L _ { f } ) ^ { t - 1 } } \\end{array}$ $\\beta _ { \\ell }$ during training. We say DGCN iswhere ",
|
| 828 |
+
"bbox": [
|
| 829 |
+
173,
|
| 830 |
+
446,
|
| 831 |
+
823,
|
| 832 |
+
479
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 8
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "equation",
|
| 838 |
+
"img_path": "images/716f853cfbc2d82e84c232f08536d9987c76182b483349c9fed2affad75a9566.jpg",
|
| 839 |
+
"text": "$$\n\\begin{array} { r } { \\rho _ { f } = G _ { f } = \\mathcal { O } \\Big ( ( \\sqrt { d } ) ^ { L } B _ { x } \\Big ) , L _ { f } = \\mathcal { O } \\Big ( ( \\sqrt { d } ) ^ { L } B _ { x } \\big ( ( \\sqrt { d } ) ^ { L } B _ { x } \\operatorname* { m a x } \\{ 1 , B _ { w } \\} + 1 ) \\big ) \\Big ) . } \\end{array}\n$$",
|
| 840 |
+
"text_format": "latex",
|
| 841 |
+
"bbox": [
|
| 842 |
+
230,
|
| 843 |
+
484,
|
| 844 |
+
766,
|
| 845 |
+
511
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "The details are deferred to Appendix J, and comparison of bound to other GCN variants are summarized in Table 1. Depending on the automatic selection of $\\alpha _ { \\ell } , \\beta _ { \\ell }$ , the generalization bound of DGCN is between APPNP and GCN. In the following, we make connection to many GCN structures: ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
522,
|
| 855 |
+
825,
|
| 856 |
+
564
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "• Connections to APPNP: APPNP can be thought of as a variant of DGCN. More specifically, the layerwise weight in APPNP is computed as $\\alpha _ { \\ell } = \\alpha ( 1 - \\alpha ) ^ { \\ell }$ for $\\ell < L$ and $\\alpha _ { \\ell } \\stackrel { \\cdot } { = } ( 1 - \\alpha ) ^ { \\cdot }$ for $\\ell = L$ given some constant $\\alpha \\in ( 0 , 1 )$ , and the weight matrix is shared between all layers. Although DGCN has $L$ weight matrices, its generalization is independent of the number of weight matrices, and thus enjoys a low generalization error with high expressiveness. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
183,
|
| 865 |
+
570,
|
| 866 |
+
825,
|
| 867 |
+
640
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "• Connections to GCNII: GCNII can be regarded as a variant of DGCN. Compared to GCNII, the decoupled propagation of DGCN significantly reduces the dependency of generalization error to the weight matrices. Besides, the learnable weights $\\alpha _ { \\ell }$ and $\\beta _ { \\ell }$ allow DGCN to automatically adapt to challenging large-scale datasets without time-consuming hyper-parameter selection. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
183,
|
| 876 |
+
640,
|
| 877 |
+
825,
|
| 878 |
+
695
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "• Connections to ResGCN: By expanding the forward computation of ResGCN, we know that ResGCN can be think of as training an ensemble of GCNs from 1 to $L$ layer, i.e., $\\begin{array} { r } { \\mathbf { H } ^ { ( L ) } = \\sum _ { \\ell = 1 } ^ { L } \\alpha _ { \\ell } \\sigma \\big ( \\mathbf { P H } ^ { ( \\ell - 1 ) } \\mathbf { W } ^ { ( \\ell ) } \\big ) } \\end{array}$ with $\\alpha _ { \\ell } = 1$ . In other word, ResNet can be regarded asL the “summation of the model complexity” of $L$ -layer. However, DGCN is using $\\begin{array} { r } { \\sum _ { \\ell = 1 } ^ { L ^ { - } } \\alpha _ { \\ell } = 1 } \\end{array}$ which can be thought of as a “weighted average of model complexity”. Therefore, ResGCN is a special case of DGCN with equal weights $\\alpha _ { \\ell }$ on each layerwise function. With just a simple change on the ResNet structure, our model DGCN is both easy to train and good to generalize. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
183,
|
| 887 |
+
695,
|
| 888 |
+
825,
|
| 889 |
+
792
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 8
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "7 Experiments ",
|
| 896 |
+
"text_level": 1,
|
| 897 |
+
"bbox": [
|
| 898 |
+
174,
|
| 899 |
+
810,
|
| 900 |
+
312,
|
| 901 |
+
828
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "Synthetic dataset. We empirically compare the generalization error of different GCN structures on the synthetic dataset. In particular, we create the synthetic dataset by contextual stochastic block model (CSBM) [13] with two equal-size classes. CSBM is a graph generation algorithm that adds Gaussian random vectors as node features on top of classical SBM. CSBM allows for smooth control over the information ratio between node features and graph topology by a pair of hyper-parameter $( \\mu , \\lambda )$ , where $\\mu$ controls the diversity of the Gaussian distribution and $\\lambda$ controls the number of edges between intra- and inter-class nodes. We generate random graphs with 1000 nodes, average node degree as 5, and each node has a Gaussian random vector of dimension 1000 as node features. We chose $7 5 \\%$ nodes as training set, $1 5 \\%$ of nodes as validation set for hyper-parameter tuning, and the remaining nodes as testing set. We conduct an experiment 20 times by randomly selecting $( \\mu , \\lambda )$ such that both node feature and graph topology are equally informative. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
842,
|
| 911 |
+
825,
|
| 912 |
+
911
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "",
|
| 919 |
+
"bbox": [
|
| 920 |
+
173,
|
| 921 |
+
90,
|
| 922 |
+
825,
|
| 923 |
+
174
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 9
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "As shown in Figure 4, we have the following order on the generalization gap given the same training iteration $T$ : $\\mathrm { A P P N P } \\leq \\mathrm { G C N I I } \\leq \\mathrm { G C N } \\leq \\mathrm { R e s G C N }$ , which exactly match the theoretical result in Theorem 4. More specifically, ResGCN has the largest generalization gap due to the skip-connections, APPNP has the smallest generalization gap by removing the weight matrices in each individual layer. GCNII achieves a good balance between GCN and APPNP by balancing the expressive and generalization power. Finally, DGCN enjoys a small generalization error by using the decoupled GCN structure. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
173,
|
| 932 |
+
181,
|
| 933 |
+
825,
|
| 934 |
+
277
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 9
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Open graph benchmark dataset. As pointed out by Hu et al. [24], the traditional commonly-used graph datasets are unable to provide a reliable evaluation due to various factors including dataset size, leakage of node features and no consensus on data splitting. To truly evaluate the expressive and the generalization power of existing methods, we evaluate on the open graph benchmark (OGB) dataset. Experiment setups are based on the default setting for GCN implementation on the leaderboard. We choose the hidden dimension as 128, learning rate as 0.01, dropout ratio as 0.5 for Arxiv dataset, and no dropout for Products and Protein datasets. We train $3 0 0 / 1 0 \\mathrm { \\bar { 0 } 0 / 5 0 0 }$ epochs for Products, Proteins, and Arxiv dataset respectively. Due to limited GPU memory, the number of layers is selected as the one with the best performance between 2 to 16 layers for Arxiv dataset, 2 to 8 layers for Protein dataset, and 2 to 4 for Products dataset. We choose $\\alpha _ { \\ell }$ from $\\{ 0 . 9 , 0 . 8 , 0 . 5 \\}$ for APPNP and GCNII, and use $\\beta _ { \\ell } = 0 . 5 / \\ell$ for GCNII, and select the setup with the best validation result for comparison. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
284,
|
| 944 |
+
825,
|
| 945 |
+
436
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 9
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "As shown in Table 2, DGCN achieves a compatible performance to $\\mathrm { G C N I I ^ { 8 } }$ without the need of manually tuning the hyper-parameters for all settings, and it significantly outperform APPNP and ResGCN. Due to the space limit, the detailed setups and more results can be found in Appendix E. Notice that generalization bounds are more valuable when comparing two models with same training accuracy (therefore we first show in Section 4 that deeper model can also achieve low training error before our discussion on generalization in Section 5). ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
174,
|
| 954 |
+
443,
|
| 955 |
+
825,
|
| 956 |
+
526
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 9
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "In Table 2, because ResGCN has no restriction on the weight matrices, it can achieve lower training error and its test performance is mainly restricted by its generalization error. However, because GCNII and APPNP have restrictions on the weight matrices, their performance is mainly restricted by their training error. A model with small generalization error and no restriction on the weight (e.g., DGCN) ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
526,
|
| 966 |
+
446,
|
| 967 |
+
662
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 9
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "table",
|
| 973 |
+
"img_path": "images/322783d37de7981207dc65cfe933bc9584f22afa7692b9b722f87c2e7865de6c.jpg",
|
| 974 |
+
"table_caption": [
|
| 975 |
+
"Table 2: Comparison of F1-score on OGB dataset. "
|
| 976 |
+
],
|
| 977 |
+
"table_footnote": [
|
| 978 |
+
"is preferred as it has higher potential to reach a better test accuracy by reducing its training error. "
|
| 979 |
+
],
|
| 980 |
+
"table_body": "<table><tr><td>%</td><td>Products</td><td>Proteins</td><td>Arvix</td></tr><tr><td>GCN</td><td>75.39 ± 0.21</td><td>71.66 ± 0.48</td><td>71.56 ± 0.19</td></tr><tr><td>ResGCN</td><td>75.53 ± 0.12</td><td>74.50 ± 0.41</td><td>72.56 ± 0.31</td></tr><tr><td>APPNP</td><td>66.35±0.10</td><td>71.78±0.29</td><td>68.02 ±0.55</td></tr><tr><td>GCNII</td><td>71.93 ± 0.35t</td><td>75.60±0.47</td><td>72.57 ± 0.23‡</td></tr><tr><td>DGCN</td><td>76.09 ± 0.29</td><td>75.45 ± 0.24</td><td>72.63± 0.12</td></tr></table>",
|
| 981 |
+
"bbox": [
|
| 982 |
+
460,
|
| 983 |
+
549,
|
| 984 |
+
813,
|
| 985 |
+
657
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 9
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "8 Conclusion ",
|
| 992 |
+
"text_level": 1,
|
| 993 |
+
"bbox": [
|
| 994 |
+
174,
|
| 995 |
+
707,
|
| 996 |
+
297,
|
| 997 |
+
724
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 9
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "In this work, we show that there exists a discrepancy between over-smoothing based theoretical results and the practical behavior of deep GCNs. Our theoretical result shows that a deeper GCN can be as expressive as a shallow GCN, if it is properly trained. To truly understand the performance decay issue of deep GCNs, we provide the first transductive uniform stability-based generalization analysis of GCNs and other GCN structures. To improve the optimization issue and benefit from depth, we propose DGCN that enjoys a provable high expressive power and generalization power. We conduct empirical evaluations on various synthetic and real-world datasets to validate the correctness of our theory and advantages over the baselines. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
173,
|
| 1006 |
+
744,
|
| 1007 |
+
825,
|
| 1008 |
+
856
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Acknowledgements ",
|
| 1015 |
+
"text_level": 1,
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
176,
|
| 1018 |
+
89,
|
| 1019 |
+
338,
|
| 1020 |
+
106
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 10
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "This work was supported in part by NSF grant 2008398. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
121,
|
| 1030 |
+
542,
|
| 1031 |
+
136
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 10
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "References ",
|
| 1038 |
+
"text_level": 1,
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
174,
|
| 1041 |
+
157,
|
| 1042 |
+
266,
|
| 1043 |
+
172
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 10
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "[1] Uri Alon and Eran Yahav. On the bottleneck of graph neural networks and its practical implications. In International Conference on Learning Representations, 2020. \n[2] Rianne van den Berg, Thomas N Kipf, and Max Welling. Graph convolutional matrix completion. arXiv preprint arXiv:1706.02263, 2017. \n[3] Olivier Bousquet and André Elisseeff. Stability and generalization. Journal of machine learning research, 2(Mar):499–526, 2002. \n[4] Chen Cai and Yusu Wang. A note on over-smoothing for graph neural networks. arXiv preprint arXiv:2006.13318, 2020. \n[5] Lei Chen, Zhengdao Chen, and Joan Bruna. On graph neural networks versus graph-augmented mlps. In International Conference on Learning Representations, 2020. \n[6] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 1725–1735. PMLR, 2020. \n[7] Zhengdao Chen, Lei Chen, Soledad Villar, and Joan Bruna. Can graph neural networks count substructures? In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. \n[8] Eli Chien, Jianhao Peng, Pan Li, and Olgica Milenkovic. Adaptive universal generalized pagerank graph neural network. 2021. \n[9] Weilin Cong, Rana Forsati, Mahmut T. Kandemir, and Mehrdad Mahdavi. Minimal variance sampling with provable guarantees for fast training of graph neural networks. In KDD ’20: The 26th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Virtual Event, CA, USA, August 23-27, 2020, pages 1393–1403. ACM, 2020. \n[10] Zhiyong Cui, Kristian Henrickson, Ruimin Ke, and Yinhai Wang. Traffic graph convolutional recurrent neural network: A deep learning framework for network-scale traffic learning and forecasting. IEEE Transactions on Intelligent Transportation Systems, 2019. \n[11] Kenneth R Davidson and Stanislaw J Szarek. Local operator theory, random matrices and banach spaces. Handbook of the geometry of Banach spaces, 1(317-366):131, 2001. \n[12] Songgaojun Deng, Huzefa Rangwala, and Yue Ning. Learning dynamic context graphs for predicting social events. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1007–1016. ACM, 2019. \n[13] Yash Deshpande, Subhabrata Sen, Andrea Montanari, and Elchanan Mossel. Contextual stochastic block models. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 8590–8602, 2018. \n[14] Kien Do, Truyen Tran, and Svetha Venkatesh. Graph transformation policy network for chemical reaction prediction. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 750–760. ACM, 2019. \n[15] Simon S. Du, Kangcheng Hou, Ruslan Salakhutdinov, Barnabás Póczos, Ruosong Wang, and Keyulu Xu. Graph neural tangent kernel: Fusing graph neural networks with graph kernels. In Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 5724–5734, 2019. \n[16] David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gómez-Bombarelli, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P. Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pages 2224–2232, 2015. \n[17] Ran El-Yaniv and Dmitry Pechyony. Stable transductive learning. In Learning Theory, 19th Annual Conference on Learning Theory, COLT 2006, Pittsburgh, PA, USA, June 22-25, 2006, Proceedings, volume 4005 of Lecture Notes in Computer Science, pages 35–49. Springer, 2006. \n[18] Vikas K. Garg, Stefanie Jegelka, and Tommi S. Jaakkola. Generalization and representational limits of graph neural networks. In Proceedings of the 37th International Conference on Machine Learning, ICML 2020, 13-18 July 2020, Virtual Event, volume 119 of Proceedings of Machine Learning Research, pages 3419–3430. PMLR, 2020. \n[19] 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, pages 249–256. JMLR Workshop and Conference Proceedings, 2010. \n[20] Shunwang Gong, Mehdi Bahri, Michael M. Bronstein, and Stefanos Zafeiriou. Geometrically principled connections in graph neural networks. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 11412–11421. IEEE, 2020. \n[21] William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, pages 1024–1034, 2017. \n[22] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, Santiago, Chile, December 7-13, 2015, pages 1026–1034. IEEE Computer Society, 2015. \n[23] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770–778. IEEE Computer Society, 2016. \n[24] Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. \n[25] Wei Huang, Yayong Li, Weitao Du, Richard Yi Da Xu, Jie Yin, and Ling Chen. Wide graph neural networks: Aggregation provably leads to exponentially trainability loss. arXiv preprint arXiv:2103.03113, 2021. \n[26] Wenbing Huang, Yu Rong, Tingyang Xu, Fuchun Sun, and Junzhou Huang. Tackling oversmoothing for general graph convolutional networks. arXiv e-prints, pages arXiv–2008, 2020. \n[27] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. \n[28] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017. \n[29] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. \n[30] Kezhi Kong, Guohao Li, Mucong Ding, Zuxuan Wu, Chen Zhu, Bernard Ghanem, Gavin Taylor, and Tom Goldstein. Flag: Adversarial data augmentation for graph neural networks. arXiv preprint arXiv:2010.09891, 2020. \n[31] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1269–1278. ACM, 2019. \n[32] AA Leman and B Weisfeiler. A reduction of a graph to a canonical form and an algebra arising during this reduction. Nauchno-Technicheskaya Informatsiya, 2(9):12–16, 1968. \n[33] Guohao Li, Matthias Müller, Ali K. Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 9266–9275. IEEE, 2019. \n[34] Jia Li, Zhichao Han, Hong Cheng, Jiao Su, Pengyun Wang, Jianfeng Zhang, and Lujia Pan. Predicting path failure in time-evolving graphs. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1279–1289. ACM, 2019. \n[35] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, (AAAI-18), the 30th innovative Applications of Artificial Intelligence (IAAI-18), and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence (EAAI-18), New Orleans, Louisiana, USA, February 2-7, 2018, pages 3538–3545. AAAI Press, 2018. \n[36] Renjie Liao, Raquel Urtasun, and Richard Zemel. A pac-bayesian approach to generalization bounds for graph neural networks. arXiv preprint arXiv:2012.07690, 2020. \n[37] Andreas Loukas. What graph neural networks cannot learn: depth vs width. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n[38] Sitao Luan, Mingde Zhao, Xiao-Wen Chang, and Doina Precup. Training matters: Unlocking potentials of deeper graph convolutional neural networks. arXiv preprint arXiv:2008.08838, 2020. \n[39] Christopher Morris, Martin Ritzert, Matthias Fey, William L. Hamilton, Jan Eric Lenssen, Gaurav Rattan, and Martin Grohe. Weisfeiler and leman go neural: Higher-order graph neural networks. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 4602–4609. AAAI Press, 2019. \n[40] Quynh Nguyen. On the proof of global convergence of gradient descent for deep relu networks with linear widths. arXiv preprint arXiv:2101.09612, 2021. \n[41] Kenta Oono and Taiji Suzuki. Graph neural networks exponentially lose expressive power for node classification. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n[42] Kenta Oono and Taiji Suzuki. Optimization and generalization analysis of transduction through gradient boosting and application to multi-scale graph neural networks. Advances in Neural Information Processing Systems, 33, 2020. \n[43] Namyong Park, Andrey Kan, Xin Luna Dong, Tong Zhao, and Christos Faloutsos. Estimating node importance in knowledge graphs using graph neural networks. In Proceedings of the $2 5 t h$ ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 596–606. ACM, 2019. \n[44] Jiezhong Qiu, Jian Tang, Hao Ma, Yuxiao Dong, Kuansan Wang, and Jie Tang. Deepinf: Modeling influence locality in large social networks. In KDD, 2018. \n[45] Afshin Rahimi, Trevor Cohn, and Timothy Baldwin. Semi-supervised user geolocation via graph convolutional networks. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2009–2019. Association for Computational Linguistics, 2018. \n[46] Morteza Ramezani, Weilin Cong, Mehrdad Mahdavi, Anand Sivasubramaniam, and Mahmut Kandemir. Gcn meets gpu: Decoupling “when to sample” from “how to sample”. Advances in Neural Information Processing Systems, 33, 2020. \n[47] Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n[48] Ruslan Salakhutdinov. Deep learning. In The 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’14, New York, NY, USA - August 24 - 27, 2014, page 1973. ACM, 2014. \n[49] Franco Scarselli, Ah Chung Tsoi, and Markus Hagenbuchner. The vapnik–chervonenkis dimension of graph and recursive neural networks. Neural Networks, 108:248–259, 2018. \n[50] Saurabh Verma and Zhi-Li Zhang. Stability and generalization of graph convolutional neural networks. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1539– 1548. ACM, 2019. \n[51] Hao Wang, Tong Xu, Qi Liu, Defu Lian, Enhong Chen, Dongfang Du, Han Wu, and Wen Su. MCNE: an end-to-end framework for learning multiple conditional network representations of social network. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 1064–1072. ACM, 2019. \n[52] Hongwei Wang, Fuzheng Zhang, Mengdi Zhang, Jure Leskovec, Miao Zhao, Wenjie Li, and Zhongyuan Wang. Knowledge-aware graph neural networks with label smoothness regularization for recommender systems. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 968–977. ACM, 2019. \n[53] Xiang Wang, Xiangnan He, Yixin Cao, Meng Liu, and Tat-Seng Chua. KGAT: knowledge graph attention network for recommendation. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 950–958. ACM, 2019. \n[54] Felix Wu, Amauri H. Souza Jr., Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Q. Weinberger. Simplifying graph convolutional networks. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 6861–6871. PMLR, 2019. \n[55] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. \n[56] Keyulu Xu, Jingling Li, Mozhi Zhang, Simon S. Du, Ken-ichi Kawarabayashi, and Stefanie Jegelka. What can neural networks reason about? In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n[57] Keyulu Xu, Mozhi Zhang, Jingling Li, Simon Shaolei Du, Ken-Ichi Kawarabayashi, and Stefanie Jegelka. How neural networks extrapolate: From feedforward to graph neural networks. In International Conference on Learning Representations, 2021. \n[58] Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. arXiv preprint arXiv:2102.06462, 2021. \n[59] Chaoqi Yang, Ruijie Wang, Shuochao Yao, Shengzhong Liu, and Tarek Abdelzaher. Revisiting\" over-smoothing\" in deep gcns. arXiv preprint arXiv:2003.13663, 2020. \n[60] Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L. Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2018, London, UK, August 19-23, 2018, pages 974–983. ACM, 2018. \n[61] Lingxiao Zhao and Leman Akoglu. Pairnorm: Tackling oversmoothing in gnns. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. \n[62] Kuangqi Zhou, Yanfei Dong, Wee Sun Lee, Bryan Hooi, Huan Xu, and Jiashi Feng. Effective training strategies for deep graph neural networks. arXiv preprint arXiv:2006.07107, 2020. \n[63] Xianchen Zhou and Hongxia Wang. The generalization error of graph convolutional networks may enlarge with more layers. Neurocomputing, 424:97–106, 2021. ",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
174,
|
| 1052 |
+
178,
|
| 1053 |
+
828,
|
| 1054 |
+
921
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 10
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
171,
|
| 1063 |
+
64,
|
| 1064 |
+
828,
|
| 1065 |
+
915
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 11
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
166,
|
| 1074 |
+
68,
|
| 1075 |
+
828,
|
| 1076 |
+
915
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 12
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
171,
|
| 1085 |
+
25,
|
| 1086 |
+
828,
|
| 1087 |
+
897
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 13
|
| 1090 |
+
}
|
| 1091 |
+
]
|
parse/train/r-oRRT-ElX/r-oRRT-ElX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r-oRRT-ElX/r-oRRT-ElX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1YqWz-R-/r1YqWz-R-.md
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
Conditional sequence generation is a widely researched topic. One of the most important tasks is dialogue generation, which is composed of input-output pairs with the one-to-many property. Given the recent success of generative adversarial networks (GANs), GANs have been used for sequence generation. However, there is still limited work of its application on conditional sequence generation. We investigate the influence of GAN on conditional sequence generation with three artificial grammars and dialogue generation. Moreover, we propose stepwise GAN (StepGAN) for conditional sequence generation, which predicts the reward at each time-step. StepGAN can be seen as the general version of SeqGAN. It estimates the expected returns predicted by Monte-Carlo Search in SeqGAN, but it has a lower computational cost than Monte-Carlo Search. Experimental results show that stepwise GAN can outperform other state-of-the-art algorithms in most tasks.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Conditional sequence generation is the task of generating the correspondent response given an input sequence. One of the most important applications is dialogue generation. Dialogue generation is one-to-many; that is, there can be many acceptable responses for a specific input. In previous work, the sequence-to-sequence based dialogue generation model is trained using maximum likelihood estimation, and achieves promising results in terms of both meaning and coherence (Vinyals & Le, 2015). Despite this success, the generated responses given the inputs are still sometimes broken and are often general (for example, I don’t know). Reinforcement learning was therefore proposed to preserve sequence-level quality as opposed to predicting each word given the sequence history (Ranzato et al., 2015; Kandasamy et al., 2017; Bahdanau et al., 2016).
|
| 12 |
+
|
| 13 |
+
More recently, generative adversarial networks have been applied to sequence generation, especially for natural language. The discrete nature of random variables for natural language precludes the use of back-propagation. To solve this problem, several approaches have been proposed, such as policy gradient (Yu et al., 2017; Li et al., 2017), Gumbel-Softmax (Kusner & Hernandez-Lobato, 2016), ´ MaliGAN (Che et al., 2017), and directly connected WGAN-GP (Gulrajani et al., 2017; Rajeswar et al., 2017; Press et al., 2017). In most previous work, multiple assistant methods are used to stabilize training and often introduce improvements, for example, Monte-Carlo search (Yu et al., 2017; Li et al., 2017; Che et al., 2017) and curriculum learning (Rajeswar et al., 2017; Press et al., 2017). Furthermore, modifications of the GAN objective function have been proposed to improve quality in text generation (Zhang et al., 2017; Lin et al., 2017).
|
| 14 |
+
|
| 15 |
+
SeqGAN has been successfully applied on dialogue generation (Li et al., 2017). Due to the high variance of SeqGAN with 1-sample estimate REINFORCE algorithm, researchers use Marte-Carlo search for variation reduction. This method costs extremely high computational resources, therefore Reward for Every Generation Step (REGS) is proposed to replace Monte-Carlo search (Li et al., 2017). Nonetheless, REGS results in a less accurate discriminator because it takes non-terminal sequences into consideration.
|
| 16 |
+
|
| 17 |
+
To address the weaknesses of Monte-Carlo Search and REGS, we propose stepwise GAN (StepGAN). In this approach, the discriminator evaluates the generated sequences at every generation step, and gives a score for every step. A final score for the whole sequence is the summation of the scores for every time step. This training scheme makes StepGAN a general version of SeqGAN, and can simulate the process of Monte-Carlo search with low extra computational cost. In the proposed approach, both generator and discriminator include weighted factors that change the relative importance of each time step. We find step-time-decreasing weight factors can facilitate the training. This is because the set of hyper-parameters simulate curriculum learning by focusing on generating the head of a sequence. After the first subsequence is fit, further improvement are found in later subsequences.
|
| 18 |
+
|
| 19 |
+
We construct artificial grammars to assist our realization of GANs in conditional sequence generation. In these tasks, we calculate the accuracy and the coverage of the generated conditioned sequence to evaluate the quality of the model. The coverage is the percentage of the conditioned sequences sampled from the model distribution over all the probable responses. While accuracy reflects coherence and meaningfulness, coverage measures the diversity of the responses. We further compare the proposed approach with several conditional sequence generation approaches on dialogue generation, and evaluate the results by humans. The proposed models are comparable with or even outperform state-of-the-art algorithms.
|
| 20 |
+
|
| 21 |
+
# 2 RELATED WORK
|
| 22 |
+
|
| 23 |
+
Conditional sequence generation using the seq2seq model (Sutskever et al., 2014; Vinyals & Le, 2015) has been widely studied, and also for dialogue generation. The model can be learned by maximum-likelihood estimation (MLE), which minimizes the word-level cross-entropy between the true data distribution and the generated approximation. Although this method yields reasonable responses, it suffers from exposure bias and does not take into account sequence-level structure (Ranzato et al., 2015). Exposure bias is introduced because of inconsistent conditions between the training and testing stages: while the ground-truth words are fed to the seq2seq model in the training stage, generated words are used in the testing stage.
|
| 24 |
+
|
| 25 |
+
To solve these problems with MLE, besides beam search and scheduled sampling (Bengio et al., 2015), (Ranzato et al., 2015) propose the REINFORCE and MIXER algorithms for sequence generation. By providing a task-specific score for the generated sequence, the REINFORCE algorithm (Williams, 1992) guides the seq2seq model to reach higher scores. Because the score is evaluated based on the whole generated sequence, both MLE problems are solved. However, as the REINFORCE algorithm cannot easily train the model from scratch, the MIXER algorithm is proposed to integrate MLE and REINFORCE. In this process, they first train the whole sequence using MLE, after which they accumulate the number of last words trained by REINFORCE. For further improvements, (Bahdanau et al., 2016) adopt another reinforcement learning (Sutton & Barto, 1998) based approach – the actor-critic architecture. They train a critic to predict the expected value of each time step to guide the actor. These algorithms outperform the original MLE algorithm on the task-specific score (BLEU) for text generation. Nonetheless, there is no evidence that these taskspecific scores are correlated with human prior knowledge. In particular, the relationship between the scores and human evaluation has been proven weak for dialogue generation (Liu et al., 2016).
|
| 26 |
+
|
| 27 |
+
Recently, the significant success of generative adversarial networks (GAN) for image processing has led researchers to use GANs for natural language. However, this has seen limited success because of the difficulty of backpropagation through discrete random variables. To address this problem, (Yu et al., 2017) use policy gradients on text generation. The reward is provided by a discriminator with Monte-Carlo search. In addition, (Li et al., 2017) adopt the same idea for dialogue generation. They also propose Reward for Every Generation Step (REGS), which is more time-efficient but is weaker than Monte-Carlo search. Another way to use GAN for natural-language tasks is by using GumbelSoftmax (Kusner & Hernandez-Lobato, 2016), which can simulate the discrete argmax outputs, ´ and be directly backpropagated from the discriminator. Also, MaliGAN (Che et al., 2017) directly derives the gradient estimator for discrete data. More recently, the improved Wasserstein GAN (WGAN-GP) (Gulrajani et al., 2017) has shown success for text generation by directly feeding the softmax layer to the discriminator, even without pre-training. This breakthrough then inspired (Press et al., 2017) and (Rajeswar et al., 2017) to further investigate WGAN-GP for better performance on text generation.
|
| 28 |
+
|
| 29 |
+
We focus on the influence of different objective function in GANs on conditional sequence generation throughout this paper. We compare the state-of-the-art algorithms without additional assistance such as teacher forcing, curriculum learning, etc. By this setting, we only consider the improvement attributed by the intrinsic of different algorithms rather than other additional assistances.
|
| 30 |
+
|
| 31 |
+
# 3 CONDITIONAL SEQUENCE GENERATION
|
| 32 |
+
|
| 33 |
+
In conditional sequence generation, we generate an output sequence $x \in X$ given an input condition $y \in Y$ . When the output sequence is generated from a model, it is denoted $x ^ { G }$ ; when the output sequence is from real data (training examples), it is instead denoted $x ^ { R }$ . In dialogue generation, both $x$ and $y$ are sequences of words. They can be written as
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
\begin{array} { r } { x = \{ x _ { t } \} _ { t = 1 } ^ { T } , x _ { t } \in V } \\ { y = \{ y _ { t } \} _ { t = 1 } ^ { T } , y _ { t } \in V . } \end{array}
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
Words $x _ { t }$ and $y _ { t }$ represent the word at time step $t$ in the interval $T$ of the specific sequences $x$ and $y$ . Set $V$ is the vocabulary set from which the words are selected. In this paper, we generate $x ^ { G }$ given $y$ using the seq2seq model as the generator $G$ (Sutskever et al., 2014; Vinyals & Le, 2015). From Sections 3.1 to 3.3, we introduce maximum likelihood estimation, REINFORCE algorithm, and GAN for sequence generation. In Section 4, we introduce the proposed approaches.
|
| 40 |
+
|
| 41 |
+
# 3.1 MAXIMUM LIKELIHOOD ESTIMATION
|
| 42 |
+
|
| 43 |
+
The basic idea of maximum likelihood estimation (MLE) for conditional sequence generation is to find the parameters for model $G$ that maximize the likelihood of generating the training data. When using MLE to train the generator model $G$ , the objective function is
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
G ^ { * } = \arg \operatorname* { m a x } _ { G } E _ { ( x ^ { R } , y ) \sim P ^ { R } ( X , Y ) } [ \sum _ { t = 1 } ^ { T } \log ( P ^ { G } ( x _ { t } ^ { R } | y , x _ { 1 \dots t - 1 } ^ { R } ) ) ] ,
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
whof . $P ^ { R } ( X , Y )$ is the joint distribution of the ning stage, in Eq. (2), the pre $( x , y )$ pairs in the training n is learned based on $T$ e length, but the $x ^ { R }$ $< y , x _ { 1 \ldots t - 1 } ^ { R } >$ condition in the testing stage is $< y , x _ { 1 \ldots t - 1 } ^ { G } >$ . This is known as exposure bias, which can result in accumulating error when testing. This is also due to the likelihood is estimated at the word level (Ranzato et al., 2015) only as opposed to the whole sequence.
|
| 50 |
+
|
| 51 |
+
# 3.2 REINFORCE
|
| 52 |
+
|
| 53 |
+
Conditional sequence generation can be formulated as reinforcement learning. Similar to (Ranzato et al., 2015), we describe it as a Markov decision process (MDP), where state $s$ consists of the condition and previous word sequence – in our case, $s = < y , x _ { 1 . . . t - 1 } ^ { G } > -$ and an action $a$ is the generated word conditioned on the current state – in our case, $a = x _ { t } ^ { G }$ is a word in the vocabulary. Each action is generated according to the policy, which is determined by the parameters of generator model $G$ . In typical reinforcement learning, the agent obtains a reward $r _ { t }$ at each time step $t$ . In sequence generation, $r _ { t }$ is zero except for $r _ { T }$ , which evaluates the goodness of the whole generating $x _ { 1 \ldots T } ^ { G ^ { \star } }$ given $y$ . The generator $G$ learns to maximize the expected reward
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
G ^ { * } = \arg \operatorname* { m a x } _ { G } E _ { y \sim P ^ { R } \left( Y \right) , x ^ { G } \sim P ^ { G } \left( X \mid y \right) } [ r _ { T } ] ,
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $P ^ { R } ( Y )$ is the probability distribution of condition $y$ in the training data, $P ^ { G } ( X | y )$ is the probability of generating the sequence $x ^ { G }$ given the generator $G$ and condition . Note that the main difference between Equations (2) and (3) is that the condition sequence here is $x _ { 1 \ldots t - 1 } ^ { G }$ rather than $x _ { 1 \ldots t - 1 } ^ { R }$ . Moreover, each $x _ { t } ^ { G }$ here is sampled using softmax rather than argmax over vocabulary set $V$ . The parameters of the generator $\theta _ { G }$ are updated as
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\theta _ { G } \theta _ { G } + \eta ( r _ { T } - b _ { t } ) \nabla \log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } ) ) ,
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
where $b _ { t }$ is the baseline to reduce training variance (Sutton & Barto, 1998; Ranzato et al., 2015), and $\eta$ is the learning rate.
|
| 66 |
+
|
| 67 |
+
# 3.3 GENERATIVE ADVERSARIAL NETWORK
|
| 68 |
+
|
| 69 |
+
A generative adversarial network (GAN) is composed of a generator and a discriminator (Goodfellow et al., 2014). The discriminator differentiates between real data and data from the generator, and the generator attempts to generate plausible data that will deceive the discriminator. Here we use GAN for conditional sequence generation by considering our model $G$ as the generator and constructing a discriminator $D$ sequentially fed with input-output pairs $y$ and $x$ (Mirza & Osindero, 2014; Li et al., 2017).
|
| 70 |
+
|
| 71 |
+
# 3.3.1 SEQGAN
|
| 72 |
+
|
| 73 |
+
Since the vocabulary $V$ in the generated sequence is a discrete variable, we cannot backpropagate through the generator. In SeqGAN ( $\mathrm { Y u }$ et al., 2017; Li et al., 2017), the generation task is formulated as a reinforcement learning scenario, similar to that described in Section 3.2, and the reward function is replaced with the discriminator in regular GAN. The discriminator $D$ is then updated through backpropagation, while the generator $G$ is updated using policy gradient with a reward evaluated over $x$ given $y$ by $D$ . The optimization functions for $D$ and $G$ are
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\begin{array} { r l } { } & { \mathcal { D } ^ { * } = \underset { D } { \arg \operatorname* { m a x } } E _ { y \sim P ^ { R } \left( Y \right) , x ^ { R } \sim \mathit { P } ^ { R } \left( X \mid y \right) } [ \log ( D ( x ^ { R } | y ) ) ] + E _ { y \sim \mathit { P } ^ { R } \left( Y \right) , x ^ { G } \sim \mathit { P } ^ { G } \left( X \mid y \right) } [ \log ( 1 - \mathit { D } ( x ^ { G } | y ) ) ] } \\ { } & { \mathcal { X } ^ { * } = \underset { G } { \arg \operatorname* { m a x } } E _ { y \sim \mathit { P } ^ { R } \left( Y \right) , x ^ { G } \sim \mathit { P } ^ { G } \left( X \mid y \right) } [ \mathit { D } ( x ^ { G } | y ) ] . } \end{array}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
In the basic SeqGAN, $G$ in Equation (5) is optimized using the REINFORCE algorithm. The formulation for optimizing $G$ in Equation (5) is the same as Equation (3), except that $r _ { T }$ is replaced with $D ( x ^ { G } | y )$ .
|
| 80 |
+
|
| 81 |
+
Due to the sparse reward that only given at the terminal state, this basic setting will cause high training variance. For example, when questioning ”What ’s your name ?”, ”I ’m sorry.” is a wrong answer, while ”I ’m John.” is a correct answer. Although they share the same prefix $\because \mathrm { m } ^ { \prime }$ , the basic SeqGAN will give the prefix different reward in different sentences. The solution in (Yu et al., 2017; Che et al., 2017) is Monte Carlo search. For each prefix $x _ { 1 \ldots t }$ , $N$ possible sequences $x _ { t + 1 \ldots T }$ are samples according to the current policy, and the $N$ final rewards are averaged as the reward for current time step. In practice, we have to complete every prefixes for each training data in a batch, and evaluate all of the $m T N$ episodes, where $m$ is the batch size. This method costs extremely high computational resource. For time efficiency, (Li et al., 2017) proposes Reward for Every Generation Step (REGS) to replace Monte Carlo search. Because they train the discriminator in REGS with prefixes without considering whether the episode is terminated, REGS causes a less accurate discriminator.
|
| 82 |
+
|
| 83 |
+
# 3.3.2 WASSERSTEIN GAN WITH GRADIENT PENALTY (WGAN-GP)
|
| 84 |
+
|
| 85 |
+
In recent work, WGAP-GP has been successfully used for sequence generation (Gulrajani et al., 2017; Rajeswar et al., 2017; Press et al., 2017). Instead of using more complicate methods such as policy gradient, they directly feed the softmax layer into the discriminator. The generator can therefore be updated through backpropagation. We then formulate the conditional version of WGAN-GP as
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\begin{array} { r l } & { D ^ { * } = \underset { D } { \arg \operatorname* { m a x } } E _ { y \sim P ^ { R } ( y ) , x ^ { R } \sim P ^ { R } ( X | y ) } [ D ( x ^ { R } | y ) ] - E _ { y \sim P ^ { R } ( y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] } \\ & { G ^ { * } = \underset { G } { \arg \operatorname* { m a x } } E _ { y \sim P ^ { R } ( Y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] . } \end{array}
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
# 4 PROPOSED APPROACH: STEPWISE GAN
|
| 92 |
+
|
| 93 |
+
The basic idea of stepwise GAN (see Fig. 1), or StepGAN, is to construct a sequence-to-sequence model as discriminator $D$ . At each time step of $D$ ’s decoder, the hidden vector is passed to a fully-connected layer. The discriminator $D$ then outputs the evaluation score for each subsequence $\langle y , x _ { 1 \ldots t } \rangle$ , denoted as $D ( x _ { 1 . . . t } | y )$ . With discriminator $D$ , we seek to minimize the summation of $D ( x _ { 1 \ldots t } ^ { G } | y )$ over the time steps when input the generated sequences $x ^ { G }$ . Simultaneously, $D$ maximizes the summation of $D ( x _ { 1 \ldots t } ^ { \mathrm { { R } } } | y )$ when the input is real data $x ^ { R }$ . The optimization of $D$ and $G$ is
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 1: Illustration of stepwise GAN
|
| 97 |
+
|
| 98 |
+
thus
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\begin{array} { l } { { \displaystyle D ^ { \prime } ( x | y ) = \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { D } D \big ( x _ { 1 \dots t } | y \big ) } } \\ { { \displaystyle D ^ { * } = \arg \operatorname* { m a x } _ { D } E _ { y \sim P ^ { R } ( y ) , x ^ { R } \sim P ^ { R } ( X | y ) } [ \log ( D ^ { \prime } ( x ^ { R } | y ) ) ] } } \\ { { \displaystyle \qquad + E _ { y \sim P ^ { R } ( y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ \log \big ( 1 - D ^ { \prime } ( x ^ { G } | y ) \big ) ] , } } \\ { { \displaystyle G ^ { * } = \arg \operatorname* { m a x } _ { G } E _ { y \sim P ^ { R } ( Y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] , } } \end{array}
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
where $\alpha _ { t } ^ { D }$ is a weighted factor with $\textstyle \sum _ { t = 1 } ^ { T } \alpha _ { t } ^ { D } = 1$ . In practice, we set $\begin{array} { r } { \alpha _ { t } ^ { D } = \frac { 1 } { T } } \end{array}$ , but it is possible assign scores for each prefix. Although we only use one way to train $D$ , we think there are two ways to interpret the $D$ ’s scores, and different view points lead to different update formulations for $G$ :
|
| 105 |
+
|
| 106 |
+
• $D ( x _ { 1 . . . t } | y )$ evaluates the extra benefit of adding the word $x _ { t }$ into the sequence. The formulation for $G$ ’s parameter update is
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\theta _ { G } \theta _ { G } + \eta \alpha _ { t } ^ { G } ( \sum _ { t ^ { \prime } = t } ^ { T } D ( x _ { 1 \dots t ^ { \prime } } | y ) ) \nabla \log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } ) ) .
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
$G$ has to increase the summation $\scriptstyle \sum _ { t ^ { \prime } = t } ^ { T } D ( x _ { 1 \dots t ^ { \prime } } | y )$ . We call this stepGAN-Seq.
|
| 113 |
+
|
| 114 |
+
• $D ( x _ { 1 . . . t } | y )$ evaluates the average goodness of all the sequences beginning with $x _ { 1 \ldots t }$ . The update formulation for $\theta _ { G }$ is
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\theta _ { G } \gets \theta _ { G } + \eta \alpha _ { t } ^ { G } D ( x _ { 1 \dots t } | y ) \nabla \log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } ) ) .
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
The $G$ only needs to learn to increase $D ( x _ { 1 \ldots t } | y )$ . We call this stepGAN in following.
|
| 121 |
+
|
| 122 |
+
Using factor $\alpha _ { t } ^ { G }$ , we diversify training by arbitrarily weighting the importance of each time step1. We explore the influence of different values of $\alpha _ { t } ^ { \check { G } }$ and compare the two update formulations in section 5 and appendix B.
|
| 123 |
+
|
| 124 |
+
StepGAN-Seq is a generalized version of SeqGAN. If we set $\alpha _ { T } ^ { D } = 1$ , $\alpha _ { t } ^ { D } = 0$ for $t < T$ , and $\alpha _ { t } ^ { G } = 1$ for all $t$ , then stepGAN-Seq is equivalent to SeqGAN without Monte Carlo search. Also, REGS (Li et al., 2017) can be induced by set $\alpha _ { t } ^ { D } = 1$ at a randomly chosen time step.
|
| 125 |
+
|
| 126 |
+
StepGAN is similar to the actor-critic architecture in (Bahdanau et al., 2016). Instead of the assigned task-specific score, we learn the score by adversarial learning. Because $D$ ’s scores are the expected return in this setting, we would like StepGAN to approximate the expected return obtained by SeqGAN or MaliGAN with Monte Carlo search. This approach only need to add a set of weight factors, and therefore much time efficient than Monte Carlo search. For more details of the algorithm, please refer to appendix A for pseudo-code.
|
| 127 |
+
|
| 128 |
+
# 5 EXPERIMENTS
|
| 129 |
+
|
| 130 |
+
We use a recurrent neural network for both the discriminator and generator due to its strong sequential correlation (Press et al., 2017; Rajeswar et al., 2017). Specifically, we use gated recurrent units (GRUs) (Chung et al., 2014) in our experiments. We view the noise feature in GAN as the random process of sampling from the softmax layer distribution.
|
| 131 |
+
|
| 132 |
+
# 5.1 ARTIFICIAL GRAMMARS
|
| 133 |
+
|
| 134 |
+
To better evaluate GANs for conditional sequence generation, we define three artificial grammars: sequence, counting, and addition. The three grammars are described in Table 1. For the sequence grammar, the aim is to generate a continued consecutive number sequence behind the input $Y$ . For example, for input $\langle 1 , 2 , 3 \rangle$ , the answer would be a consecutive number sequence of any length starting with 4, such as $\langle 4 , 5 , 6 , 7 , 8 \rangle$ . The counting grammar is more complicated. The generated sequence should contain exactly 3 words, where the median is a randomly selected word from the input sequence. The first generated word should be the number of words on the left-hand side of the selected median, while the last generated word should be the number of words on the right-hand side. For example, when the input is $\langle 5 , 9 , 2 , 8 , 3 , 2 , 9 , 1 \rangle$ , one permissible generated sequence is $\langle 0 , 5 , 7 \rangle$ . Last, for the addition grammar we generate the addition of two numbers randomly segmented from the input sequence. That is, for input $\langle 8 , 1 , 3 , 4 \rangle$ , then one permissible output is the addition of 8 and 134 – thus $\langle 1 , 4 , 2 \rangle$ . Note that both the input and output numbers for this grammar are represented in terms of their corresponding digits.
|
| 135 |
+
|
| 136 |
+
The purpose of these design is to imitate major properties in dialogue generation, such as variablelength, repeated prefixes, the same sequence space, one-to-many, and many-to-one. The variablelength property means there is no fixed length for the input and output sequences. The repeated prefixes property means the beginning subsequences are usually shared by many data, for instance What and I am in natural language. The same sequence space here means that the input and output have the same structure and as such are sampled from the same space. Finally, one-to-many and many-to-one are quite common in dialogue generation. For example, when asking How are you?, responses vary from I’m fine to Great! How are you?. Also, the same response can be paired with multiple questions, such as for My name is Paul in response to What’s your name? and Who are you?.
|
| 137 |
+
|
| 138 |
+
We then randomly generate 100,000 samples as training data, 10,000 as development data, and 10,000 samples as testing data. The architectures are set to one layer with 128 hidden units. We evaluate our results using the three measures in Table 2. The first is the accuracy of samples generated from the argmax policy (Acc), the second is that generated from the softmax probability (AccS), and the last is the coverage of softmax samples over all the permissible answers of the specific grammar (Cov). We report them to ensure whether the one-to-many property is being learned. AccS and Cov are important because they can indicate if the model can learn the underlying distribution of answers. When mode collapse happens, which means the model only know a specific type of answers, it will obtain high AccS and low Cov scores. To ensure a fair comparison, all the algorithms are based on the same pre-trained model: the MLE model listed in Table 2.
|
| 139 |
+
|
| 140 |
+
Table 1: Grammar definitions and examples
|
| 141 |
+
|
| 142 |
+
<table><tr><td>Grammar</td><td>Definition</td><td>Examples</td></tr><tr><td>Sequence</td><td>Continue the sequence for a random length</td><td>123: 4, 45,...</td></tr><tr><td>Counting</td><td>Randomly choose a digit, and then calculate the left-and right-hand lengths</td><td>123: 012,121, 230</td></tr><tr><td>Addition</td><td>Randomly partition,and then add the two numbers</td><td>123: 15,24</td></tr></table>
|
| 143 |
+
|
| 144 |
+
Table 2: Results of artificial grammars with different algorithms. Evaluation label Acc $( \% )$ is the accuracy of argmax samples, AccS $( \% )$ is the accuracy of softmax samples, and Cov $( \% )$ is the coverage of softmax samples over permissible answers. The dash (-) here indicates that the algorithm introduced no improvements based on the pre-trained model.
|
| 145 |
+
|
| 146 |
+
<table><tr><td colspan="4"> Sequence</td><td colspan="3">Counting</td><td colspan="3">Addition</td></tr><tr><td></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td></tr><tr><td>MLE</td><td>97.43</td><td>81.32</td><td>53.77</td><td>73.48</td><td>68.89</td><td>70.63</td><td>44.57</td><td>32.28</td><td>31.79</td></tr><tr><td>REINFORCE</td><td>99.81</td><td>97.30</td><td>4.54</td><td>99.97</td><td>99.36</td><td>16.99</td><td>79.98</td><td>75.60</td><td>18.32</td></tr><tr><td>WGAN-GP</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>basic-MaliGAN</td><td>97.34</td><td>81.66</td><td>54.19</td><td>74.12</td><td>70.35</td><td>70.15</td><td>44.27</td><td>32.05</td><td>31.92</td></tr><tr><td>basic-SeqGAN</td><td>97.20</td><td>80.28</td><td>57.61</td><td>74.59</td><td>70.56</td><td>70.39</td><td>44.87</td><td>32.30</td><td>31.90</td></tr><tr><td>MC-SeqGAN</td><td>97.20</td><td>80.98</td><td>55.49</td><td>72.96</td><td>68.10</td><td>70.54</td><td>44.72</td><td>32.28</td><td>31.83</td></tr><tr><td>REGS</td><td>97.42</td><td>81.36</td><td>53.82</td><td>75.99</td><td>70.93</td><td>69.40</td><td>44.64</td><td>32.32</td><td>32.01</td></tr><tr><td>StepGAN-Seq</td><td>97.11</td><td>74.85</td><td>67.49</td><td>75.47</td><td>70.64</td><td>69.82</td><td>45.55</td><td>32.49</td><td>32.01</td></tr><tr><td>StepGAN</td><td>97.19</td><td>75.92</td><td>66.08</td><td>81.98</td><td>72.24</td><td>69.02</td><td>44.94</td><td>32.19</td><td>31.67</td></tr></table>
|
| 147 |
+
|
| 148 |
+
We discuss the results of MLE, REINFORCE, and state-of-the-art GAN algorithms on Sequence, Counting, and Addition in Table 2. REINFORCE has higher Acc and AccS than ${ \mathrm { M L E } } ^ { 2 }$ , but it results in strong mode-collapse (very low Cov). We have a very strong MLE baseline for Sequence. Therefore we cannot pretrain discriminator well based on this baseline MLE model. Every GAN algorithms cannot outperform MLE by this setting. StepGAN improves Acc on both Counting and Addition without heavily trade-off with Cov. That is, training model using StepGAN enhances and maintains the knowledge of underlying distribution rather than resulting in strong mode-collapse as REINFORCE.
|
| 149 |
+
|
| 150 |
+
To investigate the trade-off between AccS and Cov, we plot the accuracy-coverage curve in Fig. 2. The trade-off between accuracy and coverage is controlled by sharpening the softmax layer. Besides Fig. 2a, of which the GANs do not obtain good results, StepGAN improves the accuracy-coverage curves in Fig. 2b and Fig. 2c. This is consistent with our realization of Table 2 that StepGAN fits model to the underlying distribution better.
|
| 151 |
+
|
| 152 |
+
# 5.2 DIALOGUE GENERATION
|
| 153 |
+
|
| 154 |
+
We split OpenSubtitles (Tiedemann, 2009) into training set, development set, and testing set with a vocabulary of the top 4,000 most frequently occurring words. Both the generator and discriminator are 1-layer GRUs with a hidden dimension set to $5 1 2 ^ { 3 }$ . To compare the improvements introduced by all the algorithms, we first pre-trained the generator using MLE, after which we further trained the model for 1-epoch by different GANs. SeqGAN, MaliGAN, REGS, and StepGAN were compared. We do not compare Monte Carlo search with other approaches because its time complexity is much larger. All discriminators of SeqGAN, MaliGAN, REGS, and StepGAN were pre-trained on real
|
| 155 |
+
|
| 156 |
+

|
| 157 |
+
Figure 2: Sampled accuracy and coverage curves
|
| 158 |
+
|
| 159 |
+
Table 3: Human evaluation and BLEU score for dialogue generation. CoHS $( \% )$ is coherence human score. SHS $( \% )$ is sentence structure human score.
|
| 160 |
+
|
| 161 |
+
<table><tr><td></td><td colspan="3">CoHS (%)</td><td colspan="3">SHS (%)</td><td colspan="3">BLEU</td></tr><tr><td></td><td>Argmax</td><td>BS</td><td>MMI</td><td>Argmax</td><td>BS</td><td>MMI</td><td>Argmax</td><td>BS</td><td>MMI</td></tr><tr><td>MLE</td><td>44.89</td><td>54.22</td><td>60.44</td><td>15.11</td><td>1.33</td><td>7.56</td><td>0.222</td><td>0.281</td><td>0.272</td></tr><tr><td>SeqGAN</td><td>41.33</td><td>53.33</td><td>63.55</td><td>30.67</td><td>6.22</td><td>10.22</td><td>0.202</td><td>0.267</td><td>0.251</td></tr><tr><td>MaliGAN</td><td>35.56</td><td>51.11</td><td>45.33</td><td>20.89</td><td>5.78</td><td>8.00</td><td>0.180</td><td>0.271</td><td>0.263</td></tr><tr><td>REGS</td><td>36.44</td><td>54.67</td><td>53.78</td><td>36.44</td><td>9.33</td><td>9.78</td><td>0.180</td><td>0.256</td><td>0.246</td></tr><tr><td>StepGAN</td><td>47.56</td><td>63.56</td><td>61.33</td><td>40.89</td><td>3.56</td><td>8.89</td><td>0.171</td><td>0.254</td><td>0.248</td></tr></table>
|
| 162 |
+
|
| 163 |
+
data and generated data from the pre-trained generator. Note that these models were all trained without MIXER, curriculum learning, or teacher forcing, etc. Both the generator and discriminator are optimized by SGD. We used grid search in the experiments with learning rate={1e-1,1e-2,1e-3}, discriminator iteration step={1,5}, and used batchsize $_ { = 6 4 }$ .
|
| 164 |
+
|
| 165 |
+
For human evaluation, we randomly selected 25 inputs from the testing set, and decoded using argmax policy, beam search, and MMI (Li et al., 2015)4. We presented both an input and the generated outputs to 8 and 4 judges respectively, and we asked them to do Turing test (correct or not) of the coherence and sentence structure. Coherence is the rationality of the generated responses given inputs. Sentence structure is the correctness and complexity of grammar. The sentences provide specific information would be considered as having better sentence structure rather than the general ones (egs. I don’t know.) due to more complex grammar. In Table 3, the two measures are labeled as CoHS (Coherence Human Score) and SHS (Sentence structure Human Score). We also show the BLEU score of each algorithm. It was already found that BLEU score is inconsistent with human evaluation (Liu et al., 2016), we also observe the same phenomenon it in our experiments.
|
| 166 |
+
|
| 167 |
+
We show the CoHS and SHS of 15 different results (5 different algorithms and 3 different decoding methods) in Table 3. First, we can see decoding using beam search or MMI improve CoHS. StepGAN obtains the best performance in terms of CoHS when using argmax policy or beam search, but StepGAN cannot further increase the performance using MMI. When using MMI, the CoHS of MLE, SeqGAN and StepGAN are comparable. Second, argmax policy has higher SHS than beam search and MMI in all cases. In the meantime, GANs have higher SHS than MLE, and StepGAN has the highest score with argmax. The inconsistency of improvement between argmax policy, beam search and MMI is very likely because that the GANs are learned with the softmax policy and do not consider beam search and MMI during training. Additionally, we know beam search and MMI maximize the probability of response given an input without maintaining the probability of the response itself. This makes them prefer a coherence response rather than a good sentence structure. These statistics show that SeqGAN, MaliGAN, and REGS cannot consistently improve both coherence and sentence structure, whereas StepGAN outperforms MLE in terms both CoHS and SHS with all decoding methods.5
|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 3: The variation of discriminators’ scores using different GAN algorithms during training iterations. The printed color is normalized throughout the generation steps $\mathbf { \bar { x } }$ -axis) for each algorithm. (a)(b) are given “how are you ?” as input, and (c)(d) are given “what ’s your name ?” as input.
|
| 171 |
+
|
| 172 |
+
To understand what the discriminators learn, we measure the variance throughout the training iterations at each generation step. In adversarial learning, discriminator’s scores oscillate during training according to the current performance of generator. We argue that discriminator’s score for the most crucial generation step is the most easy to oscillate. This is because the generation step is the most important one for discriminator to identify whether it’s real or fake. In Fig. (3), we show four examples. Fig. (3a) and Fig. (3b) are respectively true response and wrong response given input question ”how are you ?”, and Fig. (3c) and Fig. (3d) are given input question ”what ’s your name ?. The darker color indicates the higher variance on the generation step.
|
| 173 |
+
|
| 174 |
+
In Fig. (3), the colors for SeqGAN is always the same. Because the disriminator of SeqGAN only evaluate the whole sequence, the generation steps means no difference to discriminator. Second, REGS and StepGAN both aim to approximate Monte-Carlo search on SeqGAN, but in practice, we can clearly see that the variance of REGS is very different from Monte Carlo search. This is because REGS considers non-terminated episodes, which makes REGS has to spend extra effort on the generation maximum length to check whether there’s a terminal state $( < E O S > )$ . The results of StepGAN and Monte Carlo search (MC-SeqGAN) are quite similar. Based on MC-SeqGAN and StepGAN, the important parts (with darker colors) in the sentences for discriminating the true ones from fake correspond to human knowledge. For example, ”fine , thank you ” are the most important region in Fig. (3a), ”sorry , i ’m sorry” are the most important region in Fig. (3b) when answering ”how are you ?”. When given ”what ’s your name ?”, MC-SeqGAN and StepGAN focus on ”’m john” in Fig. (3c) and ”sorry” in Fig. (3d). We believe the success of StepGAN comes from estimating the goodness of a sequence at every generation step as Monte Carlo search, but with little extra computation.
|
| 175 |
+
|
| 176 |
+
# 6 CONCLUSION
|
| 177 |
+
|
| 178 |
+
In this paper we propose StepGAN to approximate Monte Carlo search with a much lower computational cost.We show that the proposed StepGAN performs equally to or outperforms the state-ofthe-art GAN algorithms on artificial grammars. On a representative real-world conditional sequence generation task–dialogue generation, StepGAN also outperforms other approaches on both coherence and sentence structure.
|
| 179 |
+
|
| 180 |
+
Our proposed artificial grammars not only accurately reflect model coverage and accuracy but also boast clearly distinguishable styles. For example, the sequence style can be the length, the counting style can be the selected digit position, and the addition style can be the selected partition position. This property lends itself to investigating style transfering for sequences generation, which is one of our aims for future work.
|
| 181 |
+
|
| 182 |
+
REFERENCES
|
| 183 |
+
Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville, and Yoshua Bengio. An actor-critic algorithm for sequence prediction. arXiv preprint arXiv:1607.07086, 2016.
|
| 184 |
+
Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems, pp. 1171–1179, 2015.
|
| 185 |
+
Tong Che, Yanran Li, Ruixiang Zhang, R Devon Hjelm, Wenjie Li, Yangqiu Song, and Yoshua Bengio. Maximum-likelihood augmented discrete generative adversarial networks. arXiv preprint arXiv:1702.07983, 2017.
|
| 186 |
+
Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014.
|
| 187 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014.
|
| 188 |
+
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017.
|
| 189 |
+
Kirthevasan Kandasamy, Yoram Bachrach, Ryota Tomioka, Daniel Tarlow, and David Carter. Batch policy gradient methods for improving neural conversation models. arXiv preprint arXiv:1702.03334, 2017.
|
| 190 |
+
Matt J Kusner and Jose Miguel Hern ´ andez-Lobato. Gans for sequences of discrete elements with ´ the gumbel-softmax distribution. arXiv preprint arXiv:1611.04051, 2016.
|
| 191 |
+
Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. A diversity-promoting objective function for neural conversation models. arXiv preprint arXiv:1510.03055, 2015.
|
| 192 |
+
Jiwei Li, Will Monroe, Tianlin Shi, Alan Ritter, and Dan Jurafsky. Adversarial learning for neural dialogue generation. arXiv preprint arXiv:1701.06547, 2017.
|
| 193 |
+
Kevin Lin, Dianqi Li, Xiaodong He, Zhengyou Zhang, and Ming-Ting Sun. Adversarial ranking for language generation. arXiv preprint arXiv:1705.11001, 2017.
|
| 194 |
+
Chia-Wei Liu, Ryan Lowe, Iulian V Serban, Michael Noseworthy, Laurent Charlin, and Joelle Pineau. How not to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. arXiv preprint arXiv:1603.08023, 2016.
|
| 195 |
+
Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014.
|
| 196 |
+
Ofir Press, Amir Bar, Ben Bogin, Jonathan Berant, and Lior Wolf. Language generation with recurrent generative adversarial networks without pre-training. arXiv preprint arXiv:1706.01399, 2017.
|
| 197 |
+
Sai Rajeswar, Sandeep Subramanian, Francis Dutil, Christopher Pal, and Aaron Courville. Adversarial generation of natural language. arXiv preprint arXiv:1705.10929, 2017.
|
| 198 |
+
Marc’Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. arXiv preprint arXiv:1511.06732, 2015.
|
| 199 |
+
|
| 200 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014.
|
| 201 |
+
|
| 202 |
+
Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998.
|
| 203 |
+
|
| 204 |
+
Jorg Tiedemann. News from OPUS - A collection of multilingual parallel corpora with tools ¨ and interfaces. In N. Nicolov, K. Bontcheva, G. Angelova, and R. Mitkov (eds.), Recent Advances in Natural Language Processing, volume V, pp. 237–248. John Benjamins, Amsterdam/Philadelphia, Borovets, Bulgaria, 2009. ISBN 978 90 272 4825 1.
|
| 205 |
+
|
| 206 |
+
Oriol Vinyals and Quoc Le. A neural conversational model. arXiv preprint arXiv:1506.05869, 2015.
|
| 207 |
+
|
| 208 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992.
|
| 209 |
+
|
| 210 |
+
Lantao Yu, Weinan Zhang, Jun Wang, and Yong Yu. Seqgan: Sequence generative adversarial nets with policy gradient. In AAAI, pp. 2852–2858, 2017.
|
| 211 |
+
|
| 212 |
+
Yizhe Zhang, Zhe Gan, Kai Fan, Zhi Chen, Ricardo Henao, Dinghan Shen, and Lawrence Carin. Adversarial feature matching for text generation. arXiv preprint arXiv:1706.03850, 2017.
|
| 213 |
+
|
| 214 |
+
Junbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial network. arXiv preprint arXiv:1609.03126, 2016.
|
| 215 |
+
|
| 216 |
+
# A APPENDIX: PSEUDO CODE OF STEPWISE GAN
|
| 217 |
+
|
| 218 |
+
Table 4: Pseudo code of stepwise GAN
|
| 219 |
+
Algorithm 1 Stepwise GAN (StepGAN) Training
|
| 220 |
+
|
| 221 |
+
<table><tr><td>1</td><td>for number of training iterations do</td></tr><tr><td>2</td><td>for i=1, D-steps do Sample (y,xR) from real data</td></tr><tr><td>3</td><td></td></tr><tr><td>4</td><td>Sample xG ~ PG(.ly)</td></tr><tr><td>5</td><td>Update D using equation (7) T</td></tr><tr><td>6</td><td>D'(xly)=∑-1PD(x.tly)</td></tr><tr><td>7</td><td>D* = arg maxD Ey~pR(y),R~pR(xly)[log(D'(xR|y))] +Ey~PR(y),xG~PG(xly)[log(1-D'(xG|y)]</td></tr><tr><td>8</td><td>end for</td></tr><tr><td>9</td><td>for i=1, G-steps do</td></tr><tr><td>10</td><td>Sample y from real data</td></tr><tr><td>11</td><td>Sample xG ~ PG(.ly)</td></tr><tr><td>12</td><td>Update G using equation (9)</td></tr><tr><td>13</td><td>0G ←0G + na£D(x1...tly)Vlog(𝑝G(x£ly,x...t-1))</td></tr><tr><td>14</td><td>end for</td></tr><tr><td>15</td><td>end for</td></tr><tr><td></td><td></td></tr></table>
|
| 222 |
+
|
| 223 |
+
# B WEIGHTED FACTORS SEARCH OF STEPGAN AND STEPGAN-SEQ
|
| 224 |
+
|
| 225 |
+
Table 5: StepGAN and StepGAN-Seq with different weight factors. The dash (-) here notes that the weight factors yield neither improvements nor deterioration.
|
| 226 |
+
|
| 227 |
+
<table><tr><td colspan="7">StepGAN StepGAN-Seq</td></tr><tr><td colspan="2"></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS Cov</td></tr><tr><td rowspan="3">Sequence</td><td>Uniform</td><td>97.19</td><td>75.92</td><td>66.08</td><td>97.11</td><td>74.85 67.49</td></tr><tr><td>Increase</td><td>97.17</td><td>75.33</td><td>66.75 97.18</td><td>73.30</td><td>68.19</td></tr><tr><td>Decrease</td><td>97.16</td><td>74.73</td><td>67.14</td><td>97.09 74.34</td><td>67.48</td></tr><tr><td rowspan="3">Counting</td><td>Uniform</td><td>77.23</td><td>71.43</td><td>70.18</td><td>74.91</td><td>70.70 69.84</td></tr><tr><td>Increasing</td><td>74.50</td><td>69.66</td><td>70.86</td><td>74.54 70.74</td><td>70.11</td></tr><tr><td>Decreasing</td><td>81.98</td><td>72.24</td><td>69.02</td><td>75.47 70.64</td><td>69.82</td></tr><tr><td rowspan="3">Addition</td><td>Uniform</td><td>44.26</td><td>32.39</td><td>31.91</td><td>44.77</td><td>32.34 31.65</td></tr><tr><td>Increasing</td><td>1</td><td>1 -</td><td>=</td><td>1</td><td>1</td></tr><tr><td>Decreasing</td><td>44.94</td><td>32.19</td><td>31.67</td><td>45.55 32.49</td><td>32.01</td></tr></table>
|
| 228 |
+
|
| 229 |
+
We compare different weighted factors $\alpha ^ { G }$ for StepGAN and StepGAN-Seq, with $\begin{array} { r } { \alpha _ { t } ^ { D } = \frac { 1 } { T } } \end{array}$ for all the presented cases. As depicted in Table 5, the three grammars are trained using three sorts of weighted factors: uniform $\begin{array} { r } { \dot { \left( \alpha _ { t } ^ { G } \ = \ 1 \right) } } \end{array}$ ), increasing $( \alpha _ { t } ^ { G } \ = t )$ , and decreasing $( \alpha _ { t } ^ { G } \ = \ T - \ t + 1 )$ . The results clearly show that the time-step-decreasing weight factors positively affect training. We believe this is because the training spirit of decreased weighted factor start from first correcting prefix. After correcting prefix, it becomes easier to correct the suffix. Please refer to section 5 if you are interested in the details of Acc, AccS, and Cov.
|
| 230 |
+
|
| 231 |
+
# C ENERGY-BASED STEPWISE GAN (EBSTEPGAN)
|
| 232 |
+
|
| 233 |
+
We propose energy-based stepwise GAN (EBStepGAN) that only change the form of objective function of StepGAN. This is mainly inspired by energy-based GAN (Zhao et al., 2016). As depicted in Fig. 4, the discriminator $D$ here has the same architecture as generator $G$ , and its energy function is cross-entropy. Discriminator assigns low energy to real samples and high enery to generated samples. The advantage of EBStepGAN is that we can initialize both generator and discriminator with the same pre-trained model using MLE. The optimization functions are written as
|
| 234 |
+
|
| 235 |
+

|
| 236 |
+
Figure 4: Illustration of energy-based stepwise GAN
|
| 237 |
+
|
| 238 |
+
$$
|
| 239 |
+
\begin{array} { l } { { \displaystyle D ^ { * } = \arg \operatorname* { m a x } _ { D } E _ { ( x ^ { R } , y ) \sim P ^ { R } ( X , Y ) } [ \sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { R } | y , x _ { 1 \dots t - 1 } ^ { R } ) ) ] } } \\ { { \displaystyle \qquad + m a x i m u m ( 0 , \beta - E _ { y \sim P ^ { R } ( Y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ \sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } ) ) ] ) } } \end{array}
|
| 240 |
+
$$
|
| 241 |
+
|
| 242 |
+
$$
|
| 243 |
+
G ^ { * } = \arg \operatorname* { m a x } _ { G } E _ { y \sim P ^ { R } ( Y ) , x ^ { G } \sim P ^ { G } ( X | y ) } [ \sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } ) ) ] ,
|
| 244 |
+
$$
|
| 245 |
+
|
| 246 |
+
where $P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \dots t - 1 } ^ { G } )$ in Equation (11) is the probability of generating $x _ { t } ^ { G }$ given $< y , x _ { 1 \ldots t - 1 } ^ { G } >$ based on the current model , and $\beta$ in Equation (10) is the threshold for preventing the discriminator from distinguishing generated samples from real samples too easily. When the energy of generated samples is too high, the threshold turns off the second term in (10). The results of EBStepGAN is shown in Table 6. According to Table 6, EBStepGAN does not show better performance than StepGAN in our current experiments.
|
| 247 |
+
|
| 248 |
+
Table 6: Results of artificial grammars by EBStepGAN. Please check Table 2 for other results.
|
| 249 |
+
|
| 250 |
+
<table><tr><td colspan="4"> Sequence</td><td colspan="3">Counting</td><td colspan="3">Addition</td></tr><tr><td></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td></tr><tr><td>EBStepGAN</td><td>97.32</td><td>80.09</td><td>57.12</td><td>79.78</td><td>71.52</td><td>68.44</td><td>45.74</td><td>32.68</td><td>32.11</td></tr></table>
|
| 251 |
+
|
| 252 |
+
# D APPENDIX: EXAMPLES OF NEURAL DIALOGUE GENERATION
|
| 253 |
+
|
| 254 |
+
Table 7: Examples of neural dialogue generation trained on OpenSubtitles
|
| 255 |
+
|
| 256 |
+
<table><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>hello,i'm senator snatch</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry .i'm sorry,i'm sorry.i'm a good man . i'm here to see you againsorry you 're late</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i got the money right here .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry .i'm here to help .ican.ican 't do it .i'll take you home .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>hope you enjoyed your pee ..because it ’'s your last on this trip .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>it 's not a problem . it 's not your fault .it doesn 't matter . it 's not a dream . it 's the only thing i can do .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>he say ... if you want to be an actor,he has something to show you .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>you 're not .you can 't do that .what 's he mean ?he 's a very good guy , you know .you 're not gonna be a liar .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1> thank you, thank you .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry.i'm sorry ,sir .thank you .i'll be right back .you 're welcome .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i feel like a paris princess.</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>iknow it .i know that you 're not there .i feel like ..i can 't see it . you 're not a child anymore .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i'm tired of all your questions</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm gonna have to ask you to come . i'm gonna call you .i'ma friend. i 'm going to have to ask you to come in i'm going to be a friend of you .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1> it 's great .</td></tr><tr><td rowspan=1 colspan=2>MLE yeah.SeqGAN it 's great, huh ?MaliGAN it 's great .REGS i was just thinking about it .StepGAN you 're so sweet .</td></tr></table>
|
parse/train/r1YqWz-R-/r1YqWz-R-_content_list.json
ADDED
|
@@ -0,0 +1,1248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ARIAL NETWORKS BY STEPWISE EVALUATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
170
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
195,
|
| 20 |
+
398,
|
| 21 |
+
223
|
| 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 |
+
275
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Conditional sequence generation is a widely researched topic. One of the most important tasks is dialogue generation, which is composed of input-output pairs with the one-to-many property. Given the recent success of generative adversarial networks (GANs), GANs have been used for sequence generation. However, there is still limited work of its application on conditional sequence generation. We investigate the influence of GAN on conditional sequence generation with three artificial grammars and dialogue generation. Moreover, we propose stepwise GAN (StepGAN) for conditional sequence generation, which predicts the reward at each time-step. StepGAN can be seen as the general version of SeqGAN. It estimates the expected returns predicted by Monte-Carlo Search in SeqGAN, but it has a lower computational cost than Monte-Carlo Search. Experimental results show that stepwise GAN can outperform other state-of-the-art algorithms in most tasks. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
290,
|
| 43 |
+
764,
|
| 44 |
+
457
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
482,
|
| 55 |
+
336,
|
| 56 |
+
497
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Conditional sequence generation is the task of generating the correspondent response given an input sequence. One of the most important applications is dialogue generation. Dialogue generation is one-to-many; that is, there can be many acceptable responses for a specific input. In previous work, the sequence-to-sequence based dialogue generation model is trained using maximum likelihood estimation, and achieves promising results in terms of both meaning and coherence (Vinyals & Le, 2015). Despite this success, the generated responses given the inputs are still sometimes broken and are often general (for example, I don’t know). Reinforcement learning was therefore proposed to preserve sequence-level quality as opposed to predicting each word given the sequence history (Ranzato et al., 2015; Kandasamy et al., 2017; Bahdanau et al., 2016). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
512,
|
| 66 |
+
825,
|
| 67 |
+
638
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "More recently, generative adversarial networks have been applied to sequence generation, especially for natural language. The discrete nature of random variables for natural language precludes the use of back-propagation. To solve this problem, several approaches have been proposed, such as policy gradient (Yu et al., 2017; Li et al., 2017), Gumbel-Softmax (Kusner & Hernandez-Lobato, 2016), ´ MaliGAN (Che et al., 2017), and directly connected WGAN-GP (Gulrajani et al., 2017; Rajeswar et al., 2017; Press et al., 2017). In most previous work, multiple assistant methods are used to stabilize training and often introduce improvements, for example, Monte-Carlo search (Yu et al., 2017; Li et al., 2017; Che et al., 2017) and curriculum learning (Rajeswar et al., 2017; Press et al., 2017). Furthermore, modifications of the GAN objective function have been proposed to improve quality in text generation (Zhang et al., 2017; Lin et al., 2017). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
645,
|
| 77 |
+
825,
|
| 78 |
+
784
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "SeqGAN has been successfully applied on dialogue generation (Li et al., 2017). Due to the high variance of SeqGAN with 1-sample estimate REINFORCE algorithm, researchers use Marte-Carlo search for variation reduction. This method costs extremely high computational resources, therefore Reward for Every Generation Step (REGS) is proposed to replace Monte-Carlo search (Li et al., 2017). Nonetheless, REGS results in a less accurate discriminator because it takes non-terminal sequences into consideration. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
791,
|
| 88 |
+
825,
|
| 89 |
+
875
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To address the weaknesses of Monte-Carlo Search and REGS, we propose stepwise GAN (StepGAN). In this approach, the discriminator evaluates the generated sequences at every generation step, and gives a score for every step. A final score for the whole sequence is the summation of the scores for every time step. This training scheme makes StepGAN a general version of SeqGAN, and can simulate the process of Monte-Carlo search with low extra computational cost. In the proposed approach, both generator and discriminator include weighted factors that change the relative importance of each time step. We find step-time-decreasing weight factors can facilitate the training. This is because the set of hyper-parameters simulate curriculum learning by focusing on generating the head of a sequence. After the first subsequence is fit, further improvement are found in later subsequences. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
882,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
823,
|
| 111 |
+
200
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We construct artificial grammars to assist our realization of GANs in conditional sequence generation. In these tasks, we calculate the accuracy and the coverage of the generated conditioned sequence to evaluate the quality of the model. The coverage is the percentage of the conditioned sequences sampled from the model distribution over all the probable responses. While accuracy reflects coherence and meaningfulness, coverage measures the diversity of the responses. We further compare the proposed approach with several conditional sequence generation approaches on dialogue generation, and evaluate the results by humans. The proposed models are comparable with or even outperform state-of-the-art algorithms. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
208,
|
| 121 |
+
825,
|
| 122 |
+
319
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
342,
|
| 133 |
+
344,
|
| 134 |
+
358
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Conditional sequence generation using the seq2seq model (Sutskever et al., 2014; Vinyals & Le, 2015) has been widely studied, and also for dialogue generation. The model can be learned by maximum-likelihood estimation (MLE), which minimizes the word-level cross-entropy between the true data distribution and the generated approximation. Although this method yields reasonable responses, it suffers from exposure bias and does not take into account sequence-level structure (Ranzato et al., 2015). Exposure bias is introduced because of inconsistent conditions between the training and testing stages: while the ground-truth words are fed to the seq2seq model in the training stage, generated words are used in the testing stage. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
375,
|
| 144 |
+
825,
|
| 145 |
+
486
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "To solve these problems with MLE, besides beam search and scheduled sampling (Bengio et al., 2015), (Ranzato et al., 2015) propose the REINFORCE and MIXER algorithms for sequence generation. By providing a task-specific score for the generated sequence, the REINFORCE algorithm (Williams, 1992) guides the seq2seq model to reach higher scores. Because the score is evaluated based on the whole generated sequence, both MLE problems are solved. However, as the REINFORCE algorithm cannot easily train the model from scratch, the MIXER algorithm is proposed to integrate MLE and REINFORCE. In this process, they first train the whole sequence using MLE, after which they accumulate the number of last words trained by REINFORCE. For further improvements, (Bahdanau et al., 2016) adopt another reinforcement learning (Sutton & Barto, 1998) based approach – the actor-critic architecture. They train a critic to predict the expected value of each time step to guide the actor. These algorithms outperform the original MLE algorithm on the task-specific score (BLEU) for text generation. Nonetheless, there is no evidence that these taskspecific scores are correlated with human prior knowledge. In particular, the relationship between the scores and human evaluation has been proven weak for dialogue generation (Liu et al., 2016). ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
492,
|
| 155 |
+
825,
|
| 156 |
+
686
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Recently, the significant success of generative adversarial networks (GAN) for image processing has led researchers to use GANs for natural language. However, this has seen limited success because of the difficulty of backpropagation through discrete random variables. To address this problem, (Yu et al., 2017) use policy gradients on text generation. The reward is provided by a discriminator with Monte-Carlo search. In addition, (Li et al., 2017) adopt the same idea for dialogue generation. They also propose Reward for Every Generation Step (REGS), which is more time-efficient but is weaker than Monte-Carlo search. Another way to use GAN for natural-language tasks is by using GumbelSoftmax (Kusner & Hernandez-Lobato, 2016), which can simulate the discrete argmax outputs, ´ and be directly backpropagated from the discriminator. Also, MaliGAN (Che et al., 2017) directly derives the gradient estimator for discrete data. More recently, the improved Wasserstein GAN (WGAN-GP) (Gulrajani et al., 2017) has shown success for text generation by directly feeding the softmax layer to the discriminator, even without pre-training. This breakthrough then inspired (Press et al., 2017) and (Rajeswar et al., 2017) to further investigate WGAN-GP for better performance on text generation. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
694,
|
| 166 |
+
825,
|
| 167 |
+
888
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "We focus on the influence of different objective function in GANs on conditional sequence generation throughout this paper. We compare the state-of-the-art algorithms without additional assistance such as teacher forcing, curriculum learning, etc. By this setting, we only consider the improvement attributed by the intrinsic of different algorithms rather than other additional assistances. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
895,
|
| 177 |
+
821,
|
| 178 |
+
924
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "",
|
| 185 |
+
"bbox": [
|
| 186 |
+
171,
|
| 187 |
+
103,
|
| 188 |
+
825,
|
| 189 |
+
132
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 2
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "3 CONDITIONAL SEQUENCE GENERATION ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
174,
|
| 199 |
+
154,
|
| 200 |
+
540,
|
| 201 |
+
170
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 2
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "In conditional sequence generation, we generate an output sequence $x \\in X$ given an input condition $y \\in Y$ . When the output sequence is generated from a model, it is denoted $x ^ { G }$ ; when the output sequence is from real data (training examples), it is instead denoted $x ^ { R }$ . In dialogue generation, both $x$ and $y$ are sequences of words. They can be written as ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
173,
|
| 210 |
+
185,
|
| 211 |
+
825,
|
| 212 |
+
242
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "equation",
|
| 218 |
+
"img_path": "images/b6ddd1fa52ab57c49ed335a1686a3d35ecebc610e4d81a4ee471bf736566d6ea.jpg",
|
| 219 |
+
"text": "$$\n\\begin{array} { r } { x = \\{ x _ { t } \\} _ { t = 1 } ^ { T } , x _ { t } \\in V } \\\\ { y = \\{ y _ { t } \\} _ { t = 1 } ^ { T } , y _ { t } \\in V . } \\end{array}\n$$",
|
| 220 |
+
"text_format": "latex",
|
| 221 |
+
"bbox": [
|
| 222 |
+
426,
|
| 223 |
+
250,
|
| 224 |
+
571,
|
| 225 |
+
292
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 2
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "Words $x _ { t }$ and $y _ { t }$ represent the word at time step $t$ in the interval $T$ of the specific sequences $x$ and $y$ . Set $V$ is the vocabulary set from which the words are selected. In this paper, we generate $x ^ { G }$ given $y$ using the seq2seq model as the generator $G$ (Sutskever et al., 2014; Vinyals & Le, 2015). From Sections 3.1 to 3.3, we introduce maximum likelihood estimation, REINFORCE algorithm, and GAN for sequence generation. In Section 4, we introduce the proposed approaches. ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
173,
|
| 234 |
+
297,
|
| 235 |
+
825,
|
| 236 |
+
368
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "3.1 MAXIMUM LIKELIHOOD ESTIMATION ",
|
| 243 |
+
"text_level": 1,
|
| 244 |
+
"bbox": [
|
| 245 |
+
176,
|
| 246 |
+
386,
|
| 247 |
+
477,
|
| 248 |
+
400
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "The basic idea of maximum likelihood estimation (MLE) for conditional sequence generation is to find the parameters for model $G$ that maximize the likelihood of generating the training data. When using MLE to train the generator model $G$ , the objective function is ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
412,
|
| 258 |
+
825,
|
| 259 |
+
455
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "equation",
|
| 265 |
+
"img_path": "images/98c2280934f1732ac9d5dfa19dc1eea051281da98e949e1e97ec6574931f9c05.jpg",
|
| 266 |
+
"text": "$$\nG ^ { * } = \\arg \\operatorname* { m a x } _ { G } E _ { ( x ^ { R } , y ) \\sim P ^ { R } ( X , Y ) } [ \\sum _ { t = 1 } ^ { T } \\log ( P ^ { G } ( x _ { t } ^ { R } | y , x _ { 1 \\dots t - 1 } ^ { R } ) ) ] ,\n$$",
|
| 267 |
+
"text_format": "latex",
|
| 268 |
+
"bbox": [
|
| 269 |
+
287,
|
| 270 |
+
463,
|
| 271 |
+
709,
|
| 272 |
+
506
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "whof . $P ^ { R } ( X , Y )$ is the joint distribution of the ning stage, in Eq. (2), the pre $( x , y )$ pairs in the training n is learned based on $T$ e length, but the $x ^ { R }$ $< y , x _ { 1 \\ldots t - 1 } ^ { R } >$ condition in the testing stage is $< y , x _ { 1 \\ldots t - 1 } ^ { G } >$ . This is known as exposure bias, which can result in accumulating error when testing. This is also due to the likelihood is estimated at the word level (Ranzato et al., 2015) only as opposed to the whole sequence. ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
173,
|
| 281 |
+
515,
|
| 282 |
+
825,
|
| 283 |
+
588
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 2
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "3.2 REINFORCE ",
|
| 290 |
+
"text_level": 1,
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
606,
|
| 294 |
+
313,
|
| 295 |
+
621
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Conditional sequence generation can be formulated as reinforcement learning. Similar to (Ranzato et al., 2015), we describe it as a Markov decision process (MDP), where state $s$ consists of the condition and previous word sequence – in our case, $s = < y , x _ { 1 . . . t - 1 } ^ { G } > -$ and an action $a$ is the generated word conditioned on the current state – in our case, $a = x _ { t } ^ { G }$ is a word in the vocabulary. Each action is generated according to the policy, which is determined by the parameters of generator model $G$ . In typical reinforcement learning, the agent obtains a reward $r _ { t }$ at each time step $t$ . In sequence generation, $r _ { t }$ is zero except for $r _ { T }$ , which evaluates the goodness of the whole generating $x _ { 1 \\ldots T } ^ { G ^ { \\star } }$ given $y$ . The generator $G$ learns to maximize the expected reward ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
632,
|
| 305 |
+
825,
|
| 306 |
+
747
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "equation",
|
| 312 |
+
"img_path": "images/9bc018fca1267a9ce7d0a66d3f4bfb64b19f00472f9734b80ba978d114ae3c6d.jpg",
|
| 313 |
+
"text": "$$\nG ^ { * } = \\arg \\operatorname* { m a x } _ { G } E _ { y \\sim P ^ { R } \\left( Y \\right) , x ^ { G } \\sim P ^ { G } \\left( X \\mid y \\right) } [ r _ { T } ] ,\n$$",
|
| 314 |
+
"text_format": "latex",
|
| 315 |
+
"bbox": [
|
| 316 |
+
354,
|
| 317 |
+
756,
|
| 318 |
+
642,
|
| 319 |
+
779
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "where $P ^ { R } ( Y )$ is the probability distribution of condition $y$ in the training data, $P ^ { G } ( X | y )$ is the probability of generating the sequence $x ^ { G }$ given the generator $G$ and condition . Note that the main difference between Equations (2) and (3) is that the condition sequence here is $x _ { 1 \\ldots t - 1 } ^ { G }$ rather than $x _ { 1 \\ldots t - 1 } ^ { R }$ . Moreover, each $x _ { t } ^ { G }$ here is sampled using softmax rather than argmax over vocabulary set $V$ . The parameters of the generator $\\theta _ { G }$ are updated as ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
786,
|
| 329 |
+
825,
|
| 330 |
+
861
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "equation",
|
| 336 |
+
"img_path": "images/44b11792fb97c89a15701dfe1adad9ea95db34a7f69ddbe24062143b3c74c1dd.jpg",
|
| 337 |
+
"text": "$$\n\\theta _ { G } \\theta _ { G } + \\eta ( r _ { T } - b _ { t } ) \\nabla \\log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } ) ) ,\n$$",
|
| 338 |
+
"text_format": "latex",
|
| 339 |
+
"bbox": [
|
| 340 |
+
331,
|
| 341 |
+
868,
|
| 342 |
+
665,
|
| 343 |
+
888
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "where $b _ { t }$ is the baseline to reduce training variance (Sutton & Barto, 1998; Ranzato et al., 2015), and $\\eta$ is the learning rate. ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
895,
|
| 353 |
+
825,
|
| 354 |
+
924
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "3.3 GENERATIVE ADVERSARIAL NETWORK ",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
176,
|
| 364 |
+
103,
|
| 365 |
+
490,
|
| 366 |
+
117
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "A generative adversarial network (GAN) is composed of a generator and a discriminator (Goodfellow et al., 2014). The discriminator differentiates between real data and data from the generator, and the generator attempts to generate plausible data that will deceive the discriminator. Here we use GAN for conditional sequence generation by considering our model $G$ as the generator and constructing a discriminator $D$ sequentially fed with input-output pairs $y$ and $x$ (Mirza & Osindero, 2014; Li et al., 2017). ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
128,
|
| 376 |
+
825,
|
| 377 |
+
213
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "3.3.1 SEQGAN ",
|
| 384 |
+
"text_level": 1,
|
| 385 |
+
"bbox": [
|
| 386 |
+
174,
|
| 387 |
+
228,
|
| 388 |
+
295,
|
| 389 |
+
243
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 3
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "Since the vocabulary $V$ in the generated sequence is a discrete variable, we cannot backpropagate through the generator. In SeqGAN ( $\\mathrm { Y u }$ et al., 2017; Li et al., 2017), the generation task is formulated as a reinforcement learning scenario, similar to that described in Section 3.2, and the reward function is replaced with the discriminator in regular GAN. The discriminator $D$ is then updated through backpropagation, while the generator $G$ is updated using policy gradient with a reward evaluated over $x$ given $y$ by $D$ . The optimization functions for $D$ and $G$ are ",
|
| 396 |
+
"bbox": [
|
| 397 |
+
174,
|
| 398 |
+
252,
|
| 399 |
+
826,
|
| 400 |
+
337
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 3
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "equation",
|
| 406 |
+
"img_path": "images/ce9e0c11c994a7a44c8e7b2af6bfa8145624990a44cec4006ecf0560ec87f505.jpg",
|
| 407 |
+
"text": "$$\n\\begin{array} { r l } { } & { \\mathcal { D } ^ { * } = \\underset { D } { \\arg \\operatorname* { m a x } } E _ { y \\sim P ^ { R } \\left( Y \\right) , x ^ { R } \\sim \\mathit { P } ^ { R } \\left( X \\mid y \\right) } [ \\log ( D ( x ^ { R } | y ) ) ] + E _ { y \\sim \\mathit { P } ^ { R } \\left( Y \\right) , x ^ { G } \\sim \\mathit { P } ^ { G } \\left( X \\mid y \\right) } [ \\log ( 1 - \\mathit { D } ( x ^ { G } | y ) ) ] } \\\\ { } & { \\mathcal { X } ^ { * } = \\underset { G } { \\arg \\operatorname* { m a x } } E _ { y \\sim \\mathit { P } ^ { R } \\left( Y \\right) , x ^ { G } \\sim \\mathit { P } ^ { G } \\left( X \\mid y \\right) } [ \\mathit { D } ( x ^ { G } | y ) ] . } \\end{array}\n$$",
|
| 408 |
+
"text_format": "latex",
|
| 409 |
+
"bbox": [
|
| 410 |
+
181,
|
| 411 |
+
342,
|
| 412 |
+
838,
|
| 413 |
+
395
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "In the basic SeqGAN, $G$ in Equation (5) is optimized using the REINFORCE algorithm. The formulation for optimizing $G$ in Equation (5) is the same as Equation (3), except that $r _ { T }$ is replaced with $D ( x ^ { G } | y )$ . ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
412,
|
| 423 |
+
825,
|
| 424 |
+
457
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Due to the sparse reward that only given at the terminal state, this basic setting will cause high training variance. For example, when questioning ”What ’s your name ?”, ”I ’m sorry.” is a wrong answer, while ”I ’m John.” is a correct answer. Although they share the same prefix $\\because \\mathrm { m } ^ { \\prime }$ , the basic SeqGAN will give the prefix different reward in different sentences. The solution in (Yu et al., 2017; Che et al., 2017) is Monte Carlo search. For each prefix $x _ { 1 \\ldots t }$ , $N$ possible sequences $x _ { t + 1 \\ldots T }$ are samples according to the current policy, and the $N$ final rewards are averaged as the reward for current time step. In practice, we have to complete every prefixes for each training data in a batch, and evaluate all of the $m T N$ episodes, where $m$ is the batch size. This method costs extremely high computational resource. For time efficiency, (Li et al., 2017) proposes Reward for Every Generation Step (REGS) to replace Monte Carlo search. Because they train the discriminator in REGS with prefixes without considering whether the episode is terminated, REGS causes a less accurate discriminator. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
173,
|
| 433 |
+
462,
|
| 434 |
+
825,
|
| 435 |
+
628
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "3.3.2 WASSERSTEIN GAN WITH GRADIENT PENALTY (WGAN-GP) ",
|
| 442 |
+
"text_level": 1,
|
| 443 |
+
"bbox": [
|
| 444 |
+
178,
|
| 445 |
+
643,
|
| 446 |
+
660,
|
| 447 |
+
659
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "In recent work, WGAP-GP has been successfully used for sequence generation (Gulrajani et al., 2017; Rajeswar et al., 2017; Press et al., 2017). Instead of using more complicate methods such as policy gradient, they directly feed the softmax layer into the discriminator. The generator can therefore be updated through backpropagation. We then formulate the conditional version of WGAN-GP as ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
176,
|
| 456 |
+
667,
|
| 457 |
+
823,
|
| 458 |
+
738
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "equation",
|
| 464 |
+
"img_path": "images/5d4154666cc02187cd0707df45bdac71f7dc204ae8657411673abc48b460b45d.jpg",
|
| 465 |
+
"text": "$$\n\\begin{array} { r l } & { D ^ { * } = \\underset { D } { \\arg \\operatorname* { m a x } } E _ { y \\sim P ^ { R } ( y ) , x ^ { R } \\sim P ^ { R } ( X | y ) } [ D ( x ^ { R } | y ) ] - E _ { y \\sim P ^ { R } ( y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] } \\\\ & { G ^ { * } = \\underset { G } { \\arg \\operatorname* { m a x } } E _ { y \\sim P ^ { R } ( Y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] . } \\end{array}\n$$",
|
| 466 |
+
"text_format": "latex",
|
| 467 |
+
"bbox": [
|
| 468 |
+
217,
|
| 469 |
+
741,
|
| 470 |
+
781,
|
| 471 |
+
794
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "4 PROPOSED APPROACH: STEPWISE GAN ",
|
| 478 |
+
"text_level": 1,
|
| 479 |
+
"bbox": [
|
| 480 |
+
174,
|
| 481 |
+
808,
|
| 482 |
+
540,
|
| 483 |
+
825
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 3
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "The basic idea of stepwise GAN (see Fig. 1), or StepGAN, is to construct a sequence-to-sequence model as discriminator $D$ . At each time step of $D$ ’s decoder, the hidden vector is passed to a fully-connected layer. The discriminator $D$ then outputs the evaluation score for each subsequence $\\langle y , x _ { 1 \\ldots t } \\rangle$ , denoted as $D ( x _ { 1 . . . t } | y )$ . With discriminator $D$ , we seek to minimize the summation of $D ( x _ { 1 \\ldots t } ^ { G } | y )$ over the time steps when input the generated sequences $x ^ { G }$ . Simultaneously, $D$ maximizes the summation of $D ( x _ { 1 \\ldots t } ^ { \\mathrm { { R } } } | y )$ when the input is real data $x ^ { R }$ . The optimization of $D$ and $G$ is ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
839,
|
| 493 |
+
825,
|
| 494 |
+
924
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 3
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "image",
|
| 500 |
+
"img_path": "images/15cf72773c0dc3be0e77149c6fc0495b5b4749ccc9002f79e1d792498ede3668.jpg",
|
| 501 |
+
"image_caption": [
|
| 502 |
+
"Figure 1: Illustration of stepwise GAN "
|
| 503 |
+
],
|
| 504 |
+
"image_footnote": [],
|
| 505 |
+
"bbox": [
|
| 506 |
+
179,
|
| 507 |
+
106,
|
| 508 |
+
799,
|
| 509 |
+
463
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "thus ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
173,
|
| 518 |
+
522,
|
| 519 |
+
205,
|
| 520 |
+
535
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "equation",
|
| 526 |
+
"img_path": "images/29aa556b62f5c357fead9cd74064eed16e37e2eea11267141d15e2ead1ca778b.jpg",
|
| 527 |
+
"text": "$$\n\\begin{array} { l } { { \\displaystyle D ^ { \\prime } ( x | y ) = \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { D } D \\big ( x _ { 1 \\dots t } | y \\big ) } } \\\\ { { \\displaystyle D ^ { * } = \\arg \\operatorname* { m a x } _ { D } E _ { y \\sim P ^ { R } ( y ) , x ^ { R } \\sim P ^ { R } ( X | y ) } [ \\log ( D ^ { \\prime } ( x ^ { R } | y ) ) ] } } \\\\ { { \\displaystyle \\qquad + E _ { y \\sim P ^ { R } ( y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ \\log \\big ( 1 - D ^ { \\prime } ( x ^ { G } | y ) \\big ) ] , } } \\\\ { { \\displaystyle G ^ { * } = \\arg \\operatorname* { m a x } _ { G } E _ { y \\sim P ^ { R } ( Y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ D ( x ^ { G } | y ) ] , } } \\end{array}\n$$",
|
| 528 |
+
"text_format": "latex",
|
| 529 |
+
"bbox": [
|
| 530 |
+
302,
|
| 531 |
+
541,
|
| 532 |
+
696,
|
| 533 |
+
656
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "where $\\alpha _ { t } ^ { D }$ is a weighted factor with $\\textstyle \\sum _ { t = 1 } ^ { T } \\alpha _ { t } ^ { D } = 1$ . In practice, we set $\\begin{array} { r } { \\alpha _ { t } ^ { D } = \\frac { 1 } { T } } \\end{array}$ , but it is possible assign scores for each prefix. Although we only use one way to train $D$ , we think there are two ways to interpret the $D$ ’s scores, and different view points lead to different update formulations for $G$ : ",
|
| 540 |
+
"bbox": [
|
| 541 |
+
173,
|
| 542 |
+
664,
|
| 543 |
+
826,
|
| 544 |
+
724
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 4
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "• $D ( x _ { 1 . . . t } | y )$ evaluates the extra benefit of adding the word $x _ { t }$ into the sequence. The formulation for $G$ ’s parameter update is ",
|
| 551 |
+
"bbox": [
|
| 552 |
+
217,
|
| 553 |
+
734,
|
| 554 |
+
823,
|
| 555 |
+
765
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "equation",
|
| 561 |
+
"img_path": "images/5726e8a8a466f9279639e08091d448724a752320368f1f5bfbd3bb16c39a92ea.jpg",
|
| 562 |
+
"text": "$$\n\\theta _ { G } \\theta _ { G } + \\eta \\alpha _ { t } ^ { G } ( \\sum _ { t ^ { \\prime } = t } ^ { T } D ( x _ { 1 \\dots t ^ { \\prime } } | y ) ) \\nabla \\log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } ) ) .\n$$",
|
| 563 |
+
"text_format": "latex",
|
| 564 |
+
"bbox": [
|
| 565 |
+
323,
|
| 566 |
+
772,
|
| 567 |
+
733,
|
| 568 |
+
815
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 4
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "$G$ has to increase the summation $\\scriptstyle \\sum _ { t ^ { \\prime } = t } ^ { T } D ( x _ { 1 \\dots t ^ { \\prime } } | y )$ . We call this stepGAN-Seq. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
228,
|
| 577 |
+
824,
|
| 578 |
+
759,
|
| 579 |
+
843
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 4
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "• $D ( x _ { 1 . . . t } | y )$ evaluates the average goodness of all the sequences beginning with $x _ { 1 \\ldots t }$ . The update formulation for $\\theta _ { G }$ is ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
217,
|
| 588 |
+
845,
|
| 589 |
+
828,
|
| 590 |
+
876
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 4
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "equation",
|
| 596 |
+
"img_path": "images/015ceee31cdf7858cebe3f34d6057ef0b76e5c713ef2f6f947c9fa63931d5c66.jpg",
|
| 597 |
+
"text": "$$\n\\theta _ { G } \\gets \\theta _ { G } + \\eta \\alpha _ { t } ^ { G } D ( x _ { 1 \\dots t } | y ) \\nabla \\log ( p _ { G } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } ) ) .\n$$",
|
| 598 |
+
"text_format": "latex",
|
| 599 |
+
"bbox": [
|
| 600 |
+
346,
|
| 601 |
+
882,
|
| 602 |
+
710,
|
| 603 |
+
901
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "The $G$ only needs to learn to increase $D ( x _ { 1 \\ldots t } | y )$ . We call this stepGAN in following. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
235,
|
| 612 |
+
909,
|
| 613 |
+
794,
|
| 614 |
+
925
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Using factor $\\alpha _ { t } ^ { G }$ , we diversify training by arbitrarily weighting the importance of each time step1. We explore the influence of different values of $\\alpha _ { t } ^ { \\check { G } }$ and compare the two update formulations in section 5 and appendix B. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
176,
|
| 623 |
+
103,
|
| 624 |
+
821,
|
| 625 |
+
146
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "StepGAN-Seq is a generalized version of SeqGAN. If we set $\\alpha _ { T } ^ { D } = 1$ , $\\alpha _ { t } ^ { D } = 0$ for $t < T$ , and $\\alpha _ { t } ^ { G } = 1$ for all $t$ , then stepGAN-Seq is equivalent to SeqGAN without Monte Carlo search. Also, REGS (Li et al., 2017) can be induced by set $\\alpha _ { t } ^ { D } = 1$ at a randomly chosen time step. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
151,
|
| 635 |
+
825,
|
| 636 |
+
196
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "StepGAN is similar to the actor-critic architecture in (Bahdanau et al., 2016). Instead of the assigned task-specific score, we learn the score by adversarial learning. Because $D$ ’s scores are the expected return in this setting, we would like StepGAN to approximate the expected return obtained by SeqGAN or MaliGAN with Monte Carlo search. This approach only need to add a set of weight factors, and therefore much time efficient than Monte Carlo search. For more details of the algorithm, please refer to appendix A for pseudo-code. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
203,
|
| 646 |
+
825,
|
| 647 |
+
286
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "5 EXPERIMENTS ",
|
| 654 |
+
"text_level": 1,
|
| 655 |
+
"bbox": [
|
| 656 |
+
176,
|
| 657 |
+
310,
|
| 658 |
+
326,
|
| 659 |
+
327
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 5
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "We use a recurrent neural network for both the discriminator and generator due to its strong sequential correlation (Press et al., 2017; Rajeswar et al., 2017). Specifically, we use gated recurrent units (GRUs) (Chung et al., 2014) in our experiments. We view the noise feature in GAN as the random process of sampling from the softmax layer distribution. ",
|
| 666 |
+
"bbox": [
|
| 667 |
+
174,
|
| 668 |
+
344,
|
| 669 |
+
825,
|
| 670 |
+
400
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "5.1 ARTIFICIAL GRAMMARS ",
|
| 677 |
+
"text_level": 1,
|
| 678 |
+
"bbox": [
|
| 679 |
+
176,
|
| 680 |
+
421,
|
| 681 |
+
385,
|
| 682 |
+
435
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "To better evaluate GANs for conditional sequence generation, we define three artificial grammars: sequence, counting, and addition. The three grammars are described in Table 1. For the sequence grammar, the aim is to generate a continued consecutive number sequence behind the input $Y$ . For example, for input $\\langle 1 , 2 , 3 \\rangle$ , the answer would be a consecutive number sequence of any length starting with 4, such as $\\langle 4 , 5 , 6 , 7 , 8 \\rangle$ . The counting grammar is more complicated. The generated sequence should contain exactly 3 words, where the median is a randomly selected word from the input sequence. The first generated word should be the number of words on the left-hand side of the selected median, while the last generated word should be the number of words on the right-hand side. For example, when the input is $\\langle 5 , 9 , 2 , 8 , 3 , 2 , 9 , 1 \\rangle$ , one permissible generated sequence is $\\langle 0 , 5 , 7 \\rangle$ . Last, for the addition grammar we generate the addition of two numbers randomly segmented from the input sequence. That is, for input $\\langle 8 , 1 , 3 , 4 \\rangle$ , then one permissible output is the addition of 8 and 134 – thus $\\langle 1 , 4 , 2 \\rangle$ . Note that both the input and output numbers for this grammar are represented in terms of their corresponding digits. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
449,
|
| 692 |
+
825,
|
| 693 |
+
628
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "The purpose of these design is to imitate major properties in dialogue generation, such as variablelength, repeated prefixes, the same sequence space, one-to-many, and many-to-one. The variablelength property means there is no fixed length for the input and output sequences. The repeated prefixes property means the beginning subsequences are usually shared by many data, for instance What and I am in natural language. The same sequence space here means that the input and output have the same structure and as such are sampled from the same space. Finally, one-to-many and many-to-one are quite common in dialogue generation. For example, when asking How are you?, responses vary from I’m fine to Great! How are you?. Also, the same response can be paired with multiple questions, such as for My name is Paul in response to What’s your name? and Who are you?. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
173,
|
| 702 |
+
636,
|
| 703 |
+
825,
|
| 704 |
+
775
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "We then randomly generate 100,000 samples as training data, 10,000 as development data, and 10,000 samples as testing data. The architectures are set to one layer with 128 hidden units. We evaluate our results using the three measures in Table 2. The first is the accuracy of samples generated from the argmax policy (Acc), the second is that generated from the softmax probability (AccS), and the last is the coverage of softmax samples over all the permissible answers of the specific grammar (Cov). We report them to ensure whether the one-to-many property is being learned. AccS and Cov are important because they can indicate if the model can learn the underlying distribution of answers. When mode collapse happens, which means the model only know a specific type of answers, it will obtain high AccS and low Cov scores. To ensure a fair comparison, all the algorithms are based on the same pre-trained model: the MLE model listed in Table 2. ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
174,
|
| 713 |
+
781,
|
| 714 |
+
823,
|
| 715 |
+
893
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 5
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "table",
|
| 721 |
+
"img_path": "images/a488ea6f1ce399dde9cc4f1dcd75f80c6c31db2893dcf3a32c7012970d14d62a.jpg",
|
| 722 |
+
"table_caption": [
|
| 723 |
+
"Table 1: Grammar definitions and examples "
|
| 724 |
+
],
|
| 725 |
+
"table_footnote": [],
|
| 726 |
+
"table_body": "<table><tr><td>Grammar</td><td>Definition</td><td>Examples</td></tr><tr><td>Sequence</td><td>Continue the sequence for a random length</td><td>123: 4, 45,...</td></tr><tr><td>Counting</td><td>Randomly choose a digit, and then calculate the left-and right-hand lengths</td><td>123: 012,121, 230</td></tr><tr><td>Addition</td><td>Randomly partition,and then add the two numbers</td><td>123: 15,24</td></tr></table>",
|
| 727 |
+
"bbox": [
|
| 728 |
+
204,
|
| 729 |
+
131,
|
| 730 |
+
794,
|
| 731 |
+
207
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 6
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "table",
|
| 737 |
+
"img_path": "images/2ccf2814fe842e1e86b9ca31c6920623cd4405e3eef1d617612e5cbc1121d7e4.jpg",
|
| 738 |
+
"table_caption": [
|
| 739 |
+
"Table 2: Results of artificial grammars with different algorithms. Evaluation label Acc $( \\% )$ is the accuracy of argmax samples, AccS $( \\% )$ is the accuracy of softmax samples, and Cov $( \\% )$ is the coverage of softmax samples over permissible answers. The dash (-) here indicates that the algorithm introduced no improvements based on the pre-trained model. "
|
| 740 |
+
],
|
| 741 |
+
"table_footnote": [],
|
| 742 |
+
"table_body": "<table><tr><td colspan=\"4\"> Sequence</td><td colspan=\"3\">Counting</td><td colspan=\"3\">Addition</td></tr><tr><td></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td></tr><tr><td>MLE</td><td>97.43</td><td>81.32</td><td>53.77</td><td>73.48</td><td>68.89</td><td>70.63</td><td>44.57</td><td>32.28</td><td>31.79</td></tr><tr><td>REINFORCE</td><td>99.81</td><td>97.30</td><td>4.54</td><td>99.97</td><td>99.36</td><td>16.99</td><td>79.98</td><td>75.60</td><td>18.32</td></tr><tr><td>WGAN-GP</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>basic-MaliGAN</td><td>97.34</td><td>81.66</td><td>54.19</td><td>74.12</td><td>70.35</td><td>70.15</td><td>44.27</td><td>32.05</td><td>31.92</td></tr><tr><td>basic-SeqGAN</td><td>97.20</td><td>80.28</td><td>57.61</td><td>74.59</td><td>70.56</td><td>70.39</td><td>44.87</td><td>32.30</td><td>31.90</td></tr><tr><td>MC-SeqGAN</td><td>97.20</td><td>80.98</td><td>55.49</td><td>72.96</td><td>68.10</td><td>70.54</td><td>44.72</td><td>32.28</td><td>31.83</td></tr><tr><td>REGS</td><td>97.42</td><td>81.36</td><td>53.82</td><td>75.99</td><td>70.93</td><td>69.40</td><td>44.64</td><td>32.32</td><td>32.01</td></tr><tr><td>StepGAN-Seq</td><td>97.11</td><td>74.85</td><td>67.49</td><td>75.47</td><td>70.64</td><td>69.82</td><td>45.55</td><td>32.49</td><td>32.01</td></tr><tr><td>StepGAN</td><td>97.19</td><td>75.92</td><td>66.08</td><td>81.98</td><td>72.24</td><td>69.02</td><td>44.94</td><td>32.19</td><td>31.67</td></tr></table>",
|
| 743 |
+
"bbox": [
|
| 744 |
+
181,
|
| 745 |
+
299,
|
| 746 |
+
818,
|
| 747 |
+
458
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 6
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "",
|
| 754 |
+
"bbox": [
|
| 755 |
+
174,
|
| 756 |
+
489,
|
| 757 |
+
821,
|
| 758 |
+
517
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 6
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "We discuss the results of MLE, REINFORCE, and state-of-the-art GAN algorithms on Sequence, Counting, and Addition in Table 2. REINFORCE has higher Acc and AccS than ${ \\mathrm { M L E } } ^ { 2 }$ , but it results in strong mode-collapse (very low Cov). We have a very strong MLE baseline for Sequence. Therefore we cannot pretrain discriminator well based on this baseline MLE model. Every GAN algorithms cannot outperform MLE by this setting. StepGAN improves Acc on both Counting and Addition without heavily trade-off with Cov. That is, training model using StepGAN enhances and maintains the knowledge of underlying distribution rather than resulting in strong mode-collapse as REINFORCE. ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
173,
|
| 767 |
+
529,
|
| 768 |
+
825,
|
| 769 |
+
640
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 6
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "To investigate the trade-off between AccS and Cov, we plot the accuracy-coverage curve in Fig. 2. The trade-off between accuracy and coverage is controlled by sharpening the softmax layer. Besides Fig. 2a, of which the GANs do not obtain good results, StepGAN improves the accuracy-coverage curves in Fig. 2b and Fig. 2c. This is consistent with our realization of Table 2 that StepGAN fits model to the underlying distribution better. ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
174,
|
| 778 |
+
647,
|
| 779 |
+
825,
|
| 780 |
+
717
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 6
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "5.2 DIALOGUE GENERATION ",
|
| 787 |
+
"text_level": 1,
|
| 788 |
+
"bbox": [
|
| 789 |
+
176,
|
| 790 |
+
736,
|
| 791 |
+
387,
|
| 792 |
+
750
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 6
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "We split OpenSubtitles (Tiedemann, 2009) into training set, development set, and testing set with a vocabulary of the top 4,000 most frequently occurring words. Both the generator and discriminator are 1-layer GRUs with a hidden dimension set to $5 1 2 ^ { 3 }$ . To compare the improvements introduced by all the algorithms, we first pre-trained the generator using MLE, after which we further trained the model for 1-epoch by different GANs. SeqGAN, MaliGAN, REGS, and StepGAN were compared. We do not compare Monte Carlo search with other approaches because its time complexity is much larger. All discriminators of SeqGAN, MaliGAN, REGS, and StepGAN were pre-trained on real ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
174,
|
| 801 |
+
762,
|
| 802 |
+
825,
|
| 803 |
+
859
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 6
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "image",
|
| 809 |
+
"img_path": "images/51918436916ce27a7936dcb270ad55e741a33a77f82a6d8e511af766a2b1dde4.jpg",
|
| 810 |
+
"image_caption": [
|
| 811 |
+
"Figure 2: Sampled accuracy and coverage curves "
|
| 812 |
+
],
|
| 813 |
+
"image_footnote": [],
|
| 814 |
+
"bbox": [
|
| 815 |
+
186,
|
| 816 |
+
107,
|
| 817 |
+
803,
|
| 818 |
+
246
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 7
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Table 3: Human evaluation and BLEU score for dialogue generation. CoHS $( \\% )$ is coherence human score. SHS $( \\% )$ is sentence structure human score. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
169,
|
| 827 |
+
290,
|
| 828 |
+
823,
|
| 829 |
+
319
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 7
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "table",
|
| 835 |
+
"img_path": "images/eb38d3e441297806e4dbd66d23ba6617503091769c8b72ea736106bb5dbdf0bf.jpg",
|
| 836 |
+
"table_caption": [],
|
| 837 |
+
"table_footnote": [],
|
| 838 |
+
"table_body": "<table><tr><td></td><td colspan=\"3\">CoHS (%)</td><td colspan=\"3\">SHS (%)</td><td colspan=\"3\">BLEU</td></tr><tr><td></td><td>Argmax</td><td>BS</td><td>MMI</td><td>Argmax</td><td>BS</td><td>MMI</td><td>Argmax</td><td>BS</td><td>MMI</td></tr><tr><td>MLE</td><td>44.89</td><td>54.22</td><td>60.44</td><td>15.11</td><td>1.33</td><td>7.56</td><td>0.222</td><td>0.281</td><td>0.272</td></tr><tr><td>SeqGAN</td><td>41.33</td><td>53.33</td><td>63.55</td><td>30.67</td><td>6.22</td><td>10.22</td><td>0.202</td><td>0.267</td><td>0.251</td></tr><tr><td>MaliGAN</td><td>35.56</td><td>51.11</td><td>45.33</td><td>20.89</td><td>5.78</td><td>8.00</td><td>0.180</td><td>0.271</td><td>0.263</td></tr><tr><td>REGS</td><td>36.44</td><td>54.67</td><td>53.78</td><td>36.44</td><td>9.33</td><td>9.78</td><td>0.180</td><td>0.256</td><td>0.246</td></tr><tr><td>StepGAN</td><td>47.56</td><td>63.56</td><td>61.33</td><td>40.89</td><td>3.56</td><td>8.89</td><td>0.171</td><td>0.254</td><td>0.248</td></tr></table>",
|
| 839 |
+
"bbox": [
|
| 840 |
+
179,
|
| 841 |
+
335,
|
| 842 |
+
818,
|
| 843 |
+
439
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 7
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "text",
|
| 849 |
+
"text": "data and generated data from the pre-trained generator. Note that these models were all trained without MIXER, curriculum learning, or teacher forcing, etc. Both the generator and discriminator are optimized by SGD. We used grid search in the experiments with learning rate={1e-1,1e-2,1e-3}, discriminator iteration step={1,5}, and used batchsize $_ { = 6 4 }$ . ",
|
| 850 |
+
"bbox": [
|
| 851 |
+
174,
|
| 852 |
+
474,
|
| 853 |
+
825,
|
| 854 |
+
530
|
| 855 |
+
],
|
| 856 |
+
"page_idx": 7
|
| 857 |
+
},
|
| 858 |
+
{
|
| 859 |
+
"type": "text",
|
| 860 |
+
"text": "For human evaluation, we randomly selected 25 inputs from the testing set, and decoded using argmax policy, beam search, and MMI (Li et al., 2015)4. We presented both an input and the generated outputs to 8 and 4 judges respectively, and we asked them to do Turing test (correct or not) of the coherence and sentence structure. Coherence is the rationality of the generated responses given inputs. Sentence structure is the correctness and complexity of grammar. The sentences provide specific information would be considered as having better sentence structure rather than the general ones (egs. I don’t know.) due to more complex grammar. In Table 3, the two measures are labeled as CoHS (Coherence Human Score) and SHS (Sentence structure Human Score). We also show the BLEU score of each algorithm. It was already found that BLEU score is inconsistent with human evaluation (Liu et al., 2016), we also observe the same phenomenon it in our experiments. ",
|
| 861 |
+
"bbox": [
|
| 862 |
+
173,
|
| 863 |
+
536,
|
| 864 |
+
825,
|
| 865 |
+
675
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 7
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "text",
|
| 871 |
+
"text": "We show the CoHS and SHS of 15 different results (5 different algorithms and 3 different decoding methods) in Table 3. First, we can see decoding using beam search or MMI improve CoHS. StepGAN obtains the best performance in terms of CoHS when using argmax policy or beam search, but StepGAN cannot further increase the performance using MMI. When using MMI, the CoHS of MLE, SeqGAN and StepGAN are comparable. Second, argmax policy has higher SHS than beam search and MMI in all cases. In the meantime, GANs have higher SHS than MLE, and StepGAN has the highest score with argmax. The inconsistency of improvement between argmax policy, beam search and MMI is very likely because that the GANs are learned with the softmax policy and do not consider beam search and MMI during training. Additionally, we know beam search and MMI maximize the probability of response given an input without maintaining the probability of the response itself. This makes them prefer a coherence response rather than a good sentence structure. These statistics show that SeqGAN, MaliGAN, and REGS cannot consistently improve both coherence and sentence structure, whereas StepGAN outperforms MLE in terms both CoHS and SHS with all decoding methods.5 ",
|
| 872 |
+
"bbox": [
|
| 873 |
+
173,
|
| 874 |
+
683,
|
| 875 |
+
825,
|
| 876 |
+
876
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 7
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "image",
|
| 882 |
+
"img_path": "images/2f5e0ffc3242f4a5aab01b71dbbb5daaaca0aa7de2df387887037e42946a04f8.jpg",
|
| 883 |
+
"image_caption": [
|
| 884 |
+
"Figure 3: The variation of discriminators’ scores using different GAN algorithms during training iterations. The printed color is normalized throughout the generation steps $\\mathbf { \\bar { x } }$ -axis) for each algorithm. (a)(b) are given “how are you ?” as input, and (c)(d) are given “what ’s your name ?” as input. "
|
| 885 |
+
],
|
| 886 |
+
"image_footnote": [],
|
| 887 |
+
"bbox": [
|
| 888 |
+
179,
|
| 889 |
+
109,
|
| 890 |
+
782,
|
| 891 |
+
371
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 8
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "To understand what the discriminators learn, we measure the variance throughout the training iterations at each generation step. In adversarial learning, discriminator’s scores oscillate during training according to the current performance of generator. We argue that discriminator’s score for the most crucial generation step is the most easy to oscillate. This is because the generation step is the most important one for discriminator to identify whether it’s real or fake. In Fig. (3), we show four examples. Fig. (3a) and Fig. (3b) are respectively true response and wrong response given input question ”how are you ?”, and Fig. (3c) and Fig. (3d) are given input question ”what ’s your name ?. The darker color indicates the higher variance on the generation step. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
473,
|
| 901 |
+
825,
|
| 902 |
+
585
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "In Fig. (3), the colors for SeqGAN is always the same. Because the disriminator of SeqGAN only evaluate the whole sequence, the generation steps means no difference to discriminator. Second, REGS and StepGAN both aim to approximate Monte-Carlo search on SeqGAN, but in practice, we can clearly see that the variance of REGS is very different from Monte Carlo search. This is because REGS considers non-terminated episodes, which makes REGS has to spend extra effort on the generation maximum length to check whether there’s a terminal state $( < E O S > )$ . The results of StepGAN and Monte Carlo search (MC-SeqGAN) are quite similar. Based on MC-SeqGAN and StepGAN, the important parts (with darker colors) in the sentences for discriminating the true ones from fake correspond to human knowledge. For example, ”fine , thank you ” are the most important region in Fig. (3a), ”sorry , i ’m sorry” are the most important region in Fig. (3b) when answering ”how are you ?”. When given ”what ’s your name ?”, MC-SeqGAN and StepGAN focus on ”’m john” in Fig. (3c) and ”sorry” in Fig. (3d). We believe the success of StepGAN comes from estimating the goodness of a sequence at every generation step as Monte Carlo search, but with little extra computation. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
173,
|
| 911 |
+
592,
|
| 912 |
+
825,
|
| 913 |
+
786
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 8
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "6 CONCLUSION ",
|
| 920 |
+
"text_level": 1,
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
816,
|
| 924 |
+
318,
|
| 925 |
+
832
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 8
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "In this paper we propose StepGAN to approximate Monte Carlo search with a much lower computational cost.We show that the proposed StepGAN performs equally to or outperforms the state-ofthe-art GAN algorithms on artificial grammars. On a representative real-world conditional sequence generation task–dialogue generation, StepGAN also outperforms other approaches on both coherence and sentence structure. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
174,
|
| 934 |
+
853,
|
| 935 |
+
823,
|
| 936 |
+
922
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 8
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Our proposed artificial grammars not only accurately reflect model coverage and accuracy but also boast clearly distinguishable styles. For example, the sequence style can be the length, the counting style can be the selected digit position, and the addition style can be the selected partition position. This property lends itself to investigating style transfering for sequences generation, which is one of our aims for future work. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
103,
|
| 946 |
+
825,
|
| 947 |
+
172
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 9
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "REFERENCES \nDzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville, and Yoshua Bengio. An actor-critic algorithm for sequence prediction. arXiv preprint arXiv:1607.07086, 2016. \nSamy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems, pp. 1171–1179, 2015. \nTong Che, Yanran Li, Ruixiang Zhang, R Devon Hjelm, Wenjie Li, Yangqiu Song, and Yoshua Bengio. Maximum-likelihood augmented discrete generative adversarial networks. arXiv preprint arXiv:1702.07983, 2017. \nJunyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014. \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014. \nIshaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017. \nKirthevasan Kandasamy, Yoram Bachrach, Ryota Tomioka, Daniel Tarlow, and David Carter. Batch policy gradient methods for improving neural conversation models. arXiv preprint arXiv:1702.03334, 2017. \nMatt J Kusner and Jose Miguel Hern ´ andez-Lobato. Gans for sequences of discrete elements with ´ the gumbel-softmax distribution. arXiv preprint arXiv:1611.04051, 2016. \nJiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. A diversity-promoting objective function for neural conversation models. arXiv preprint arXiv:1510.03055, 2015. \nJiwei Li, Will Monroe, Tianlin Shi, Alan Ritter, and Dan Jurafsky. Adversarial learning for neural dialogue generation. arXiv preprint arXiv:1701.06547, 2017. \nKevin Lin, Dianqi Li, Xiaodong He, Zhengyou Zhang, and Ming-Ting Sun. Adversarial ranking for language generation. arXiv preprint arXiv:1705.11001, 2017. \nChia-Wei Liu, Ryan Lowe, Iulian V Serban, Michael Noseworthy, Laurent Charlin, and Joelle Pineau. How not to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. arXiv preprint arXiv:1603.08023, 2016. \nMehdi Mirza and Simon Osindero. Conditional generative adversarial nets. arXiv preprint arXiv:1411.1784, 2014. \nOfir Press, Amir Bar, Ben Bogin, Jonathan Berant, and Lior Wolf. Language generation with recurrent generative adversarial networks without pre-training. arXiv preprint arXiv:1706.01399, 2017. \nSai Rajeswar, Sandeep Subramanian, Francis Dutil, Christopher Pal, and Aaron Courville. Adversarial generation of natural language. arXiv preprint arXiv:1705.10929, 2017. \nMarc’Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. arXiv preprint arXiv:1511.06732, 2015. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
169,
|
| 956 |
+
194,
|
| 957 |
+
828,
|
| 958 |
+
934
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 9
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
171,
|
| 967 |
+
103,
|
| 968 |
+
823,
|
| 969 |
+
132
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 10
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
173,
|
| 978 |
+
141,
|
| 979 |
+
821,
|
| 980 |
+
170
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 10
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Jorg Tiedemann. News from OPUS - A collection of multilingual parallel corpora with tools ¨ and interfaces. In N. Nicolov, K. Bontcheva, G. Angelova, and R. Mitkov (eds.), Recent Advances in Natural Language Processing, volume V, pp. 237–248. John Benjamins, Amsterdam/Philadelphia, Borovets, Bulgaria, 2009. ISBN 978 90 272 4825 1. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
179,
|
| 990 |
+
823,
|
| 991 |
+
234
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 10
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Oriol Vinyals and Quoc Le. A neural conversational model. arXiv preprint arXiv:1506.05869, 2015. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
173,
|
| 1000 |
+
244,
|
| 1001 |
+
821,
|
| 1002 |
+
260
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
173,
|
| 1011 |
+
268,
|
| 1012 |
+
823,
|
| 1013 |
+
296
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Lantao Yu, Weinan Zhang, Jun Wang, and Yong Yu. Seqgan: Sequence generative adversarial nets with policy gradient. In AAAI, pp. 2852–2858, 2017. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
173,
|
| 1022 |
+
306,
|
| 1023 |
+
823,
|
| 1024 |
+
334
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 10
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Yizhe Zhang, Zhe Gan, Kai Fan, Zhi Chen, Ricardo Henao, Dinghan Shen, and Lawrence Carin. Adversarial feature matching for text generation. arXiv preprint arXiv:1706.03850, 2017. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
171,
|
| 1033 |
+
343,
|
| 1034 |
+
823,
|
| 1035 |
+
372
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 10
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Junbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial network. arXiv preprint arXiv:1609.03126, 2016. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
171,
|
| 1044 |
+
381,
|
| 1045 |
+
821,
|
| 1046 |
+
410
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 10
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "A APPENDIX: PSEUDO CODE OF STEPWISE GAN ",
|
| 1053 |
+
"text_level": 1,
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
174,
|
| 1056 |
+
102,
|
| 1057 |
+
593,
|
| 1058 |
+
118
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 11
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "table",
|
| 1064 |
+
"img_path": "images/36032d27352dfeba3b79e53b3edfc36ca22c1080b9805cc24a877d1dcceb9a67.jpg",
|
| 1065 |
+
"table_caption": [
|
| 1066 |
+
"Table 4: Pseudo code of stepwise GAN ",
|
| 1067 |
+
"Algorithm 1 Stepwise GAN (StepGAN) Training "
|
| 1068 |
+
],
|
| 1069 |
+
"table_footnote": [],
|
| 1070 |
+
"table_body": "<table><tr><td>1</td><td>for number of training iterations do</td></tr><tr><td>2</td><td>for i=1, D-steps do Sample (y,xR) from real data</td></tr><tr><td>3</td><td></td></tr><tr><td>4</td><td>Sample xG ~ PG(.ly)</td></tr><tr><td>5</td><td>Update D using equation (7) T</td></tr><tr><td>6</td><td>D'(xly)=∑-1PD(x.tly)</td></tr><tr><td>7</td><td>D* = arg maxD Ey~pR(y),R~pR(xly)[log(D'(xR|y))] +Ey~PR(y),xG~PG(xly)[log(1-D'(xG|y)]</td></tr><tr><td>8</td><td>end for</td></tr><tr><td>9</td><td>for i=1, G-steps do</td></tr><tr><td>10</td><td>Sample y from real data</td></tr><tr><td>11</td><td>Sample xG ~ PG(.ly)</td></tr><tr><td>12</td><td>Update G using equation (9)</td></tr><tr><td>13</td><td>0G ←0G + na£D(x1...tly)Vlog(𝑝G(x£ly,x...t-1))</td></tr><tr><td>14</td><td>end for</td></tr><tr><td>15</td><td>end for</td></tr><tr><td></td><td></td></tr></table>",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
253,
|
| 1073 |
+
185,
|
| 1074 |
+
743,
|
| 1075 |
+
416
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 11
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "B WEIGHTED FACTORS SEARCH OF STEPGAN AND STEPGAN-SEQ",
|
| 1082 |
+
"text_level": 1,
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
174,
|
| 1085 |
+
454,
|
| 1086 |
+
751,
|
| 1087 |
+
472
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 11
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "table",
|
| 1093 |
+
"img_path": "images/7f26433ca7bf61c7ac142ba13ecfb24904cbf6f3fbade2612157dda630eceb1e.jpg",
|
| 1094 |
+
"table_caption": [
|
| 1095 |
+
"Table 5: StepGAN and StepGAN-Seq with different weight factors. The dash (-) here notes that the weight factors yield neither improvements nor deterioration. "
|
| 1096 |
+
],
|
| 1097 |
+
"table_footnote": [],
|
| 1098 |
+
"table_body": "<table><tr><td colspan=\"7\">StepGAN StepGAN-Seq</td></tr><tr><td colspan=\"2\"></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS Cov</td></tr><tr><td rowspan=\"3\">Sequence</td><td>Uniform</td><td>97.19</td><td>75.92</td><td>66.08</td><td>97.11</td><td>74.85 67.49</td></tr><tr><td>Increase</td><td>97.17</td><td>75.33</td><td>66.75 97.18</td><td>73.30</td><td>68.19</td></tr><tr><td>Decrease</td><td>97.16</td><td>74.73</td><td>67.14</td><td>97.09 74.34</td><td>67.48</td></tr><tr><td rowspan=\"3\">Counting</td><td>Uniform</td><td>77.23</td><td>71.43</td><td>70.18</td><td>74.91</td><td>70.70 69.84</td></tr><tr><td>Increasing</td><td>74.50</td><td>69.66</td><td>70.86</td><td>74.54 70.74</td><td>70.11</td></tr><tr><td>Decreasing</td><td>81.98</td><td>72.24</td><td>69.02</td><td>75.47 70.64</td><td>69.82</td></tr><tr><td rowspan=\"3\">Addition</td><td>Uniform</td><td>44.26</td><td>32.39</td><td>31.91</td><td>44.77</td><td>32.34 31.65</td></tr><tr><td>Increasing</td><td>1</td><td>1 -</td><td>=</td><td>1</td><td>1</td></tr><tr><td>Decreasing</td><td>44.94</td><td>32.19</td><td>31.67</td><td>45.55 32.49</td><td>32.01</td></tr></table>",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
238,
|
| 1101 |
+
537,
|
| 1102 |
+
759,
|
| 1103 |
+
698
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 11
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "We compare different weighted factors $\\alpha ^ { G }$ for StepGAN and StepGAN-Seq, with $\\begin{array} { r } { \\alpha _ { t } ^ { D } = \\frac { 1 } { T } } \\end{array}$ for all the presented cases. As depicted in Table 5, the three grammars are trained using three sorts of weighted factors: uniform $\\begin{array} { r } { \\dot { \\left( \\alpha _ { t } ^ { G } \\ = \\ 1 \\right) } } \\end{array}$ ), increasing $( \\alpha _ { t } ^ { G } \\ = t )$ , and decreasing $( \\alpha _ { t } ^ { G } \\ = \\ T - \\ t + 1 )$ . The results clearly show that the time-step-decreasing weight factors positively affect training. We believe this is because the training spirit of decreased weighted factor start from first correcting prefix. After correcting prefix, it becomes easier to correct the suffix. Please refer to section 5 if you are interested in the details of Acc, AccS, and Cov. ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
173,
|
| 1112 |
+
717,
|
| 1113 |
+
826,
|
| 1114 |
+
815
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 11
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "C ENERGY-BASED STEPWISE GAN (EBSTEPGAN) ",
|
| 1121 |
+
"text_level": 1,
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
174,
|
| 1124 |
+
835,
|
| 1125 |
+
616,
|
| 1126 |
+
853
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 11
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "We propose energy-based stepwise GAN (EBStepGAN) that only change the form of objective function of StepGAN. This is mainly inspired by energy-based GAN (Zhao et al., 2016). As depicted in Fig. 4, the discriminator $D$ here has the same architecture as generator $G$ , and its energy function is cross-entropy. Discriminator assigns low energy to real samples and high enery to generated samples. The advantage of EBStepGAN is that we can initialize both generator and discriminator with the same pre-trained model using MLE. The optimization functions are written as ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
174,
|
| 1135 |
+
867,
|
| 1136 |
+
825,
|
| 1137 |
+
924
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 11
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "image",
|
| 1143 |
+
"img_path": "images/644661665ab6f5463846bfc5f87051f82283916167e2527b207cd6ca308a0415.jpg",
|
| 1144 |
+
"image_caption": [
|
| 1145 |
+
"Figure 4: Illustration of energy-based stepwise GAN "
|
| 1146 |
+
],
|
| 1147 |
+
"image_footnote": [],
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
279,
|
| 1150 |
+
99,
|
| 1151 |
+
710,
|
| 1152 |
+
366
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 12
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
174,
|
| 1161 |
+
417,
|
| 1162 |
+
823,
|
| 1163 |
+
448
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 12
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "equation",
|
| 1169 |
+
"img_path": "images/b3598c995fbe2c319dde3ae92ed9e325d9b5bba7a13173e619a25b16fb614fc0.jpg",
|
| 1170 |
+
"text": "$$\n\\begin{array} { l } { { \\displaystyle D ^ { * } = \\arg \\operatorname* { m a x } _ { D } E _ { ( x ^ { R } , y ) \\sim P ^ { R } ( X , Y ) } [ \\sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { R } | y , x _ { 1 \\dots t - 1 } ^ { R } ) ) ] } } \\\\ { { \\displaystyle \\qquad + m a x i m u m ( 0 , \\beta - E _ { y \\sim P ^ { R } ( Y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ \\sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } ) ) ] ) } } \\end{array}\n$$",
|
| 1171 |
+
"text_format": "latex",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
233,
|
| 1174 |
+
454,
|
| 1175 |
+
761,
|
| 1176 |
+
542
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 12
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "equation",
|
| 1182 |
+
"img_path": "images/f3ac7a85ca44672cf3e5e7d54a3470e8f5451e0024ee44cee726b00f61fe5f54.jpg",
|
| 1183 |
+
"text": "$$\nG ^ { * } = \\arg \\operatorname* { m a x } _ { G } E _ { y \\sim P ^ { R } ( Y ) , x ^ { G } \\sim P ^ { G } ( X | y ) } [ \\sum _ { t = 1 } ^ { T } l o g ( P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } ) ) ] ,\n$$",
|
| 1184 |
+
"text_format": "latex",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
269,
|
| 1187 |
+
558,
|
| 1188 |
+
725,
|
| 1189 |
+
601
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 12
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "where $P ^ { D } ( x _ { t } ^ { G } | y , x _ { 1 \\dots t - 1 } ^ { G } )$ in Equation (11) is the probability of generating $x _ { t } ^ { G }$ given $< y , x _ { 1 \\ldots t - 1 } ^ { G } >$ based on the current model , and $\\beta$ in Equation (10) is the threshold for preventing the discriminator from distinguishing generated samples from real samples too easily. When the energy of generated samples is too high, the threshold turns off the second term in (10). The results of EBStepGAN is shown in Table 6. According to Table 6, EBStepGAN does not show better performance than StepGAN in our current experiments. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
174,
|
| 1198 |
+
606,
|
| 1199 |
+
825,
|
| 1200 |
+
693
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 12
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "table",
|
| 1206 |
+
"img_path": "images/0e6de376861cc4f5891efd891a5a12414391cd676f1a6890fa180de05e54835c.jpg",
|
| 1207 |
+
"table_caption": [
|
| 1208 |
+
"Table 6: Results of artificial grammars by EBStepGAN. Please check Table 2 for other results. "
|
| 1209 |
+
],
|
| 1210 |
+
"table_footnote": [],
|
| 1211 |
+
"table_body": "<table><tr><td colspan=\"4\"> Sequence</td><td colspan=\"3\">Counting</td><td colspan=\"3\">Addition</td></tr><tr><td></td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td><td>Acc</td><td>AccS</td><td>Cov</td></tr><tr><td>EBStepGAN</td><td>97.32</td><td>80.09</td><td>57.12</td><td>79.78</td><td>71.52</td><td>68.44</td><td>45.74</td><td>32.68</td><td>32.11</td></tr></table>",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
191,
|
| 1214 |
+
737,
|
| 1215 |
+
808,
|
| 1216 |
+
784
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 12
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "D APPENDIX: EXAMPLES OF NEURAL DIALOGUE GENERATION ",
|
| 1223 |
+
"text_level": 1,
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
171,
|
| 1226 |
+
103,
|
| 1227 |
+
709,
|
| 1228 |
+
118
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 13
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "table",
|
| 1234 |
+
"img_path": "images/7bac822b5ad2120cbefc663273e4b022347f0610e89dc4164a2289e27d2fde78.jpg",
|
| 1235 |
+
"table_caption": [
|
| 1236 |
+
"Table 7: Examples of neural dialogue generation trained on OpenSubtitles "
|
| 1237 |
+
],
|
| 1238 |
+
"table_footnote": [],
|
| 1239 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>hello,i'm senator snatch</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry .i'm sorry,i'm sorry.i'm a good man . i'm here to see you againsorry you 're late</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i got the money right here .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry .i'm here to help .ican.ican 't do it .i'll take you home .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>hope you enjoyed your pee ..because it ’'s your last on this trip .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>it 's not a problem . it 's not your fault .it doesn 't matter . it 's not a dream . it 's the only thing i can do .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>he say ... if you want to be an actor,he has something to show you .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>you 're not .you can 't do that .what 's he mean ?he 's a very good guy , you know .you 're not gonna be a liar .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1> thank you, thank you .</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm sorry.i'm sorry ,sir .thank you .i'll be right back .you 're welcome .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i feel like a paris princess.</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>iknow it .i know that you 're not there .i feel like ..i can 't see it . you 're not a child anymore .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1>i'm tired of all your questions</td></tr><tr><td rowspan=1 colspan=1>MLESeqGANMaliGANREGSStepGAN</td><td rowspan=1 colspan=1>i'm gonna have to ask you to come . i'm gonna call you .i'ma friend. i 'm going to have to ask you to come in i'm going to be a friend of you .</td></tr><tr><td rowspan=1 colspan=1>Input</td><td rowspan=1 colspan=1> it 's great .</td></tr><tr><td rowspan=1 colspan=2>MLE yeah.SeqGAN it 's great, huh ?MaliGAN it 's great .REGS i was just thinking about it .StepGAN you 're so sweet .</td></tr></table>",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
220,
|
| 1242 |
+
169,
|
| 1243 |
+
777,
|
| 1244 |
+
872
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 13
|
| 1247 |
+
}
|
| 1248 |
+
]
|
parse/train/r1YqWz-R-/r1YqWz-R-_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1YqWz-R-/r1YqWz-R-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rklaWn0qK7/rklaWn0qK7.md
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
|
| 5 |
+
Shengjia Zhao\* Stanford sjzhao@stanford.edu
|
| 6 |
+
|
| 7 |
+
Stephan Eismann Stanford seismann@stanford.edu
|
| 8 |
+
|
| 9 |
+
Lucia Mirabella
|
| 10 |
+
Siemens
|
| 11 |
+
lucia.mirabella $@$ siemens.com
|
| 12 |
+
|
| 13 |
+
Stefano Ermon Stanford ermon@stanford.edu
|
| 14 |
+
|
| 15 |
+
# ABSTRACT
|
| 16 |
+
|
| 17 |
+
Partial differential equations (PDEs) are widely used across the physical and computational sciences. Decades of research and engineering went into designing fast iterative solution methods. Existing solvers are general purpose, but may be sub-optimal for specific classes of problems. In contrast to existing hand-crafted solutions, we propose an approach to learn a fast iterative solver tailored to a specific domain. We achieve this goal by learning to modify the updates of an existing solver using a deep neural network. Crucially, our approach is proven to preserve strong correctness and convergence guarantees. After training on a single geometry, our model generalizes to a wide variety of geometries and boundary conditions, and achieves 2-3 times speedup compared to state-of-the-art solvers.
|
| 18 |
+
|
| 19 |
+
# 1 INTRODUCTION
|
| 20 |
+
|
| 21 |
+
Partial differential equations (PDEs) are ubiquitous tools for modeling physical phenomena, such as heat, electrostatics, and quantum mechanics. Traditionally, PDEs are solved with hand-crafted approaches that iteratively update and improve a candidate solution until convergence. Decades of research and engineering went into designing update rules with fast convergence properties.
|
| 22 |
+
|
| 23 |
+
The performance of existing solvers varies greatly across application domains, with no method uniformly dominating the others. Generic solvers are typically effective, but could be far from optimal for specific domains. In addition, high performing update rules could be too complex to design by hand. In recent years, we have seen that for many classical problems, complex updates learned from data or experience can out-perform hand-crafted ones. For example, for Markov chain Monte Carlo, learned proposal distributions lead to orders of magnitude speedups compared to handdesigned ones (Song et al., 2017; Levy et al., 2017). Other domains that benefited significantly include learned optimizers (Andrychowicz et al., 2016) and learned data structures (Kraska et al., 2018). Our goal is to bring similar benefits to PDE solvers.
|
| 24 |
+
|
| 25 |
+
Hand-designed solvers are relatively simple to analyze and are guaranteed to be correct in a large class of problems. The main challenge is how to provide the same guarantees with a potentially much more complex learned solver. To achieve this goal, we build our learned iterator on top of an existing standard iterative solver to inherit its desirable properties. The iterative solver updates the solution at each step, and we learn a parameterized function to modify this update. This function class is chosen so that for any choice of parameters, the fixed point of the original iterator is preserved. This guarantees correctness, and training can be performed to enhance convergence speed. Because of this design, we only train on a single problem instance; our model correctly generalizes to a variety of different geometries and boundary conditions with no observable loss of performance. As a result, our approach provides: (i) theoretical guarantees of convergence to the correct stationary solution, (ii) faster convergence than existing solvers, and (iii) generalizes to geometries and boundary conditions very different from the ones seen at training time. This is in stark contrast with existing deep learning approaches for PDE solving (Tang et al., 2017; Farimani et al., 2017) that are limited to specific geometries and boundary conditions, and offer no guarantee of correctness.
|
| 26 |
+
|
| 27 |
+
Our approach applies to any PDE with existing linear iterative solvers. As an example application, we solve the 2D Poisson equations. Our method achieves a $2 { - } 3 \times$ speedup on number of multiplyadd operations when compared to standard iterative solvers, even on domains that are significantly different from our training set. Moreover, compared with state-of-the-art solvers implemented in FEniCS (Logg et al., 2012), our method achieves faster performance in terms of wall clock CPU time. Our method is also simple as opposed to deeply optimized solvers such as our baseline in FEniCS (minimal residual method $^ +$ algebraic multigrid preconditioner). Finally, since we utilize standard convolutional networks which can be easily parallelized on GPU, our approach leads to an additional $3 0 \times$ speedup when run on GPU.
|
| 28 |
+
|
| 29 |
+
# 2 BACKGROUND
|
| 30 |
+
|
| 31 |
+
In this section, we give a brief introduction of linear PDEs and iterative solvers. We refer readers to LeVeque (2007) for a thorough review.
|
| 32 |
+
|
| 33 |
+
# 2.1 LINEAR PDES
|
| 34 |
+
|
| 35 |
+
Linear PDE solvers find functions that satisfy a (possibly infinite) set of linear differential equations. More formally, let $\mathcal { F } = \{ \boldsymbol { u } : \mathbb { R } ^ { k } \mathbb { R } \}$ be the space of candidate functions, and $\mathcal { A } : \mathcal { F } \mathcal { F }$ be a linear operator; the goal is to find a function $u \in { \mathcal { F } }$ that satisfies a linear equation ${ \mathcal { A } } u = { \mathcal { E } }$ , where $\boldsymbol { \mathscr { f } }$ is another function $\mathbb { R } ^ { k } \mathbb { R }$ given by our problem. Many PDEs fall into this framework. For example, heat diffusion satisfies $\nabla ^ { 2 } u = \ell$ (Poisson equation), where $\begin{array} { r } { \nabla ^ { 2 } = \frac { \partial ^ { 2 } } { \partial x _ { 1 } ^ { 2 } } + \cdot \cdot \cdot + \frac { \partial ^ { 2 } } { \partial x _ { k } ^ { 2 } } } \end{array}$ is the linear Laplace operator; $u$ maps spatial coordinates (e.g. in $\mathbb { R } ^ { 3 }$ ) into its temperature, and $\boldsymbol { \mathscr { f } }$ maps spatial coordinates into the heat in/out flow. Solving this equation lets us know the stationary temperature given specified heat in/out flow.
|
| 36 |
+
|
| 37 |
+
Usually the equation ${ \mathcal { A } } u = { \mathcal { E } }$ does not uniquely determine $_ { \mathcal { W } }$ . For example, $u =$ constant for any constant is a solution to the equation $\bar { \nabla } ^ { 2 } \bar { u _ { \ } } = \ 0$ . To ensure a unique solution we provide additional equations, called “boundary conditions”. Several boundary conditions arise very naturally in physical problems. A very common one is the Dirichlet boundary condition, where we pick some subset $\mathcal { G } \subset \mathbf { \mathbb { R } } ^ { k }$ and fix the values of the function on $\mathcal { G }$ to some fixed value $\mathcal { \ell }$ ,
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
u ( x ) = \ell ( x ) , { \mathrm { ~ f o r ~ a l l ~ } } x \in { \mathcal { G } }
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
where the function $\boldsymbol { \ell }$ is usually clear from the underlying physical problem. As in previous literature, we refer to $\mathcal { G }$ as the geometry of the problem, and $\mathcal { \ell }$ as the boundary value. We refer to the pair $( \mathcal G , \mathcal { \ell } )$ as the boundary condition. In this paper, we only consider linear PDEs and boundary conditions that have unique solutions.
|
| 44 |
+
|
| 45 |
+
# 2.2 FINITE DIFFERENCE METHOD
|
| 46 |
+
|
| 47 |
+
Most real-world PDEs do not admit an analytic solution and must be solved numerically. The first step is to discretize the solution space $\mathcal { F }$ from $\mathbb { R } ^ { k } \to \mathbb { R }$ into $\mathbb { D } ^ { k } \to \mathbb { R }$ , where $\mathbb { D }$ is a discrete subset of $\mathbb { R }$ . When the space is compact, it is discretized into an $n \times n \times n \cdots$ ( $k$ many) uniform Cartesian grid with mesh width $h$ . Any function in $\mathcal { F }$ is approximated by its value on the $n ^ { k }$ grid points. We denote the discretized function as a vector $u$ in $\mathbb { R } ^ { \bar { n ^ { k } } }$ . In this paper, we focus on 2D problems $k = 2 ,$ ), but the strategy applies to any dimension.
|
| 48 |
+
|
| 49 |
+
We discretize all three terms in the equation ${ \mathcal { A } } u = { \mathcal { E } }$ and boundary condition $( \mathcal G , \mathcal { \ell } )$ . The PDE solution $_ { \mathcal { W } }$ is discretized such that $u _ { i , j } = u ( x _ { i } , y _ { j } )$ corresponds to the value of $_ { \mathcal { W } }$ at grid point $( x _ { i } , y _ { j } )$ . We can similarly discretize n of partial derivative operato $\boldsymbol { \mathscr { f } }$ and . Fo $\boldsymbol { \ell }$ . In linear PDEs, the linear operatxample, for the Poisson equation $\mathcal { A }$ $\begin{array} { r } { \mathcal { A } = \nabla ^ { 2 } = \sum _ { i } \frac { \partial ^ { 2 } } { \partial x _ { i } ^ { 2 } } } \end{array}$ Therefore we can first discretize each partial derivative, then linearly combine the discretized partial derivatives to obtain a discretized $\mathcal { A }$ .
|
| 50 |
+
|
| 51 |
+
Finite difference is a method that approximates partial derivatives in a discretized space, and as mesh width $h 0$ , the approximation approaches the true derivative. For example, $\scriptstyle { \frac { \partial ^ { 2 } } { \partial x ^ { 2 } } } u$ can be discretized in 2D as $\begin{array} { r } { \frac { \partial ^ { 2 } } { \partial x ^ { 2 } } u \approx \frac { 1 } { h ^ { 2 } } ( u _ { i - 1 , j } - 2 u _ { i , j } + u _ { i + 1 , j } ) } \end{array}$ , the Laplace operator in 2D can be correspondingly approximated as:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\nabla ^ { 2 } u = \frac { \partial ^ { 2 } u } { \partial x ^ { 2 } } + \frac { \partial ^ { 2 } u } { \partial y ^ { 2 } } \approx \frac { 1 } { h ^ { 2 } } ( u _ { i - 1 , j } + u _ { i + 1 , j } + u _ { i , j - 1 } + u _ { i , j + 1 } - 4 u _ { i , j } )
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
After discretization, we can rewrite ${ \mathcal { A } } u = { \mathcal { E } }$ as a linear matrix equation
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
A u = f
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $u , f \in \mathbb { R } ^ { n ^ { 2 } }$ , and $A$ is a matrix in $\mathbb { R } ^ { n ^ { 2 } \times n ^ { 2 } }$ (these are $n ^ { 2 }$ dimensional because we focus on 2D problems). In many PDEs such as the Poisson and Helmholtz equation, $A$ is sparse, banded, and symmetric.
|
| 64 |
+
|
| 65 |
+
# 2.3 BOUNDARY CONDITION
|
| 66 |
+
|
| 67 |
+
We also need to include the boundary condition $u ( x ) = \ell ( x )$ for all $x \in { \mathcal { G } }$ . If a discretized point $( x _ { i } , y _ { j } )$ belongs to $\mathcal { G }$ , we need to fix the value of $u _ { i , j }$ to $b _ { i , j }$ . To achieve this, we first define $e \in \{ 0 , 1 \} ^ { n ^ { 2 } }$ to be a vector of 0’s and 1’s, in which 0 indicates that the corresponding point belongs to $\mathcal { G }$ . Then, we define a “reset” matrix $G = d i a g ( e )$ , a diagonal matrix $\mathbb { R } ^ { n ^ { 2 } } \to \mathbb { R } ^ { n ^ { 2 } }$ such that
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
( G u ) _ { i , j } = { \left\{ \begin{array} { l l } { u _ { i , j } } & { ( x _ { i } , y _ { j } ) \notin { \mathcal { G } } } \\ { 0 } & { ( x _ { i } , y _ { j } ) \in { \mathcal { G } } } \end{array} \right. }
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
Intuitively $G$ ”masks” every point in $\mathcal { G }$ to 0. Similarly, $I - G$ can mask every point not in $\mathcal { G }$ to 0. Note that the boundary values are fixed and do not need to satisfy $A u = f$ . Thus, the solution $u$ to the PDE under geometry $\mathcal { G }$ should satisfy:
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\begin{array} { c } { { G ( A u ) = G f } } \\ { { ( I - G ) u = ( I - G ) b } } \end{array}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
The first equation ensures that the interior points (points not in $\mathcal { G }$ ) satisfy $A u = f$ , and the second ensures that the boundary condition is satisfied.
|
| 80 |
+
|
| 81 |
+
To summarize, $( \mathcal { A } , \mathcal { G } , \ell , \ell , n )$ is our PDE problem, and we first discretize the problem on an $n \times n$ grid to obtain $( A , G , f , b , n )$ . Our objective is to obtain a solution $u$ that satisfies Eq. (4), i.e. $A u = f$ for the interior points and boundary condition $u _ { i , j } = b _ { i , j }$ , $\forall ( x _ { i } , y _ { j } ) \in \mathcal { G }$ .
|
| 82 |
+
|
| 83 |
+
# 2.4 ITERATIVE SOLVERS
|
| 84 |
+
|
| 85 |
+
A linear iterative solver is defined as a function that inputs the current proposed solution $u \in \mathbb { R } ^ { n ^ { 2 } }$ and outputs an updated solution $u ^ { \prime }$ . Formally it is a function $\Psi : \mathbb { R } ^ { n ^ { 2 } } \mathbb { R } ^ { n ^ { 2 } }$ that can be expressed as
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
u ^ { \prime } = \Psi ( u ) = T u + c
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where $T$ is a constant update matrix and $c$ is a constant vector. For each iterator $\Psi$ there may be special vectors $u ^ { * } \in \mathbb { R } ^ { n ^ { 2 } }$ that satisfy $\boldsymbol { u } ^ { * } = \boldsymbol { \Psi } ( \boldsymbol { u } ^ { * } )$ . These vectors are called fixed points.
|
| 92 |
+
|
| 93 |
+
The iterative solver $\Psi$ should map any initial $u ^ { 0 } \in \mathbb { R } ^ { n ^ { 2 } }$ to a correct solution of the PDE problem.
|
| 94 |
+
This is formalized in the following theorem.
|
| 95 |
+
|
| 96 |
+
Definition 1 (Valid Iterator). An iterator $\Psi$ is valid w.r.t. a PDE problem $( A , G , f , b , n )$ if it satisfies:
|
| 97 |
+
|
| 98 |
+
a) Convergence: There is a unique fixed point $u ^ { * }$ such that $\Psi$ converges to $u ^ { * }$ from any initialization: $\begin{array} { r } { \forall u ^ { 0 } \in \mathbb { R } ^ { n ^ { 2 } } , \operatorname* { l i m } _ { k \to \infty } \Psi ^ { k } ( u ^ { 0 } ) = u ^ { * } } \end{array}$ .
|
| 99 |
+
|
| 100 |
+
$^ b$ ) Fixed Point: The fixed point $u ^ { * }$ is the solution to the linear system $A u = f$ under boundary condition $( G , b )$ .
|
| 101 |
+
|
| 102 |
+
Convergence: Condition (a) in Definition 1 is satisfied if the matrix $T$ is convergent, i.e. $T ^ { k } \to 0$ as $k \infty$ . It has been proven that $T$ is convergent if and only if the spectral radius $\rho ( T ) < 1$ (Olver, 2008):
|
| 103 |
+
|
| 104 |
+
Theorem 1. (Olver, 2008, Prop 7.25) For a linear iterator $\Psi ( u ) = T u + c , \Psi$ converges to a unique stable fixed point from any initialization if and only if the spectral radius $\rho ( T ) < 1$ .
|
| 105 |
+
|
| 106 |
+
Proof. See Appendix A.
|
| 107 |
+
|
| 108 |
+
It is important to note that Condition (a) only depends on $T$ and not the constant $c$ .
|
| 109 |
+
|
| 110 |
+
Fixed Point: Condition (b) in Definition 1 contains two requirements: satisfy $A u \ : = \ : f$ , and the boundary condition $( G , b )$ . To satisfy $A u = f$ a standard approach is to design $\Psi$ by matrix splitting: split the matrix $A$ into $A = M - N$ ; rewrite $A u = f$ as $M u = N u + f$ (LeVeque, 2007). This naturally suggests the iterative update
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
u ^ { \prime } = M ^ { - 1 } N u + M ^ { - 1 } f
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Because Eq. (6) is a rewrite of $A u = f$ , stationary points $u ^ { * }$ of Eq. (6) satisfy $A u ^ { * } = f$ . Clearly, the choices of $M$ and $N$ are arbitrary but crucial. From Theorem 1, we must choose $M$ such that the update converges. In addition, $\dot { M ^ { - 1 } }$ must easy to compute (e.g., diagonal).
|
| 117 |
+
|
| 118 |
+
Finally we also need to satisfy the boundary condition $( I - G ) u = ( I - G ) b$ in Eq.4. After each update in Eq. (6), the boundary condition could be violated. We use the “reset” operator defined in Eq. (3) to “reset” the values of $u _ { i , j }$ to $b _ { i , j }$ by $G u + ( I - G ) b$ .
|
| 119 |
+
|
| 120 |
+
The final update rule becomes
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
u ^ { \prime } = G ( M ^ { - 1 } N u + M ^ { - 1 } f ) + ( I - G ) b
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
Despite the added complexity, it is still a linear update rule in the form of $u ^ { \prime } = T u + c$ in Eq. (5): we have $T = G M ^ { - 1 } { \dot { N } }$ and $\dot { c } = G M ^ { - 1 } f + ( 1 - \mathbf { \dot { \cal G } } ) b$ . As long as $M$ is a full rank diagonal matrix, fixed points of this equation satisfies Eq. (4). In other words, such a fixed point is a solution of the PDE problem $( A , G , f , b , n )$ .
|
| 127 |
+
|
| 128 |
+
Proposition 1. If $M$ is a full rank diagonal matrix, and $u ^ { * } \in \mathbb { R } ^ { n ^ { 2 } \times n ^ { 2 } }$ satisfies Eq. (7), then $u ^ { * }$ satisfies Eq. (4).
|
| 129 |
+
|
| 130 |
+
# 2.4.1 JACOBI METHOD
|
| 131 |
+
|
| 132 |
+
A simple but effective way to choose $M$ is the Jacobi method, which sets $M \ : = \ : I$ (a full rank diagonal matrix, as required by Proposition 1). For Poisson equations, this update rule has the following form,
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
\begin{array} { l } { { \hat { u } _ { i , j } = \displaystyle \frac { 1 } { 4 } \big ( u _ { i - 1 , j } + u _ { i + 1 , j } + u _ { i , j - 1 } + u _ { i , j + 1 } \big ) + \frac { h ^ { 2 } } { 4 } f _ { i , j } } } \\ { { u ^ { \prime } = G \hat { u } + ( 1 - G ) b } } \end{array}
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
For Poisson equations and any geometry $G$ , the update matrix $T = G ( I - A )$ has spectral radius $\rho ( T ) < 1$ (see Appendix B). In addition, by Proposition 1 any fixed point of the update rule Eq.(8,9) must satisfy Eq. (4). Both convergence and fixed point conditions from Definition 1 are satisfied: Jacobi iterator Eq.(8,9) is valid for any Poisson PDE problem.
|
| 139 |
+
|
| 140 |
+
In addition, each step of the Jacobi update can be implemented as a neural network layer, i.e., Eq. (8) can be efficiently implemented by convolving $u$ with kernel $\left( \begin{array} { c c c } { { 0 } } & { { 1 / 4 } } & { { 0 } } \\ { { 1 / 4 } } & { { 0 } } & { { 1 / 4 } } \\ { { 0 } } & { { 1 / 4 } } & { { 0 } } \end{array} \right)$ and adding $h ^ { 2 } f / 4$ . The “reset” step in Eq. (9) can also be implemented as multiplying $u$ with $\mathbf { G }$ and adding the boundary values $( 1 - G ) b$ .
|
| 141 |
+
|
| 142 |
+
# 2.4.2 MULTIGRID METHOD
|
| 143 |
+
|
| 144 |
+
The Jacobi method has very slow convergence rate (LeVeque, 2007). This is evident from the update rule, where the value at each grid point is only influenced by its immediate neighbors. To propagate information from one grid point to another, we need as many iterations as their distance on the grid. The key insight of the Multigrid method is to perform Jacobi updates on a downsampled (coarser) grid and then upsample the results. A common structure is the V-cycle (Briggs et al., 2000). In each
|
| 145 |
+
|
| 146 |
+
V-cycle, there are $k$ downsampling layers followed by $k$ upsampling layers, and multiple Jacobi updates are performed at each resolution. The downsampling and upsampling operations are also called restriction and prolongation, and are often implemented using weighted restriction and linear interpolation respectively. The advantage of the multigrid method is clear: on a downsampled grid (by a factor of 2) with mesh width $2 h$ , information propagation is twice as fast, and each iteration requires only 1/4 operations compared to the original grid with mesh width $h$ .
|
| 147 |
+
|
| 148 |
+
# 3 LEARNING FAST AND PROVABLY CORRECT ITERATIVE PDE SOLVERS
|
| 149 |
+
|
| 150 |
+
A PDE problem consists of five components $( \mathcal { A } , \mathcal { G } , \ell , \ell , n )$ . One is often interested in solving the same PDE class $\mathcal { A }$ under varying $\boldsymbol { \mathscr { f } }$ , discretization $n$ , and boundary conditions $( \mathcal G , \mathcal { \ell } )$ . For example, solving the Poisson equation under different boundary conditions (e.g., corresponding to different mechanical systems governed by the same physics). In this paper, we fix $\mathcal { A }$ but vary ${ \mathcal { G } } , { \mathcal { f } } , { \mathcal { k } } , n$ , and learn an iterator that solves a class of PDE problems governed by the same $\mathcal { A }$ . For a discretized PDE problem $( A , G , f , b , n )$ and given a standard (hand designed) iterative solver $\Psi$ , our goal is to improve upon $\Psi$ and learn a solver $\Phi$ that has (1) correct fixed point and (2) fast convergence (on average) on the class of problems of interest. We will proceed to parameterize a family of $\Phi$ that satisfies (1) by design, and achieve (2) by optimization.
|
| 151 |
+
|
| 152 |
+
In practice, we can only train $\Phi$ on a small number of problems $( A , f _ { i } , G _ { i } , b _ { i } , n _ { i } )$ . To be useful, $\Phi$ must deliver good performance on every choice of $G , f , b$ , and different grid sizes $n$ . We show, theoretically and empirically, that our iterator family has good generalization properties: even if we train on a single problem $( A , G , f , b , n )$ , the iterator performs well on very different choices of $G , f , b$ , and grid size $n$ . For example, we train our iterator on a $6 4 \times 6 4$ square domain, and test on a $2 5 6 \times 2 5 6$ L-shaped domain (see Figure 1).
|
| 153 |
+
|
| 154 |
+
# 3.1 FORMULATION
|
| 155 |
+
|
| 156 |
+
For a fixed PDE problem class $\mathcal { A }$ , let $\Psi$ be a standard linear iterative solver known to be valid. We will use more formal notation $\Psi ( u ; G , f , b , n )$ as $\Psi$ is a function of $u$ , but also depends on $G , f , b , n$ . Our assumption is that for any choice of $G , f , b , n$ (but fixed PDE class $\mathcal { A }$ ), $\Psi ( u ; G , f , b , n )$ is valid. We previously showed that Jacobi iterator Eq.(8,9) have this property for the Poisson PDE class.
|
| 157 |
+
|
| 158 |
+
We design our new family of iterators $\Phi _ { H } : \mathbb { R } ^ { n ^ { 2 } } \mathbb { R } ^ { n ^ { 2 } }$
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
\begin{array} { c } { { w = \Psi ( u ; G , f , b , n ) - u } } \\ { { { } } } \\ { { \Phi _ { H } ( u ; G , f , b , n ) = \Psi ( u ; G , f , b , n ) + G H w } } \end{array}
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
where $H$ is a learned linear operator (it satisfies $H 0 = 0$ ). The term $G H w$ can be interpreted as a correction term to $\Psi ( u ; G , \bar { f } , b , n )$ . When there is no confusion, we neglect the dependence on $G , f , b , n$ and denote as $\Psi ( u )$ and $\Phi _ { H } ( u )$ .
|
| 165 |
+
|
| 166 |
+
$\Phi _ { H }$ should have similar computation complexity as $\Psi$ . Therefore, we choose $H$ to be a convolutional operator, which can be parameterized by a deep linear convolutional network. We will discuss the parameterization of $H$ in detail in Section 3.4; we first prove some parameterization independent properties.
|
| 167 |
+
|
| 168 |
+
The correct PDE solution is a fixed point of $\Phi _ { H }$ by the following lemma:
|
| 169 |
+
|
| 170 |
+
Lemma 1. For any PDE problem $( A , G , f , b , n )$ and choice of $H$ , if $u ^ { * }$ is a fixed point of $\Psi$ , it is $a$ fixed point of $\Phi _ { H }$ in Eq. (10).
|
| 171 |
+
|
| 172 |
+
Proof. Based on the iterative rule in Eq. (10), if $u ^ { * }$ satisfies $\Psi ( u ^ { * } ) = u ^ { * }$ then $w = \Psi ( u ^ { * } ) - u ^ { * } = \mathbf { 0 }$ Therefore, $\Phi _ { H } ( u ^ { * } ) = \Psi ( u ^ { * } ) + G H \mathbf { 0 } = u ^ { * }$ . □
|
| 173 |
+
|
| 174 |
+
Moreover, the space of $\Phi _ { H }$ subsumes the standard solver $\Psi$ . If $H = 0$ , then $\Phi _ { H } = \Psi$ . Furthermore, denote $\Psi ( u ) = T u + c$ , then if $H = T$ , then since $G T = T$ (see Eq. (7)),
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
\Phi _ { H } ( u ) = \Psi ( u ) + G T ( \Psi ( u ) - u ) = T \Psi ( u ) + c = \Psi ^ { 2 } ( u )
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
which is equal to two iterations of $\Psi$ . Computing $\Psi$ requires one convolution $T$ , while computing $\Phi _ { H }$ requires two convolutions: $T$ and $H$ . Therefore, if we choose $H = T$ , then $\Phi _ { H }$ computes two iterations of $\Psi$ with two convolutions: it is at least as efficient as the standard solver $\Psi$ .
|
| 181 |
+
|
| 182 |
+
# 3.2 TRAINING AND GENERALIZATION
|
| 183 |
+
|
| 184 |
+
We train our iterator $\Phi _ { H } ( u ; G , f , b , n )$ to converge quickly to the ground truth solution on a set $\mathcal { D } = \{ ( G _ { l } , f _ { l } , b _ { l } , n _ { l } ) \} _ { l = 1 } ^ { M }$ of problem instances. For each instance, the ground truth solution $u ^ { * }$ is obtained from the existing solver $\Psi$ . The learning objective is then
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\operatorname* { m i n } _ { H } \sum _ { ( G _ { l } , f _ { l } , b _ { l } , n _ { l } ) \in \mathcal { D } } \mathbb { E } _ { u ^ { 0 } \sim \mathcal { N } ( 0 , 1 ) } \| \Phi _ { H } ^ { k } ( u ^ { 0 } ; G _ { l } , f _ { l } , b _ { l } , n _ { l } ) - u ^ { * } \| _ { 2 } ^ { 2 }
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
Intuitively, we look for a matrix $H$ such that the corresponding iterator $\Phi _ { H }$ will get us as close as possible to the solution in $k$ steps, starting from a random initialization $u ^ { 0 }$ sampled from a white Gaussian. $k$ in our experiments is uniformly chosen from [1, 20], similar to the procedure in (Song et al., 2017). Smaller $k$ is easier to learn with less steps to back-propagate through, while larger $k$ better approximates our test-time setting: we care about the final approximation accuracy after a given number of iteration steps. Combining smaller and larger $k$ performs best in practice.
|
| 191 |
+
|
| 192 |
+
We show in the following theorem that there is a convex open set of $H$ that the learning algorithm can explore. To simplify the statement of the theorem, for any linear iterator $\Phi ( u ) = \mathbf { \bar { \mathit { T } } } u \mathbf { \bar { \mathit { + } } } c$ we will refer to the spectral radius (norm) of $\Phi$ as the spectral radius (norm) of $T$ .
|
| 193 |
+
|
| 194 |
+
Theorem 2. For fixed $G , f , b , n ,$ , the spectral norm of $\Phi _ { H } ( u ; G , f , b , n )$ is a convex function of $H$ and the set of $H$ such that the spectral norm of $\Phi _ { H } ( u ; G , f , b , n ) < 1$ is a convex open set.
|
| 195 |
+
|
| 196 |
+
Proof. See Appendix A.
|
| 197 |
+
|
| 198 |
+
Therefore, to find an iterator with small spectral norm, the learning algorithm only has to explore a convex open set. Note that Theorem 2 holds for spectral norm, whereas validity requires small spectral radius in Theorem 1. Nonetheless, several important PDE problems (Poisson, Helmholtz, etc) are symmetric, so it is natural to use a symmetric iterator, which means that spectral norm is equal to spectral radius. In our experiments, we do not explicitly enforce symmetry, but we observe that the optimization finds symmetric iterators automatically.
|
| 199 |
+
|
| 200 |
+
For training, we use a single grid size $n$ , a single geometry $G$ , $f = 0$ , and a restricted set of boundary conditions $b$ . The geometry we use is a square domain shown in Figure 1a. Although we train on a single domain, the model has surprising generalization properties, which we show in the following:
|
| 201 |
+
|
| 202 |
+
Proposition 2. For fixed $A , G , n$ and fixed $H$ , if for some $f _ { 0 } , b _ { 0 } , \Phi _ { H } ( u ; G , f _ { 0 } , b _ { 0 } , n )$ is valid for the PDE problem $( A , G , f _ { 0 } , b _ { 0 } , n )$ , then for all $f$ and $b$ , the iterator $\Phi _ { H } ( u ; G , f , b , n )$ is valid for the PDE problem $( A , G , f , b , n )$ .
|
| 203 |
+
|
| 204 |
+
Proof. See Appendix A.
|
| 205 |
+
|
| 206 |
+
The proposition states that we freely generalize to different $f$ and $b$ . There is no guarantee that we can generalize to different $G$ and $n$ . Generalization to different $G$ and $n$ has to be empirically verified: in our experiments, our learned iterator converges to the correct solution for a variety of grid sizes $n$ and geometries $G$ , even though it was only trained on one grid size and geometry.
|
| 207 |
+
|
| 208 |
+
Even when generalization fails, there is no risk of obtaining incorrect results. The iterator will simply fail to converge. This is because according to Lemma 1, fixed points of our new iterator is the same as the fixed point of hand designed iterator $\Psi$ . Therefore if our iterator is convergent, it is valid.
|
| 209 |
+
|
| 210 |
+
# 3.3 INTERPRETATION OF $H$
|
| 211 |
+
|
| 212 |
+
What is $H$ trying to approximate? In this section we show that we are training our linear function $G H$ to approximate $\bar { T ( I - T ) } ^ { - 1 }$ : if it were able to approximate $T ( I - T ) ^ { - 1 }$ perfectly, our iterator $\Phi _ { H }$ will converge to the correct solution in a single iteration.
|
| 213 |
+
|
| 214 |
+
Let the original update rule be $\Psi ( u ) = T u + c$ , and the unknown ground truth solution be $u ^ { * }$ satisfying $u ^ { * } = T u ^ { * } + c$ . Let $r = u ^ { * } - u$ be the current error, and $e = u ^ { * } - \Psi ( u )$ be the new error after applying one step of $\Psi$ . They are related by
|
| 215 |
+
|
| 216 |
+
$$
|
| 217 |
+
e = u ^ { * } - \Psi ( u ) = u ^ { * } - ( T u + c ) = T ( u ^ { * } - u ) = T r
|
| 218 |
+
$$
|
| 219 |
+
|
| 220 |
+
In addition, let $w = \Psi ( u ) - u$ be the update $\Psi$ makes. This is related to the current error $r$ by
|
| 221 |
+
|
| 222 |
+
$$
|
| 223 |
+
w = \Psi ( u ) - u = T u + c - u + ( u ^ { * } - T u ^ { * } - c ) = T ( u - u ^ { * } ) + ( u ^ { * } - u ) = ( I - T ) r
|
| 224 |
+
$$
|
| 225 |
+
|
| 226 |
+
From Eq. (10) we can observe that the linear operator $G H$ takes as input $\Psi$ ’s update $w$ , and tries to approximate the error $e$ : $G H w \approx e$ . If the approximation were perfect: $G H w = e$ , the iterator $\Phi _ { H }$ would converge in a single iteration. Therefore, we are trying to find some linear operator $R$ , such that $R w = e$ . In fact, if we combine Eq. (13) and Eq. (14), we can observe that $T ( I - T ) ^ { - 1 }$ is (uniquely) the linear operator we are looking for
|
| 227 |
+
|
| 228 |
+
$$
|
| 229 |
+
T ( I - T ) ^ { - 1 } w = e
|
| 230 |
+
$$
|
| 231 |
+
|
| 232 |
+
where $( I - T ) ^ { - 1 }$ exists because $\rho ( T ) < 1$ , so all eigenvalues of $I - T$ must be strictly positive.
|
| 233 |
+
Therefore, we would like our linear function $G H$ to approximate $T ( I - T ) ^ { - 1 }$ .
|
| 234 |
+
|
| 235 |
+
Note that $( I - T ) ^ { - 1 }$ is a dense matrix in general, meaning that it is impossible to exactly achieve $G H = T ( { \cal I } - { \cal T } ) \dot { - } 1$ with a convolutional operator $H$ . However, the better $G H$ is able to approximate $T ( I - T ) ^ { - 1 }$ , the faster our iterator converges to the solution $u ^ { * }$ .
|
| 236 |
+
|
| 237 |
+
# 3.4 LINEAR DEEP NETWORKS
|
| 238 |
+
|
| 239 |
+
In our iterator design, $H$ is a linear function parameterized by a linear deep network without nonlinearity or bias terms. Even though our objective in Eq. (12) is a non-linear function of the parameters of the deep network, this is not an issue in practice. In particular, Arora et al. (2018) observes that when modeling linear functions, deep networks can be faster to optimize with gradient descent compared to linear ones, despite non-convexity.
|
| 240 |
+
|
| 241 |
+
Even though a linear deep network can only represent a linear function, it has several advantages. On an $n \times n$ grid, each convolution layer only requires $O ( n ^ { 2 } )$ computation and have a constant number of parameters, while a general linear function requires ${ \dot { O ( n ^ { 4 } ) } }$ computation and have $O ( n ^ { 4 } )$ parameters. Stacking $d$ convolution layers allows us to parameterize complex linear functions with large receptive fields, while only requiring $O ( d n ^ { 2 } )$ computation and $O ( d ) ^ { \top }$ parameters. We experiment on two types of linear deep networks:
|
| 242 |
+
|
| 243 |
+
Conv model. We model $H$ as a network with $3 \times 3$ convolutional layers without non-linearity or bias. We will refer to a model with $k$ layers as $^ { 6 6 } \mathrm { C o n v } k ^ { \prime }$ , e.g. Conv3 has 3 convolutional layers.
|
| 244 |
+
|
| 245 |
+
U-Net model. The Conv models suffer from the same problem as Jacobi: the receptive field grows only by 1 for each additional layer. To resolve this problem, we design the deep network counterpart of the Multigrid method. Instead of manually designing the sub-sampling $/$ super-sampling functions, we use a U-Net architecture (Ronneberger et al., 2015) to learn them from data. Because each layer reduces the grid size by half, and the $i$ -th layer of the U-Net only operates on $( 2 ^ { - i } n )$ -sized grids, the total computation is only increased by a factor of
|
| 246 |
+
|
| 247 |
+
$$
|
| 248 |
+
1 + 1 / 4 + 1 / 1 6 + \cdot \cdot \cdot < 4 / 3
|
| 249 |
+
$$
|
| 250 |
+
|
| 251 |
+
compared to a two-layer convolution. The minimal overhead provides a very large improvement of convergence speed in our experiments. We will refer to Multigrid and U-Net models with $k$ sub-sampling layers as Multigrid $k$ and U-Netk, e.g. U-Net2 is a model with 2 sub-sampling layers.
|
| 252 |
+
|
| 253 |
+
# 4 EXPERIMENTS
|
| 254 |
+
|
| 255 |
+
# 4.1 SETTING
|
| 256 |
+
|
| 257 |
+
We evaluate our method on the 2D Poisson equation with Dirichlet boundary conditions, $\nabla ^ { 2 } u =$ $\boldsymbol { \mathscr { f } }$ . There exist several iterative solvers for the Poisson equation, including Jacobi, Gauss-Seidel, conjugate-gradient, and multigrid methods. We select the Jacobi method as our standard solver $\Psi$ .
|
| 258 |
+
|
| 259 |
+
To reemphasize, our goal is to train a model on simple domains where the ground truth solutions can be easily obtained, and then evaluate its performance on different geometries and boundary conditions. Therefore, for training, we select the simplest Laplace equation, $\nabla ^ { 2 } u = 0$ , on a square domain with boundary conditions such that each side is a random fixed value. Figure 1a shows an example of our training domain and its ground truth solution. This setting is also used in Farimani et al. (2017) and Sharma et al. (2018).
|
| 260 |
+
|
| 261 |
+

|
| 262 |
+
Figure 1: The ground truth solutions of examples in different settings. We only train our models on the square domain, and we test on all 4 settings.
|
| 263 |
+
|
| 264 |
+
For testing, we use larger grid sizes than training. For example, we test on $2 5 6 \times 2 5 6$ grid for a model trained on $6 4 \times 6 4$ grids. Moreover, we designed challenging geometries to test the generalization of our models. We test generalization on 4 different settings: (i) same geometry but larger grid, (ii) L-shape geometry, (iii) Cylinders geometry, and (iv) Poisson equation in same geometry, but $f \neq 0$ . The two geometries are designed because the models were trained on square domains and have never seen sharp or curved boundaries. Examples of the 4 settings are shown in Figure 1.
|
| 265 |
+
|
| 266 |
+
# 4.2 EVALUATION
|
| 267 |
+
|
| 268 |
+
As discussed in Section 2.4, the convergence rate of any linear iterator can be determined from the spectral radius $\rho ( T )$ , which provides guarantees on convergence and convergence rate. However, a fair comparison should also consider the computation cost of $H$ . Thus, we evaluate the convergence rate by calculating the computation cost required for the error to drop below a certain threshold.
|
| 269 |
+
|
| 270 |
+
On GPU, the Jacobi iterator and our model can both be efficiently implemented as convolutional layers. Thus, we measure the computation cost by the number of convolutional layers. On CPU, each Jacobi iteration $\begin{array} { r } { u _ { i , j } ^ { \prime } = \frac { 1 } { 4 } ( u _ { i - 1 , j } + u _ { i + 1 , j } + \dot { u } _ { i , j - 1 } + u _ { i , j + 1 } ) } \end{array}$ has 4 multiply-add operations, while a $3 \times 3$ convolutional kernel requires 9 operations, so we measure the computation cost by the number of multiply-add operations. This metric is biased in favor of Jacobi because there is little practical reason to implement convolutions on CPU. Nonetheless, we report both metrics in our experiments.
|
| 271 |
+
|
| 272 |
+
# 4.3 CONV MODEL
|
| 273 |
+
|
| 274 |
+
Table 1 shows results of the Conv model. The model is trained on a $1 6 \times 1 6$ square domain, and tested on $6 4 \times 6 4$ . For all settings, our models converge to the correct solution, and require less computation than Jacobi. The best model, Conv3, is $\sim 5 \times$ faster than Jacobi in terms of layers, and $\sim 2 . 5 \times$ faster in terms of multiply-add operations.
|
| 275 |
+
|
| 276 |
+
As discussed in Section 3.2, if our iterator converges for a geometry, then it is guaranteed to converge to the correct solution for any $f$ and boundary values $b$ . The experiment results show that our model not only converges but also converges faster than the standard solver, even though it is only trained on a smaller square domain.
|
| 277 |
+
|
| 278 |
+
# 4.4 U-NET MODEL
|
| 279 |
+
|
| 280 |
+
For the U-Net models, we compare them against Multigrid models with the same number of subsampling and smoothing layers. Therefore, our models have the same number of convolutional layers, and roughly $9 / 4$ times the number of operations compared to Multigrid. The model is trained on a $6 4 \times 6 4$ square domain, and tested on $2 5 6 \times 2 5 6$ .
|
| 281 |
+
|
| 282 |
+
The bottom part of Table 1 shows the results of the U-Net model. Similar to the results of Conv models, our models outperforms Multigrid in all settings. Note that U-Net2 has lower computation cost compared with Multigrid2 than U-Net3 compared to Multigrid 3. This is because Multigrid2 is a relatively worse baseline. U-Net3 still converges faster than U-Net2.
|
| 283 |
+
|
| 284 |
+
Table 1: Comparisons between our models and the baseline solvers. The Conv models are compared with Jacobi, and the U-Net models are compared with Multigrid. The numbers are the ratio between the computation costs of our models and the baselines. None of the values are greater than 1, which means that all of our models achieve a speed up on every problem and both performance metric (convolutional layers and multiply-add operations).
|
| 285 |
+
|
| 286 |
+
<table><tr><td>Model</td><td>Baseline</td><td>Square layers /ops</td><td>L-shape layers /ops</td><td>Cylinders layers /ops</td><td>Square-Poisson layers /ops</td></tr><tr><td>Conv1</td><td>Jacobi</td><td>0.432/0.702</td><td>0.432/0.702</td><td>0.432/0.702</td><td>0.431/0.701</td></tr><tr><td>Conv2</td><td>Jacobi</td><td>0.286 / 0.524</td><td>0.286 / 0.524</td><td>0.286 / 0.524</td><td>0.285 / 0.522</td></tr><tr><td>Conv3</td><td>Jacobi</td><td>0.219 / 0.424</td><td>0.219 / 0.423</td><td>0.220 / 0.426</td><td>0.217 /0.421</td></tr><tr><td>Conv4</td><td>Jacobi</td><td>0.224 /0.449</td><td>0.224 / 0.449</td><td>0.224 / 0.448</td><td>0.222 / 0.444</td></tr><tr><td>U-Net2</td><td>Multigrid2</td><td>0.091/0.205</td><td>0.090/0.203</td><td>0.091/0.204</td><td>0.079 / 0.178</td></tr><tr><td>U-Net3</td><td>Multigrid3</td><td>0.220 / 0.494</td><td>0.213 / 0.479</td><td>0.201 / 0.453</td><td>0.185 / 0.417</td></tr></table>
|
| 287 |
+
|
| 288 |
+

|
| 289 |
+
Figure 2: CPU runtime comparisons of our model with the FEniCS model. Our method is comparable or faster than the best solver in FEniCS in all cases. When run on GPU, our solver provides an additional $3 0 \times$ speedup.
|
| 290 |
+
|
| 291 |
+
# 4.5 COMPARISON WITH FENICS
|
| 292 |
+
|
| 293 |
+
The FEniCS package (Logg et al., 2012) provides a collection of tools with high-level Python and $\mathrm { C } { + } { + }$ interfaces to solve differential equations. The open-source project is developed and maintained by a global community of scientists and software developers. Its extensive optimization over the years, including the support for parallel computation, has led to its widespread adaption in industry and academia (Alnæs et al., 2015).
|
| 294 |
+
|
| 295 |
+
We measure the wall clock time of the FEniCS model and our model, run on the same hardware. The FEniCS model is set to be the minimal residual method with algebraic multigrid preconditioner, which we measure to be the fastest compared to other methods such as Jacobi or Incomplete LU factorization preconditioner. We ignore the time it takes to set up geometry and boundary conditions, and only consider the time the solver takes to solve the problem. We set the error threshold to be 1 percent of the initial error. For the square domain, we use a quadrilateral mesh. For the L-shape and cylinder domains, however, we let FEniCS generate the mesh automatically, while ensuring the number of mesh points to be similar.
|
| 296 |
+
|
| 297 |
+
Figure 2 shows that our model is comparable or faster than FEniCS in wall clock time. These experiments are all done on CPU. Our model efficiently runs on GPU, while the fast but complex methods in FEniCS do not have efficient GPU implementations available. On GPU, we measure an additional $3 0 \times$ speedup (on Tesla K80 GPU, compared with a 64-core CPU).
|
| 298 |
+
|
| 299 |
+
# 5 RELATED WORK
|
| 300 |
+
|
| 301 |
+
Recently, there have been several works on applying deep learning to solve the Poisson equation. However, to the best of our knowledge, previous works used deep networks to directly generate the solution; they have no correctness guarantees and are not generalizable to arbitrary grid sizes and boundary conditions. Most related to our work are (Farimani et al., 2017) and (Sharma et al., 2018), which learn deep networks to output the solution of the 2D Laplace equation (a special case where $f = 0 ,$ ). (Farimani et al., 2017) trained a U-Net model that takes in the boundary condition as a 2D image and outputs the solution. The model is trained by L1 loss to the ground truth solution and an adversarial discriminator loss. (Sharma et al., 2018) also trained a U-net model but used a weakly-supervised loss. There are other related works that solved the Poisson equation in concrete physical problems. (Tang et al., 2017) solved for electric potential in 2D/3D space; (Tompson et al., 2017) solved for pressure fields for fluid simulation; (Zhang et al., 2018) solved particle simulation of a PN Junction.
|
| 302 |
+
|
| 303 |
+
There are other works that solve other types of PDEs. For example, many studies aimed to use deep learning to accelerate and approximate fluid dynamics, governed by the Euler equation or the Navier-Stokes equations (Guo et al., 2016; Yang et al., 2016; Chu & Thuerey, 2017; Kutz, 2017). (Eismann et al., 2018) use Bayesian optimization to design shapes with reduced drag coefficients in laminar fluid flow. Other applications include solving the Schrodinger equation (Mills et al., 2017), turbulence modeling (Singh et al., 2017), and the American options and Black Scholes PDE (Sirignano & Spiliopoulos, 2018). A lot of these PDEs are nonlinear and may not have a standard linear iterative solver, which is a limitation to our current method since our model must be built on top of an existing linear solver to ensure correctness. We consider the extension to different PDEs as future work.
|
| 304 |
+
|
| 305 |
+
# 6 CONCLUSION
|
| 306 |
+
|
| 307 |
+
We presented a method to learn an iterative solver for PDEs that improves on an existing standard solver. The correct solution is theoretically guaranteed to be the fixed point of our iterator. We show that our model, trained on simple domains, can generalize to different grid sizes, geometries and boundary conditions. It converges correctly and achieves significant speedups compared to standard solvers, including highly optimized ones implemented in FEniCS.
|
| 308 |
+
|
| 309 |
+
# REFERENCES
|
| 310 |
+
|
| 311 |
+
Martin S Alnæs, Jan Blechta, Johan Hake, August Johansson, Benjamin Kehlet, Anders Logg, Chris Richardson, Johannes Ring, Marie E Rognes, and Garth N Wells. The fenics project version 1.5. Archive of Numerical Software, 3(100):9–23, 2015.
|
| 312 |
+
|
| 313 |
+
Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando De Freitas. Learning to learn by gradient descent by gradient descent. In Advances in Neural Information Processing Systems, 2016.
|
| 314 |
+
|
| 315 |
+
Sanjeev Arora, Nadav Cohen, and Elad Hazan. On the optimization of deep networks: Implicit acceleration by overparameterization. arXiv preprint arXiv:1802.06509, 2018.
|
| 316 |
+
|
| 317 |
+
William L Briggs, Steve F McCormick, et al. A multigrid tutorial, volume 72. Siam, 2000.
|
| 318 |
+
|
| 319 |
+
Mengyu Chu and Nils Thuerey. Data-driven synthesis of smoke flows with cnn-based feature descriptors. ACM Transactions on Graphics (TOG), 36(4):69, 2017.
|
| 320 |
+
|
| 321 |
+
Stephan Eismann, Daniel Levy, Rui Shu, Stefan Bartzsch, and Stefano Ermon. Bayesian optimization and attribute adjustment. In Proc. 34th Conference on Uncertainty in Artificial Intelligence, 2018.
|
| 322 |
+
|
| 323 |
+
Amir Barati Farimani, Joseph Gomes, and Vijay S Pande. Deep learning the physics of transport phenomena. arXiv preprint arXiv:1709.02432, 2017.
|
| 324 |
+
|
| 325 |
+
Stanley P Frankel. Convergence rates of iterative treatments of partial differential equations. Mathematical Tables and Other Aids to Computation, 4(30):65–75, 1950.
|
| 326 |
+
|
| 327 |
+
Xiaoxiao Guo, Wei Li, and Francesco Iorio. Convolutional neural networks for steady flow approximation. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 481–490, 2016.
|
| 328 |
+
|
| 329 |
+
Tim Kraska, Alex Beutel, Ed H Chi, Jeffrey Dean, and Neoklis Polyzotis. The case for learned index structures. In Proceedings of the 2018 International Conference on Management of Data, pp. 489–504. ACM, 2018.
|
| 330 |
+
|
| 331 |
+
J Nathan Kutz. Deep learning in fluid dynamics. Journal of Fluid Mechanics, 814:1–4, 2017.
|
| 332 |
+
|
| 333 |
+
Randall J LeVeque. Finite difference methods for ordinary and partial differential equations: steadystate and time-dependent problems, volume 98. Siam, 2007.
|
| 334 |
+
|
| 335 |
+
Daniel Levy, Matthew D Hoffman, and Jascha Sohl-Dickstein. Generalizing hamiltonian monte carlo with neural networks. arXiv preprint arXiv:1711.09268, 2017.
|
| 336 |
+
|
| 337 |
+
Anders Logg, Kent-Andre Mardal, and Garth Wells. Automated solution of differential equations by the finite element method: The FEniCS book. Springer, 2012. ISBN 978-3-642-23098-1. doi: 10.1007/978-3-642-23099-8.
|
| 338 |
+
|
| 339 |
+
Kyle Mills, Michael Spanner, and Isaac Tamblyn. Deep learning and the schrodinger equation.¨ Physical Review A, 96(4):042113, 2017.
|
| 340 |
+
|
| 341 |
+
Peter J Olver. Numerical solution of ordinary differential equations. Numerical Analysis Lecture Notes, 2008.
|
| 342 |
+
|
| 343 |
+
Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computerassisted intervention, pp. 234–241. Springer, 2015.
|
| 344 |
+
|
| 345 |
+
Rishi Sharma, Amir Barati Farimani, Joe Gomes, Peter Eastman, and Vijay Pande. Weaklysupervised deep learning of heat transport via physics informed loss. arXiv preprint arXiv:1807.11374, 2018.
|
| 346 |
+
|
| 347 |
+
Anand Pratap Singh, Shivaji Medida, and Karthik Duraisamy. Machine-learning-augmented predictive modeling of turbulent separated flows over airfoils. AIAA Journal, pp. 2215–2227, 2017.
|
| 348 |
+
|
| 349 |
+
Justin Sirignano and Konstantinos Spiliopoulos. Dgm: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339–1364, 2018.
|
| 350 |
+
|
| 351 |
+
Jiaming Song, Shengjia Zhao, and Stefano Ermon. A-nice-mc: Adversarial training for mcmc. In Advances in Neural Information Processing Systems, 2017.
|
| 352 |
+
|
| 353 |
+
Wei Tang, Tao Shan, Xunwang Dang, Maokun Li, Fan Yang, Shenheng Xu, and Ji Wu. Study on a poisson’s equation solver based on deep learning technique. In IEEE Electrical Design of Advanced Packaging and Systems Symposium (EDAPS). IEEE, 2017.
|
| 354 |
+
|
| 355 |
+
Jonathan Tompson, Kristofer Schlachter, Pablo Sprechmann, and Ken Perlin. Accelerating eulerian fluid simulation with convolutional networks. In International Conference on Machine Learning, 2017.
|
| 356 |
+
|
| 357 |
+
Cheng Yang, Xubo Yang, and Xiangyun Xiao. Data-driven projection method in fluid simulation. Computer Animation and Virtual Worlds, 27(3-4):415–424, 2016.
|
| 358 |
+
|
| 359 |
+
Zhongyang Zhang, Ling Zhang, Ze Sun, Nicholas Erickson, Ryan From, and Jun Fan. Solving poisson’s equation using deep learning in particle simulation of pn junction. arXiv preprint arXiv:1810.10192, 2018.
|
| 360 |
+
|
| 361 |
+
# A PROOFS
|
| 362 |
+
|
| 363 |
+
Theorem 1. For a linear iterator $\Psi ( u ) = T u + c , \Psi$ $\Psi$ converges to a unique stable fixed point from any initialization if and only if the spectral radius $\rho ( T ) < 1$ .
|
| 364 |
+
|
| 365 |
+
Proof. Suppose $\rho ( T ) < 1$ , then $( I { - } T ) ^ { - 1 }$ must exist because all eigenvalues of $I { - } T$ must be strictly positive. Let $u ^ { * } = ( I - T ) ^ { - 1 } c ;$ ; this $u ^ { * }$ is a stationary point of the iterator $\Psi$ , i.e. $u ^ { * } = T u ^ { * } + c$ . For any initialization $u ^ { 0 }$ , let $\boldsymbol { u } ^ { \hat { k } } = \boldsymbol { \Psi } ^ { k } ( \boldsymbol { u } ^ { 0 } )$ . The error $e ^ { k } = u ^ { * } - u ^ { k }$ satisfies
|
| 366 |
+
|
| 367 |
+
$$
|
| 368 |
+
T e ^ { k } = ( T u ^ { * } + c ) - ( T u ^ { k } + c ) = u ^ { * } - u ^ { k + 1 } = e ^ { k + 1 } \Rightarrow e ^ { k } = T ^ { k } e ^ { 0 }
|
| 369 |
+
$$
|
| 370 |
+
|
| 371 |
+
Since $\rho ( T ) < 1$ , we know $T ^ { k } 0$ as $k \infty$ (LeVeque, 2007), which means the error $e ^ { k } \to 0$ Therefore, $\Psi$ converges to $u ^ { * }$ from any $u ^ { 0 }$ .
|
| 372 |
+
|
| 373 |
+
Now suppose $\rho ( T ) \geq 1$ . Let $\lambda _ { 1 }$ be the largest absolute eigenvalue where $\rho ( T ) = | \lambda _ { 1 } | \geq 1$ , and $v _ { 1 }$ be its corresponding eigenvector. We select initialization $u ^ { 0 } = u ^ { * } + v _ { 1 }$ , then $e ^ { 0 } = v _ { 1 }$ . Because $| \lambda _ { 1 } | \ge 1$ , we have $| \lambda _ { 1 } ^ { k } | \geq \bar { 1 }$ , then
|
| 374 |
+
|
| 375 |
+
$$
|
| 376 |
+
T ^ { k } e ^ { 0 } = \lambda _ { 1 } ^ { k } v _ { 1 } \triangleleft _ { k \to \infty } 0
|
| 377 |
+
$$
|
| 378 |
+
|
| 379 |
+
However we know that under a different initialization $\hat { u } ^ { 0 } = u ^ { * }$ , we have $\hat { e } ^ { 0 } = 0$ , so $T ^ { k } \hat { e } ^ { 0 } = 0$ . Therefore the iteration cannot converge to the same fixed point from different initializations $u ^ { 0 }$ and $\hat { u } ^ { 0 }$ .
|
| 380 |
+
|
| 381 |
+
Proposition 1 If $M$ is a full rank diagonal matrix, and $u ^ { * } \in \mathbb { R } ^ { n ^ { 2 } \times n ^ { 2 } }$ satisfies Eq. $( 7 )$ , then $u ^ { * }$ satisfies Eq. (4).
|
| 382 |
+
|
| 383 |
+
Proof of Proposition $^ { l }$ . Let $u ^ { * }$ be a fixed point of Eq. (7) then
|
| 384 |
+
|
| 385 |
+
$$
|
| 386 |
+
G u ^ { * } + ( I - G ) u ^ { * } = G ( M ^ { - 1 } N u ^ { * } + M ^ { - 1 } f ) + ( I - G ) b
|
| 387 |
+
$$
|
| 388 |
+
|
| 389 |
+
This is equivalent to
|
| 390 |
+
|
| 391 |
+
$$
|
| 392 |
+
\begin{array} { c } { { ( I - G ) u ^ { * } = ( I - G ) b } } \\ { { \nonumber } } \\ { { G ( u ^ { * } - M ^ { - 1 } N u ^ { * } - M ^ { - 1 } f ) = 0 } } \end{array}
|
| 393 |
+
$$
|
| 394 |
+
|
| 395 |
+
The latter equation is equivalent to $G M ^ { - 1 } ( A u ^ { * } - f ) = 0$ . If $M$ is a full rank diagonal matrix, this implies $G ( A u ^ { * } - f ) = 0$ , which is $G A u ^ { * } = G f$ . Therefore, $u ^ { * }$ satisfies Eq.(4). □
|
| 396 |
+
|
| 397 |
+
Theorem 2. For fixed $G , f , b , n$ , the spectral norm of $\Phi _ { H } ( u ; G , f , b , n )$ is a convex function of $H$ , and the set of $H$ such that the spectral norm of $\Phi _ { H } ( u ; G , f , b , n ) < 1$ is a convex open set.
|
| 398 |
+
|
| 399 |
+
Proof. As before, denote $\Psi ( u ) = T u + c$ . Observe that
|
| 400 |
+
|
| 401 |
+
$$
|
| 402 |
+
\Phi _ { H } ( u ; G , f , b , n ) = T u + c + G H ( T u + c - u ) = ( T + G H T - G H ) u + G H c + c T ( T + G H T - G H ) .
|
| 403 |
+
$$
|
| 404 |
+
|
| 405 |
+
The spectral norm $\lVert \cdot \rVert _ { 2 }$ is convex with respect to its argument, and $( T + G H T - G H )$ is linear in $H$ . Thus, $\| T + G H T - G H \| _ { 2 }$ is convex in $H$ as well. Thus, under the condition that $\| T +$ $G H T - G H \vert _ { 2 } < 1$ , the set of $H$ must be convex because it is a sub-level set of the convex function $\| T + G H T - G H \| _ { 2 }$ .
|
| 406 |
+
|
| 407 |
+
To prove that it is open, observe that $\lVert \cdot \rVert _ { 2 }$ is a continuous function, so $\| T + G H T - G H \| _ { 2 }$ is a continuous map from $H$ to the spectral radius of $\Phi _ { H }$ . If we consider the set of $H$ such that $\| T + G H T - G H \| _ { 2 } < 1$ , this set is the preimage of $( - \epsilon , 1 )$ for any $\epsilon > 0$ . As $( - \epsilon , 1 )$ is open, its preimage must be open.
|
| 408 |
+
|
| 409 |
+
Proposition 2. For fixed $A , G , n$ and fixed $H$ , if for some $f _ { 0 } , b _ { 0 } , \Phi _ { H } ( u ; G , f _ { 0 } , b _ { 0 } , n )$ is valid for the PDE problem $( A , G , f _ { 0 } , b _ { 0 } , n )$ , then for all $f$ and $b$ , the iterator $\Phi _ { H } ( u ; G , f , b , n )$ is valid for the PDE problem $( A , G , f , b , n )$ .
|
| 410 |
+
|
| 411 |
+
Proof. From Theorem 1 and Lemma 1, our iterator is valid if and only if $\rho ( T + G H T - G H ) < 1$ . The iterator $T + G H T - G H$ only depends on $A , G$ , and is independent of the constant $c$ in Eq. (18). Thus, the validity of the iterator is independent with $f$ and $b$ . Thus, if the iterator is valid for some $f _ { 0 }$ and $b _ { 0 }$ , then it is valid for any choice of $f$ and $b$ .
|
| 412 |
+
|
| 413 |
+
# B PROOF OF CONVERGENCE OF JACOBI METHOD
|
| 414 |
+
|
| 415 |
+
In Section 2.4.1, we show that for Poisson equation, the update matrix $T = G ( I - A )$ . We now formally prove that $\rho ( G ( I - A ) ) < 1$ for any $G$ .
|
| 416 |
+
|
| 417 |
+
For any matrix $T$ , the spectral radius is bounded by the spectral norm: $\rho ( T ) \ \leq \ \| T \| _ { 2 }$ , and the equality holds if $T$ is symmetric. Since $( I - A )$ is a symmetric matrix, $\rho ( I - A ) = \| I - A \| _ { 2 }$ . It has been proven that $\rho ( I - A ) < 1$ (Frankel, 1950). Moreover, $\| G \| _ { 2 } = 1$ . Finally, matrix norms are sub-multiplicative, so
|
| 418 |
+
|
| 419 |
+
$$
|
| 420 |
+
\rho ( T ) \leq \| G ( I - A ) \| _ { 2 } \leq \| G \| _ { 2 } \| I - A \| _ { 2 } < 1
|
| 421 |
+
$$
|
| 422 |
+
|
| 423 |
+
$\rho ( T ) < 1$ is true for any $G$ . Thus, the standard Jacobi method is valid for the Poisson equation under any geometry.
|
parse/train/rklaWn0qK7/rklaWn0qK7_content_list.json
ADDED
|
@@ -0,0 +1,2175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "LEARNING NEURAL PDE SOLVERS WITH CONVER-GENCE GUARANTEES",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jun-Ting Hsieh\\* Stanford junting@stanford.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
194,
|
| 20 |
+
328,
|
| 21 |
+
237
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Shengjia Zhao\\* Stanford sjzhao@stanford.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
421,
|
| 30 |
+
194,
|
| 31 |
+
562,
|
| 32 |
+
237
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Stephan Eismann Stanford seismann@stanford.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
653,
|
| 41 |
+
195,
|
| 42 |
+
813,
|
| 43 |
+
237
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Lucia Mirabella \nSiemens \nlucia.mirabella $@$ siemens.com ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
183,
|
| 52 |
+
258,
|
| 53 |
+
383,
|
| 54 |
+
300
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Stefano Ermon Stanford ermon@stanford.edu ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
535,
|
| 63 |
+
258,
|
| 64 |
+
676,
|
| 65 |
+
300
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "ABSTRACT ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
454,
|
| 75 |
+
337,
|
| 76 |
+
544,
|
| 77 |
+
352
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Partial differential equations (PDEs) are widely used across the physical and computational sciences. Decades of research and engineering went into designing fast iterative solution methods. Existing solvers are general purpose, but may be sub-optimal for specific classes of problems. In contrast to existing hand-crafted solutions, we propose an approach to learn a fast iterative solver tailored to a specific domain. We achieve this goal by learning to modify the updates of an existing solver using a deep neural network. Crucially, our approach is proven to preserve strong correctness and convergence guarantees. After training on a single geometry, our model generalizes to a wide variety of geometries and boundary conditions, and achieves 2-3 times speedup compared to state-of-the-art solvers. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
233,
|
| 86 |
+
367,
|
| 87 |
+
764,
|
| 88 |
+
506
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 INTRODUCTION ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
531,
|
| 99 |
+
336,
|
| 100 |
+
546
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Partial differential equations (PDEs) are ubiquitous tools for modeling physical phenomena, such as heat, electrostatics, and quantum mechanics. Traditionally, PDEs are solved with hand-crafted approaches that iteratively update and improve a candidate solution until convergence. Decades of research and engineering went into designing update rules with fast convergence properties. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
563,
|
| 110 |
+
823,
|
| 111 |
+
617
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "The performance of existing solvers varies greatly across application domains, with no method uniformly dominating the others. Generic solvers are typically effective, but could be far from optimal for specific domains. In addition, high performing update rules could be too complex to design by hand. In recent years, we have seen that for many classical problems, complex updates learned from data or experience can out-perform hand-crafted ones. For example, for Markov chain Monte Carlo, learned proposal distributions lead to orders of magnitude speedups compared to handdesigned ones (Song et al., 2017; Levy et al., 2017). Other domains that benefited significantly include learned optimizers (Andrychowicz et al., 2016) and learned data structures (Kraska et al., 2018). Our goal is to bring similar benefits to PDE solvers. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
625,
|
| 121 |
+
825,
|
| 122 |
+
750
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Hand-designed solvers are relatively simple to analyze and are guaranteed to be correct in a large class of problems. The main challenge is how to provide the same guarantees with a potentially much more complex learned solver. To achieve this goal, we build our learned iterator on top of an existing standard iterative solver to inherit its desirable properties. The iterative solver updates the solution at each step, and we learn a parameterized function to modify this update. This function class is chosen so that for any choice of parameters, the fixed point of the original iterator is preserved. This guarantees correctness, and training can be performed to enhance convergence speed. Because of this design, we only train on a single problem instance; our model correctly generalizes to a variety of different geometries and boundary conditions with no observable loss of performance. As a result, our approach provides: (i) theoretical guarantees of convergence to the correct stationary solution, (ii) faster convergence than existing solvers, and (iii) generalizes to geometries and boundary conditions very different from the ones seen at training time. This is in stark contrast with existing deep learning approaches for PDE solving (Tang et al., 2017; Farimani et al., 2017) that are limited to specific geometries and boundary conditions, and offer no guarantee of correctness. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
757,
|
| 132 |
+
825,
|
| 133 |
+
922
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "",
|
| 140 |
+
"bbox": [
|
| 141 |
+
173,
|
| 142 |
+
103,
|
| 143 |
+
823,
|
| 144 |
+
132
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Our approach applies to any PDE with existing linear iterative solvers. As an example application, we solve the 2D Poisson equations. Our method achieves a $2 { - } 3 \\times$ speedup on number of multiplyadd operations when compared to standard iterative solvers, even on domains that are significantly different from our training set. Moreover, compared with state-of-the-art solvers implemented in FEniCS (Logg et al., 2012), our method achieves faster performance in terms of wall clock CPU time. Our method is also simple as opposed to deeply optimized solvers such as our baseline in FEniCS (minimal residual method $^ +$ algebraic multigrid preconditioner). Finally, since we utilize standard convolutional networks which can be easily parallelized on GPU, our approach leads to an additional $3 0 \\times$ speedup when run on GPU. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
173,
|
| 153 |
+
138,
|
| 154 |
+
825,
|
| 155 |
+
263
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "2 BACKGROUND ",
|
| 162 |
+
"text_level": 1,
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
284,
|
| 166 |
+
326,
|
| 167 |
+
300
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "In this section, we give a brief introduction of linear PDEs and iterative solvers. We refer readers to LeVeque (2007) for a thorough review. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
314,
|
| 177 |
+
823,
|
| 178 |
+
343
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "2.1 LINEAR PDES ",
|
| 185 |
+
"text_level": 1,
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
358,
|
| 189 |
+
313,
|
| 190 |
+
373
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "Linear PDE solvers find functions that satisfy a (possibly infinite) set of linear differential equations. More formally, let $\\mathcal { F } = \\{ \\boldsymbol { u } : \\mathbb { R } ^ { k } \\mathbb { R } \\}$ be the space of candidate functions, and $\\mathcal { A } : \\mathcal { F } \\mathcal { F }$ be a linear operator; the goal is to find a function $u \\in { \\mathcal { F } }$ that satisfies a linear equation ${ \\mathcal { A } } u = { \\mathcal { E } }$ , where $\\boldsymbol { \\mathscr { f } }$ is another function $\\mathbb { R } ^ { k } \\mathbb { R }$ given by our problem. Many PDEs fall into this framework. For example, heat diffusion satisfies $\\nabla ^ { 2 } u = \\ell$ (Poisson equation), where $\\begin{array} { r } { \\nabla ^ { 2 } = \\frac { \\partial ^ { 2 } } { \\partial x _ { 1 } ^ { 2 } } + \\cdot \\cdot \\cdot + \\frac { \\partial ^ { 2 } } { \\partial x _ { k } ^ { 2 } } } \\end{array}$ is the linear Laplace operator; $u$ maps spatial coordinates (e.g. in $\\mathbb { R } ^ { 3 }$ ) into its temperature, and $\\boldsymbol { \\mathscr { f } }$ maps spatial coordinates into the heat in/out flow. Solving this equation lets us know the stationary temperature given specified heat in/out flow. ",
|
| 197 |
+
"bbox": [
|
| 198 |
+
173,
|
| 199 |
+
383,
|
| 200 |
+
825,
|
| 201 |
+
505
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "Usually the equation ${ \\mathcal { A } } u = { \\mathcal { E } }$ does not uniquely determine $_ { \\mathcal { W } }$ . For example, $u =$ constant for any constant is a solution to the equation $\\bar { \\nabla } ^ { 2 } \\bar { u _ { \\ } } = \\ 0$ . To ensure a unique solution we provide additional equations, called “boundary conditions”. Several boundary conditions arise very naturally in physical problems. A very common one is the Dirichlet boundary condition, where we pick some subset $\\mathcal { G } \\subset \\mathbf { \\mathbb { R } } ^ { k }$ and fix the values of the function on $\\mathcal { G }$ to some fixed value $\\mathcal { \\ell }$ , ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
511,
|
| 211 |
+
825,
|
| 212 |
+
582
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 1
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "equation",
|
| 218 |
+
"img_path": "images/7e35f48aabc5044b010c5357d90f1bd840b624cf20fe388968614f19190b0ad2.jpg",
|
| 219 |
+
"text": "$$\nu ( x ) = \\ell ( x ) , { \\mathrm { ~ f o r ~ a l l ~ } } x \\in { \\mathcal { G } }\n$$",
|
| 220 |
+
"text_format": "latex",
|
| 221 |
+
"bbox": [
|
| 222 |
+
403,
|
| 223 |
+
584,
|
| 224 |
+
593,
|
| 225 |
+
601
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "where the function $\\boldsymbol { \\ell }$ is usually clear from the underlying physical problem. As in previous literature, we refer to $\\mathcal { G }$ as the geometry of the problem, and $\\mathcal { \\ell }$ as the boundary value. We refer to the pair $( \\mathcal G , \\mathcal { \\ell } )$ as the boundary condition. In this paper, we only consider linear PDEs and boundary conditions that have unique solutions. ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
174,
|
| 234 |
+
602,
|
| 235 |
+
823,
|
| 236 |
+
659
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 1
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "2.2 FINITE DIFFERENCE METHOD ",
|
| 243 |
+
"text_level": 1,
|
| 244 |
+
"bbox": [
|
| 245 |
+
176,
|
| 246 |
+
674,
|
| 247 |
+
421,
|
| 248 |
+
689
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 1
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "Most real-world PDEs do not admit an analytic solution and must be solved numerically. The first step is to discretize the solution space $\\mathcal { F }$ from $\\mathbb { R } ^ { k } \\to \\mathbb { R }$ into $\\mathbb { D } ^ { k } \\to \\mathbb { R }$ , where $\\mathbb { D }$ is a discrete subset of $\\mathbb { R }$ . When the space is compact, it is discretized into an $n \\times n \\times n \\cdots$ ( $k$ many) uniform Cartesian grid with mesh width $h$ . Any function in $\\mathcal { F }$ is approximated by its value on the $n ^ { k }$ grid points. We denote the discretized function as a vector $u$ in $\\mathbb { R } ^ { \\bar { n ^ { k } } }$ . In this paper, we focus on 2D problems $k = 2 ,$ ), but the strategy applies to any dimension. ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
700,
|
| 258 |
+
825,
|
| 259 |
+
787
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 1
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "We discretize all three terms in the equation ${ \\mathcal { A } } u = { \\mathcal { E } }$ and boundary condition $( \\mathcal G , \\mathcal { \\ell } )$ . The PDE solution $_ { \\mathcal { W } }$ is discretized such that $u _ { i , j } = u ( x _ { i } , y _ { j } )$ corresponds to the value of $_ { \\mathcal { W } }$ at grid point $( x _ { i } , y _ { j } )$ . We can similarly discretize n of partial derivative operato $\\boldsymbol { \\mathscr { f } }$ and . Fo $\\boldsymbol { \\ell }$ . In linear PDEs, the linear operatxample, for the Poisson equation $\\mathcal { A }$ $\\begin{array} { r } { \\mathcal { A } = \\nabla ^ { 2 } = \\sum _ { i } \\frac { \\partial ^ { 2 } } { \\partial x _ { i } ^ { 2 } } } \\end{array}$ Therefore we can first discretize each partial derivative, then linearly combine the discretized partial derivatives to obtain a discretized $\\mathcal { A }$ . ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
173,
|
| 268 |
+
794,
|
| 269 |
+
825,
|
| 270 |
+
886
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 1
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "Finite difference is a method that approximates partial derivatives in a discretized space, and as mesh width $h 0$ , the approximation approaches the true derivative. For example, $\\scriptstyle { \\frac { \\partial ^ { 2 } } { \\partial x ^ { 2 } } } u$ can be discretized in 2D as $\\begin{array} { r } { \\frac { \\partial ^ { 2 } } { \\partial x ^ { 2 } } u \\approx \\frac { 1 } { h ^ { 2 } } ( u _ { i - 1 , j } - 2 u _ { i , j } + u _ { i + 1 , j } ) } \\end{array}$ , the Laplace operator in 2D can be correspondingly approximated as: ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
174,
|
| 279 |
+
892,
|
| 280 |
+
823,
|
| 281 |
+
924
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 1
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "",
|
| 288 |
+
"bbox": [
|
| 289 |
+
173,
|
| 290 |
+
101,
|
| 291 |
+
826,
|
| 292 |
+
132
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 2
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "equation",
|
| 298 |
+
"img_path": "images/7b3ede8956385d72516a843418937da4714e5f648adc1d5635a1dc1c11a92592.jpg",
|
| 299 |
+
"text": "$$\n\\nabla ^ { 2 } u = \\frac { \\partial ^ { 2 } u } { \\partial x ^ { 2 } } + \\frac { \\partial ^ { 2 } u } { \\partial y ^ { 2 } } \\approx \\frac { 1 } { h ^ { 2 } } ( u _ { i - 1 , j } + u _ { i + 1 , j } + u _ { i , j - 1 } + u _ { i , j + 1 } - 4 u _ { i , j } )\n$$",
|
| 300 |
+
"text_format": "latex",
|
| 301 |
+
"bbox": [
|
| 302 |
+
258,
|
| 303 |
+
137,
|
| 304 |
+
738,
|
| 305 |
+
172
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 2
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "After discretization, we can rewrite ${ \\mathcal { A } } u = { \\mathcal { E } }$ as a linear matrix equation ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
176,
|
| 314 |
+
184,
|
| 315 |
+
645,
|
| 316 |
+
200
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 2
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "equation",
|
| 322 |
+
"img_path": "images/29191fdd9fae6f3a8ff9f6d91db06d742515ce114305d21a090f87eab030a329.jpg",
|
| 323 |
+
"text": "$$\nA u = f\n$$",
|
| 324 |
+
"text_format": "latex",
|
| 325 |
+
"bbox": [
|
| 326 |
+
470,
|
| 327 |
+
205,
|
| 328 |
+
529,
|
| 329 |
+
222
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "where $u , f \\in \\mathbb { R } ^ { n ^ { 2 } }$ , and $A$ is a matrix in $\\mathbb { R } ^ { n ^ { 2 } \\times n ^ { 2 } }$ (these are $n ^ { 2 }$ dimensional because we focus on 2D problems). In many PDEs such as the Poisson and Helmholtz equation, $A$ is sparse, banded, and symmetric. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
174,
|
| 338 |
+
228,
|
| 339 |
+
825,
|
| 340 |
+
273
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "2.3 BOUNDARY CONDITION ",
|
| 347 |
+
"text_level": 1,
|
| 348 |
+
"bbox": [
|
| 349 |
+
174,
|
| 350 |
+
289,
|
| 351 |
+
382,
|
| 352 |
+
304
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "We also need to include the boundary condition $u ( x ) = \\ell ( x )$ for all $x \\in { \\mathcal { G } }$ . If a discretized point $( x _ { i } , y _ { j } )$ belongs to $\\mathcal { G }$ , we need to fix the value of $u _ { i , j }$ to $b _ { i , j }$ . To achieve this, we first define $e \\in \\{ 0 , 1 \\} ^ { n ^ { 2 } }$ to be a vector of 0’s and 1’s, in which 0 indicates that the corresponding point belongs to $\\mathcal { G }$ . Then, we define a “reset” matrix $G = d i a g ( e )$ , a diagonal matrix $\\mathbb { R } ^ { n ^ { 2 } } \\to \\mathbb { R } ^ { n ^ { 2 } }$ such that ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
173,
|
| 361 |
+
314,
|
| 362 |
+
825,
|
| 363 |
+
378
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "equation",
|
| 369 |
+
"img_path": "images/803cb590101bff864d1c78c0d7a667c8ccc856f5b2eb4f670af6cbcbc278437c.jpg",
|
| 370 |
+
"text": "$$\n( G u ) _ { i , j } = { \\left\\{ \\begin{array} { l l } { u _ { i , j } } & { ( x _ { i } , y _ { j } ) \\notin { \\mathcal { G } } } \\\\ { 0 } & { ( x _ { i } , y _ { j } ) \\in { \\mathcal { G } } } \\end{array} \\right. }\n$$",
|
| 371 |
+
"text_format": "latex",
|
| 372 |
+
"bbox": [
|
| 373 |
+
392,
|
| 374 |
+
385,
|
| 375 |
+
604,
|
| 376 |
+
421
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "Intuitively $G$ ”masks” every point in $\\mathcal { G }$ to 0. Similarly, $I - G$ can mask every point not in $\\mathcal { G }$ to 0. Note that the boundary values are fixed and do not need to satisfy $A u = f$ . Thus, the solution $u$ to the PDE under geometry $\\mathcal { G }$ should satisfy: ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
173,
|
| 385 |
+
426,
|
| 386 |
+
826,
|
| 387 |
+
469
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "equation",
|
| 393 |
+
"img_path": "images/99c2b97af9560c84d53796897038905c94fc4066f80de8597cd00e4059549677.jpg",
|
| 394 |
+
"text": "$$\n\\begin{array} { c } { { G ( A u ) = G f } } \\\\ { { ( I - G ) u = ( I - G ) b } } \\end{array}\n$$",
|
| 395 |
+
"text_format": "latex",
|
| 396 |
+
"bbox": [
|
| 397 |
+
423,
|
| 398 |
+
473,
|
| 399 |
+
575,
|
| 400 |
+
512
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "The first equation ensures that the interior points (points not in $\\mathcal { G }$ ) satisfy $A u = f$ , and the second ensures that the boundary condition is satisfied. ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
171,
|
| 409 |
+
515,
|
| 410 |
+
823,
|
| 411 |
+
544
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "To summarize, $( \\mathcal { A } , \\mathcal { G } , \\ell , \\ell , n )$ is our PDE problem, and we first discretize the problem on an $n \\times n$ grid to obtain $( A , G , f , b , n )$ . Our objective is to obtain a solution $u$ that satisfies Eq. (4), i.e. $A u = f$ for the interior points and boundary condition $u _ { i , j } = b _ { i , j }$ , $\\forall ( x _ { i } , y _ { j } ) \\in \\mathcal { G }$ . ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
173,
|
| 420 |
+
550,
|
| 421 |
+
825,
|
| 422 |
+
594
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "2.4 ITERATIVE SOLVERS ",
|
| 429 |
+
"text_level": 1,
|
| 430 |
+
"bbox": [
|
| 431 |
+
174,
|
| 432 |
+
609,
|
| 433 |
+
357,
|
| 434 |
+
623
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "A linear iterative solver is defined as a function that inputs the current proposed solution $u \\in \\mathbb { R } ^ { n ^ { 2 } }$ and outputs an updated solution $u ^ { \\prime }$ . Formally it is a function $\\Psi : \\mathbb { R } ^ { n ^ { 2 } } \\mathbb { R } ^ { n ^ { 2 } }$ that can be expressed as ",
|
| 441 |
+
"bbox": [
|
| 442 |
+
174,
|
| 443 |
+
635,
|
| 444 |
+
825,
|
| 445 |
+
679
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 2
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "equation",
|
| 451 |
+
"img_path": "images/71f61be8fb65be34660bf4fcf58f4060367587a526d8773c8bd315756786d566.jpg",
|
| 452 |
+
"text": "$$\nu ^ { \\prime } = \\Psi ( u ) = T u + c\n$$",
|
| 453 |
+
"text_format": "latex",
|
| 454 |
+
"bbox": [
|
| 455 |
+
428,
|
| 456 |
+
678,
|
| 457 |
+
571,
|
| 458 |
+
695
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 2
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "where $T$ is a constant update matrix and $c$ is a constant vector. For each iterator $\\Psi$ there may be special vectors $u ^ { * } \\in \\mathbb { R } ^ { n ^ { 2 } }$ that satisfy $\\boldsymbol { u } ^ { * } = \\boldsymbol { \\Psi } ( \\boldsymbol { u } ^ { * } )$ . These vectors are called fixed points. ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
176,
|
| 467 |
+
698,
|
| 468 |
+
825,
|
| 469 |
+
729
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 2
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "The iterative solver $\\Psi$ should map any initial $u ^ { 0 } \\in \\mathbb { R } ^ { n ^ { 2 } }$ to a correct solution of the PDE problem. \nThis is formalized in the following theorem. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
176,
|
| 478 |
+
736,
|
| 479 |
+
823,
|
| 480 |
+
767
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 2
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "Definition 1 (Valid Iterator). An iterator $\\Psi$ is valid w.r.t. a PDE problem $( A , G , f , b , n )$ if it satisfies: ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
173,
|
| 489 |
+
770,
|
| 490 |
+
820,
|
| 491 |
+
786
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 2
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "a) Convergence: There is a unique fixed point $u ^ { * }$ such that $\\Psi$ converges to $u ^ { * }$ from any initialization: $\\begin{array} { r } { \\forall u ^ { 0 } \\in \\mathbb { R } ^ { n ^ { 2 } } , \\operatorname* { l i m } _ { k \\to \\infty } \\Psi ^ { k } ( u ^ { 0 } ) = u ^ { * } } \\end{array}$ . ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
205,
|
| 500 |
+
795,
|
| 501 |
+
825,
|
| 502 |
+
829
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 2
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "$^ b$ ) Fixed Point: The fixed point $u ^ { * }$ is the solution to the linear system $A u = f$ under boundary condition $( G , b )$ . ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
207,
|
| 511 |
+
837,
|
| 512 |
+
823,
|
| 513 |
+
867
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 2
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "Convergence: Condition (a) in Definition 1 is satisfied if the matrix $T$ is convergent, i.e. $T ^ { k } \\to 0$ as $k \\infty$ . It has been proven that $T$ is convergent if and only if the spectral radius $\\rho ( T ) < 1$ (Olver, 2008): ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
174,
|
| 522 |
+
881,
|
| 523 |
+
825,
|
| 524 |
+
924
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 2
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Theorem 1. (Olver, 2008, Prop 7.25) For a linear iterator $\\Psi ( u ) = T u + c , \\Psi$ converges to a unique stable fixed point from any initialization if and only if the spectral radius $\\rho ( T ) < 1$ . ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
171,
|
| 533 |
+
102,
|
| 534 |
+
825,
|
| 535 |
+
133
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 3
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "Proof. See Appendix A. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
147,
|
| 545 |
+
336,
|
| 546 |
+
162
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 3
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "It is important to note that Condition (a) only depends on $T$ and not the constant $c$ . ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
173,
|
| 555 |
+
176,
|
| 556 |
+
714,
|
| 557 |
+
193
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 3
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "Fixed Point: Condition (b) in Definition 1 contains two requirements: satisfy $A u \\ : = \\ : f$ , and the boundary condition $( G , b )$ . To satisfy $A u = f$ a standard approach is to design $\\Psi$ by matrix splitting: split the matrix $A$ into $A = M - N$ ; rewrite $A u = f$ as $M u = N u + f$ (LeVeque, 2007). This naturally suggests the iterative update ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
173,
|
| 566 |
+
198,
|
| 567 |
+
825,
|
| 568 |
+
256
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 3
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "equation",
|
| 574 |
+
"img_path": "images/14219c93d1f343cc5a0239b497ece5a11afc678de4d36991b21ee882de065a2a.jpg",
|
| 575 |
+
"text": "$$\nu ^ { \\prime } = M ^ { - 1 } N u + M ^ { - 1 } f\n$$",
|
| 576 |
+
"text_format": "latex",
|
| 577 |
+
"bbox": [
|
| 578 |
+
408,
|
| 579 |
+
261,
|
| 580 |
+
573,
|
| 581 |
+
279
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 3
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "Because Eq. (6) is a rewrite of $A u = f$ , stationary points $u ^ { * }$ of Eq. (6) satisfy $A u ^ { * } = f$ . Clearly, the choices of $M$ and $N$ are arbitrary but crucial. From Theorem 1, we must choose $M$ such that the update converges. In addition, $\\dot { M ^ { - 1 } }$ must easy to compute (e.g., diagonal). ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
285,
|
| 591 |
+
825,
|
| 592 |
+
329
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 3
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Finally we also need to satisfy the boundary condition $( I - G ) u = ( I - G ) b$ in Eq.4. After each update in Eq. (6), the boundary condition could be violated. We use the “reset” operator defined in Eq. (3) to “reset” the values of $u _ { i , j }$ to $b _ { i , j }$ by $G u + ( I - G ) b$ . ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
174,
|
| 601 |
+
334,
|
| 602 |
+
825,
|
| 603 |
+
378
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 3
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "The final update rule becomes ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
383,
|
| 613 |
+
372,
|
| 614 |
+
398
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 3
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "equation",
|
| 620 |
+
"img_path": "images/5bcd93e430d54e1f72e7b4149b49a12ee10abd7acdb48f3c5bafc87e8c3ae247.jpg",
|
| 621 |
+
"text": "$$\nu ^ { \\prime } = G ( M ^ { - 1 } N u + M ^ { - 1 } f ) + ( I - G ) b\n$$",
|
| 622 |
+
"text_format": "latex",
|
| 623 |
+
"bbox": [
|
| 624 |
+
356,
|
| 625 |
+
405,
|
| 626 |
+
627,
|
| 627 |
+
422
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 3
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "Despite the added complexity, it is still a linear update rule in the form of $u ^ { \\prime } = T u + c$ in Eq. (5): we have $T = G M ^ { - 1 } { \\dot { N } }$ and $\\dot { c } = G M ^ { - 1 } f + ( 1 - \\mathbf { \\dot { \\cal G } } ) b$ . As long as $M$ is a full rank diagonal matrix, fixed points of this equation satisfies Eq. (4). In other words, such a fixed point is a solution of the PDE problem $( A , G , f , b , n )$ . ",
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
429,
|
| 637 |
+
825,
|
| 638 |
+
486
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 3
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "Proposition 1. If $M$ is a full rank diagonal matrix, and $u ^ { * } \\in \\mathbb { R } ^ { n ^ { 2 } \\times n ^ { 2 } }$ satisfies Eq. (7), then $u ^ { * }$ satisfies Eq. (4). ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
171,
|
| 647 |
+
489,
|
| 648 |
+
823,
|
| 649 |
+
522
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 3
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "2.4.1 JACOBI METHOD ",
|
| 656 |
+
"text_level": 1,
|
| 657 |
+
"bbox": [
|
| 658 |
+
174,
|
| 659 |
+
536,
|
| 660 |
+
348,
|
| 661 |
+
550
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 3
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "A simple but effective way to choose $M$ is the Jacobi method, which sets $M \\ : = \\ : I$ (a full rank diagonal matrix, as required by Proposition 1). For Poisson equations, this update rule has the following form, ",
|
| 668 |
+
"bbox": [
|
| 669 |
+
174,
|
| 670 |
+
559,
|
| 671 |
+
823,
|
| 672 |
+
603
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 3
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "equation",
|
| 678 |
+
"img_path": "images/a5437d3a6256f1d4397653b934135b43d7d2aa8ecf2fa3fe06e56f4b357ccb37.jpg",
|
| 679 |
+
"text": "$$\n\\begin{array} { l } { { \\hat { u } _ { i , j } = \\displaystyle \\frac { 1 } { 4 } \\big ( u _ { i - 1 , j } + u _ { i + 1 , j } + u _ { i , j - 1 } + u _ { i , j + 1 } \\big ) + \\frac { h ^ { 2 } } { 4 } f _ { i , j } } } \\\\ { { u ^ { \\prime } = G \\hat { u } + ( 1 - G ) b } } \\end{array}\n$$",
|
| 680 |
+
"text_format": "latex",
|
| 681 |
+
"bbox": [
|
| 682 |
+
316,
|
| 683 |
+
609,
|
| 684 |
+
679,
|
| 685 |
+
661
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 3
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "For Poisson equations and any geometry $G$ , the update matrix $T = G ( I - A )$ has spectral radius $\\rho ( T ) < 1$ (see Appendix B). In addition, by Proposition 1 any fixed point of the update rule Eq.(8,9) must satisfy Eq. (4). Both convergence and fixed point conditions from Definition 1 are satisfied: Jacobi iterator Eq.(8,9) is valid for any Poisson PDE problem. ",
|
| 692 |
+
"bbox": [
|
| 693 |
+
173,
|
| 694 |
+
665,
|
| 695 |
+
825,
|
| 696 |
+
723
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 3
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "In addition, each step of the Jacobi update can be implemented as a neural network layer, i.e., Eq. (8) can be efficiently implemented by convolving $u$ with kernel $\\left( \\begin{array} { c c c } { { 0 } } & { { 1 / 4 } } & { { 0 } } \\\\ { { 1 / 4 } } & { { 0 } } & { { 1 / 4 } } \\\\ { { 0 } } & { { 1 / 4 } } & { { 0 } } \\end{array} \\right)$ and adding $h ^ { 2 } f / 4$ . The “reset” step in Eq. (9) can also be implemented as multiplying $u$ with $\\mathbf { G }$ and adding the boundary values $( 1 - G ) b$ . ",
|
| 703 |
+
"bbox": [
|
| 704 |
+
173,
|
| 705 |
+
728,
|
| 706 |
+
825,
|
| 707 |
+
815
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 3
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "text",
|
| 713 |
+
"text": "2.4.2 MULTIGRID METHOD ",
|
| 714 |
+
"text_level": 1,
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
829,
|
| 718 |
+
379,
|
| 719 |
+
844
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 3
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "The Jacobi method has very slow convergence rate (LeVeque, 2007). This is evident from the update rule, where the value at each grid point is only influenced by its immediate neighbors. To propagate information from one grid point to another, we need as many iterations as their distance on the grid. The key insight of the Multigrid method is to perform Jacobi updates on a downsampled (coarser) grid and then upsample the results. A common structure is the V-cycle (Briggs et al., 2000). In each ",
|
| 726 |
+
"bbox": [
|
| 727 |
+
173,
|
| 728 |
+
853,
|
| 729 |
+
825,
|
| 730 |
+
924
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 3
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "V-cycle, there are $k$ downsampling layers followed by $k$ upsampling layers, and multiple Jacobi updates are performed at each resolution. The downsampling and upsampling operations are also called restriction and prolongation, and are often implemented using weighted restriction and linear interpolation respectively. The advantage of the multigrid method is clear: on a downsampled grid (by a factor of 2) with mesh width $2 h$ , information propagation is twice as fast, and each iteration requires only 1/4 operations compared to the original grid with mesh width $h$ . ",
|
| 737 |
+
"bbox": [
|
| 738 |
+
174,
|
| 739 |
+
103,
|
| 740 |
+
825,
|
| 741 |
+
188
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 4
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "3 LEARNING FAST AND PROVABLY CORRECT ITERATIVE PDE SOLVERS",
|
| 748 |
+
"text_level": 1,
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
207,
|
| 752 |
+
787,
|
| 753 |
+
223
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 4
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "A PDE problem consists of five components $( \\mathcal { A } , \\mathcal { G } , \\ell , \\ell , n )$ . One is often interested in solving the same PDE class $\\mathcal { A }$ under varying $\\boldsymbol { \\mathscr { f } }$ , discretization $n$ , and boundary conditions $( \\mathcal G , \\mathcal { \\ell } )$ . For example, solving the Poisson equation under different boundary conditions (e.g., corresponding to different mechanical systems governed by the same physics). In this paper, we fix $\\mathcal { A }$ but vary ${ \\mathcal { G } } , { \\mathcal { f } } , { \\mathcal { k } } , n$ , and learn an iterator that solves a class of PDE problems governed by the same $\\mathcal { A }$ . For a discretized PDE problem $( A , G , f , b , n )$ and given a standard (hand designed) iterative solver $\\Psi$ , our goal is to improve upon $\\Psi$ and learn a solver $\\Phi$ that has (1) correct fixed point and (2) fast convergence (on average) on the class of problems of interest. We will proceed to parameterize a family of $\\Phi$ that satisfies (1) by design, and achieve (2) by optimization. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
173,
|
| 762 |
+
236,
|
| 763 |
+
825,
|
| 764 |
+
363
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 4
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "In practice, we can only train $\\Phi$ on a small number of problems $( A , f _ { i } , G _ { i } , b _ { i } , n _ { i } )$ . To be useful, $\\Phi$ must deliver good performance on every choice of $G , f , b$ , and different grid sizes $n$ . We show, theoretically and empirically, that our iterator family has good generalization properties: even if we train on a single problem $( A , G , f , b , n )$ , the iterator performs well on very different choices of $G , f , b$ , and grid size $n$ . For example, we train our iterator on a $6 4 \\times 6 4$ square domain, and test on a $2 5 6 \\times 2 5 6$ L-shaped domain (see Figure 1). ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
369,
|
| 774 |
+
825,
|
| 775 |
+
453
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 4
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "3.1 FORMULATION ",
|
| 782 |
+
"text_level": 1,
|
| 783 |
+
"bbox": [
|
| 784 |
+
174,
|
| 785 |
+
469,
|
| 786 |
+
318,
|
| 787 |
+
483
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 4
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "For a fixed PDE problem class $\\mathcal { A }$ , let $\\Psi$ be a standard linear iterative solver known to be valid. We will use more formal notation $\\Psi ( u ; G , f , b , n )$ as $\\Psi$ is a function of $u$ , but also depends on $G , f , b , n$ . Our assumption is that for any choice of $G , f , b , n$ (but fixed PDE class $\\mathcal { A }$ ), $\\Psi ( u ; G , f , b , n )$ is valid. We previously showed that Jacobi iterator Eq.(8,9) have this property for the Poisson PDE class. ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
173,
|
| 796 |
+
494,
|
| 797 |
+
825,
|
| 798 |
+
551
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 4
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "We design our new family of iterators $\\Phi _ { H } : \\mathbb { R } ^ { n ^ { 2 } } \\mathbb { R } ^ { n ^ { 2 } }$ ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
173,
|
| 807 |
+
559,
|
| 808 |
+
562,
|
| 809 |
+
575
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 4
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "equation",
|
| 815 |
+
"img_path": "images/bae33c2e028190309f0bf6077e346545064990523d35384339c9cff9a42c8a58.jpg",
|
| 816 |
+
"text": "$$\n\\begin{array} { c } { { w = \\Psi ( u ; G , f , b , n ) - u } } \\\\ { { { } } } \\\\ { { \\Phi _ { H } ( u ; G , f , b , n ) = \\Psi ( u ; G , f , b , n ) + G H w } } \\end{array}\n$$",
|
| 817 |
+
"text_format": "latex",
|
| 818 |
+
"bbox": [
|
| 819 |
+
348,
|
| 820 |
+
578,
|
| 821 |
+
651,
|
| 822 |
+
613
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 4
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "where $H$ is a learned linear operator (it satisfies $H 0 = 0$ ). The term $G H w$ can be interpreted as a correction term to $\\Psi ( u ; G , \\bar { f } , b , n )$ . When there is no confusion, we neglect the dependence on $G , f , b , n$ and denote as $\\Psi ( u )$ and $\\Phi _ { H } ( u )$ . ",
|
| 829 |
+
"bbox": [
|
| 830 |
+
176,
|
| 831 |
+
614,
|
| 832 |
+
823,
|
| 833 |
+
657
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 4
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "$\\Phi _ { H }$ should have similar computation complexity as $\\Psi$ . Therefore, we choose $H$ to be a convolutional operator, which can be parameterized by a deep linear convolutional network. We will discuss the parameterization of $H$ in detail in Section 3.4; we first prove some parameterization independent properties. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
662,
|
| 843 |
+
825,
|
| 844 |
+
719
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 4
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "The correct PDE solution is a fixed point of $\\Phi _ { H }$ by the following lemma: ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
726,
|
| 854 |
+
655,
|
| 855 |
+
741
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 4
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "Lemma 1. For any PDE problem $( A , G , f , b , n )$ and choice of $H$ , if $u ^ { * }$ is a fixed point of $\\Psi$ , it is $a$ fixed point of $\\Phi _ { H }$ in Eq. (10). ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
173,
|
| 864 |
+
743,
|
| 865 |
+
823,
|
| 866 |
+
772
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 4
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "Proof. Based on the iterative rule in Eq. (10), if $u ^ { * }$ satisfies $\\Psi ( u ^ { * } ) = u ^ { * }$ then $w = \\Psi ( u ^ { * } ) - u ^ { * } = \\mathbf { 0 }$ Therefore, $\\Phi _ { H } ( u ^ { * } ) = \\Psi ( u ^ { * } ) + G H \\mathbf { 0 } = u ^ { * }$ . □ ",
|
| 873 |
+
"bbox": [
|
| 874 |
+
173,
|
| 875 |
+
786,
|
| 876 |
+
820,
|
| 877 |
+
816
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 4
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "Moreover, the space of $\\Phi _ { H }$ subsumes the standard solver $\\Psi$ . If $H = 0$ , then $\\Phi _ { H } = \\Psi$ . Furthermore, denote $\\Psi ( u ) = T u + c$ , then if $H = T$ , then since $G T = T$ (see Eq. (7)), ",
|
| 884 |
+
"bbox": [
|
| 885 |
+
171,
|
| 886 |
+
830,
|
| 887 |
+
823,
|
| 888 |
+
859
|
| 889 |
+
],
|
| 890 |
+
"page_idx": 4
|
| 891 |
+
},
|
| 892 |
+
{
|
| 893 |
+
"type": "equation",
|
| 894 |
+
"img_path": "images/c69fa8fdefab1fd1658f09da6544404bc337ce18a0c56ee31d3902c80d864978.jpg",
|
| 895 |
+
"text": "$$\n\\Phi _ { H } ( u ) = \\Psi ( u ) + G T ( \\Psi ( u ) - u ) = T \\Psi ( u ) + c = \\Psi ^ { 2 } ( u )\n$$",
|
| 896 |
+
"text_format": "latex",
|
| 897 |
+
"bbox": [
|
| 898 |
+
305,
|
| 899 |
+
862,
|
| 900 |
+
692,
|
| 901 |
+
880
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 4
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "which is equal to two iterations of $\\Psi$ . Computing $\\Psi$ requires one convolution $T$ , while computing $\\Phi _ { H }$ requires two convolutions: $T$ and $H$ . Therefore, if we choose $H = T$ , then $\\Phi _ { H }$ computes two iterations of $\\Psi$ with two convolutions: it is at least as efficient as the standard solver $\\Psi$ . ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
176,
|
| 910 |
+
882,
|
| 911 |
+
825,
|
| 912 |
+
924
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 4
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "3.2 TRAINING AND GENERALIZATION ",
|
| 919 |
+
"text_level": 1,
|
| 920 |
+
"bbox": [
|
| 921 |
+
176,
|
| 922 |
+
103,
|
| 923 |
+
450,
|
| 924 |
+
118
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 5
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "We train our iterator $\\Phi _ { H } ( u ; G , f , b , n )$ to converge quickly to the ground truth solution on a set $\\mathcal { D } = \\{ ( G _ { l } , f _ { l } , b _ { l } , n _ { l } ) \\} _ { l = 1 } ^ { M }$ of problem instances. For each instance, the ground truth solution $u ^ { * }$ is obtained from the existing solver $\\Psi$ . The learning objective is then ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
173,
|
| 933 |
+
128,
|
| 934 |
+
823,
|
| 935 |
+
171
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 5
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "equation",
|
| 941 |
+
"img_path": "images/b6ef15d39875fb878e2abe56300fbe4c7d7d571c749626ef2b7d734add213d3f.jpg",
|
| 942 |
+
"text": "$$\n\\operatorname* { m i n } _ { H } \\sum _ { ( G _ { l } , f _ { l } , b _ { l } , n _ { l } ) \\in \\mathcal { D } } \\mathbb { E } _ { u ^ { 0 } \\sim \\mathcal { N } ( 0 , 1 ) } \\| \\Phi _ { H } ^ { k } ( u ^ { 0 } ; G _ { l } , f _ { l } , b _ { l } , n _ { l } ) - u ^ { * } \\| _ { 2 } ^ { 2 }\n$$",
|
| 943 |
+
"text_format": "latex",
|
| 944 |
+
"bbox": [
|
| 945 |
+
297,
|
| 946 |
+
175,
|
| 947 |
+
700,
|
| 948 |
+
210
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 5
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Intuitively, we look for a matrix $H$ such that the corresponding iterator $\\Phi _ { H }$ will get us as close as possible to the solution in $k$ steps, starting from a random initialization $u ^ { 0 }$ sampled from a white Gaussian. $k$ in our experiments is uniformly chosen from [1, 20], similar to the procedure in (Song et al., 2017). Smaller $k$ is easier to learn with less steps to back-propagate through, while larger $k$ better approximates our test-time setting: we care about the final approximation accuracy after a given number of iteration steps. Combining smaller and larger $k$ performs best in practice. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
173,
|
| 957 |
+
219,
|
| 958 |
+
825,
|
| 959 |
+
305
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 5
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "We show in the following theorem that there is a convex open set of $H$ that the learning algorithm can explore. To simplify the statement of the theorem, for any linear iterator $\\Phi ( u ) = \\mathbf { \\bar { \\mathit { T } } } u \\mathbf { \\bar { \\mathit { + } } } c$ we will refer to the spectral radius (norm) of $\\Phi$ as the spectral radius (norm) of $T$ . ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
174,
|
| 968 |
+
310,
|
| 969 |
+
825,
|
| 970 |
+
353
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 5
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Theorem 2. For fixed $G , f , b , n ,$ , the spectral norm of $\\Phi _ { H } ( u ; G , f , b , n )$ is a convex function of $H$ and the set of $H$ such that the spectral norm of $\\Phi _ { H } ( u ; G , f , b , n ) < 1$ is a convex open set. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
174,
|
| 979 |
+
356,
|
| 980 |
+
821,
|
| 981 |
+
385
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 5
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Proof. See Appendix A. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
174,
|
| 990 |
+
400,
|
| 991 |
+
334,
|
| 992 |
+
415
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 5
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "Therefore, to find an iterator with small spectral norm, the learning algorithm only has to explore a convex open set. Note that Theorem 2 holds for spectral norm, whereas validity requires small spectral radius in Theorem 1. Nonetheless, several important PDE problems (Poisson, Helmholtz, etc) are symmetric, so it is natural to use a symmetric iterator, which means that spectral norm is equal to spectral radius. In our experiments, we do not explicitly enforce symmetry, but we observe that the optimization finds symmetric iterators automatically. ",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
174,
|
| 1001 |
+
429,
|
| 1002 |
+
825,
|
| 1003 |
+
513
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 5
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "For training, we use a single grid size $n$ , a single geometry $G$ , $f = 0$ , and a restricted set of boundary conditions $b$ . The geometry we use is a square domain shown in Figure 1a. Although we train on a single domain, the model has surprising generalization properties, which we show in the following: ",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
174,
|
| 1012 |
+
520,
|
| 1013 |
+
825,
|
| 1014 |
+
563
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 5
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "Proposition 2. For fixed $A , G , n$ and fixed $H$ , if for some $f _ { 0 } , b _ { 0 } , \\Phi _ { H } ( u ; G , f _ { 0 } , b _ { 0 } , n )$ is valid for the PDE problem $( A , G , f _ { 0 } , b _ { 0 } , n )$ , then for all $f$ and $b$ , the iterator $\\Phi _ { H } ( u ; G , f , b , n )$ is valid for the PDE problem $( A , G , f , b , n )$ . ",
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
176,
|
| 1023 |
+
565,
|
| 1024 |
+
825,
|
| 1025 |
+
608
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 5
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Proof. See Appendix A. ",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
174,
|
| 1034 |
+
622,
|
| 1035 |
+
334,
|
| 1036 |
+
637
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 5
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "The proposition states that we freely generalize to different $f$ and $b$ . There is no guarantee that we can generalize to different $G$ and $n$ . Generalization to different $G$ and $n$ has to be empirically verified: in our experiments, our learned iterator converges to the correct solution for a variety of grid sizes $n$ and geometries $G$ , even though it was only trained on one grid size and geometry. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
174,
|
| 1045 |
+
652,
|
| 1046 |
+
825,
|
| 1047 |
+
709
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 5
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Even when generalization fails, there is no risk of obtaining incorrect results. The iterator will simply fail to converge. This is because according to Lemma 1, fixed points of our new iterator is the same as the fixed point of hand designed iterator $\\Psi$ . Therefore if our iterator is convergent, it is valid. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
174,
|
| 1056 |
+
715,
|
| 1057 |
+
825,
|
| 1058 |
+
771
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 5
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "3.3 INTERPRETATION OF $H$ ",
|
| 1065 |
+
"text_level": 1,
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
176,
|
| 1068 |
+
786,
|
| 1069 |
+
375,
|
| 1070 |
+
803
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 5
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "What is $H$ trying to approximate? In this section we show that we are training our linear function $G H$ to approximate $\\bar { T ( I - T ) } ^ { - 1 }$ : if it were able to approximate $T ( I - T ) ^ { - 1 }$ perfectly, our iterator $\\Phi _ { H }$ will converge to the correct solution in a single iteration. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
174,
|
| 1079 |
+
813,
|
| 1080 |
+
825,
|
| 1081 |
+
856
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 5
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "Let the original update rule be $\\Psi ( u ) = T u + c$ , and the unknown ground truth solution be $u ^ { * }$ satisfying $u ^ { * } = T u ^ { * } + c$ . Let $r = u ^ { * } - u$ be the current error, and $e = u ^ { * } - \\Psi ( u )$ be the new error after applying one step of $\\Psi$ . They are related by ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
174,
|
| 1090 |
+
862,
|
| 1091 |
+
825,
|
| 1092 |
+
905
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 5
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "equation",
|
| 1098 |
+
"img_path": "images/d4d52a2d4171c3d4afb2577142533216ee7f546cb7b9647329f4651ae1782cc6.jpg",
|
| 1099 |
+
"text": "$$\ne = u ^ { * } - \\Psi ( u ) = u ^ { * } - ( T u + c ) = T ( u ^ { * } - u ) = T r\n$$",
|
| 1100 |
+
"text_format": "latex",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
320,
|
| 1103 |
+
907,
|
| 1104 |
+
678,
|
| 1105 |
+
925
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 5
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "In addition, let $w = \\Psi ( u ) - u$ be the update $\\Psi$ makes. This is related to the current error $r$ by ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
174,
|
| 1114 |
+
103,
|
| 1115 |
+
787,
|
| 1116 |
+
118
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 6
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "equation",
|
| 1122 |
+
"img_path": "images/c7a8e535ba951b7af3a6966688906ea4766b00de6f3bfeda76e82e62925f6cf6.jpg",
|
| 1123 |
+
"text": "$$\nw = \\Psi ( u ) - u = T u + c - u + ( u ^ { * } - T u ^ { * } - c ) = T ( u - u ^ { * } ) + ( u ^ { * } - u ) = ( I - T ) r\n$$",
|
| 1124 |
+
"text_format": "latex",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
196,
|
| 1127 |
+
125,
|
| 1128 |
+
776,
|
| 1129 |
+
142
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 6
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "From Eq. (10) we can observe that the linear operator $G H$ takes as input $\\Psi$ ’s update $w$ , and tries to approximate the error $e$ : $G H w \\approx e$ . If the approximation were perfect: $G H w = e$ , the iterator $\\Phi _ { H }$ would converge in a single iteration. Therefore, we are trying to find some linear operator $R$ , such that $R w = e$ . In fact, if we combine Eq. (13) and Eq. (14), we can observe that $T ( I - T ) ^ { - 1 }$ is (uniquely) the linear operator we are looking for ",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
173,
|
| 1138 |
+
156,
|
| 1139 |
+
825,
|
| 1140 |
+
228
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 6
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "equation",
|
| 1146 |
+
"img_path": "images/2b8363cd596d8015ef50782c83cea94263518f7c2d57c7d2230af11b9ff8944b.jpg",
|
| 1147 |
+
"text": "$$\nT ( I - T ) ^ { - 1 } w = e\n$$",
|
| 1148 |
+
"text_format": "latex",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
434,
|
| 1151 |
+
233,
|
| 1152 |
+
562,
|
| 1153 |
+
252
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 6
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "where $( I - T ) ^ { - 1 }$ exists because $\\rho ( T ) < 1$ , so all eigenvalues of $I - T$ must be strictly positive. \nTherefore, we would like our linear function $G H$ to approximate $T ( I - T ) ^ { - 1 }$ . ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
174,
|
| 1162 |
+
258,
|
| 1163 |
+
823,
|
| 1164 |
+
287
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 6
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "Note that $( I - T ) ^ { - 1 }$ is a dense matrix in general, meaning that it is impossible to exactly achieve $G H = T ( { \\cal I } - { \\cal T } ) \\dot { - } 1$ with a convolutional operator $H$ . However, the better $G H$ is able to approximate $T ( I - T ) ^ { - 1 }$ , the faster our iterator converges to the solution $u ^ { * }$ . ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
174,
|
| 1173 |
+
294,
|
| 1174 |
+
825,
|
| 1175 |
+
337
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 6
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "3.4 LINEAR DEEP NETWORKS ",
|
| 1182 |
+
"text_level": 1,
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
174,
|
| 1185 |
+
353,
|
| 1186 |
+
397,
|
| 1187 |
+
367
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 6
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "In our iterator design, $H$ is a linear function parameterized by a linear deep network without nonlinearity or bias terms. Even though our objective in Eq. (12) is a non-linear function of the parameters of the deep network, this is not an issue in practice. In particular, Arora et al. (2018) observes that when modeling linear functions, deep networks can be faster to optimize with gradient descent compared to linear ones, despite non-convexity. ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
173,
|
| 1196 |
+
378,
|
| 1197 |
+
825,
|
| 1198 |
+
450
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 6
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Even though a linear deep network can only represent a linear function, it has several advantages. On an $n \\times n$ grid, each convolution layer only requires $O ( n ^ { 2 } )$ computation and have a constant number of parameters, while a general linear function requires ${ \\dot { O ( n ^ { 4 } ) } }$ computation and have $O ( n ^ { 4 } )$ parameters. Stacking $d$ convolution layers allows us to parameterize complex linear functions with large receptive fields, while only requiring $O ( d n ^ { 2 } )$ computation and $O ( d ) ^ { \\top }$ parameters. We experiment on two types of linear deep networks: ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
174,
|
| 1207 |
+
457,
|
| 1208 |
+
825,
|
| 1209 |
+
540
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 6
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Conv model. We model $H$ as a network with $3 \\times 3$ convolutional layers without non-linearity or bias. We will refer to a model with $k$ layers as $^ { 6 6 } \\mathrm { C o n v } k ^ { \\prime }$ , e.g. Conv3 has 3 convolutional layers. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
174,
|
| 1218 |
+
546,
|
| 1219 |
+
823,
|
| 1220 |
+
575
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 6
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "U-Net model. The Conv models suffer from the same problem as Jacobi: the receptive field grows only by 1 for each additional layer. To resolve this problem, we design the deep network counterpart of the Multigrid method. Instead of manually designing the sub-sampling $/$ super-sampling functions, we use a U-Net architecture (Ronneberger et al., 2015) to learn them from data. Because each layer reduces the grid size by half, and the $i$ -th layer of the U-Net only operates on $( 2 ^ { - i } n )$ -sized grids, the total computation is only increased by a factor of ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
173,
|
| 1229 |
+
582,
|
| 1230 |
+
825,
|
| 1231 |
+
666
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 6
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "equation",
|
| 1237 |
+
"img_path": "images/eaf0d861cf0e70a291b05207c40a6a68a681a79e8293172ef6167495075c0bdc.jpg",
|
| 1238 |
+
"text": "$$\n1 + 1 / 4 + 1 / 1 6 + \\cdot \\cdot \\cdot < 4 / 3\n$$",
|
| 1239 |
+
"text_format": "latex",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
400,
|
| 1242 |
+
672,
|
| 1243 |
+
596,
|
| 1244 |
+
690
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 6
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "compared to a two-layer convolution. The minimal overhead provides a very large improvement of convergence speed in our experiments. We will refer to Multigrid and U-Net models with $k$ sub-sampling layers as Multigrid $k$ and U-Netk, e.g. U-Net2 is a model with 2 sub-sampling layers. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
174,
|
| 1253 |
+
696,
|
| 1254 |
+
825,
|
| 1255 |
+
741
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 6
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "4 EXPERIMENTS ",
|
| 1262 |
+
"text_level": 1,
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
174,
|
| 1265 |
+
761,
|
| 1266 |
+
326,
|
| 1267 |
+
776
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 6
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "4.1 SETTING ",
|
| 1274 |
+
"text_level": 1,
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
174,
|
| 1277 |
+
792,
|
| 1278 |
+
277,
|
| 1279 |
+
808
|
| 1280 |
+
],
|
| 1281 |
+
"page_idx": 6
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"type": "text",
|
| 1285 |
+
"text": "We evaluate our method on the 2D Poisson equation with Dirichlet boundary conditions, $\\nabla ^ { 2 } u =$ $\\boldsymbol { \\mathscr { f } }$ . There exist several iterative solvers for the Poisson equation, including Jacobi, Gauss-Seidel, conjugate-gradient, and multigrid methods. We select the Jacobi method as our standard solver $\\Psi$ . ",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
174,
|
| 1288 |
+
818,
|
| 1289 |
+
823,
|
| 1290 |
+
861
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 6
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "To reemphasize, our goal is to train a model on simple domains where the ground truth solutions can be easily obtained, and then evaluate its performance on different geometries and boundary conditions. Therefore, for training, we select the simplest Laplace equation, $\\nabla ^ { 2 } u = 0$ , on a square domain with boundary conditions such that each side is a random fixed value. Figure 1a shows an example of our training domain and its ground truth solution. This setting is also used in Farimani et al. (2017) and Sharma et al. (2018). ",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
174,
|
| 1299 |
+
867,
|
| 1300 |
+
823,
|
| 1301 |
+
924
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 6
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "image",
|
| 1307 |
+
"img_path": "images/01bc31a70964c1ce2d6a0127cb1e7606a6068129d165c44803c821bc43907593.jpg",
|
| 1308 |
+
"image_caption": [
|
| 1309 |
+
"Figure 1: The ground truth solutions of examples in different settings. We only train our models on the square domain, and we test on all 4 settings. "
|
| 1310 |
+
],
|
| 1311 |
+
"image_footnote": [],
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
173,
|
| 1314 |
+
102,
|
| 1315 |
+
823,
|
| 1316 |
+
236
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 7
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
173,
|
| 1325 |
+
301,
|
| 1326 |
+
823,
|
| 1327 |
+
330
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 7
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "For testing, we use larger grid sizes than training. For example, we test on $2 5 6 \\times 2 5 6$ grid for a model trained on $6 4 \\times 6 4$ grids. Moreover, we designed challenging geometries to test the generalization of our models. We test generalization on 4 different settings: (i) same geometry but larger grid, (ii) L-shape geometry, (iii) Cylinders geometry, and (iv) Poisson equation in same geometry, but $f \\neq 0$ . The two geometries are designed because the models were trained on square domains and have never seen sharp or curved boundaries. Examples of the 4 settings are shown in Figure 1. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
174,
|
| 1336 |
+
338,
|
| 1337 |
+
825,
|
| 1338 |
+
421
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 7
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "4.2 EVALUATION ",
|
| 1345 |
+
"text_level": 1,
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
176,
|
| 1348 |
+
439,
|
| 1349 |
+
305,
|
| 1350 |
+
453
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 7
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "As discussed in Section 2.4, the convergence rate of any linear iterator can be determined from the spectral radius $\\rho ( T )$ , which provides guarantees on convergence and convergence rate. However, a fair comparison should also consider the computation cost of $H$ . Thus, we evaluate the convergence rate by calculating the computation cost required for the error to drop below a certain threshold. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
174,
|
| 1359 |
+
465,
|
| 1360 |
+
825,
|
| 1361 |
+
521
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 7
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "On GPU, the Jacobi iterator and our model can both be efficiently implemented as convolutional layers. Thus, we measure the computation cost by the number of convolutional layers. On CPU, each Jacobi iteration $\\begin{array} { r } { u _ { i , j } ^ { \\prime } = \\frac { 1 } { 4 } ( u _ { i - 1 , j } + u _ { i + 1 , j } + \\dot { u } _ { i , j - 1 } + u _ { i , j + 1 } ) } \\end{array}$ has 4 multiply-add operations, while a $3 \\times 3$ convolutional kernel requires 9 operations, so we measure the computation cost by the number of multiply-add operations. This metric is biased in favor of Jacobi because there is little practical reason to implement convolutions on CPU. Nonetheless, we report both metrics in our experiments. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
174,
|
| 1370 |
+
527,
|
| 1371 |
+
825,
|
| 1372 |
+
626
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 7
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "4.3 CONV MODEL ",
|
| 1379 |
+
"text_level": 1,
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
174,
|
| 1382 |
+
643,
|
| 1383 |
+
313,
|
| 1384 |
+
657
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 7
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "Table 1 shows results of the Conv model. The model is trained on a $1 6 \\times 1 6$ square domain, and tested on $6 4 \\times 6 4$ . For all settings, our models converge to the correct solution, and require less computation than Jacobi. The best model, Conv3, is $\\sim 5 \\times$ faster than Jacobi in terms of layers, and $\\sim 2 . 5 \\times$ faster in terms of multiply-add operations. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
174,
|
| 1393 |
+
669,
|
| 1394 |
+
825,
|
| 1395 |
+
726
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 7
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "As discussed in Section 3.2, if our iterator converges for a geometry, then it is guaranteed to converge to the correct solution for any $f$ and boundary values $b$ . The experiment results show that our model not only converges but also converges faster than the standard solver, even though it is only trained on a smaller square domain. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
176,
|
| 1404 |
+
733,
|
| 1405 |
+
825,
|
| 1406 |
+
787
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 7
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "4.4 U-NET MODEL ",
|
| 1413 |
+
"text_level": 1,
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
174,
|
| 1416 |
+
806,
|
| 1417 |
+
320,
|
| 1418 |
+
820
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 7
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "For the U-Net models, we compare them against Multigrid models with the same number of subsampling and smoothing layers. Therefore, our models have the same number of convolutional layers, and roughly $9 / 4$ times the number of operations compared to Multigrid. The model is trained on a $6 4 \\times 6 4$ square domain, and tested on $2 5 6 \\times 2 5 6$ . ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
174,
|
| 1427 |
+
832,
|
| 1428 |
+
825,
|
| 1429 |
+
888
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 7
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "The bottom part of Table 1 shows the results of the U-Net model. Similar to the results of Conv models, our models outperforms Multigrid in all settings. Note that U-Net2 has lower computation cost compared with Multigrid2 than U-Net3 compared to Multigrid 3. This is because Multigrid2 is a relatively worse baseline. U-Net3 still converges faster than U-Net2. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
174,
|
| 1438 |
+
895,
|
| 1439 |
+
821,
|
| 1440 |
+
924
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 7
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "table",
|
| 1446 |
+
"img_path": "images/cfdd0234162ab0d28a088ba55207551dda239b5bd108849c176e7ddfe5fa69c3.jpg",
|
| 1447 |
+
"table_caption": [
|
| 1448 |
+
"Table 1: Comparisons between our models and the baseline solvers. The Conv models are compared with Jacobi, and the U-Net models are compared with Multigrid. The numbers are the ratio between the computation costs of our models and the baselines. None of the values are greater than 1, which means that all of our models achieve a speed up on every problem and both performance metric (convolutional layers and multiply-add operations). "
|
| 1449 |
+
],
|
| 1450 |
+
"table_footnote": [],
|
| 1451 |
+
"table_body": "<table><tr><td>Model</td><td>Baseline</td><td>Square layers /ops</td><td>L-shape layers /ops</td><td>Cylinders layers /ops</td><td>Square-Poisson layers /ops</td></tr><tr><td>Conv1</td><td>Jacobi</td><td>0.432/0.702</td><td>0.432/0.702</td><td>0.432/0.702</td><td>0.431/0.701</td></tr><tr><td>Conv2</td><td>Jacobi</td><td>0.286 / 0.524</td><td>0.286 / 0.524</td><td>0.286 / 0.524</td><td>0.285 / 0.522</td></tr><tr><td>Conv3</td><td>Jacobi</td><td>0.219 / 0.424</td><td>0.219 / 0.423</td><td>0.220 / 0.426</td><td>0.217 /0.421</td></tr><tr><td>Conv4</td><td>Jacobi</td><td>0.224 /0.449</td><td>0.224 / 0.449</td><td>0.224 / 0.448</td><td>0.222 / 0.444</td></tr><tr><td>U-Net2</td><td>Multigrid2</td><td>0.091/0.205</td><td>0.090/0.203</td><td>0.091/0.204</td><td>0.079 / 0.178</td></tr><tr><td>U-Net3</td><td>Multigrid3</td><td>0.220 / 0.494</td><td>0.213 / 0.479</td><td>0.201 / 0.453</td><td>0.185 / 0.417</td></tr></table>",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
196,
|
| 1454 |
+
188,
|
| 1455 |
+
802,
|
| 1456 |
+
309
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 8
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "image",
|
| 1462 |
+
"img_path": "images/c0b538377cbeba01e76b0a46a9018bd4d9a6cb98ad497d2921cd394020197279.jpg",
|
| 1463 |
+
"image_caption": [
|
| 1464 |
+
"Figure 2: CPU runtime comparisons of our model with the FEniCS model. Our method is comparable or faster than the best solver in FEniCS in all cases. When run on GPU, our solver provides an additional $3 0 \\times$ speedup. "
|
| 1465 |
+
],
|
| 1466 |
+
"image_footnote": [],
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
174,
|
| 1469 |
+
339,
|
| 1470 |
+
825,
|
| 1471 |
+
488
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 8
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
173,
|
| 1480 |
+
580,
|
| 1481 |
+
823,
|
| 1482 |
+
609
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 8
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "4.5 COMPARISON WITH FENICS ",
|
| 1489 |
+
"text_level": 1,
|
| 1490 |
+
"bbox": [
|
| 1491 |
+
176,
|
| 1492 |
+
640,
|
| 1493 |
+
411,
|
| 1494 |
+
655
|
| 1495 |
+
],
|
| 1496 |
+
"page_idx": 8
|
| 1497 |
+
},
|
| 1498 |
+
{
|
| 1499 |
+
"type": "text",
|
| 1500 |
+
"text": "The FEniCS package (Logg et al., 2012) provides a collection of tools with high-level Python and $\\mathrm { C } { + } { + }$ interfaces to solve differential equations. The open-source project is developed and maintained by a global community of scientists and software developers. Its extensive optimization over the years, including the support for parallel computation, has led to its widespread adaption in industry and academia (Alnæs et al., 2015). ",
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
174,
|
| 1503 |
+
672,
|
| 1504 |
+
825,
|
| 1505 |
+
742
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 8
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "We measure the wall clock time of the FEniCS model and our model, run on the same hardware. The FEniCS model is set to be the minimal residual method with algebraic multigrid preconditioner, which we measure to be the fastest compared to other methods such as Jacobi or Incomplete LU factorization preconditioner. We ignore the time it takes to set up geometry and boundary conditions, and only consider the time the solver takes to solve the problem. We set the error threshold to be 1 percent of the initial error. For the square domain, we use a quadrilateral mesh. For the L-shape and cylinder domains, however, we let FEniCS generate the mesh automatically, while ensuring the number of mesh points to be similar. ",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
174,
|
| 1514 |
+
750,
|
| 1515 |
+
825,
|
| 1516 |
+
861
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 8
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "Figure 2 shows that our model is comparable or faster than FEniCS in wall clock time. These experiments are all done on CPU. Our model efficiently runs on GPU, while the fast but complex methods in FEniCS do not have efficient GPU implementations available. On GPU, we measure an additional $3 0 \\times$ speedup (on Tesla K80 GPU, compared with a 64-core CPU). ",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
174,
|
| 1525 |
+
867,
|
| 1526 |
+
823,
|
| 1527 |
+
924
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 8
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "5 RELATED WORK ",
|
| 1534 |
+
"text_level": 1,
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
176,
|
| 1537 |
+
102,
|
| 1538 |
+
344,
|
| 1539 |
+
117
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 9
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "text",
|
| 1545 |
+
"text": "Recently, there have been several works on applying deep learning to solve the Poisson equation. However, to the best of our knowledge, previous works used deep networks to directly generate the solution; they have no correctness guarantees and are not generalizable to arbitrary grid sizes and boundary conditions. Most related to our work are (Farimani et al., 2017) and (Sharma et al., 2018), which learn deep networks to output the solution of the 2D Laplace equation (a special case where $f = 0 ,$ ). (Farimani et al., 2017) trained a U-Net model that takes in the boundary condition as a 2D image and outputs the solution. The model is trained by L1 loss to the ground truth solution and an adversarial discriminator loss. (Sharma et al., 2018) also trained a U-net model but used a weakly-supervised loss. There are other related works that solved the Poisson equation in concrete physical problems. (Tang et al., 2017) solved for electric potential in 2D/3D space; (Tompson et al., 2017) solved for pressure fields for fluid simulation; (Zhang et al., 2018) solved particle simulation of a PN Junction. ",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
174,
|
| 1548 |
+
133,
|
| 1549 |
+
825,
|
| 1550 |
+
300
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 9
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "There are other works that solve other types of PDEs. For example, many studies aimed to use deep learning to accelerate and approximate fluid dynamics, governed by the Euler equation or the Navier-Stokes equations (Guo et al., 2016; Yang et al., 2016; Chu & Thuerey, 2017; Kutz, 2017). (Eismann et al., 2018) use Bayesian optimization to design shapes with reduced drag coefficients in laminar fluid flow. Other applications include solving the Schrodinger equation (Mills et al., 2017), turbulence modeling (Singh et al., 2017), and the American options and Black Scholes PDE (Sirignano & Spiliopoulos, 2018). A lot of these PDEs are nonlinear and may not have a standard linear iterative solver, which is a limitation to our current method since our model must be built on top of an existing linear solver to ensure correctness. We consider the extension to different PDEs as future work. ",
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
174,
|
| 1559 |
+
308,
|
| 1560 |
+
825,
|
| 1561 |
+
445
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 9
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "text",
|
| 1567 |
+
"text": "6 CONCLUSION ",
|
| 1568 |
+
"text_level": 1,
|
| 1569 |
+
"bbox": [
|
| 1570 |
+
176,
|
| 1571 |
+
465,
|
| 1572 |
+
318,
|
| 1573 |
+
483
|
| 1574 |
+
],
|
| 1575 |
+
"page_idx": 9
|
| 1576 |
+
},
|
| 1577 |
+
{
|
| 1578 |
+
"type": "text",
|
| 1579 |
+
"text": "We presented a method to learn an iterative solver for PDEs that improves on an existing standard solver. The correct solution is theoretically guaranteed to be the fixed point of our iterator. We show that our model, trained on simple domains, can generalize to different grid sizes, geometries and boundary conditions. It converges correctly and achieves significant speedups compared to standard solvers, including highly optimized ones implemented in FEniCS. ",
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
174,
|
| 1582 |
+
498,
|
| 1583 |
+
825,
|
| 1584 |
+
568
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 9
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "text",
|
| 1590 |
+
"text": "REFERENCES ",
|
| 1591 |
+
"text_level": 1,
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
174,
|
| 1594 |
+
102,
|
| 1595 |
+
287,
|
| 1596 |
+
117
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 10
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "text",
|
| 1602 |
+
"text": "Martin S Alnæs, Jan Blechta, Johan Hake, August Johansson, Benjamin Kehlet, Anders Logg, Chris Richardson, Johannes Ring, Marie E Rognes, and Garth N Wells. The fenics project version 1.5. Archive of Numerical Software, 3(100):9–23, 2015. ",
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
176,
|
| 1605 |
+
126,
|
| 1606 |
+
823,
|
| 1607 |
+
169
|
| 1608 |
+
],
|
| 1609 |
+
"page_idx": 10
|
| 1610 |
+
},
|
| 1611 |
+
{
|
| 1612 |
+
"type": "text",
|
| 1613 |
+
"text": "Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando De Freitas. Learning to learn by gradient descent by gradient descent. In Advances in Neural Information Processing Systems, 2016. ",
|
| 1614 |
+
"bbox": [
|
| 1615 |
+
176,
|
| 1616 |
+
178,
|
| 1617 |
+
823,
|
| 1618 |
+
222
|
| 1619 |
+
],
|
| 1620 |
+
"page_idx": 10
|
| 1621 |
+
},
|
| 1622 |
+
{
|
| 1623 |
+
"type": "text",
|
| 1624 |
+
"text": "Sanjeev Arora, Nadav Cohen, and Elad Hazan. On the optimization of deep networks: Implicit acceleration by overparameterization. arXiv preprint arXiv:1802.06509, 2018. ",
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
173,
|
| 1627 |
+
229,
|
| 1628 |
+
823,
|
| 1629 |
+
258
|
| 1630 |
+
],
|
| 1631 |
+
"page_idx": 10
|
| 1632 |
+
},
|
| 1633 |
+
{
|
| 1634 |
+
"type": "text",
|
| 1635 |
+
"text": "William L Briggs, Steve F McCormick, et al. A multigrid tutorial, volume 72. Siam, 2000. ",
|
| 1636 |
+
"bbox": [
|
| 1637 |
+
173,
|
| 1638 |
+
267,
|
| 1639 |
+
772,
|
| 1640 |
+
284
|
| 1641 |
+
],
|
| 1642 |
+
"page_idx": 10
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"type": "text",
|
| 1646 |
+
"text": "Mengyu Chu and Nils Thuerey. Data-driven synthesis of smoke flows with cnn-based feature descriptors. ACM Transactions on Graphics (TOG), 36(4):69, 2017. ",
|
| 1647 |
+
"bbox": [
|
| 1648 |
+
171,
|
| 1649 |
+
291,
|
| 1650 |
+
823,
|
| 1651 |
+
321
|
| 1652 |
+
],
|
| 1653 |
+
"page_idx": 10
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"type": "text",
|
| 1657 |
+
"text": "Stephan Eismann, Daniel Levy, Rui Shu, Stefan Bartzsch, and Stefano Ermon. Bayesian optimization and attribute adjustment. In Proc. 34th Conference on Uncertainty in Artificial Intelligence, 2018. ",
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
176,
|
| 1660 |
+
329,
|
| 1661 |
+
823,
|
| 1662 |
+
372
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 10
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "Amir Barati Farimani, Joseph Gomes, and Vijay S Pande. Deep learning the physics of transport phenomena. arXiv preprint arXiv:1709.02432, 2017. ",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
173,
|
| 1671 |
+
382,
|
| 1672 |
+
821,
|
| 1673 |
+
411
|
| 1674 |
+
],
|
| 1675 |
+
"page_idx": 10
|
| 1676 |
+
},
|
| 1677 |
+
{
|
| 1678 |
+
"type": "text",
|
| 1679 |
+
"text": "Stanley P Frankel. Convergence rates of iterative treatments of partial differential equations. Mathematical Tables and Other Aids to Computation, 4(30):65–75, 1950. ",
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
173,
|
| 1682 |
+
420,
|
| 1683 |
+
823,
|
| 1684 |
+
449
|
| 1685 |
+
],
|
| 1686 |
+
"page_idx": 10
|
| 1687 |
+
},
|
| 1688 |
+
{
|
| 1689 |
+
"type": "text",
|
| 1690 |
+
"text": "Xiaoxiao Guo, Wei Li, and Francesco Iorio. Convolutional neural networks for steady flow approximation. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 481–490, 2016. ",
|
| 1691 |
+
"bbox": [
|
| 1692 |
+
174,
|
| 1693 |
+
458,
|
| 1694 |
+
825,
|
| 1695 |
+
502
|
| 1696 |
+
],
|
| 1697 |
+
"page_idx": 10
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"type": "text",
|
| 1701 |
+
"text": "Tim Kraska, Alex Beutel, Ed H Chi, Jeffrey Dean, and Neoklis Polyzotis. The case for learned index structures. In Proceedings of the 2018 International Conference on Management of Data, pp. 489–504. ACM, 2018. ",
|
| 1702 |
+
"bbox": [
|
| 1703 |
+
174,
|
| 1704 |
+
510,
|
| 1705 |
+
825,
|
| 1706 |
+
554
|
| 1707 |
+
],
|
| 1708 |
+
"page_idx": 10
|
| 1709 |
+
},
|
| 1710 |
+
{
|
| 1711 |
+
"type": "text",
|
| 1712 |
+
"text": "J Nathan Kutz. Deep learning in fluid dynamics. Journal of Fluid Mechanics, 814:1–4, 2017. ",
|
| 1713 |
+
"bbox": [
|
| 1714 |
+
173,
|
| 1715 |
+
561,
|
| 1716 |
+
785,
|
| 1717 |
+
578
|
| 1718 |
+
],
|
| 1719 |
+
"page_idx": 10
|
| 1720 |
+
},
|
| 1721 |
+
{
|
| 1722 |
+
"type": "text",
|
| 1723 |
+
"text": "Randall J LeVeque. Finite difference methods for ordinary and partial differential equations: steadystate and time-dependent problems, volume 98. Siam, 2007. ",
|
| 1724 |
+
"bbox": [
|
| 1725 |
+
173,
|
| 1726 |
+
587,
|
| 1727 |
+
821,
|
| 1728 |
+
616
|
| 1729 |
+
],
|
| 1730 |
+
"page_idx": 10
|
| 1731 |
+
},
|
| 1732 |
+
{
|
| 1733 |
+
"type": "text",
|
| 1734 |
+
"text": "Daniel Levy, Matthew D Hoffman, and Jascha Sohl-Dickstein. Generalizing hamiltonian monte carlo with neural networks. arXiv preprint arXiv:1711.09268, 2017. ",
|
| 1735 |
+
"bbox": [
|
| 1736 |
+
173,
|
| 1737 |
+
625,
|
| 1738 |
+
823,
|
| 1739 |
+
655
|
| 1740 |
+
],
|
| 1741 |
+
"page_idx": 10
|
| 1742 |
+
},
|
| 1743 |
+
{
|
| 1744 |
+
"type": "text",
|
| 1745 |
+
"text": "Anders Logg, Kent-Andre Mardal, and Garth Wells. Automated solution of differential equations by the finite element method: The FEniCS book. Springer, 2012. ISBN 978-3-642-23098-1. doi: 10.1007/978-3-642-23099-8. ",
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
173,
|
| 1748 |
+
662,
|
| 1749 |
+
823,
|
| 1750 |
+
705
|
| 1751 |
+
],
|
| 1752 |
+
"page_idx": 10
|
| 1753 |
+
},
|
| 1754 |
+
{
|
| 1755 |
+
"type": "text",
|
| 1756 |
+
"text": "Kyle Mills, Michael Spanner, and Isaac Tamblyn. Deep learning and the schrodinger equation.¨ Physical Review A, 96(4):042113, 2017. ",
|
| 1757 |
+
"bbox": [
|
| 1758 |
+
168,
|
| 1759 |
+
714,
|
| 1760 |
+
823,
|
| 1761 |
+
744
|
| 1762 |
+
],
|
| 1763 |
+
"page_idx": 10
|
| 1764 |
+
},
|
| 1765 |
+
{
|
| 1766 |
+
"type": "text",
|
| 1767 |
+
"text": "Peter J Olver. Numerical solution of ordinary differential equations. Numerical Analysis Lecture Notes, 2008. ",
|
| 1768 |
+
"bbox": [
|
| 1769 |
+
169,
|
| 1770 |
+
752,
|
| 1771 |
+
823,
|
| 1772 |
+
782
|
| 1773 |
+
],
|
| 1774 |
+
"page_idx": 10
|
| 1775 |
+
},
|
| 1776 |
+
{
|
| 1777 |
+
"type": "text",
|
| 1778 |
+
"text": "Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computerassisted intervention, pp. 234–241. Springer, 2015. ",
|
| 1779 |
+
"bbox": [
|
| 1780 |
+
174,
|
| 1781 |
+
790,
|
| 1782 |
+
823,
|
| 1783 |
+
834
|
| 1784 |
+
],
|
| 1785 |
+
"page_idx": 10
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"type": "text",
|
| 1789 |
+
"text": "Rishi Sharma, Amir Barati Farimani, Joe Gomes, Peter Eastman, and Vijay Pande. Weaklysupervised deep learning of heat transport via physics informed loss. arXiv preprint arXiv:1807.11374, 2018. ",
|
| 1790 |
+
"bbox": [
|
| 1791 |
+
173,
|
| 1792 |
+
843,
|
| 1793 |
+
823,
|
| 1794 |
+
886
|
| 1795 |
+
],
|
| 1796 |
+
"page_idx": 10
|
| 1797 |
+
},
|
| 1798 |
+
{
|
| 1799 |
+
"type": "text",
|
| 1800 |
+
"text": "Anand Pratap Singh, Shivaji Medida, and Karthik Duraisamy. Machine-learning-augmented predictive modeling of turbulent separated flows over airfoils. AIAA Journal, pp. 2215–2227, 2017. ",
|
| 1801 |
+
"bbox": [
|
| 1802 |
+
173,
|
| 1803 |
+
895,
|
| 1804 |
+
820,
|
| 1805 |
+
924
|
| 1806 |
+
],
|
| 1807 |
+
"page_idx": 10
|
| 1808 |
+
},
|
| 1809 |
+
{
|
| 1810 |
+
"type": "text",
|
| 1811 |
+
"text": "Justin Sirignano and Konstantinos Spiliopoulos. Dgm: A deep learning algorithm for solving partial differential equations. Journal of Computational Physics, 375:1339–1364, 2018. ",
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
171,
|
| 1814 |
+
103,
|
| 1815 |
+
823,
|
| 1816 |
+
132
|
| 1817 |
+
],
|
| 1818 |
+
"page_idx": 11
|
| 1819 |
+
},
|
| 1820 |
+
{
|
| 1821 |
+
"type": "text",
|
| 1822 |
+
"text": "Jiaming Song, Shengjia Zhao, and Stefano Ermon. A-nice-mc: Adversarial training for mcmc. In Advances in Neural Information Processing Systems, 2017. ",
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
173,
|
| 1825 |
+
141,
|
| 1826 |
+
823,
|
| 1827 |
+
170
|
| 1828 |
+
],
|
| 1829 |
+
"page_idx": 11
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"type": "text",
|
| 1833 |
+
"text": "Wei Tang, Tao Shan, Xunwang Dang, Maokun Li, Fan Yang, Shenheng Xu, and Ji Wu. Study on a poisson’s equation solver based on deep learning technique. In IEEE Electrical Design of Advanced Packaging and Systems Symposium (EDAPS). IEEE, 2017. ",
|
| 1834 |
+
"bbox": [
|
| 1835 |
+
178,
|
| 1836 |
+
178,
|
| 1837 |
+
823,
|
| 1838 |
+
222
|
| 1839 |
+
],
|
| 1840 |
+
"page_idx": 11
|
| 1841 |
+
},
|
| 1842 |
+
{
|
| 1843 |
+
"type": "text",
|
| 1844 |
+
"text": "Jonathan Tompson, Kristofer Schlachter, Pablo Sprechmann, and Ken Perlin. Accelerating eulerian fluid simulation with convolutional networks. In International Conference on Machine Learning, 2017. ",
|
| 1845 |
+
"bbox": [
|
| 1846 |
+
174,
|
| 1847 |
+
229,
|
| 1848 |
+
823,
|
| 1849 |
+
272
|
| 1850 |
+
],
|
| 1851 |
+
"page_idx": 11
|
| 1852 |
+
},
|
| 1853 |
+
{
|
| 1854 |
+
"type": "text",
|
| 1855 |
+
"text": "Cheng Yang, Xubo Yang, and Xiangyun Xiao. Data-driven projection method in fluid simulation. Computer Animation and Virtual Worlds, 27(3-4):415–424, 2016. ",
|
| 1856 |
+
"bbox": [
|
| 1857 |
+
174,
|
| 1858 |
+
281,
|
| 1859 |
+
821,
|
| 1860 |
+
310
|
| 1861 |
+
],
|
| 1862 |
+
"page_idx": 11
|
| 1863 |
+
},
|
| 1864 |
+
{
|
| 1865 |
+
"type": "text",
|
| 1866 |
+
"text": "Zhongyang Zhang, Ling Zhang, Ze Sun, Nicholas Erickson, Ryan From, and Jun Fan. Solving poisson’s equation using deep learning in particle simulation of pn junction. arXiv preprint arXiv:1810.10192, 2018. ",
|
| 1867 |
+
"bbox": [
|
| 1868 |
+
174,
|
| 1869 |
+
319,
|
| 1870 |
+
825,
|
| 1871 |
+
362
|
| 1872 |
+
],
|
| 1873 |
+
"page_idx": 11
|
| 1874 |
+
},
|
| 1875 |
+
{
|
| 1876 |
+
"type": "text",
|
| 1877 |
+
"text": "A PROOFS ",
|
| 1878 |
+
"text_level": 1,
|
| 1879 |
+
"bbox": [
|
| 1880 |
+
176,
|
| 1881 |
+
102,
|
| 1882 |
+
277,
|
| 1883 |
+
118
|
| 1884 |
+
],
|
| 1885 |
+
"page_idx": 12
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"type": "text",
|
| 1889 |
+
"text": "Theorem 1. For a linear iterator $\\Psi ( u ) = T u + c , \\Psi$ $\\Psi$ converges to a unique stable fixed point from any initialization if and only if the spectral radius $\\rho ( T ) < 1$ . ",
|
| 1890 |
+
"bbox": [
|
| 1891 |
+
171,
|
| 1892 |
+
133,
|
| 1893 |
+
823,
|
| 1894 |
+
162
|
| 1895 |
+
],
|
| 1896 |
+
"page_idx": 12
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"type": "text",
|
| 1900 |
+
"text": "Proof. Suppose $\\rho ( T ) < 1$ , then $( I { - } T ) ^ { - 1 }$ must exist because all eigenvalues of $I { - } T$ must be strictly positive. Let $u ^ { * } = ( I - T ) ^ { - 1 } c ;$ ; this $u ^ { * }$ is a stationary point of the iterator $\\Psi$ , i.e. $u ^ { * } = T u ^ { * } + c$ . For any initialization $u ^ { 0 }$ , let $\\boldsymbol { u } ^ { \\hat { k } } = \\boldsymbol { \\Psi } ^ { k } ( \\boldsymbol { u } ^ { 0 } )$ . The error $e ^ { k } = u ^ { * } - u ^ { k }$ satisfies ",
|
| 1901 |
+
"bbox": [
|
| 1902 |
+
173,
|
| 1903 |
+
176,
|
| 1904 |
+
825,
|
| 1905 |
+
219
|
| 1906 |
+
],
|
| 1907 |
+
"page_idx": 12
|
| 1908 |
+
},
|
| 1909 |
+
{
|
| 1910 |
+
"type": "equation",
|
| 1911 |
+
"img_path": "images/2f9ad1ee64744c835b3a4640cda933a276d155d270e396b2fee4a67ed0d543dc.jpg",
|
| 1912 |
+
"text": "$$\nT e ^ { k } = ( T u ^ { * } + c ) - ( T u ^ { k } + c ) = u ^ { * } - u ^ { k + 1 } = e ^ { k + 1 } \\Rightarrow e ^ { k } = T ^ { k } e ^ { 0 }\n$$",
|
| 1913 |
+
"text_format": "latex",
|
| 1914 |
+
"bbox": [
|
| 1915 |
+
271,
|
| 1916 |
+
237,
|
| 1917 |
+
725,
|
| 1918 |
+
256
|
| 1919 |
+
],
|
| 1920 |
+
"page_idx": 12
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"type": "text",
|
| 1924 |
+
"text": "Since $\\rho ( T ) < 1$ , we know $T ^ { k } 0$ as $k \\infty$ (LeVeque, 2007), which means the error $e ^ { k } \\to 0$ Therefore, $\\Psi$ converges to $u ^ { * }$ from any $u ^ { 0 }$ . ",
|
| 1925 |
+
"bbox": [
|
| 1926 |
+
174,
|
| 1927 |
+
266,
|
| 1928 |
+
821,
|
| 1929 |
+
295
|
| 1930 |
+
],
|
| 1931 |
+
"page_idx": 12
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "text",
|
| 1935 |
+
"text": "Now suppose $\\rho ( T ) \\geq 1$ . Let $\\lambda _ { 1 }$ be the largest absolute eigenvalue where $\\rho ( T ) = | \\lambda _ { 1 } | \\geq 1$ , and $v _ { 1 }$ be its corresponding eigenvector. We select initialization $u ^ { 0 } = u ^ { * } + v _ { 1 }$ , then $e ^ { 0 } = v _ { 1 }$ . Because $| \\lambda _ { 1 } | \\ge 1$ , we have $| \\lambda _ { 1 } ^ { k } | \\geq \\bar { 1 }$ , then ",
|
| 1936 |
+
"bbox": [
|
| 1937 |
+
174,
|
| 1938 |
+
301,
|
| 1939 |
+
823,
|
| 1940 |
+
343
|
| 1941 |
+
],
|
| 1942 |
+
"page_idx": 12
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"type": "equation",
|
| 1946 |
+
"img_path": "images/52a49c4d9a7347b21121c703db45d44df09cdb76e436520a604859f3037158ba.jpg",
|
| 1947 |
+
"text": "$$\nT ^ { k } e ^ { 0 } = \\lambda _ { 1 } ^ { k } v _ { 1 } \\triangleleft _ { k \\to \\infty } 0\n$$",
|
| 1948 |
+
"text_format": "latex",
|
| 1949 |
+
"bbox": [
|
| 1950 |
+
423,
|
| 1951 |
+
342,
|
| 1952 |
+
575,
|
| 1953 |
+
361
|
| 1954 |
+
],
|
| 1955 |
+
"page_idx": 12
|
| 1956 |
+
},
|
| 1957 |
+
{
|
| 1958 |
+
"type": "text",
|
| 1959 |
+
"text": "However we know that under a different initialization $\\hat { u } ^ { 0 } = u ^ { * }$ , we have $\\hat { e } ^ { 0 } = 0$ , so $T ^ { k } \\hat { e } ^ { 0 } = 0$ . Therefore the iteration cannot converge to the same fixed point from different initializations $u ^ { 0 }$ and $\\hat { u } ^ { 0 }$ . ",
|
| 1960 |
+
"bbox": [
|
| 1961 |
+
173,
|
| 1962 |
+
363,
|
| 1963 |
+
825,
|
| 1964 |
+
405
|
| 1965 |
+
],
|
| 1966 |
+
"page_idx": 12
|
| 1967 |
+
},
|
| 1968 |
+
{
|
| 1969 |
+
"type": "text",
|
| 1970 |
+
"text": "Proposition 1 If $M$ is a full rank diagonal matrix, and $u ^ { * } \\in \\mathbb { R } ^ { n ^ { 2 } \\times n ^ { 2 } }$ satisfies Eq. $( 7 )$ , then $u ^ { * }$ satisfies Eq. (4). ",
|
| 1971 |
+
"bbox": [
|
| 1972 |
+
169,
|
| 1973 |
+
439,
|
| 1974 |
+
823,
|
| 1975 |
+
473
|
| 1976 |
+
],
|
| 1977 |
+
"page_idx": 12
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"type": "text",
|
| 1981 |
+
"text": "Proof of Proposition $^ { l }$ . Let $u ^ { * }$ be a fixed point of Eq. (7) then ",
|
| 1982 |
+
"bbox": [
|
| 1983 |
+
173,
|
| 1984 |
+
486,
|
| 1985 |
+
583,
|
| 1986 |
+
502
|
| 1987 |
+
],
|
| 1988 |
+
"page_idx": 12
|
| 1989 |
+
},
|
| 1990 |
+
{
|
| 1991 |
+
"type": "equation",
|
| 1992 |
+
"img_path": "images/debbd84e9e23f608cb1cb343ef14bd17918edddf8884a6b1649084021d702989.jpg",
|
| 1993 |
+
"text": "$$\nG u ^ { * } + ( I - G ) u ^ { * } = G ( M ^ { - 1 } N u ^ { * } + M ^ { - 1 } f ) + ( I - G ) b\n$$",
|
| 1994 |
+
"text_format": "latex",
|
| 1995 |
+
"bbox": [
|
| 1996 |
+
307,
|
| 1997 |
+
507,
|
| 1998 |
+
691,
|
| 1999 |
+
525
|
| 2000 |
+
],
|
| 2001 |
+
"page_idx": 12
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"type": "text",
|
| 2005 |
+
"text": "This is equivalent to ",
|
| 2006 |
+
"bbox": [
|
| 2007 |
+
174,
|
| 2008 |
+
531,
|
| 2009 |
+
308,
|
| 2010 |
+
546
|
| 2011 |
+
],
|
| 2012 |
+
"page_idx": 12
|
| 2013 |
+
},
|
| 2014 |
+
{
|
| 2015 |
+
"type": "equation",
|
| 2016 |
+
"img_path": "images/dca87171221d246e9200cb4ae82730285b7fdb438c11a67c7509f9622db4162a.jpg",
|
| 2017 |
+
"text": "$$\n\\begin{array} { c } { { ( I - G ) u ^ { * } = ( I - G ) b } } \\\\ { { \\nonumber } } \\\\ { { G ( u ^ { * } - M ^ { - 1 } N u ^ { * } - M ^ { - 1 } f ) = 0 } } \\end{array}\n$$",
|
| 2018 |
+
"text_format": "latex",
|
| 2019 |
+
"bbox": [
|
| 2020 |
+
359,
|
| 2021 |
+
542,
|
| 2022 |
+
640,
|
| 2023 |
+
582
|
| 2024 |
+
],
|
| 2025 |
+
"page_idx": 12
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"type": "text",
|
| 2029 |
+
"text": "The latter equation is equivalent to $G M ^ { - 1 } ( A u ^ { * } - f ) = 0$ . If $M$ is a full rank diagonal matrix, this implies $G ( A u ^ { * } - f ) = 0$ , which is $G A u ^ { * } = G f$ . Therefore, $u ^ { * }$ satisfies Eq.(4). □ ",
|
| 2030 |
+
"bbox": [
|
| 2031 |
+
171,
|
| 2032 |
+
584,
|
| 2033 |
+
825,
|
| 2034 |
+
614
|
| 2035 |
+
],
|
| 2036 |
+
"page_idx": 12
|
| 2037 |
+
},
|
| 2038 |
+
{
|
| 2039 |
+
"type": "text",
|
| 2040 |
+
"text": "Theorem 2. For fixed $G , f , b , n$ , the spectral norm of $\\Phi _ { H } ( u ; G , f , b , n )$ is a convex function of $H$ , and the set of $H$ such that the spectral norm of $\\Phi _ { H } ( u ; G , f , b , n ) < 1$ is a convex open set. ",
|
| 2041 |
+
"bbox": [
|
| 2042 |
+
171,
|
| 2043 |
+
628,
|
| 2044 |
+
823,
|
| 2045 |
+
659
|
| 2046 |
+
],
|
| 2047 |
+
"page_idx": 12
|
| 2048 |
+
},
|
| 2049 |
+
{
|
| 2050 |
+
"type": "text",
|
| 2051 |
+
"text": "Proof. As before, denote $\\Psi ( u ) = T u + c$ . Observe that ",
|
| 2052 |
+
"bbox": [
|
| 2053 |
+
173,
|
| 2054 |
+
672,
|
| 2055 |
+
542,
|
| 2056 |
+
689
|
| 2057 |
+
],
|
| 2058 |
+
"page_idx": 12
|
| 2059 |
+
},
|
| 2060 |
+
{
|
| 2061 |
+
"type": "equation",
|
| 2062 |
+
"img_path": "images/7217d437cd821de439d6acd61d64c18cd7041c59155f6f1cc167835d92a4c574.jpg",
|
| 2063 |
+
"text": "$$\n\\Phi _ { H } ( u ; G , f , b , n ) = T u + c + G H ( T u + c - u ) = ( T + G H T - G H ) u + G H c + c T ( T + G H T - G H ) .\n$$",
|
| 2064 |
+
"text_format": "latex",
|
| 2065 |
+
"bbox": [
|
| 2066 |
+
200,
|
| 2067 |
+
694,
|
| 2068 |
+
771,
|
| 2069 |
+
712
|
| 2070 |
+
],
|
| 2071 |
+
"page_idx": 12
|
| 2072 |
+
},
|
| 2073 |
+
{
|
| 2074 |
+
"type": "text",
|
| 2075 |
+
"text": "The spectral norm $\\lVert \\cdot \\rVert _ { 2 }$ is convex with respect to its argument, and $( T + G H T - G H )$ is linear in $H$ . Thus, $\\| T + G H T - G H \\| _ { 2 }$ is convex in $H$ as well. Thus, under the condition that $\\| T +$ $G H T - G H \\vert _ { 2 } < 1$ , the set of $H$ must be convex because it is a sub-level set of the convex function $\\| T + G H T - G H \\| _ { 2 }$ . ",
|
| 2076 |
+
"bbox": [
|
| 2077 |
+
173,
|
| 2078 |
+
724,
|
| 2079 |
+
825,
|
| 2080 |
+
782
|
| 2081 |
+
],
|
| 2082 |
+
"page_idx": 12
|
| 2083 |
+
},
|
| 2084 |
+
{
|
| 2085 |
+
"type": "text",
|
| 2086 |
+
"text": "To prove that it is open, observe that $\\lVert \\cdot \\rVert _ { 2 }$ is a continuous function, so $\\| T + G H T - G H \\| _ { 2 }$ is a continuous map from $H$ to the spectral radius of $\\Phi _ { H }$ . If we consider the set of $H$ such that $\\| T + G H T - G H \\| _ { 2 } < 1$ , this set is the preimage of $( - \\epsilon , 1 )$ for any $\\epsilon > 0$ . As $( - \\epsilon , 1 )$ is open, its preimage must be open. ",
|
| 2087 |
+
"bbox": [
|
| 2088 |
+
173,
|
| 2089 |
+
787,
|
| 2090 |
+
825,
|
| 2091 |
+
844
|
| 2092 |
+
],
|
| 2093 |
+
"page_idx": 12
|
| 2094 |
+
},
|
| 2095 |
+
{
|
| 2096 |
+
"type": "text",
|
| 2097 |
+
"text": "Proposition 2. For fixed $A , G , n$ and fixed $H$ , if for some $f _ { 0 } , b _ { 0 } , \\Phi _ { H } ( u ; G , f _ { 0 } , b _ { 0 } , n )$ is valid for the PDE problem $( A , G , f _ { 0 } , b _ { 0 } , n )$ , then for all $f$ and $b$ , the iterator $\\Phi _ { H } ( u ; G , f , b , n )$ is valid for the PDE problem $( A , G , f , b , n )$ . ",
|
| 2098 |
+
"bbox": [
|
| 2099 |
+
174,
|
| 2100 |
+
881,
|
| 2101 |
+
825,
|
| 2102 |
+
925
|
| 2103 |
+
],
|
| 2104 |
+
"page_idx": 12
|
| 2105 |
+
},
|
| 2106 |
+
{
|
| 2107 |
+
"type": "text",
|
| 2108 |
+
"text": "Proof. From Theorem 1 and Lemma 1, our iterator is valid if and only if $\\rho ( T + G H T - G H ) < 1$ . The iterator $T + G H T - G H$ only depends on $A , G$ , and is independent of the constant $c$ in Eq. (18). Thus, the validity of the iterator is independent with $f$ and $b$ . Thus, if the iterator is valid for some $f _ { 0 }$ and $b _ { 0 }$ , then it is valid for any choice of $f$ and $b$ . ",
|
| 2109 |
+
"bbox": [
|
| 2110 |
+
174,
|
| 2111 |
+
103,
|
| 2112 |
+
825,
|
| 2113 |
+
160
|
| 2114 |
+
],
|
| 2115 |
+
"page_idx": 13
|
| 2116 |
+
},
|
| 2117 |
+
{
|
| 2118 |
+
"type": "text",
|
| 2119 |
+
"text": "B PROOF OF CONVERGENCE OF JACOBI METHOD ",
|
| 2120 |
+
"text_level": 1,
|
| 2121 |
+
"bbox": [
|
| 2122 |
+
174,
|
| 2123 |
+
202,
|
| 2124 |
+
601,
|
| 2125 |
+
218
|
| 2126 |
+
],
|
| 2127 |
+
"page_idx": 13
|
| 2128 |
+
},
|
| 2129 |
+
{
|
| 2130 |
+
"type": "text",
|
| 2131 |
+
"text": "In Section 2.4.1, we show that for Poisson equation, the update matrix $T = G ( I - A )$ . We now formally prove that $\\rho ( G ( I - A ) ) < 1$ for any $G$ . ",
|
| 2132 |
+
"bbox": [
|
| 2133 |
+
174,
|
| 2134 |
+
232,
|
| 2135 |
+
821,
|
| 2136 |
+
262
|
| 2137 |
+
],
|
| 2138 |
+
"page_idx": 13
|
| 2139 |
+
},
|
| 2140 |
+
{
|
| 2141 |
+
"type": "text",
|
| 2142 |
+
"text": "For any matrix $T$ , the spectral radius is bounded by the spectral norm: $\\rho ( T ) \\ \\leq \\ \\| T \\| _ { 2 }$ , and the equality holds if $T$ is symmetric. Since $( I - A )$ is a symmetric matrix, $\\rho ( I - A ) = \\| I - A \\| _ { 2 }$ . It has been proven that $\\rho ( I - A ) < 1$ (Frankel, 1950). Moreover, $\\| G \\| _ { 2 } = 1$ . Finally, matrix norms are sub-multiplicative, so ",
|
| 2143 |
+
"bbox": [
|
| 2144 |
+
173,
|
| 2145 |
+
267,
|
| 2146 |
+
825,
|
| 2147 |
+
324
|
| 2148 |
+
],
|
| 2149 |
+
"page_idx": 13
|
| 2150 |
+
},
|
| 2151 |
+
{
|
| 2152 |
+
"type": "equation",
|
| 2153 |
+
"img_path": "images/fb5ac886c716724cbdfbcbae540585c1b07c76d8e36d340bc44463601270ee40.jpg",
|
| 2154 |
+
"text": "$$\n\\rho ( T ) \\leq \\| G ( I - A ) \\| _ { 2 } \\leq \\| G \\| _ { 2 } \\| I - A \\| _ { 2 } < 1\n$$",
|
| 2155 |
+
"text_format": "latex",
|
| 2156 |
+
"bbox": [
|
| 2157 |
+
348,
|
| 2158 |
+
330,
|
| 2159 |
+
648,
|
| 2160 |
+
348
|
| 2161 |
+
],
|
| 2162 |
+
"page_idx": 13
|
| 2163 |
+
},
|
| 2164 |
+
{
|
| 2165 |
+
"type": "text",
|
| 2166 |
+
"text": "$\\rho ( T ) < 1$ is true for any $G$ . Thus, the standard Jacobi method is valid for the Poisson equation under any geometry. ",
|
| 2167 |
+
"bbox": [
|
| 2168 |
+
174,
|
| 2169 |
+
354,
|
| 2170 |
+
823,
|
| 2171 |
+
383
|
| 2172 |
+
],
|
| 2173 |
+
"page_idx": 13
|
| 2174 |
+
}
|
| 2175 |
+
]
|
parse/train/rklaWn0qK7/rklaWn0qK7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rklaWn0qK7/rklaWn0qK7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|