ZHANGYUXUAN-zR commited on
Commit
93b0958
·
verified ·
1 Parent(s): 1f574d8

Add files using upload-large-folder tool

Browse files
parse/train/B1ZvaaeAZ/B1ZvaaeAZ.md ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # WRPN: WIDE REDUCED-PRECISION NETWORKS
2
+
3
+ Asit Mishra, Eriko Nurvitadhi, Jeffrey J Cook & Debbie Marr
4
+ Accelerator Architecture Lab
5
+ Intel Labs
6
+ {asit.k.mishra,eriko.nurvitadhi,jeffrey.j.cook,debbie.marr}@intel.com
7
+
8
+ # ABSTRACT
9
+
10
+ For computer vision applications, prior works have shown the efficacy of reducing numeric precision of model parameters (network weights) in deep neural networks. Activation maps, however, occupy a large memory footprint during both the training and inference step when using mini-batches of inputs. One way to reduce this large memory footprint is to reduce the precision of activations. However, past works have shown that reducing the precision of activations hurts model accuracy. We study schemes to train networks from scratch using reduced-precision activations without hurting accuracy. We reduce the precision of activation maps (along with model parameters) and increase the number of filter maps in a layer, and find that this scheme matches or surpasses the accuracy of the baseline full-precision network. As a result, one can significantly improve the execution efficiency (e.g. reduce dynamic memory footprint, memory bandwidth and computational energy) and speed up the training and inference process with appropriate hardware support. We call our scheme WRPN - wide reducedprecision networks. We report results and show that WRPN scheme is better than previously reported accuracies on ILSVRC-12 dataset while being computationally less expensive compared to previously reported reduced-precision networks.
11
+
12
+ # 1 INTRODUCTION
13
+
14
+ A promising approach to lower the compute and memory requirements of convolutional deeplearning workloads is through the use of low numeric precision algorithms. Operating in lower precision mode reduces computation as well as data movement and storage requirements. Due to such efficiency benefits, there are many existing works which propose low-precision deep neural networks (DNNs) (Zhou et al., 2017; Lin et al., 2015; Miyashita et al., 2016; Gupta et al., 2015b; Vanhoucke et al., 2011), even down to 2-bit ternary mode (Zhu et al., 2016; Li & Liu, 2016; Venkatesh et al., 2016) and 1-bit binary mode (Zhou et al., 2016; Courbariaux & Bengio, 2016; Rastegari et al., 2016; Courbariaux et al., 2015; Umuroglu et al., 2016). However, majority of existing works in low-precision DNNs sacrifice accuracy over the baseline full-precision networks. Further, most prior works target reducing the precision of the model parameters (network weights). This primarily benefits the inference step only when batch sizes are small.
15
+
16
+ We observe that activation maps (neuron outputs) occupy more memory compared to the model parameters for batch sizes typical during training. This observation holds even during inference when batch size is around eight or more. Based on this observation, we study schemes for training and inference using low-precision DNNs where we reduce the precision of activation maps as well as the model parameters without sacrificing network accuracy.
17
+
18
+ To improve both execution efficiency and accuracy of low-precision networks, we reduce both the precision of activation maps and model parameters and increase the number of filter maps in a layer. We call networks using this scheme wide reduced-precision networks (WRPN) and find that this scheme compensates or surpasses the accuracy of the baseline full-precision network. Although the number of raw compute operations increases as we increase the number of filter maps in a layer, the compute bits required per operation is now a fraction of what is required when using full-precision operations (e.g. going from FP32 AlexNet to 4-bits precision and doubling the number of filters increases the number of compute operations by 4x, but each operation is 8x more efficient than FP32).
19
+
20
+ WRPN offers better accuracies, while being computationally less expensive compared to previously reported reduced-precision networks. We report results on AlexNet (Krizhevsky et al., 2012), batch-normalized Inception (Ioffe & Szegedy, 2015), and ResNet-34 (He et al., 2015) on ILSVRC12 (Russakovsky et al., 2015) dataset. We find 4-bits to be sufficient for training deep and wide models while achieving similar or better accuracy than baseline network. With 4-bit activation and 2-bit weights, we find the accuracy to be at-par with baseline full-precision. Making the networks wider and operating with 1-bit precision, we close the accuracy gap between previously reported binary networks and show state-of-the art results for ResNet-34 $6 9 . 8 5 \%$ top-1 with $2 \mathbf { x }$ wide) and AlexNet $4 8 . 0 4 \%$ top-1 with $1 . 3 \mathrm { x }$ wide). To the best of our knowledge, our reported accuracies with binary networks and 4-bit precision are highest to date.
21
+
22
+ Our reduced-precision quantization scheme is hardware friendly allowing for efficient hardware implementations. To this end, we evaluate efficiency benefits of low-precision operations (4-bits to 1-bits) on Titan X GPU, Arria-10 FPGA and ASIC. We see that FPGA and ASIC can deliver significant efficiency gain over FP32 operations $6 . 5 \mathrm { x }$ to $1 0 0 \mathrm { x }$ ), while GPU cannot take advantage of very low-precision operations.
23
+
24
+ ![](images/7f1ebe08f820ba2d4f6cf54598581053b3e8155aa0a62fb48e4050ad8d091021.jpg)
25
+ 2 MOTIVATION FOR REDUCED-PRECISION ACTIVATION MAPS
26
+ Figure 1: Memory footprint of activations (ACTs) and weights (W) during training and inference for minibatch sizes 1 and 32.
27
+
28
+ While most prior works proposing reduced-precision networks work with low precision weights (e.g. work in Courbariaux & Bengio (2016); Zhu et al. (2016); Zhou et al. (2016); Venkatesh et al. (2016); Li & Liu (2016); Courbariaux et al. (2015); Umuroglu et al. (2016)), we find that activation maps occupy a larger memory footprint when using mini-batches of inputs. Using mini-batches of inputs is typical in training of DNNs and cloud-based batched inference (Jouppi et al., 2017). Figure 1 shows memory footprint of activation maps and filter maps as batch size changes for 4 different networks (AlexNet, Inception-Resnet-v2 (Szegedy et al., 2016), ResNet-50 and ResNet-101) during the training and inference steps.
29
+
30
+ ![](images/95b9b13bfb188037f010166d925ca0e7b975dda5fa5f3ad20c2532785fd508d5.jpg)
31
+ Figure 2: Memory requirements of a feed forward convolutional deep neural network. Orange boxes denote weights (W), blue boxes are activations (ACT) and green boxes are gradient-maps (Grad).
32
+
33
+ As batch-size increases, because of filter reuse across batches of inputs, activation maps occupy significantly larger fraction of memory compared to the filter weights. This aspect is illustrated in
34
+
35
+ Figure 2 which shows the memory requirements of a canonical feed-forward DNN for a hardware accelerator based system (e.g. GPU, FPGA, PCIe connected ASIC device, etc.). During training, the sum of all the activation maps (ACT) and weight tensors (W) are allocated in device memory for forward pass along with memory for gradient maps during backward propagation. The total memory requirements for training phase is the sum of memory required for the activation maps, weights and the maximum of input gradient maps $( \delta \mathbf { Z } )$ and maximum of back-propagated gradients $( \delta \mathbf { X } )$ . During inference, memory is allocated for input (IFM) and output feature maps (OFM) required by a single layer, and these memory allocations are reused for other layers. The total memory allocation during inference is then the maximum of IFM and maximum of OFM required across all the layers plus the sum of all W-tensors. At batch sizes 128 and more, activations start to occupy more than $98 \%$ of total memory footprint during training.
36
+
37
+ Overall, reducing precision of activations and weights reduces memory footprint, bandwidth and storage while also simplifying the requirements for hardware to efficiently support these operations.
38
+
39
+ # 3 WRPN SCHEME AND STUDIES ON ALEXNET
40
+
41
+ Based on the observation that activations occupy more memory footprint compared to weights, we reduce the precision of activations to speed up training and inference steps as well as cut down on memory requirements. However, a straightforward reduction in precision of activation maps leads to significant reduction in model accuracy (Zhou et al., 2016; Rastegari et al., 2016).
42
+
43
+ We conduct a sensitivity study where we reduce precision of activation maps and model weights for AlexNet running ILSVRC-12 dataset and train the network from scratch. Table 1 reports our findings. Top-1 single-precision (32-bits weights and activations) accuracy is $5 7 . 2 \%$ . The accuracy with binary weights and activations is $4 4 . 2 \%$ . This is similar to what is reported in Rastegari et al. (2016). $3 2 b A$ and $2 b W$ data-point in this table is using Trained Ternary Quantization (TTQ) technique (Zhu et al., 2016). All other data points are collected using our quantization scheme (described later in Section 5), all the runs have same hyper-parameters and training is carried out for the same number of epochs as baseline network. To be consistent with results reported in prior works, we do not quantize weights and activations of the first and last layer.
44
+
45
+ We find that, in general, reducing the precision of activation maps and weights hurts model accuracy. Further, reducing precision of activations hurts model accuracy much more than reducing precision of the filter parameters. We find TTQ to be quite effective on AlexNet in that one can lower the precision of weights to 2b (while activations are still FP32) and not lose accuracy. However, we did not find this scheme to be effective for other networks like ResNet or Inception.
46
+
47
+ Table 1: AlexNet top-1 validation set accuracy $\%$ as precision of activations (A) and weight(W) changes. All results are with end-to-end training of the network from scratch. − is a data-point we did not experiment for.
48
+
49
+ <table><tr><td></td><td>32b A</td><td>8bA</td><td>4b A</td><td>2bA</td><td>1bA</td></tr><tr><td>32bW</td><td>57.2</td><td>54.3</td><td>54.4</td><td>52.7</td><td></td></tr><tr><td>8bW</td><td>1</td><td>54.5</td><td>53.2</td><td>51.5</td><td>1</td></tr><tr><td>4b W</td><td>1</td><td>54.2</td><td>54.4</td><td>52.4</td><td></td></tr><tr><td>2b W</td><td>57.5</td><td>50.2</td><td>50.5</td><td>51.3</td><td>1</td></tr><tr><td>1b W</td><td>56.8</td><td>1</td><td>1</td><td>1</td><td>44.2</td></tr></table>
50
+
51
+ Table 2: AlexNet $2 \mathbf { x }$ -wide top-1 validation set accuracy $\%$ as precision of activations (A) and weights (W) changes.
52
+
53
+ <table><tr><td></td><td>32bA</td><td>8bA</td><td>4bA</td><td>2bA</td><td>1b A</td></tr><tr><td>32bW</td><td>60.5</td><td>58.9</td><td>58.6</td><td>57.5</td><td>52.0</td></tr><tr><td>8bW</td><td>1</td><td>59.0</td><td>58.8</td><td>57.1</td><td>50.8</td></tr><tr><td>4b W</td><td>1</td><td>58.8</td><td>58.6</td><td>57.3</td><td>/</td></tr><tr><td>2b W</td><td>1</td><td>57.6</td><td>57.2</td><td>55.8</td><td>1</td></tr><tr><td>1b W</td><td>1</td><td>1</td><td>1</td><td>1</td><td>48.3</td></tr></table>
54
+
55
+ To re-gain the model accuracy while working with reduced-precision operands, we increase the number of filter maps in a layer. Although the number of raw compute operations increase with widening the filter maps in a layer, the bits required per compute operation is now a fraction of what is required when using full-precision operations. As a result, with appropriate hardware support, one can significantly reduce the dynamic memory requirements, memory bandwidth, computational energy and speed up the training and inference process.
56
+
57
+ Our widening of filter maps is inspired from Wide ResNet (Zagoruyko & Komodakis, 2016) work where the depth of the network is reduced and width of each layer is increased (the operand precision is still FP32). Wide ResNet requires a re-design of the network architecture. In our work, we maintain the depth parameter same as baseline network but widen the filter maps. We call our approach WRPN - wide reduced-precision networks. In practice, we find this scheme to be very simple and effective - starting with a baseline network architecture, one can change the width of each filter map without changing any other network design parameter or hyper-parameters. Carefully reducing precision and simultaneously widening filters keeps the total compute cost of the network under or at-par with baseline cost.1
58
+
59
+ Table 2 reports the accuracy of AlexNet when we double the number of filter maps in a layer. With doubling of filter maps, AlexNet with 4-bits weights and 2-bits activations exhibits accuracy at-par with full-precision networks. Operating with 4-bits weights and 4-bits activations surpasses the baseline accuracy by $1 . 4 4 \%$ . With binary weights and activations we better the accuracy of XNORNET (Rastegari et al., 2016) by $4 \%$ .
60
+
61
+ When doubling the number of filter maps, AlexNet’s raw compute operations grow by $3 . 9 \mathbf { x }$ compared to the baseline full-precision network, however by using reduced-precision operands the overall compute complexity is a fraction of the baseline. For example, with 4b operands for weights and activations and $2 \mathbf { x }$ the number of filters, reduced-precision AlexNet is just $49 \%$ of the total compute cost of the full-precision baseline (compute cost comparison is shown in Table 3).
62
+
63
+ Table 3: Compute cost of AlexNet $2 \mathbf { x }$ -wide vs. 1x-wide as precision of activations (A) and weights (W) changes.
64
+
65
+ <table><tr><td></td><td>32b A</td><td>8b A</td><td>4b A</td><td>2bA</td><td>1b A</td></tr><tr><td>32b W</td><td>3.9x</td><td>2.4x</td><td>2.2x</td><td>2.1x</td><td>2.0x</td></tr><tr><td>8b W</td><td>2.4x</td><td>1.0x</td><td>0.7x</td><td>0.6x</td><td>0.6x</td></tr><tr><td>4b W</td><td>2.2x</td><td>0.7x</td><td>0.5x</td><td>0.4x</td><td>0.3x</td></tr><tr><td>2b W</td><td>2.1x</td><td>0.6x</td><td>0.4x</td><td>0.2x</td><td>0.2x</td></tr><tr><td>1b W</td><td>2.0x</td><td>0.6x</td><td>0.3x</td><td>0.2x</td><td>0.1x</td></tr></table>
66
+
67
+ We also experiment with other widening factors. With $1 . 3 \mathrm { x }$ widening of filters and with 4-bits of activation precision one can go as low as 8-bits of weight precision while still being at-par with baseline accuracy. With $1 . 1 \mathrm { x }$ wide filters, at least 8-bits weight and 16-bits activation precision is required for accuracy to match baseline full-precision 1x wide accuracy. Further, as Table 3 shows, when widening filters by $2 \mathbf { x }$ , one needs to lower precision to at least 8-bits so that the total compute cost is not more than baseline compute cost. Thus, there is a trade-off between widening and reducing the precision of network parameters.
68
+
69
+ In our work, we trade-off higher number of raw compute operations with aggressively reducing the precision of the operands involved in these operations (activation maps and filter weights) while not sacrificing the model accuracy. Apart from other benefits of reduced precision activations as mentioned earlier, widening filter maps also improves the efficiency of underlying GEMM calls for convolution operations since compute accelerators are typically more efficient on a single kernel consisting of parallel computation on large data-structures as opposed to many small sized kernels (Zagoruyko & Komodakis, 2016).
70
+
71
+ # 4 STUDIES ON DEEPER NETWORKS
72
+
73
+ We study how our scheme applies to deeper networks. For this, we study ResNet-34 (He et al., 2015) and batch-normalized Inception (Ioffe & Szegedy, 2015) and find similar trends, particularly that 2-bits weight and 4-bits activations continue to provide at-par accuracy as baseline. We use TensorFlow (Abadi et al., 2015) and tensorpack for all our evaluations and use ILSVRC-12 train and val dataset for analysis.
74
+
75
+ # 4.1 RESNET
76
+
77
+ ResNet-34 has 3x3 filters in each of its modular layers with shortcut connections being 1x1. The filter bank width changes from 64 to 512 as depth increases. We use the pre-activation variant of ResNet and the baseline top-1 accuracy of our ResNet-34 implementation using single-precision
78
+
79
+ 32-bits data format is $7 3 . 5 9 \%$ . Binarizing weights and activations for all layers except the first and the last layer in this network gives top-1 accuracy of $6 0 . 5 \%$ . For binarizing ResNet we did not re-order any layer (as is done in XNOR-NET). We used the same hyper-parameters and learning rate schedule as the baseline network. As a reference, for ResNet-18, the gap between XNOR-NET (1b weights and activations) and full-precision network is $18 \%$ (Rastegari et al., 2016). It is also interesting to note that top-1 accuracy of single-precision AlexNet $( 5 7 . 2 0 \% )$ is lower than the top-1 accuracy of binarized ResNet-34 $( 6 0 . 5 \% )$ .
80
+
81
+ Table 4: ResNet-34 top-1 validation accuracy $\%$ and compute cost as precision of activations (A) and weights (W) varies.
82
+
83
+ <table><tr><td>Width</td><td>Precision</td><td>Top-1 Acc. %</td><td>Compute cost</td></tr><tr><td>1x wide</td><td>32b A,32b W 1b A, 1b W</td><td>73.59 60.54</td><td>1x 0.03x</td></tr><tr><td>2x wide</td><td>4b A, 8b W 4b A, 4b W</td><td>74.48 74.52</td><td>0.74x 0.50x</td></tr><tr><td></td><td>4b A, 2b W</td><td>73.58</td><td>0.39x</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>2b A,4b W</td><td>73.50</td><td>0.39x</td></tr><tr><td></td><td>2b A,2b W</td><td>73.32</td><td>0.27x</td></tr><tr><td></td><td>1b A, 1b W</td><td>69.85</td><td>0.15x</td></tr><tr><td>3x wide</td><td>1b A, 1b W</td><td>72.38</td><td>0.30x</td></tr></table>
84
+
85
+ We experimented with doubling number of filters in each layer and reduce the precision of activations and weights. Table 4 shows the results of our analysis. Doubling the number of filters and 4-bits precision for both weights and activations beats the baseline accuracy by $0 . 9 \%$ . 4-bits activations and 2-bits (ternary) weights has top-1 accuracy at-par with baseline. Reducing precision to 2-bits for both weights and activations degrades accuracy by only $0 . 2 \%$ compared to baseline.
86
+
87
+ Binarizing the weights and activations with $2 \mathbf { x }$ wide filters has a top-1 accuracy of $6 9 . 8 5 \%$ . This is just $3 . 7 \%$ worse than baseline full-precision network while being only $15 \%$ of the cost of the baseline network. Widening the filters by $3 \mathbf { x }$ and binarizing the weights and activations reduces this gap to $1 . 2 \%$ while the 3x wide network is $30 \%$ the cost of the full-precision baseline network.
88
+
89
+ Although 4-bits precision seems to be enough for wide networks, we advocate for 4-bits activation precision and 2-bits weight precision. This is because with ternary weights one can get rid of the multipliers and use adders instead. Additionally, with this configuration there is no loss of accuracy. Further, if some accuracy degradation is tolerable, one can even go to binary circuits for efficient hardware implementation while saving $3 2 \mathrm { x }$ in bandwidth for each of weights and activations compared to full-precision networks. All these gains can be realized with simpler hardware implementation and lower compute cost compared to baseline networks.
90
+
91
+ To the best of our knowledge, our ResNet binary and ternary (with 2-bits or 4-bits activation) top-1 accuracies are state-of-the-art results in the literature including unpublished technical reports (with similar data augmentation (Mellempudi et al., 2017)).
92
+
93
+ # 4.2 BATCH-NORMALIZED INCEPTION
94
+
95
+ We applied WRPN scheme to batch-normalized Inception network (Ioffe & Szegedy, 2015). This network includes batch normalization of all layers and is a variant of GoogleNet (Szegedy et al., 2014) where the 5x5 convolutional filters are replaced by two 3x3 convolutions with up to 128 wide filters. Table 5 shows the results of our analysis. Using 4-bits activations and 2-bits weight and doubling the number of filter banks in the network produces a model that is almost at-par in accuracy with the baseline single-precision network $0 . 0 2 \%$ loss in accuracy). Wide network with binary weights and activations is within $6 . 6 \%$ of the full-precision baseline network.
96
+
97
+ # 5 HARDWARE FRIENDLY QUANTIZATION SCHEME
98
+
99
+ We adopt the straight-through estimator (STE) approach in our work (Bengio et al., 2013). When quantizing a real number to $k$ -bits, the ordinality of the set of quantized numbers is $2 ^ { k }$ . Mathematically, this small and finite set would have zero gradients with respect to its inputs. STE method circumvents this problem by defining an operator that has arbitrary forward and backward operations.
100
+
101
+ Table 5: Batch-normalized Inception top-1 validation accuracy $\%$ and compute cost as precision of activations (A) and weights (W) varies.
102
+
103
+ <table><tr><td>Width</td><td>Precision</td><td>Top-1 Acc. %</td><td>Compute cost</td></tr><tr><td>1x wide</td><td>32b A,32b W</td><td>71.64</td><td>1x</td></tr><tr><td rowspan="4">2x wide</td><td>4b A, 4b W</td><td>71.63</td><td>0.50x</td></tr><tr><td>4b A, 2b W</td><td>71.61</td><td>0.38x</td></tr><tr><td>2b A,2b W</td><td>70.75</td><td>0.25x</td></tr><tr><td>1b A,1b W</td><td>65.02</td><td>0.13x</td></tr></table>
104
+
105
+ Prior works using the STE approach define operators that quantize the weights based on the expectation of the weight tensors. For instance, Ternary Weight Networks (TWN) (Li & Liu, 2016) uses a threshold and a scaling factor for each layer to quantize weights to ternary domain. In TTQ (Zhu et al., 2016), the scaling factors are learned parameters. XNOR-NET binarizes the weight tensor by computing the sign of the tensor values and then scaling by the mean of the absolute value of each output channel of weights. DoReFa uses a single scaling factor across the entire layer. For quantizing weights to $k$ -bits, where $k > 1$ , DoReFa uses:
106
+
107
+ $$
108
+ w ^ { k } = 2 * q u a n t i z e _ { k } ( \frac { t a n h ( w _ { i } ) } { 2 * m a x ( | \ t a n h ( w _ { i } ) \ | ) } + \frac { 1 } { 2 } ) - 1 )
109
+ $$
110
+
111
+ Here $w _ { k }$ is the $\mathbf { k }$ -bit quantized version of inputs $w _ { i }$ and quantize $k$ is a quantization function that quantizes a floating-point number $w _ { i }$ in the range $[ 0 , 1 ]$ to a $k$ -bit number in the same range. The transcendental tanh operation constrains the weight value to lie in between $- 1$ and $+ 1$ . The affine transformation post quantization brings the range to $[ - 1 , 1 ]$ .
112
+
113
+ We build on these approaches and propose a much simpler scheme. For quantizing weight tensors we first hard constrain the values to lie within the range $[ - 1 , 1 ]$ using min-max operation (e.g. tf.clip by val when using Tensorflow (Abadi et al., 2015)). For quantizing activation tensor values, we constrain the values to lie within the range [0, 1]. This step is followed by a quantization step where a real number is quantized into a $k$ -bit number. This is given as, for $k > 1$ :
114
+
115
+ $$
116
+ w _ { k } = \frac { 1 } { 2 ^ { k - 1 } - 1 } r o u n d ( ( 2 ^ { k - 1 } - 1 ) * w _ { i } ) \qquad \mathrm { a n d } \qquad a _ { k } = \frac { 1 } { 2 ^ { k } - 1 } r o u n d ( ( 2 ^ { k } - 1 ) * a _ { i } )
117
+ $$
118
+
119
+ Here $w _ { i }$ and $a _ { i }$ are input real-valued weights and activation tensor and $w _ { k }$ and $a _ { k }$ are their quantized versions. One bit is reserved for sign-bit in case of weight values, hence the use of $2 ^ { k - 1 }$ for these quantized values. Thus, weights can be stored and interpreted using signed data-types and activations using un-signed data-types. With appropriate affine transformations, the convolution operations (the bulk of the compute operations in the network during forward pass) can be done using quantized values (integer operations in hardware) followed by scaling with floating-point constants (this scaling operation can be done in parallel with the convolution operation in hardware). When $k = 1$ , for binary weights we use the Binary Weighted Networks (BWN) approach (Courbariaux et al., 2015) where the binarized weight value is computed based on the sign of input value followed by scaling with the mean of absolute values. For binarized activations we use the formulation in Eq. 2. We do not quantize the gradients and maintain the weights in reduced precision format.
120
+
121
+ For convolution operation when using WRPN, the forward pass during training (and the inference step) involves matrix multiplication of $k$ -bits signed and $k$ -bits unsigned operands. Since gradient values are in 32-bits floating-point format, the backward pass involves a matrix multiplication operation using 32-bits and $k$ -bits operand for gradient and weight update.
122
+
123
+ When $k > 1$ , the hard clipping of tensors to a range maps efficiently to min-max comparator units in hardware as opposed to using transcendental operations which are long latency operations. TTQ and DoRefa (Zhou et al., 2016) schemes involve division operation and computing a maximum value in the input tensor. Floating-point division operation is expensive in hardware and computing the maximum in a tensor is an $O ( n )$ operation. Additionally, our quantization parameters are static and do not require any learning or involve back-propagation like TTQ approach. We avoid each of these costly operations and propose a simpler quantization scheme (clipping followed by rounding).
124
+
125
+ 5.1 EFFICIENCY IMPROVEMENTS OF REDUCED-PRECISION OPERATIONS ON GPU, FPGA AND ASIC
126
+
127
+ In practice, the effective performance and energy efficiency one could achieve on a low-precision compute operation highly depends on the hardware that runs these operations. We study the efficiency of low-precision operations on various hardware targets GPU, FPGA, and ASIC.
128
+
129
+ For GPU, we evaluate WRPN on Nvidia Titan X Pascal and for FPGA we use Intel Arria-10. We collect performance numbers from both previously reported analysis (Nurvitadhi et al., 2017) as well as our own experiments. For FPGA, we implement a DNN accelerator architecture shown in Figure 3(a). This is a prototypical accelerator design used in various works (e.g., on FPGA (Nurvitadhi et al., 2017) and ASIC such as TPU (Jouppi et al., 2017)). The core of the accelerator consists of a systolic array of processing elements (PEs) to perform matrix and vector operations, along with on-chip buffers, as well as off-chip memory management unit. The PEs can be configured to support different precision – (FP32, FP32), (INT4, INT4), (INT4, TER2), and (BIN1, BIN1). The (INT4, TER2) PE operates on ternary $^ { ( + 1 , 0 , - 1 ) }$ values and is optimized to include only an adder since there is no need for a multiplier in this case. The binary (BIN1, BIN1) PE is implemented using XNOR and bitcount. Our RTL design targets Arria-10 1150 FPGA. For our ASIC study, we synthesize the PE design using Intel $1 4 \mathrm { n m }$ process technology to obtain area and energy estimates.
130
+
131
+ ![](images/edc7cebaa1081616f22562193fbf135a3823ee6a5f5905ff4ca4bbf7144c7a10.jpg)
132
+ Figure 3: Efficiency improvements from low-precision operations on GPU, FPGA and ASIC.
133
+
134
+ Figure 3(b) - (g) summarize our analysis. Figure 3(b) shows the efficiency improvements using first-order estimates where the efficiency is computed based on number of bits used in the operation.
135
+
136
+ With this method we would expect (INT4, INT4) and (BIN1, BIN1) to be ${ 8 } \mathbf { { x } }$ and $3 2 \mathrm { x }$ more efficient, respectively, than (FP32, FP32). However, in practice the efficiency gains from reducing precision depend on whether the underlying hardware can take advantage of such low-precisions.
137
+
138
+ Figure 3(c) shows performance improvement on Titan X GPU for various low-precision operations relative to FP32. In this case, GPU can only achieve up to ${ \sim } 4 \mathbf { x }$ improvements in performance over FP32 baseline. This is because GPU only provides first-class support for INT8 operations, and is not able to take advantage of the lower INT4, TER2, and BIN1 precisions. On the contrary, FPGA can take advantage of such low precisions, since they are amenable for implementations on the FPGAs reconfigurable fabric.
139
+
140
+ Figure 3(d) shows that the performance improvements from (INT4, INT4), (INT4, TER2), and (BIN1, BIN1) track well with the first-order estimates from Figure 3(b). In fact, for (BIN1, BIN1), FPGA improvements exceed the first-order estimate. Reducing the precision simplifies the design of compute units and lower buffering requirements on FPGA board. Compute-precision reduction leads to significant improvement in throughput due to smaller hardware designs (allowing more parallelism) and shorter circuit delay (allowing higher frequency). Figure 3(e) shows the performance and performance/Watt of the reduced-precision operations on GPU and FPGA. FPGA performs quite well on very low precision operations. In terms of performance/watt, FPGA does better than GPU on (INT4, INT4) and lower precisions.
141
+
142
+ ASIC allows for a truly customized hardware implementation. Our ASIC study provides insights to the upper bound of the efficiency benefits possible from low-precision operations. Figure 3(f) and 3(g) show improvement in performance and energy efficiency of the various low-precision ASIC PEs relative to baseline FP32 PE. As the figures show, going to lower precision offers 2 to 3 orders of magnitude efficiency improvements.
143
+
144
+ In summary, FPGA and ASIC are well suited for our WRPN approach. At $2 \mathbf { x }$ wide, our WRPN approach requires $4 \mathbf { x }$ more total operations than the original network. However, for INT4 or lower precision, each operation is $6 . 5 \mathrm { x }$ or better in efficiency than FP32 for FPGA and ASIC. Hence, WRPN delivers an overall efficiency win.
145
+
146
+ # 6 RELATED WORK
147
+
148
+ Reduced-precision DNNs is an active research area. Reducing precision of weights for efficient inference pipeline has been very well studied. Works like Binary connect (BC) (Courbariaux et al., 2015), Ternary-weight networks (TWN) (Li & Liu, 2016), fine-grained ternary quantization (Mellempudi et al., 2017) and INQ (Zhou et al., 2017) target precision reduction of network weights while still using full-precision activations. Accuracy is almost always degraded when quantizing the weights. For AlexNet on Imagenet, TWN loses $5 \%$ top-1 accuracy. Schemes like INQ, Sung et al. (2015) and Mellempudi et al. (2017) do fine-tuning to quantize the network weights and do not sacrifice accuracy as much but are not applicable for training networks from scratch. INQ shows promising results with 5-bits of precision.
149
+
150
+ XNOR-NET (Rastegari et al., 2016), BNN (Courbariaux & Bengio, 2016), DoReFa (Zhou et al., 2016) and TTQ (Zhu et al., 2016) target training as well. While TTQ targets weight quantization only, most works targeting activation quantization hurt accuracy. XNOR-NET approach reduces top-1 accuracy by $12 \%$ and DoReFa by $8 \%$ when quantizing both weights and activations to 1-bit (for AlexNet on ImageNet). Further, XNOR-NET requires re-ordering of layers for its scheme to work. Recent work in Graham (2017) targets low-precision activations and reports accuracy within $1 \%$ of baseline with 5-bits precision and logarithmic (with base $\sqrt { 2 }$ ) quantization. With fine-tuning this gap can be narrowed to be within $0 . 6 \%$ but not all layers are quantized.
151
+
152
+ Non-multiples of two for operand values introduces hardware inefficiency in that memory accesses are no longer DRAM or cache-boundary aligned and end-to-end run-time performance aspect is unclear when using complicated quantization schemes. We target end-to-end training and inference, using very simple quantization method and aim for reducing precision without any loss in accuracy. To the best of our knowledge, our work is the first to study reduced-precision deep and wide networks, and show accuracy at-par with baseline for as low a precision as 4-bits activations and 2-bits weights. We report state of the art accuracy for wide binarized AlexNet and ResNet while still being lower in compute cost.
153
+
154
+ Work by Gupta et al. (2015a) advocates for low precision fixed-point numbers for training. They show 16-bits to be sufficient for training on CIFAR10 dataset and find stochastic rounding to be necessary for training convergence. In our work here we focus on sub-8b training and like DoReFa scheme do not see stochastic rounding necessary when using full-precision gradients. Work by Seide et al. (2014) quantizes gradients before communication in a distributed computing setting. They use full precision gradients during the backward pass and quantize the gradients before sending them to other computation nodes (decreasing the amount of communication traffic over an interconnection network). For distributed training, we can potentially use this approach for communicating gradients across nodes.
155
+
156
+ # 7 CONCLUSIONS
157
+
158
+ We present the Wide Reduced-Precision Networks (WRPN) scheme for DNNs. In this scheme, the numeric precision of both weights and activations are significantly reduced without loss of network accuracy. This result is in contrast to many previous works that find reduced-precision activations to detrimentally impact accuracy; specifically, we find that 2-bit weights and 4-bit activations are sufficient to match baseline accuracy across many networks including AlexNet, ResNet-34 and batchnormalized Inception. We achieve this result with a new quantization scheme and by increasing the number of filter maps in each reduced-precision layer to compensate for the loss of information capacity induced by reducing the precision. We believe ours to be the first work to study the interplay between layer width and precision – with widening, the number of neurons in a layer increase; yet with reduced precision, we control overfitting and regularization.
159
+
160
+ We motivate this work with our observation that full-precision activations contribute significantly more to the memory footprint than full-precision weight parameters when using mini-batch sizes common during training and cloud-based inference; furthermore, by reducing the precision of both activations and weights the compute complexity is greatly reduced $40 \%$ of baseline for 2-bit weights and 4-bit activations).
161
+
162
+ The WRPN quantization scheme and computation on low precision activations and weights is hardware friendly making it viable for deeply-embedded system deployments as well as in cloud-based training and inference servers with compute fabrics for low-precision. We compare Titan X GPU, Arria-10 FPGA and ASIC implementations using WRPN and show our scheme increases performance and energy-efficiency for iso-accuracy across each. Overall, reducing the precision allows custom-designed compute units and lower buffering requirements to provide significant improvement in throughput.
163
+
164
+ # REFERENCES
165
+
166
+ tensorpack: https://github.com/ppwwyyxx/tensorpack.
167
+
168
+ Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org.
169
+
170
+ Yoshua Bengio, Nicholas Leonard, and Aaron C. Courville. Estimating or propagating gradients ´ through stochastic neurons for conditional computation. CoRR, abs/1308.3432, 2013. URL http://arxiv.org/abs/1308.3432.
171
+
172
+ Matthieu Courbariaux and Yoshua Bengio. Binarynet: Training deep neural networks with weights and activations constrained to $+ 1$ or -1. CoRR, abs/1602.02830, 2016. URL http://arxiv. org/abs/1602.02830.
173
+
174
+ Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. CoRR, abs/1511.00363, 2015. URL http: //arxiv.org/abs/1511.00363.
175
+
176
+ Benjamin Graham. Low-precision batch-normalized activations. CoRR, abs/1702.08231, 2017. URL http://arxiv.org/abs/1702.08231.
177
+
178
+ Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. CoRR, abs/1502.02551, 2015a. URL http://arxiv.org/abs/ 1502.02551.
179
+
180
+ Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. CoRR, abs/1502.02551, 2015b. URL http://arxiv.org/ abs/1502.02551.
181
+
182
+ 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.
183
+
184
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. CoRR, abs/1502.03167, 2015. URL http://arxiv.org/ abs/1502.03167.
185
+
186
+ N. P. Jouppi, C. Young, N. Patil, D. Patterson, G. Agrawal, R. Bajwa, S. Bates, S. Bhatia, N. Boden, A. Borchers, R. Boyle, P.-l. Cantin, C. Chao, C. Clark, J. Coriell, M. Daley, M. Dau, J. Dean, B. Gelb, T. Vazir Ghaemmaghami, R. Gottipati, W. Gulland, R. Hagmann, C. R. Ho, D. Hogberg, J. Hu, R. Hundt, D. Hurt, J. Ibarz, A. Jaffey, A. Jaworski, A. Kaplan, H. Khaitan, A. Koch, N. Kumar, S. Lacy, J. Laudon, J. Law, D. Le, C. Leary, Z. Liu, K. Lucke, A. Lundin, G. MacKean, A. Maggiore, M. Mahony, K. Miller, R. Nagarajan, R. Narayanaswami, R. Ni, K. Nix, T. Norrie, M. Omernick, N. Penukonda, A. Phelps, J. Ross, M. Ross, A. Salek, E. Samadiani, C. Severn, G. Sizikov, M. Snelham, J. Souter, D. Steinberg, A. Swing, M. Tan, G. Thorson, B. Tian, H. Toma, E. Tuttle, V. Vasudevan, R. Walter, W. Wang, E. Wilcox, and D. H. Yoon. In-Datacenter Performance Analysis of a Tensor Processing Unit. ArXiv e-prints, April 2017.
187
+
188
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097– 1105. Curran Associates, Inc., 2012. URL http://papers.nips.cc/paper/ 4824-imagenet-classification-with-deep-convolutional-neural-networks. pdf.
189
+
190
+ Fengfu Li and Bin Liu. Ternary weight networks. CoRR, abs/1605.04711, 2016. URL http: //arxiv.org/abs/1605.04711.
191
+
192
+ Zhouhan Lin, Matthieu Courbariaux, Roland Memisevic, and Yoshua Bengio. Neural networks with few multiplications. CoRR, abs/1510.03009, 2015. URL http://arxiv.org/abs/1510. 03009.
193
+
194
+ N. Mellempudi, A. Kundu, D. Mudigere, D. Das, B. Kaul, and P. Dubey. Ternary Neural Networks with Fine-Grained Quantization. ArXiv e-prints, May 2017.
195
+
196
+ Daisuke Miyashita, Edward H. Lee, and Boris Murmann. Convolutional neural networks using logarithmic data representation. CoRR, abs/1603.01025, 2016. URL http://arxiv.org/ abs/1603.01025.
197
+
198
+ Eriko Nurvitadhi, Ganesh Venkatesh, Jaewoong Sim, Debbie Marr, Randy Huang, Jason Ong Gee Hock, Yeong Tat Liew, Krishnan Srivatsan, Duncan Moss, Suchit Subhaschandra, and Guy Boudoukh. Can fpgas beat gpus in accelerating next-generation deep neural networks? In Proceedings of the 2017 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, FPGA ’17, pp. 5–14, New York, NY, USA, 2017. ACM. ISBN 978-1-4503-4354-1. doi: 10.1145/ 3020078.3021740. URL http://doi.acm.org/10.1145/3020078.3021740.
199
+
200
+ Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. CoRR, abs/1603.05279, 2016. URL http://arxiv.org/abs/1603.05279.
201
+
202
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y.
203
+
204
+ Frank Seide, Hao Fu, Jasha Droppo, Gang Li, and Dong Yu. 1-bit stochastic gradient descent and application to data-parallel distributed training of speech dnns. In Interspeech 2014, September 2014.
205
+
206
+ Wonyong Sung, Sungho Shin, and Kyuyeon Hwang. Resiliency of deep neural networks under quantization. CoRR, abs/1511.06488, 2015. URL http://arxiv.org/abs/1511.06488.
207
+
208
+ Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott E. Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. CoRR, abs/1409.4842, 2014. URL http://arxiv.org/abs/1409.4842.
209
+
210
+ Christian Szegedy, Sergey Ioffe, and Vincent Vanhoucke. Inception-v4, inception-resnet and the impact of residual connections on learning. CoRR, abs/1602.07261, 2016. URL http: //arxiv.org/abs/1602.07261.
211
+
212
+ Yaman Umuroglu, Nicholas J. Fraser, Giulio Gambardella, Michaela Blott, Philip Heng Wai Leong, Magnus Jahre, and Kees A. Vissers. FINN: A framework for fast, scalable binarized neural network inference. CoRR, abs/1612.07119, 2016. URL http://arxiv.org/abs/1612. 07119.
213
+
214
+ Vincent Vanhoucke, Andrew Senior, and Mark Z. Mao. Improving the speed of neural networks on cpus. In Deep Learning and Unsupervised Feature Learning Workshop, NIPS 2011, 2011.
215
+
216
+ Ganesh Venkatesh, Eriko Nurvitadhi, and Debbie Marr. Accelerating deep convolutional networks using low-precision and sparsity. CoRR, abs/1610.00324, 2016. URL http://arxiv.org/ abs/1610.00324.
217
+
218
+ Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. CoRR, abs/1605.07146, 2016. URL http://arxiv.org/abs/1605.07146.
219
+
220
+ Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. CoRR, abs/1702.03044, 2017. URL http://arxiv.org/abs/1702.03044.
221
+
222
+ Shuchang Zhou, Zekun Ni, Xinyu Zhou, He Wen, Yuxin Wu, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. CoRR, abs/1606.06160, 2016. URL http://arxiv.org/abs/1606.06160.
223
+
224
+ Chenzhuo Zhu, Song Han, Huizi Mao, and William J. Dally. Trained ternary quantization. CoRR, abs/1612.01064, 2016. URL http://arxiv.org/abs/1612.01064.
parse/train/B1ZvaaeAZ/B1ZvaaeAZ_content_list.json ADDED
@@ -0,0 +1,1210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "WRPN: WIDE REDUCED-PRECISION NETWORKS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 764,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Asit Mishra, Eriko Nurvitadhi, Jeffrey J Cook & Debbie Marr \nAccelerator Architecture Lab \nIntel Labs \n{asit.k.mishra,eriko.nurvitadhi,jeffrey.j.cook,debbie.marr}@intel.com ",
17
+ "bbox": [
18
+ 181,
19
+ 143,
20
+ 857,
21
+ 202
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 237,
32
+ 544,
33
+ 252
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "For computer vision applications, prior works have shown the efficacy of reducing numeric precision of model parameters (network weights) in deep neural networks. Activation maps, however, occupy a large memory footprint during both the training and inference step when using mini-batches of inputs. One way to reduce this large memory footprint is to reduce the precision of activations. However, past works have shown that reducing the precision of activations hurts model accuracy. We study schemes to train networks from scratch using reduced-precision activations without hurting accuracy. We reduce the precision of activation maps (along with model parameters) and increase the number of filter maps in a layer, and find that this scheme matches or surpasses the accuracy of the baseline full-precision network. As a result, one can significantly improve the execution efficiency (e.g. reduce dynamic memory footprint, memory bandwidth and computational energy) and speed up the training and inference process with appropriate hardware support. We call our scheme WRPN - wide reducedprecision networks. We report results and show that WRPN scheme is better than previously reported accuracies on ILSVRC-12 dataset while being computationally less expensive compared to previously reported reduced-precision networks. ",
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 764,
44
+ 503
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 530,
55
+ 334,
56
+ 546
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "A promising approach to lower the compute and memory requirements of convolutional deeplearning workloads is through the use of low numeric precision algorithms. Operating in lower precision mode reduces computation as well as data movement and storage requirements. Due to such efficiency benefits, there are many existing works which propose low-precision deep neural networks (DNNs) (Zhou et al., 2017; Lin et al., 2015; Miyashita et al., 2016; Gupta et al., 2015b; Vanhoucke et al., 2011), even down to 2-bit ternary mode (Zhu et al., 2016; Li & Liu, 2016; Venkatesh et al., 2016) and 1-bit binary mode (Zhou et al., 2016; Courbariaux & Bengio, 2016; Rastegari et al., 2016; Courbariaux et al., 2015; Umuroglu et al., 2016). However, majority of existing works in low-precision DNNs sacrifice accuracy over the baseline full-precision networks. Further, most prior works target reducing the precision of the model parameters (network weights). This primarily benefits the inference step only when batch sizes are small. ",
63
+ "bbox": [
64
+ 174,
65
+ 563,
66
+ 825,
67
+ 714
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "We observe that activation maps (neuron outputs) occupy more memory compared to the model parameters for batch sizes typical during training. This observation holds even during inference when batch size is around eight or more. Based on this observation, we study schemes for training and inference using low-precision DNNs where we reduce the precision of activation maps as well as the model parameters without sacrificing network accuracy. ",
74
+ "bbox": [
75
+ 174,
76
+ 723,
77
+ 823,
78
+ 791
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "To improve both execution efficiency and accuracy of low-precision networks, we reduce both the precision of activation maps and model parameters and increase the number of filter maps in a layer. We call networks using this scheme wide reduced-precision networks (WRPN) and find that this scheme compensates or surpasses the accuracy of the baseline full-precision network. Although the number of raw compute operations increases as we increase the number of filter maps in a layer, the compute bits required per operation is now a fraction of what is required when using full-precision operations (e.g. going from FP32 AlexNet to 4-bits precision and doubling the number of filters increases the number of compute operations by 4x, but each operation is 8x more efficient than FP32). ",
85
+ "bbox": [
86
+ 174,
87
+ 799,
88
+ 825,
89
+ 922
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "WRPN offers better accuracies, while being computationally less expensive compared to previously reported reduced-precision networks. We report results on AlexNet (Krizhevsky et al., 2012), batch-normalized Inception (Ioffe & Szegedy, 2015), and ResNet-34 (He et al., 2015) on ILSVRC12 (Russakovsky et al., 2015) dataset. We find 4-bits to be sufficient for training deep and wide models while achieving similar or better accuracy than baseline network. With 4-bit activation and 2-bit weights, we find the accuracy to be at-par with baseline full-precision. Making the networks wider and operating with 1-bit precision, we close the accuracy gap between previously reported binary networks and show state-of-the art results for ResNet-34 $6 9 . 8 5 \\%$ top-1 with $2 \\mathbf { x }$ wide) and AlexNet $4 8 . 0 4 \\%$ top-1 with $1 . 3 \\mathrm { x }$ wide). To the best of our knowledge, our reported accuracies with binary networks and 4-bit precision are highest to date. ",
96
+ "bbox": [
97
+ 173,
98
+ 103,
99
+ 825,
100
+ 242
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Our reduced-precision quantization scheme is hardware friendly allowing for efficient hardware implementations. To this end, we evaluate efficiency benefits of low-precision operations (4-bits to 1-bits) on Titan X GPU, Arria-10 FPGA and ASIC. We see that FPGA and ASIC can deliver significant efficiency gain over FP32 operations $6 . 5 \\mathrm { x }$ to $1 0 0 \\mathrm { x }$ ), while GPU cannot take advantage of very low-precision operations. ",
107
+ "bbox": [
108
+ 173,
109
+ 250,
110
+ 825,
111
+ 319
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "image",
117
+ "img_path": "images/7f1ebe08f820ba2d4f6cf54598581053b3e8155aa0a62fb48e4050ad8d091021.jpg",
118
+ "image_caption": [
119
+ "2 MOTIVATION FOR REDUCED-PRECISION ACTIVATION MAPS ",
120
+ "Figure 1: Memory footprint of activations (ACTs) and weights (W) during training and inference for minibatch sizes 1 and 32. "
121
+ ],
122
+ "image_footnote": [],
123
+ "bbox": [
124
+ 186,
125
+ 375,
126
+ 813,
127
+ 530
128
+ ],
129
+ "page_idx": 1
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "While most prior works proposing reduced-precision networks work with low precision weights (e.g. work in Courbariaux & Bengio (2016); Zhu et al. (2016); Zhou et al. (2016); Venkatesh et al. (2016); Li & Liu (2016); Courbariaux et al. (2015); Umuroglu et al. (2016)), we find that activation maps occupy a larger memory footprint when using mini-batches of inputs. Using mini-batches of inputs is typical in training of DNNs and cloud-based batched inference (Jouppi et al., 2017). Figure 1 shows memory footprint of activation maps and filter maps as batch size changes for 4 different networks (AlexNet, Inception-Resnet-v2 (Szegedy et al., 2016), ResNet-50 and ResNet-101) during the training and inference steps. ",
134
+ "bbox": [
135
+ 173,
136
+ 583,
137
+ 825,
138
+ 695
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "image",
144
+ "img_path": "images/95b9b13bfb188037f010166d925ca0e7b975dda5fa5f3ad20c2532785fd508d5.jpg",
145
+ "image_caption": [
146
+ "Figure 2: Memory requirements of a feed forward convolutional deep neural network. Orange boxes denote weights (W), blue boxes are activations (ACT) and green boxes are gradient-maps (Grad). "
147
+ ],
148
+ "image_footnote": [],
149
+ "bbox": [
150
+ 202,
151
+ 704,
152
+ 795,
153
+ 843
154
+ ],
155
+ "page_idx": 1
156
+ },
157
+ {
158
+ "type": "text",
159
+ "text": "As batch-size increases, because of filter reuse across batches of inputs, activation maps occupy significantly larger fraction of memory compared to the filter weights. This aspect is illustrated in ",
160
+ "bbox": [
161
+ 174,
162
+ 895,
163
+ 823,
164
+ 924
165
+ ],
166
+ "page_idx": 1
167
+ },
168
+ {
169
+ "type": "text",
170
+ "text": "Figure 2 which shows the memory requirements of a canonical feed-forward DNN for a hardware accelerator based system (e.g. GPU, FPGA, PCIe connected ASIC device, etc.). During training, the sum of all the activation maps (ACT) and weight tensors (W) are allocated in device memory for forward pass along with memory for gradient maps during backward propagation. The total memory requirements for training phase is the sum of memory required for the activation maps, weights and the maximum of input gradient maps $( \\delta \\mathbf { Z } )$ and maximum of back-propagated gradients $( \\delta \\mathbf { X } )$ . During inference, memory is allocated for input (IFM) and output feature maps (OFM) required by a single layer, and these memory allocations are reused for other layers. The total memory allocation during inference is then the maximum of IFM and maximum of OFM required across all the layers plus the sum of all W-tensors. At batch sizes 128 and more, activations start to occupy more than $98 \\%$ of total memory footprint during training. ",
171
+ "bbox": [
172
+ 173,
173
+ 103,
174
+ 825,
175
+ 256
176
+ ],
177
+ "page_idx": 2
178
+ },
179
+ {
180
+ "type": "text",
181
+ "text": "Overall, reducing precision of activations and weights reduces memory footprint, bandwidth and storage while also simplifying the requirements for hardware to efficiently support these operations. ",
182
+ "bbox": [
183
+ 174,
184
+ 263,
185
+ 823,
186
+ 291
187
+ ],
188
+ "page_idx": 2
189
+ },
190
+ {
191
+ "type": "text",
192
+ "text": "3 WRPN SCHEME AND STUDIES ON ALEXNET ",
193
+ "text_level": 1,
194
+ "bbox": [
195
+ 174,
196
+ 311,
197
+ 576,
198
+ 327
199
+ ],
200
+ "page_idx": 2
201
+ },
202
+ {
203
+ "type": "text",
204
+ "text": "Based on the observation that activations occupy more memory footprint compared to weights, we reduce the precision of activations to speed up training and inference steps as well as cut down on memory requirements. However, a straightforward reduction in precision of activation maps leads to significant reduction in model accuracy (Zhou et al., 2016; Rastegari et al., 2016). ",
205
+ "bbox": [
206
+ 174,
207
+ 342,
208
+ 825,
209
+ 397
210
+ ],
211
+ "page_idx": 2
212
+ },
213
+ {
214
+ "type": "text",
215
+ "text": "We conduct a sensitivity study where we reduce precision of activation maps and model weights for AlexNet running ILSVRC-12 dataset and train the network from scratch. Table 1 reports our findings. Top-1 single-precision (32-bits weights and activations) accuracy is $5 7 . 2 \\%$ . The accuracy with binary weights and activations is $4 4 . 2 \\%$ . This is similar to what is reported in Rastegari et al. (2016). $3 2 b A$ and $2 b W$ data-point in this table is using Trained Ternary Quantization (TTQ) technique (Zhu et al., 2016). All other data points are collected using our quantization scheme (described later in Section 5), all the runs have same hyper-parameters and training is carried out for the same number of epochs as baseline network. To be consistent with results reported in prior works, we do not quantize weights and activations of the first and last layer. ",
216
+ "bbox": [
217
+ 174,
218
+ 405,
219
+ 825,
220
+ 530
221
+ ],
222
+ "page_idx": 2
223
+ },
224
+ {
225
+ "type": "text",
226
+ "text": "We find that, in general, reducing the precision of activation maps and weights hurts model accuracy. Further, reducing precision of activations hurts model accuracy much more than reducing precision of the filter parameters. We find TTQ to be quite effective on AlexNet in that one can lower the precision of weights to 2b (while activations are still FP32) and not lose accuracy. However, we did not find this scheme to be effective for other networks like ResNet or Inception. ",
227
+ "bbox": [
228
+ 174,
229
+ 537,
230
+ 825,
231
+ 607
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "table",
237
+ "img_path": "images/68b41f414d41218fdc998e6411e9fa6fffeba26af65946108693da1db317d075.jpg",
238
+ "table_caption": [
239
+ "Table 1: AlexNet top-1 validation set accuracy $\\%$ as precision of activations (A) and weight(W) changes. All results are with end-to-end training of the network from scratch. − is a data-point we did not experiment for. "
240
+ ],
241
+ "table_footnote": [],
242
+ "table_body": "<table><tr><td></td><td>32b A</td><td>8bA</td><td>4b A</td><td>2bA</td><td>1bA</td></tr><tr><td>32bW</td><td>57.2</td><td>54.3</td><td>54.4</td><td>52.7</td><td></td></tr><tr><td>8bW</td><td>1</td><td>54.5</td><td>53.2</td><td>51.5</td><td>1</td></tr><tr><td>4b W</td><td>1</td><td>54.2</td><td>54.4</td><td>52.4</td><td></td></tr><tr><td>2b W</td><td>57.5</td><td>50.2</td><td>50.5</td><td>51.3</td><td>1</td></tr><tr><td>1b W</td><td>56.8</td><td>1</td><td>1</td><td>1</td><td>44.2</td></tr></table>",
243
+ "bbox": [
244
+ 176,
245
+ 689,
246
+ 486,
247
+ 763
248
+ ],
249
+ "page_idx": 2
250
+ },
251
+ {
252
+ "type": "table",
253
+ "img_path": "images/cd7bc1abe74ca837190ccb83ce086162d73089e27fe7758ffeea7c05acdb6830.jpg",
254
+ "table_caption": [
255
+ "Table 2: AlexNet $2 \\mathbf { x }$ -wide top-1 validation set accuracy $\\%$ as precision of activations (A) and weights (W) changes. "
256
+ ],
257
+ "table_footnote": [],
258
+ "table_body": "<table><tr><td></td><td>32bA</td><td>8bA</td><td>4bA</td><td>2bA</td><td>1b A</td></tr><tr><td>32bW</td><td>60.5</td><td>58.9</td><td>58.6</td><td>57.5</td><td>52.0</td></tr><tr><td>8bW</td><td>1</td><td>59.0</td><td>58.8</td><td>57.1</td><td>50.8</td></tr><tr><td>4b W</td><td>1</td><td>58.8</td><td>58.6</td><td>57.3</td><td>/</td></tr><tr><td>2b W</td><td>1</td><td>57.6</td><td>57.2</td><td>55.8</td><td>1</td></tr><tr><td>1b W</td><td>1</td><td>1</td><td>1</td><td>1</td><td>48.3</td></tr></table>",
259
+ "bbox": [
260
+ 508,
261
+ 689,
262
+ 818,
263
+ 763
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "To re-gain the model accuracy while working with reduced-precision operands, we increase the number of filter maps in a layer. Although the number of raw compute operations increase with widening the filter maps in a layer, the bits required per compute operation is now a fraction of what is required when using full-precision operations. As a result, with appropriate hardware support, one can significantly reduce the dynamic memory requirements, memory bandwidth, computational energy and speed up the training and inference process. ",
270
+ "bbox": [
271
+ 174,
272
+ 776,
273
+ 823,
274
+ 861
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "Our widening of filter maps is inspired from Wide ResNet (Zagoruyko & Komodakis, 2016) work where the depth of the network is reduced and width of each layer is increased (the operand precision is still FP32). Wide ResNet requires a re-design of the network architecture. In our work, we maintain the depth parameter same as baseline network but widen the filter maps. We call our approach WRPN - wide reduced-precision networks. In practice, we find this scheme to be very simple and effective - starting with a baseline network architecture, one can change the width of each filter map without changing any other network design parameter or hyper-parameters. Carefully reducing precision and simultaneously widening filters keeps the total compute cost of the network under or at-par with baseline cost.1 ",
281
+ "bbox": [
282
+ 174,
283
+ 867,
284
+ 823,
285
+ 924
286
+ ],
287
+ "page_idx": 2
288
+ },
289
+ {
290
+ "type": "text",
291
+ "text": "",
292
+ "bbox": [
293
+ 174,
294
+ 103,
295
+ 825,
296
+ 172
297
+ ],
298
+ "page_idx": 3
299
+ },
300
+ {
301
+ "type": "text",
302
+ "text": "Table 2 reports the accuracy of AlexNet when we double the number of filter maps in a layer. With doubling of filter maps, AlexNet with 4-bits weights and 2-bits activations exhibits accuracy at-par with full-precision networks. Operating with 4-bits weights and 4-bits activations surpasses the baseline accuracy by $1 . 4 4 \\%$ . With binary weights and activations we better the accuracy of XNORNET (Rastegari et al., 2016) by $4 \\%$ . ",
303
+ "bbox": [
304
+ 174,
305
+ 180,
306
+ 825,
307
+ 250
308
+ ],
309
+ "page_idx": 3
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "When doubling the number of filter maps, AlexNet’s raw compute operations grow by $3 . 9 \\mathbf { x }$ compared to the baseline full-precision network, however by using reduced-precision operands the overall compute complexity is a fraction of the baseline. For example, with 4b operands for weights and activations and $2 \\mathbf { x }$ the number of filters, reduced-precision AlexNet is just $49 \\%$ of the total compute cost of the full-precision baseline (compute cost comparison is shown in Table 3). ",
314
+ "bbox": [
315
+ 174,
316
+ 257,
317
+ 825,
318
+ 327
319
+ ],
320
+ "page_idx": 3
321
+ },
322
+ {
323
+ "type": "table",
324
+ "img_path": "images/08fc12882d7c09542ad5c72f19f19a5451c99b1bbccc43b5c8afb220cf711087.jpg",
325
+ "table_caption": [
326
+ "Table 3: Compute cost of AlexNet $2 \\mathbf { x }$ -wide vs. 1x-wide as precision of activations (A) and weights (W) changes. "
327
+ ],
328
+ "table_footnote": [],
329
+ "table_body": "<table><tr><td></td><td>32b A</td><td>8b A</td><td>4b A</td><td>2bA</td><td>1b A</td></tr><tr><td>32b W</td><td>3.9x</td><td>2.4x</td><td>2.2x</td><td>2.1x</td><td>2.0x</td></tr><tr><td>8b W</td><td>2.4x</td><td>1.0x</td><td>0.7x</td><td>0.6x</td><td>0.6x</td></tr><tr><td>4b W</td><td>2.2x</td><td>0.7x</td><td>0.5x</td><td>0.4x</td><td>0.3x</td></tr><tr><td>2b W</td><td>2.1x</td><td>0.6x</td><td>0.4x</td><td>0.2x</td><td>0.2x</td></tr><tr><td>1b W</td><td>2.0x</td><td>0.6x</td><td>0.3x</td><td>0.2x</td><td>0.1x</td></tr></table>",
330
+ "bbox": [
331
+ 287,
332
+ 367,
333
+ 710,
334
+ 467
335
+ ],
336
+ "page_idx": 3
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "We also experiment with other widening factors. With $1 . 3 \\mathrm { x }$ widening of filters and with 4-bits of activation precision one can go as low as 8-bits of weight precision while still being at-par with baseline accuracy. With $1 . 1 \\mathrm { x }$ wide filters, at least 8-bits weight and 16-bits activation precision is required for accuracy to match baseline full-precision 1x wide accuracy. Further, as Table 3 shows, when widening filters by $2 \\mathbf { x }$ , one needs to lower precision to at least 8-bits so that the total compute cost is not more than baseline compute cost. Thus, there is a trade-off between widening and reducing the precision of network parameters. ",
341
+ "bbox": [
342
+ 173,
343
+ 479,
344
+ 825,
345
+ 577
346
+ ],
347
+ "page_idx": 3
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "In our work, we trade-off higher number of raw compute operations with aggressively reducing the precision of the operands involved in these operations (activation maps and filter weights) while not sacrificing the model accuracy. Apart from other benefits of reduced precision activations as mentioned earlier, widening filter maps also improves the efficiency of underlying GEMM calls for convolution operations since compute accelerators are typically more efficient on a single kernel consisting of parallel computation on large data-structures as opposed to many small sized kernels (Zagoruyko & Komodakis, 2016). ",
352
+ "bbox": [
353
+ 174,
354
+ 584,
355
+ 825,
356
+ 681
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "4 STUDIES ON DEEPER NETWORKS ",
363
+ "text_level": 1,
364
+ "bbox": [
365
+ 176,
366
+ 703,
367
+ 477,
368
+ 718
369
+ ],
370
+ "page_idx": 3
371
+ },
372
+ {
373
+ "type": "text",
374
+ "text": "We study how our scheme applies to deeper networks. For this, we study ResNet-34 (He et al., 2015) and batch-normalized Inception (Ioffe & Szegedy, 2015) and find similar trends, particularly that 2-bits weight and 4-bits activations continue to provide at-par accuracy as baseline. We use TensorFlow (Abadi et al., 2015) and tensorpack for all our evaluations and use ILSVRC-12 train and val dataset for analysis. ",
375
+ "bbox": [
376
+ 174,
377
+ 733,
378
+ 825,
379
+ 803
380
+ ],
381
+ "page_idx": 3
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "4.1 RESNET ",
386
+ "text_level": 1,
387
+ "bbox": [
388
+ 174,
389
+ 819,
390
+ 272,
391
+ 833
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "ResNet-34 has 3x3 filters in each of its modular layers with shortcut connections being 1x1. The filter bank width changes from 64 to 512 as depth increases. We use the pre-activation variant of ResNet and the baseline top-1 accuracy of our ResNet-34 implementation using single-precision ",
398
+ "bbox": [
399
+ 176,
400
+ 845,
401
+ 825,
402
+ 887
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "32-bits data format is $7 3 . 5 9 \\%$ . Binarizing weights and activations for all layers except the first and the last layer in this network gives top-1 accuracy of $6 0 . 5 \\%$ . For binarizing ResNet we did not re-order any layer (as is done in XNOR-NET). We used the same hyper-parameters and learning rate schedule as the baseline network. As a reference, for ResNet-18, the gap between XNOR-NET (1b weights and activations) and full-precision network is $18 \\%$ (Rastegari et al., 2016). It is also interesting to note that top-1 accuracy of single-precision AlexNet $( 5 7 . 2 0 \\% )$ is lower than the top-1 accuracy of binarized ResNet-34 $( 6 0 . 5 \\% )$ . ",
409
+ "bbox": [
410
+ 173,
411
+ 103,
412
+ 825,
413
+ 202
414
+ ],
415
+ "page_idx": 4
416
+ },
417
+ {
418
+ "type": "table",
419
+ "img_path": "images/3add07bef96aeef10c64d78f1c4f7656f89c771362ce8151713d21f74429d0e3.jpg",
420
+ "table_caption": [
421
+ "Table 4: ResNet-34 top-1 validation accuracy $\\%$ and compute cost as precision of activations (A) and weights (W) varies. "
422
+ ],
423
+ "table_footnote": [],
424
+ "table_body": "<table><tr><td>Width</td><td>Precision</td><td>Top-1 Acc. %</td><td>Compute cost</td></tr><tr><td>1x wide</td><td>32b A,32b W 1b A, 1b W</td><td>73.59 60.54</td><td>1x 0.03x</td></tr><tr><td>2x wide</td><td>4b A, 8b W 4b A, 4b W</td><td>74.48 74.52</td><td>0.74x 0.50x</td></tr><tr><td></td><td>4b A, 2b W</td><td>73.58</td><td>0.39x</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td></td><td>2b A,4b W</td><td>73.50</td><td>0.39x</td></tr><tr><td></td><td>2b A,2b W</td><td>73.32</td><td>0.27x</td></tr><tr><td></td><td>1b A, 1b W</td><td>69.85</td><td>0.15x</td></tr><tr><td>3x wide</td><td>1b A, 1b W</td><td>72.38</td><td>0.30x</td></tr></table>",
425
+ "bbox": [
426
+ 272,
427
+ 239,
428
+ 723,
429
+ 407
430
+ ],
431
+ "page_idx": 4
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "We experimented with doubling number of filters in each layer and reduce the precision of activations and weights. Table 4 shows the results of our analysis. Doubling the number of filters and 4-bits precision for both weights and activations beats the baseline accuracy by $0 . 9 \\%$ . 4-bits activations and 2-bits (ternary) weights has top-1 accuracy at-par with baseline. Reducing precision to 2-bits for both weights and activations degrades accuracy by only $0 . 2 \\%$ compared to baseline. ",
436
+ "bbox": [
437
+ 174,
438
+ 419,
439
+ 825,
440
+ 489
441
+ ],
442
+ "page_idx": 4
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Binarizing the weights and activations with $2 \\mathbf { x }$ wide filters has a top-1 accuracy of $6 9 . 8 5 \\%$ . This is just $3 . 7 \\%$ worse than baseline full-precision network while being only $15 \\%$ of the cost of the baseline network. Widening the filters by $3 \\mathbf { x }$ and binarizing the weights and activations reduces this gap to $1 . 2 \\%$ while the 3x wide network is $30 \\%$ the cost of the full-precision baseline network. ",
447
+ "bbox": [
448
+ 174,
449
+ 496,
450
+ 825,
451
+ 551
452
+ ],
453
+ "page_idx": 4
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "Although 4-bits precision seems to be enough for wide networks, we advocate for 4-bits activation precision and 2-bits weight precision. This is because with ternary weights one can get rid of the multipliers and use adders instead. Additionally, with this configuration there is no loss of accuracy. Further, if some accuracy degradation is tolerable, one can even go to binary circuits for efficient hardware implementation while saving $3 2 \\mathrm { x }$ in bandwidth for each of weights and activations compared to full-precision networks. All these gains can be realized with simpler hardware implementation and lower compute cost compared to baseline networks. ",
458
+ "bbox": [
459
+ 174,
460
+ 559,
461
+ 825,
462
+ 656
463
+ ],
464
+ "page_idx": 4
465
+ },
466
+ {
467
+ "type": "text",
468
+ "text": "To the best of our knowledge, our ResNet binary and ternary (with 2-bits or 4-bits activation) top-1 accuracies are state-of-the-art results in the literature including unpublished technical reports (with similar data augmentation (Mellempudi et al., 2017)). ",
469
+ "bbox": [
470
+ 176,
471
+ 662,
472
+ 823,
473
+ 705
474
+ ],
475
+ "page_idx": 4
476
+ },
477
+ {
478
+ "type": "text",
479
+ "text": "4.2 BATCH-NORMALIZED INCEPTION ",
480
+ "text_level": 1,
481
+ "bbox": [
482
+ 176,
483
+ 722,
484
+ 444,
485
+ 736
486
+ ],
487
+ "page_idx": 4
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "We applied WRPN scheme to batch-normalized Inception network (Ioffe & Szegedy, 2015). This network includes batch normalization of all layers and is a variant of GoogleNet (Szegedy et al., 2014) where the 5x5 convolutional filters are replaced by two 3x3 convolutions with up to 128 wide filters. Table 5 shows the results of our analysis. Using 4-bits activations and 2-bits weight and doubling the number of filter banks in the network produces a model that is almost at-par in accuracy with the baseline single-precision network $0 . 0 2 \\%$ loss in accuracy). Wide network with binary weights and activations is within $6 . 6 \\%$ of the full-precision baseline network. ",
492
+ "bbox": [
493
+ 174,
494
+ 747,
495
+ 825,
496
+ 844
497
+ ],
498
+ "page_idx": 4
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "5 HARDWARE FRIENDLY QUANTIZATION SCHEME ",
503
+ "text_level": 1,
504
+ "bbox": [
505
+ 174,
506
+ 866,
507
+ 599,
508
+ 881
509
+ ],
510
+ "page_idx": 4
511
+ },
512
+ {
513
+ "type": "text",
514
+ "text": "We adopt the straight-through estimator (STE) approach in our work (Bengio et al., 2013). When quantizing a real number to $k$ -bits, the ordinality of the set of quantized numbers is $2 ^ { k }$ . Mathematically, this small and finite set would have zero gradients with respect to its inputs. STE method circumvents this problem by defining an operator that has arbitrary forward and backward operations. ",
515
+ "bbox": [
516
+ 174,
517
+ 895,
518
+ 823,
519
+ 924
520
+ ],
521
+ "page_idx": 4
522
+ },
523
+ {
524
+ "type": "table",
525
+ "img_path": "images/e13d9207ef901f9c72d0c924fae9fa4f092413625cd682c0e4564ab5e48919dc.jpg",
526
+ "table_caption": [
527
+ "Table 5: Batch-normalized Inception top-1 validation accuracy $\\%$ and compute cost as precision of activations (A) and weights (W) varies. "
528
+ ],
529
+ "table_footnote": [],
530
+ "table_body": "<table><tr><td>Width</td><td>Precision</td><td>Top-1 Acc. %</td><td>Compute cost</td></tr><tr><td>1x wide</td><td>32b A,32b W</td><td>71.64</td><td>1x</td></tr><tr><td rowspan=\"4\">2x wide</td><td>4b A, 4b W</td><td>71.63</td><td>0.50x</td></tr><tr><td>4b A, 2b W</td><td>71.61</td><td>0.38x</td></tr><tr><td>2b A,2b W</td><td>70.75</td><td>0.25x</td></tr><tr><td>1b A,1b W</td><td>65.02</td><td>0.13x</td></tr></table>",
531
+ "bbox": [
532
+ 272,
533
+ 128,
534
+ 723,
535
+ 234
536
+ ],
537
+ "page_idx": 5
538
+ },
539
+ {
540
+ "type": "text",
541
+ "text": "",
542
+ "bbox": [
543
+ 176,
544
+ 260,
545
+ 823,
546
+ 301
547
+ ],
548
+ "page_idx": 5
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "Prior works using the STE approach define operators that quantize the weights based on the expectation of the weight tensors. For instance, Ternary Weight Networks (TWN) (Li & Liu, 2016) uses a threshold and a scaling factor for each layer to quantize weights to ternary domain. In TTQ (Zhu et al., 2016), the scaling factors are learned parameters. XNOR-NET binarizes the weight tensor by computing the sign of the tensor values and then scaling by the mean of the absolute value of each output channel of weights. DoReFa uses a single scaling factor across the entire layer. For quantizing weights to $k$ -bits, where $k > 1$ , DoReFa uses: ",
553
+ "bbox": [
554
+ 173,
555
+ 309,
556
+ 825,
557
+ 407
558
+ ],
559
+ "page_idx": 5
560
+ },
561
+ {
562
+ "type": "equation",
563
+ "img_path": "images/3931dcfe2c2fef7db15078e5cf4419ef1acd1adaaf092a523d9cdccd1690c137.jpg",
564
+ "text": "$$\nw ^ { k } = 2 * q u a n t i z e _ { k } ( \\frac { t a n h ( w _ { i } ) } { 2 * m a x ( | \\ t a n h ( w _ { i } ) \\ | ) } + \\frac { 1 } { 2 } ) - 1 )\n$$",
565
+ "text_format": "latex",
566
+ "bbox": [
567
+ 312,
568
+ 424,
569
+ 686,
570
+ 458
571
+ ],
572
+ "page_idx": 5
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "Here $w _ { k }$ is the $\\mathbf { k }$ -bit quantized version of inputs $w _ { i }$ and quantize $k$ is a quantization function that quantizes a floating-point number $w _ { i }$ in the range $[ 0 , 1 ]$ to a $k$ -bit number in the same range. The transcendental tanh operation constrains the weight value to lie in between $- 1$ and $+ 1$ . The affine transformation post quantization brings the range to $[ - 1 , 1 ]$ . ",
577
+ "bbox": [
578
+ 174,
579
+ 468,
580
+ 825,
581
+ 526
582
+ ],
583
+ "page_idx": 5
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "We build on these approaches and propose a much simpler scheme. For quantizing weight tensors we first hard constrain the values to lie within the range $[ - 1 , 1 ]$ using min-max operation (e.g. tf.clip by val when using Tensorflow (Abadi et al., 2015)). For quantizing activation tensor values, we constrain the values to lie within the range [0, 1]. This step is followed by a quantization step where a real number is quantized into a $k$ -bit number. This is given as, for $k > 1$ : ",
588
+ "bbox": [
589
+ 174,
590
+ 531,
591
+ 825,
592
+ 602
593
+ ],
594
+ "page_idx": 5
595
+ },
596
+ {
597
+ "type": "equation",
598
+ "img_path": "images/56229d6d59110f18b0d3c1a36bb5a05bf066573553347603e3b26c33f3b7b4a7.jpg",
599
+ "text": "$$\nw _ { k } = \\frac { 1 } { 2 ^ { k - 1 } - 1 } r o u n d ( ( 2 ^ { k - 1 } - 1 ) * w _ { i } ) \\qquad \\mathrm { a n d } \\qquad a _ { k } = \\frac { 1 } { 2 ^ { k } - 1 } r o u n d ( ( 2 ^ { k } - 1 ) * a _ { i } )\n$$",
600
+ "text_format": "latex",
601
+ "bbox": [
602
+ 196,
603
+ 627,
604
+ 781,
605
+ 659
606
+ ],
607
+ "page_idx": 5
608
+ },
609
+ {
610
+ "type": "text",
611
+ "text": "Here $w _ { i }$ and $a _ { i }$ are input real-valued weights and activation tensor and $w _ { k }$ and $a _ { k }$ are their quantized versions. One bit is reserved for sign-bit in case of weight values, hence the use of $2 ^ { k - 1 }$ for these quantized values. Thus, weights can be stored and interpreted using signed data-types and activations using un-signed data-types. With appropriate affine transformations, the convolution operations (the bulk of the compute operations in the network during forward pass) can be done using quantized values (integer operations in hardware) followed by scaling with floating-point constants (this scaling operation can be done in parallel with the convolution operation in hardware). When $k = 1$ , for binary weights we use the Binary Weighted Networks (BWN) approach (Courbariaux et al., 2015) where the binarized weight value is computed based on the sign of input value followed by scaling with the mean of absolute values. For binarized activations we use the formulation in Eq. 2. We do not quantize the gradients and maintain the weights in reduced precision format. ",
612
+ "bbox": [
613
+ 173,
614
+ 671,
615
+ 825,
616
+ 827
617
+ ],
618
+ "page_idx": 5
619
+ },
620
+ {
621
+ "type": "text",
622
+ "text": "For convolution operation when using WRPN, the forward pass during training (and the inference step) involves matrix multiplication of $k$ -bits signed and $k$ -bits unsigned operands. Since gradient values are in 32-bits floating-point format, the backward pass involves a matrix multiplication operation using 32-bits and $k$ -bits operand for gradient and weight update. ",
623
+ "bbox": [
624
+ 174,
625
+ 832,
626
+ 825,
627
+ 888
628
+ ],
629
+ "page_idx": 5
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "When $k > 1$ , the hard clipping of tensors to a range maps efficiently to min-max comparator units in hardware as opposed to using transcendental operations which are long latency operations. TTQ and DoRefa (Zhou et al., 2016) schemes involve division operation and computing a maximum value in the input tensor. Floating-point division operation is expensive in hardware and computing the maximum in a tensor is an $O ( n )$ operation. Additionally, our quantization parameters are static and do not require any learning or involve back-propagation like TTQ approach. We avoid each of these costly operations and propose a simpler quantization scheme (clipping followed by rounding). ",
634
+ "bbox": [
635
+ 173,
636
+ 895,
637
+ 823,
638
+ 924
639
+ ],
640
+ "page_idx": 5
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "",
645
+ "bbox": [
646
+ 174,
647
+ 103,
648
+ 825,
649
+ 174
650
+ ],
651
+ "page_idx": 6
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "5.1 EFFICIENCY IMPROVEMENTS OF REDUCED-PRECISION OPERATIONS ON GPU, FPGA AND ASIC ",
656
+ "bbox": [
657
+ 171,
658
+ 193,
659
+ 797,
660
+ 219
661
+ ],
662
+ "page_idx": 6
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "In practice, the effective performance and energy efficiency one could achieve on a low-precision compute operation highly depends on the hardware that runs these operations. We study the efficiency of low-precision operations on various hardware targets GPU, FPGA, and ASIC. ",
667
+ "bbox": [
668
+ 174,
669
+ 232,
670
+ 823,
671
+ 273
672
+ ],
673
+ "page_idx": 6
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "For GPU, we evaluate WRPN on Nvidia Titan X Pascal and for FPGA we use Intel Arria-10. We collect performance numbers from both previously reported analysis (Nurvitadhi et al., 2017) as well as our own experiments. For FPGA, we implement a DNN accelerator architecture shown in Figure 3(a). This is a prototypical accelerator design used in various works (e.g., on FPGA (Nurvitadhi et al., 2017) and ASIC such as TPU (Jouppi et al., 2017)). The core of the accelerator consists of a systolic array of processing elements (PEs) to perform matrix and vector operations, along with on-chip buffers, as well as off-chip memory management unit. The PEs can be configured to support different precision – (FP32, FP32), (INT4, INT4), (INT4, TER2), and (BIN1, BIN1). The (INT4, TER2) PE operates on ternary $^ { ( + 1 , 0 , - 1 ) }$ values and is optimized to include only an adder since there is no need for a multiplier in this case. The binary (BIN1, BIN1) PE is implemented using XNOR and bitcount. Our RTL design targets Arria-10 1150 FPGA. For our ASIC study, we synthesize the PE design using Intel $1 4 \\mathrm { n m }$ process technology to obtain area and energy estimates. ",
678
+ "bbox": [
679
+ 173,
680
+ 281,
681
+ 825,
682
+ 448
683
+ ],
684
+ "page_idx": 6
685
+ },
686
+ {
687
+ "type": "image",
688
+ "img_path": "images/edc7cebaa1081616f22562193fbf135a3823ee6a5f5905ff4ca4bbf7144c7a10.jpg",
689
+ "image_caption": [
690
+ "Figure 3: Efficiency improvements from low-precision operations on GPU, FPGA and ASIC. "
691
+ ],
692
+ "image_footnote": [],
693
+ "bbox": [
694
+ 184,
695
+ 467,
696
+ 810,
697
+ 847
698
+ ],
699
+ "page_idx": 6
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "Figure 3(b) - (g) summarize our analysis. Figure 3(b) shows the efficiency improvements using first-order estimates where the efficiency is computed based on number of bits used in the operation. ",
704
+ "bbox": [
705
+ 173,
706
+ 895,
707
+ 823,
708
+ 924
709
+ ],
710
+ "page_idx": 6
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "With this method we would expect (INT4, INT4) and (BIN1, BIN1) to be ${ 8 } \\mathbf { { x } }$ and $3 2 \\mathrm { x }$ more efficient, respectively, than (FP32, FP32). However, in practice the efficiency gains from reducing precision depend on whether the underlying hardware can take advantage of such low-precisions. ",
715
+ "bbox": [
716
+ 176,
717
+ 103,
718
+ 823,
719
+ 146
720
+ ],
721
+ "page_idx": 7
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "Figure 3(c) shows performance improvement on Titan X GPU for various low-precision operations relative to FP32. In this case, GPU can only achieve up to ${ \\sim } 4 \\mathbf { x }$ improvements in performance over FP32 baseline. This is because GPU only provides first-class support for INT8 operations, and is not able to take advantage of the lower INT4, TER2, and BIN1 precisions. On the contrary, FPGA can take advantage of such low precisions, since they are amenable for implementations on the FPGAs reconfigurable fabric. ",
726
+ "bbox": [
727
+ 174,
728
+ 152,
729
+ 825,
730
+ 236
731
+ ],
732
+ "page_idx": 7
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "Figure 3(d) shows that the performance improvements from (INT4, INT4), (INT4, TER2), and (BIN1, BIN1) track well with the first-order estimates from Figure 3(b). In fact, for (BIN1, BIN1), FPGA improvements exceed the first-order estimate. Reducing the precision simplifies the design of compute units and lower buffering requirements on FPGA board. Compute-precision reduction leads to significant improvement in throughput due to smaller hardware designs (allowing more parallelism) and shorter circuit delay (allowing higher frequency). Figure 3(e) shows the performance and performance/Watt of the reduced-precision operations on GPU and FPGA. FPGA performs quite well on very low precision operations. In terms of performance/watt, FPGA does better than GPU on (INT4, INT4) and lower precisions. ",
737
+ "bbox": [
738
+ 173,
739
+ 242,
740
+ 825,
741
+ 368
742
+ ],
743
+ "page_idx": 7
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "ASIC allows for a truly customized hardware implementation. Our ASIC study provides insights to the upper bound of the efficiency benefits possible from low-precision operations. Figure 3(f) and 3(g) show improvement in performance and energy efficiency of the various low-precision ASIC PEs relative to baseline FP32 PE. As the figures show, going to lower precision offers 2 to 3 orders of magnitude efficiency improvements. ",
748
+ "bbox": [
749
+ 174,
750
+ 376,
751
+ 823,
752
+ 445
753
+ ],
754
+ "page_idx": 7
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "In summary, FPGA and ASIC are well suited for our WRPN approach. At $2 \\mathbf { x }$ wide, our WRPN approach requires $4 \\mathbf { x }$ more total operations than the original network. However, for INT4 or lower precision, each operation is $6 . 5 \\mathrm { x }$ or better in efficiency than FP32 for FPGA and ASIC. Hence, WRPN delivers an overall efficiency win. ",
759
+ "bbox": [
760
+ 174,
761
+ 452,
762
+ 825,
763
+ 508
764
+ ],
765
+ "page_idx": 7
766
+ },
767
+ {
768
+ "type": "text",
769
+ "text": "6 RELATED WORK ",
770
+ "text_level": 1,
771
+ "bbox": [
772
+ 176,
773
+ 529,
774
+ 341,
775
+ 545
776
+ ],
777
+ "page_idx": 7
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "Reduced-precision DNNs is an active research area. Reducing precision of weights for efficient inference pipeline has been very well studied. Works like Binary connect (BC) (Courbariaux et al., 2015), Ternary-weight networks (TWN) (Li & Liu, 2016), fine-grained ternary quantization (Mellempudi et al., 2017) and INQ (Zhou et al., 2017) target precision reduction of network weights while still using full-precision activations. Accuracy is almost always degraded when quantizing the weights. For AlexNet on Imagenet, TWN loses $5 \\%$ top-1 accuracy. Schemes like INQ, Sung et al. (2015) and Mellempudi et al. (2017) do fine-tuning to quantize the network weights and do not sacrifice accuracy as much but are not applicable for training networks from scratch. INQ shows promising results with 5-bits of precision. ",
782
+ "bbox": [
783
+ 174,
784
+ 560,
785
+ 825,
786
+ 685
787
+ ],
788
+ "page_idx": 7
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "XNOR-NET (Rastegari et al., 2016), BNN (Courbariaux & Bengio, 2016), DoReFa (Zhou et al., 2016) and TTQ (Zhu et al., 2016) target training as well. While TTQ targets weight quantization only, most works targeting activation quantization hurt accuracy. XNOR-NET approach reduces top-1 accuracy by $12 \\%$ and DoReFa by $8 \\%$ when quantizing both weights and activations to 1-bit (for AlexNet on ImageNet). Further, XNOR-NET requires re-ordering of layers for its scheme to work. Recent work in Graham (2017) targets low-precision activations and reports accuracy within $1 \\%$ of baseline with 5-bits precision and logarithmic (with base $\\sqrt { 2 }$ ) quantization. With fine-tuning this gap can be narrowed to be within $0 . 6 \\%$ but not all layers are quantized. ",
793
+ "bbox": [
794
+ 174,
795
+ 693,
796
+ 825,
797
+ 805
798
+ ],
799
+ "page_idx": 7
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "Non-multiples of two for operand values introduces hardware inefficiency in that memory accesses are no longer DRAM or cache-boundary aligned and end-to-end run-time performance aspect is unclear when using complicated quantization schemes. We target end-to-end training and inference, using very simple quantization method and aim for reducing precision without any loss in accuracy. To the best of our knowledge, our work is the first to study reduced-precision deep and wide networks, and show accuracy at-par with baseline for as low a precision as 4-bits activations and 2-bits weights. We report state of the art accuracy for wide binarized AlexNet and ResNet while still being lower in compute cost. ",
804
+ "bbox": [
805
+ 174,
806
+ 811,
807
+ 825,
808
+ 924
809
+ ],
810
+ "page_idx": 7
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Work by Gupta et al. (2015a) advocates for low precision fixed-point numbers for training. They show 16-bits to be sufficient for training on CIFAR10 dataset and find stochastic rounding to be necessary for training convergence. In our work here we focus on sub-8b training and like DoReFa scheme do not see stochastic rounding necessary when using full-precision gradients. Work by Seide et al. (2014) quantizes gradients before communication in a distributed computing setting. They use full precision gradients during the backward pass and quantize the gradients before sending them to other computation nodes (decreasing the amount of communication traffic over an interconnection network). For distributed training, we can potentially use this approach for communicating gradients across nodes. ",
815
+ "bbox": [
816
+ 174,
817
+ 103,
818
+ 825,
819
+ 229
820
+ ],
821
+ "page_idx": 8
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "7 CONCLUSIONS ",
826
+ "text_level": 1,
827
+ "bbox": [
828
+ 176,
829
+ 252,
830
+ 328,
831
+ 268
832
+ ],
833
+ "page_idx": 8
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "We present the Wide Reduced-Precision Networks (WRPN) scheme for DNNs. In this scheme, the numeric precision of both weights and activations are significantly reduced without loss of network accuracy. This result is in contrast to many previous works that find reduced-precision activations to detrimentally impact accuracy; specifically, we find that 2-bit weights and 4-bit activations are sufficient to match baseline accuracy across many networks including AlexNet, ResNet-34 and batchnormalized Inception. We achieve this result with a new quantization scheme and by increasing the number of filter maps in each reduced-precision layer to compensate for the loss of information capacity induced by reducing the precision. We believe ours to be the first work to study the interplay between layer width and precision – with widening, the number of neurons in a layer increase; yet with reduced precision, we control overfitting and regularization. ",
838
+ "bbox": [
839
+ 174,
840
+ 285,
841
+ 825,
842
+ 424
843
+ ],
844
+ "page_idx": 8
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "We motivate this work with our observation that full-precision activations contribute significantly more to the memory footprint than full-precision weight parameters when using mini-batch sizes common during training and cloud-based inference; furthermore, by reducing the precision of both activations and weights the compute complexity is greatly reduced $40 \\%$ of baseline for 2-bit weights and 4-bit activations). ",
849
+ "bbox": [
850
+ 174,
851
+ 431,
852
+ 823,
853
+ 501
854
+ ],
855
+ "page_idx": 8
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "The WRPN quantization scheme and computation on low precision activations and weights is hardware friendly making it viable for deeply-embedded system deployments as well as in cloud-based training and inference servers with compute fabrics for low-precision. We compare Titan X GPU, Arria-10 FPGA and ASIC implementations using WRPN and show our scheme increases performance and energy-efficiency for iso-accuracy across each. Overall, reducing the precision allows custom-designed compute units and lower buffering requirements to provide significant improvement in throughput. ",
860
+ "bbox": [
861
+ 174,
862
+ 508,
863
+ 825,
864
+ 606
865
+ ],
866
+ "page_idx": 8
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "REFERENCES ",
871
+ "text_level": 1,
872
+ "bbox": [
873
+ 176,
874
+ 630,
875
+ 285,
876
+ 645
877
+ ],
878
+ "page_idx": 8
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "tensorpack: https://github.com/ppwwyyxx/tensorpack. ",
883
+ "bbox": [
884
+ 176,
885
+ 655,
886
+ 527,
887
+ 670
888
+ ],
889
+ "page_idx": 8
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org. ",
894
+ "bbox": [
895
+ 176,
896
+ 684,
897
+ 825,
898
+ 809
899
+ ],
900
+ "page_idx": 8
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "Yoshua Bengio, Nicholas Leonard, and Aaron C. Courville. Estimating or propagating gradients ´ through stochastic neurons for conditional computation. CoRR, abs/1308.3432, 2013. URL http://arxiv.org/abs/1308.3432. ",
905
+ "bbox": [
906
+ 176,
907
+ 824,
908
+ 825,
909
+ 866
910
+ ],
911
+ "page_idx": 8
912
+ },
913
+ {
914
+ "type": "text",
915
+ "text": "Matthieu Courbariaux and Yoshua Bengio. Binarynet: Training deep neural networks with weights and activations constrained to $+ 1$ or -1. CoRR, abs/1602.02830, 2016. URL http://arxiv. org/abs/1602.02830. ",
916
+ "bbox": [
917
+ 174,
918
+ 882,
919
+ 823,
920
+ 922
921
+ ],
922
+ "page_idx": 8
923
+ },
924
+ {
925
+ "type": "text",
926
+ "text": "Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. CoRR, abs/1511.00363, 2015. URL http: //arxiv.org/abs/1511.00363. ",
927
+ "bbox": [
928
+ 174,
929
+ 103,
930
+ 821,
931
+ 146
932
+ ],
933
+ "page_idx": 9
934
+ },
935
+ {
936
+ "type": "text",
937
+ "text": "Benjamin Graham. Low-precision batch-normalized activations. CoRR, abs/1702.08231, 2017. URL http://arxiv.org/abs/1702.08231. ",
938
+ "bbox": [
939
+ 173,
940
+ 154,
941
+ 823,
942
+ 183
943
+ ],
944
+ "page_idx": 9
945
+ },
946
+ {
947
+ "type": "text",
948
+ "text": "Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. CoRR, abs/1502.02551, 2015a. URL http://arxiv.org/abs/ 1502.02551. ",
949
+ "bbox": [
950
+ 173,
951
+ 190,
952
+ 823,
953
+ 232
954
+ ],
955
+ "page_idx": 9
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. CoRR, abs/1502.02551, 2015b. URL http://arxiv.org/ abs/1502.02551. ",
960
+ "bbox": [
961
+ 173,
962
+ 239,
963
+ 825,
964
+ 282
965
+ ],
966
+ "page_idx": 9
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "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. ",
971
+ "bbox": [
972
+ 173,
973
+ 290,
974
+ 823,
975
+ 320
976
+ ],
977
+ "page_idx": 9
978
+ },
979
+ {
980
+ "type": "text",
981
+ "text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. CoRR, abs/1502.03167, 2015. URL http://arxiv.org/ abs/1502.03167. ",
982
+ "bbox": [
983
+ 176,
984
+ 327,
985
+ 823,
986
+ 369
987
+ ],
988
+ "page_idx": 9
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "N. P. Jouppi, C. Young, N. Patil, D. Patterson, G. Agrawal, R. Bajwa, S. Bates, S. Bhatia, N. Boden, A. Borchers, R. Boyle, P.-l. Cantin, C. Chao, C. Clark, J. Coriell, M. Daley, M. Dau, J. Dean, B. Gelb, T. Vazir Ghaemmaghami, R. Gottipati, W. Gulland, R. Hagmann, C. R. Ho, D. Hogberg, J. Hu, R. Hundt, D. Hurt, J. Ibarz, A. Jaffey, A. Jaworski, A. Kaplan, H. Khaitan, A. Koch, N. Kumar, S. Lacy, J. Laudon, J. Law, D. Le, C. Leary, Z. Liu, K. Lucke, A. Lundin, G. MacKean, A. Maggiore, M. Mahony, K. Miller, R. Nagarajan, R. Narayanaswami, R. Ni, K. Nix, T. Norrie, M. Omernick, N. Penukonda, A. Phelps, J. Ross, M. Ross, A. Salek, E. Samadiani, C. Severn, G. Sizikov, M. Snelham, J. Souter, D. Steinberg, A. Swing, M. Tan, G. Thorson, B. Tian, H. Toma, E. Tuttle, V. Vasudevan, R. Walter, W. Wang, E. Wilcox, and D. H. Yoon. In-Datacenter Performance Analysis of a Tensor Processing Unit. ArXiv e-prints, April 2017. ",
993
+ "bbox": [
994
+ 181,
995
+ 377,
996
+ 825,
997
+ 517
998
+ ],
999
+ "page_idx": 9
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097– 1105. Curran Associates, Inc., 2012. URL http://papers.nips.cc/paper/ 4824-imagenet-classification-with-deep-convolutional-neural-networks. pdf. ",
1004
+ "bbox": [
1005
+ 173,
1006
+ 525,
1007
+ 864,
1008
+ 609
1009
+ ],
1010
+ "page_idx": 9
1011
+ },
1012
+ {
1013
+ "type": "text",
1014
+ "text": "Fengfu Li and Bin Liu. Ternary weight networks. CoRR, abs/1605.04711, 2016. URL http: //arxiv.org/abs/1605.04711. ",
1015
+ "bbox": [
1016
+ 171,
1017
+ 616,
1018
+ 820,
1019
+ 645
1020
+ ],
1021
+ "page_idx": 9
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "text": "Zhouhan Lin, Matthieu Courbariaux, Roland Memisevic, and Yoshua Bengio. Neural networks with few multiplications. CoRR, abs/1510.03009, 2015. URL http://arxiv.org/abs/1510. 03009. ",
1026
+ "bbox": [
1027
+ 173,
1028
+ 652,
1029
+ 825,
1030
+ 695
1031
+ ],
1032
+ "page_idx": 9
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "N. Mellempudi, A. Kundu, D. Mudigere, D. Das, B. Kaul, and P. Dubey. Ternary Neural Networks with Fine-Grained Quantization. ArXiv e-prints, May 2017. ",
1037
+ "bbox": [
1038
+ 169,
1039
+ 702,
1040
+ 823,
1041
+ 732
1042
+ ],
1043
+ "page_idx": 9
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "Daisuke Miyashita, Edward H. Lee, and Boris Murmann. Convolutional neural networks using logarithmic data representation. CoRR, abs/1603.01025, 2016. URL http://arxiv.org/ abs/1603.01025. ",
1048
+ "bbox": [
1049
+ 171,
1050
+ 739,
1051
+ 825,
1052
+ 781
1053
+ ],
1054
+ "page_idx": 9
1055
+ },
1056
+ {
1057
+ "type": "text",
1058
+ "text": "Eriko Nurvitadhi, Ganesh Venkatesh, Jaewoong Sim, Debbie Marr, Randy Huang, Jason Ong Gee Hock, Yeong Tat Liew, Krishnan Srivatsan, Duncan Moss, Suchit Subhaschandra, and Guy Boudoukh. Can fpgas beat gpus in accelerating next-generation deep neural networks? In Proceedings of the 2017 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, FPGA ’17, pp. 5–14, New York, NY, USA, 2017. ACM. ISBN 978-1-4503-4354-1. doi: 10.1145/ 3020078.3021740. URL http://doi.acm.org/10.1145/3020078.3021740. ",
1059
+ "bbox": [
1060
+ 173,
1061
+ 790,
1062
+ 825,
1063
+ 873
1064
+ ],
1065
+ "page_idx": 9
1066
+ },
1067
+ {
1068
+ "type": "text",
1069
+ "text": "Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. CoRR, abs/1603.05279, 2016. URL http://arxiv.org/abs/1603.05279. ",
1070
+ "bbox": [
1071
+ 174,
1072
+ 882,
1073
+ 821,
1074
+ 922
1075
+ ],
1076
+ "page_idx": 9
1077
+ },
1078
+ {
1079
+ "type": "text",
1080
+ "text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y. ",
1081
+ "bbox": [
1082
+ 173,
1083
+ 103,
1084
+ 826,
1085
+ 160
1086
+ ],
1087
+ "page_idx": 10
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "text": "Frank Seide, Hao Fu, Jasha Droppo, Gang Li, and Dong Yu. 1-bit stochastic gradient descent and application to data-parallel distributed training of speech dnns. In Interspeech 2014, September 2014. ",
1092
+ "bbox": [
1093
+ 174,
1094
+ 169,
1095
+ 821,
1096
+ 210
1097
+ ],
1098
+ "page_idx": 10
1099
+ },
1100
+ {
1101
+ "type": "text",
1102
+ "text": "Wonyong Sung, Sungho Shin, and Kyuyeon Hwang. Resiliency of deep neural networks under quantization. CoRR, abs/1511.06488, 2015. URL http://arxiv.org/abs/1511.06488. ",
1103
+ "bbox": [
1104
+ 173,
1105
+ 219,
1106
+ 823,
1107
+ 250
1108
+ ],
1109
+ "page_idx": 10
1110
+ },
1111
+ {
1112
+ "type": "text",
1113
+ "text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott E. Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. CoRR, abs/1409.4842, 2014. URL http://arxiv.org/abs/1409.4842. ",
1114
+ "bbox": [
1115
+ 178,
1116
+ 257,
1117
+ 823,
1118
+ 301
1119
+ ],
1120
+ "page_idx": 10
1121
+ },
1122
+ {
1123
+ "type": "text",
1124
+ "text": "Christian Szegedy, Sergey Ioffe, and Vincent Vanhoucke. Inception-v4, inception-resnet and the impact of residual connections on learning. CoRR, abs/1602.07261, 2016. URL http: //arxiv.org/abs/1602.07261. ",
1125
+ "bbox": [
1126
+ 176,
1127
+ 309,
1128
+ 823,
1129
+ 352
1130
+ ],
1131
+ "page_idx": 10
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "text": "Yaman Umuroglu, Nicholas J. Fraser, Giulio Gambardella, Michaela Blott, Philip Heng Wai Leong, Magnus Jahre, and Kees A. Vissers. FINN: A framework for fast, scalable binarized neural network inference. CoRR, abs/1612.07119, 2016. URL http://arxiv.org/abs/1612. 07119. ",
1136
+ "bbox": [
1137
+ 173,
1138
+ 361,
1139
+ 825,
1140
+ 417
1141
+ ],
1142
+ "page_idx": 10
1143
+ },
1144
+ {
1145
+ "type": "text",
1146
+ "text": "Vincent Vanhoucke, Andrew Senior, and Mark Z. Mao. Improving the speed of neural networks on cpus. In Deep Learning and Unsupervised Feature Learning Workshop, NIPS 2011, 2011. ",
1147
+ "bbox": [
1148
+ 171,
1149
+ 426,
1150
+ 823,
1151
+ 457
1152
+ ],
1153
+ "page_idx": 10
1154
+ },
1155
+ {
1156
+ "type": "text",
1157
+ "text": "Ganesh Venkatesh, Eriko Nurvitadhi, and Debbie Marr. Accelerating deep convolutional networks using low-precision and sparsity. CoRR, abs/1610.00324, 2016. URL http://arxiv.org/ abs/1610.00324. ",
1158
+ "bbox": [
1159
+ 173,
1160
+ 464,
1161
+ 823,
1162
+ 507
1163
+ ],
1164
+ "page_idx": 10
1165
+ },
1166
+ {
1167
+ "type": "text",
1168
+ "text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. CoRR, abs/1605.07146, 2016. URL http://arxiv.org/abs/1605.07146. ",
1169
+ "bbox": [
1170
+ 169,
1171
+ 516,
1172
+ 823,
1173
+ 545
1174
+ ],
1175
+ "page_idx": 10
1176
+ },
1177
+ {
1178
+ "type": "text",
1179
+ "text": "Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. CoRR, abs/1702.03044, 2017. URL http://arxiv.org/abs/1702.03044. ",
1180
+ "bbox": [
1181
+ 176,
1182
+ 554,
1183
+ 823,
1184
+ 597
1185
+ ],
1186
+ "page_idx": 10
1187
+ },
1188
+ {
1189
+ "type": "text",
1190
+ "text": "Shuchang Zhou, Zekun Ni, Xinyu Zhou, He Wen, Yuxin Wu, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. CoRR, abs/1606.06160, 2016. URL http://arxiv.org/abs/1606.06160. ",
1191
+ "bbox": [
1192
+ 176,
1193
+ 604,
1194
+ 823,
1195
+ 647
1196
+ ],
1197
+ "page_idx": 10
1198
+ },
1199
+ {
1200
+ "type": "text",
1201
+ "text": "Chenzhuo Zhu, Song Han, Huizi Mao, and William J. Dally. Trained ternary quantization. CoRR, abs/1612.01064, 2016. URL http://arxiv.org/abs/1612.01064. ",
1202
+ "bbox": [
1203
+ 174,
1204
+ 656,
1205
+ 821,
1206
+ 685
1207
+ ],
1208
+ "page_idx": 10
1209
+ }
1210
+ ]
parse/train/B1ZvaaeAZ/B1ZvaaeAZ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1ZvaaeAZ/B1ZvaaeAZ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/MlFcgL2AP4d/MlFcgL2AP4d.md ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Near-Optimal Offline Reinforcement Learning via Double Variance Reduction
2
+
3
+ Ming Yin 1,3, Yu Bai2, and Yu-Xiang Wang1
4
+
5
+ 1Department of Computer Science, UC Santa Barbara 2Salesforce Research 3Department of Statistics and Applied Probability, UC Santa Barbara ming_yin@ucsb.edu yu.bai@salesforce.com yuxiangw@cs.ucsb.edu
6
+
7
+ # Abstract
8
+
9
+ We consider the problem of offline reinforcement learning (RL) — a well-motivated setting of RL that aims at policy optimization using only historical data. Despite its wide applicability, theoretical understandings of offline RL, such as its optimal sample complexity, remain largely open even in basic settings such as tabular Markov Decision Processes (MDPs). In this paper, we propose Off-Policy Double Variance Reduction (OPDVR), a new variance reduction based algorithm for offline RL. Our main result shows that OPDVR provably identifies an $\epsilon$ -optimal policy with $\widetilde { O } ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ episodes of offline data in the finite-horizon stationary transition setting, where $H$ is the horizon length and $d _ { m }$ is the minimal marginal stateaction distribution induced by the behavior policy. This improves over the best known upper bound by a factor of $H$ . Moreover, we establish an informationtheoretic lower bound of $\Omega ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ which certifies that OPDVR is optimal up to logarithmic factors. Lastly, we show that OPDVR also achieves rate-optimal sample complexity under alternative settings such as the finite-horizon MDPs with non-stationary transitions and the infinite horizon MDPs with discounted rewards.
10
+
11
+ # 1 Introduction
12
+
13
+ Offline reinforcement learning (offline RL) aims at learning the near-optimal policy by using a static offline dataset that is collected by a certain behavior policy $\mu$ [Lange et al., 2012]. As offline RL agent has no access to interact with the environment, it is more widely applicable to problems where online interaction is infeasible, e.g. when trials-and-errors are expensive (robotics, education), risky (autonomous driving) or even unethical (healthcare) [see,e.g., a recent survey Levine et al., 2020].
14
+
15
+ Despite its practical significance, a precise theoretical understanding of offline RL has been lacking. Previous sample complexity bounds for RL has primarily focused on the online setting [Azar et al., 2017, Jin et al., 2018, Zanette and Brunskill, 2019, Simchowitz and Jamieson, 2019, Efroni et al., 2019, Cai et al., 2019] or the generative model (simulator) setting [Azar et al., 2013, Sidford et al., 2018a,b, Yang and Wang, 2019, Agarwal et al., 2020, Wainwright, 2019, Lattimore and Szepesvari, 2019], both of which assuming interactive access to the environment and not applicable to offline RL. On the other hand, the sample complexity of offline RL remains unsettled even for environments with finitely many state and actions, a.k.a, the tabular MDPs (Markov Decision Processes). One major line of work is concerned with the off-policy evaluation (OPE) problem [Li et al., 2015, Jiang and Li, 2016, Liu et al., 2018, Kallus and Uehara, 2019a,b, Uehara and Jiang, 2019, Xie et al., 2019, Yin and Wang, 2020, Duan and Wang, 2020]. These works provide sample complexity bounds for evaluating the performance of a fixed policy, and do not imply guarantees for policy optimization. Another line of work studies the sample complexity of offline policy optimization in conjunction with function approximation [Chen and Jiang, 2019, Xie and Jiang, 2020b,a, Jin et al., 2020]. These results apply to offline RL with general function classes, but when specialized to the tabular setting, they give rather loose sample complexity bounds with suboptimal dependencies on various parameters 1
16
+
17
+ Table 1: Comparison of sample complexities for tabular offline RL interpretation.
18
+
19
+ <table><tr><td>Method/Analysis</td><td>Setting</td><td>Assumptions</td><td>Sample complexitya</td></tr><tr><td>BFVT[Xie and Jiang,2020a]</td><td>Oo-horizon</td><td>onlyrealizability+MDP concentrabilityb</td><td>0(1-γ)-8C²/∈4)</td></tr><tr><td>MBS-PI/QI[Liu et al., 2020b]</td><td>oo-horizon</td><td>completeness+bounded den- sity estimation error</td><td>0(1-γ)-8C²/e²)</td></tr><tr><td>Le et al. [2019]</td><td>o-horizon</td><td>Full Concentrability</td><td>0((1-γ)-6βμ/e²)</td></tr><tr><td>FQI [Chen and Jiang, 2019]</td><td>o-horizon</td><td>Full Concentrability</td><td>0((1-γ)-6C/e2)</td></tr><tr><td>MSBO/MABO [Xie and Jiang,2020b]</td><td>oo-horizon</td><td>Full Concentrability</td><td>0((1-γ)-4Cμ/e2)</td></tr><tr><td>OPEMA [Yin et al.,2021]</td><td>H-horizon non-stationary</td><td>Full Concentrability</td><td>O(H3/dm∈²)</td></tr><tr><td>OPDVR (Section 3) OPDVR (Section 4)</td><td>H-horizon non-stationary</td><td>Weak Coverage</td><td>O(H3/dme²)</td></tr><tr><td></td><td>H-horizon stationary</td><td>Weak Coverage</td><td>O(H²/dme²)</td></tr><tr><td>OPDVR (Section 4.2)</td><td>oo-horizon</td><td>Weak Coverage</td><td>0((1-γ)-3/dm∈²)</td></tr></table>
20
+
21
+ a Number of episodes in the finite horizon setting and number of steps in the infinite horizon. b $\mathrm { ~ \it ~ \beta _ { \mu } , C , C _ { \mu } , 1 \bar { / } } d _ { m }$ are the concentrability-type coefficients that measure the state-action coverage. See Assumption 2.1 and also Section F.2 for discussions.
22
+
23
+ The recent work of Yin et al. [2021] showed that the optimal sample complexity for finding an $\epsilon$ -optimal policy in offline RL is $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ in the finite-horizon non-stationarysetting (with matching upper and lower bounds), where $H$ is the horizon length and $d _ { m }$ is a constant related to the data coverage of the behavior policy in the given MDP. However, the optimal sample complexity in alternative settings such as stationary transition or infinite-horizon settings remains unknown. Further, the $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ sample complexity is achieved by an off-policy evaluation $^ +$ uniform convergence type algorithm; other more practical algorithms including (stochastic) optimal planning algorithms such as Q-Learning are not well understood in offline RL.
24
+
25
+ Our Contributions In this paper, we propose an algorithm OPDVR (Off-Policy Doubled Variance Reduction) for offline reinforcement learning based on an extension of the variance reduction technique initiated in [Sidford et al., 2018a, Yang and Wang, 2019]. OPDVR performs stochastic (minibatch style) value iterations using the available offline data, and can be seen as a version of stochastic optimal planning that interpolates value iteration and Q-learning. Our main contributions are summarized as follows.
26
+
27
+ • We show that OPDVR finds an $\epsilon$ -optimal policy with high probability using $\widetilde { O } ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ episodes of offline data (Section 4.1). This improves upon the best known sample complexity by an $H$ factor and to the best of our knowledge is the first that achieves an $\bar { O } ( H ^ { 2 } )$ horizon dependence, thus separating the stationary case with the non-stationary case for offline RL. We establish a sample (episode) complexity lower bound $\Omega ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ for offline RL in the finite-horizon stationary setting (Theorem 4.2), showing that the sample complexity of OPDVR is optimal up to logarithmic factors. • In the finite-horizon non-stationary setting, and infinite horizon $\gamma$ -discounted setting, we show that OPDVR achieves $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ sample (episode) complexity (Section 3) and $\widetilde { O } ( ( 1 - \gamma ) ^ { - 3 } / d _ { m } \epsilon ^ { 2 } )$ sample complexity (Section 4.2) respectively. They are both optimal up to logarithmic factors and our infinite-horizon result improves over the best known results, e.g., those derived for the fitted Q-iteration style algorithms [Xie and Jiang, 2020b]. On the technical end, our algorithm presents a sharp analysis of offline RL with stationary transitions, and, importantly, the use of the doubling technique to resolve the initialization dependence defect which fails to make the original variance reduction algorithm of [Sidford et al., 2018a] to be optimal, see Appendix F.4. Running [Sidford et al., 2018a] may not yield the desired accuracy as they stated and our result is robust in preserving the optimality.
28
+
29
+ Related work. There is a large and growing body of work on the theory of offline RL and RL in general. We could not hope to provide a comprehensive survey, thus will instead highlight the few prior work that we depend upon on the technical level. The variance reduction techniques that we use in this paper builds upon the work of [Sidford et al., 2018a] in the generative model setting, though it is nontrivial in adapting their techniques to the offline setting; and our two-stage variance reduction appears essential for obtaining optimal rate for $\epsilon > 1$ (see Section 5 and Appendix F.4 for more detailed discussions). We also used a fictitious estimator technique that originates from the OPE literature[Xie et al., 2019, Yin and Wang, 2020], but extended it to the stationary-transition case, and to the policy optimization problem. As we mentioned earlier, the optimal sample complexity in offline RL in the tabular MDPs with stationary transitions was not settled. The result of [Yin et al., 2021] is optimal in the non-stationary case, but is suboptimal by a factor of $H$ in the stationary case. Our lower bound is a variant of the construction of [Yin et al., 2021] that applies to the stationary case. Other existing work on offline RL has even weaker parameters (sometimes due to their setting being more general, see details in Table 1). We defer more detailed discussion related to the OPE literature and online RL / generative model literature to Appendix A due to space constraint.
30
+
31
+ # 2 Preliminaries
32
+
33
+ We consider reinforcement learning problems modeled by finite Markov Decision Processes (MDPs) (we focus on the finite-horizon episodic setting, and defer the infinite-horizon discounted setting to Section 4.2.) An MDP is denoted by a tuple $\bar { M } = ( S , A , r , T , d _ { 1 } , H )$ , where $s$ and $\mathcal { A }$ are the state and action spaces with finite cardinality $| S | = S$ and $| { \mathcal { A } } | = A$ . $P _ { t } : S \times \mathcal { A } \times \mathcal { S } [ 0 , 1 ]$ is the transition kernel with $P _ { t } ( s ^ { \prime } | s , a )$ be the probability of entering state $s ^ { \prime }$ after taking action $a$ at state $s$ . We consider both the stationary and non-stationary transition setting: The stationary transition setting assumes $P _ { t } \equiv P$ is identical for all $t \in [ H ]$ , and the non-stationary transition setting allows $P _ { t }$ to be different for different $t$ . $r _ { t } : S \times \mathcal { A } [ 0 , 1 ]$ is the reward function which we assume to be deterministic2. $d _ { 1 }$ is the initial state distribution, and $H$ is the time horizon. A (non-stationary) policy $\pi : S \to \mathbb { P } _ { A } ^ { H }$ assigns to each state $s _ { t } \in S$ a distribution over actions at each time $t$ . We use $d _ { t } ^ { \pi } ( s , a )$ or $d _ { t } ^ { \pi } ( s )$ to denote the marginal state-action/state distribution induced by policy $\pi$ at time $t$ i.e. $d _ { t } ^ { \pi } ( s ) : = \mathbb { P } ^ { \pi } ( s _ { t } = s )$ and $d _ { t } ^ { \pi } \bar { ( } s , a ) : = \mathbb { P } ^ { \pi } ( s _ { t } = s , a _ { t } = a )$ .
34
+
35
+ $Q$ -value and Bellman operator. For any policy $\pi$ and any fixed time $t$ , the value function $\begin{array} { r } { \mathbb { E } \left[ \sum _ { i = t } ^ { H } r _ { i } \Big | s _ { t } = s \right] , Q _ { t } ^ { \pi } ( s , a ) \ = \ \mathbb { E } \left[ \sum _ { i = t } ^ { H } r _ { i } \Big | s _ { t } , a _ { t } = s , a \right] } \end{array}$ $V _ { t } ^ { \pi } ( \cdot ) ~ \in ~ \mathbb { R } ^ { S }$ and $Q$ -value function $\mathsf { \bar { \Psi } } Q _ { t } ^ { \mathsf { \bar { \pi } } } ( \cdot , \cdot ) \ \in \ \mathbb { R } ^ { S \times A } , \ \forall s , a$ . For the ease of exposition, we always is defined as: $V _ { t } ^ { \pi } ( s ) ~ =$ enumerate $Q ^ { \pi }$ as a column vector and similarly for $\bar { P } _ { t } ( \cdot | s , a )$ . Moreover, for any vector $Q \in$ $\mathbb { R } ^ { S \times A }$ , the induced value vector and policy is defined in the greedy way: $\forall s _ { t } \in \dot { S } , V _ { Q } ( s _ { t } ) =$ $\operatorname* { m a x } _ { a _ { t } \in A } Q ( s _ { t } , a _ { t } )$ , $\pi _ { Q } ( s _ { t } ) = \operatorname { a r g m a x } _ { a _ { t } \in \mathcal { A } } Q ( s _ { t } , a _ { t } )$ . Given an MDP, for any vector $V ~ \in ~ \mathbb { R } ^ { s }$ and any deterministic policy $\pi$ , $\forall t \in [ H ]$ the Bellman operator $\mathcal { T } _ { t } ^ { \pi } : \mathbb { R } ^ { S } \mathbb { R } ^ { S }$ is defined as: $[ \mathcal T _ { t } ^ { \pi } ( V ) ] ( s ) : = r ( s , \pi _ { t } ( s ) ) + P _ { t } ^ { \top } ( \cdot | s , \pi _ { t } ( s ) ) V$ , and the corresponding Bellman optimality operator $\mathcal { T } _ { t } : \mathbb { R } ^ { S } \mathbb { R } ^ { S }$ , $\begin{array} { r } { [ \mathcal { T } _ { t } ( V ) ] ( s ) : = \operatorname* { m a x } _ { a \in \mathcal { A } } [ r ( s , a ) + P _ { t } ^ { \top } ( \cdot | s , a ) V ] } \end{array}$ . Lastly, for a given value function $V _ { t }$ , we define backup function $z _ { t } ( s _ { t } , a _ { t } ) : = P _ { t } ^ { \top } ( \cdot | s _ { t } , a _ { t } ) V _ { t + 1 }$ and the one-step variance as $\begin{array} { r } { \sigma _ { V _ { t + 1 } } ( s _ { t } , a _ { t } ) : = \mathrm { V a r } _ { s _ { t + 1 } } [ \bar { V } _ { t + 1 } ( s _ { t + 1 } ) | s _ { t } , a _ { t } ] } \end{array}$ .
36
+
37
+ Offline learning problem. In this paper we investigate the offline learning problem, where we do not have interactive access to the MDP, and can only observe a static dataset $\mathcal { D } =$ $\left\{ ( s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } , r _ { t } ^ { ( i ) } , s _ { t + 1 } ^ { ( i ) } ) \right\} _ { i \in [ n ] } ^ { t \in [ H ] }$ .We assume that $\mathcal { D }$ is obtained by executing a pre-specified behav$\mu$ ) for , whe $n$ episodes and collecting the trajectories each episode is rendered in the form: $\tau ^ { ( i ) } \ = \ ( s _ { 1 } ^ { ( i ) } , a _ { 1 } ^ { ( i ) } , r _ { 1 } ^ { ( i ) } , \ldots , s _ { H } ^ { ( i ) } , a _ { H } ^ { ( i ) } , r _ { H } ^ { ( i ) } , s _ { H + 1 } ^ { ( i ) } )$ $s _ { 1 } ^ { ( i ) } \sim d _ { 1 }$ , $a _ { t } ^ { ( i ) } \sim \mu _ { t } ( \cdot | s _ { t } ^ { ( i ) } )$ , $r _ { t } ^ { ( i ) } = r ( s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } )$ , and $s _ { t + 1 } ^ { ( i ) } \sim P _ { t } ( \cdot | s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } )$ . Given the dataset $\mathcal { D }$ , our goal is to find an $\epsilon$ -optimal policy $\pi _ { \mathrm { o u t } }$ , in the sense that $| | V _ { 1 } ^ { \pi ^ { \star } } - V _ { 1 } ^ { \pi _ { \mathrm { o u t } } } | | _ { \infty } < \epsilon$ .
38
+
39
+ Assumption on data coverage Due to the curse of distributional shift, efficient offline RL is only possible under certain data coverage properties for the behavior policy $\mu$ . Throughout this paper we assume the following:
40
+
41
+ Assumption 2.1 (Weak coverage). The behavior policy $\mu$ satisfies the following: There exists some optimal policy $\pi ^ { \star }$ such that $d _ { t ^ { \prime } } ^ { \mu } ( s _ { t ^ { \prime } } , a _ { t ^ { \prime } } ) > 0$ if there exists $t < t ^ { \prime }$ such that ${ d _ { t : t ^ { \prime } } ^ { \pi ^ { \star } } } ( s _ { t ^ { \prime } } , a _ { t ^ { \prime } } | s _ { t } , a _ { t } ) > 0$ , where $d _ { t : t ^ { \prime } } ^ { \pi ^ { \star } } \big ( s _ { t ^ { \prime } } , a _ { t ^ { \prime } } | s _ { t } , a _ { t } \big )$ is the conditional multi-step transition probability from step $t$ to $t ^ { \prime }$ .
42
+
43
+ Intuitively, Assumption 2.1 requires $\mu$ to “cover” certain optimal policy $\pi ^ { \star }$ , in the sense that any $s _ { t ^ { \prime } } , a _ { t ^ { \prime } }$ is reachable by $\mu$ if it is attainable from a previous state-action pair by $\pi ^ { \star }$ . It is similar to [Liu et al., 2019, Assumption 1]. Note that this is weaker than the standard “concentrability” assumption [Munos, 2003, Le et al., 2019, Chen and Jiang, 2019]: Concentrability defines $\beta _ { \mu } : =$ $\begin{array} { r } { \operatorname* { s u p } _ { \pi \in \Pi } \vert \vert d ^ { \pi } ( s _ { t } , a _ { t } ) / d ^ { \mu } ( s _ { t } , a _ { t } ) \vert \vert _ { \infty } < \infty } \end{array}$ (cf. [Le et al., 2019, Assumption 1 & Example 4.1]), which requires the sufficient exploration for tabular case3 since we optimize over all policies (see Section F.2 for a discussion). In contrast, our assumption only requires $\mu$ to “trace” one single optimal policy.4
44
+
45
+ With Assumption 2.1, we define
46
+
47
+ $$
48
+ d _ { m } : = \operatorname* { m i n } _ { t , s _ { t } , a _ { t } } \{ d _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) : d _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) > 0 \} ,
49
+ $$
50
+
51
+ which is decided by the behavior policy $\mu$ and is required by offline learning (see Theorem G.2 in Yin et al. [2021]). In general, $d _ { m }$ is unknown yet we assume $d _ { m }$ is known for the moment and will utilize $d _ { m }$ in our algorithms. Indeed, in Lemma 5.1, we show that estimating $d _ { m }$ up to a multiplicative factor only requires $\widetilde { O } ( 1 / d _ { m } )$ episodes of offline data; replacing the exact $d _ { m }$ with this estimator suffices for our purpose and, importantly, will not affect our downstream sample complexities.
52
+
53
+ # 3 Variance reduction for offline RL
54
+
55
+ In this section, we introduce our main algorithm Off-Policy Double Variance Reduction (OPDVR), and present its theoretical guarantee in the finite-horizion non-stationary setting.
56
+
57
+ # 3.1 Review: variance reduction for RL
58
+
59
+ We begin by briefly reviewing the variance reduction algorithm for online reinforcement learning, where we have the interactive access to the environment.
60
+
61
+ Variance reduction (VR) initially emerged as a technique for obtaining fast convergence in large scale optimization problems, for example in the Stochastic Variance Reduction Gradient method (SVRG, [Johnson and Zhang, 2013, Zhang et al., 2013]). This technique is later brought into reinforcement learning for handling policy evaluation [Du et al., 2017] and policy optimization problems [Sidford et al., 2018b,a, Yang and Wang, 2019, Wainwright, 2019, Sidford et al., 2020, Li et al., 2020, Zhang et al., 2020].
62
+
63
+ In the case of policy optimization, VR is an algorithm that approximately iterating the Bellman optimality equation, using an inner loop that performs an approximate value (or Q-value) iteration using fresh interactive data to estimate $\hat { V } ^ { \star }$ , and an outer loop that performs multiple steps of such iterations to refine the estimates. Concretely, to obtain an reliable $\mathsf { \bar { Q } } _ { t } ( s , a )$ for some step $t \in [ H ]$ , by the Bellman equation $Q _ { t } ( s , a ) = r ( s , a ) + P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 }$ , we need to estimate $P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 }$ with sufficient accuracy. VR handles this by decomposing:
64
+
65
+ $$
66
+ \begin{array} { r } { P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 } = P _ { t } ^ { \top } ( \cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \mathrm { i n } } ) + P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 } ^ { \mathrm { i n } } , } \end{array}
67
+ $$
68
+
69
+ where $V _ { t + 1 } ^ { \mathrm { i n } }$ is a reference value function obtained from previous calculation (See line 4,13 in the inner loop of Algorithm 1) and $P _ { t } ^ { \top } ( \cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \mathrm { i n } } )$ , $P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 } ^ { \mathrm { i n } }$ are estimated separately at different stages. This technique can help in reducing the “effective variance” along the learning process (see Wainwright [2019] Section 2 for a discussion).
70
+
71
+ In addition, in order to translate the guarantees from learning values to learning policies5, we build on the following “monotonicity property”: For any policy $\pi$ that satisfies the monotonicity condition $V _ { t } \le { \mathcal T } _ { \pi _ { t } } V _ { t + 1 }$ for all $t \in [ H ]$ , the performance of $\pi$ is sandwiched as $V _ { t } \leq V _ { t } ^ { \pi } \leq V _ { t } ^ { \star }$ , i.e. $\pi$ is guaranteed to perform the same or better than $V _ { t }$ . This property is first captured by [Sidford et al., 2018a] (for completeness we provide a proof in Lemma B.1), and later reused by Yang and Wang [2019], Sidford et al. [2020] under different settings. We rely on this property in our offline setting as well for providing policy optimization guarantees.
72
+
73
+ 1: Functional input: Integer valued function $\overline { { \mathbf { m } : \mathbb { R } _ { + } \to \mathbb { N } } }$ . Off-policy estimator $\mathbf { z } _ { t } , \mathbf { g } _ { t }$ in function forms that
74
+ provides lower confidence bounds (LCB) of the two terms in the bootstrapped value function (2).
75
+ 2: Static input: Initial value function $V _ { t } ^ { ( 0 ) }$ and $\pi _ { t } ^ { ( 0 ) }$ (which satisfy $V _ { t } ^ { ( 0 ) } ~ \leq ~ { \mathcal T } _ { \pi _ { t } ^ { ( 0 ) } } V _ { t + 1 } ^ { ( 0 ) }$ and $V _ { H + 1 } ^ { ( 0 ) } \equiv 0 )$ .
76
+ A scalar $u ^ { ( 0 ) }$ satisfies $\begin{array} { r } { u ^ { ( 0 ) } \geq \operatorname* { s u p } _ { t } | | V _ { t } ^ { \star } - V _ { t } ^ { ( 0 ) } | | _ { \infty } } \end{array}$ . Outer loop iterations $K$ . Offline dataset $\mathcal { D } =$
77
+ $\{ \{ s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } , r _ { t } ^ { ( i ) } \} _ { t = 1 } ^ { H } \} _ { i = 1 } ^ { n }$ from $\mu$ as a data-stream where $\begin{array} { r } { n \geq \sum _ { i = 1 } ^ { K } 2 \cdot \mathbf { m } ( u ^ { ( 0 ) } \cdot 2 ^ { - ( i - 1 ) } ) } \end{array}$ .
78
+ 3: ————————4: function QVI-VR $( \mathcal { D } _ { 1 } , \mathcal { D } _ { 2 } ^ { ( 1 : H ) } , V _ { t } ^ { \mathrm { i n } } , \pi ^ { \mathrm { i n } } , \mathbf { z } _ { t } , \mathbf { g } _ { t } , u ^ { \mathrm { i n } } )$ —
79
+ 5: $\diamond$ Computing reference with $\mathcal { D } _ { 1 }$ : Initialize $Q _ { t } \mathbf { 0 } \in \mathbb { R } ^ { S \times A }$ for $t \in [ H + 1 ]$ .
80
+ 6: for $t \in [ H ]$ and each pair $( s _ { t } , a _ { t } ) \in S \times \mathcal { A }$ do
81
+ 7: $\diamond$ Compute an LCB of $\boldsymbol { P } _ { t } ^ { \top } ( \cdot | s _ { t } , a _ { t } ) \boldsymbol { V } _ { t + 1 } ^ { i n }$ : $z _ { t } \gets \mathbf { z } _ { t } ( \mathcal { D } _ { 1 } , V _ { t + 1 } ^ { \mathrm { i n } } , u ^ { \mathrm { i n } } )$
82
+ 8: end for
83
+ 9:  Value Iterations with D(1:H)2 :
84
+ 10: for $t = H + 1 , H , . . . , 1$ do
85
+ 11: $\diamond$ Update value function: $V _ { t } \gets \operatorname* { m a x } ( V _ { Q _ { t } } , V _ { t } ^ { \mathrm { i n } } )$ .
86
+ 12: $\diamond$ Update policy: $\forall s _ { t }$ , if $V _ { t } ( s _ { t } ) = V _ { t } ^ { \mathrm { i n } } ( s _ { t } )$ , set $\pi _ { t } ( s _ { t } ) \pi _ { t } ^ { \mathrm { i n } } ( s _ { t } )$ ; else set $\pi _ { t } ( s _ { t } ) \pi _ { Q _ { t } } ( s _ { t } )$ .
87
+ 13: if $t \geq 1$ then
88
+ 14: $\diamond$ LCB of $P ^ { \top } ( \cdot | s _ { t - 1 } , a _ { t - 1 } ) [ V _ { t } - V _ { t } ^ { \mathrm { i n } } ]$ : $g _ { t - 1 } \gets \mathbf { g } _ { t - 1 } ( \mathcal { D } _ { 2 } ^ { ( t - 1 ) } , V _ { t } , V _ { t } ^ { \mathrm { i n } } , u ^ { \mathrm { i n } } ) .$
89
+ 15: $\diamond$ Update $Q$ function: $Q _ { t - 1 } r + z _ { t - 1 } + g _ { t - 1 }$
90
+ 16: end if
91
+ 17: end for
92
+ 18: end function and Return: $V _ { 1 } , . . . , V _ { H }$ and $\pi$
93
+ 19: OUTER LOOP —
94
+ 20: for $i = 1 , . . . , K$ do
95
+ 21: Set $m ^ { ( i ) } \to \mathbf { m } ( u ^ { ( i - 1 ) } )$ ; Get $\mathcal { D } _ { 1 }$ with size $\boldsymbol { m } ^ { ( i ) }$ and $\mathcal { D } _ { 2 } ^ { ( t ) }$ with size $\textstyle \frac { m ^ { ( i ) } } { H } { \left( u ^ { ( i - 1 ) } \right) } ^ { 2 }$ for all $t \in [ H ]$ from
96
+ the stream $\mathcal { D }$ .
97
+ 22: Ca $V ^ { ( i ) }$ $\tilde { \mathbf { \Gamma } } _ { , \pi ^ { ( i ) } } ^ { } \dot { \mathbf { \Gamma } } _ { } \operatorname { Q V I } \mathbf { \mathrm { - } } \mathbf { V R } \big ( \mathcal { D } _ { 1 } , \mathcal { D } _ { 2 } , V ^ { ( i - 1 ) } , \pi ^ { ( i - 1 ) } , \mathbf { z } _ { t } , \mathbf { g } _ { t } , u ^ { ( i - 1 ) } \big ) , \operatorname { S e t } u ^ { ( i ) } u ^ { ( i - 1 ) } / 2 .$
98
+ 23: end for and Output: $V ^ { ( K ) } , \pi ^ { ( K ) }$
99
+
100
+ # 3.2 OPDVR: variance reduction for offline RL
101
+
102
+ We now explain how we design the VR algorithm in the offline setting. Even though our primary novel contribution is for the stationary case (Theorem 4.1), we begin with non-stationary setting for the ease of explaining algorithmic design. We let $\iota : = \log ( H S A / \delta )$ as a short hand.
103
+
104
+ Prototypical offline VR. We first describe a prototypical version of our offline VR algorithm in Algorithm 1, which we will instantiate with different parameters twice (hence the name“Double”) in each of the three settings of interest.
105
+
106
+ Algorithm 1 takes estimators $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$ that produce lower confidence bounds (LCB) of the two terms in (2) using offline data. Specifically, we assume $\mathbf { z } _ { t } , \mathbf { g } _ { t }$ are both available in function forms in that they take an offline dataset (with an arbitrary size), fixed value function $V _ { t + 1 } , V _ { t + 1 } ^ { \mathrm { i n } }$ and an external scalar input $u$ then return $\boldsymbol { z } _ { t } , \boldsymbol { g } _ { t } \in \mathbb { R } ^ { S \times A }$ . $z _ { t } , g _ { t }$ satisfies that
107
+
108
+ $$
109
+ \begin{array} { r } { z _ { t } ( s _ { t } , a _ { t } ) \leq P ^ { \top } ( \cdot | s _ { t } , a _ { t } ) V _ { t + 1 } ^ { \mathrm { i n } } , \quad g _ { t } ( s _ { t } , a _ { t } ) \leq P ^ { \top } ( \cdot | s _ { t } , a _ { t } ) [ V _ { t + 1 } - V _ { t + 1 } ^ { \mathrm { i n } } ] , } \end{array}
110
+ $$
111
+
112
+ uniformly for all $s _ { t } , a _ { t }$ with high probability.
113
+
114
+ Algorithm 1 then proceeds by taking the input offline dataset as a stream of iid sampled trajectories and use an exponentially increasing-sized batches of independent data to pass in $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$ while updating the estimated $Q$ value function by applying the Bellman backup operator except that the update is based on a conservative and variance reduced estimated values. Each inner loop iteration backs up from the last time-step and update all $Q _ { t }$ for $t = H , . . . , 1$ ; and each outer loop iteration passes a new batch of data into the inner loop while ensuring reducing the suboptimality gap from the optimal policy by a factor of 2 in each outer loop iteration, provided that the estimators $\mathbf { z } _ { t } + \mathbf { g } _ { t }$ are increasingly more accurate estimates of (2) as the suboptimality gap gets smaller.
115
+
116
+ Plug-in estimators and high-confidence LCBs. The estimators $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$ we use for the three different settings are provided in Figure 3.2. They are essentially the natural plug-in estimators of $P _ { t } ^ { \top } ( \cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \mathrm { \bar { i } n } } )$ and $P _ { t } ^ { \top } ( \cdot | s , a ) V _ { t + 1 } ^ { \mathrm { i n } }$ as well as their standard deviation by replacing $P _ { t }$ with $\widehat { P } _ { t }$ except that we use two disjoint splits $\mathcal { D } _ { 1 }$ and $\mathcal { D } _ { 2 } ^ { ( 1 ) } , \ldots , \mathcal { D } _ { 2 } ^ { ( H ) }$ for $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$ so they remain
117
+
118
+ Figure 1: The implementable “plug-in” lower confidence bound estimators $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$
119
+
120
+ <table><tr><td>Setting</td><td>z(D,V1,u)</td><td></td><td colspan="3">gt(D,Vt+1,V1,)</td></tr><tr><td>Non-stationary</td><td>∑V()) nst,at 1 V(</td><td rowspan="2">Wtt 1 na 1</td><td rowspan="2">∑j-V</td><td rowspan="2"></td></tr><tr><td>Stationary</td></tr><tr><td>o-Horizon</td><td>𝑛s,a ∑V(s).1s(=sa(s) 𝑛s,a</td><td>Wa 1</td><td>∑jv(s)()f</td><td></td></tr><tr><td>Setting</td><td>(st,at)</td><td>4ov</td><td>et(st,at)</td><td>ft(st,at,u)</td></tr><tr><td>Non-stationary</td><td>∑V 1 nst,at</td><td>nst,at </td><td>L 3/4 +16Vmaxnst,t L L</td><td>4u Wtat L</td></tr><tr><td>Stationary</td><td>∑ ns,a</td><td>4vin 1</td><td>)3/4 4+16Vmax ns, n5,a 3/4</td><td>4u 医</td></tr><tr><td>o-Horizon</td><td>∑V()2</td><td></td><td>+2√6·Vmax 16Vmaxt + 𝑛s,a ns,a 3𝑛𝑠,a</td><td>4u log(2RSA/8) n,a</td></tr></table>
121
+
122
+ ∗ $m , \iota$ are the number of episodes in $\mathcal { D } _ { 1 } , \mathcal { D } _ { 2 } ^ { ( t ) }$ respectively. $\iota$ is a logarithmic factor in $H S A / \delta$ in the finite horizon case and $S A / \delta$ in the infinite horizon cases. ${ n } _ { s { t } , a { t } }$ is the number of times $s _ { t } , a _ { t }$ appears at time $t$ in $\mathcal { D } _ { 1 }$ ; and $n ^ { \prime } ( s _ { t } , a _ { t } )$ is the that for $\mathcal { D } _ { 2 } ^ { ( t ) }$ . In the case when $n _ { s _ { t } , a _ { t } } = 0$ , we simply output 0 for all quantities above.
123
+
124
+ # Algorithm 2 (OPDVR) Off-Policy Doubled Variance Reduction
125
+
126
+ input Offline Dataset $\mathcal { D }$ of size $_ n$ as a stream. Target accuracy $\epsilon , \delta$ such that the algorithm does not use up $\mathcal { D }$ .
127
+ input Estimators $\mathbf { z } _ { t } , \mathbf { g } _ { t }$ in function forms, $m _ { 1 } ^ { \prime } , m _ { 2 } ^ { \prime } , K _ { 1 } , K _ { 2 }$ .
128
+
129
+ 1: $\diamond$ Stage 1. coarse learning: a “warm-up” procedure
130
+ 2: Set $V _ { t } ^ { ( 0 ) } : = \mathbf { 0 }$ and any policy $\pi ^ { ( 0 ) }$ . Set initial $u ^ { ( 0 ) } : = H$ . Set $\mathbf { m } ( u ) = m _ { 1 } ^ { \prime } \log ( 1 6 H S A K _ { 1 } ) / u ^ { 2 }$ .
131
+ 3: Run Algorithm 1 with $\begin{array} { r } { \mathbf { m } , \mathbf { z } _ { t } , \mathbf { g } _ { t } , V _ { t } ^ { ( 0 ) } , \pi ^ { ( 0 ) } , u ^ { ( 0 ) } , K _ { 1 } , \mathcal { D } } \end{array}$ and return $V _ { t } ^ { \mathrm { i } }$ ntermediate, $\pi$ intermediate.
132
+ 4: $\diamond$ Stage 2. fine learning: reduce error to given accuracy
133
+ 5: Reset initial values $V _ { t } ^ { ( 0 ) } : = V _ { t } ^ { \mathrm { i n t e r m e d i a t e } }$ and policy $\pi ^ { ( 0 ) } : = \pi ^ { \mathrm { i n t e r m e d i a t e } }$ . Set $u ^ { ( 0 ) } : = \sqrt { H }$ .
134
+ 6: Reset $\mathbf { m } ( u )$ by replacing $m _ { 1 } ^ { \prime }$ with $m _ { 2 } ^ { \prime }$ , $K _ { 1 }$ with $K _ { 2 }$ .
135
+ 7: Run Algorithm 1 with $\mathbf { m } , \mathbf { z } _ { t } , \mathbf { g } _ { t } , V _ { t } ^ { ( 0 ) } , \pi ^ { ( 0 ) } , u ^ { ( 0 ) } , K _ { 2 } , \mathcal { D }$ and return $V _ { t } ^ { \mathrm { f i n a l } } , \pi ^ { \mathrm { f i n a l } }$ .
136
+ output $V _ { t } ^ { \mathrm { f i n a l } }$ , $\pi$ final
137
+
138
+ statistically independent. We also remark that $P _ { t }$ is of dimension $S ^ { 2 } A$ , and we operates in the sparse regime where the number of observed samples could be drastically smaller than the total number of coordinates there are. In other words, $\widehat { P } _ { t }$ will be sparse as most of its coordinates are 0. The saving grace is that when we fix $V _ { t + 1 }$ and $V _ { t + 1 } ^ { \mathrm { i n } }$ , the output space collapsed to only $_ { S A }$ dimensional, which ensures that we have sufficient number of data points to produce accurate estimates.
139
+
140
+ A key difference from the generative model setting is that these estimators are dependent across $t$ , thus it requires new technical steps to establish the convergence of these estimators as well as putting them together to show that Algorithm 1 works.
141
+
142
+ The doubling procedure. It turns out that Algorithm 1 alone does not yield a tight sample complexity guarantee, due to its suboptimal dependence on the initial optimality gap $u ^ { ( 0 ) } \geq \operatorname* { s u p } _ { t } \| V _ { t } ^ { \star } - V _ { t } ^ { ( 0 ) } \| _ { \infty }$ (recall $u ^ { ( 0 ) }$ is the initial parameter in the outer loop of Algorithm 1). This is captured in the following (for the non-stationary case):
143
+
144
+ Proposition 3.1 (Informal version of Lemma B.10). Suppose $\epsilon \in ( 0 , 1 ]$ is the final target accuracy. Algorithm 1 outputs the $\epsilon$ -optimal policy with episode complexity:
145
+
146
+ $$
147
+ \bullet \tilde { O } ( H ^ { 4 } / d _ { m } \epsilon ^ { 2 } ) , \quad I f u ^ { ( 0 ) } > \sqrt { H } ; \quad \bullet \tilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } ) , \quad I f u ^ { ( 0 ) } \leq \sqrt { H } .
148
+ $$
149
+
150
+ Proposition 3.1 suggests that Algorithm 1 may have a suboptimal sample complexity when the initial optimality gap $u ^ { ( 0 ) } > \sqrt { H }$ . Unfortunately, this is precisely the case for standard initializations such as $V _ { t } ^ { ( 0 ) } : = \mathbf { 0 }$ , for which we must take $u ^ { ( 0 ) } = H$ . We overcome this issue by designing a two-stage doubling procedure: At stage 1, we use Algorithm 1 to obtain $V _ { t } ^ { 1 }$ ntermediate, $\pi$ intermediate that are $\epsilon ^ { \prime } = \sqrt { H } \epsilon$ accurate; At stage 2, we then use Algorithm 1 again with $V _ { t } ^ { \mathrm { i } }$ ntermediate, $\pi$ intermediate as the input and further reduce the error from $\epsilon ^ { \prime }$ to $\epsilon$ . The main take-away of this doubling procedure is that the episode complexity of both stage is only $\tilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ , therefore the total sample complexity optimality is preserved. The pseudo-code of the two-stage procedure OPDVR is summarized in Algorithm 2.
151
+
152
+ # 3.3 OPDVR for non-stationary transition settings
153
+
154
+ We now state our main theoretical guarantee for OPDVR in the finite-horizon non-stationary transition setting.
155
+
156
+ Theorem 3.2 (OPDVR in episodic non-stationary setting). For the $H$ -horizon non-stationary setting, there exist universal constants $c _ { 1 } , c _ { 2 } , c _ { 3 } > 0$ such that if we set √ $m _ { 1 } ^ { \prime } = c _ { 1 } H ^ { 4 } / d _ { m }$ for Stage 1, $m _ { 2 } ^ { \prime } =$ $c _ { 2 } H ^ { 3 } / d _ { m }$ for Stage 2, set $K _ { 1 } = K _ { 2 } = \log _ { 2 } ( \sqrt { H } / \epsilon )$ , take $\mathbf { g } _ { t }$ and $\mathbf { z } _ { t }$ according to Figure 3.2, then OPDVR (Algorithm 2) with probability $1 - \delta$ outputs an $\epsilon$ -optimal policy $\hat { \pi }$ provided that the number of episodes in the offline data $\mathcal { D }$ exceeds (below can be readily simplified as $\widetilde { O } \left( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } \right) )$ :
157
+
158
+ $$
159
+ \frac { c _ { 3 } \operatorname* { m a x } [ \frac { m _ { 1 } ^ { \prime } } { H } , m _ { 2 } ^ { \prime } ] } { \epsilon ^ { 2 } } \big ( \iota + \log \log _ { 2 } ( \frac { \sqrt { H } } { \epsilon } ) \big ) \log _ { 2 } ( \frac { \sqrt { H } } { \epsilon } ) ,
160
+ $$
161
+
162
+ Optimality of sample complexity. Theorem 3.2 shows that our OPDVR algorithm can find an $\epsilon$ -optimal policy with $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ episodes of offline data. Compared with the sample complexity lower bound $\dot { \Omega ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } ) }$ for offline learning (Theorem G.2. in Yin et al. [2021]), we see that our OPDVR algorithm matches the lower bound up to logarithmic factors. The same rate was achieved previously by the local uniform convergence argument of Yin et al. [2021] under a stronger assumption of full data coverage.
163
+
164
+ Proof sketch of Theorem 3.2. One challenge in analyzing OPDVR is that the number of statetransition samples are random and dependent. The idea of the proof is to first construct fictitious versions of estimators $\mathbf { z } _ { t }$ (or $\mathbf { g } _ { t }$ ), that uses the empirical plug-in formula only if the event $\begin{array} { r } { E _ { m , t } = \{ n _ { s _ { t } , a _ { t } } > \frac { 1 } { 2 } m \cdot d _ { t } ^ { \mu } ( s _ { t } , \dot { a _ { t } } ) \} } \end{array}$ (or $E _ { l , t } )$ are true, i.e., there are sufficient number of samples at $s _ { t } , a _ { t }$ . When there aren’t, we plug in the ground truth transition kernel $P _ { t }$ instead. These fictitious estimators are not implementable in practice, but they simplify the analysis and are central to our extension of the Variance Reduction framework previously used in the generative model setting [Sidford et al., 2018a] to the offline setting. The following proposition shows that practical implementations (summarized in Figure 3.2) are identical to these fictitious estimators with high probability:
165
+
166
+ Proposition 3.3 (Summary of Section B.4). Under the condition of Theorem 3.2, we have
167
+
168
+ $$
169
+ \mathbb { P } \Bigg [ \bigcup _ { \stackrel { i \in [ K _ { 1 } ] , } { t \in [ H ] } } \left( E _ { l , t } ^ { ( i ) c } \cup E _ { m , t } ^ { ( i ) c } \right) \bigcup _ { \stackrel { j \in [ K _ { 2 } ] , } { t \in [ H ] } } \left( E _ { l , t } ^ { ( j ) c } \cup E _ { m , t } ^ { ( j ) c } \right) \Bigg ] \leq \delta / 2 .
170
+ $$
171
+
172
+ This means with probability $1 - \delta / 2$ , fictitious estimators $\tilde { z } _ { t } , \tilde { g } _ { t } , \tilde { \sigma }$ are all identical to their practical versions (summarized in Figure 3.2).
173
+
174
+ By Proposition 3.3, it suffices to analyze the performance of OPDVR instantiated with fictitious estimators (60) and (59). Theorem 3.2 then relies on analyzing the the prototypical OPDVR (Algorithm 1) with the fictitious estimators. In particular, both off-policy estimators $z _ { t }$ and $g _ { t }$ use lower confidence update to avoid over-optimism and the max operator in $V _ { t } = \operatorname* { m a x } ( V _ { Q _ { t } } , V _ { t } ^ { \mathrm { i n } } )$ helps prevent pessimism. By doing so the update $V _ { t }$ in Algorithm 1 always satisfies $0 \leq V _ { t } \leq V _ { t } ^ { \star }$ , which is always within valid range. The doubling procedure of Algorithm 2 then first decreases the accuracy to a coarse level√ $\epsilon ^ { \prime } = \sqrt { H } \epsilon$ , and further lowers it to the given accuracy $\epsilon$ . The key technical lemma for achieving optimal dependence in $H$ is Lemma G.5, which bounds the term $\begin{array} { r } { \sum _ { u = t } ^ { \bar { H } } \mathbb { E } _ { s _ { u } , a _ { u } } ^ { \pi ^ { \star } } \left[ \mathrm { V a r } [ V _ { u + 1 } ^ { \star } ( s _ { u + 1 } ) | s _ { u } , \bar { a _ { u } } ] \right] } \end{array}$ by $O ( H ^ { 2 } )$ instead of the naive $O ( H ^ { 3 } )$ . The full proof of Theorem 3.2 can be found in Appendix B.
175
+
176
+ # 4 OPDVR for stationary transition settings
177
+
178
+ In this section, we switch gears to the stationary transition setting, in which the transition probabilities are identical at all time steps: $P _ { t } ( s ^ { \prime } | s , a ) : \equiv P ( s ^ { \prime } | s , a )$ . We will consider both the (a) finite-horizon case where each episode is consist of $H$ steps; and (b) the infinite-horizon case where the reward at the $t$ -th step is discounted by $\gamma ^ { t }$ , where $\gamma \in ( 0 , 1 )$ is a discount factor. These settings encompass additional challenges compared with the non-stationary case, as in theory the transition probabilities can now be estimated more accurately due to the shared information across time steps.
179
+
180
+ # 4.1 Finite-horizon stationary setting
181
+
182
+ We begin by considering the finite-horizon stationary setting. As this is a special case of the nonstationary setting, Theorem 3.2 implies that OPDVR achieves $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ sample complexity. However, similar as in online RL [Azar et al., 2017], this result may be potentially loose by an $O ( H )$ factor, as the algorithm does not take into account the stationarity of the transitions. This motivates us to design an algorithm that better leverages the stationarity by aggregating state-action pairs across different time steps (see the second rows of the two tables in Figure 3.2).
183
+
184
+ Theorem 4.1 (Sample complexity of OPDVR in finite-horizon stationary setting). In the $H$ -horizon stationary transition setting, there exists universal constants $c _ { 1 } ^ { \prime } , c _ { 2 } ^ { \prime } , c _ { 3 } ^ { \prime }$ such that $i f$ we set $m _ { 1 } ^ { \prime } =$ $c _ { 1 } ^ { \prime } H ^ { 3 } / d _ { m }$ , $m _ { 2 } ^ { \prime } = { c _ { 2 } ^ { \prime } H ^ { 2 } } / { d _ { m } }$ for Stage 1 and 2, set $K _ { 1 } = K _ { 2 } = \log _ { 2 } ( \sqrt { H } / \epsilon )$ , and take $\mathbf { z } _ { t }$ and $\mathbf { g } _ { t }$ according to Figure 3.2, then with probability $1 - \delta$ , Practical OPDVR finds an $\epsilon$ -optimal policy provided that the number of episodes in the offline data $\mathcal { D }$ exceeds (which is of order $\begin{array} { r } { \widetilde { O } \left( \frac { H ^ { 2 } } { d _ { m } \epsilon ^ { 2 } } \right) } \end{array}$ :
185
+
186
+ $$
187
+ \frac { c _ { 3 } ^ { \prime } \operatorname* { m a x } [ \frac { m _ { 1 } ^ { \prime } } { H } , m _ { 2 } ^ { \prime } ] } { \epsilon ^ { 2 } } \Bigl ( \iota + \log \log _ { 2 } ( \frac { \sqrt { H } } { \epsilon } ) \Bigr ) \log _ { 2 } ( \frac { \sqrt { H } } { \epsilon } ) ,
188
+ $$
189
+
190
+ Proof sketch. Similar to the proof of the non-stationary case, we start by reducing the problem to a fictitious version that replace the pathological events that happen with lowprobability with ground truth. Then the key challenge is how to analyze the stronger fictitious estimators that pools over steps within each roll-out. We design a martingale $\begin{array} { r l } { X _ { k } } & { { } = } \end{array}$ $\begin{array} { r l r } { \sum _ { i = 1 } ^ { m } \sum _ { u = 1 } ^ { k - 1 } \Big ( V _ { t + 1 } ^ { \mathrm { i n } } \big ( s _ { u + 1 } ^ { ( i ) } \big ) - P ^ { \top } \big ( \cdot | s , a \big ) \bar { V } _ { t + 1 } ^ { \mathrm { i n } } \Big ) \cdot \mathbf { 1 } \big [ s _ { u } ^ { ( i ) } = s , a _ { u } ^ { ( i ) } = a \big ] . } \end{array}$ under the filtration $\begin{array} { r l } { \mathcal { F } _ { k } } & { { } : = } \end{array}$ {s(i)u , a(i)u }u∈[k]i∈[m] for bounding $z _ { t } ( s _ { t } , a _ { t } ) ~ \leq ~ P ^ { \top } ( \cdot | s _ { t } , a _ { t } ) V _ { t + 1 } ^ { \mathrm { i n } }$ . The conditional variance sum $\begin{array} { r } { \sum _ { k = 1 } ^ { H } \operatorname { V a r } \big [ X _ { k + 1 } \ \big | \ \mathcal { F } _ { k } \big ] \ = \ \sum _ { k = 1 } ^ { H } \sum _ { i = 1 } ^ { m } \mathbf { 1 } \Big [ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \Big ] \operatorname { V a r } \Big [ V _ { t + 1 } ^ { \operatorname* { i n } } \ \Big ( s _ { k + 1 } ^ { ( i ) } \Big ) \ \big | \ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \Big ] } \end{array}$ . For stationary case, $s _ { k + 1 } ^ { ( i ) } \sim P ( \cdot | s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a )$ is irrelevant to time $k$ so above equals $\begin{array} { r } { \sum _ { k = 1 } ^ { H } \sum _ { i = 1 } ^ { m } \mathbf { 1 } \ : \biggl [ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \biggr ] } \end{array}$ $\sigma _ { V _ { t + 1 } ^ { \mathrm { i n } } } ( s , a ) = n _ { s , a } \cdot \sigma _ { V _ { t + 1 } ^ { \mathrm { i n } } } ( s , a ) .$ , where $V _ { t + 1 } ^ { \mathrm { i n } }$ is later replaced by $V _ { t + 1 } ^ { \star }$ and $\begin{array} { r l } { ~ } & { { } \sum _ { t = 1 } ^ { H } \mathbb { E } _ { s , a } ^ { \pi ^ { \star } } [ \sigma _ { V _ { t } ^ { \star } } ( s , a ) ] } \end{array}$ can be bounded by $H ^ { 2 }$ which is tight. In contrast, in non-stationary regime $P _ { t }$ is varying across time so we can only obtain $\begin{array} { r } { \sum _ { k = 1 } ^ { H } \operatorname { V a r } \left[ X _ { k + 1 } ~ | ~ \mathcal { F } _ { k } \right] \leq n _ { s , a } \operatorname* { m a x } _ { t } \sigma _ { V _ { t } ^ { \mathrm { i n } } } ( s , a ) } \end{array}$ , which is later translated into $\begin{array} { r } { \sum _ { t = 1 } ^ { H } \mathbb { E } _ { s , a } ^ { \pi ^ { \star } } [ \operatorname* { m a x } _ { t } \sigma _ { V _ { t } ^ { \star } } ( s , a ) ] } \end{array}$ and are of order $H ^ { 3 }$ tgeneral. To sum, the fact that $P$ is identical is carefully leveraged multiple times for obtaining $\widetilde { O } ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ rate. The detailed proof of Theorem 4.1 can be found in Appendix C.
191
+
192
+ Theorem 4.1 encompasses our main technical contribution, as the compact data aggregation among different time steps make analyzing the estimators (61) and (62) knotty due to data-dependence (unlike the non-stationary transition setting where estimators are designed using data at specific time). In particular, we need to fully exploit the property that transition $P$ is identical across different times in a pinpoint way to obtain the $\Dot { H } ^ { 2 }$ dependence in the sample complexity bound.
193
+
194
+ Improved dependence on $H$ . Theorem 4.1 shows that OPDVR achieves a sample complexity upper bound $\widetilde { O } ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ in the stationary setting. To the best of our knowledge, this is the first result that achieves an $H ^ { 2 }$ dependence for offline RL with stationary transitions, and improves over the $H ^ { 3 }$ dependence in either the (non-stationary) OPDVR (Theorem 3.2) or the “off-policy evaluation $^ +$ uniform convergence” algorithm of Yin et al. [2021]. We exploit specific properties of $O P D V R$ in our techniques for knocking off a factor of $H$ and there seems to be no direct ways in applying the same techniques in improving the uniform convergence-style results for the stationary-transition setting.
195
+
196
+ Optimality of $\widetilde { O } ( H ^ { 2 } / d _ { m } \epsilon ^ { 2 } )$ . We accompany Theorem 4.1 by a establishing a sample complexity lower bound for this setting, showing that our algorithm achieves the optimal dependence of all parameters up to logarithmic factors. The proof of Theorem 4.2 builds on modifying the $\widetilde { O } ( H ^ { 3 } / d _ { m } \epsilon ^ { 2 } )$ sample complexity lower bound in Yin et al. [2021], and can be found in Appendix E.
197
+
198
+ Theorem 4.2 (Information-theoretic lower bound). For all $0 ~ < ~ d _ { m } ~ \le ~ \frac { 1 } { S A }$ , let the family of problem be $\begin{array} { r } { \mathcal { M } _ { d _ { m } } \ : = \ \big \{ ( \mu , M ) \big | \ \operatorname* { m i n } _ { t , s _ { t } , a _ { t } } d _ { t } ^ { \mu } \big ( s _ { t } , a _ { t } \big ) \ \geq \ d _ { m } \big \} . } \end{array}$ . There exists universal constants $c _ { 1 } , c _ { 2 } , c , p$ (with $H , S , A \ \geq \ c _ { 1 }$ and $0 ~ < ~ \epsilon ~ < ~ c _ { 2 } ,$ ) such that when $n ~ \le ~ c H ^ { 2 } / d _ { m } \epsilon ^ { 2 }$ , $\begin{array} { r } { \operatorname* { i n f } _ { v ^ { \pi _ { a l g } } } \operatorname* { s u p } _ { ( \mu , M ) \in \mathcal { M } _ { d _ { m } } } \mathbb { P } _ { \mu , M } \left( v ^ { * } - v ^ { \pi _ { a l g } } \geq \epsilon \right) \geq p } \end{array}$ .
199
+
200
+ # 4.2 Infinite-horizon discounted setting
201
+
202
+ Finally, we consider the infinite-horizon discounted setting. The setting is slightly different to the finite horizon case as we adopt the same assumption of Chen and Jiang [2019], Xie and Jiang [2020b] that data $\mathcal { D } = \{ s ^ { ( i ) } , \bar { a } ^ { ( i ) } , r ^ { ( i ) } , s ^ { \prime ( i ) } \} _ { i \in [ n ] }$ are i.i.d off-policy pieces with $( s , a ) \sim d ^ { \mu }$ and $s ^ { \prime } \sim P ( \cdot | s , a )$ . The infinite horizon-versions of OPDVR (Algorithm 3 and 4) are stated in the Appendix due to the space limit.
203
+
204
+ Theorem 4.3 (Sampe complexity of OPDVR in infinite-horizon discounted setting). Consider Algorithm 4. There are constants $c _ { 1 } ^ { \prime } , c _ { 2 } ^ { \prime } , c _ { 3 } ^ { \prime }$ , such that if we set $m _ { 1 } ^ { \prime } = O ( ( 1 - \gamma ) ^ { - \bar { 4 } } / d _ { m } ) , m _ { 2 } ^ { \prime } =$ ${ \check { O ( ( 1 - \gamma ) ^ { - 3 } / d _ { m } ) } }$ (see more precise expressions in Lemma $D . 7 ,$ ), $K _ { 1 } = \log _ { 2 } ( ( 1 - \gamma ) ^ { - 1 } / \epsilon ) , K _ { 2 } =$ $\log _ { 2 } ( \sqrt { ( 1 - \gamma ) ^ { - 1 } } / \epsilon )$ , $R = \log ( 4 / \epsilon ( 1 - \gamma ) )$ , and choose LCB estimators z and $\mathbf { g }$ as in Figure 3.2, then with probability $1 - \delta$ , the infinite horizon version of OPDVR (Algorithm 4) outputs an -optimal policy provided that in offline data $\mathcal { D }$ has number of samples exceeding
205
+
206
+ $$
207
+ \begin{array} { c } { { \frac { c _ { 3 } ^ { \prime } \operatorname* { m a x } [ \frac { m _ { 1 } ^ { \prime } } { ( 1 - \gamma ) ^ { - 1 } } , m _ { 2 } ^ { \prime } ] } { \epsilon ^ { 2 } } \cdot \iota ^ { \prime } = \widetilde O \left[ ( 1 - \gamma ) ^ { - 3 } / d _ { m } \epsilon ^ { 2 } \right] . } } \\ { { \cdot \iota ^ { \prime } : = R \cdot ( \log ( 3 2 ( 1 - \gamma ) ^ { - 1 } R S A / \delta ) + \log \log _ { 2 } ( \sqrt { ( 1 - \gamma ) ^ { - 1 } } / \epsilon ) ) \cdot \log _ { 2 } ( \sqrt { ( 1 - \gamma ) ^ { - 1 } } / \epsilon ) . } } \end{array}
208
+ $$
209
+
210
+ We note that for the infinite horizon case, the sample-complexity measures the number of steps, thus $( 1 - \gamma ) ^ { - 3 }$ is comparable to the $H ^ { 2 }$ dependence. To the best of our knowledge, Theorem 4.1 and Theorem 4.3 are the first results that achieve $H ^ { 2 }$ , $( 1 - \gamma ) ^ { - 3 }$ dependence in the offline regime respectively for stationary transition and infinite horizon setting, see Table 1.
211
+
212
+ # 5 Discussions
213
+
214
+ Estimating $d _ { m }$ . It is worth mentioning that the input of OPDVR depends on unknown system quantity $d _ { m }$ . Nevertheless, $d _ { m }$ is only one-dimensional scalar and thus it is plausible (from a statistical perspective) to leverage standard parameter-tuning tools (e.g. cross validation [Varma and Simon, 2006]) for obtaining a reliable estimate in practice. On the theoretical side, we provide the following result to show plug-in on-policy estimator $\widehat { d } _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) = n _ { s _ { t } , a _ { t } } / n$ and $\begin{array} { r } { \widehat { d } _ { m } : = \operatorname* { m i n } _ { t , s _ { t } , a _ { t } } \{ n _ { s _ { t } , a _ { t } } / n : } \end{array}$ $n _ { s _ { t } , a _ { t } } > 0 \}$ , is sufficient for accurately estimating $d _ { t } ^ { \mu } , d _ { m }$ simultaneously.
215
+
216
+ Lemma 5.1. For the finite-horizon setting (either stationary or non-stationary), there exists universal constant c, s.t. when $n \geq c \cdot 1 / d _ { m } \cdot \log ( H S A / \delta )$ , then w.p. $1 - \delta$ , we have $\forall t$ , $s _ { t } , a _ { t }$ , $\textstyle { \frac { 1 } { 2 } } d _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) \leq$ $\begin{array} { r } { \widehat { d } _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) \leq \frac { 3 } { 2 } d _ { t } ^ { \mu } ( s _ { t } , a _ { t } ) } \end{array}$ and, in particular, $\textstyle { \frac { 1 } { 2 } } d _ { m } \leq { \widehat { d } } _ { m } \leq { \frac { 3 } { 2 } } d _ { m }$ . See Appendix F.1 for the proof.
217
+
218
+ Lemma 5.1 ensures one can replace $d _ { t } ^ { \mu }$ by $\widehat { d } _ { t } ^ { \mu }$ $d _ { m }$ by $\widehat { d } _ { m }$ ) in OPDVR and we obtain a fully dataadaptive algorithm. Note that the requirement on $n$ does not affect our near-minimax complexity bound in either Theorem 3.2 and 4.1—we only require $n \approx \tilde { \Theta } ( 1 / d _ { m } )$ additional episodes to estimate $d _ { m }$ and it is of lower order compared to our upper bound $\widetilde { O } ( H ^ { 3 } / d _ { m } )$ or $\widetilde { \cal O } ( H ^ { 2 } / d _ { m } ) )$ .
219
+
220
+ Computational and memory cost. OPDVR can be implemented as a streaming algorithm that uses only one pass of the dataset. Its computational cost is $\widetilde { O } ( H ^ { 4 } / d _ { m } \epsilon ^ { 2 } )$ — the same as its sample complexity in steps ( $H$ steps is an episode), and the memory cost is $O ( H S A )$ for the episodic case and $O ( S A )$ for the stationary or infinite horizon case. In particular, the double variance reduction technique does not introduce additional overhead beyond constant factors.
221
+
222
+ Improvement over VR in the generative model setting. This work extends of the variance reduction framework for RL in the generative model setting [Sidford et al., 2018a, Yang and Wang, 2019]. However, we make two improvements to these works. First, the data collected in the offline case are highly dependent (in contrast in the generative model setting each simulator call is independent), and disentangling the dependent structure makes the offline setting inherently more challenging. Second, our doubling mechanism always guarantee the minimax rate with any initialization and the single VR procedure does not have this property (see Appendix F.4 for a more detailed discussion), which could be a critical issue when Sidford et al. [2018a] claims the optimality.
223
+
224
+ # 6 Conclusion
225
+
226
+ This paper proposes OPDVR (off-policy double variance reduction), a new variance reduction algorithm for offline reinforcement learning. We show that OPDVR achieves tight sample complexity for offline RL in tabular MDPs; in particular, OPDVR is the first algorithm that achieves the optimal sample complexity for offline RL in the stationary transition setting. On the technical end, we present a sharp analysis under stationary transitions, and use the doubling technique to resolve the initialization dependence in variance reduction, both of which could be of broader interest. There are several interesting next directions. For example, can our analysis shed light on other commonly used algorithms (such as Q-Learning) for offline RL? How can we better deal with insufficient data coverage? Can we go beyond the tabular setting? We would like to leave these as future work.
227
+
228
+ # Acknowledgment
229
+
230
+ The authors would like to thank Lin F. Yang for the discussions about [Sidford et al., 2018a]. Ming Yin and Yu-Xiang Wang are partially supported by NSF Awards #2007117 and #2003257. Yu Bai is partly funded through the employment with Salesforce.
231
+
232
+ # References
233
+
234
+ Alekh Agarwal, Nan Jiang, and Sham M Kakade. Reinforcement learning: Theory and algorithms. CS Dept., UW Seattle, Seattle, WA, USA, Tech. Rep, 2019.
235
+
236
+ Alekh Agarwal, Sham Kakade, and Lin F Yang. Model-based reinforcement learning with a generative model is minimax optimal. In Conference on Learning Theory, pages 67–83. PMLR, 2020.
237
+
238
+ András Antos, Csaba Szepesvári, and Rémi Munos. Fitted q-iteration in continuous action-space mdps. In Advances in neural information processing systems, pages 9–16, 2008a.
239
+
240
+ András Antos, Csaba Szepesvári, and Rémi Munos. Learning near-optimal policies with bellmanresidual minimization based fitted policy iteration and a single sample path. Machine Learning, 71 (1):89–129, 2008b.
241
+
242
+ Mohammad Gheshlaghi Azar, Rémi Munos, and Hilbert J Kappen. Minimax pac bounds on the sample complexity of reinforcement learning with a generative model. Machine learning, 91(3): 325–349, 2013.
243
+
244
+ Mohammad Gheshlaghi Azar, Ian Osband, and Rémi Munos. Minimax regret bounds for reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 263–272. JMLR. org, 2017.
245
+
246
+ Qi Cai, Zhuoran Yang, Chi Jin, and Zhaoran Wang. Provably efficient exploration in policy optimization. arXiv preprint arXiv:1912.05830, 2019.
247
+
248
+ Jinglin Chen and Nan Jiang. Information-theoretic considerations in batch reinforcement learning. arXiv preprint arXiv:1905.00360, 2019.
249
+
250
+ Herman Chernoff et al. A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations. The Annals of Mathematical Statistics, 23(4):493–507, 1952.
251
+
252
+ Fan Chung and Linyuan Lu. Concentration inequalities and martingale inequalities: a survey. Internet Mathematics, 3(1):79–127, 2006.
253
+
254
+ Christoph Dann and Emma Brunskill. Sample complexity of episodic fixed-horizon reinforcement learning. In Advances in Neural Information Processing Systems, pages 2818–2826, 2015.
255
+
256
+ Christoph Dann, Lihong Li, Wei Wei, and Emma Brunskill. Policy certificates: Towards accountable reinforcement learning. arXiv preprint arXiv:1811.03056, 2018.
257
+
258
+ Omar Darwiche Domingues, Pierre Ménard, Emilie Kaufmann, and Michal Valko. Episodic reinforcement learning in finite mdps: Minimax lower bounds revisited. arXiv preprint arXiv:2010.03531, 2020.
259
+
260
+ Simon S Du, Jianshu Chen, Lihong Li, Lin Xiao, and Dengyong Zhou. Stochastic variance reduction methods for policy evaluation. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 1049–1058. JMLR. org, 2017.
261
+
262
+ Yaqi Duan and Mengdi Wang. Minimax-optimal off-policy evaluation with linear function approximation. arXiv preprint arXiv:2002.09516, 2020.
263
+
264
+ Yonathan Efroni, Nadav Merlis, Mohammad Ghavamzadeh, and Shie Mannor. Tight regret bounds for model-based reinforcement learning with greedy policies. In Advances in Neural Information Processing Systems, pages 12203–12213, 2019.
265
+
266
+ Yihao Feng, Tongzheng Ren, Ziyang Tang, and Qiang Liu. Accountable off-policy evaluation with kernel bellman statistics. In International Conference on Machine Learning, pages 3102–3111. PMLR, 2020.
267
+
268
+ Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In Proceedings of the 33rd International Conference on International Conference on Machine Learning-Volume 48, pages 652–661. JMLR. org, 2016.
269
+
270
+ Nan Jiang, Akshay Krishnamurthy, Alekh Agarwal, John Langford, and Robert E Schapire. Contextual decision processes with low bellman rank are pac-learnable. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 1704–1713. JMLR. org, 2017.
271
+
272
+ Chi Jin, Zeyuan Allen-Zhu, Sebastien Bubeck, and Michael I Jordan. Is q-learning provably efficient? In Advances in Neural Information Processing Systems, pages 4863–4873, 2018.
273
+
274
+ Ying Jin, Zhuoran Yang, and Zhaoran Wang. Is pessimism provably efficient for offline rl? arXiv preprint arXiv:2012.15085, 2020.
275
+
276
+ Rie Johnson and Tong Zhang. Accelerating stochastic gradient descent using predictive variance reduction. In Advances in neural information processing systems, pages 315–323, 2013.
277
+
278
+ Nathan Kallus and Masatoshi Uehara. Double reinforcement learning for efficient off-policy evaluation in markov decision processes. arXiv preprint arXiv:1908.08526, 2019a.
279
+
280
+ Nathan Kallus and Masatoshi Uehara. Efficiently breaking the curse of horizon: Double reinforcement learning in infinite-horizon processes. arXiv preprint arXiv:1909.05850, 2019b.
281
+
282
+ Akshay Krishnamurthy, Alekh Agarwal, and John Langford. Pac reinforcement learning with rich observations. In Advances in Neural Information Processing Systems, pages 1840–1848, 2016.
283
+
284
+ Sascha Lange, Thomas Gabel, and Martin Riedmiller. Batch reinforcement learning. In Reinforcement learning, pages 45–73. Springer, 2012.
285
+
286
+ Tor Lattimore and Csaba Szepesvari. Learning with good feature representations in bandits and in rl with a generative model. arXiv preprint arXiv:1911.07676, 2019.
287
+
288
+ Hoang M Le, Cameron Voloshin, and Yisong Yue. Batch policy learning under constraints. arXiv preprint arXiv:1903.08738, 2019.
289
+
290
+ Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv preprint arXiv:2005.01643, 2020.
291
+
292
+ Gen Li, Yuting Wei, Yuejie Chi, Yuantao Gu, and Yuxin Chen. Sample complexity of asynchronous q-learning: Sharper analysis and variance reduction. arXiv preprint arXiv:2006.03041, 2020.
293
+
294
+ Lihong Li, Rémi Munos, and Csaba Szepesvári. Toward minimax off-policy value estimation. 2015.
295
+
296
+ Qiang Liu, Lihong Li, Ziyang Tang, and Dengyong Zhou. Breaking the curse of horizon: Infinitehorizon off-policy estimation. In Advances in Neural Information Processing Systems, pages 5361–5371, 2018.
297
+
298
+ Yao Liu, Adith Swaminathan, Alekh Agarwal, and Emma Brunskill. Off-policy policy gradient with state distribution correction. In Uncertainty in Artificial Intelligence, 2019.
299
+
300
+ Yao Liu, Pierre-Luc Bacon, and Emma Brunskill. Understanding the curse of horizon in off-policy evaluation via conditional importance sampling. In International Conference on Machine Learning, pages 6184–6193. PMLR, 2020a.
301
+
302
+ Yao Liu, Adith Swaminathan, Alekh Agarwal, and Emma Brunskill. Provably good batch reinforcement learning without great exploration. arXiv preprint arXiv:2007.08202, 2020b.
303
+
304
+ Rémi Munos. Error bounds for approximate policy iteration. In ICML, volume 3, pages 560–567, 2003.
305
+
306
+ Aaron Sidford, Mengdi Wang, Xian Wu, Lin Yang, and Yinyu Ye. Near-optimal time and sample complexities for solving markov decision processes with a generative model. In Advances in Neural Information Processing Systems, pages 5186–5196, 2018a.
307
+
308
+ Aaron Sidford, Mengdi Wang, Xian Wu, and Yinyu Ye. Variance reduced value iteration and faster algorithms for solving markov decision processes. In Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 770–787. SIAM, 2018b.
309
+
310
+ Aaron Sidford, Mengdi Wang, Lin Yang, and Yinyu Ye. Solving discounted stochastic two-player games with near-optimal time and sample complexity. In International Conference on Artificial Intelligence and Statistics, pages 2992–3002. PMLR, 2020.
311
+
312
+ Max Simchowitz and Kevin G Jamieson. Non-asymptotic gap-dependent regret bounds for tabular mdps. In Advances in Neural Information Processing Systems, pages 1151–1160, 2019.
313
+
314
+ Joel Tropp et al. Freedman’s inequality for matrix martingales. Electronic Communications in Probability, 16:262–270, 2011.
315
+
316
+ Masatoshi Uehara and Nan Jiang. Minimax weight and q-function learning for off-policy evaluation. arXiv preprint arXiv:1910.12809, 2019.
317
+
318
+ Sudhir Varma and Richard Simon. Bias in error estimation when using cross-validation for model selection. BMC bioinformatics, 7(1):91, 2006.
319
+
320
+ Martin J Wainwright. Variance-reduced $q$ -learning is minimax optimal. arXiv preprint arXiv:1906.04697, 2019.
321
+
322
+ Ruosong Wang, Dean P Foster, and Sham M Kakade. What are the statistical limits of offline rl with linear function approximation? arXiv preprint arXiv:2010.11895, 2020.
323
+
324
+ Tengyang Xie and Nan Jiang. Batch value-function approximation with only realizability. arXiv preprint arXiv:2008.04990, 2020a.
325
+
326
+ Tengyang Xie and Nan Jiang. $\mathbf { Q } ^ { * }$ approximation schemes for batch reinforcement learning: A theoretical comparison. arXiv preprint arXiv:2003.03924, 2020b.
327
+
328
+ Tengyang Xie, Yifei Ma, and Yu-Xiang. Wang. Towards optimal off-policy evaluation for reinforcement learning with marginalized importance sampling. In Advances in Neural Information Processing Systems, 2019.
329
+
330
+ Lin Yang and Mengdi Wang. Sample-optimal parametric q-learning using linearly additive features. In International Conference on Machine Learning, pages 6995–7004, 2019.
331
+
332
+ Ming Yin and Yu-Xiang Wang. Asymptotically efficient off-policy evaluation for tabular reinforcement learning. In AISTATS-20, 2020.
333
+
334
+ Ming Yin, Yu Bai, and Yu-Xiang Wang. Near optimal provable uniform convergence in off-policy evaluation for reinforcement learning. In AISTATS-21, 2021.
335
+
336
+ Andrea Zanette. Exponential lower bounds for batch reinforcement learning: Batch rl can be exponentially harder than online rl. arXiv preprint arXiv:2012.08005, 2020.
337
+
338
+ Andrea Zanette and Emma Brunskill. Tighter problem-dependent regret bounds in reinforcement learning without domain knowledge using value function bounds. arXiv preprint arXiv:1901.00210, 2019.
339
+
340
+ Lijun Zhang, Mehrdad Mahdavi, and Rong Jin. Linear convergence with condition number independent access of full gradients. Advances in Neural Information Processing Systems, 26:980–988, 2013.
341
+
342
+ Zihan Zhang, Yuan Zhou, and Xiangyang Ji. Almost optimal model-free reinforcement learning via reference-advantage decomposition. arXiv preprint arXiv:2004.10019, 2020.
parse/train/MlFcgL2AP4d/MlFcgL2AP4d_content_list.json ADDED
@@ -0,0 +1,1655 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Near-Optimal Offline Reinforcement Learning via Double Variance Reduction ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 196,
8
+ 122,
9
+ 803,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ming Yin 1,3, Yu Bai2, and Yu-Xiang Wang1 ",
17
+ "bbox": [
18
+ 348,
19
+ 218,
20
+ 648,
21
+ 234
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1Department of Computer Science, UC Santa Barbara 2Salesforce Research 3Department of Statistics and Applied Probability, UC Santa Barbara ming_yin@ucsb.edu yu.bai@salesforce.com yuxiangw@cs.ucsb.edu ",
28
+ "bbox": [
29
+ 232,
30
+ 246,
31
+ 769,
32
+ 303
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 343,
43
+ 535,
44
+ 359
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "We consider the problem of offline reinforcement learning (RL) — a well-motivated setting of RL that aims at policy optimization using only historical data. Despite its wide applicability, theoretical understandings of offline RL, such as its optimal sample complexity, remain largely open even in basic settings such as tabular Markov Decision Processes (MDPs). In this paper, we propose Off-Policy Double Variance Reduction (OPDVR), a new variance reduction based algorithm for offline RL. Our main result shows that OPDVR provably identifies an $\\epsilon$ -optimal policy with $\\widetilde { O } ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ episodes of offline data in the finite-horizon stationary transition setting, where $H$ is the horizon length and $d _ { m }$ is the minimal marginal stateaction distribution induced by the behavior policy. This improves over the best known upper bound by a factor of $H$ . Moreover, we establish an informationtheoretic lower bound of $\\Omega ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ which certifies that OPDVR is optimal up to logarithmic factors. Lastly, we show that OPDVR also achieves rate-optimal sample complexity under alternative settings such as the finite-horizon MDPs with non-stationary transitions and the infinite horizon MDPs with discounted rewards. ",
51
+ "bbox": [
52
+ 233,
53
+ 375,
54
+ 766,
55
+ 584
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 174,
65
+ 612,
66
+ 310,
67
+ 630
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Offline reinforcement learning (offline RL) aims at learning the near-optimal policy by using a static offline dataset that is collected by a certain behavior policy $\\mu$ [Lange et al., 2012]. As offline RL agent has no access to interact with the environment, it is more widely applicable to problems where online interaction is infeasible, e.g. when trials-and-errors are expensive (robotics, education), risky (autonomous driving) or even unethical (healthcare) [see,e.g., a recent survey Levine et al., 2020]. ",
74
+ "bbox": [
75
+ 174,
76
+ 643,
77
+ 825,
78
+ 713
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Despite its practical significance, a precise theoretical understanding of offline RL has been lacking. Previous sample complexity bounds for RL has primarily focused on the online setting [Azar et al., 2017, Jin et al., 2018, Zanette and Brunskill, 2019, Simchowitz and Jamieson, 2019, Efroni et al., 2019, Cai et al., 2019] or the generative model (simulator) setting [Azar et al., 2013, Sidford et al., 2018a,b, Yang and Wang, 2019, Agarwal et al., 2020, Wainwright, 2019, Lattimore and Szepesvari, 2019], both of which assuming interactive access to the environment and not applicable to offline RL. On the other hand, the sample complexity of offline RL remains unsettled even for environments with finitely many state and actions, a.k.a, the tabular MDPs (Markov Decision Processes). One major line of work is concerned with the off-policy evaluation (OPE) problem [Li et al., 2015, Jiang and Li, 2016, Liu et al., 2018, Kallus and Uehara, 2019a,b, Uehara and Jiang, 2019, Xie et al., 2019, Yin and Wang, 2020, Duan and Wang, 2020]. These works provide sample complexity bounds for evaluating the performance of a fixed policy, and do not imply guarantees for policy optimization. Another line of work studies the sample complexity of offline policy optimization in conjunction with function approximation [Chen and Jiang, 2019, Xie and Jiang, 2020b,a, Jin et al., 2020]. These results apply to offline RL with general function classes, but when specialized to the tabular setting, they give rather loose sample complexity bounds with suboptimal dependencies on various parameters 1 ",
85
+ "bbox": [
86
+ 174,
87
+ 719,
88
+ 826,
89
+ 900
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "table",
95
+ "img_path": "images/9f4d58c5db91d883dad056bf7216c439652183f5cae9decac3079defe9752264.jpg",
96
+ "table_caption": [
97
+ "Table 1: Comparison of sample complexities for tabular offline RL interpretation. "
98
+ ],
99
+ "table_footnote": [
100
+ "a Number of episodes in the finite horizon setting and number of steps in the infinite horizon. b $\\mathrm { ~ \\it ~ \\beta _ { \\mu } , C , C _ { \\mu } , 1 \\bar { / } } d _ { m }$ are the concentrability-type coefficients that measure the state-action coverage. See Assumption 2.1 and also Section F.2 for discussions. "
101
+ ],
102
+ "table_body": "<table><tr><td>Method/Analysis</td><td>Setting</td><td>Assumptions</td><td>Sample complexitya</td></tr><tr><td>BFVT[Xie and Jiang,2020a]</td><td>Oo-horizon</td><td>onlyrealizability+MDP concentrabilityb</td><td>0(1-γ)-8C²/∈4)</td></tr><tr><td>MBS-PI/QI[Liu et al., 2020b]</td><td>oo-horizon</td><td>completeness+bounded den- sity estimation error</td><td>0(1-γ)-8C²/e²)</td></tr><tr><td>Le et al. [2019]</td><td>o-horizon</td><td>Full Concentrability</td><td>0((1-γ)-6βμ/e²)</td></tr><tr><td>FQI [Chen and Jiang, 2019]</td><td>o-horizon</td><td>Full Concentrability</td><td>0((1-γ)-6C/e2)</td></tr><tr><td>MSBO/MABO [Xie and Jiang,2020b]</td><td>oo-horizon</td><td>Full Concentrability</td><td>0((1-γ)-4Cμ/e2)</td></tr><tr><td>OPEMA [Yin et al.,2021]</td><td>H-horizon non-stationary</td><td>Full Concentrability</td><td>O(H3/dm∈²)</td></tr><tr><td>OPDVR (Section 3) OPDVR (Section 4)</td><td>H-horizon non-stationary</td><td>Weak Coverage</td><td>O(H3/dme²)</td></tr><tr><td></td><td>H-horizon stationary</td><td>Weak Coverage</td><td>O(H²/dme²)</td></tr><tr><td>OPDVR (Section 4.2)</td><td>oo-horizon</td><td>Weak Coverage</td><td>0((1-γ)-3/dm∈²)</td></tr></table>",
103
+ "bbox": [
104
+ 171,
105
+ 111,
106
+ 823,
107
+ 267
108
+ ],
109
+ "page_idx": 1
110
+ },
111
+ {
112
+ "type": "text",
113
+ "text": "",
114
+ "bbox": [
115
+ 174,
116
+ 337,
117
+ 823,
118
+ 378
119
+ ],
120
+ "page_idx": 1
121
+ },
122
+ {
123
+ "type": "text",
124
+ "text": "The recent work of Yin et al. [2021] showed that the optimal sample complexity for finding an $\\epsilon$ -optimal policy in offline RL is $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ in the finite-horizon non-stationarysetting (with matching upper and lower bounds), where $H$ is the horizon length and $d _ { m }$ is a constant related to the data coverage of the behavior policy in the given MDP. However, the optimal sample complexity in alternative settings such as stationary transition or infinite-horizon settings remains unknown. Further, the $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ sample complexity is achieved by an off-policy evaluation $^ +$ uniform convergence type algorithm; other more practical algorithms including (stochastic) optimal planning algorithms such as Q-Learning are not well understood in offline RL. ",
125
+ "bbox": [
126
+ 173,
127
+ 385,
128
+ 825,
129
+ 501
130
+ ],
131
+ "page_idx": 1
132
+ },
133
+ {
134
+ "type": "text",
135
+ "text": "Our Contributions In this paper, we propose an algorithm OPDVR (Off-Policy Doubled Variance Reduction) for offline reinforcement learning based on an extension of the variance reduction technique initiated in [Sidford et al., 2018a, Yang and Wang, 2019]. OPDVR performs stochastic (minibatch style) value iterations using the available offline data, and can be seen as a version of stochastic optimal planning that interpolates value iteration and Q-learning. Our main contributions are summarized as follows. ",
136
+ "bbox": [
137
+ 174,
138
+ 507,
139
+ 825,
140
+ 590
141
+ ],
142
+ "page_idx": 1
143
+ },
144
+ {
145
+ "type": "text",
146
+ "text": "• We show that OPDVR finds an $\\epsilon$ -optimal policy with high probability using $\\widetilde { O } ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ episodes of offline data (Section 4.1). This improves upon the best known sample complexity by an $H$ factor and to the best of our knowledge is the first that achieves an $\\bar { O } ( H ^ { 2 } )$ horizon dependence, thus separating the stationary case with the non-stationary case for offline RL. We establish a sample (episode) complexity lower bound $\\Omega ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ for offline RL in the finite-horizon stationary setting (Theorem 4.2), showing that the sample complexity of OPDVR is optimal up to logarithmic factors. • In the finite-horizon non-stationary setting, and infinite horizon $\\gamma$ -discounted setting, we show that OPDVR achieves $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ sample (episode) complexity (Section 3) and $\\widetilde { O } ( ( 1 - \\gamma ) ^ { - 3 } / d _ { m } \\epsilon ^ { 2 } )$ sample complexity (Section 4.2) respectively. They are both optimal up to logarithmic factors and our infinite-horizon result improves over the best known results, e.g., those derived for the fitted Q-iteration style algorithms [Xie and Jiang, 2020b]. On the technical end, our algorithm presents a sharp analysis of offline RL with stationary transitions, and, importantly, the use of the doubling technique to resolve the initialization dependence defect which fails to make the original variance reduction algorithm of [Sidford et al., 2018a] to be optimal, see Appendix F.4. Running [Sidford et al., 2018a] may not yield the desired accuracy as they stated and our result is robust in preserving the optimality. ",
147
+ "bbox": [
148
+ 215,
149
+ 599,
150
+ 825,
151
+ 849
152
+ ],
153
+ "page_idx": 1
154
+ },
155
+ {
156
+ "type": "text",
157
+ "text": "Related work. There is a large and growing body of work on the theory of offline RL and RL in general. We could not hope to provide a comprehensive survey, thus will instead highlight the few prior work that we depend upon on the technical level. The variance reduction techniques that we use in this paper builds upon the work of [Sidford et al., 2018a] in the generative model setting, though it is nontrivial in adapting their techniques to the offline setting; and our two-stage variance reduction appears essential for obtaining optimal rate for $\\epsilon > 1$ (see Section 5 and Appendix F.4 for more detailed discussions). We also used a fictitious estimator technique that originates from the OPE literature[Xie et al., 2019, Yin and Wang, 2020], but extended it to the stationary-transition case, and to the policy optimization problem. As we mentioned earlier, the optimal sample complexity in offline RL in the tabular MDPs with stationary transitions was not settled. The result of [Yin et al., 2021] is optimal in the non-stationary case, but is suboptimal by a factor of $H$ in the stationary case. Our lower bound is a variant of the construction of [Yin et al., 2021] that applies to the stationary case. Other existing work on offline RL has even weaker parameters (sometimes due to their setting being more general, see details in Table 1). We defer more detailed discussion related to the OPE literature and online RL / generative model literature to Appendix A due to space constraint. ",
158
+ "bbox": [
159
+ 176,
160
+ 859,
161
+ 823,
162
+ 888
163
+ ],
164
+ "page_idx": 1
165
+ },
166
+ {
167
+ "type": "text",
168
+ "text": "",
169
+ "bbox": [
170
+ 173,
171
+ 90,
172
+ 826,
173
+ 271
174
+ ],
175
+ "page_idx": 2
176
+ },
177
+ {
178
+ "type": "text",
179
+ "text": "2 Preliminaries ",
180
+ "text_level": 1,
181
+ "bbox": [
182
+ 174,
183
+ 285,
184
+ 318,
185
+ 301
186
+ ],
187
+ "page_idx": 2
188
+ },
189
+ {
190
+ "type": "text",
191
+ "text": "We consider reinforcement learning problems modeled by finite Markov Decision Processes (MDPs) (we focus on the finite-horizon episodic setting, and defer the infinite-horizon discounted setting to Section 4.2.) An MDP is denoted by a tuple $\\bar { M } = ( S , A , r , T , d _ { 1 } , H )$ , where $s$ and $\\mathcal { A }$ are the state and action spaces with finite cardinality $| S | = S$ and $| { \\mathcal { A } } | = A$ . $P _ { t } : S \\times \\mathcal { A } \\times \\mathcal { S } [ 0 , 1 ]$ is the transition kernel with $P _ { t } ( s ^ { \\prime } | s , a )$ be the probability of entering state $s ^ { \\prime }$ after taking action $a$ at state $s$ . We consider both the stationary and non-stationary transition setting: The stationary transition setting assumes $P _ { t } \\equiv P$ is identical for all $t \\in [ H ]$ , and the non-stationary transition setting allows $P _ { t }$ to be different for different $t$ . $r _ { t } : S \\times \\mathcal { A } [ 0 , 1 ]$ is the reward function which we assume to be deterministic2. $d _ { 1 }$ is the initial state distribution, and $H$ is the time horizon. A (non-stationary) policy $\\pi : S \\to \\mathbb { P } _ { A } ^ { H }$ assigns to each state $s _ { t } \\in S$ a distribution over actions at each time $t$ . We use $d _ { t } ^ { \\pi } ( s , a )$ or $d _ { t } ^ { \\pi } ( s )$ to denote the marginal state-action/state distribution induced by policy $\\pi$ at time $t$ i.e. $d _ { t } ^ { \\pi } ( s ) : = \\mathbb { P } ^ { \\pi } ( s _ { t } = s )$ and $d _ { t } ^ { \\pi } \\bar { ( } s , a ) : = \\mathbb { P } ^ { \\pi } ( s _ { t } = s , a _ { t } = a )$ . ",
192
+ "bbox": [
193
+ 173,
194
+ 309,
195
+ 825,
196
+ 477
197
+ ],
198
+ "page_idx": 2
199
+ },
200
+ {
201
+ "type": "text",
202
+ "text": "$Q$ -value and Bellman operator. For any policy $\\pi$ and any fixed time $t$ , the value function $\\begin{array} { r } { \\mathbb { E } \\left[ \\sum _ { i = t } ^ { H } r _ { i } \\Big | s _ { t } = s \\right] , Q _ { t } ^ { \\pi } ( s , a ) \\ = \\ \\mathbb { E } \\left[ \\sum _ { i = t } ^ { H } r _ { i } \\Big | s _ { t } , a _ { t } = s , a \\right] } \\end{array}$ $V _ { t } ^ { \\pi } ( \\cdot ) ~ \\in ~ \\mathbb { R } ^ { S }$ and $Q$ -value function $\\mathsf { \\bar { \\Psi } } Q _ { t } ^ { \\mathsf { \\bar { \\pi } } } ( \\cdot , \\cdot ) \\ \\in \\ \\mathbb { R } ^ { S \\times A } , \\ \\forall s , a$ . For the ease of exposition, we always is defined as: $V _ { t } ^ { \\pi } ( s ) ~ =$ enumerate $Q ^ { \\pi }$ as a column vector and similarly for $\\bar { P } _ { t } ( \\cdot | s , a )$ . Moreover, for any vector $Q \\in$ $\\mathbb { R } ^ { S \\times A }$ , the induced value vector and policy is defined in the greedy way: $\\forall s _ { t } \\in \\dot { S } , V _ { Q } ( s _ { t } ) =$ $\\operatorname* { m a x } _ { a _ { t } \\in A } Q ( s _ { t } , a _ { t } )$ , $\\pi _ { Q } ( s _ { t } ) = \\operatorname { a r g m a x } _ { a _ { t } \\in \\mathcal { A } } Q ( s _ { t } , a _ { t } )$ . Given an MDP, for any vector $V ~ \\in ~ \\mathbb { R } ^ { s }$ and any deterministic policy $\\pi$ , $\\forall t \\in [ H ]$ the Bellman operator $\\mathcal { T } _ { t } ^ { \\pi } : \\mathbb { R } ^ { S } \\mathbb { R } ^ { S }$ is defined as: $[ \\mathcal T _ { t } ^ { \\pi } ( V ) ] ( s ) : = r ( s , \\pi _ { t } ( s ) ) + P _ { t } ^ { \\top } ( \\cdot | s , \\pi _ { t } ( s ) ) V$ , and the corresponding Bellman optimality operator $\\mathcal { T } _ { t } : \\mathbb { R } ^ { S } \\mathbb { R } ^ { S }$ , $\\begin{array} { r } { [ \\mathcal { T } _ { t } ( V ) ] ( s ) : = \\operatorname* { m a x } _ { a \\in \\mathcal { A } } [ r ( s , a ) + P _ { t } ^ { \\top } ( \\cdot | s , a ) V ] } \\end{array}$ . Lastly, for a given value function $V _ { t }$ , we define backup function $z _ { t } ( s _ { t } , a _ { t } ) : = P _ { t } ^ { \\top } ( \\cdot | s _ { t } , a _ { t } ) V _ { t + 1 }$ and the one-step variance as $\\begin{array} { r } { \\sigma _ { V _ { t + 1 } } ( s _ { t } , a _ { t } ) : = \\mathrm { V a r } _ { s _ { t + 1 } } [ \\bar { V } _ { t + 1 } ( s _ { t + 1 } ) | s _ { t } , a _ { t } ] } \\end{array}$ . ",
203
+ "bbox": [
204
+ 173,
205
+ 481,
206
+ 826,
207
+ 651
208
+ ],
209
+ "page_idx": 2
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "Offline learning problem. In this paper we investigate the offline learning problem, where we do not have interactive access to the MDP, and can only observe a static dataset $\\mathcal { D } =$ $\\left\\{ ( s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } , r _ { t } ^ { ( i ) } , s _ { t + 1 } ^ { ( i ) } ) \\right\\} _ { i \\in [ n ] } ^ { t \\in [ H ] }$ .We assume that $\\mathcal { D }$ is obtained by executing a pre-specified behav$\\mu$ ) for , whe $n$ episodes and collecting the trajectories each episode is rendered in the form: $\\tau ^ { ( i ) } \\ = \\ ( s _ { 1 } ^ { ( i ) } , a _ { 1 } ^ { ( i ) } , r _ { 1 } ^ { ( i ) } , \\ldots , s _ { H } ^ { ( i ) } , a _ { H } ^ { ( i ) } , r _ { H } ^ { ( i ) } , s _ { H + 1 } ^ { ( i ) } )$ $s _ { 1 } ^ { ( i ) } \\sim d _ { 1 }$ , $a _ { t } ^ { ( i ) } \\sim \\mu _ { t } ( \\cdot | s _ { t } ^ { ( i ) } )$ , $r _ { t } ^ { ( i ) } = r ( s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } )$ , and $s _ { t + 1 } ^ { ( i ) } \\sim P _ { t } ( \\cdot | s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } )$ . Given the dataset $\\mathcal { D }$ , our goal is to find an $\\epsilon$ -optimal policy $\\pi _ { \\mathrm { o u t } }$ , in the sense that $| | V _ { 1 } ^ { \\pi ^ { \\star } } - V _ { 1 } ^ { \\pi _ { \\mathrm { o u t } } } | | _ { \\infty } < \\epsilon$ . ",
214
+ "bbox": [
215
+ 173,
216
+ 656,
217
+ 826,
218
+ 782
219
+ ],
220
+ "page_idx": 2
221
+ },
222
+ {
223
+ "type": "text",
224
+ "text": "Assumption on data coverage Due to the curse of distributional shift, efficient offline RL is only possible under certain data coverage properties for the behavior policy $\\mu$ . Throughout this paper we assume the following: ",
225
+ "bbox": [
226
+ 174,
227
+ 786,
228
+ 825,
229
+ 829
230
+ ],
231
+ "page_idx": 2
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "Assumption 2.1 (Weak coverage). The behavior policy $\\mu$ satisfies the following: There exists some optimal policy $\\pi ^ { \\star }$ such that $d _ { t ^ { \\prime } } ^ { \\mu } ( s _ { t ^ { \\prime } } , a _ { t ^ { \\prime } } ) > 0$ if there exists $t < t ^ { \\prime }$ such that ${ d _ { t : t ^ { \\prime } } ^ { \\pi ^ { \\star } } } ( s _ { t ^ { \\prime } } , a _ { t ^ { \\prime } } | s _ { t } , a _ { t } ) > 0$ , where $d _ { t : t ^ { \\prime } } ^ { \\pi ^ { \\star } } \\big ( s _ { t ^ { \\prime } } , a _ { t ^ { \\prime } } | s _ { t } , a _ { t } \\big )$ is the conditional multi-step transition probability from step $t$ to $t ^ { \\prime }$ . ",
236
+ "bbox": [
237
+ 174,
238
+ 833,
239
+ 825,
240
+ 881
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "text",
246
+ "text": "Intuitively, Assumption 2.1 requires $\\mu$ to “cover” certain optimal policy $\\pi ^ { \\star }$ , in the sense that any $s _ { t ^ { \\prime } } , a _ { t ^ { \\prime } }$ is reachable by $\\mu$ if it is attainable from a previous state-action pair by $\\pi ^ { \\star }$ . It is similar to [Liu et al., 2019, Assumption 1]. Note that this is weaker than the standard “concentrability” assumption [Munos, 2003, Le et al., 2019, Chen and Jiang, 2019]: Concentrability defines $\\beta _ { \\mu } : =$ $\\begin{array} { r } { \\operatorname* { s u p } _ { \\pi \\in \\Pi } \\vert \\vert d ^ { \\pi } ( s _ { t } , a _ { t } ) / d ^ { \\mu } ( s _ { t } , a _ { t } ) \\vert \\vert _ { \\infty } < \\infty } \\end{array}$ (cf. [Le et al., 2019, Assumption 1 & Example 4.1]), which requires the sufficient exploration for tabular case3 since we optimize over all policies (see Section F.2 for a discussion). In contrast, our assumption only requires $\\mu$ to “trace” one single optimal policy.4 ",
247
+ "bbox": [
248
+ 173,
249
+ 90,
250
+ 826,
251
+ 190
252
+ ],
253
+ "page_idx": 3
254
+ },
255
+ {
256
+ "type": "text",
257
+ "text": "With Assumption 2.1, we define ",
258
+ "bbox": [
259
+ 176,
260
+ 195,
261
+ 387,
262
+ 209
263
+ ],
264
+ "page_idx": 3
265
+ },
266
+ {
267
+ "type": "equation",
268
+ "img_path": "images/5039d12737ea5f30e0336ef4b7dcc8ce02b19670240d0f8f7cbce5ed5b915f1d.jpg",
269
+ "text": "$$\nd _ { m } : = \\operatorname* { m i n } _ { t , s _ { t } , a _ { t } } \\{ d _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) : d _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) > 0 \\} ,\n$$",
270
+ "text_format": "latex",
271
+ "bbox": [
272
+ 367,
273
+ 213,
274
+ 629,
275
+ 234
276
+ ],
277
+ "page_idx": 3
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "which is decided by the behavior policy $\\mu$ and is required by offline learning (see Theorem G.2 in Yin et al. [2021]). In general, $d _ { m }$ is unknown yet we assume $d _ { m }$ is known for the moment and will utilize $d _ { m }$ in our algorithms. Indeed, in Lemma 5.1, we show that estimating $d _ { m }$ up to a multiplicative factor only requires $\\widetilde { O } ( 1 / d _ { m } )$ episodes of offline data; replacing the exact $d _ { m }$ with this estimator suffices for our purpose and, importantly, will not affect our downstream sample complexities. ",
282
+ "bbox": [
283
+ 173,
284
+ 237,
285
+ 825,
286
+ 310
287
+ ],
288
+ "page_idx": 3
289
+ },
290
+ {
291
+ "type": "text",
292
+ "text": "3 Variance reduction for offline RL ",
293
+ "text_level": 1,
294
+ "bbox": [
295
+ 174,
296
+ 328,
297
+ 482,
298
+ 345
299
+ ],
300
+ "page_idx": 3
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "In this section, we introduce our main algorithm Off-Policy Double Variance Reduction (OPDVR), and present its theoretical guarantee in the finite-horizion non-stationary setting. ",
305
+ "bbox": [
306
+ 173,
307
+ 359,
308
+ 825,
309
+ 388
310
+ ],
311
+ "page_idx": 3
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "3.1 Review: variance reduction for RL ",
316
+ "text_level": 1,
317
+ "bbox": [
318
+ 174,
319
+ 404,
320
+ 455,
321
+ 417
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "We begin by briefly reviewing the variance reduction algorithm for online reinforcement learning, where we have the interactive access to the environment. ",
328
+ "bbox": [
329
+ 173,
330
+ 428,
331
+ 825,
332
+ 457
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Variance reduction (VR) initially emerged as a technique for obtaining fast convergence in large scale optimization problems, for example in the Stochastic Variance Reduction Gradient method (SVRG, [Johnson and Zhang, 2013, Zhang et al., 2013]). This technique is later brought into reinforcement learning for handling policy evaluation [Du et al., 2017] and policy optimization problems [Sidford et al., 2018b,a, Yang and Wang, 2019, Wainwright, 2019, Sidford et al., 2020, Li et al., 2020, Zhang et al., 2020]. ",
339
+ "bbox": [
340
+ 173,
341
+ 463,
342
+ 825,
343
+ 546
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "In the case of policy optimization, VR is an algorithm that approximately iterating the Bellman optimality equation, using an inner loop that performs an approximate value (or Q-value) iteration using fresh interactive data to estimate $\\hat { V } ^ { \\star }$ , and an outer loop that performs multiple steps of such iterations to refine the estimates. Concretely, to obtain an reliable $\\mathsf { \\bar { Q } } _ { t } ( s , a )$ for some step $t \\in [ H ]$ , by the Bellman equation $Q _ { t } ( s , a ) = r ( s , a ) + P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 }$ , we need to estimate $P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 }$ with sufficient accuracy. VR handles this by decomposing: ",
350
+ "bbox": [
351
+ 173,
352
+ 551,
353
+ 825,
354
+ 632
355
+ ],
356
+ "page_idx": 3
357
+ },
358
+ {
359
+ "type": "equation",
360
+ "img_path": "images/e9468959c1be0a29be7a1d38ccba62d88f8823ecace0a565e78d1f6568fc5ed1.jpg",
361
+ "text": "$$\n\\begin{array} { r } { P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 } = P _ { t } ^ { \\top } ( \\cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \\mathrm { i n } } ) + P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 } ^ { \\mathrm { i n } } , } \\end{array}\n$$",
362
+ "text_format": "latex",
363
+ "bbox": [
364
+ 313,
365
+ 633,
366
+ 699,
367
+ 654
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "where $V _ { t + 1 } ^ { \\mathrm { i n } }$ is a reference value function obtained from previous calculation (See line 4,13 in the inner loop of Algorithm 1) and $P _ { t } ^ { \\top } ( \\cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \\mathrm { i n } } )$ , $P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 } ^ { \\mathrm { i n } }$ are estimated separately at different stages. This technique can help in reducing the “effective variance” along the learning process (see Wainwright [2019] Section 2 for a discussion). ",
374
+ "bbox": [
375
+ 174,
376
+ 656,
377
+ 825,
378
+ 715
379
+ ],
380
+ "page_idx": 3
381
+ },
382
+ {
383
+ "type": "text",
384
+ "text": "In addition, in order to translate the guarantees from learning values to learning policies5, we build on the following “monotonicity property”: For any policy $\\pi$ that satisfies the monotonicity condition $V _ { t } \\le { \\mathcal T } _ { \\pi _ { t } } V _ { t + 1 }$ for all $t \\in [ H ]$ , the performance of $\\pi$ is sandwiched as $V _ { t } \\leq V _ { t } ^ { \\pi } \\leq V _ { t } ^ { \\star }$ , i.e. $\\pi$ is guaranteed to perform the same or better than $V _ { t }$ . This property is first captured by [Sidford et al., 2018a] (for completeness we provide a proof in Lemma B.1), and later reused by Yang and Wang [2019], Sidford et al. [2020] under different settings. We rely on this property in our offline setting as well for providing policy optimization guarantees. ",
385
+ "bbox": [
386
+ 173,
387
+ 722,
388
+ 825,
389
+ 819
390
+ ],
391
+ "page_idx": 3
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "1: Functional input: Integer valued function $\\overline { { \\mathbf { m } : \\mathbb { R } _ { + } \\to \\mathbb { N } } }$ . Off-policy estimator $\\mathbf { z } _ { t } , \\mathbf { g } _ { t }$ in function forms that \nprovides lower confidence bounds (LCB) of the two terms in the bootstrapped value function (2). \n2: Static input: Initial value function $V _ { t } ^ { ( 0 ) }$ and $\\pi _ { t } ^ { ( 0 ) }$ (which satisfy $V _ { t } ^ { ( 0 ) } ~ \\leq ~ { \\mathcal T } _ { \\pi _ { t } ^ { ( 0 ) } } V _ { t + 1 } ^ { ( 0 ) }$ and $V _ { H + 1 } ^ { ( 0 ) } \\equiv 0 )$ . \nA scalar $u ^ { ( 0 ) }$ satisfies $\\begin{array} { r } { u ^ { ( 0 ) } \\geq \\operatorname* { s u p } _ { t } | | V _ { t } ^ { \\star } - V _ { t } ^ { ( 0 ) } | | _ { \\infty } } \\end{array}$ . Outer loop iterations $K$ . Offline dataset $\\mathcal { D } =$ \n$\\{ \\{ s _ { t } ^ { ( i ) } , a _ { t } ^ { ( i ) } , r _ { t } ^ { ( i ) } \\} _ { t = 1 } ^ { H } \\} _ { i = 1 } ^ { n }$ from $\\mu$ as a data-stream where $\\begin{array} { r } { n \\geq \\sum _ { i = 1 } ^ { K } 2 \\cdot \\mathbf { m } ( u ^ { ( 0 ) } \\cdot 2 ^ { - ( i - 1 ) } ) } \\end{array}$ . \n3: ————————4: function QVI-VR $( \\mathcal { D } _ { 1 } , \\mathcal { D } _ { 2 } ^ { ( 1 : H ) } , V _ { t } ^ { \\mathrm { i n } } , \\pi ^ { \\mathrm { i n } } , \\mathbf { z } _ { t } , \\mathbf { g } _ { t } , u ^ { \\mathrm { i n } } )$ — \n5: $\\diamond$ Computing reference with $\\mathcal { D } _ { 1 }$ : Initialize $Q _ { t } \\mathbf { 0 } \\in \\mathbb { R } ^ { S \\times A }$ for $t \\in [ H + 1 ]$ . \n6: for $t \\in [ H ]$ and each pair $( s _ { t } , a _ { t } ) \\in S \\times \\mathcal { A }$ do \n7: $\\diamond$ Compute an LCB of $\\boldsymbol { P } _ { t } ^ { \\top } ( \\cdot | s _ { t } , a _ { t } ) \\boldsymbol { V } _ { t + 1 } ^ { i n }$ : $z _ { t } \\gets \\mathbf { z } _ { t } ( \\mathcal { D } _ { 1 } , V _ { t + 1 } ^ { \\mathrm { i n } } , u ^ { \\mathrm { i n } } )$ \n8: end for \n9: \u0005 Value Iterations with D(1:H)2 : \n10: for $t = H + 1 , H , . . . , 1$ do \n11: $\\diamond$ Update value function: $V _ { t } \\gets \\operatorname* { m a x } ( V _ { Q _ { t } } , V _ { t } ^ { \\mathrm { i n } } )$ . \n12: $\\diamond$ Update policy: $\\forall s _ { t }$ , if $V _ { t } ( s _ { t } ) = V _ { t } ^ { \\mathrm { i n } } ( s _ { t } )$ , set $\\pi _ { t } ( s _ { t } ) \\pi _ { t } ^ { \\mathrm { i n } } ( s _ { t } )$ ; else set $\\pi _ { t } ( s _ { t } ) \\pi _ { Q _ { t } } ( s _ { t } )$ . \n13: if $t \\geq 1$ then \n14: $\\diamond$ LCB of $P ^ { \\top } ( \\cdot | s _ { t - 1 } , a _ { t - 1 } ) [ V _ { t } - V _ { t } ^ { \\mathrm { i n } } ]$ : $g _ { t - 1 } \\gets \\mathbf { g } _ { t - 1 } ( \\mathcal { D } _ { 2 } ^ { ( t - 1 ) } , V _ { t } , V _ { t } ^ { \\mathrm { i n } } , u ^ { \\mathrm { i n } } ) .$ \n15: $\\diamond$ Update $Q$ function: $Q _ { t - 1 } r + z _ { t - 1 } + g _ { t - 1 }$ \n16: end if \n17: end for \n18: end function and Return: $V _ { 1 } , . . . , V _ { H }$ and $\\pi$ \n19: OUTER LOOP — \n20: for $i = 1 , . . . , K$ do \n21: Set $m ^ { ( i ) } \\to \\mathbf { m } ( u ^ { ( i - 1 ) } )$ ; Get $\\mathcal { D } _ { 1 }$ with size $\\boldsymbol { m } ^ { ( i ) }$ and $\\mathcal { D } _ { 2 } ^ { ( t ) }$ with size $\\textstyle \\frac { m ^ { ( i ) } } { H } { \\left( u ^ { ( i - 1 ) } \\right) } ^ { 2 }$ for all $t \\in [ H ]$ from \nthe stream $\\mathcal { D }$ . \n22: Ca $V ^ { ( i ) }$ $\\tilde { \\mathbf { \\Gamma } } _ { , \\pi ^ { ( i ) } } ^ { } \\dot { \\mathbf { \\Gamma } } _ { } \\operatorname { Q V I } \\mathbf { \\mathrm { - } } \\mathbf { V R } \\big ( \\mathcal { D } _ { 1 } , \\mathcal { D } _ { 2 } , V ^ { ( i - 1 ) } , \\pi ^ { ( i - 1 ) } , \\mathbf { z } _ { t } , \\mathbf { g } _ { t } , u ^ { ( i - 1 ) } \\big ) , \\operatorname { S e t } u ^ { ( i ) } u ^ { ( i - 1 ) } / 2 .$ \n23: end for and Output: $V ^ { ( K ) } , \\pi ^ { ( K ) }$ ",
396
+ "bbox": [
397
+ 173,
398
+ 108,
399
+ 826,
400
+ 477
401
+ ],
402
+ "page_idx": 4
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "3.2 OPDVR: variance reduction for offline RL ",
407
+ "text_level": 1,
408
+ "bbox": [
409
+ 173,
410
+ 502,
411
+ 509,
412
+ 518
413
+ ],
414
+ "page_idx": 4
415
+ },
416
+ {
417
+ "type": "text",
418
+ "text": "We now explain how we design the VR algorithm in the offline setting. Even though our primary novel contribution is for the stationary case (Theorem 4.1), we begin with non-stationary setting for the ease of explaining algorithmic design. We let $\\iota : = \\log ( H S A / \\delta )$ as a short hand. ",
419
+ "bbox": [
420
+ 174,
421
+ 529,
422
+ 823,
423
+ 571
424
+ ],
425
+ "page_idx": 4
426
+ },
427
+ {
428
+ "type": "text",
429
+ "text": "Prototypical offline VR. We first describe a prototypical version of our offline VR algorithm in Algorithm 1, which we will instantiate with different parameters twice (hence the name“Double”) in each of the three settings of interest. ",
430
+ "bbox": [
431
+ 174,
432
+ 577,
433
+ 821,
434
+ 619
435
+ ],
436
+ "page_idx": 4
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "Algorithm 1 takes estimators $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ that produce lower confidence bounds (LCB) of the two terms in (2) using offline data. Specifically, we assume $\\mathbf { z } _ { t } , \\mathbf { g } _ { t }$ are both available in function forms in that they take an offline dataset (with an arbitrary size), fixed value function $V _ { t + 1 } , V _ { t + 1 } ^ { \\mathrm { i n } }$ and an external scalar input $u$ then return $\\boldsymbol { z } _ { t } , \\boldsymbol { g } _ { t } \\in \\mathbb { R } ^ { S \\times A }$ . $z _ { t } , g _ { t }$ satisfies that ",
441
+ "bbox": [
442
+ 173,
443
+ 625,
444
+ 825,
445
+ 684
446
+ ],
447
+ "page_idx": 4
448
+ },
449
+ {
450
+ "type": "equation",
451
+ "img_path": "images/223e03317fef8d1d2a121f27b9e2e6447cba2963bde90d0fb78660f206b7242a.jpg",
452
+ "text": "$$\n\\begin{array} { r } { z _ { t } ( s _ { t } , a _ { t } ) \\leq P ^ { \\top } ( \\cdot | s _ { t } , a _ { t } ) V _ { t + 1 } ^ { \\mathrm { i n } } , \\quad g _ { t } ( s _ { t } , a _ { t } ) \\leq P ^ { \\top } ( \\cdot | s _ { t } , a _ { t } ) [ V _ { t + 1 } - V _ { t + 1 } ^ { \\mathrm { i n } } ] , } \\end{array}\n$$",
453
+ "text_format": "latex",
454
+ "bbox": [
455
+ 258,
456
+ 688,
457
+ 738,
458
+ 708
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "uniformly for all $s _ { t } , a _ { t }$ with high probability. ",
465
+ "bbox": [
466
+ 174,
467
+ 713,
468
+ 468,
469
+ 728
470
+ ],
471
+ "page_idx": 4
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "Algorithm 1 then proceeds by taking the input offline dataset as a stream of iid sampled trajectories and use an exponentially increasing-sized batches of independent data to pass in $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ while updating the estimated $Q$ value function by applying the Bellman backup operator except that the update is based on a conservative and variance reduced estimated values. Each inner loop iteration backs up from the last time-step and update all $Q _ { t }$ for $t = H , . . . , 1$ ; and each outer loop iteration passes a new batch of data into the inner loop while ensuring reducing the suboptimality gap from the optimal policy by a factor of 2 in each outer loop iteration, provided that the estimators $\\mathbf { z } _ { t } + \\mathbf { g } _ { t }$ are increasingly more accurate estimates of (2) as the suboptimality gap gets smaller. ",
476
+ "bbox": [
477
+ 173,
478
+ 733,
479
+ 825,
480
+ 845
481
+ ],
482
+ "page_idx": 4
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "Plug-in estimators and high-confidence LCBs. The estimators $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ we use for the three different settings are provided in Figure 3.2. They are essentially the natural plug-in estimators of $P _ { t } ^ { \\top } ( \\cdot | s , a ) ( V _ { t + 1 } - V _ { t + 1 } ^ { \\mathrm { \\bar { i } n } } )$ and $P _ { t } ^ { \\top } ( \\cdot | s , a ) V _ { t + 1 } ^ { \\mathrm { i n } }$ as well as their standard deviation by replacing $P _ { t }$ with $\\widehat { P } _ { t }$ except that we use two disjoint splits $\\mathcal { D } _ { 1 }$ and $\\mathcal { D } _ { 2 } ^ { ( 1 ) } , \\ldots , \\mathcal { D } _ { 2 } ^ { ( H ) }$ for $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ so they remain ",
487
+ "bbox": [
488
+ 173,
489
+ 851,
490
+ 825,
491
+ 912
492
+ ],
493
+ "page_idx": 4
494
+ },
495
+ {
496
+ "type": "table",
497
+ "img_path": "images/ff70f9ecdd7d5c4b814a68484016f26bef4d0d6055e9d72b3a0e8a7893f3dead.jpg",
498
+ "table_caption": [
499
+ "Figure 1: The implementable “plug-in” lower confidence bound estimators $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ "
500
+ ],
501
+ "table_footnote": [
502
+ "∗ $m , \\iota$ are the number of episodes in $\\mathcal { D } _ { 1 } , \\mathcal { D } _ { 2 } ^ { ( t ) }$ respectively. $\\iota$ is a logarithmic factor in $H S A / \\delta$ in the finite horizon case and $S A / \\delta$ in the infinite horizon cases. ${ n } _ { s { t } , a { t } }$ is the number of times $s _ { t } , a _ { t }$ appears at time $t$ in $\\mathcal { D } _ { 1 }$ ; and $n ^ { \\prime } ( s _ { t } , a _ { t } )$ is the that for $\\mathcal { D } _ { 2 } ^ { ( t ) }$ . In the case when $n _ { s _ { t } , a _ { t } } = 0$ , we simply output 0 for all quantities above. ",
503
+ ""
504
+ ],
505
+ "table_body": "<table><tr><td>Setting</td><td>z(D,V1,u)</td><td></td><td colspan=\"3\">gt(D,Vt+1,V1,)</td></tr><tr><td>Non-stationary</td><td>∑V()) nst,at 1 V(</td><td rowspan=\"2\">Wtt 1 na 1</td><td rowspan=\"2\">∑j-V</td><td rowspan=\"2\"></td></tr><tr><td>Stationary</td></tr><tr><td>o-Horizon</td><td>𝑛s,a ∑V(s).1s(=sa(s) 𝑛s,a</td><td>Wa 1</td><td>∑jv(s)()f</td><td></td></tr><tr><td>Setting</td><td>(st,at)</td><td>4ov</td><td>et(st,at)</td><td>ft(st,at,u)</td></tr><tr><td>Non-stationary</td><td>∑V 1 nst,at</td><td>nst,at </td><td>L 3/4 +16Vmaxnst,t L L</td><td>4u Wtat L</td></tr><tr><td>Stationary</td><td>∑ ns,a</td><td>4vin 1</td><td>)3/4 4+16Vmax ns, n5,a 3/4</td><td>4u 医</td></tr><tr><td>o-Horizon</td><td>∑V()2</td><td></td><td>+2√6·Vmax 16Vmaxt + 𝑛s,a ns,a 3𝑛𝑠,a</td><td>4u log(2RSA/8) n,a</td></tr></table>",
506
+ "bbox": [
507
+ 173,
508
+ 109,
509
+ 823,
510
+ 231
511
+ ],
512
+ "page_idx": 5
513
+ },
514
+ {
515
+ "type": "text",
516
+ "text": "Algorithm 2 (OPDVR) Off-Policy Doubled Variance Reduction ",
517
+ "text_level": 1,
518
+ "bbox": [
519
+ 173,
520
+ 299,
521
+ 596,
522
+ 314
523
+ ],
524
+ "page_idx": 5
525
+ },
526
+ {
527
+ "type": "text",
528
+ "text": "input Offline Dataset $\\mathcal { D }$ of size $_ n$ as a stream. Target accuracy $\\epsilon , \\delta$ such that the algorithm does not use up $\\mathcal { D }$ . \ninput Estimators $\\mathbf { z } _ { t } , \\mathbf { g } _ { t }$ in function forms, $m _ { 1 } ^ { \\prime } , m _ { 2 } ^ { \\prime } , K _ { 1 } , K _ { 2 }$ . ",
529
+ "bbox": [
530
+ 173,
531
+ 316,
532
+ 821,
533
+ 342
534
+ ],
535
+ "page_idx": 5
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "1: $\\diamond$ Stage 1. coarse learning: a “warm-up” procedure \n2: Set $V _ { t } ^ { ( 0 ) } : = \\mathbf { 0 }$ and any policy $\\pi ^ { ( 0 ) }$ . Set initial $u ^ { ( 0 ) } : = H$ . Set $\\mathbf { m } ( u ) = m _ { 1 } ^ { \\prime } \\log ( 1 6 H S A K _ { 1 } ) / u ^ { 2 }$ . \n3: Run Algorithm 1 with $\\begin{array} { r } { \\mathbf { m } , \\mathbf { z } _ { t } , \\mathbf { g } _ { t } , V _ { t } ^ { ( 0 ) } , \\pi ^ { ( 0 ) } , u ^ { ( 0 ) } , K _ { 1 } , \\mathcal { D } } \\end{array}$ and return $V _ { t } ^ { \\mathrm { i } }$ ntermediate, $\\pi$ intermediate. \n4: $\\diamond$ Stage 2. fine learning: reduce error to given accuracy \n5: Reset initial values $V _ { t } ^ { ( 0 ) } : = V _ { t } ^ { \\mathrm { i n t e r m e d i a t e } }$ and policy $\\pi ^ { ( 0 ) } : = \\pi ^ { \\mathrm { i n t e r m e d i a t e } }$ . Set $u ^ { ( 0 ) } : = \\sqrt { H }$ . \n6: Reset $\\mathbf { m } ( u )$ by replacing $m _ { 1 } ^ { \\prime }$ with $m _ { 2 } ^ { \\prime }$ , $K _ { 1 }$ with $K _ { 2 }$ . \n7: Run Algorithm 1 with $\\mathbf { m } , \\mathbf { z } _ { t } , \\mathbf { g } _ { t } , V _ { t } ^ { ( 0 ) } , \\pi ^ { ( 0 ) } , u ^ { ( 0 ) } , K _ { 2 } , \\mathcal { D }$ and return $V _ { t } ^ { \\mathrm { f i n a l } } , \\pi ^ { \\mathrm { f i n a l } }$ . \noutput $V _ { t } ^ { \\mathrm { f i n a l } }$ , $\\pi$ final ",
540
+ "bbox": [
541
+ 178,
542
+ 343,
543
+ 787,
544
+ 452
545
+ ],
546
+ "page_idx": 5
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "statistically independent. We also remark that $P _ { t }$ is of dimension $S ^ { 2 } A$ , and we operates in the sparse regime where the number of observed samples could be drastically smaller than the total number of coordinates there are. In other words, $\\widehat { P } _ { t }$ will be sparse as most of its coordinates are 0. The saving grace is that when we fix $V _ { t + 1 }$ and $V _ { t + 1 } ^ { \\mathrm { i n } }$ , the output space collapsed to only $_ { S A }$ dimensional, which ensures that we have sufficient number of data points to produce accurate estimates. ",
551
+ "bbox": [
552
+ 174,
553
+ 494,
554
+ 825,
555
+ 568
556
+ ],
557
+ "page_idx": 5
558
+ },
559
+ {
560
+ "type": "text",
561
+ "text": "A key difference from the generative model setting is that these estimators are dependent across $t$ , thus it requires new technical steps to establish the convergence of these estimators as well as putting them together to show that Algorithm 1 works. ",
562
+ "bbox": [
563
+ 173,
564
+ 573,
565
+ 825,
566
+ 616
567
+ ],
568
+ "page_idx": 5
569
+ },
570
+ {
571
+ "type": "text",
572
+ "text": "The doubling procedure. It turns out that Algorithm 1 alone does not yield a tight sample complexity guarantee, due to its suboptimal dependence on the initial optimality gap $u ^ { ( 0 ) } \\geq \\operatorname* { s u p } _ { t } \\| V _ { t } ^ { \\star } - V _ { t } ^ { ( 0 ) } \\| _ { \\infty }$ (recall $u ^ { ( 0 ) }$ is the initial parameter in the outer loop of Algorithm 1). This is captured in the following (for the non-stationary case): ",
573
+ "bbox": [
574
+ 173,
575
+ 621,
576
+ 825,
577
+ 683
578
+ ],
579
+ "page_idx": 5
580
+ },
581
+ {
582
+ "type": "text",
583
+ "text": "Proposition 3.1 (Informal version of Lemma B.10). Suppose $\\epsilon \\in ( 0 , 1 ]$ is the final target accuracy. Algorithm 1 outputs the $\\epsilon$ -optimal policy with episode complexity: ",
584
+ "bbox": [
585
+ 171,
586
+ 690,
587
+ 825,
588
+ 720
589
+ ],
590
+ "page_idx": 5
591
+ },
592
+ {
593
+ "type": "equation",
594
+ "img_path": "images/aae7b592d56efa8bf373f9d12c2e319eee0a5190c0b910b88f391f42e85d364f.jpg",
595
+ "text": "$$\n\\bullet \\tilde { O } ( H ^ { 4 } / d _ { m } \\epsilon ^ { 2 } ) , \\quad I f u ^ { ( 0 ) } > \\sqrt { H } ; \\quad \\bullet \\tilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } ) , \\quad I f u ^ { ( 0 ) } \\leq \\sqrt { H } .\n$$",
596
+ "text_format": "latex",
597
+ "bbox": [
598
+ 263,
599
+ 734,
600
+ 733,
601
+ 756
602
+ ],
603
+ "page_idx": 5
604
+ },
605
+ {
606
+ "type": "text",
607
+ "text": "Proposition 3.1 suggests that Algorithm 1 may have a suboptimal sample complexity when the initial optimality gap $u ^ { ( 0 ) } > \\sqrt { H }$ . Unfortunately, this is precisely the case for standard initializations such as $V _ { t } ^ { ( 0 ) } : = \\mathbf { 0 }$ , for which we must take $u ^ { ( 0 ) } = H$ . We overcome this issue by designing a two-stage doubling procedure: At stage 1, we use Algorithm 1 to obtain $V _ { t } ^ { 1 }$ ntermediate, $\\pi$ intermediate that are $\\epsilon ^ { \\prime } = \\sqrt { H } \\epsilon$ accurate; At stage 2, we then use Algorithm 1 again with $V _ { t } ^ { \\mathrm { i } }$ ntermediate, $\\pi$ intermediate as the input and further reduce the error from $\\epsilon ^ { \\prime }$ to $\\epsilon$ . The main take-away of this doubling procedure is that the episode complexity of both stage is only $\\tilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ , therefore the total sample complexity optimality is preserved. The pseudo-code of the two-stage procedure OPDVR is summarized in Algorithm 2. ",
608
+ "bbox": [
609
+ 173,
610
+ 776,
611
+ 826,
612
+ 912
613
+ ],
614
+ "page_idx": 5
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "3.3 OPDVR for non-stationary transition settings ",
619
+ "text_level": 1,
620
+ "bbox": [
621
+ 176,
622
+ 90,
623
+ 526,
624
+ 106
625
+ ],
626
+ "page_idx": 6
627
+ },
628
+ {
629
+ "type": "text",
630
+ "text": "We now state our main theoretical guarantee for OPDVR in the finite-horizon non-stationary transition setting. ",
631
+ "bbox": [
632
+ 174,
633
+ 116,
634
+ 825,
635
+ 146
636
+ ],
637
+ "page_idx": 6
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "Theorem 3.2 (OPDVR in episodic non-stationary setting). For the $H$ -horizon non-stationary setting, there exist universal constants $c _ { 1 } , c _ { 2 } , c _ { 3 } > 0$ such that if we set √ $m _ { 1 } ^ { \\prime } = c _ { 1 } H ^ { 4 } / d _ { m }$ for Stage 1, $m _ { 2 } ^ { \\prime } =$ $c _ { 2 } H ^ { 3 } / d _ { m }$ for Stage 2, set $K _ { 1 } = K _ { 2 } = \\log _ { 2 } ( \\sqrt { H } / \\epsilon )$ , take $\\mathbf { g } _ { t }$ and $\\mathbf { z } _ { t }$ according to Figure 3.2, then OPDVR (Algorithm 2) with probability $1 - \\delta$ outputs an $\\epsilon$ -optimal policy $\\hat { \\pi }$ provided that the number of episodes in the offline data $\\mathcal { D }$ exceeds (below can be readily simplified as $\\widetilde { O } \\left( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } \\right) )$ : ",
642
+ "bbox": [
643
+ 173,
644
+ 148,
645
+ 825,
646
+ 222
647
+ ],
648
+ "page_idx": 6
649
+ },
650
+ {
651
+ "type": "equation",
652
+ "img_path": "images/66253805447d94bb8fc3cee8b21bc6bb3a48331c67cc660a54439f51515dcf17.jpg",
653
+ "text": "$$\n\\frac { c _ { 3 } \\operatorname* { m a x } [ \\frac { m _ { 1 } ^ { \\prime } } { H } , m _ { 2 } ^ { \\prime } ] } { \\epsilon ^ { 2 } } \\big ( \\iota + \\log \\log _ { 2 } ( \\frac { \\sqrt { H } } { \\epsilon } ) \\big ) \\log _ { 2 } ( \\frac { \\sqrt { H } } { \\epsilon } ) ,\n$$",
654
+ "text_format": "latex",
655
+ "bbox": [
656
+ 344,
657
+ 229,
658
+ 651,
659
+ 263
660
+ ],
661
+ "page_idx": 6
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "Optimality of sample complexity. Theorem 3.2 shows that our OPDVR algorithm can find an $\\epsilon$ -optimal policy with $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ episodes of offline data. Compared with the sample complexity lower bound $\\dot { \\Omega ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } ) }$ for offline learning (Theorem G.2. in Yin et al. [2021]), we see that our OPDVR algorithm matches the lower bound up to logarithmic factors. The same rate was achieved previously by the local uniform convergence argument of Yin et al. [2021] under a stronger assumption of full data coverage. ",
666
+ "bbox": [
667
+ 173,
668
+ 275,
669
+ 825,
670
+ 362
671
+ ],
672
+ "page_idx": 6
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "Proof sketch of Theorem 3.2. One challenge in analyzing OPDVR is that the number of statetransition samples are random and dependent. The idea of the proof is to first construct fictitious versions of estimators $\\mathbf { z } _ { t }$ (or $\\mathbf { g } _ { t }$ ), that uses the empirical plug-in formula only if the event $\\begin{array} { r } { E _ { m , t } = \\{ n _ { s _ { t } , a _ { t } } > \\frac { 1 } { 2 } m \\cdot d _ { t } ^ { \\mu } ( s _ { t } , \\dot { a _ { t } } ) \\} } \\end{array}$ (or $E _ { l , t } )$ are true, i.e., there are sufficient number of samples at $s _ { t } , a _ { t }$ . When there aren’t, we plug in the ground truth transition kernel $P _ { t }$ instead. These fictitious estimators are not implementable in practice, but they simplify the analysis and are central to our extension of the Variance Reduction framework previously used in the generative model setting [Sidford et al., 2018a] to the offline setting. The following proposition shows that practical implementations (summarized in Figure 3.2) are identical to these fictitious estimators with high probability: ",
677
+ "bbox": [
678
+ 173,
679
+ 382,
680
+ 826,
681
+ 508
682
+ ],
683
+ "page_idx": 6
684
+ },
685
+ {
686
+ "type": "text",
687
+ "text": "Proposition 3.3 (Summary of Section B.4). Under the condition of Theorem 3.2, we have ",
688
+ "bbox": [
689
+ 171,
690
+ 520,
691
+ 764,
692
+ 535
693
+ ],
694
+ "page_idx": 6
695
+ },
696
+ {
697
+ "type": "equation",
698
+ "img_path": "images/757a682cc941ebfe6bdb470b88ec05647dfd1909f17d5f032cf54af5958a387e.jpg",
699
+ "text": "$$\n\\mathbb { P } \\Bigg [ \\bigcup _ { \\stackrel { i \\in [ K _ { 1 } ] , } { t \\in [ H ] } } \\left( E _ { l , t } ^ { ( i ) c } \\cup E _ { m , t } ^ { ( i ) c } \\right) \\bigcup _ { \\stackrel { j \\in [ K _ { 2 } ] , } { t \\in [ H ] } } \\left( E _ { l , t } ^ { ( j ) c } \\cup E _ { m , t } ^ { ( j ) c } \\right) \\Bigg ] \\leq \\delta / 2 .\n$$",
700
+ "text_format": "latex",
701
+ "bbox": [
702
+ 331,
703
+ 544,
704
+ 665,
705
+ 582
706
+ ],
707
+ "page_idx": 6
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "This means with probability $1 - \\delta / 2$ , fictitious estimators $\\tilde { z } _ { t } , \\tilde { g } _ { t } , \\tilde { \\sigma }$ are all identical to their practical versions (summarized in Figure 3.2). ",
712
+ "bbox": [
713
+ 174,
714
+ 599,
715
+ 825,
716
+ 628
717
+ ],
718
+ "page_idx": 6
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "By Proposition 3.3, it suffices to analyze the performance of OPDVR instantiated with fictitious estimators (60) and (59). Theorem 3.2 then relies on analyzing the the prototypical OPDVR (Algorithm 1) with the fictitious estimators. In particular, both off-policy estimators $z _ { t }$ and $g _ { t }$ use lower confidence update to avoid over-optimism and the max operator in $V _ { t } = \\operatorname* { m a x } ( V _ { Q _ { t } } , V _ { t } ^ { \\mathrm { i n } } )$ helps prevent pessimism. By doing so the update $V _ { t }$ in Algorithm 1 always satisfies $0 \\leq V _ { t } \\leq V _ { t } ^ { \\star }$ , which is always within valid range. The doubling procedure of Algorithm 2 then first decreases the accuracy to a coarse level√ $\\epsilon ^ { \\prime } = \\sqrt { H } \\epsilon$ , and further lowers it to the given accuracy $\\epsilon$ . The key technical lemma for achieving optimal dependence in $H$ is Lemma G.5, which bounds the term $\\begin{array} { r } { \\sum _ { u = t } ^ { \\bar { H } } \\mathbb { E } _ { s _ { u } , a _ { u } } ^ { \\pi ^ { \\star } } \\left[ \\mathrm { V a r } [ V _ { u + 1 } ^ { \\star } ( s _ { u + 1 } ) | s _ { u } , \\bar { a _ { u } } ] \\right] } \\end{array}$ by $O ( H ^ { 2 } )$ instead of the naive $O ( H ^ { 3 } )$ . The full proof of Theorem 3.2 can be found in Appendix B. ",
723
+ "bbox": [
724
+ 173,
725
+ 646,
726
+ 826,
727
+ 775
728
+ ],
729
+ "page_idx": 6
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "4 OPDVR for stationary transition settings ",
734
+ "text_level": 1,
735
+ "bbox": [
736
+ 173,
737
+ 795,
738
+ 545,
739
+ 813
740
+ ],
741
+ "page_idx": 6
742
+ },
743
+ {
744
+ "type": "text",
745
+ "text": "In this section, we switch gears to the stationary transition setting, in which the transition probabilities are identical at all time steps: $P _ { t } ( s ^ { \\prime } | s , a ) : \\equiv P ( s ^ { \\prime } | s , a )$ . We will consider both the (a) finite-horizon case where each episode is consist of $H$ steps; and (b) the infinite-horizon case where the reward at the $t$ -th step is discounted by $\\gamma ^ { t }$ , where $\\gamma \\in ( 0 , 1 )$ is a discount factor. These settings encompass additional challenges compared with the non-stationary case, as in theory the transition probabilities can now be estimated more accurately due to the shared information across time steps. ",
746
+ "bbox": [
747
+ 174,
748
+ 827,
749
+ 825,
750
+ 911
751
+ ],
752
+ "page_idx": 6
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "4.1 Finite-horizon stationary setting ",
757
+ "text_level": 1,
758
+ "bbox": [
759
+ 174,
760
+ 90,
761
+ 437,
762
+ 106
763
+ ],
764
+ "page_idx": 7
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "We begin by considering the finite-horizon stationary setting. As this is a special case of the nonstationary setting, Theorem 3.2 implies that OPDVR achieves $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ sample complexity. However, similar as in online RL [Azar et al., 2017], this result may be potentially loose by an $O ( H )$ factor, as the algorithm does not take into account the stationarity of the transitions. This motivates us to design an algorithm that better leverages the stationarity by aggregating state-action pairs across different time steps (see the second rows of the two tables in Figure 3.2). ",
769
+ "bbox": [
770
+ 173,
771
+ 117,
772
+ 826,
773
+ 204
774
+ ],
775
+ "page_idx": 7
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "Theorem 4.1 (Sample complexity of OPDVR in finite-horizon stationary setting). In the $H$ -horizon stationary transition setting, there exists universal constants $c _ { 1 } ^ { \\prime } , c _ { 2 } ^ { \\prime } , c _ { 3 } ^ { \\prime }$ such that $i f$ we set $m _ { 1 } ^ { \\prime } =$ $c _ { 1 } ^ { \\prime } H ^ { 3 } / d _ { m }$ , $m _ { 2 } ^ { \\prime } = { c _ { 2 } ^ { \\prime } H ^ { 2 } } / { d _ { m } }$ for Stage 1 and 2, set $K _ { 1 } = K _ { 2 } = \\log _ { 2 } ( \\sqrt { H } / \\epsilon )$ , and take $\\mathbf { z } _ { t }$ and $\\mathbf { g } _ { t }$ according to Figure 3.2, then with probability $1 - \\delta$ , Practical OPDVR finds an $\\epsilon$ -optimal policy provided that the number of episodes in the offline data $\\mathcal { D }$ exceeds (which is of order $\\begin{array} { r } { \\widetilde { O } \\left( \\frac { H ^ { 2 } } { d _ { m } \\epsilon ^ { 2 } } \\right) } \\end{array}$ : ",
780
+ "bbox": [
781
+ 173,
782
+ 208,
783
+ 825,
784
+ 285
785
+ ],
786
+ "page_idx": 7
787
+ },
788
+ {
789
+ "type": "equation",
790
+ "img_path": "images/c87071c7e36b78e824455e9e94dffd55c1921c359ba444198a4e126419f2fbbb.jpg",
791
+ "text": "$$\n\\frac { c _ { 3 } ^ { \\prime } \\operatorname* { m a x } [ \\frac { m _ { 1 } ^ { \\prime } } { H } , m _ { 2 } ^ { \\prime } ] } { \\epsilon ^ { 2 } } \\Bigl ( \\iota + \\log \\log _ { 2 } ( \\frac { \\sqrt { H } } { \\epsilon } ) \\Bigr ) \\log _ { 2 } ( \\frac { \\sqrt { H } } { \\epsilon } ) ,\n$$",
792
+ "text_format": "latex",
793
+ "bbox": [
794
+ 341,
795
+ 294,
796
+ 653,
797
+ 328
798
+ ],
799
+ "page_idx": 7
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "Proof sketch. Similar to the proof of the non-stationary case, we start by reducing the problem to a fictitious version that replace the pathological events that happen with lowprobability with ground truth. Then the key challenge is how to analyze the stronger fictitious estimators that pools over steps within each roll-out. We design a martingale $\\begin{array} { r l } { X _ { k } } & { { } = } \\end{array}$ $\\begin{array} { r l r } { \\sum _ { i = 1 } ^ { m } \\sum _ { u = 1 } ^ { k - 1 } \\Big ( V _ { t + 1 } ^ { \\mathrm { i n } } \\big ( s _ { u + 1 } ^ { ( i ) } \\big ) - P ^ { \\top } \\big ( \\cdot | s , a \\big ) \\bar { V } _ { t + 1 } ^ { \\mathrm { i n } } \\Big ) \\cdot \\mathbf { 1 } \\big [ s _ { u } ^ { ( i ) } = s , a _ { u } ^ { ( i ) } = a \\big ] . } \\end{array}$ under the filtration $\\begin{array} { r l } { \\mathcal { F } _ { k } } & { { } : = } \\end{array}$ {s(i)u , a(i)u }u∈[k]i∈[m] for bounding $z _ { t } ( s _ { t } , a _ { t } ) ~ \\leq ~ P ^ { \\top } ( \\cdot | s _ { t } , a _ { t } ) V _ { t + 1 } ^ { \\mathrm { i n } }$ . The conditional variance sum $\\begin{array} { r } { \\sum _ { k = 1 } ^ { H } \\operatorname { V a r } \\big [ X _ { k + 1 } \\ \\big | \\ \\mathcal { F } _ { k } \\big ] \\ = \\ \\sum _ { k = 1 } ^ { H } \\sum _ { i = 1 } ^ { m } \\mathbf { 1 } \\Big [ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \\Big ] \\operatorname { V a r } \\Big [ V _ { t + 1 } ^ { \\operatorname* { i n } } \\ \\Big ( s _ { k + 1 } ^ { ( i ) } \\Big ) \\ \\big | \\ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \\Big ] } \\end{array}$ . For stationary case, $s _ { k + 1 } ^ { ( i ) } \\sim P ( \\cdot | s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a )$ is irrelevant to time $k$ so above equals $\\begin{array} { r } { \\sum _ { k = 1 } ^ { H } \\sum _ { i = 1 } ^ { m } \\mathbf { 1 } \\ : \\biggl [ s _ { k } ^ { ( i ) } , a _ { k } ^ { ( i ) } = s , a \\biggr ] } \\end{array}$ $\\sigma _ { V _ { t + 1 } ^ { \\mathrm { i n } } } ( s , a ) = n _ { s , a } \\cdot \\sigma _ { V _ { t + 1 } ^ { \\mathrm { i n } } } ( s , a ) .$ , where $V _ { t + 1 } ^ { \\mathrm { i n } }$ is later replaced by $V _ { t + 1 } ^ { \\star }$ and $\\begin{array} { r l } { ~ } & { { } \\sum _ { t = 1 } ^ { H } \\mathbb { E } _ { s , a } ^ { \\pi ^ { \\star } } [ \\sigma _ { V _ { t } ^ { \\star } } ( s , a ) ] } \\end{array}$ can be bounded by $H ^ { 2 }$ which is tight. In contrast, in non-stationary regime $P _ { t }$ is varying across time so we can only obtain $\\begin{array} { r } { \\sum _ { k = 1 } ^ { H } \\operatorname { V a r } \\left[ X _ { k + 1 } ~ | ~ \\mathcal { F } _ { k } \\right] \\leq n _ { s , a } \\operatorname* { m a x } _ { t } \\sigma _ { V _ { t } ^ { \\mathrm { i n } } } ( s , a ) } \\end{array}$ , which is later translated into $\\begin{array} { r } { \\sum _ { t = 1 } ^ { H } \\mathbb { E } _ { s , a } ^ { \\pi ^ { \\star } } [ \\operatorname* { m a x } _ { t } \\sigma _ { V _ { t } ^ { \\star } } ( s , a ) ] } \\end{array}$ and are of order $H ^ { 3 }$ tgeneral. To sum, the fact that $P$ is identical is carefully leveraged multiple times for obtaining $\\widetilde { O } ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ rate. The detailed proof of Theorem 4.1 can be found in Appendix C. ",
804
+ "bbox": [
805
+ 173,
806
+ 353,
807
+ 826,
808
+ 588
809
+ ],
810
+ "page_idx": 7
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Theorem 4.1 encompasses our main technical contribution, as the compact data aggregation among different time steps make analyzing the estimators (61) and (62) knotty due to data-dependence (unlike the non-stationary transition setting where estimators are designed using data at specific time). In particular, we need to fully exploit the property that transition $P$ is identical across different times in a pinpoint way to obtain the $\\Dot { H } ^ { 2 }$ dependence in the sample complexity bound. ",
815
+ "bbox": [
816
+ 173,
817
+ 602,
818
+ 826,
819
+ 672
820
+ ],
821
+ "page_idx": 7
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Improved dependence on $H$ . Theorem 4.1 shows that OPDVR achieves a sample complexity upper bound $\\widetilde { O } ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ in the stationary setting. To the best of our knowledge, this is the first result that achieves an $H ^ { 2 }$ dependence for offline RL with stationary transitions, and improves over the $H ^ { 3 }$ dependence in either the (non-stationary) OPDVR (Theorem 3.2) or the “off-policy evaluation $^ +$ uniform convergence” algorithm of Yin et al. [2021]. We exploit specific properties of $O P D V R$ in our techniques for knocking off a factor of $H$ and there seems to be no direct ways in applying the same techniques in improving the uniform convergence-style results for the stationary-transition setting. ",
826
+ "bbox": [
827
+ 173,
828
+ 678,
829
+ 826,
830
+ 779
831
+ ],
832
+ "page_idx": 7
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Optimality of $\\widetilde { O } ( H ^ { 2 } / d _ { m } \\epsilon ^ { 2 } )$ . We accompany Theorem 4.1 by a establishing a sample complexity lower bound for this setting, showing that our algorithm achieves the optimal dependence of all parameters up to logarithmic factors. The proof of Theorem 4.2 builds on modifying the $\\widetilde { O } ( H ^ { 3 } / d _ { m } \\epsilon ^ { 2 } )$ sample complexity lower bound in Yin et al. [2021], and can be found in Appendix E. ",
837
+ "bbox": [
838
+ 174,
839
+ 785,
840
+ 826,
841
+ 844
842
+ ],
843
+ "page_idx": 7
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "Theorem 4.2 (Information-theoretic lower bound). For all $0 ~ < ~ d _ { m } ~ \\le ~ \\frac { 1 } { S A }$ , let the family of problem be $\\begin{array} { r } { \\mathcal { M } _ { d _ { m } } \\ : = \\ \\big \\{ ( \\mu , M ) \\big | \\ \\operatorname* { m i n } _ { t , s _ { t } , a _ { t } } d _ { t } ^ { \\mu } \\big ( s _ { t } , a _ { t } \\big ) \\ \\geq \\ d _ { m } \\big \\} . } \\end{array}$ . There exists universal constants $c _ { 1 } , c _ { 2 } , c , p$ (with $H , S , A \\ \\geq \\ c _ { 1 }$ and $0 ~ < ~ \\epsilon ~ < ~ c _ { 2 } ,$ ) such that when $n ~ \\le ~ c H ^ { 2 } / d _ { m } \\epsilon ^ { 2 }$ , $\\begin{array} { r } { \\operatorname* { i n f } _ { v ^ { \\pi _ { a l g } } } \\operatorname* { s u p } _ { ( \\mu , M ) \\in \\mathcal { M } _ { d _ { m } } } \\mathbb { P } _ { \\mu , M } \\left( v ^ { * } - v ^ { \\pi _ { a l g } } \\geq \\epsilon \\right) \\geq p } \\end{array}$ . ",
848
+ "bbox": [
849
+ 173,
850
+ 849,
851
+ 826,
852
+ 915
853
+ ],
854
+ "page_idx": 7
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "4.2 Infinite-horizon discounted setting ",
859
+ "text_level": 1,
860
+ "bbox": [
861
+ 174,
862
+ 90,
863
+ 452,
864
+ 106
865
+ ],
866
+ "page_idx": 8
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "Finally, we consider the infinite-horizon discounted setting. The setting is slightly different to the finite horizon case as we adopt the same assumption of Chen and Jiang [2019], Xie and Jiang [2020b] that data $\\mathcal { D } = \\{ s ^ { ( i ) } , \\bar { a } ^ { ( i ) } , r ^ { ( i ) } , s ^ { \\prime ( i ) } \\} _ { i \\in [ n ] }$ are i.i.d off-policy pieces with $( s , a ) \\sim d ^ { \\mu }$ and $s ^ { \\prime } \\sim P ( \\cdot | s , a )$ . The infinite horizon-versions of OPDVR (Algorithm 3 and 4) are stated in the Appendix due to the space limit. ",
871
+ "bbox": [
872
+ 173,
873
+ 116,
874
+ 825,
875
+ 189
876
+ ],
877
+ "page_idx": 8
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "Theorem 4.3 (Sampe complexity of OPDVR in infinite-horizon discounted setting). Consider Algorithm 4. There are constants $c _ { 1 } ^ { \\prime } , c _ { 2 } ^ { \\prime } , c _ { 3 } ^ { \\prime }$ , such that if we set $m _ { 1 } ^ { \\prime } = O ( ( 1 - \\gamma ) ^ { - \\bar { 4 } } / d _ { m } ) , m _ { 2 } ^ { \\prime } =$ ${ \\check { O ( ( 1 - \\gamma ) ^ { - 3 } / d _ { m } ) } }$ (see more precise expressions in Lemma $D . 7 ,$ ), $K _ { 1 } = \\log _ { 2 } ( ( 1 - \\gamma ) ^ { - 1 } / \\epsilon ) , K _ { 2 } =$ $\\log _ { 2 } ( \\sqrt { ( 1 - \\gamma ) ^ { - 1 } } / \\epsilon )$ , $R = \\log ( 4 / \\epsilon ( 1 - \\gamma ) )$ , and choose LCB estimators z and $\\mathbf { g }$ as in Figure 3.2, then with probability $1 - \\delta$ , the infinite horizon version of OPDVR (Algorithm 4) outputs an \u000f-optimal policy provided that in offline data $\\mathcal { D }$ has number of samples exceeding ",
882
+ "bbox": [
883
+ 173,
884
+ 190,
885
+ 826,
886
+ 277
887
+ ],
888
+ "page_idx": 8
889
+ },
890
+ {
891
+ "type": "equation",
892
+ "img_path": "images/47e9d1c3dea2ae825e5a20d5f9357528cb6ced6483bcccd8c18d1c1630d55ccf.jpg",
893
+ "text": "$$\n\\begin{array} { c } { { \\frac { c _ { 3 } ^ { \\prime } \\operatorname* { m a x } [ \\frac { m _ { 1 } ^ { \\prime } } { ( 1 - \\gamma ) ^ { - 1 } } , m _ { 2 } ^ { \\prime } ] } { \\epsilon ^ { 2 } } \\cdot \\iota ^ { \\prime } = \\widetilde O \\left[ ( 1 - \\gamma ) ^ { - 3 } / d _ { m } \\epsilon ^ { 2 } \\right] . } } \\\\ { { \\cdot \\iota ^ { \\prime } : = R \\cdot ( \\log ( 3 2 ( 1 - \\gamma ) ^ { - 1 } R S A / \\delta ) + \\log \\log _ { 2 } ( \\sqrt { ( 1 - \\gamma ) ^ { - 1 } } / \\epsilon ) ) \\cdot \\log _ { 2 } ( \\sqrt { ( 1 - \\gamma ) ^ { - 1 } } / \\epsilon ) . } } \\end{array}\n$$",
894
+ "text_format": "latex",
895
+ "bbox": [
896
+ 173,
897
+ 279,
898
+ 802,
899
+ 339
900
+ ],
901
+ "page_idx": 8
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "We note that for the infinite horizon case, the sample-complexity measures the number of steps, thus $( 1 - \\gamma ) ^ { - 3 }$ is comparable to the $H ^ { 2 }$ dependence. To the best of our knowledge, Theorem 4.1 and Theorem 4.3 are the first results that achieve $H ^ { 2 }$ , $( 1 - \\gamma ) ^ { - 3 }$ dependence in the offline regime respectively for stationary transition and infinite horizon setting, see Table 1. ",
906
+ "bbox": [
907
+ 173,
908
+ 344,
909
+ 825,
910
+ 401
911
+ ],
912
+ "page_idx": 8
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "5 Discussions ",
917
+ "text_level": 1,
918
+ "bbox": [
919
+ 174,
920
+ 412,
921
+ 302,
922
+ 429
923
+ ],
924
+ "page_idx": 8
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Estimating $d _ { m }$ . It is worth mentioning that the input of OPDVR depends on unknown system quantity $d _ { m }$ . Nevertheless, $d _ { m }$ is only one-dimensional scalar and thus it is plausible (from a statistical perspective) to leverage standard parameter-tuning tools (e.g. cross validation [Varma and Simon, 2006]) for obtaining a reliable estimate in practice. On the theoretical side, we provide the following result to show plug-in on-policy estimator $\\widehat { d } _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) = n _ { s _ { t } , a _ { t } } / n$ and $\\begin{array} { r } { \\widehat { d } _ { m } : = \\operatorname* { m i n } _ { t , s _ { t } , a _ { t } } \\{ n _ { s _ { t } , a _ { t } } / n : } \\end{array}$ $n _ { s _ { t } , a _ { t } } > 0 \\}$ , is sufficient for accurately estimating $d _ { t } ^ { \\mu } , d _ { m }$ simultaneously. ",
929
+ "bbox": [
930
+ 173,
931
+ 436,
932
+ 826,
933
+ 523
934
+ ],
935
+ "page_idx": 8
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "Lemma 5.1. For the finite-horizon setting (either stationary or non-stationary), there exists universal constant c, s.t. when $n \\geq c \\cdot 1 / d _ { m } \\cdot \\log ( H S A / \\delta )$ , then w.p. $1 - \\delta$ , we have $\\forall t$ , $s _ { t } , a _ { t }$ , $\\textstyle { \\frac { 1 } { 2 } } d _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) \\leq$ $\\begin{array} { r } { \\widehat { d } _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) \\leq \\frac { 3 } { 2 } d _ { t } ^ { \\mu } ( s _ { t } , a _ { t } ) } \\end{array}$ and, in particular, $\\textstyle { \\frac { 1 } { 2 } } d _ { m } \\leq { \\widehat { d } } _ { m } \\leq { \\frac { 3 } { 2 } } d _ { m }$ . See Appendix F.1 for the proof. ",
940
+ "bbox": [
941
+ 173,
942
+ 525,
943
+ 825,
944
+ 574
945
+ ],
946
+ "page_idx": 8
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "Lemma 5.1 ensures one can replace $d _ { t } ^ { \\mu }$ by $\\widehat { d } _ { t } ^ { \\mu }$ $d _ { m }$ by $\\widehat { d } _ { m }$ ) in OPDVR and we obtain a fully dataadaptive algorithm. Note that the requirement on $n$ does not affect our near-minimax complexity bound in either Theorem 3.2 and 4.1—we only require $n \\approx \\tilde { \\Theta } ( 1 / d _ { m } )$ additional episodes to estimate $d _ { m }$ and it is of lower order compared to our upper bound $\\widetilde { O } ( H ^ { 3 } / d _ { m } )$ or $\\widetilde { \\cal O } ( H ^ { 2 } / d _ { m } ) )$ . ",
951
+ "bbox": [
952
+ 173,
953
+ 577,
954
+ 826,
955
+ 640
956
+ ],
957
+ "page_idx": 8
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "Computational and memory cost. OPDVR can be implemented as a streaming algorithm that uses only one pass of the dataset. Its computational cost is $\\widetilde { O } ( H ^ { 4 } / d _ { m } \\epsilon ^ { 2 } )$ — the same as its sample complexity in steps ( $H$ steps is an episode), and the memory cost is $O ( H S A )$ for the episodic case and $O ( S A )$ for the stationary or infinite horizon case. In particular, the double variance reduction technique does not introduce additional overhead beyond constant factors. ",
962
+ "bbox": [
963
+ 173,
964
+ 645,
965
+ 825,
966
+ 717
967
+ ],
968
+ "page_idx": 8
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "Improvement over VR in the generative model setting. This work extends of the variance reduction framework for RL in the generative model setting [Sidford et al., 2018a, Yang and Wang, 2019]. However, we make two improvements to these works. First, the data collected in the offline case are highly dependent (in contrast in the generative model setting each simulator call is independent), and disentangling the dependent structure makes the offline setting inherently more challenging. Second, our doubling mechanism always guarantee the minimax rate with any initialization and the single VR procedure does not have this property (see Appendix F.4 for a more detailed discussion), which could be a critical issue when Sidford et al. [2018a] claims the optimality. ",
973
+ "bbox": [
974
+ 173,
975
+ 722,
976
+ 826,
977
+ 835
978
+ ],
979
+ "page_idx": 8
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "6 Conclusion ",
984
+ "text_level": 1,
985
+ "bbox": [
986
+ 174,
987
+ 852,
988
+ 299,
989
+ 869
990
+ ],
991
+ "page_idx": 8
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "This paper proposes OPDVR (off-policy double variance reduction), a new variance reduction algorithm for offline reinforcement learning. We show that OPDVR achieves tight sample complexity for offline RL in tabular MDPs; in particular, OPDVR is the first algorithm that achieves the optimal sample complexity for offline RL in the stationary transition setting. On the technical end, we present a sharp analysis under stationary transitions, and use the doubling technique to resolve the initialization dependence in variance reduction, both of which could be of broader interest. There are several interesting next directions. For example, can our analysis shed light on other commonly used algorithms (such as Q-Learning) for offline RL? How can we better deal with insufficient data coverage? Can we go beyond the tabular setting? We would like to leave these as future work. ",
996
+ "bbox": [
997
+ 173,
998
+ 882,
999
+ 821,
1000
+ 911
1001
+ ],
1002
+ "page_idx": 8
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "",
1007
+ "bbox": [
1008
+ 174,
1009
+ 92,
1010
+ 825,
1011
+ 188
1012
+ ],
1013
+ "page_idx": 9
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "Acknowledgment ",
1018
+ "text_level": 1,
1019
+ "bbox": [
1020
+ 176,
1021
+ 205,
1022
+ 297,
1023
+ 219
1024
+ ],
1025
+ "page_idx": 9
1026
+ },
1027
+ {
1028
+ "type": "text",
1029
+ "text": "The authors would like to thank Lin F. Yang for the discussions about [Sidford et al., 2018a]. Ming Yin and Yu-Xiang Wang are partially supported by NSF Awards #2007117 and #2003257. Yu Bai is partly funded through the employment with Salesforce. ",
1030
+ "bbox": [
1031
+ 174,
1032
+ 231,
1033
+ 825,
1034
+ 272
1035
+ ],
1036
+ "page_idx": 9
1037
+ },
1038
+ {
1039
+ "type": "text",
1040
+ "text": "References ",
1041
+ "text_level": 1,
1042
+ "bbox": [
1043
+ 174,
1044
+ 292,
1045
+ 266,
1046
+ 309
1047
+ ],
1048
+ "page_idx": 9
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "Alekh Agarwal, Nan Jiang, and Sham M Kakade. Reinforcement learning: Theory and algorithms. CS Dept., UW Seattle, Seattle, WA, USA, Tech. Rep, 2019. ",
1053
+ "bbox": [
1054
+ 171,
1055
+ 316,
1056
+ 823,
1057
+ 345
1058
+ ],
1059
+ "page_idx": 9
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "text": "Alekh Agarwal, Sham Kakade, and Lin F Yang. Model-based reinforcement learning with a generative model is minimax optimal. In Conference on Learning Theory, pages 67–83. PMLR, 2020. ",
1064
+ "bbox": [
1065
+ 173,
1066
+ 354,
1067
+ 823,
1068
+ 383
1069
+ ],
1070
+ "page_idx": 9
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "András Antos, Csaba Szepesvári, and Rémi Munos. Fitted q-iteration in continuous action-space mdps. In Advances in neural information processing systems, pages 9–16, 2008a. ",
1075
+ "bbox": [
1076
+ 171,
1077
+ 392,
1078
+ 821,
1079
+ 421
1080
+ ],
1081
+ "page_idx": 9
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "András Antos, Csaba Szepesvári, and Rémi Munos. Learning near-optimal policies with bellmanresidual minimization based fitted policy iteration and a single sample path. Machine Learning, 71 (1):89–129, 2008b. ",
1086
+ "bbox": [
1087
+ 173,
1088
+ 431,
1089
+ 823,
1090
+ 473
1091
+ ],
1092
+ "page_idx": 9
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "Mohammad Gheshlaghi Azar, Rémi Munos, and Hilbert J Kappen. Minimax pac bounds on the sample complexity of reinforcement learning with a generative model. Machine learning, 91(3): 325–349, 2013. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 483,
1100
+ 826,
1101
+ 525
1102
+ ],
1103
+ "page_idx": 9
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "Mohammad Gheshlaghi Azar, Ian Osband, and Rémi Munos. Minimax regret bounds for reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 263–272. JMLR. org, 2017. ",
1108
+ "bbox": [
1109
+ 173,
1110
+ 535,
1111
+ 826,
1112
+ 578
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "Qi Cai, Zhuoran Yang, Chi Jin, and Zhaoran Wang. Provably efficient exploration in policy optimization. arXiv preprint arXiv:1912.05830, 2019. ",
1119
+ "bbox": [
1120
+ 173,
1121
+ 587,
1122
+ 823,
1123
+ 616
1124
+ ],
1125
+ "page_idx": 9
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "Jinglin Chen and Nan Jiang. Information-theoretic considerations in batch reinforcement learning. arXiv preprint arXiv:1905.00360, 2019. ",
1130
+ "bbox": [
1131
+ 173,
1132
+ 626,
1133
+ 825,
1134
+ 654
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Herman Chernoff et al. A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations. The Annals of Mathematical Statistics, 23(4):493–507, 1952. ",
1141
+ "bbox": [
1142
+ 169,
1143
+ 664,
1144
+ 825,
1145
+ 693
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "Fan Chung and Linyuan Lu. Concentration inequalities and martingale inequalities: a survey. Internet Mathematics, 3(1):79–127, 2006. ",
1152
+ "bbox": [
1153
+ 173,
1154
+ 702,
1155
+ 825,
1156
+ 731
1157
+ ],
1158
+ "page_idx": 9
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "Christoph Dann and Emma Brunskill. Sample complexity of episodic fixed-horizon reinforcement learning. In Advances in Neural Information Processing Systems, pages 2818–2826, 2015. ",
1163
+ "bbox": [
1164
+ 173,
1165
+ 739,
1166
+ 823,
1167
+ 770
1168
+ ],
1169
+ "page_idx": 9
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "Christoph Dann, Lihong Li, Wei Wei, and Emma Brunskill. Policy certificates: Towards accountable reinforcement learning. arXiv preprint arXiv:1811.03056, 2018. ",
1174
+ "bbox": [
1175
+ 171,
1176
+ 779,
1177
+ 823,
1178
+ 808
1179
+ ],
1180
+ "page_idx": 9
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "Omar Darwiche Domingues, Pierre Ménard, Emilie Kaufmann, and Michal Valko. Episodic reinforcement learning in finite mdps: Minimax lower bounds revisited. arXiv preprint arXiv:2010.03531, 2020. ",
1185
+ "bbox": [
1186
+ 176,
1187
+ 816,
1188
+ 823,
1189
+ 859
1190
+ ],
1191
+ "page_idx": 9
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "Simon S Du, Jianshu Chen, Lihong Li, Lin Xiao, and Dengyong Zhou. Stochastic variance reduction methods for policy evaluation. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 1049–1058. JMLR. org, 2017. ",
1196
+ "bbox": [
1197
+ 176,
1198
+ 868,
1199
+ 825,
1200
+ 911
1201
+ ],
1202
+ "page_idx": 9
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "Yaqi Duan and Mengdi Wang. Minimax-optimal off-policy evaluation with linear function approximation. arXiv preprint arXiv:2002.09516, 2020. ",
1207
+ "bbox": [
1208
+ 171,
1209
+ 90,
1210
+ 825,
1211
+ 119
1212
+ ],
1213
+ "page_idx": 10
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "Yonathan Efroni, Nadav Merlis, Mohammad Ghavamzadeh, and Shie Mannor. Tight regret bounds for model-based reinforcement learning with greedy policies. In Advances in Neural Information Processing Systems, pages 12203–12213, 2019. ",
1218
+ "bbox": [
1219
+ 178,
1220
+ 128,
1221
+ 823,
1222
+ 172
1223
+ ],
1224
+ "page_idx": 10
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "Yihao Feng, Tongzheng Ren, Ziyang Tang, and Qiang Liu. Accountable off-policy evaluation with kernel bellman statistics. In International Conference on Machine Learning, pages 3102–3111. PMLR, 2020. ",
1229
+ "bbox": [
1230
+ 176,
1231
+ 180,
1232
+ 823,
1233
+ 223
1234
+ ],
1235
+ "page_idx": 10
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In Proceedings of the 33rd International Conference on International Conference on Machine Learning-Volume 48, pages 652–661. JMLR. org, 2016. ",
1240
+ "bbox": [
1241
+ 174,
1242
+ 232,
1243
+ 823,
1244
+ 276
1245
+ ],
1246
+ "page_idx": 10
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Nan Jiang, Akshay Krishnamurthy, Alekh Agarwal, John Langford, and Robert E Schapire. Contextual decision processes with low bellman rank are pac-learnable. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pages 1704–1713. JMLR. org, 2017. ",
1251
+ "bbox": [
1252
+ 174,
1253
+ 284,
1254
+ 823,
1255
+ 328
1256
+ ],
1257
+ "page_idx": 10
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Chi Jin, Zeyuan Allen-Zhu, Sebastien Bubeck, and Michael I Jordan. Is q-learning provably efficient? In Advances in Neural Information Processing Systems, pages 4863–4873, 2018. ",
1262
+ "bbox": [
1263
+ 174,
1264
+ 335,
1265
+ 821,
1266
+ 366
1267
+ ],
1268
+ "page_idx": 10
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Ying Jin, Zhuoran Yang, and Zhaoran Wang. Is pessimism provably efficient for offline rl? arXiv preprint arXiv:2012.15085, 2020. ",
1273
+ "bbox": [
1274
+ 176,
1275
+ 373,
1276
+ 823,
1277
+ 404
1278
+ ],
1279
+ "page_idx": 10
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Rie Johnson and Tong Zhang. Accelerating stochastic gradient descent using predictive variance reduction. In Advances in neural information processing systems, pages 315–323, 2013. ",
1284
+ "bbox": [
1285
+ 174,
1286
+ 411,
1287
+ 823,
1288
+ 443
1289
+ ],
1290
+ "page_idx": 10
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "Nathan Kallus and Masatoshi Uehara. Double reinforcement learning for efficient off-policy evaluation in markov decision processes. arXiv preprint arXiv:1908.08526, 2019a. ",
1295
+ "bbox": [
1296
+ 174,
1297
+ 450,
1298
+ 823,
1299
+ 479
1300
+ ],
1301
+ "page_idx": 10
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Nathan Kallus and Masatoshi Uehara. Efficiently breaking the curse of horizon: Double reinforcement learning in infinite-horizon processes. arXiv preprint arXiv:1909.05850, 2019b. ",
1306
+ "bbox": [
1307
+ 173,
1308
+ 487,
1309
+ 821,
1310
+ 518
1311
+ ],
1312
+ "page_idx": 10
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "Akshay Krishnamurthy, Alekh Agarwal, and John Langford. Pac reinforcement learning with rich observations. In Advances in Neural Information Processing Systems, pages 1840–1848, 2016. ",
1317
+ "bbox": [
1318
+ 173,
1319
+ 526,
1320
+ 823,
1321
+ 556
1322
+ ],
1323
+ "page_idx": 10
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Sascha Lange, Thomas Gabel, and Martin Riedmiller. Batch reinforcement learning. In Reinforcement learning, pages 45–73. Springer, 2012. ",
1328
+ "bbox": [
1329
+ 173,
1330
+ 564,
1331
+ 823,
1332
+ 594
1333
+ ],
1334
+ "page_idx": 10
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "Tor Lattimore and Csaba Szepesvari. Learning with good feature representations in bandits and in rl with a generative model. arXiv preprint arXiv:1911.07676, 2019. ",
1339
+ "bbox": [
1340
+ 171,
1341
+ 602,
1342
+ 825,
1343
+ 632
1344
+ ],
1345
+ "page_idx": 10
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "Hoang M Le, Cameron Voloshin, and Yisong Yue. Batch policy learning under constraints. arXiv preprint arXiv:1903.08738, 2019. ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 640,
1353
+ 823,
1354
+ 670
1355
+ ],
1356
+ "page_idx": 10
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv preprint arXiv:2005.01643, 2020. ",
1361
+ "bbox": [
1362
+ 173,
1363
+ 678,
1364
+ 825,
1365
+ 708
1366
+ ],
1367
+ "page_idx": 10
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "Gen Li, Yuting Wei, Yuejie Chi, Yuantao Gu, and Yuxin Chen. Sample complexity of asynchronous q-learning: Sharper analysis and variance reduction. arXiv preprint arXiv:2006.03041, 2020. ",
1372
+ "bbox": [
1373
+ 171,
1374
+ 717,
1375
+ 825,
1376
+ 746
1377
+ ],
1378
+ "page_idx": 10
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "Lihong Li, Rémi Munos, and Csaba Szepesvári. Toward minimax off-policy value estimation. 2015. ",
1383
+ "bbox": [
1384
+ 173,
1385
+ 753,
1386
+ 825,
1387
+ 771
1388
+ ],
1389
+ "page_idx": 10
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "Qiang Liu, Lihong Li, Ziyang Tang, and Dengyong Zhou. Breaking the curse of horizon: Infinitehorizon off-policy estimation. In Advances in Neural Information Processing Systems, pages 5361–5371, 2018. ",
1394
+ "bbox": [
1395
+ 174,
1396
+ 779,
1397
+ 825,
1398
+ 821
1399
+ ],
1400
+ "page_idx": 10
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "Yao Liu, Adith Swaminathan, Alekh Agarwal, and Emma Brunskill. Off-policy policy gradient with state distribution correction. In Uncertainty in Artificial Intelligence, 2019. ",
1405
+ "bbox": [
1406
+ 171,
1407
+ 830,
1408
+ 823,
1409
+ 859
1410
+ ],
1411
+ "page_idx": 10
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "Yao Liu, Pierre-Luc Bacon, and Emma Brunskill. Understanding the curse of horizon in off-policy evaluation via conditional importance sampling. In International Conference on Machine Learning, pages 6184–6193. PMLR, 2020a. ",
1416
+ "bbox": [
1417
+ 176,
1418
+ 868,
1419
+ 826,
1420
+ 911
1421
+ ],
1422
+ "page_idx": 10
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "Yao Liu, Adith Swaminathan, Alekh Agarwal, and Emma Brunskill. Provably good batch reinforcement learning without great exploration. arXiv preprint arXiv:2007.08202, 2020b. ",
1427
+ "bbox": [
1428
+ 171,
1429
+ 90,
1430
+ 825,
1431
+ 121
1432
+ ],
1433
+ "page_idx": 11
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "Rémi Munos. Error bounds for approximate policy iteration. In ICML, volume 3, pages 560–567, 2003. ",
1438
+ "bbox": [
1439
+ 173,
1440
+ 126,
1441
+ 825,
1442
+ 155
1443
+ ],
1444
+ "page_idx": 11
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "Aaron Sidford, Mengdi Wang, Xian Wu, Lin Yang, and Yinyu Ye. Near-optimal time and sample complexities for solving markov decision processes with a generative model. In Advances in Neural Information Processing Systems, pages 5186–5196, 2018a. ",
1449
+ "bbox": [
1450
+ 174,
1451
+ 161,
1452
+ 823,
1453
+ 204
1454
+ ],
1455
+ "page_idx": 11
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Aaron Sidford, Mengdi Wang, Xian Wu, and Yinyu Ye. Variance reduced value iteration and faster algorithms for solving markov decision processes. In Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 770–787. SIAM, 2018b. ",
1460
+ "bbox": [
1461
+ 174,
1462
+ 210,
1463
+ 821,
1464
+ 253
1465
+ ],
1466
+ "page_idx": 11
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "Aaron Sidford, Mengdi Wang, Lin Yang, and Yinyu Ye. Solving discounted stochastic two-player games with near-optimal time and sample complexity. In International Conference on Artificial Intelligence and Statistics, pages 2992–3002. PMLR, 2020. ",
1471
+ "bbox": [
1472
+ 173,
1473
+ 258,
1474
+ 823,
1475
+ 303
1476
+ ],
1477
+ "page_idx": 11
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "Max Simchowitz and Kevin G Jamieson. Non-asymptotic gap-dependent regret bounds for tabular mdps. In Advances in Neural Information Processing Systems, pages 1151–1160, 2019. ",
1482
+ "bbox": [
1483
+ 174,
1484
+ 309,
1485
+ 821,
1486
+ 338
1487
+ ],
1488
+ "page_idx": 11
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "Joel Tropp et al. Freedman’s inequality for matrix martingales. Electronic Communications in Probability, 16:262–270, 2011. ",
1493
+ "bbox": [
1494
+ 174,
1495
+ 343,
1496
+ 823,
1497
+ 373
1498
+ ],
1499
+ "page_idx": 11
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "Masatoshi Uehara and Nan Jiang. Minimax weight and q-function learning for off-policy evaluation. arXiv preprint arXiv:1910.12809, 2019. ",
1504
+ "bbox": [
1505
+ 169,
1506
+ 378,
1507
+ 825,
1508
+ 409
1509
+ ],
1510
+ "page_idx": 11
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "Sudhir Varma and Richard Simon. Bias in error estimation when using cross-validation for model selection. BMC bioinformatics, 7(1):91, 2006. ",
1515
+ "bbox": [
1516
+ 171,
1517
+ 415,
1518
+ 825,
1519
+ 444
1520
+ ],
1521
+ "page_idx": 11
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "Martin J Wainwright. Variance-reduced $q$ -learning is minimax optimal. arXiv preprint arXiv:1906.04697, 2019. ",
1526
+ "bbox": [
1527
+ 174,
1528
+ 449,
1529
+ 823,
1530
+ 479
1531
+ ],
1532
+ "page_idx": 11
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "Ruosong Wang, Dean P Foster, and Sham M Kakade. What are the statistical limits of offline rl with linear function approximation? arXiv preprint arXiv:2010.11895, 2020. ",
1537
+ "bbox": [
1538
+ 173,
1539
+ 484,
1540
+ 823,
1541
+ 515
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "text",
1547
+ "text": "Tengyang Xie and Nan Jiang. Batch value-function approximation with only realizability. arXiv preprint arXiv:2008.04990, 2020a. ",
1548
+ "bbox": [
1549
+ 174,
1550
+ 520,
1551
+ 821,
1552
+ 550
1553
+ ],
1554
+ "page_idx": 11
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "text": "Tengyang Xie and Nan Jiang. $\\mathbf { Q } ^ { * }$ approximation schemes for batch reinforcement learning: A theoretical comparison. arXiv preprint arXiv:2003.03924, 2020b. ",
1559
+ "bbox": [
1560
+ 171,
1561
+ 556,
1562
+ 823,
1563
+ 585
1564
+ ],
1565
+ "page_idx": 11
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "Tengyang Xie, Yifei Ma, and Yu-Xiang. Wang. Towards optimal off-policy evaluation for reinforcement learning with marginalized importance sampling. In Advances in Neural Information Processing Systems, 2019. ",
1570
+ "bbox": [
1571
+ 173,
1572
+ 590,
1573
+ 823,
1574
+ 633
1575
+ ],
1576
+ "page_idx": 11
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": "Lin Yang and Mengdi Wang. Sample-optimal parametric q-learning using linearly additive features. In International Conference on Machine Learning, pages 6995–7004, 2019. ",
1581
+ "bbox": [
1582
+ 169,
1583
+ 640,
1584
+ 825,
1585
+ 670
1586
+ ],
1587
+ "page_idx": 11
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "text": "Ming Yin and Yu-Xiang Wang. Asymptotically efficient off-policy evaluation for tabular reinforcement learning. In AISTATS-20, 2020. ",
1592
+ "bbox": [
1593
+ 173,
1594
+ 676,
1595
+ 825,
1596
+ 705
1597
+ ],
1598
+ "page_idx": 11
1599
+ },
1600
+ {
1601
+ "type": "text",
1602
+ "text": "Ming Yin, Yu Bai, and Yu-Xiang Wang. Near optimal provable uniform convergence in off-policy evaluation for reinforcement learning. In AISTATS-21, 2021. ",
1603
+ "bbox": [
1604
+ 174,
1605
+ 710,
1606
+ 823,
1607
+ 741
1608
+ ],
1609
+ "page_idx": 11
1610
+ },
1611
+ {
1612
+ "type": "text",
1613
+ "text": "Andrea Zanette. Exponential lower bounds for batch reinforcement learning: Batch rl can be exponentially harder than online rl. arXiv preprint arXiv:2012.08005, 2020. ",
1614
+ "bbox": [
1615
+ 173,
1616
+ 746,
1617
+ 821,
1618
+ 776
1619
+ ],
1620
+ "page_idx": 11
1621
+ },
1622
+ {
1623
+ "type": "text",
1624
+ "text": "Andrea Zanette and Emma Brunskill. Tighter problem-dependent regret bounds in reinforcement learning without domain knowledge using value function bounds. arXiv preprint arXiv:1901.00210, 2019. ",
1625
+ "bbox": [
1626
+ 174,
1627
+ 781,
1628
+ 825,
1629
+ 824
1630
+ ],
1631
+ "page_idx": 11
1632
+ },
1633
+ {
1634
+ "type": "text",
1635
+ "text": "Lijun Zhang, Mehrdad Mahdavi, and Rong Jin. Linear convergence with condition number independent access of full gradients. Advances in Neural Information Processing Systems, 26:980–988, 2013. ",
1636
+ "bbox": [
1637
+ 176,
1638
+ 830,
1639
+ 825,
1640
+ 873
1641
+ ],
1642
+ "page_idx": 11
1643
+ },
1644
+ {
1645
+ "type": "text",
1646
+ "text": "Zihan Zhang, Yuan Zhou, and Xiangyang Ji. Almost optimal model-free reinforcement learning via reference-advantage decomposition. arXiv preprint arXiv:2004.10019, 2020. ",
1647
+ "bbox": [
1648
+ 173,
1649
+ 880,
1650
+ 823,
1651
+ 910
1652
+ ],
1653
+ "page_idx": 11
1654
+ }
1655
+ ]
parse/train/MlFcgL2AP4d/MlFcgL2AP4d_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/MlFcgL2AP4d/MlFcgL2AP4d_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/TgSVWXw22FQ/TgSVWXw22FQ.md ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # IMPROVING ZERO-SHOT VOICE STYLE TRANSFER VIADISENTANGLED REPRESENTATION LEARNING
2
+
3
+ Siyang Yuan1∗, Pengyu Cheng1∗, Ruiyi Zhang1, Weituo $\mathbf { H a o } ^ { 1 }$ , Zhe $\mathbf { G a n ^ { 2 } }$ and Lawrence Carin
4
+
5
+ 1Duke University, Durham, North Carolina, USA 2Microsoft, Redmond, Washington, USA {siyang.yuan,pengyu.cheng}@duke.edu
6
+
7
+ # ABSTRACT
8
+
9
+ Voice style transfer, also called voice conversion, seeks to modify one speaker’s voice to generate speech as if it came from another (target) speaker. Previous works have made progress on voice conversion with parallel training data and pre-known speakers. However, zero-shot voice style transfer, which learns from non-parallel data and generates voices for previously unseen speakers, remains a challenging problem. We propose a novel zero-shot voice transfer method via disentangled representation learning. The proposed method first encodes speakerrelated style and voice content of each input voice into separated low-dimensional embedding spaces, and then transfers to a new voice by combining the source content embedding and target style embedding through a decoder. With informationtheoretic guidance, the style and content embedding spaces are representative and (ideally) independent of each other. On real-world VCTK datasets, our method outperforms other baselines and obtains state-of-the-art results in terms of transfer accuracy and voice naturalness for voice style transfer experiments under both many-to-many and zero-shot setups.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Style transfer, which automatically converts a data instance into a target style, while preserving its content information, has attracted considerable attention in various machine learning domains, including computer vision (Gatys et al., 2016; Luan et al., 2017; Huang & Belongie, 2017), video processing (Huang et al., 2017; Chen et al., 2017), and natural language processing (Shen et al., 2017; Yang et al., 2018; Lample et al., 2019; Cheng et al., 2020b). In speech processing, style transfer was earlier recognized as voice conversion (VC) (Muda et al., 2010), which converts one speaker’s utterance, as if it was from another speaker but with the same semantic meaning. Voice style transfer (VST) has received long-term research interest, due to its potential for applications in security (Sisman et al., 2018), medicine (Nakamura et al., 2006), entertainment (Villavicencio & Bonada, 2010) and education (Mohammadi & Kain, 2017), among others.
14
+
15
+ Although widely investigated, VST remains challenging when applied to more general application scenarios. Most of the traditional VST methods require parallel training data, i.e., paired voices from two speakers uttering the same sentence. This constraint limits the application of such models in the real world, where data are often not pair-wise available. Among the few existing models that address non-parallel data (Hsu et al., 2016; Lee & Wu, 2006; Godoy et al., 2011), most methods cannot handle many-to-many transfer (Saito et al., 2018; Kaneko & Kameoka, 2018; Kameoka et al., 2018), which prevents them from converting multiple source voices to multiple target speaker styles. Even among the few non-parallel many-to-many transfer models, to the best of our knowledge, only two models (Qian et al., 2019; Chou & Lee, 2019) allow zero-shot transfer, i.e., conversion from/to newly-coming speakers (unseen during training) without re-training the model.
16
+
17
+ The only two zero-shot VST models (AUTOVC (Qian et al., 2019) and AdaIN-VC (Chou & Lee, 2019)) share a common weakness. Both methods construct encoder-decoder frameworks, which extract the style and the content information into style and content embeddings, and generate a voice sample by combining a style embedding and a content embedding through the decoder. With the combination of the source content embedding and the target style embedding, the models generate the transferred voice, based only on source and target voice samples. AUTOVC (Qian et al., 2019) uses a GE2E (Wan et al., 2018) pre-trained style encoder to ensure rich speaker-related information in style embeddings. However, AUTOVC has no regularizer to guarantee that the content encoder does not encode any style information. AdaIN-VC (Chou & Lee, 2019) applies instance normalization (Ulyanov et al., 2016) to the feature map of content representations, which helps to eliminate the style information from content embeddings. However, AdaIN-VC fails to prevent content information from being revealed in the style embeddings. Both methods cannot assure that the style and content embeddings are disentangled without information revealed from each other.
18
+
19
+ With information-theoretic guidance, we propose a disentangled-representation-learning method to enhance the encoder-decoder zero-shot VST framework, for both style and content information preservation. We call the proposed method Information-theoretic Disentangled Embedding for Voice Conversion (IDE-VC). Our model successfully induces the style and content of voices into independent representation spaces by minimizing the mutual information between style and content embeddings. We also derive two new multi-group mutual information lower bounds, to further improve the representativeness of the latent embeddings. Experiments demonstrate that our method outperforms previous works under both many-to-many and zero-shot transfer setups on two objective metrics and two subjective metrics.
20
+
21
+ # 2 BACKGROUND
22
+
23
+ In information theory, mutual information (MI) is a crucial concept that measures the dependence between two random variables. Mathematically, the MI between two variables $_ { \textbf { \em x } }$ and $\textbf { { y } }$ is
24
+
25
+ $$
26
+ \mathcal { T } ( \pmb { x } ; \pmb { y } ) : = \mathbb { E } _ { p ( \pmb { x } , \pmb { y } ) } \Big [ \log \frac { p ( \pmb { x } , \pmb { y } ) } { p ( \pmb { x } ) p ( \pmb { y } ) } \Big ] ,
27
+ $$
28
+
29
+ where $p ( { \pmb x } )$ and $p ( \pmb { y } )$ are marginal distributions of $_ { \textbf { \em x } }$ and $\textbf { { y } }$ , and $p ( { \pmb x } , { \pmb y } )$ is the joint distribution. Recently, MI has attracted considerable interest in machine learning as a criterion to minimize or maximize the dependence between different parts of a model (Chen et al., 2016; Alemi et al., 2016; Hjelm et al., 2018; Velickovi ˇ c et al., 2018; Song et al., 2019). However, the calculation of exact MI ´ values is challenging in practice, since the closed form of joint distribution $p ( { \pmb x } , { \pmb y } )$ in equation (1) is generally unknown. To solve this problem, several MI estimators have been proposed. For MI maximization tasks, Nguyen, Wainwright and Jordan (NWJ) (Nguyen et al., 2010) propose a lower bound by representing (1) as an $f$ -divergence (Moon & Hero, 2014):
30
+
31
+ $$
32
+ \begin{array} { r } { \mathcal { T } _ { \mathrm { N W J } } : = \mathbb { E } _ { p ( \pmb { x } , \pmb { y } ) } [ f ( \pmb { x } , \pmb { y } ) ] - e ^ { - 1 } \mathbb { E } _ { p ( \pmb { x } ) p ( \pmb { y } ) } [ e ^ { f ( \pmb { x } , \pmb { y } ) } ] , } \end{array}
33
+ $$
34
+
35
+ with a score function $f ( { \pmb x } , { \pmb y } )$ . Another widely-used sample-based MI lower bound is InfoNCE (Oord et al., 2018), which is derived with Noise Contrastive Estimation (NCE) (Gutmann & Hyvarinen, 2010). With sample pairs ¨ $\{ ( \pmb { x } _ { i } , \pmb { y } _ { i } ) \} _ { i = 1 } ^ { N }$ drawn from the joint distribution $p ( { \pmb x } , { \pmb y } )$ , the InfoNCE lower bound is defined as
36
+
37
+ $$
38
+ \mathcal { T } _ { \mathrm { N C E } } : = \mathbb { E } \Big [ \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \log \frac { e ^ { f ( { \pmb x } _ { i } , { \pmb y } _ { i } ) } } { \frac { 1 } { N } \sum _ { j = 1 } ^ { N } e ^ { f ( { \pmb x } _ { i } , { \pmb y } _ { j } ) } } \Big ] .
39
+ $$
40
+
41
+ For MI minimization tasks, Cheng et al. (2020a) proposed a contrastively learned upper bound that requires the conditional distribution $p ( { \pmb x } | { \pmb y } )$ :
42
+
43
+ $$
44
+ \mathcal { T } ( \pmb { x } ; \pmb { y } ) \leq \mathbb { E } \Big [ \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \Big [ \log p ( \pmb { x } _ { i } | \pmb { y } _ { i } ) - \frac { 1 } { N } \sum _ { j = 1 } ^ { N } \log p ( \pmb { x } _ { j } | \pmb { y } _ { i } ) \Big ] \Big ] .
45
+ $$
46
+
47
+ where the MI is bounded by the log-ratio of conditional distribution $p ( { \pmb x } | { \pmb y } )$ between positive and negative sample pairs. In the following, we derive our information-theoretic disentangled representation learning framework for voice style transfer based on the MI estimators described above.
48
+
49
+ # 3 PROPOSED MODEL
50
+
51
+ We assume access to $N$ audio (voice) recordings from $M$ speakers, where speaker $u$ has $N _ { u }$ voice samples $\mathcal { X } _ { u } = \{ \pmb { x } _ { u i } \} _ { i = 1 } ^ { N _ { u } }$ . The proposed approach encodes each voice input $\pmb { x } \in \mathcal { X } = \cup _ { u = 1 } ^ { M } \pmb { \chi } _ { u }$ into a speaker-related (style) embedding $\pmb { s } = E _ { s } ( \pmb { x } )$ and a content-related embedding ${ \pmb c } = E _ { c } ( { \pmb x } )$ , using respectively a style encoder $E _ { s } ( \cdot )$ and a content encoder $E _ { c } ( \cdot )$ . To transfer a source ${ \pmb x } _ { u i }$ from speaker $u$ to the target style of the voice of speaker $v$ , $\mathbf { \boldsymbol { x } } _ { v j }$ , we combine the content embedding $\bar { \mathbf { c } _ { u i } } = E _ { c } ( \mathbf { x } _ { u i } )$ and the style embedding ${ \pmb s } _ { v j } = E _ { s } ( { \pmb x } _ { v j } )$ to generate the transferred voice $\hat { \pmb x } _ { u v , i } = D ( \pmb s _ { v j } , \pmb c _ { u i } )$ with a decoder $D ( s , c )$ . To implement this two-step transfer process, we introduce a novel mutual information (MI)-based learning objective, that induces the style embedding $\pmb { s }$ and content embedding $^ c$ into independent representation spaces (i.e., ideally, $\pmb { s }$ contains rich style information of $_ { \textbf { \em x } }$ with no content information, and vice versa). In the following, we first describe our MI-based training objective in Section 3.1, and then discuss the practical estimation of the objective in Sections 3.2 and 3.3.
52
+
53
+ # 3.1 MI-BASED DISENTANGLING OBJECTIVE
54
+
55
+ From an information-theoretic perspective, to learn representative latent embedding $( s , c )$ , it is desirable to maximize the mutual information between the embedding pair $( s , c )$ and the input $_ { \textbf { \em x } }$ . Meanwhile, the style embedding $\pmb { s }$ and the content $^ c$ are desired to be independent, so that we can control the style transfer process with different style and content attributes. Therefore, we minimize the mutual information $\bar { \mathcal { T } } ( s ; c )$ to disentangle the style embedding and content embedding spaces. Consequently, our overall disentangled-representation-learning objective seeks to minimize
56
+
57
+ $$
58
+ \mathcal { L } = \mathcal { T } ( \pmb { s } ; \pmb { c } ) - \mathcal { T } ( \pmb { x } ; \pmb { s } , \pmb { c } ) = \mathcal { T } ( \pmb { s } ; \pmb { c } ) - \mathcal { T } ( \pmb { x } ; \pmb { c } | \pmb { s } ) - \mathcal { T } ( \pmb { x } ; \pmb { s } ) .
59
+ $$
60
+
61
+ As discussed in Locatello et al. (Locatello et al., 2019), without inductive bias for supervision, the learned representation can be meaningless. To address this problem, we use the speaker identity $\textbf { \em u }$ as a variable with values $\{ 1 , \dots , M \}$ to learn representative style embedding $\pmb { s }$ for speaker-related attributes. Noting that the process from speaker $u$ to his/her voice ${ \pmb x } _ { u i }$ to the style embedding $s _ { u i }$ (as $\mathbf { \delta } \mathbf { \boldsymbol { u } } \to \mathbf { \mathcal { x } } \to \mathbf { \mathcal { s } }$ ) is a Markov Chain, we conclude ${ \mathcal { T } } ( s ; x ) \geq { \mathcal { T } } ( s ; u )$ based on the MI data-processing inequality (Cover & Thomas, 2012) (as stated in the Supplementary Material). Therefore, we replace $\scriptstyle { \mathcal { T } } ( s ; x )$ in $\mathcal { L }$ with $\pmb { \mathcal { T } } ( \pmb { s } ; \pmb { u } )$ and minimize an upper bound instead:
62
+
63
+ $$
64
+ \bar { \mathcal { L } } = \mathcal { T } ( \pmb { s } ; \pmb { c } ) - \mathcal { T } ( \pmb { x } ; \pmb { c } | \pmb { s } ) - \mathcal { T } ( \pmb { u } ; \pmb { s } ) \geq \mathcal { T } ( \pmb { s } ; \pmb { c } ) - \mathcal { T } ( \pmb { x } ; \pmb { c } | \pmb { s } ) - \mathcal { T } ( \pmb { x } ; \pmb { s } ) ,
65
+ $$
66
+
67
+ In practice, calculating the MI is challenging, as we typically only have access to samples, and lack the required distributions (Chen et al., 2016). To solve this problem, below we provide several MI estimates to the objective terms $\mathcal { T } ( s ; c )$ , $\pmb { \mathcal { T } } ( \pmb { x } ; \pmb { c } | \pmb { s } )$ and $\mathcal { T } ( u ; s )$ .
68
+
69
+ # 3.2 MI LOWER BOUND ESTIMATION
70
+
71
+ To maximize $\scriptstyle { \mathcal { T } } ( u ; s )$ , we derive the following multi-group MI lower bound (Theorem 3.1) based on the NWJ bound developed in Nguyen et al. (Nguyen et al., 2010). The detailed proof is provided in the Supplementary Material. Let $\dot { \mu } _ { v } ^ { ( - u i ) } = \mu _ { v }$ represent the mean of all style embeddings in group $\mathcal { X } _ { v }$ , constituting the style centroid of speaker $v$ ; $\mu _ { u } ^ { ( - u i ) }$ is the mean of all style embeddings in group $\mathcal { X } _ { u }$ except data point ${ \pmb x } _ { u i }$ , representing a leave- ${ \bf { x } } _ { u i }$ -out style centroid of speaker $u$ . Intuitively, we minimize $\| s _ { u i } - \mu _ { u } ^ { ( - u i ) } \|$ to encourage the style embedding of voice ${ \pmb x } _ { u i }$ to be more similar to the style centroid of speaker $u$ , while maximizing $\| s _ { u i } - \mu _ { v } ^ { ( - u i ) } \|$ to enlarge the margin between $s _ { u i }$ and the other speakers’ style centroids $\pmb { \mu } _ { v }$ . We denote the right-hand side of (7) as $\hat { \mathcal { I } } _ { 1 }$ .
72
+
73
+ Theorem 3.1. Let $\begin{array} { r } { \pmb { \mu } _ { v } ^ { ( - u i ) } = \frac { 1 } { N _ { v } } \sum _ { k = 1 } ^ { N _ { v } } \pmb { s } _ { v k } i f u \neq } \end{array}$ $u \ne v$ ; and $\begin{array} { r } { \pmb { \mu } _ { u } ^ { ( - u i ) } = \frac { 1 } { N _ { u } - 1 } \sum _ { j \neq i } \pmb { s } _ { u j } } \end{array}$
74
+
75
+ $$
76
+ \mathcal { Z } ( u ; s ) \geq \mathbb { E } \Big [ \frac { 1 } { N } \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \Big [ - \| s _ { u i } - \mu _ { u } ^ { ( - u i ) } \| ^ { 2 } - \frac { e ^ { - 1 } } { N } \sum _ { v = 1 } ^ { M } N _ { v } \exp \{ - \| s _ { u i } - \mu _ { v } ^ { ( - u i ) } \| ^ { 2 } \} \Big ] \Big ] .
77
+ $$
78
+
79
+ To maximize $\pmb { \mathcal { T } } ( \pmb { x } ; \pmb { c } | \pmb { s } )$ , we derive a conditional mutual information lower bound below:
80
+
81
+ Theorem 3.2. Assume that given $\begin{array} { r } { \boldsymbol { s } = \boldsymbol { s } _ { u } , } \end{array}$ , samples $\{ ( \pmb { x } _ { u i } , \pmb { c } _ { u i } ) \} _ { i = 1 } ^ { N _ { u } }$ are observed. With a variational distribution $q _ { \phi } ( { \pmb x } | { \pmb s } , { \pmb c } )$ , we have $\mathcal { T } ( \pmb { x } ; \pmb { c } | \pmb { s } ) \geq \mathbb { E } [ \hat { \mathcal { T } } ]$ , where
82
+
83
+ $$
84
+ \hat { \mathcal { T } } = \frac { 1 } { N } \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \left[ \log q _ { \phi } ( \pmb { x } _ { u i } | \pmb { c } _ { u i } , \pmb { s } _ { u } ) - \log \left( \frac { 1 } { N _ { u } } \sum _ { j = 1 } ^ { N _ { u } } q _ { \phi } ( \pmb { x } _ { u j } | \pmb { c } _ { u i } , \pmb { s } _ { u } ) \right) \right] .
85
+ $$
86
+
87
+ ![](images/49eb8d52383f2f877a1546711e5b0f7b4d073ca4a8800001f2aee488249c822c.jpg)
88
+ Figure 1: Training and transfer processes. (a) Training style encoder $E _ { s }$ with objective $\hat { \mathcal { I } } _ { 1 }$ : All voice samples are encoded into style embedding space. For style embedding $s _ { u i }$ of ${ \pmb x } _ { u i }$ , we minimize its distance with speaker $u$ ’s style centroid $\pmb { \mu } _ { u }$ , and maximize its distance to other speaker style centroids $\pmb { \mu } _ { v }$ . (b) Training for content encoder $E _ { c }$ and decoder $D$ as objectives $\hat { \mathcal { T } } _ { 2 } , \tilde { \mathcal { T } } _ { 3 }$ : We encode content $\mathbf { \mathit { c } } _ { u i }$ from voice $\mathbf { \mathcal { x } } _ { u i }$ from speaker $u$ . The style of speaker $u$ is encoded from another speaker $u$ ’s voice $\mathbf { \boldsymbol { x } } _ { u j }$ . The dependency of style and content embedding is minimized with $\hat { \mathcal { T } } _ { 3 }$ . With $\mathbf { \mathit { c } } _ { u i }$ and $\mathbf { } _ { s \alpha }$ , the decoder reconstructs the voice ${ \pmb x } _ { u i }$ as $\hat { \pmb { x } } _ { u i } = D ( \pmb { s } _ { u } , \pmb { c } _ { u i } )$ . Then $\hat { \mathcal { I } } _ { 2 }$ is calculated based on the original voice $\mathbf { \phi } _ { c u i }$ and the reconstruction $\hat { c } _ { u i }$ . (c) Transfer process: for zero-shot voice style transfer, with ${ \pmb x } _ { u i }$ from speaker $u$ and $\boldsymbol { x } _ { v j }$ from speaker $v$ , we encode content $c _ { u i }$ and style $\scriptstyle { \pmb { s } } _ { v }$ , and combine them together to generate a transferred voice $\hat { \pmb { x } } _ { u v , i } = D ( \pmb { s } _ { v } , \pmb { c } _ { u i } )$ .
89
+
90
+ Based on the criterion for $\pmb { s }$ in equation (7), a well-learned style encoder $E _ { s }$ pulls all style embeddings $s _ { u i }$ from speaker $u$ together. Suppose $\mathbf { } _ { s \mu }$ is representative of the style embeddings of set $\mathcal { X } _ { u }$ . If we parameterize the distribution $q _ { \phi } ( \bar { \pmb { x } } | s , \pmb { c } ) \propto \mathrm { e x p } ( - \| \pmb { x } - D ( \pmb { s } , \pmb { c } ) \| ^ { 2 } )$ with decoder $D ( s , c )$ , then based on Theorem 3.2, we can estimate the lower bound of $\pmb { \mathcal { T } } ( \pmb { x } ; \pmb { c } | \pmb { s } )$ with the following objective:
91
+
92
+ $$
93
+ \hat { \mathcal { Z } } _ { 2 } : = \frac { 1 } { N } \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \Big [ - \| \pmb { x } _ { u i } - D \big ( \boldsymbol { c } _ { u i } , \boldsymbol { s } _ { u } \big ) \| ^ { 2 } - \log \Big ( \frac { 1 } { N _ { u } } \sum _ { j = 1 } ^ { N _ { u } } \exp \{ - \| \pmb { x } _ { u j } - D \big ( \boldsymbol { c } _ { u i } , \boldsymbol { s } _ { u } \big ) \| ^ { 2 } \} \Big ) \Big ] .
94
+ $$
95
+
96
+ When maximizing $\hat { \mathcal { I } } _ { 2 }$ , for speaker $u$ with his/her given voice style $\mathbf { } _ { s _ { u } }$ , we encourage the content embedding $c _ { u i }$ to well reconstruct the original voice ${ \pmb x } _ { u i }$ , with small $\| \pmb { x } _ { u i } - D ( \pmb { c } _ { u i } , \pmb { s } _ { u } ) \|$ . Additionally, the distance $\| \pmb { x } _ { u j } - D ( \pmb { c } _ { u i } , \pmb { s } _ { u } ) \|$ is minimized, ensuring $\mathbf { \mathit { c } } _ { u i }$ does not contain information to reconstruct other voices $\mathbf { \boldsymbol { x } } _ { u j }$ from speaker $u$ . With $\hat { \mathcal { I } } _ { 2 }$ , the correlation between ${ \pmb x } _ { u i }$ and $c _ { u i }$ is amplified, which improves $\mathbf { \mathit { c } } _ { u i }$ in preserving the content information.
97
+
98
+ # 3.3 MI UPPER BOUND ESTIMATION
99
+
100
+ The crucial part of our framework is disentangling the style and the content embedding spaces, which imposes (ideally) that the style embedding $\pmb { s }$ excludes any content information and vice versa. Therefore, the mutual information between $\pmb { s }$ and $^ c$ is expected to be minimized. To estimate $\mathcal { T } ( s ; c )$ , we derive a sample-based MI upper bound in Theorem 3.3 base on (4).
101
+
102
+ Theorem 3.3. If $p ( \boldsymbol { s } | \boldsymbol { c } )$ provides the conditional distribution between variables s and $^ c$ , then
103
+
104
+ $$
105
+ \mathcal { T } ( s ; c ) \leq \mathbb { E } \Big [ \frac { 1 } { N } \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \Big [ \log p ( s _ { u i } | c _ { u i } ) - \frac { 1 } { N } \sum _ { v = 1 } ^ { M } \sum _ { j = 1 } ^ { N _ { v } } \log p ( s _ { u i } | c _ { v j } ) \Big ] \Big ] .
106
+ $$
107
+
108
+ The upper bound in (9) requires the ground-truth conditional distribution $p ( \boldsymbol { s } | \boldsymbol { c } )$ , whose closed form is unknown. Therefore, we use a probabilistic neural network $q _ { \theta } ( s | \boldsymbol { c } )$ to approximate $p ( \boldsymbol { s } | \boldsymbol { c } )$ by maximizing the log-likelihood $\begin{array} { r } { \mathcal { F } ( \theta ) = \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \log q _ { \theta } ( s _ { u i } | \boldsymbol { c } _ { u i } ) } \end{array}$ . With the learned $q _ { \theta } ( s | c )$ , the
109
+
110
+ objective for minimizing $\mathcal { T } ( s ; c )$ becomes:
111
+
112
+ $$
113
+ \hat { \mathcal { Z } } _ { 3 } : = \frac { 1 } { N } \sum _ { u = 1 } ^ { M } \sum _ { i = 1 } ^ { N _ { u } } \left[ \log q _ { \theta } ( \boldsymbol s _ { u i } | \boldsymbol c _ { u i } ) - \frac { 1 } { N } \sum _ { v = 1 } ^ { M } \sum _ { j = 1 } ^ { N _ { v } } \log q _ { \theta } ( \boldsymbol s _ { u i } | \boldsymbol c _ { v j } ) \right] .
114
+ $$
115
+
116
+ When weights of encoders $E _ { c } , E _ { s }$ are updated, the embedding spaces $s , c$ change, which leads to the changing of conditional distribution $p ( \boldsymbol { s } | \boldsymbol { c } )$ . Therefore, the neural approximation $q _ { \theta } ( s | c )$ must be updated again. Consequently, during training, the encoders $E _ { c } , E _ { s }$ and the approximation $q _ { \theta } ( s | c )$ are updated iteratively. In the Supplementary Material, we further discuss that with a good approximation $q _ { \theta } ( s | \boldsymbol { c } ) , \hat { Z } _ { 3 }$ remains an MI upper bound.
117
+
118
+ # 3.4 ENCODER-DECODER FRAMEWORK
119
+
120
+ With the aforementioned MI estimates $\hat { \mathcal { T } } _ { 1 } , \hat { \mathcal { T } } _ { 2 }$ , and $\hat { \mathcal { T } } _ { 3 }$ , the final training loss of our method is
121
+
122
+ $$
123
+ \mathcal { L } ^ { * } = [ \hat { \mathcal { T } } _ { 3 } - \hat { \mathcal { T } } _ { 1 } - \hat { \mathcal { T } } _ { 2 } ] - \beta \mathcal { F } ( \boldsymbol { \theta } ) ,
124
+ $$
125
+
126
+ where $\beta$ is a positive number re-weighting the two objective terms. Term $\hat { \mathcal { T } } _ { 3 } - \hat { \mathcal { T } } _ { 1 } - \hat { \mathcal { T } } _ { 2 }$ is minimized w.r.t the parameters in encoders $E _ { c } , E _ { s }$ and decoder $D$ ; term ${ \mathcal { F } } ( \theta )$ as the likelihood function of $q _ { \theta } ( s | c )$ is maximized w.r.t the parameter $\theta$ . In practice, the two terms are updated iteratively with gradient descent (by fixing one and updating another). The training and transfer processes of our model are shown in Figure 1. We name this MI-guided learning framework as Information-theoretic Disentangled Embedding for Voice Conversion (IDE-VC).
127
+
128
+ # 4 RELATED WORK
129
+
130
+ Many-to-many Voice Conversion Traditional voice style transfer methods mainly focus on one-toone and many-to-one conversion tasks, which can only transfer voices into one target speaking style. This constraint limits the applicability of the methods. Recently, several many-to-many voice conversion methods have been proposed, to convert voices in broader application scenarios. StarGANVC (Kameoka et al., 2018) uses StarGAN (Choi et al., 2018) to enable many-to-many transfer, in which voices are fed into a unique generator conditioned on the target speaker identity. A discriminator is also used to evaluate generation quality and transfer accuracy. Blow (Serra et al., 2019) is a \` flow-based generative model (Kingma & Dhariwal, 2018), that maps voices from different speakers into the same latent space via normalizing flow (Rezende & Mohamed, 2015). The conversion is accomplished by transforming the latent representation back to the observation space with the target speaker’s identifier. Two other many-to-many conversion models, AUTOVC (Qian et al., 2019) and AdaIN-VC (Chou & Lee, 2019), extend applications into zero-shot scenarios, i.e., conversion from/to a new speaker (unseen during training), based on only a few utterances. Both AUTOVC and AdaIN-VC construct an encoder-decoder framework, which extracts the style and content of one speech sample into separate latent embeddings. Then when a new voice from an unseen speaker comes, both its style and content embeddings can be extracted directly. However, as discussed in the Introduction, both methods do not have explicit regularizers to reduce the correlation between style and content embeddings, which limits their performance.
131
+
132
+ Disentangled Representation Learning Disentangled representation learning (DRL) aims to encode data points into separate independent embedding subspaces, where different subspaces represent different data attributes. DRL methods can be classified into unsupervised and supervised approaches. Under unsupervised setups, Burgess et al. (2018), Higgins et al. (2016) and Kim & Mnih (2018) use latent embeddings to reconstruct the original data while keeping each dimension of the embeddings independent with correlation regularizers. This has been challenged by Locatello et al. (2019), in that each part of the learned embeddings may not be mapped to a meaningful data attribute. In contrast, supervised DRL methods effectively learn meaningful disentangled embedding parts by adding different supervision to different embedding components. Between the two embedding parts, the correlation is still required to be reduced to prevent the revealing of information to each other. The correlation-reducing methods mainly focus on adversarial training between embedding parts (Hjelm et al., 2018; Kim & Mnih, 2018), and mutual information minimization (Chen et al., 2018; Cheng et al., 2020b). By applying operations such as switching and combining, one can use disentangled representations to improve empirical performance on downstream tasks, e.g. conditional generation (Burgess et al., 2018), domain adaptation (Gholami et al., 2020), and few-shot learning (Higgins et al., 2017).
133
+
134
+ # 5 EXPERIMENTS
135
+
136
+ We evaluate our IDE-VC on real-world voice a dataset under both many-to-many and zero-shot VST setups. The selected dataset is CSTR Voice Cloning Toolkit (VCTK) (Yamagishi et al., 2019), which includes 46 hours of audio from 109 speakers. Each speaker reads a different sets of utterances, and the training voices are provided in a non-parallel manner. The audios are downsampled at $1 6 \mathrm { k H z }$ . In the following, we first describe the evaluation metrics and the implementation details, and then analyze our model’s performance relative to other baselines under many-to-many and zero-shot VST settings.
137
+
138
+ # 5.1 EVALUATION METRICS
139
+
140
+ Objective Metrics We consider two objective metrics: Speaker verification accuracy (Verification) and the Mel-Cepstral Distance (Distance) (Kubichek, 1993). The speaker verification accuracy measures whether the transferred voice belongs to the target speaker. For fair comparison, we used a third-party pre-trained speaker encoder Resemblyzer1 to classify the speaker identity from the transferred voices. Specifically, style centroids for speakers are learned with ground-truth voice samples. For a transferred voice, we encode it via the pre-trained speaker encoder and find the speaker with the closest style centroid as the identity prediction. For the Distance, the vanilla Mel-Cepstral Distance (MCD) cannot handle the time alignment issue described in Section 2. To make reasonable comparisons between the generation and ground truth, we apply the Dynamic Time Warping (DTW) algorithm (Berndt & Clifford, 1994) to automatically align the time-evolving sequences before calculating MCD. This DTW-MCD distance measures the similarity of the transferred voice and the real voice from the target speaker. Since the calculation of DTW-MCD requires parallel data, we select voices with the same content from the VCTK dataset as testing pairs. Then we transfer one voice in the pair and calculate DTW-MCD with the other voice as reference.
141
+
142
+ Subjective Metrics Following Wester et al. (Wester et al., 2016), we use the naturalness of the speech (Naturalness), and the similarity of the transferred speech to target identity (Similarity) as subjective metrics. For Naturalness, annotators are asked to rate the score from 1-5 for each transferred speech.For the Similarity, the annotators are presented with two audios (the converted speech and the corresponding reference), and are asked to rate the score from 1 to 4. For both scores, the higher the better. Following the setting in Blow (Serra et al., 2019), we report Similarity defined \` as a total percentage from the binary rating. The evaluation of both subjective metrics is conducted on Amazon Mechanical Turk (MTurk)2. More details about evaluation metrics are provided in the Supplementary Material.
143
+
144
+ # 5.2 IMPLEMENTATION DETAILS
145
+
146
+ Following AUTOVC (Qian et al., 2019), our model inputs are represented via mel-spectrogram. The number of mel-frequency bins is set as 80. When voices are generated, we adopt the WaveNet vocoder (Oord et al., 2016) pre-trained on the VCTK corpus to invert the spectrogram signal back to a waveform. The spectrogram is first upsampled with deconvolutional layers to match the sampling rate, and then a standard 40-layer WaveNet is applied to generate speech waveforms. Our model is implememted with Pytorch and takes 1 GPU day on an Nvidia Xp to train.
147
+
148
+ Encoder Architecture The speaker encoder consists of a 2-layer long short-term memory (LSTM) with cell size of 768, and a fully-connected layer with output dimension 256. The speaker encoder is initialized with weights from a pretrained GE2E (Wan et al., 2018) encoder. The input of the content encoder is the concatenation of the mel-spectrogram signal and the corresponding speaker embedding. The content encoder consists of three convolutional layers with 512 channels, and two layers of a bidirectional LSTM with cell dimension 32. Following the setup in AUTOVC (Qian et al., 2019), the forward and backward outputs of the bi-directional LSTM are downsampled by 16.
149
+
150
+ Decoder Architecture Following AUTOVC (Qian et al., 2019), the initial decoder consists of a three-layer convolutional neural network (CNN) with 512 channels, three LSTM layers with cell dimension 1024, and another convolutional layer to project the output of the LSTM to dimension of 80. To enhance the quality of the spectrogram, following AUTOVC (Qian et al., 2019), we use a post-network consisting of five convolutional layers with 512 channels for the first four layers, and
151
+
152
+ Table 1: Many-to-many VST evaluation results. For all metrics except Distance, higher is better.
153
+
154
+ <table><tr><td rowspan="2">Metric</td><td colspan="2">Objective</td><td colspan="2">Subjective</td></tr><tr><td>Distance</td><td>Verification[%]</td><td>Naturalness [1-5]</td><td>Similarity [%]</td></tr><tr><td>StarGAN</td><td>6.73</td><td>71.1</td><td>2.77</td><td>51.5</td></tr><tr><td>AdaIN-VC</td><td>6.98</td><td>85.5</td><td>2.19</td><td>50.8</td></tr><tr><td>AUTOVC</td><td>6.73</td><td>89.9</td><td>3.25</td><td>55.0</td></tr><tr><td>Blow</td><td>8.08</td><td>=</td><td>2.11</td><td>10.8</td></tr><tr><td>IDE-VC (Ours)</td><td>6.70</td><td>92.2</td><td>3.26</td><td>68.5</td></tr></table>
155
+
156
+ Table 2: Zero-Shot VST evaluation results. For all metrics except Distance, higher is better.
157
+
158
+ <table><tr><td rowspan="2">Metric</td><td colspan="2">Objective</td><td colspan="2"> Subjective</td></tr><tr><td>Distance</td><td>Verification[%]</td><td>Naturalness [1-5]</td><td>Similarity [%]</td></tr><tr><td>AdaIN-VC</td><td>6.37</td><td>76.7</td><td>2.67</td><td>68.4</td></tr><tr><td>AUTOVC</td><td>6.68</td><td>60.0</td><td>2.19</td><td>58.6</td></tr><tr><td>IDE-VC (Ours)</td><td>6.31</td><td>81.1</td><td>3.33</td><td>76.4</td></tr></table>
159
+
160
+ 80 channels for the last layer. The output of the post-network can be viewed as a residual signal. The final conversion signal is computed by directly adding the output of the initial decoder and the post-network. The reconstruction loss is applied to both the output of the initial decoder and the final conversion signal.
161
+
162
+ Approximation Network Architecture As described in Section 3.3, minimizing the mutual information between style and content embeddings requires an auxiliary variational approximation $q _ { \theta } ( s | c )$ . For implementation, we parameterize the variational distribution in the Gaussian distribution family $q _ { \theta } ( \bar { \mathbf { \rho } } _ { s } | \mathbf { \rho } _ { c } ) = \mathcal { N } ( \mu _ { \theta } ( \mathbf { \rho } _ { c } ) , \mathbf { \bar { \alpha } } \sigma _ { \theta } ^ { 2 } ( \mathbf { \rho } _ { c } ) \cdot \mathbf { I } )$ , where mean $\mu _ { \theta } ( \cdot )$ and variance $\sigma _ { \theta } ^ { 2 } ( \cdot )$ are two-layer fully-connected networks with $\operatorname { t a n h } ( { \cdot } )$ as the activation function. With the Gaussian parameterization, the likelihoods in objective $\hat { \mathcal { T } } _ { 3 }$ can be calculated in closed form.
163
+
164
+ # 5.3 STYLE TRANSFER PERFORMANCE
165
+
166
+ For the many-to-many VST task, we randomly select $10 \%$ of the sentences for validation and $10 \%$ of the sentences for testing from the VCTK dataset, following the setting in Blow (Serra et al., 2019). \` The rest of the data are used for training in a non-parallel scheme. For evaluation, we select voice pairs from the testing set, in which each pair of voices have the same content but come from different speakers. In each testing pair, we conduct transfer from one voice to the other voice’s speaking style, and then we compare the transferred voice and the other voice as evaluating the model performance. We test our model with four competitive baselines: Blow (Serra et al., 2019) \` 3, AUTOVC (Qian et al., 2019), AdaIN-VC (Chou & Lee, 2019) and StarGAN-VC (Kameoka et al., 2018). The detailed implementation of these four methods are provided in the Supplementary Material. Table 1 shows the subjective and objective evaluation for the many-to-many VST task. Both methods with the encoder-decoder framework, AdaIN-VC and AUTOVC, have competitive results. However, our IDE-VC outperforms the other baselines on all metrics, demonstrating that the style-content disentanglement in the latent space improves the performance of the encoder-decoder framework.
167
+
168
+ For the zero-shot VST task, we use the same train-validation dataset split as in the many-to-many setup. The testing data are selected to guarantee that no test speaker has any utterance in the training set. We compare our model with the only two baselines, AUTOVC (Qian et al., 2019) and AdaINVC (Chou & Lee, 2019), that are able to handle voice transfer for newly-coming unseen speakers. We used the same implementations of AUTOVC and AdaIN-VC as in the many-to-many VST. The evaluation results of zero-shot VST are shown in Table 2, among the two baselines AdaIN-VC performs better than AUTOVC overall.Our IDE-VC outperforms both baseline methods, on all metrics. All three tested models have encoder-decoder transfer frameworks, the superior performance of IDE-VC indicates the effectiveness of our disentangled representation learning scheme. More evaluation details are provided in the supplementary material.
169
+
170
+ ![](images/6b582b1d9dadfa47cab2f94b7090d8878092a61b53bc79d2a18b689eb1b3f0ee.jpg)
171
+ Figure 2: Left: t-SNE visualization for speaker embeddings. Right: t-SNE visualization for content embedding. The embeddings are extracted from the voice samples of 10 different speakers.
172
+
173
+ # 5.4 DISENTANGLEMENT DISCUSSION
174
+
175
+ Besides the performance comparison with other VST baselines, we demonstrate the capability of our information-theoretic disentangled representation learning scheme. First, we conduct a tSNE (Maaten & Hinton, 2008) visualization of the latent spaces of the IDE-VC model. As shown in the left of Figure 2, style embeddings from the same speaker are well clustered, and style embeddings from different speakers separate in a clean manner. The clear pattern indicates our style encoder $E _ { s }$ can verify the speakers’ identity from the voice samples. In contrast, the content embeddings (in the right of Figure 2) are indistinguishable for different speakers, which means our content encoder $E _ { c }$ successfully eliminates speaker-related information and extracts rich semantic content from the data.
176
+
177
+ We also empirically evaluate the disentanglement, by predicting the speakers’ identity based on only the content embeddings. A two-layer fully-connected network is trained on the testing set with a content embedding as input, and the corresponding speaker identity as output. We compare our IDE-VC with AUTOVC and AdaIN-VC, which also output content embeddings. The classification results are shown in Table 3. Our IDE-VC reaches the lowest classification accuracy, indicating that the content embeddings learned by IDE-VC contains the least speaker-related information. Therefore, our IDE-VC learns disentangled representations with high quality compared with other baselines.
178
+
179
+ Table 3: Speaker identity prediction accuracy on content embedding.
180
+
181
+ <table><tr><td></td><td>Accuracy[%]</td></tr><tr><td>AUTOVC</td><td>9.5</td></tr><tr><td>AdaIN-VC</td><td>19.0</td></tr><tr><td>IDE-VC</td><td>8.1</td></tr></table>
182
+
183
+ # 5.5 ABLATION STUDY
184
+
185
+ Moreover, we have considered an ablation study that addresses performance effects from different learning losses in (11), with results shown in Table 4. We compare our model with two models trained by part of the loss function in (11), while keeping the other training setups unchanged, including the model structure. From the results, when the model is trained without the style encoder loss term $\hat { \mathcal { I } } _ { 1 }$ , a transferred voice still is generated, but with a large distance to the ground truth. The verification accuracy also significantly decreases with no speaker-related information utilized. When the disentangling term $\hat { \mathcal { T } } _ { 3 }$ is removed, the model still reaches competitive performance, because the style encoder $E _ { s }$ and decoder $D$ are well trained by $\hat { \mathcal { I } } _ { 1 }$ and $\hat { \mathcal { I } } _ { 2 }$ . However, when adding term $\hat { \mathcal { T } } _ { 3 }$ , we disentangle the style and content spaces, and improve the transfer quality with higher verification accuracy and less distortion. The performance without term $\hat { \mathcal { I } } _ { 2 }$ is not reported, because the model cannot even generate fluent speech without the reconstruction loss.
186
+
187
+ Table 4: Ablation study with different training losses. Performance is measured by objective metrics.
188
+
189
+ <table><tr><td colspan="2">Distance Verification[%]</td></tr><tr><td>Without I1</td><td>9.81 11.1</td></tr><tr><td>Without I3 6.73</td><td>89.4</td></tr><tr><td>IDE-VC 5.66</td><td>92.2</td></tr></table>
190
+
191
+ # 6 CONCLUSIONS
192
+
193
+ We have improved the encoder-decoder voice style transfer framework by disentangled latent representation learning. To effectively induce the style and content information of speech into independent embedding latent spaces, we minimize a sample-based mutual information upper bound between style and content embeddings. The disentanglement of the two embedding spaces ensures the voice transfer accuracy without information revealed from each other. We have also derived two new multi-group mutual information lower bounds, which are maximized during training to enhance the representativeness of the latent embeddings. On the real-world VCTK dataset, our model outperforms previous works under both many-to-many and zero-shot voice style transfer setups. Our model can be naturally extended to other style transfer tasks modeling time-evolving sequences, e.g., video and music style transfer. Moreover, our general multi-group mutual information lower bounds have broader potential applications in other representation learning tasks.
194
+
195
+ # ACKNOWLEDGEMENTS
196
+
197
+ This research was supported in part by the DOE, NSF and ONR.
198
+
199
+ # REFERENCES
200
+
201
+ Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. arXiv preprint arXiv:1612.00410, 2016.
202
+
203
+ Donald J Berndt and James Clifford. Using dynamic time warping to find patterns in time series. In KDD workshop, pp. 359–370. Seattle, WA, 1994.
204
+
205
+ Christopher P Burgess, Irina Higgins, Arka Pal, Loic Matthey, Nick Watters, Guillaume Desjardins, and Alexander Lerchner. Understanding disentangling in beta-vae. arXiv preprint arXiv:1804.03599, 2018.
206
+
207
+ Santosh V Chapaneri. Spoken digits recognition using weighted mfcc and improved features for dynamic time warping. International Journal of Computer Applications, 40(3):6–12, 2012.
208
+
209
+ Dongdong Chen, Jing Liao, Lu Yuan, Nenghai Yu, and Gang Hua. Coherent online video style transfer. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1105– 1114, 2017.
210
+
211
+ Tian Qi Chen, Xuechen Li, Roger B Grosse, and David K Duvenaud. Isolating sources of disentanglement in variational autoencoders. In Advances in Neural Information Processing Systems, pp. 2610–2620, 2018.
212
+
213
+ Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in neural information processing systems, pp. 2172–2180, 2016.
214
+
215
+ Pengyu Cheng, Weituo Hao, Shuyang Dai, Jiachang Liu, Zhe Gan, and Lawrence Carin. Club: A contrastive log-ratio upper bound of mutual information. In International Conference on Machine Learning, pp. 1779–1788. PMLR, 2020a.
216
+
217
+ Pengyu Cheng, Renqiang Min, Shen Dinghan, Christopher Malon, Yizhe Zhang, Li Yitong, and Lawrence Carin. Improving disentangled text representation learning with information-theoretic guidance. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020b.
218
+
219
+ Yunjey Choi, Minje Choi, Munyoung Kim, Jung-Woo Ha, Sunghun Kim, and Jaegul Choo. Stargan: Unified generative adversarial networks for multi-domain image-to-image translation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8789–8797, 2018.
220
+
221
+ Ju-chieh Chou and Hung-Yi Lee. One-shot voice conversion by separating speaker and content representations with instance normalization. Proc. Interspeech 2019, pp. 664–668, 2019.
222
+
223
+ Thomas M Cover and Joy A Thomas. Elements of information theory. John Wiley & Sons, 2012.
224
+
225
+ Shivanker Dev Dhingra, Geeta Nijhawan, and Poonam Pandit. Isolated speech recognition using mfcc and dtw. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, 2(8):4085–4092, 2013.
226
+
227
+ Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Image style transfer using convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2414–2423, 2016.
228
+
229
+ Behnam Gholami, Pritish Sahu, Ognjen Rudovic, Konstantinos Bousmalis, and Vladimir Pavlovic. Unsupervised multi-target domain adaptation: An information theoretic approach. IEEE Transactions on Image Processing, 2020.
230
+
231
+ Elizabeth Godoy, Olivier Rosec, and Thierry Chonavel. Voice conversion using dynamic frequency warping with amplitude scaling, for parallel or nonparallel corpora. IEEE Transactions on Audio, Speech, and Language Processing, 20(4):1313–1323, 2011.
232
+
233
+ Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010.
234
+
235
+ Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations, 2016.
236
+
237
+ Irina Higgins, Arka Pal, Andrei Rusu, Loic Matthey, Christopher Burgess, Alexander Pritzel, Matthew Botvinick, Charles Blundell, and Alexander Lerchner. Darla: Improving zero-shot transfer in reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1480–1490. JMLR. org, 2017.
238
+
239
+ R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018.
240
+
241
+ Chin-Cheng Hsu, Hsin-Te Hwang, Yi-Chiao Wu, Yu Tsao, and Hsin-Min Wang. Voice conversion from non-parallel corpora using variational auto-encoder. In 2016 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA), pp. 1–6. IEEE, 2016.
242
+
243
+ Haozhi Huang, Hao Wang, Wenhan Luo, Lin Ma, Wenhao Jiang, Xiaolong Zhu, Zhifeng Li, and Wei Liu. Real-time neural style transfer for videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 783–791, 2017.
244
+
245
+ Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1501– 1510, 2017.
246
+
247
+ Hirokazu Kameoka, Takuhiro Kaneko, Kou Tanaka, and Nobukatsu Hojo. Stargan-vc: Non-parallel many-to-many voice conversion using star generative adversarial networks. In 2018 IEEE Spoken Language Technology Workshop (SLT), pp. 266–273. IEEE, 2018.
248
+
249
+ Takuhiro Kaneko and Hirokazu Kameoka. Cyclegan-vc: Non-parallel voice conversion using cycleconsistent adversarial networks. In 2018 26th European Signal Processing Conference (EUSIPCO), pp. 2100–2104. IEEE, 2018.
250
+
251
+ Hyunjik Kim and Andriy Mnih. Disentangling by factorising. In International Conference on Machine Learning, pp. 2649–2658, 2018.
252
+
253
+ Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems, pp. 10215–10224, 2018.
254
+
255
+ Robert Kubichek. Mel-cepstral distance measure for objective speech quality assessment. In Proceedings of IEEE Pacific Rim Conference on Communications Computers and Signal Processing, volume 1, pp. 125–128. IEEE, 1993.
256
+
257
+ Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc’Aurelio Ranzato, and Y-Lan Boureau. Multiple-attribute text rewriting. In International Conference on Learning Representations, 2019.
258
+
259
+ Chung-Han Lee and Chung-Hsien Wu. Map-based adaptation for speech conversion using adaptation data selection and non-parallel training. In Ninth International Conference on Spoken Language Processing, 2006.
260
+
261
+ Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learning ¨ of disentangled representations. In International Conference on Machine Learning, pp. 4114– 4124, 2019.
262
+
263
+ Fujun Luan, Sylvain Paris, Eli Shechtman, and Kavita Bala. Deep photo style transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4990–4998, 2017.
264
+
265
+ Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008.
266
+
267
+ Seyed Hamidreza Mohammadi and Alexander Kain. An overview of voice conversion systems. Speech Communication, 88:65–82, 2017.
268
+
269
+ Kevin R Moon and Alfred O Hero. Ensemble estimation of multivariate f-divergence. In 2014 IEEE International Symposium on Information Theory, pp. 356–360. IEEE, 2014.
270
+
271
+ Lindasalwa Muda, Mumtaj Begam, and Irraivan Elamvazuthi. Voice recognition algorithms using mel frequency cepstral coefficient (mfcc) and dynamic time warping (dtw) techniques. arXiv preprint arXiv:1003.4083, 2010.
272
+
273
+ Arsha Nagrani, Joon Son Chung, and Andrew Zisserman. Voxceleb: a large-scale speaker identification dataset. arXiv preprint arXiv:1706.08612, 2017.
274
+
275
+ Keigo Nakamura, Tomoki Toda, Hiroshi Saruwatari, and Kiyohiro Shikano. Speaking aid system for total laryngectomees using voice conversion of body transmitted artificial speech. In Ninth International Conference on Spoken Language Processing, 2006.
276
+
277
+ XuanLong Nguyen, Martin J Wainwright, and Michael I Jordan. Estimating divergence functionals and the likelihood ratio by convex risk minimization. IEEE Transactions on Information Theory, 56(11):5847–5861, 2010.
278
+
279
+ Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016.
280
+
281
+ Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
282
+
283
+ Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: an asr corpus based on public domain audio books. In 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5206–5210. IEEE, 2015.
284
+
285
+ Kaizhi Qian, Yang Zhang, Shiyu Chang, Xuesong Yang, and Mark Hasegawa-Johnson. Autovc: Zero-shot voice style transfer with only autoencoder loss. In International Conference on Machine Learning, pp. 5210–5219, 2019.
286
+
287
+ Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In International Conference on Machine Learning, pp. 1530–1538, 2015.
288
+
289
+ Yuki Saito, Yusuke Ijima, Kyosuke Nishida, and Shinnosuke Takamichi. Non-parallel voice conversion using variational autoencoders conditioned by phonetic posteriorgrams and d-vectors. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5274–5278. IEEE, 2018.
290
+
291
+ Joan Serra, Santiago Pascual, and Carlos Segura Perales. Blow: a single-scale hyperconditioned \` flow for non-parallel raw-audio voice conversion. In Advances in Neural Information Processing Systems, pp. 6790–6800, 2019.
292
+
293
+ Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. Style transfer from non-parallel text by cross-alignment. In Advances in neural information processing systems, pp. 6830–6841, 2017.
294
+
295
+ Berrak Sisman, Mingyang Zhang, Sakriani Sakti, Haizhou Li, and Satoshi Nakamura. Adaptive wavenet vocoder for residual compensation in gan-based voice conversion. In 2018 IEEE Spoken Language Technology Workshop (SLT), pp. 282–289. IEEE, 2018.
296
+
297
+ Jiaming Song, Pratyusha Kalluri, Aditya Grover, Shengjia Zhao, and Stefano Ermon. Learning controllable fair representations. In The 22nd International Conference on Artificial Intelligence and Statistics, pp. 2164–2173, 2019.
298
+
299
+ Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016.
300
+
301
+ Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Li ´ o, Yoshua Bengio, and R Devon \` Hjelm. Deep graph infomax. arXiv preprint arXiv:1809.10341, 2018.
302
+
303
+ Fernando Villavicencio and Jordi Bonada. Applying voice conversion to concatenative singing-voice synthesis. In Eleventh annual conference of the international speech communication association, 2010.
304
+
305
+ Li Wan, Quan Wang, Alan Papir, and Ignacio Lopez Moreno. Generalized end-to-end loss for speaker verification. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 4879–4883. IEEE, 2018.
306
+
307
+ Mirjam Wester, Zhizheng Wu, and Junichi Yamagishi. Analysis of the voice conversion challenge 2016 evaluation results. In Interspeech, pp. 1637–1641, 2016.
308
+
309
+ Junichi Yamagishi, Christophe Veaux, Kirsten MacDonald, et al. Cstr vctk corpus: English multispeaker corpus for cstr voice cloning toolkit (version 0.92). 2019.
310
+
311
+ Zichao Yang, Zhiting Hu, Chris Dyer, Eric P Xing, and Taylor Berg-Kirkpatrick. Unsupervised text style transfer using language models as discriminators. In Advances in Neural Information Processing Systems, pp. 7287–7298, 2018.
parse/train/TgSVWXw22FQ/TgSVWXw22FQ_content_list.json ADDED
@@ -0,0 +1,1646 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "IMPROVING ZERO-SHOT VOICE STYLE TRANSFER VIADISENTANGLED REPRESENTATION LEARNING",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Siyang Yuan1∗, Pengyu Cheng1∗, Ruiyi Zhang1, Weituo $\\mathbf { H a o } ^ { 1 }$ , Zhe $\\mathbf { G a n ^ { 2 } }$ and Lawrence Carin ",
17
+ "bbox": [
18
+ 187,
19
+ 169,
20
+ 833,
21
+ 185
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1Duke University, Durham, North Carolina, USA 2Microsoft, Redmond, Washington, USA {siyang.yuan,pengyu.cheng}@duke.edu ",
28
+ "bbox": [
29
+ 184,
30
+ 186,
31
+ 524,
32
+ 227
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 257,
43
+ 544,
44
+ 272
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Voice style transfer, also called voice conversion, seeks to modify one speaker’s voice to generate speech as if it came from another (target) speaker. Previous works have made progress on voice conversion with parallel training data and pre-known speakers. However, zero-shot voice style transfer, which learns from non-parallel data and generates voices for previously unseen speakers, remains a challenging problem. We propose a novel zero-shot voice transfer method via disentangled representation learning. The proposed method first encodes speakerrelated style and voice content of each input voice into separated low-dimensional embedding spaces, and then transfers to a new voice by combining the source content embedding and target style embedding through a decoder. With informationtheoretic guidance, the style and content embedding spaces are representative and (ideally) independent of each other. On real-world VCTK datasets, our method outperforms other baselines and obtains state-of-the-art results in terms of transfer accuracy and voice naturalness for voice style transfer experiments under both many-to-many and zero-shot setups. ",
51
+ "bbox": [
52
+ 233,
53
+ 282,
54
+ 764,
55
+ 489
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 515,
66
+ 336,
67
+ 530
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Style transfer, which automatically converts a data instance into a target style, while preserving its content information, has attracted considerable attention in various machine learning domains, including computer vision (Gatys et al., 2016; Luan et al., 2017; Huang & Belongie, 2017), video processing (Huang et al., 2017; Chen et al., 2017), and natural language processing (Shen et al., 2017; Yang et al., 2018; Lample et al., 2019; Cheng et al., 2020b). In speech processing, style transfer was earlier recognized as voice conversion (VC) (Muda et al., 2010), which converts one speaker’s utterance, as if it was from another speaker but with the same semantic meaning. Voice style transfer (VST) has received long-term research interest, due to its potential for applications in security (Sisman et al., 2018), medicine (Nakamura et al., 2006), entertainment (Villavicencio & Bonada, 2010) and education (Mohammadi & Kain, 2017), among others. ",
74
+ "bbox": [
75
+ 174,
76
+ 540,
77
+ 825,
78
+ 678
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Although widely investigated, VST remains challenging when applied to more general application scenarios. Most of the traditional VST methods require parallel training data, i.e., paired voices from two speakers uttering the same sentence. This constraint limits the application of such models in the real world, where data are often not pair-wise available. Among the few existing models that address non-parallel data (Hsu et al., 2016; Lee & Wu, 2006; Godoy et al., 2011), most methods cannot handle many-to-many transfer (Saito et al., 2018; Kaneko & Kameoka, 2018; Kameoka et al., 2018), which prevents them from converting multiple source voices to multiple target speaker styles. Even among the few non-parallel many-to-many transfer models, to the best of our knowledge, only two models (Qian et al., 2019; Chou & Lee, 2019) allow zero-shot transfer, i.e., conversion from/to newly-coming speakers (unseen during training) without re-training the model. ",
85
+ "bbox": [
86
+ 174,
87
+ 685,
88
+ 825,
89
+ 824
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "The only two zero-shot VST models (AUTOVC (Qian et al., 2019) and AdaIN-VC (Chou & Lee, 2019)) share a common weakness. Both methods construct encoder-decoder frameworks, which extract the style and the content information into style and content embeddings, and generate a voice sample by combining a style embedding and a content embedding through the decoder. With the combination of the source content embedding and the target style embedding, the models generate the transferred voice, based only on source and target voice samples. AUTOVC (Qian et al., 2019) uses a GE2E (Wan et al., 2018) pre-trained style encoder to ensure rich speaker-related information in style embeddings. However, AUTOVC has no regularizer to guarantee that the content encoder does not encode any style information. AdaIN-VC (Chou & Lee, 2019) applies instance normalization (Ulyanov et al., 2016) to the feature map of content representations, which helps to eliminate the style information from content embeddings. However, AdaIN-VC fails to prevent content information from being revealed in the style embeddings. Both methods cannot assure that the style and content embeddings are disentangled without information revealed from each other. ",
96
+ "bbox": [
97
+ 174,
98
+ 832,
99
+ 823,
100
+ 901
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "",
107
+ "bbox": [
108
+ 173,
109
+ 103,
110
+ 825,
111
+ 215
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "With information-theoretic guidance, we propose a disentangled-representation-learning method to enhance the encoder-decoder zero-shot VST framework, for both style and content information preservation. We call the proposed method Information-theoretic Disentangled Embedding for Voice Conversion (IDE-VC). Our model successfully induces the style and content of voices into independent representation spaces by minimizing the mutual information between style and content embeddings. We also derive two new multi-group mutual information lower bounds, to further improve the representativeness of the latent embeddings. Experiments demonstrate that our method outperforms previous works under both many-to-many and zero-shot transfer setups on two objective metrics and two subjective metrics. ",
118
+ "bbox": [
119
+ 173,
120
+ 222,
121
+ 825,
122
+ 348
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 BACKGROUND ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 176,
132
+ 359,
133
+ 328,
134
+ 376
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "In information theory, mutual information (MI) is a crucial concept that measures the dependence between two random variables. Mathematically, the MI between two variables $_ { \\textbf { \\em x } }$ and $\\textbf { { y } }$ is ",
141
+ "bbox": [
142
+ 173,
143
+ 383,
144
+ 825,
145
+ 412
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "equation",
151
+ "img_path": "images/d01569d7c9b9320b9546c16159cb93a055b2741162a50bcc63b2e874baa6e960.jpg",
152
+ "text": "$$\n\\mathcal { T } ( \\pmb { x } ; \\pmb { y } ) : = \\mathbb { E } _ { p ( \\pmb { x } , \\pmb { y } ) } \\Big [ \\log \\frac { p ( \\pmb { x } , \\pmb { y } ) } { p ( \\pmb { x } ) p ( \\pmb { y } ) } \\Big ] ,\n$$",
153
+ "text_format": "latex",
154
+ "bbox": [
155
+ 377,
156
+ 419,
157
+ 619,
158
+ 453
159
+ ],
160
+ "page_idx": 1
161
+ },
162
+ {
163
+ "type": "text",
164
+ "text": "where $p ( { \\pmb x } )$ and $p ( \\pmb { y } )$ are marginal distributions of $_ { \\textbf { \\em x } }$ and $\\textbf { { y } }$ , and $p ( { \\pmb x } , { \\pmb y } )$ is the joint distribution. Recently, MI has attracted considerable interest in machine learning as a criterion to minimize or maximize the dependence between different parts of a model (Chen et al., 2016; Alemi et al., 2016; Hjelm et al., 2018; Velickovi ˇ c et al., 2018; Song et al., 2019). However, the calculation of exact MI ´ values is challenging in practice, since the closed form of joint distribution $p ( { \\pmb x } , { \\pmb y } )$ in equation (1) is generally unknown. To solve this problem, several MI estimators have been proposed. For MI maximization tasks, Nguyen, Wainwright and Jordan (NWJ) (Nguyen et al., 2010) propose a lower bound by representing (1) as an $f$ -divergence (Moon & Hero, 2014): ",
165
+ "bbox": [
166
+ 173,
167
+ 458,
168
+ 825,
169
+ 571
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "equation",
175
+ "img_path": "images/a850aeb915fbe7f1de1c35009aee2ad7471f8c60eabf196b348110b45df9ee5a.jpg",
176
+ "text": "$$\n\\begin{array} { r } { \\mathcal { T } _ { \\mathrm { N W J } } : = \\mathbb { E } _ { p ( \\pmb { x } , \\pmb { y } ) } [ f ( \\pmb { x } , \\pmb { y } ) ] - e ^ { - 1 } \\mathbb { E } _ { p ( \\pmb { x } ) p ( \\pmb { y } ) } [ e ^ { f ( \\pmb { x } , \\pmb { y } ) } ] , } \\end{array}\n$$",
177
+ "text_format": "latex",
178
+ "bbox": [
179
+ 328,
180
+ 577,
181
+ 668,
182
+ 598
183
+ ],
184
+ "page_idx": 1
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "with a score function $f ( { \\pmb x } , { \\pmb y } )$ . Another widely-used sample-based MI lower bound is InfoNCE (Oord et al., 2018), which is derived with Noise Contrastive Estimation (NCE) (Gutmann & Hyvarinen, 2010). With sample pairs ¨ $\\{ ( \\pmb { x } _ { i } , \\pmb { y } _ { i } ) \\} _ { i = 1 } ^ { N }$ drawn from the joint distribution $p ( { \\pmb x } , { \\pmb y } )$ , the InfoNCE lower bound is defined as ",
189
+ "bbox": [
190
+ 174,
191
+ 604,
192
+ 825,
193
+ 660
194
+ ],
195
+ "page_idx": 1
196
+ },
197
+ {
198
+ "type": "equation",
199
+ "img_path": "images/58190c929edee4858d038e7a4dd70bec12a44ed1025380cd548ac054e79d2e83.jpg",
200
+ "text": "$$\n\\mathcal { T } _ { \\mathrm { N C E } } : = \\mathbb { E } \\Big [ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\log \\frac { e ^ { f ( { \\pmb x } _ { i } , { \\pmb y } _ { i } ) } } { \\frac { 1 } { N } \\sum _ { j = 1 } ^ { N } e ^ { f ( { \\pmb x } _ { i } , { \\pmb y } _ { j } ) } } \\Big ] .\n$$",
201
+ "text_format": "latex",
202
+ "bbox": [
203
+ 354,
204
+ 665,
205
+ 643,
206
+ 708
207
+ ],
208
+ "page_idx": 1
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "For MI minimization tasks, Cheng et al. (2020a) proposed a contrastively learned upper bound that requires the conditional distribution $p ( { \\pmb x } | { \\pmb y } )$ : ",
213
+ "bbox": [
214
+ 171,
215
+ 713,
216
+ 823,
217
+ 743
218
+ ],
219
+ "page_idx": 1
220
+ },
221
+ {
222
+ "type": "equation",
223
+ "img_path": "images/c23818841ae94bc2c9ad823996791022922eb9806a7ce7141a8abc55bba47948.jpg",
224
+ "text": "$$\n\\mathcal { T } ( \\pmb { x } ; \\pmb { y } ) \\leq \\mathbb { E } \\Big [ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\Big [ \\log p ( \\pmb { x } _ { i } | \\pmb { y } _ { i } ) - \\frac { 1 } { N } \\sum _ { j = 1 } ^ { N } \\log p ( \\pmb { x } _ { j } | \\pmb { y } _ { i } ) \\Big ] \\Big ] .\n$$",
225
+ "text_format": "latex",
226
+ "bbox": [
227
+ 297,
228
+ 748,
229
+ 700,
230
+ 794
231
+ ],
232
+ "page_idx": 1
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "where the MI is bounded by the log-ratio of conditional distribution $p ( { \\pmb x } | { \\pmb y } )$ between positive and negative sample pairs. In the following, we derive our information-theoretic disentangled representation learning framework for voice style transfer based on the MI estimators described above. ",
237
+ "bbox": [
238
+ 174,
239
+ 800,
240
+ 825,
241
+ 843
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "3 PROPOSED MODEL ",
248
+ "text_level": 1,
249
+ "bbox": [
250
+ 176,
251
+ 854,
252
+ 362,
253
+ 872
254
+ ],
255
+ "page_idx": 1
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "We assume access to $N$ audio (voice) recordings from $M$ speakers, where speaker $u$ has $N _ { u }$ voice samples $\\mathcal { X } _ { u } = \\{ \\pmb { x } _ { u i } \\} _ { i = 1 } ^ { N _ { u } }$ . The proposed approach encodes each voice input $\\pmb { x } \\in \\mathcal { X } = \\cup _ { u = 1 } ^ { M } \\pmb { \\chi } _ { u }$ into a speaker-related (style) embedding $\\pmb { s } = E _ { s } ( \\pmb { x } )$ and a content-related embedding ${ \\pmb c } = E _ { c } ( { \\pmb x } )$ , using respectively a style encoder $E _ { s } ( \\cdot )$ and a content encoder $E _ { c } ( \\cdot )$ . To transfer a source ${ \\pmb x } _ { u i }$ from speaker $u$ to the target style of the voice of speaker $v$ , $\\mathbf { \\boldsymbol { x } } _ { v j }$ , we combine the content embedding $\\bar { \\mathbf { c } _ { u i } } = E _ { c } ( \\mathbf { x } _ { u i } )$ and the style embedding ${ \\pmb s } _ { v j } = E _ { s } ( { \\pmb x } _ { v j } )$ to generate the transferred voice $\\hat { \\pmb x } _ { u v , i } = D ( \\pmb s _ { v j } , \\pmb c _ { u i } )$ with a decoder $D ( s , c )$ . To implement this two-step transfer process, we introduce a novel mutual information (MI)-based learning objective, that induces the style embedding $\\pmb { s }$ and content embedding $^ c$ into independent representation spaces (i.e., ideally, $\\pmb { s }$ contains rich style information of $_ { \\textbf { \\em x } }$ with no content information, and vice versa). In the following, we first describe our MI-based training objective in Section 3.1, and then discuss the practical estimation of the objective in Sections 3.2 and 3.3. ",
260
+ "bbox": [
261
+ 174,
262
+ 880,
263
+ 825,
264
+ 924
265
+ ],
266
+ "page_idx": 1
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "",
271
+ "bbox": [
272
+ 173,
273
+ 102,
274
+ 825,
275
+ 229
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "3.1 MI-BASED DISENTANGLING OBJECTIVE ",
282
+ "text_level": 1,
283
+ "bbox": [
284
+ 174,
285
+ 247,
286
+ 493,
287
+ 262
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "From an information-theoretic perspective, to learn representative latent embedding $( s , c )$ , it is desirable to maximize the mutual information between the embedding pair $( s , c )$ and the input $_ { \\textbf { \\em x } }$ . Meanwhile, the style embedding $\\pmb { s }$ and the content $^ c$ are desired to be independent, so that we can control the style transfer process with different style and content attributes. Therefore, we minimize the mutual information $\\bar { \\mathcal { T } } ( s ; c )$ to disentangle the style embedding and content embedding spaces. Consequently, our overall disentangled-representation-learning objective seeks to minimize ",
294
+ "bbox": [
295
+ 173,
296
+ 270,
297
+ 825,
298
+ 354
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "equation",
304
+ "img_path": "images/526a936a0c3f2fac2c684f2ab6b1a70c0adc1236e57dafe77b41af58dcf053a3.jpg",
305
+ "text": "$$\n\\mathcal { L } = \\mathcal { T } ( \\pmb { s } ; \\pmb { c } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { s } , \\pmb { c } ) = \\mathcal { T } ( \\pmb { s } ; \\pmb { c } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { s } ) .\n$$",
306
+ "text_format": "latex",
307
+ "bbox": [
308
+ 302,
309
+ 363,
310
+ 696,
311
+ 381
312
+ ],
313
+ "page_idx": 2
314
+ },
315
+ {
316
+ "type": "text",
317
+ "text": "As discussed in Locatello et al. (Locatello et al., 2019), without inductive bias for supervision, the learned representation can be meaningless. To address this problem, we use the speaker identity $\\textbf { \\em u }$ as a variable with values $\\{ 1 , \\dots , M \\}$ to learn representative style embedding $\\pmb { s }$ for speaker-related attributes. Noting that the process from speaker $u$ to his/her voice ${ \\pmb x } _ { u i }$ to the style embedding $s _ { u i }$ (as $\\mathbf { \\delta } \\mathbf { \\boldsymbol { u } } \\to \\mathbf { \\mathcal { x } } \\to \\mathbf { \\mathcal { s } }$ ) is a Markov Chain, we conclude ${ \\mathcal { T } } ( s ; x ) \\geq { \\mathcal { T } } ( s ; u )$ based on the MI data-processing inequality (Cover & Thomas, 2012) (as stated in the Supplementary Material). Therefore, we replace $\\scriptstyle { \\mathcal { T } } ( s ; x )$ in $\\mathcal { L }$ with $\\pmb { \\mathcal { T } } ( \\pmb { s } ; \\pmb { u } )$ and minimize an upper bound instead: ",
318
+ "bbox": [
319
+ 173,
320
+ 387,
321
+ 825,
322
+ 486
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "equation",
328
+ "img_path": "images/59d21668ffd521aed11e0603aa88d08069fae713c70a93f717f8019ba776aa1f.jpg",
329
+ "text": "$$\n\\bar { \\mathcal { L } } = \\mathcal { T } ( \\pmb { s } ; \\pmb { c } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } ) - \\mathcal { T } ( \\pmb { u } ; \\pmb { s } ) \\geq \\mathcal { T } ( \\pmb { s } ; \\pmb { c } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } ) - \\mathcal { T } ( \\pmb { x } ; \\pmb { s } ) ,\n$$",
330
+ "text_format": "latex",
331
+ "bbox": [
332
+ 267,
333
+ 493,
334
+ 728,
335
+ 511
336
+ ],
337
+ "page_idx": 2
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "In practice, calculating the MI is challenging, as we typically only have access to samples, and lack the required distributions (Chen et al., 2016). To solve this problem, below we provide several MI estimates to the objective terms $\\mathcal { T } ( s ; c )$ , $\\pmb { \\mathcal { T } } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } )$ and $\\mathcal { T } ( u ; s )$ . ",
342
+ "bbox": [
343
+ 174,
344
+ 518,
345
+ 825,
346
+ 563
347
+ ],
348
+ "page_idx": 2
349
+ },
350
+ {
351
+ "type": "text",
352
+ "text": "3.2 MI LOWER BOUND ESTIMATION ",
353
+ "text_level": 1,
354
+ "bbox": [
355
+ 174,
356
+ 577,
357
+ 441,
358
+ 592
359
+ ],
360
+ "page_idx": 2
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "To maximize $\\scriptstyle { \\mathcal { T } } ( u ; s )$ , we derive the following multi-group MI lower bound (Theorem 3.1) based on the NWJ bound developed in Nguyen et al. (Nguyen et al., 2010). The detailed proof is provided in the Supplementary Material. Let $\\dot { \\mu } _ { v } ^ { ( - u i ) } = \\mu _ { v }$ represent the mean of all style embeddings in group $\\mathcal { X } _ { v }$ , constituting the style centroid of speaker $v$ ; $\\mu _ { u } ^ { ( - u i ) }$ is the mean of all style embeddings in group $\\mathcal { X } _ { u }$ except data point ${ \\pmb x } _ { u i }$ , representing a leave- ${ \\bf { x } } _ { u i }$ -out style centroid of speaker $u$ . Intuitively, we minimize $\\| s _ { u i } - \\mu _ { u } ^ { ( - u i ) } \\|$ to encourage the style embedding of voice ${ \\pmb x } _ { u i }$ to be more similar to the style centroid of speaker $u$ , while maximizing $\\| s _ { u i } - \\mu _ { v } ^ { ( - u i ) } \\|$ to enlarge the margin between $s _ { u i }$ and the other speakers’ style centroids $\\pmb { \\mu } _ { v }$ . We denote the right-hand side of (7) as $\\hat { \\mathcal { I } } _ { 1 }$ . ",
365
+ "bbox": [
366
+ 173,
367
+ 598,
368
+ 825,
369
+ 728
370
+ ],
371
+ "page_idx": 2
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "Theorem 3.1. Let $\\begin{array} { r } { \\pmb { \\mu } _ { v } ^ { ( - u i ) } = \\frac { 1 } { N _ { v } } \\sum _ { k = 1 } ^ { N _ { v } } \\pmb { s } _ { v k } i f u \\neq } \\end{array}$ $u \\ne v$ ; and $\\begin{array} { r } { \\pmb { \\mu } _ { u } ^ { ( - u i ) } = \\frac { 1 } { N _ { u } - 1 } \\sum _ { j \\neq i } \\pmb { s } _ { u j } } \\end{array}$ ",
376
+ "bbox": [
377
+ 171,
378
+ 732,
379
+ 772,
380
+ 753
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "equation",
386
+ "img_path": "images/89fe967f1f4f9ae4a77bec2528a7b0c730e4b35a8554564c14746c99e1121729.jpg",
387
+ "text": "$$\n\\mathcal { Z } ( u ; s ) \\geq \\mathbb { E } \\Big [ \\frac { 1 } { N } \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\Big [ - \\| s _ { u i } - \\mu _ { u } ^ { ( - u i ) } \\| ^ { 2 } - \\frac { e ^ { - 1 } } { N } \\sum _ { v = 1 } ^ { M } N _ { v } \\exp \\{ - \\| s _ { u i } - \\mu _ { v } ^ { ( - u i ) } \\| ^ { 2 } \\} \\Big ] \\Big ] .\n$$",
388
+ "text_format": "latex",
389
+ "bbox": [
390
+ 191,
391
+ 762,
392
+ 784,
393
+ 805
394
+ ],
395
+ "page_idx": 2
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "To maximize $\\pmb { \\mathcal { T } } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } )$ , we derive a conditional mutual information lower bound below: ",
400
+ "bbox": [
401
+ 169,
402
+ 820,
403
+ 753,
404
+ 837
405
+ ],
406
+ "page_idx": 2
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "Theorem 3.2. Assume that given $\\begin{array} { r } { \\boldsymbol { s } = \\boldsymbol { s } _ { u } , } \\end{array}$ , samples $\\{ ( \\pmb { x } _ { u i } , \\pmb { c } _ { u i } ) \\} _ { i = 1 } ^ { N _ { u } }$ are observed. With a variational distribution $q _ { \\phi } ( { \\pmb x } | { \\pmb s } , { \\pmb c } )$ , we have $\\mathcal { T } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } ) \\geq \\mathbb { E } [ \\hat { \\mathcal { T } } ]$ , where ",
411
+ "bbox": [
412
+ 173,
413
+ 840,
414
+ 825,
415
+ 876
416
+ ],
417
+ "page_idx": 2
418
+ },
419
+ {
420
+ "type": "equation",
421
+ "img_path": "images/b27891ce3d07448729e6549df6f2879916a773bd1fa446549efcf469c29e8b93.jpg",
422
+ "text": "$$\n\\hat { \\mathcal { T } } = \\frac { 1 } { N } \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\left[ \\log q _ { \\phi } ( \\pmb { x } _ { u i } | \\pmb { c } _ { u i } , \\pmb { s } _ { u } ) - \\log \\left( \\frac { 1 } { N _ { u } } \\sum _ { j = 1 } ^ { N _ { u } } q _ { \\phi } ( \\pmb { x } _ { u j } | \\pmb { c } _ { u i } , \\pmb { s } _ { u } ) \\right) \\right] .\n$$",
423
+ "text_format": "latex",
424
+ "bbox": [
425
+ 256,
426
+ 883,
427
+ 740,
428
+ 928
429
+ ],
430
+ "page_idx": 2
431
+ },
432
+ {
433
+ "type": "image",
434
+ "img_path": "images/49eb8d52383f2f877a1546711e5b0f7b4d073ca4a8800001f2aee488249c822c.jpg",
435
+ "image_caption": [
436
+ "Figure 1: Training and transfer processes. (a) Training style encoder $E _ { s }$ with objective $\\hat { \\mathcal { I } } _ { 1 }$ : All voice samples are encoded into style embedding space. For style embedding $s _ { u i }$ of ${ \\pmb x } _ { u i }$ , we minimize its distance with speaker $u$ ’s style centroid $\\pmb { \\mu } _ { u }$ , and maximize its distance to other speaker style centroids $\\pmb { \\mu } _ { v }$ . (b) Training for content encoder $E _ { c }$ and decoder $D$ as objectives $\\hat { \\mathcal { T } } _ { 2 } , \\tilde { \\mathcal { T } } _ { 3 }$ : We encode content $\\mathbf { \\mathit { c } } _ { u i }$ from voice $\\mathbf { \\mathcal { x } } _ { u i }$ from speaker $u$ . The style of speaker $u$ is encoded from another speaker $u$ ’s voice $\\mathbf { \\boldsymbol { x } } _ { u j }$ . The dependency of style and content embedding is minimized with $\\hat { \\mathcal { T } } _ { 3 }$ . With $\\mathbf { \\mathit { c } } _ { u i }$ and $\\mathbf { } _ { s \\alpha }$ , the decoder reconstructs the voice ${ \\pmb x } _ { u i }$ as $\\hat { \\pmb { x } } _ { u i } = D ( \\pmb { s } _ { u } , \\pmb { c } _ { u i } )$ . Then $\\hat { \\mathcal { I } } _ { 2 }$ is calculated based on the original voice $\\mathbf { \\phi } _ { c u i }$ and the reconstruction $\\hat { c } _ { u i }$ . (c) Transfer process: for zero-shot voice style transfer, with ${ \\pmb x } _ { u i }$ from speaker $u$ and $\\boldsymbol { x } _ { v j }$ from speaker $v$ , we encode content $c _ { u i }$ and style $\\scriptstyle { \\pmb { s } } _ { v }$ , and combine them together to generate a transferred voice $\\hat { \\pmb { x } } _ { u v , i } = D ( \\pmb { s } _ { v } , \\pmb { c } _ { u i } )$ . "
437
+ ],
438
+ "image_footnote": [],
439
+ "bbox": [
440
+ 204,
441
+ 108,
442
+ 792,
443
+ 294
444
+ ],
445
+ "page_idx": 3
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "Based on the criterion for $\\pmb { s }$ in equation (7), a well-learned style encoder $E _ { s }$ pulls all style embeddings $s _ { u i }$ from speaker $u$ together. Suppose $\\mathbf { } _ { s \\mu }$ is representative of the style embeddings of set $\\mathcal { X } _ { u }$ . If we parameterize the distribution $q _ { \\phi } ( \\bar { \\pmb { x } } | s , \\pmb { c } ) \\propto \\mathrm { e x p } ( - \\| \\pmb { x } - D ( \\pmb { s } , \\pmb { c } ) \\| ^ { 2 } )$ with decoder $D ( s , c )$ , then based on Theorem 3.2, we can estimate the lower bound of $\\pmb { \\mathcal { T } } ( \\pmb { x } ; \\pmb { c } | \\pmb { s } )$ with the following objective: ",
450
+ "bbox": [
451
+ 174,
452
+ 488,
453
+ 825,
454
+ 545
455
+ ],
456
+ "page_idx": 3
457
+ },
458
+ {
459
+ "type": "equation",
460
+ "img_path": "images/035e5666e4a4592d315b6e6c392af030e5ae1b29ecf37e5bbae09eb661379500.jpg",
461
+ "text": "$$\n\\hat { \\mathcal { Z } } _ { 2 } : = \\frac { 1 } { N } \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\Big [ - \\| \\pmb { x } _ { u i } - D \\big ( \\boldsymbol { c } _ { u i } , \\boldsymbol { s } _ { u } \\big ) \\| ^ { 2 } - \\log \\Big ( \\frac { 1 } { N _ { u } } \\sum _ { j = 1 } ^ { N _ { u } } \\exp \\{ - \\| \\pmb { x } _ { u j } - D \\big ( \\boldsymbol { c } _ { u i } , \\boldsymbol { s } _ { u } \\big ) \\| ^ { 2 } \\} \\Big ) \\Big ] .\n$$",
462
+ "text_format": "latex",
463
+ "bbox": [
464
+ 191,
465
+ 555,
466
+ 805,
467
+ 601
468
+ ],
469
+ "page_idx": 3
470
+ },
471
+ {
472
+ "type": "text",
473
+ "text": "When maximizing $\\hat { \\mathcal { I } } _ { 2 }$ , for speaker $u$ with his/her given voice style $\\mathbf { } _ { s _ { u } }$ , we encourage the content embedding $c _ { u i }$ to well reconstruct the original voice ${ \\pmb x } _ { u i }$ , with small $\\| \\pmb { x } _ { u i } - D ( \\pmb { c } _ { u i } , \\pmb { s } _ { u } ) \\|$ . Additionally, the distance $\\| \\pmb { x } _ { u j } - D ( \\pmb { c } _ { u i } , \\pmb { s } _ { u } ) \\|$ is minimized, ensuring $\\mathbf { \\mathit { c } } _ { u i }$ does not contain information to reconstruct other voices $\\mathbf { \\boldsymbol { x } } _ { u j }$ from speaker $u$ . With $\\hat { \\mathcal { I } } _ { 2 }$ , the correlation between ${ \\pmb x } _ { u i }$ and $c _ { u i }$ is amplified, which improves $\\mathbf { \\mathit { c } } _ { u i }$ in preserving the content information. ",
474
+ "bbox": [
475
+ 173,
476
+ 612,
477
+ 825,
478
+ 688
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "3.3 MI UPPER BOUND ESTIMATION ",
485
+ "text_level": 1,
486
+ "bbox": [
487
+ 176,
488
+ 704,
489
+ 436,
490
+ 718
491
+ ],
492
+ "page_idx": 3
493
+ },
494
+ {
495
+ "type": "text",
496
+ "text": "The crucial part of our framework is disentangling the style and the content embedding spaces, which imposes (ideally) that the style embedding $\\pmb { s }$ excludes any content information and vice versa. Therefore, the mutual information between $\\pmb { s }$ and $^ c$ is expected to be minimized. To estimate $\\mathcal { T } ( s ; c )$ , we derive a sample-based MI upper bound in Theorem 3.3 base on (4). ",
497
+ "bbox": [
498
+ 173,
499
+ 727,
500
+ 825,
501
+ 785
502
+ ],
503
+ "page_idx": 3
504
+ },
505
+ {
506
+ "type": "text",
507
+ "text": "Theorem 3.3. If $p ( \\boldsymbol { s } | \\boldsymbol { c } )$ provides the conditional distribution between variables s and $^ c$ , then ",
508
+ "bbox": [
509
+ 171,
510
+ 790,
511
+ 789,
512
+ 805
513
+ ],
514
+ "page_idx": 3
515
+ },
516
+ {
517
+ "type": "equation",
518
+ "img_path": "images/7f3ca2b008418ad21b9e28d0de5e15bd13c76b3f292ea5c7e0f8feef1f8e0207.jpg",
519
+ "text": "$$\n\\mathcal { T } ( s ; c ) \\leq \\mathbb { E } \\Big [ \\frac { 1 } { N } \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\Big [ \\log p ( s _ { u i } | c _ { u i } ) - \\frac { 1 } { N } \\sum _ { v = 1 } ^ { M } \\sum _ { j = 1 } ^ { N _ { v } } \\log p ( s _ { u i } | c _ { v j } ) \\Big ] \\Big ] .\n$$",
520
+ "text_format": "latex",
521
+ "bbox": [
522
+ 259,
523
+ 815,
524
+ 736,
525
+ 861
526
+ ],
527
+ "page_idx": 3
528
+ },
529
+ {
530
+ "type": "text",
531
+ "text": "The upper bound in (9) requires the ground-truth conditional distribution $p ( \\boldsymbol { s } | \\boldsymbol { c } )$ , whose closed form is unknown. Therefore, we use a probabilistic neural network $q _ { \\theta } ( s | \\boldsymbol { c } )$ to approximate $p ( \\boldsymbol { s } | \\boldsymbol { c } )$ by maximizing the log-likelihood $\\begin{array} { r } { \\mathcal { F } ( \\theta ) = \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\log q _ { \\theta } ( s _ { u i } | \\boldsymbol { c } _ { u i } ) } \\end{array}$ . With the learned $q _ { \\theta } ( s | c )$ , the ",
532
+ "bbox": [
533
+ 174,
534
+ 878,
535
+ 825,
536
+ 926
537
+ ],
538
+ "page_idx": 3
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "objective for minimizing $\\mathcal { T } ( s ; c )$ becomes: ",
543
+ "bbox": [
544
+ 174,
545
+ 103,
546
+ 452,
547
+ 118
548
+ ],
549
+ "page_idx": 4
550
+ },
551
+ {
552
+ "type": "equation",
553
+ "img_path": "images/1481b85f3f8409b371afc4a08d4e594be1e612a036a6df94d7d87300b412afbc.jpg",
554
+ "text": "$$\n\\hat { \\mathcal { Z } } _ { 3 } : = \\frac { 1 } { N } \\sum _ { u = 1 } ^ { M } \\sum _ { i = 1 } ^ { N _ { u } } \\left[ \\log q _ { \\theta } ( \\boldsymbol s _ { u i } | \\boldsymbol c _ { u i } ) - \\frac { 1 } { N } \\sum _ { v = 1 } ^ { M } \\sum _ { j = 1 } ^ { N _ { v } } \\log q _ { \\theta } ( \\boldsymbol s _ { u i } | \\boldsymbol c _ { v j } ) \\right] .\n$$",
555
+ "text_format": "latex",
556
+ "bbox": [
557
+ 279,
558
+ 125,
559
+ 717,
560
+ 169
561
+ ],
562
+ "page_idx": 4
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "When weights of encoders $E _ { c } , E _ { s }$ are updated, the embedding spaces $s , c$ change, which leads to the changing of conditional distribution $p ( \\boldsymbol { s } | \\boldsymbol { c } )$ . Therefore, the neural approximation $q _ { \\theta } ( s | c )$ must be updated again. Consequently, during training, the encoders $E _ { c } , E _ { s }$ and the approximation $q _ { \\theta } ( s | c )$ are updated iteratively. In the Supplementary Material, we further discuss that with a good approximation $q _ { \\theta } ( s | \\boldsymbol { c } ) , \\hat { Z } _ { 3 }$ remains an MI upper bound. ",
567
+ "bbox": [
568
+ 173,
569
+ 172,
570
+ 825,
571
+ 247
572
+ ],
573
+ "page_idx": 4
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "3.4 ENCODER-DECODER FRAMEWORK ",
578
+ "text_level": 1,
579
+ "bbox": [
580
+ 176,
581
+ 258,
582
+ 457,
583
+ 273
584
+ ],
585
+ "page_idx": 4
586
+ },
587
+ {
588
+ "type": "text",
589
+ "text": "With the aforementioned MI estimates $\\hat { \\mathcal { T } } _ { 1 } , \\hat { \\mathcal { T } } _ { 2 }$ , and $\\hat { \\mathcal { T } } _ { 3 }$ , the final training loss of our method is ",
590
+ "bbox": [
591
+ 173,
592
+ 280,
593
+ 781,
594
+ 297
595
+ ],
596
+ "page_idx": 4
597
+ },
598
+ {
599
+ "type": "equation",
600
+ "img_path": "images/8c796ef0057306b8549d60b22f4c370b973973273fad317a0a529bbb97731174.jpg",
601
+ "text": "$$\n\\mathcal { L } ^ { * } = [ \\hat { \\mathcal { T } } _ { 3 } - \\hat { \\mathcal { T } } _ { 1 } - \\hat { \\mathcal { T } } _ { 2 } ] - \\beta \\mathcal { F } ( \\boldsymbol { \\theta } ) ,\n$$",
602
+ "text_format": "latex",
603
+ "bbox": [
604
+ 393,
605
+ 301,
606
+ 602,
607
+ 320
608
+ ],
609
+ "page_idx": 4
610
+ },
611
+ {
612
+ "type": "text",
613
+ "text": "where $\\beta$ is a positive number re-weighting the two objective terms. Term $\\hat { \\mathcal { T } } _ { 3 } - \\hat { \\mathcal { T } } _ { 1 } - \\hat { \\mathcal { T } } _ { 2 }$ is minimized w.r.t the parameters in encoders $E _ { c } , E _ { s }$ and decoder $D$ ; term ${ \\mathcal { F } } ( \\theta )$ as the likelihood function of $q _ { \\theta } ( s | c )$ is maximized w.r.t the parameter $\\theta$ . In practice, the two terms are updated iteratively with gradient descent (by fixing one and updating another). The training and transfer processes of our model are shown in Figure 1. We name this MI-guided learning framework as Information-theoretic Disentangled Embedding for Voice Conversion (IDE-VC). ",
614
+ "bbox": [
615
+ 174,
616
+ 328,
617
+ 825,
618
+ 412
619
+ ],
620
+ "page_idx": 4
621
+ },
622
+ {
623
+ "type": "text",
624
+ "text": "4 RELATED WORK ",
625
+ "text_level": 1,
626
+ "bbox": [
627
+ 176,
628
+ 425,
629
+ 344,
630
+ 441
631
+ ],
632
+ "page_idx": 4
633
+ },
634
+ {
635
+ "type": "text",
636
+ "text": "Many-to-many Voice Conversion Traditional voice style transfer methods mainly focus on one-toone and many-to-one conversion tasks, which can only transfer voices into one target speaking style. This constraint limits the applicability of the methods. Recently, several many-to-many voice conversion methods have been proposed, to convert voices in broader application scenarios. StarGANVC (Kameoka et al., 2018) uses StarGAN (Choi et al., 2018) to enable many-to-many transfer, in which voices are fed into a unique generator conditioned on the target speaker identity. A discriminator is also used to evaluate generation quality and transfer accuracy. Blow (Serra et al., 2019) is a \\` flow-based generative model (Kingma & Dhariwal, 2018), that maps voices from different speakers into the same latent space via normalizing flow (Rezende & Mohamed, 2015). The conversion is accomplished by transforming the latent representation back to the observation space with the target speaker’s identifier. Two other many-to-many conversion models, AUTOVC (Qian et al., 2019) and AdaIN-VC (Chou & Lee, 2019), extend applications into zero-shot scenarios, i.e., conversion from/to a new speaker (unseen during training), based on only a few utterances. Both AUTOVC and AdaIN-VC construct an encoder-decoder framework, which extracts the style and content of one speech sample into separate latent embeddings. Then when a new voice from an unseen speaker comes, both its style and content embeddings can be extracted directly. However, as discussed in the Introduction, both methods do not have explicit regularizers to reduce the correlation between style and content embeddings, which limits their performance. ",
637
+ "bbox": [
638
+ 174,
639
+ 449,
640
+ 825,
641
+ 699
642
+ ],
643
+ "page_idx": 4
644
+ },
645
+ {
646
+ "type": "text",
647
+ "text": "Disentangled Representation Learning Disentangled representation learning (DRL) aims to encode data points into separate independent embedding subspaces, where different subspaces represent different data attributes. DRL methods can be classified into unsupervised and supervised approaches. Under unsupervised setups, Burgess et al. (2018), Higgins et al. (2016) and Kim & Mnih (2018) use latent embeddings to reconstruct the original data while keeping each dimension of the embeddings independent with correlation regularizers. This has been challenged by Locatello et al. (2019), in that each part of the learned embeddings may not be mapped to a meaningful data attribute. In contrast, supervised DRL methods effectively learn meaningful disentangled embedding parts by adding different supervision to different embedding components. Between the two embedding parts, the correlation is still required to be reduced to prevent the revealing of information to each other. The correlation-reducing methods mainly focus on adversarial training between embedding parts (Hjelm et al., 2018; Kim & Mnih, 2018), and mutual information minimization (Chen et al., 2018; Cheng et al., 2020b). By applying operations such as switching and combining, one can use disentangled representations to improve empirical performance on downstream tasks, e.g. conditional generation (Burgess et al., 2018), domain adaptation (Gholami et al., 2020), and few-shot learning (Higgins et al., 2017). ",
648
+ "bbox": [
649
+ 173,
650
+ 707,
651
+ 825,
652
+ 928
653
+ ],
654
+ "page_idx": 4
655
+ },
656
+ {
657
+ "type": "text",
658
+ "text": "5 EXPERIMENTS ",
659
+ "text_level": 1,
660
+ "bbox": [
661
+ 176,
662
+ 102,
663
+ 326,
664
+ 117
665
+ ],
666
+ "page_idx": 5
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "We evaluate our IDE-VC on real-world voice a dataset under both many-to-many and zero-shot VST setups. The selected dataset is CSTR Voice Cloning Toolkit (VCTK) (Yamagishi et al., 2019), which includes 46 hours of audio from 109 speakers. Each speaker reads a different sets of utterances, and the training voices are provided in a non-parallel manner. The audios are downsampled at $1 6 \\mathrm { k H z }$ . In the following, we first describe the evaluation metrics and the implementation details, and then analyze our model’s performance relative to other baselines under many-to-many and zero-shot VST settings. ",
671
+ "bbox": [
672
+ 173,
673
+ 126,
674
+ 825,
675
+ 223
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "5.1 EVALUATION METRICS ",
682
+ "text_level": 1,
683
+ "bbox": [
684
+ 176,
685
+ 237,
686
+ 375,
687
+ 251
688
+ ],
689
+ "page_idx": 5
690
+ },
691
+ {
692
+ "type": "text",
693
+ "text": "Objective Metrics We consider two objective metrics: Speaker verification accuracy (Verification) and the Mel-Cepstral Distance (Distance) (Kubichek, 1993). The speaker verification accuracy measures whether the transferred voice belongs to the target speaker. For fair comparison, we used a third-party pre-trained speaker encoder Resemblyzer1 to classify the speaker identity from the transferred voices. Specifically, style centroids for speakers are learned with ground-truth voice samples. For a transferred voice, we encode it via the pre-trained speaker encoder and find the speaker with the closest style centroid as the identity prediction. For the Distance, the vanilla Mel-Cepstral Distance (MCD) cannot handle the time alignment issue described in Section 2. To make reasonable comparisons between the generation and ground truth, we apply the Dynamic Time Warping (DTW) algorithm (Berndt & Clifford, 1994) to automatically align the time-evolving sequences before calculating MCD. This DTW-MCD distance measures the similarity of the transferred voice and the real voice from the target speaker. Since the calculation of DTW-MCD requires parallel data, we select voices with the same content from the VCTK dataset as testing pairs. Then we transfer one voice in the pair and calculate DTW-MCD with the other voice as reference. ",
694
+ "bbox": [
695
+ 174,
696
+ 260,
697
+ 825,
698
+ 453
699
+ ],
700
+ "page_idx": 5
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "Subjective Metrics Following Wester et al. (Wester et al., 2016), we use the naturalness of the speech (Naturalness), and the similarity of the transferred speech to target identity (Similarity) as subjective metrics. For Naturalness, annotators are asked to rate the score from 1-5 for each transferred speech.For the Similarity, the annotators are presented with two audios (the converted speech and the corresponding reference), and are asked to rate the score from 1 to 4. For both scores, the higher the better. Following the setting in Blow (Serra et al., 2019), we report Similarity defined \\` as a total percentage from the binary rating. The evaluation of both subjective metrics is conducted on Amazon Mechanical Turk (MTurk)2. More details about evaluation metrics are provided in the Supplementary Material. ",
705
+ "bbox": [
706
+ 174,
707
+ 460,
708
+ 825,
709
+ 585
710
+ ],
711
+ "page_idx": 5
712
+ },
713
+ {
714
+ "type": "text",
715
+ "text": "5.2 IMPLEMENTATION DETAILS ",
716
+ "text_level": 1,
717
+ "bbox": [
718
+ 176,
719
+ 599,
720
+ 405,
721
+ 613
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "Following AUTOVC (Qian et al., 2019), our model inputs are represented via mel-spectrogram. The number of mel-frequency bins is set as 80. When voices are generated, we adopt the WaveNet vocoder (Oord et al., 2016) pre-trained on the VCTK corpus to invert the spectrogram signal back to a waveform. The spectrogram is first upsampled with deconvolutional layers to match the sampling rate, and then a standard 40-layer WaveNet is applied to generate speech waveforms. Our model is implememted with Pytorch and takes 1 GPU day on an Nvidia Xp to train. ",
728
+ "bbox": [
729
+ 174,
730
+ 621,
731
+ 825,
732
+ 705
733
+ ],
734
+ "page_idx": 5
735
+ },
736
+ {
737
+ "type": "text",
738
+ "text": "Encoder Architecture The speaker encoder consists of a 2-layer long short-term memory (LSTM) with cell size of 768, and a fully-connected layer with output dimension 256. The speaker encoder is initialized with weights from a pretrained GE2E (Wan et al., 2018) encoder. The input of the content encoder is the concatenation of the mel-spectrogram signal and the corresponding speaker embedding. The content encoder consists of three convolutional layers with 512 channels, and two layers of a bidirectional LSTM with cell dimension 32. Following the setup in AUTOVC (Qian et al., 2019), the forward and backward outputs of the bi-directional LSTM are downsampled by 16. ",
739
+ "bbox": [
740
+ 174,
741
+ 712,
742
+ 825,
743
+ 809
744
+ ],
745
+ "page_idx": 5
746
+ },
747
+ {
748
+ "type": "text",
749
+ "text": "Decoder Architecture Following AUTOVC (Qian et al., 2019), the initial decoder consists of a three-layer convolutional neural network (CNN) with 512 channels, three LSTM layers with cell dimension 1024, and another convolutional layer to project the output of the LSTM to dimension of 80. To enhance the quality of the spectrogram, following AUTOVC (Qian et al., 2019), we use a post-network consisting of five convolutional layers with 512 channels for the first four layers, and ",
750
+ "bbox": [
751
+ 174,
752
+ 815,
753
+ 825,
754
+ 886
755
+ ],
756
+ "page_idx": 5
757
+ },
758
+ {
759
+ "type": "table",
760
+ "img_path": "images/dcc2b6604d142214a7019ba17af80a4e4e66b71fb68fe549292fe1a772c73614.jpg",
761
+ "table_caption": [
762
+ "Table 1: Many-to-many VST evaluation results. For all metrics except Distance, higher is better. "
763
+ ],
764
+ "table_footnote": [],
765
+ "table_body": "<table><tr><td rowspan=\"2\">Metric</td><td colspan=\"2\">Objective</td><td colspan=\"2\">Subjective</td></tr><tr><td>Distance</td><td>Verification[%]</td><td>Naturalness [1-5]</td><td>Similarity [%]</td></tr><tr><td>StarGAN</td><td>6.73</td><td>71.1</td><td>2.77</td><td>51.5</td></tr><tr><td>AdaIN-VC</td><td>6.98</td><td>85.5</td><td>2.19</td><td>50.8</td></tr><tr><td>AUTOVC</td><td>6.73</td><td>89.9</td><td>3.25</td><td>55.0</td></tr><tr><td>Blow</td><td>8.08</td><td>=</td><td>2.11</td><td>10.8</td></tr><tr><td>IDE-VC (Ours)</td><td>6.70</td><td>92.2</td><td>3.26</td><td>68.5</td></tr></table>",
766
+ "bbox": [
767
+ 181,
768
+ 126,
769
+ 816,
770
+ 247
771
+ ],
772
+ "page_idx": 6
773
+ },
774
+ {
775
+ "type": "table",
776
+ "img_path": "images/14b6fadc12a091d2aa1d552b0e199445b730272f733a35f3b3c182f50da8e70e.jpg",
777
+ "table_caption": [
778
+ "Table 2: Zero-Shot VST evaluation results. For all metrics except Distance, higher is better. "
779
+ ],
780
+ "table_footnote": [],
781
+ "table_body": "<table><tr><td rowspan=\"2\">Metric</td><td colspan=\"2\">Objective</td><td colspan=\"2\"> Subjective</td></tr><tr><td>Distance</td><td>Verification[%]</td><td>Naturalness [1-5]</td><td>Similarity [%]</td></tr><tr><td>AdaIN-VC</td><td>6.37</td><td>76.7</td><td>2.67</td><td>68.4</td></tr><tr><td>AUTOVC</td><td>6.68</td><td>60.0</td><td>2.19</td><td>58.6</td></tr><tr><td>IDE-VC (Ours)</td><td>6.31</td><td>81.1</td><td>3.33</td><td>76.4</td></tr></table>",
782
+ "bbox": [
783
+ 181,
784
+ 285,
785
+ 816,
786
+ 377
787
+ ],
788
+ "page_idx": 6
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "80 channels for the last layer. The output of the post-network can be viewed as a residual signal. The final conversion signal is computed by directly adding the output of the initial decoder and the post-network. The reconstruction loss is applied to both the output of the initial decoder and the final conversion signal. ",
793
+ "bbox": [
794
+ 174,
795
+ 402,
796
+ 823,
797
+ 459
798
+ ],
799
+ "page_idx": 6
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "Approximation Network Architecture As described in Section 3.3, minimizing the mutual information between style and content embeddings requires an auxiliary variational approximation $q _ { \\theta } ( s | c )$ . For implementation, we parameterize the variational distribution in the Gaussian distribution family $q _ { \\theta } ( \\bar { \\mathbf { \\rho } } _ { s } | \\mathbf { \\rho } _ { c } ) = \\mathcal { N } ( \\mu _ { \\theta } ( \\mathbf { \\rho } _ { c } ) , \\mathbf { \\bar { \\alpha } } \\sigma _ { \\theta } ^ { 2 } ( \\mathbf { \\rho } _ { c } ) \\cdot \\mathbf { I } )$ , where mean $\\mu _ { \\theta } ( \\cdot )$ and variance $\\sigma _ { \\theta } ^ { 2 } ( \\cdot )$ are two-layer fully-connected networks with $\\operatorname { t a n h } ( { \\cdot } )$ as the activation function. With the Gaussian parameterization, the likelihoods in objective $\\hat { \\mathcal { T } } _ { 3 }$ can be calculated in closed form. ",
804
+ "bbox": [
805
+ 173,
806
+ 465,
807
+ 825,
808
+ 553
809
+ ],
810
+ "page_idx": 6
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "5.3 STYLE TRANSFER PERFORMANCE ",
815
+ "text_level": 1,
816
+ "bbox": [
817
+ 176,
818
+ 565,
819
+ 450,
820
+ 580
821
+ ],
822
+ "page_idx": 6
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "For the many-to-many VST task, we randomly select $10 \\%$ of the sentences for validation and $10 \\%$ of the sentences for testing from the VCTK dataset, following the setting in Blow (Serra et al., 2019). \\` The rest of the data are used for training in a non-parallel scheme. For evaluation, we select voice pairs from the testing set, in which each pair of voices have the same content but come from different speakers. In each testing pair, we conduct transfer from one voice to the other voice’s speaking style, and then we compare the transferred voice and the other voice as evaluating the model performance. We test our model with four competitive baselines: Blow (Serra et al., 2019) \\` 3, AUTOVC (Qian et al., 2019), AdaIN-VC (Chou & Lee, 2019) and StarGAN-VC (Kameoka et al., 2018). The detailed implementation of these four methods are provided in the Supplementary Material. Table 1 shows the subjective and objective evaluation for the many-to-many VST task. Both methods with the encoder-decoder framework, AdaIN-VC and AUTOVC, have competitive results. However, our IDE-VC outperforms the other baselines on all metrics, demonstrating that the style-content disentanglement in the latent space improves the performance of the encoder-decoder framework. ",
827
+ "bbox": [
828
+ 173,
829
+ 588,
830
+ 825,
831
+ 768
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "For the zero-shot VST task, we use the same train-validation dataset split as in the many-to-many setup. The testing data are selected to guarantee that no test speaker has any utterance in the training set. We compare our model with the only two baselines, AUTOVC (Qian et al., 2019) and AdaINVC (Chou & Lee, 2019), that are able to handle voice transfer for newly-coming unseen speakers. We used the same implementations of AUTOVC and AdaIN-VC as in the many-to-many VST. The evaluation results of zero-shot VST are shown in Table 2, among the two baselines AdaIN-VC performs better than AUTOVC overall.Our IDE-VC outperforms both baseline methods, on all metrics. All three tested models have encoder-decoder transfer frameworks, the superior performance of IDE-VC indicates the effectiveness of our disentangled representation learning scheme. More evaluation details are provided in the supplementary material. ",
838
+ "bbox": [
839
+ 174,
840
+ 775,
841
+ 825,
842
+ 887
843
+ ],
844
+ "page_idx": 6
845
+ },
846
+ {
847
+ "type": "image",
848
+ "img_path": "images/6b582b1d9dadfa47cab2f94b7090d8878092a61b53bc79d2a18b689eb1b3f0ee.jpg",
849
+ "image_caption": [
850
+ "Figure 2: Left: t-SNE visualization for speaker embeddings. Right: t-SNE visualization for content embedding. The embeddings are extracted from the voice samples of 10 different speakers. "
851
+ ],
852
+ "image_footnote": [],
853
+ "bbox": [
854
+ 253,
855
+ 103,
856
+ 740,
857
+ 210
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "",
864
+ "bbox": [
865
+ 173,
866
+ 271,
867
+ 821,
868
+ 299
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "5.4 DISENTANGLEMENT DISCUSSION ",
875
+ "text_level": 1,
876
+ "bbox": [
877
+ 176,
878
+ 330,
879
+ 446,
880
+ 344
881
+ ],
882
+ "page_idx": 7
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "Besides the performance comparison with other VST baselines, we demonstrate the capability of our information-theoretic disentangled representation learning scheme. First, we conduct a tSNE (Maaten & Hinton, 2008) visualization of the latent spaces of the IDE-VC model. As shown in the left of Figure 2, style embeddings from the same speaker are well clustered, and style embeddings from different speakers separate in a clean manner. The clear pattern indicates our style encoder $E _ { s }$ can verify the speakers’ identity from the voice samples. In contrast, the content embeddings (in the right of Figure 2) are indistinguishable for different speakers, which means our content encoder $E _ { c }$ successfully eliminates speaker-related information and extracts rich semantic content from the data. ",
887
+ "bbox": [
888
+ 173,
889
+ 362,
890
+ 825,
891
+ 487
892
+ ],
893
+ "page_idx": 7
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "We also empirically evaluate the disentanglement, by predicting the speakers’ identity based on only the content embeddings. A two-layer fully-connected network is trained on the testing set with a content embedding as input, and the corresponding speaker identity as output. We compare our IDE-VC with AUTOVC and AdaIN-VC, which also output content embeddings. The classification results are shown in Table 3. Our IDE-VC reaches the lowest classification accuracy, indicating that the content embeddings learned by IDE-VC contains the least speaker-related information. Therefore, our IDE-VC learns disentangled representations with high quality compared with other baselines. ",
898
+ "bbox": [
899
+ 174,
900
+ 494,
901
+ 599,
902
+ 647
903
+ ],
904
+ "page_idx": 7
905
+ },
906
+ {
907
+ "type": "table",
908
+ "img_path": "images/4726e224d38f87bfaf48076f1d7800912001181db37ea84ec0726b47880eb7ab.jpg",
909
+ "table_caption": [
910
+ "Table 3: Speaker identity prediction accuracy on content embedding. "
911
+ ],
912
+ "table_footnote": [],
913
+ "table_body": "<table><tr><td></td><td>Accuracy[%]</td></tr><tr><td>AUTOVC</td><td>9.5</td></tr><tr><td>AdaIN-VC</td><td>19.0</td></tr><tr><td>IDE-VC</td><td>8.1</td></tr></table>",
914
+ "bbox": [
915
+ 625,
916
+ 564,
917
+ 810,
918
+ 636
919
+ ],
920
+ "page_idx": 7
921
+ },
922
+ {
923
+ "type": "text",
924
+ "text": "5.5 ABLATION STUDY ",
925
+ "text_level": 1,
926
+ "bbox": [
927
+ 176,
928
+ 678,
929
+ 339,
930
+ 693
931
+ ],
932
+ "page_idx": 7
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "Moreover, we have considered an ablation study that addresses performance effects from different learning losses in (11), with results shown in Table 4. We compare our model with two models trained by part of the loss function in (11), while keeping the other training setups unchanged, including the model structure. From the results, when the model is trained without the style encoder loss term $\\hat { \\mathcal { I } } _ { 1 }$ , a transferred voice still is generated, but with a large distance to the ground truth. The verification accuracy also significantly decreases with no speaker-related information utilized. When the disentangling term $\\hat { \\mathcal { T } } _ { 3 }$ is removed, the model still reaches competitive performance, because the style encoder $E _ { s }$ and decoder $D$ are well trained by $\\hat { \\mathcal { I } } _ { 1 }$ and $\\hat { \\mathcal { I } } _ { 2 }$ . However, when adding term $\\hat { \\mathcal { T } } _ { 3 }$ , we disentangle the style and content spaces, and improve the transfer quality with higher verification accuracy and less distortion. The performance without term $\\hat { \\mathcal { I } } _ { 2 }$ is not reported, because the model cannot even generate fluent speech without the reconstruction loss. ",
937
+ "bbox": [
938
+ 174,
939
+ 709,
940
+ 552,
941
+ 851
942
+ ],
943
+ "page_idx": 7
944
+ },
945
+ {
946
+ "type": "table",
947
+ "img_path": "images/4055a23250caa3130af7478d6117eaae67b3726f5bc35c7aa62b46c9d67c5c10.jpg",
948
+ "table_caption": [
949
+ "Table 4: Ablation study with different training losses. Performance is measured by objective metrics. "
950
+ ],
951
+ "table_footnote": [],
952
+ "table_body": "<table><tr><td colspan=\"2\">Distance Verification[%]</td></tr><tr><td>Without I1</td><td>9.81 11.1</td></tr><tr><td>Without I3 6.73</td><td>89.4</td></tr><tr><td>IDE-VC 5.66</td><td>92.2</td></tr></table>",
953
+ "bbox": [
954
+ 571,
955
+ 763,
956
+ 820,
957
+ 837
958
+ ],
959
+ "page_idx": 7
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "",
964
+ "bbox": [
965
+ 174,
966
+ 852,
967
+ 823,
968
+ 929
969
+ ],
970
+ "page_idx": 7
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "6 CONCLUSIONS ",
975
+ "text_level": 1,
976
+ "bbox": [
977
+ 176,
978
+ 102,
979
+ 328,
980
+ 117
981
+ ],
982
+ "page_idx": 8
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "We have improved the encoder-decoder voice style transfer framework by disentangled latent representation learning. To effectively induce the style and content information of speech into independent embedding latent spaces, we minimize a sample-based mutual information upper bound between style and content embeddings. The disentanglement of the two embedding spaces ensures the voice transfer accuracy without information revealed from each other. We have also derived two new multi-group mutual information lower bounds, which are maximized during training to enhance the representativeness of the latent embeddings. On the real-world VCTK dataset, our model outperforms previous works under both many-to-many and zero-shot voice style transfer setups. Our model can be naturally extended to other style transfer tasks modeling time-evolving sequences, e.g., video and music style transfer. Moreover, our general multi-group mutual information lower bounds have broader potential applications in other representation learning tasks. ",
987
+ "bbox": [
988
+ 174,
989
+ 126,
990
+ 825,
991
+ 279
992
+ ],
993
+ "page_idx": 8
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "ACKNOWLEDGEMENTS ",
998
+ "text_level": 1,
999
+ "bbox": [
1000
+ 176,
1001
+ 301,
1002
+ 366,
1003
+ 315
1004
+ ],
1005
+ "page_idx": 8
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "This research was supported in part by the DOE, NSF and ONR. ",
1010
+ "bbox": [
1011
+ 176,
1012
+ 332,
1013
+ 596,
1014
+ 345
1015
+ ],
1016
+ "page_idx": 8
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "REFERENCES ",
1021
+ "text_level": 1,
1022
+ "bbox": [
1023
+ 176,
1024
+ 367,
1025
+ 285,
1026
+ 382
1027
+ ],
1028
+ "page_idx": 8
1029
+ },
1030
+ {
1031
+ "type": "text",
1032
+ "text": "Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. arXiv preprint arXiv:1612.00410, 2016. ",
1033
+ "bbox": [
1034
+ 173,
1035
+ 390,
1036
+ 823,
1037
+ 419
1038
+ ],
1039
+ "page_idx": 8
1040
+ },
1041
+ {
1042
+ "type": "text",
1043
+ "text": "Donald J Berndt and James Clifford. Using dynamic time warping to find patterns in time series. In KDD workshop, pp. 359–370. Seattle, WA, 1994. ",
1044
+ "bbox": [
1045
+ 173,
1046
+ 428,
1047
+ 823,
1048
+ 457
1049
+ ],
1050
+ "page_idx": 8
1051
+ },
1052
+ {
1053
+ "type": "text",
1054
+ "text": "Christopher P Burgess, Irina Higgins, Arka Pal, Loic Matthey, Nick Watters, Guillaume Desjardins, and Alexander Lerchner. Understanding disentangling in beta-vae. arXiv preprint arXiv:1804.03599, 2018. ",
1055
+ "bbox": [
1056
+ 176,
1057
+ 467,
1058
+ 823,
1059
+ 508
1060
+ ],
1061
+ "page_idx": 8
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "Santosh V Chapaneri. Spoken digits recognition using weighted mfcc and improved features for dynamic time warping. International Journal of Computer Applications, 40(3):6–12, 2012. ",
1066
+ "bbox": [
1067
+ 171,
1068
+ 518,
1069
+ 823,
1070
+ 547
1071
+ ],
1072
+ "page_idx": 8
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Dongdong Chen, Jing Liao, Lu Yuan, Nenghai Yu, and Gang Hua. Coherent online video style transfer. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1105– 1114, 2017. ",
1077
+ "bbox": [
1078
+ 174,
1079
+ 555,
1080
+ 823,
1081
+ 598
1082
+ ],
1083
+ "page_idx": 8
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Tian Qi Chen, Xuechen Li, Roger B Grosse, and David K Duvenaud. Isolating sources of disentanglement in variational autoencoders. In Advances in Neural Information Processing Systems, pp. 2610–2620, 2018. ",
1088
+ "bbox": [
1089
+ 173,
1090
+ 607,
1091
+ 825,
1092
+ 650
1093
+ ],
1094
+ "page_idx": 8
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in neural information processing systems, pp. 2172–2180, 2016. ",
1099
+ "bbox": [
1100
+ 174,
1101
+ 660,
1102
+ 825,
1103
+ 703
1104
+ ],
1105
+ "page_idx": 8
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "Pengyu Cheng, Weituo Hao, Shuyang Dai, Jiachang Liu, Zhe Gan, and Lawrence Carin. Club: A contrastive log-ratio upper bound of mutual information. In International Conference on Machine Learning, pp. 1779–1788. PMLR, 2020a. ",
1110
+ "bbox": [
1111
+ 173,
1112
+ 712,
1113
+ 825,
1114
+ 755
1115
+ ],
1116
+ "page_idx": 8
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Pengyu Cheng, Renqiang Min, Shen Dinghan, Christopher Malon, Yizhe Zhang, Li Yitong, and Lawrence Carin. Improving disentangled text representation learning with information-theoretic guidance. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 2020b. ",
1121
+ "bbox": [
1122
+ 174,
1123
+ 763,
1124
+ 825,
1125
+ 819
1126
+ ],
1127
+ "page_idx": 8
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "Yunjey Choi, Minje Choi, Munyoung Kim, Jung-Woo Ha, Sunghun Kim, and Jaegul Choo. Stargan: Unified generative adversarial networks for multi-domain image-to-image translation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 8789–8797, 2018. ",
1132
+ "bbox": [
1133
+ 174,
1134
+ 829,
1135
+ 825,
1136
+ 885
1137
+ ],
1138
+ "page_idx": 8
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "Ju-chieh Chou and Hung-Yi Lee. One-shot voice conversion by separating speaker and content representations with instance normalization. Proc. Interspeech 2019, pp. 664–668, 2019. ",
1143
+ "bbox": [
1144
+ 174,
1145
+ 895,
1146
+ 820,
1147
+ 922
1148
+ ],
1149
+ "page_idx": 8
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Thomas M Cover and Joy A Thomas. Elements of information theory. John Wiley & Sons, 2012. ",
1154
+ "bbox": [
1155
+ 169,
1156
+ 103,
1157
+ 810,
1158
+ 119
1159
+ ],
1160
+ "page_idx": 9
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "Shivanker Dev Dhingra, Geeta Nijhawan, and Poonam Pandit. Isolated speech recognition using mfcc and dtw. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, 2(8):4085–4092, 2013. ",
1165
+ "bbox": [
1166
+ 176,
1167
+ 127,
1168
+ 821,
1169
+ 171
1170
+ ],
1171
+ "page_idx": 9
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Image style transfer using convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2414–2423, 2016. ",
1176
+ "bbox": [
1177
+ 174,
1178
+ 181,
1179
+ 823,
1180
+ 223
1181
+ ],
1182
+ "page_idx": 9
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Behnam Gholami, Pritish Sahu, Ognjen Rudovic, Konstantinos Bousmalis, and Vladimir Pavlovic. Unsupervised multi-target domain adaptation: An information theoretic approach. IEEE Transactions on Image Processing, 2020. ",
1187
+ "bbox": [
1188
+ 173,
1189
+ 234,
1190
+ 825,
1191
+ 276
1192
+ ],
1193
+ "page_idx": 9
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "Elizabeth Godoy, Olivier Rosec, and Thierry Chonavel. Voice conversion using dynamic frequency warping with amplitude scaling, for parallel or nonparallel corpora. IEEE Transactions on Audio, Speech, and Language Processing, 20(4):1313–1323, 2011. ",
1198
+ "bbox": [
1199
+ 173,
1200
+ 286,
1201
+ 825,
1202
+ 330
1203
+ ],
1204
+ "page_idx": 9
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Michael Gutmann and Aapo Hyvarinen. Noise-contrastive estimation: A new estimation principle ¨ for unnormalized statistical models. In Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. ",
1209
+ "bbox": [
1210
+ 173,
1211
+ 339,
1212
+ 825,
1213
+ 383
1214
+ ],
1215
+ "page_idx": 9
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations, 2016. ",
1220
+ "bbox": [
1221
+ 173,
1222
+ 392,
1223
+ 825,
1224
+ 448
1225
+ ],
1226
+ "page_idx": 9
1227
+ },
1228
+ {
1229
+ "type": "text",
1230
+ "text": "Irina Higgins, Arka Pal, Andrei Rusu, Loic Matthey, Christopher Burgess, Alexander Pritzel, Matthew Botvinick, Charles Blundell, and Alexander Lerchner. Darla: Improving zero-shot transfer in reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1480–1490. JMLR. org, 2017. ",
1231
+ "bbox": [
1232
+ 173,
1233
+ 458,
1234
+ 825,
1235
+ 516
1236
+ ],
1237
+ "page_idx": 9
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018. ",
1242
+ "bbox": [
1243
+ 176,
1244
+ 525,
1245
+ 825,
1246
+ 569
1247
+ ],
1248
+ "page_idx": 9
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Chin-Cheng Hsu, Hsin-Te Hwang, Yi-Chiao Wu, Yu Tsao, and Hsin-Min Wang. Voice conversion from non-parallel corpora using variational auto-encoder. In 2016 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA), pp. 1–6. IEEE, 2016. ",
1253
+ "bbox": [
1254
+ 174,
1255
+ 578,
1256
+ 826,
1257
+ 635
1258
+ ],
1259
+ "page_idx": 9
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "Haozhi Huang, Hao Wang, Wenhan Luo, Lin Ma, Wenhao Jiang, Xiaolong Zhu, Zhifeng Li, and Wei Liu. Real-time neural style transfer for videos. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 783–791, 2017. ",
1264
+ "bbox": [
1265
+ 174,
1266
+ 645,
1267
+ 826,
1268
+ 688
1269
+ ],
1270
+ "page_idx": 9
1271
+ },
1272
+ {
1273
+ "type": "text",
1274
+ "text": "Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1501– 1510, 2017. ",
1275
+ "bbox": [
1276
+ 173,
1277
+ 696,
1278
+ 825,
1279
+ 741
1280
+ ],
1281
+ "page_idx": 9
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "Hirokazu Kameoka, Takuhiro Kaneko, Kou Tanaka, and Nobukatsu Hojo. Stargan-vc: Non-parallel many-to-many voice conversion using star generative adversarial networks. In 2018 IEEE Spoken Language Technology Workshop (SLT), pp. 266–273. IEEE, 2018. ",
1286
+ "bbox": [
1287
+ 173,
1288
+ 751,
1289
+ 823,
1290
+ 794
1291
+ ],
1292
+ "page_idx": 9
1293
+ },
1294
+ {
1295
+ "type": "text",
1296
+ "text": "Takuhiro Kaneko and Hirokazu Kameoka. Cyclegan-vc: Non-parallel voice conversion using cycleconsistent adversarial networks. In 2018 26th European Signal Processing Conference (EUSIPCO), pp. 2100–2104. IEEE, 2018. ",
1297
+ "bbox": [
1298
+ 174,
1299
+ 803,
1300
+ 823,
1301
+ 847
1302
+ ],
1303
+ "page_idx": 9
1304
+ },
1305
+ {
1306
+ "type": "text",
1307
+ "text": "Hyunjik Kim and Andriy Mnih. Disentangling by factorising. In International Conference on Machine Learning, pp. 2649–2658, 2018. ",
1308
+ "bbox": [
1309
+ 169,
1310
+ 856,
1311
+ 823,
1312
+ 886
1313
+ ],
1314
+ "page_idx": 9
1315
+ },
1316
+ {
1317
+ "type": "text",
1318
+ "text": "Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems, pp. 10215–10224, 2018. ",
1319
+ "bbox": [
1320
+ 173,
1321
+ 895,
1322
+ 821,
1323
+ 924
1324
+ ],
1325
+ "page_idx": 9
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Robert Kubichek. Mel-cepstral distance measure for objective speech quality assessment. In Proceedings of IEEE Pacific Rim Conference on Communications Computers and Signal Processing, volume 1, pp. 125–128. IEEE, 1993. ",
1330
+ "bbox": [
1331
+ 176,
1332
+ 103,
1333
+ 823,
1334
+ 146
1335
+ ],
1336
+ "page_idx": 10
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc’Aurelio Ranzato, and Y-Lan Boureau. Multiple-attribute text rewriting. In International Conference on Learning Representations, 2019. ",
1341
+ "bbox": [
1342
+ 173,
1343
+ 156,
1344
+ 825,
1345
+ 199
1346
+ ],
1347
+ "page_idx": 10
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "Chung-Han Lee and Chung-Hsien Wu. Map-based adaptation for speech conversion using adaptation data selection and non-parallel training. In Ninth International Conference on Spoken Language Processing, 2006. ",
1352
+ "bbox": [
1353
+ 173,
1354
+ 209,
1355
+ 825,
1356
+ 252
1357
+ ],
1358
+ "page_idx": 10
1359
+ },
1360
+ {
1361
+ "type": "text",
1362
+ "text": "Francesco Locatello, Stefan Bauer, Mario Lucic, Gunnar Raetsch, Sylvain Gelly, Bernhard Scholkopf, and Olivier Bachem. Challenging common assumptions in the unsupervised learning ¨ of disentangled representations. In International Conference on Machine Learning, pp. 4114– 4124, 2019. ",
1363
+ "bbox": [
1364
+ 173,
1365
+ 262,
1366
+ 825,
1367
+ 318
1368
+ ],
1369
+ "page_idx": 10
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "Fujun Luan, Sylvain Paris, Eli Shechtman, and Kavita Bala. Deep photo style transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4990–4998, 2017. ",
1374
+ "bbox": [
1375
+ 174,
1376
+ 328,
1377
+ 823,
1378
+ 371
1379
+ ],
1380
+ "page_idx": 10
1381
+ },
1382
+ {
1383
+ "type": "text",
1384
+ "text": "Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008. ",
1385
+ "bbox": [
1386
+ 173,
1387
+ 382,
1388
+ 821,
1389
+ 411
1390
+ ],
1391
+ "page_idx": 10
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "text": "Seyed Hamidreza Mohammadi and Alexander Kain. An overview of voice conversion systems. Speech Communication, 88:65–82, 2017. ",
1396
+ "bbox": [
1397
+ 173,
1398
+ 420,
1399
+ 820,
1400
+ 450
1401
+ ],
1402
+ "page_idx": 10
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "Kevin R Moon and Alfred O Hero. Ensemble estimation of multivariate f-divergence. In 2014 IEEE International Symposium on Information Theory, pp. 356–360. IEEE, 2014. ",
1407
+ "bbox": [
1408
+ 173,
1409
+ 459,
1410
+ 823,
1411
+ 489
1412
+ ],
1413
+ "page_idx": 10
1414
+ },
1415
+ {
1416
+ "type": "text",
1417
+ "text": "Lindasalwa Muda, Mumtaj Begam, and Irraivan Elamvazuthi. Voice recognition algorithms using mel frequency cepstral coefficient (mfcc) and dynamic time warping (dtw) techniques. arXiv preprint arXiv:1003.4083, 2010. ",
1418
+ "bbox": [
1419
+ 173,
1420
+ 498,
1421
+ 826,
1422
+ 541
1423
+ ],
1424
+ "page_idx": 10
1425
+ },
1426
+ {
1427
+ "type": "text",
1428
+ "text": "Arsha Nagrani, Joon Son Chung, and Andrew Zisserman. Voxceleb: a large-scale speaker identification dataset. arXiv preprint arXiv:1706.08612, 2017. ",
1429
+ "bbox": [
1430
+ 171,
1431
+ 551,
1432
+ 823,
1433
+ 582
1434
+ ],
1435
+ "page_idx": 10
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "Keigo Nakamura, Tomoki Toda, Hiroshi Saruwatari, and Kiyohiro Shikano. Speaking aid system for total laryngectomees using voice conversion of body transmitted artificial speech. In Ninth International Conference on Spoken Language Processing, 2006. ",
1440
+ "bbox": [
1441
+ 176,
1442
+ 590,
1443
+ 823,
1444
+ 633
1445
+ ],
1446
+ "page_idx": 10
1447
+ },
1448
+ {
1449
+ "type": "text",
1450
+ "text": "XuanLong Nguyen, Martin J Wainwright, and Michael I Jordan. Estimating divergence functionals and the likelihood ratio by convex risk minimization. IEEE Transactions on Information Theory, 56(11):5847–5861, 2010. ",
1451
+ "bbox": [
1452
+ 174,
1453
+ 643,
1454
+ 825,
1455
+ 686
1456
+ ],
1457
+ "page_idx": 10
1458
+ },
1459
+ {
1460
+ "type": "text",
1461
+ "text": "Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016. ",
1462
+ "bbox": [
1463
+ 174,
1464
+ 696,
1465
+ 825,
1466
+ 739
1467
+ ],
1468
+ "page_idx": 10
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
1473
+ "bbox": [
1474
+ 171,
1475
+ 750,
1476
+ 823,
1477
+ 779
1478
+ ],
1479
+ "page_idx": 10
1480
+ },
1481
+ {
1482
+ "type": "text",
1483
+ "text": "Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: an asr corpus based on public domain audio books. In 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5206–5210. IEEE, 2015. ",
1484
+ "bbox": [
1485
+ 174,
1486
+ 789,
1487
+ 823,
1488
+ 833
1489
+ ],
1490
+ "page_idx": 10
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "Kaizhi Qian, Yang Zhang, Shiyu Chang, Xuesong Yang, and Mark Hasegawa-Johnson. Autovc: Zero-shot voice style transfer with only autoencoder loss. In International Conference on Machine Learning, pp. 5210–5219, 2019. ",
1495
+ "bbox": [
1496
+ 174,
1497
+ 842,
1498
+ 823,
1499
+ 885
1500
+ ],
1501
+ "page_idx": 10
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In International Conference on Machine Learning, pp. 1530–1538, 2015. ",
1506
+ "bbox": [
1507
+ 173,
1508
+ 895,
1509
+ 821,
1510
+ 924
1511
+ ],
1512
+ "page_idx": 10
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "Yuki Saito, Yusuke Ijima, Kyosuke Nishida, and Shinnosuke Takamichi. Non-parallel voice conversion using variational autoencoders conditioned by phonetic posteriorgrams and d-vectors. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5274–5278. IEEE, 2018. ",
1517
+ "bbox": [
1518
+ 174,
1519
+ 103,
1520
+ 825,
1521
+ 160
1522
+ ],
1523
+ "page_idx": 11
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "Joan Serra, Santiago Pascual, and Carlos Segura Perales. Blow: a single-scale hyperconditioned \\` flow for non-parallel raw-audio voice conversion. In Advances in Neural Information Processing Systems, pp. 6790–6800, 2019. ",
1528
+ "bbox": [
1529
+ 174,
1530
+ 169,
1531
+ 821,
1532
+ 210
1533
+ ],
1534
+ "page_idx": 11
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. Style transfer from non-parallel text by cross-alignment. In Advances in neural information processing systems, pp. 6830–6841, 2017. ",
1539
+ "bbox": [
1540
+ 173,
1541
+ 219,
1542
+ 821,
1543
+ 250
1544
+ ],
1545
+ "page_idx": 11
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "text": "Berrak Sisman, Mingyang Zhang, Sakriani Sakti, Haizhou Li, and Satoshi Nakamura. Adaptive wavenet vocoder for residual compensation in gan-based voice conversion. In 2018 IEEE Spoken Language Technology Workshop (SLT), pp. 282–289. IEEE, 2018. ",
1550
+ "bbox": [
1551
+ 174,
1552
+ 257,
1553
+ 823,
1554
+ 301
1555
+ ],
1556
+ "page_idx": 11
1557
+ },
1558
+ {
1559
+ "type": "text",
1560
+ "text": "Jiaming Song, Pratyusha Kalluri, Aditya Grover, Shengjia Zhao, and Stefano Ermon. Learning controllable fair representations. In The 22nd International Conference on Artificial Intelligence and Statistics, pp. 2164–2173, 2019. ",
1561
+ "bbox": [
1562
+ 173,
1563
+ 309,
1564
+ 823,
1565
+ 352
1566
+ ],
1567
+ "page_idx": 11
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016. ",
1572
+ "bbox": [
1573
+ 173,
1574
+ 361,
1575
+ 823,
1576
+ 390
1577
+ ],
1578
+ "page_idx": 11
1579
+ },
1580
+ {
1581
+ "type": "text",
1582
+ "text": "Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Li ´ o, Yoshua Bengio, and R Devon \\` Hjelm. Deep graph infomax. arXiv preprint arXiv:1809.10341, 2018. ",
1583
+ "bbox": [
1584
+ 174,
1585
+ 398,
1586
+ 823,
1587
+ 428
1588
+ ],
1589
+ "page_idx": 11
1590
+ },
1591
+ {
1592
+ "type": "text",
1593
+ "text": "Fernando Villavicencio and Jordi Bonada. Applying voice conversion to concatenative singing-voice synthesis. In Eleventh annual conference of the international speech communication association, 2010. ",
1594
+ "bbox": [
1595
+ 174,
1596
+ 436,
1597
+ 825,
1598
+ 479
1599
+ ],
1600
+ "page_idx": 11
1601
+ },
1602
+ {
1603
+ "type": "text",
1604
+ "text": "Li Wan, Quan Wang, Alan Papir, and Ignacio Lopez Moreno. Generalized end-to-end loss for speaker verification. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 4879–4883. IEEE, 2018. ",
1605
+ "bbox": [
1606
+ 173,
1607
+ 488,
1608
+ 823,
1609
+ 531
1610
+ ],
1611
+ "page_idx": 11
1612
+ },
1613
+ {
1614
+ "type": "text",
1615
+ "text": "Mirjam Wester, Zhizheng Wu, and Junichi Yamagishi. Analysis of the voice conversion challenge 2016 evaluation results. In Interspeech, pp. 1637–1641, 2016. ",
1616
+ "bbox": [
1617
+ 169,
1618
+ 540,
1619
+ 823,
1620
+ 569
1621
+ ],
1622
+ "page_idx": 11
1623
+ },
1624
+ {
1625
+ "type": "text",
1626
+ "text": "Junichi Yamagishi, Christophe Veaux, Kirsten MacDonald, et al. Cstr vctk corpus: English multispeaker corpus for cstr voice cloning toolkit (version 0.92). 2019. ",
1627
+ "bbox": [
1628
+ 169,
1629
+ 577,
1630
+ 823,
1631
+ 607
1632
+ ],
1633
+ "page_idx": 11
1634
+ },
1635
+ {
1636
+ "type": "text",
1637
+ "text": "Zichao Yang, Zhiting Hu, Chris Dyer, Eric P Xing, and Taylor Berg-Kirkpatrick. Unsupervised text style transfer using language models as discriminators. In Advances in Neural Information Processing Systems, pp. 7287–7298, 2018. ",
1638
+ "bbox": [
1639
+ 176,
1640
+ 614,
1641
+ 823,
1642
+ 659
1643
+ ],
1644
+ "page_idx": 11
1645
+ }
1646
+ ]
parse/train/TgSVWXw22FQ/TgSVWXw22FQ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/TgSVWXw22FQ/TgSVWXw22FQ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJ5C67-C-/rJ5C67-C-.md ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HYPEREDGE2VEC: DISTRIBUTED REPRESENTATIONS FOR HYPEREDGES
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Data structured in form of overlapping or non-overlapping sets is found in a variety of domains, sometimes explicitly but often subtly. For example, teams, which are of prime importance in social science studies are “sets of individuals”; “item sets” in pattern mining are sets; and for various types of analysis in language studies a sentence can be considered as a “set or bag of words”. Although building models and inference algorithms for structured data has been an important task in the fields of machine learning and statistics, research on “set-like” data still remains less explored. Relationships between pairs of elements can be modeled as edges in a graph. However, modeling relationships that involve all members of a set, a hyperedge is a more natural representation for the set. In this work, we focus on the problem of embedding hyperedges in a hypergraph (a network of overlapping sets) to a low dimensional vector space. We propose a probabilistic deep-learning based method as well as a tensor-based algebraic model, both of which capture the hypergraph structure in a principled manner without loosing set-level information. Our central focus is to highlight the connection between hypergraphs (topology), tensors (algebra) and probabilistic models. We present a number of interesting baselines, some of which adapt existing node-level embedding models to the hyperedge-level, as well as sequence based language techniques which are adapted for set structured hypergraph topology. The performance is evaluated with a network of social groups and a network of word phrases. Our experiments show that accuracy wise our methods perform similar to those of baselines which are not designed for hypergraphs. Moreover, our tensor based method is quiet efficient as compared to deep-learning based auto-encoder method. We therefore, argue that we have proposed more general methods which are suited for hypergraphs (and therefore also for graphs) while maintaining accuracy and efficiency.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ In group structured data we have multiple entities related by some form of group relationships. In fact, such data is more abundantly found in the real world than has been usually studied (Estrada & Rodriguez-Velazquez, 2005). There are increasing number of fields where such data is being found more than ever before. In social networks domain: team data from massive online multiplayer games (Ahmed et al., 2011) such as World of Warcraft, group communication tools such as Skype and Google Docs and research collaborations (Subbian et al., 2013; pub). There are other fields in which structural relationships between entities is important as well, and large datasets capturing them exist. Examples include Natural Language Processing (Bengio & Bengio, 2000), Biology (Hwang et al., 2008; Klamt et al., 2009), e-commerce (Deshpande & Karypis, 2004; Christakopoulou & Karypis, 2014) and Chemistry (Bartholomay, 1960). Figure 1 shows such examples for networks of groups, sentences, and item sets.
12
+
13
+ Hypergraph (Berge, 1984), which is a generalization of graphs, is a popular model to naturally capture higher-order relationships between sets of objects (Figure 2) (Estrada & Rodriguez-Velazquez, 2005). Within machine learning, algorithms guided by the structure of such higher order networks (Zhou et al., 2006) have found applications in a variety of domains (Tian et al., 2009; Gao et al., 2013; Li & Li, 2013; Sharma et al., 2015; 2017).
14
+
15
+ ![](images/5673e5d3ff2a680a4163ef84a34218dd8d11264827cca7b99e4de5cc00e81a4b.jpg)
16
+ Figure 1: Example illustrating “set-like” structures from various domains.
17
+
18
+ More recently, the interest of representation learning in NLP (Mikolov et al., 2013a) has stimulated its application in graph embedding (learning low dimensional representation for graph nodes) (Perozzi et al., 2014; Tang et al., 2015b; Grover & Leskovec, 2016; Cai et al., 2017). However, this new line of research is limited to simple graphs and we are unaware of any work that considers hyperedge embeddings (learning representations for hyperedges). In this paper we aim to develop methods which (1) learn hypergraph embeddings directly, (2) leverage the hypergraph topology and (3) not loose the hyperedge-level joint information. These learned embeddings can then be employed by a supervised or semi-supervised algorithm to perform various predictive tasks pertaining to hyperedges. For example performance prediction of a team (set of individuals) engaged in a collaborative task or sentiment analysis of a sentence (set of words).
19
+
20
+ Although, there have been a variety of attempts to learn node embeddings for hypergraphs by extending traditional graph embedding methods for hypergraph setting. These approaches differ in the extent they address the aims (2) and (3) as pointed previously. In first category, there are a number of methods that incorporate the hypergraph topology using proxy graphs (Zhou et al., 2006; Hwang et al., 2008), therefore, incur loss of information. Also, Agarwal et al. (2006) squarely criticize that such representations can be learned by constructing graphs, which are proxies for the hypergraph structure. Second, are methods which actually, take into account the hyperedge-level information, like the classical Neural Language Model which maintains the higher order sequence information (Bengio & Bengio, 2000). But their model is designed for sequences and also simply ignores the topology (sequences are linked by common words forming a network of sequences). However recently, there has been interest in modeling “set-like” structures within deep-learning community (Vinyals et al., 2016; Rezatofighi et al., 2016). But they do not consider the hypergraph structure between the sets and therefore, not model hypergraphs in a principled manner. Third category are those methods that do not ignore the topology completely and also retain the hyperedge-level information. Among this are $k$ -way tensor based methods that explicitly do not work on hypergraph (Shashua et al., 2006; Bulo & Pelillo, 2009), but the connection exists in the form that \` $k$ -way tensor represents a $\mathbf { k }$ -uniform hypergraph (Qi, 2005). But they are restricted to uniform hypergraphs.
21
+
22
+ We therefore, propose two methods, both of which directly learn hyperedge embeddings for general hypergraphs and capture the hypergraph structure in a principled manner. First, is an auto-encoder based deep-learning method and second, is a tensor-based algebraic method. We also highlight the connection between hypergraphs (topology), tensors (algebra) and probabilistic models. A number of interesting baselines are also developed, some of which adapt existing node-level embedding models to hypergraph setting and also sequence based NLP techniques are adapted for set structured hypergraphs. We have experimented with social group dataset (network of teams as a hypergraph) from an online game for team (hyperedge) performance prediction as well as language networks (sentence/phrase hypergraphs) for phrase-level sentiment analysis. Our experiments show that accuracy wise our methods perform similar to those of baselines which are not designed for hypergraphs. Moreover, our tensor based method is quiet efficient as compared to deep-learning based auto-encoder method. We therefore, argue that we have proposed more general methods which are suited for hypergraphs (and therefore also for graphs) while maintaining accuracy and efficiency. In summary the main contributions of our paper are:
23
+
24
+ ![](images/d9529e3eec2c18a9da98aa3b1dc1936c4df10b7d8828075081b7cb5ebd941335.jpg)
25
+ Figure 2: Example illustrating network of groups (NOG) which is the hypergraph (HG) (top left), the corresponding simplicial complex $( S C )$ (top right) and the hasse diagram $( H D )$ (bottom) corresponding to the simplicial complex, for a scenario where the actors $\{ 1 , 2 , 3 , 4 , 5 \}$ have collaberated in past as groups: $g _ { 1 } = \{ 1 , 2 \}$ , $g _ { 2 } = \{ 1 , 2 , 3 , 4 \}$ and $g _ { 3 } = \{ 3 , 4 , 5 \}$ .
26
+
27
+ • We propose the novel concept of a dual tensor corresponding to the hypergraph dual and allows us to get hyperedge embedding directly. We propose a general hypergraph tensor decomposition method designed for general hypergraphs (containing different cardinality hyperedges) unlike simple uniform hypergraph tensor decomposition which is restricted to fixed cardinality hyperedges (i.e. uniform hypergraph). We are unaware of any such works or applications employing this approach. We propose the novel idea to use of de-noising auto-encoder in a hypergraph setting. Moreover, we also develop techniques of creating noise using random-walks over hasse diagram topology, which is original and unique.
28
+ • We highlight and argue that embeddings from tensor based methods have a natural hypergraph theoretic interpretation unlike the deep learning based black-box approaches.
29
+ • Our proposed methods learn hypergraph embeddings based on the unique approach of leveraging the existing structure present in network data as context, in contrast to context generation based existing graph embedding techniques.
30
+
31
+ Following is the outline for the rest of the paper. In section 2 we describe the problem definition and statement followed by Section 3 where we describe in detail the various methods proposed in this paper. Section 4 describes the datasets, experimental tasks & settings for the models. Section 5 provides an overview of the related literature followed by conclusion and appendix.
32
+
33
+ # 2 PRELIMINARIES
34
+
35
+ In this paper we consider the scenario where we have a collection of elements. These elements can represent individual actors in case of social groups or words in sentences or items in itemsets within a transaction database. In other words a social group or a sentence or an item-set are sets which contain these elements. Let $V = \{ v _ { 1 } , v _ { 2 } , . . . , v _ { n } \}$ represents $n$ elements and we have $m$ sets defined over these elements, denoted by $G = \{ g _ { 1 } , g _ { 2 } , . . . , g _ { m } \}$ , where $g _ { i } \subseteq V$ represents the $i ^ { t h }$ set. The cardinality $\left| g _ { i } \right|$ represents the number of elements in the set. Also each set $g _ { i } \in$ $G$ has an occurrence number $\dot { R } ( g _ { i } )$ , which denotes the number of times it has occurred. Such overlapping or non-overlapping sets can be modeled as a hypergraph Berge (1984), where the nodes and hyperedges, represent the elements and sets, respectively. This hypergraph is represented as $N _ { g } = ( V , G )$ with $G$ as the collection of hyperedges over the nodes $V$ . The incidence matrix $\mathbf { H } \in$ $\{ 0 , 1 \} ^ { | G | \times | V | }$ for $N _ { g }$ represents the presence of nodes in different hyperedges with $\mathbf { H } ( g _ { i } , v ) = 1$ if $v \in g _ { i }$ else 0. We also define degree $d ( v )$ of a vertex $v$ as the number of hyperedges incident on this vertex i.e. $\begin{array} { r } { d ( v ) = \sum _ { g _ { i } \in G } \mathbf { H } ( g _ { i } , v ) } \end{array}$ . A specialization of hypergraph model is the simplicial complex (Munkres, 1984) (Figure 2), in which additionally each hyperedge has the subset closure property, i.e., each subset of hyperedge is also a valid hyperedge.
36
+
37
+ Problem Statement: Given this setting, our goal is to learn the mapping $\phi : G \to \mathbb { R } ^ { d }$ from hyperedges to feature representations (i.e., embeddings) that can be used to build predictive models involving sets. Here $d$ is a parameter specifying the number of dimensions of the embedding vector. Equivalently, $\phi$ can be thought of as a look-up matrix of size $| G | \times d$ , where $| G |$ is the total number of sets or hyperedges.
38
+
39
+ # 3 METHODOLOGY
40
+
41
+ As we had mentioned before there are several methods to learn representation of nodes in a graph. Given that a hyperedge is a set of nodes, a natural question arises is that, can we combine the node level embeddings (learned using existing methods) within a given hyperedge to find a suitable representation of that hyperedge? However, there are large number of possible ways one can combine the node embeddings. Therefore, in the following two subsections, we develop two methods that learn the embeddings for hyperedges directly in a more principled manner. Our tensor based method is focused on retaining the set-level information intact while harnessing the hypergraph network structure. Where the auto-encoder based method harnesses the non-linearity of representation offered by deep learning to generate crisp and powerful embeddings. Tensor based method has a natural hasse diagram based topological interpretation and can generate both node and hyperedge embeddings. Whereas deep learning model is more black-box based approach and can only generate hyperedge embeddings.
42
+
43
+ # 3.1 HYPEREDGE2VEC USING HYPERGRAPH TENSOR DECOMPOSITION
44
+
45
+ In this section, we develop tensor (higher-order matrices) based linear algebraic methods that learn node as well as hyperedge embedding by taking into account the joint probability over a hyperedge. The idea behind using tensors is that they retain the set-level information contained in a hypergraph, unlike the proxy graphs (corresponding to hypergraphs) based techniques (used as baselines in our experiments), which approximate hyperedge or set-level information with dyadic edge-level information. Therefore, we design an algorithm which is principally suited for hypergraph structured data. For a given hypergraph we can extract a sub-hypergraph that only consists of the hyperedges with cardinality $k$ . This sub-hypergraph is a $k$ -uniform hypergraph or $k$ -graph (Cooper $\&$ Dutle, 2012). Corresponding to this $k$ -uniform hypergraph, we can define a $k ^ { t h }$ order $n$ -dimensional symmetric tensor (Qi, 2005) $\mathcal { A } _ { \mathbf { h } \mathbf { y } \mathbf { p } } ^ { \mathbf { k } } = ( a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } ) \in \mathbb { R } ^ { [ k , n ] }$ whose elements are initialized as follows:
46
+
47
+ $$
48
+ a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } = R ( g _ { i } )
49
+ $$
50
+
51
+ where $\{ v _ { p _ { 1 } } , v _ { p _ { 2 } } , . . . , v _ { p _ { k } } \} \in g _ { i }$ and $| g _ { i } | = k , \forall i \in \left\{ 1 , . . . , m \right\}$ . Note that symmetry here implies that value of element $a _ { p _ { 1 } , p _ { 2 } , \dots , p _ { k } }$ is invariable under any permutation of its indices $\left( p _ { 1 } , p _ { 2 } , . . , p _ { k } \right)$ . Rest all the elements in the tensor are zeros.
52
+
53
+ In a similar manner we can also define a dual tensor, corresponding to hypergraph dual where the roles of nodes and hyperedges are interchanged. We consider all the hyperedges in the hypergraph dual that are of cardinality $k$ . This basically corresponds to all the vertices in the original hypergraph which have a degree of $k$ , i.e., they are part of exactly $k$ hyperedges in the original hypergraph. Corresponding to this $k$ -uniform hypergraph dual, we can define a $\check { k } ^ { t h }$ order $m$ -dimensional symmetric dual tensor $\mathcal { A } _ { \bf d u a l } ^ { \bf k } = ( a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } ) \in \mathbb { R } ^ { [ k , m ] }$ whose elements are initialized as follows:
54
+
55
+ $$
56
+ a _ { q 1 , q 2 , . . , q _ { k } } = 1
57
+ $$
58
+
59
+ where $\left\{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \right\} \ni v _ { j }$ and $d ( v _ { j } ) = k , \forall j \in \{ 1 , . . . , n \}$ . Note that this tensor is also symmetric and rest all the elements in the tensor are zeros. Moreover, we can also have other meaningful initialization schemes, for that we refer to Appendix B.1. To realize our aim of learning node and hyperedge embeddings we perform joint CP Tensor Decomposition (Kolda & Bader, 2009) (of the tensors we just described) across different cardinality hyperedges simultaneously. Specifically, for the node embeddings we solve the following optimization problem:
60
+
61
+ $$
62
+ \operatorname* { m i n } _ { \mathbf { Z } } \sum _ { k = c _ { m i n } } ^ { c _ { m a x } } \| \mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } } - \widehat { \mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } } } \|
63
+ $$
64
+
65
+ where,
66
+
67
+ $$
68
+ \widehat { \mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } } } = \sum _ { r = 1 } ^ { d } \lambda _ { r } \underbrace { \mathbf { z } _ { r } \circ \mathbf { z } _ { r } . . . \circ \mathbf { z } _ { r } } _ { k \mathrm { t i m e s } } \equiv \langle \lambda | \underbrace { \mathbf { Z } , \mathbf { Z } , . . . . , \mathbf { Z } } _ { k \mathrm { t i m e s } } \rangle
69
+ $$
70
+
71
+ with $\mathbf { z } _ { r } \in \mathbb { R } ^ { n }$ , $\lambda _ { r } \in \mathbb { R } _ { + }$ , $\textbf { Z } \in \ \mathbb { R } ^ { n \times d }$ and $\mathbf { Z } ( : , r ) ~ = ~ \mathbf { z } _ { r }$ . Notice, that equation 4 is the standard symmetric CP decomposition but equation 3 is summation of reconstruction errors in different tensor decompositions for different cardinality hyperedges. Each error term learns a common latent factor matrix $\mathbf { Z }$ using the empirical observed $k$ -uniform sub-hypergraph stored in $\mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } }$ tensor. We perform this joint decomposition by augmenting the standard CP Decomposition into the Hypergraph-CP-ALS algorithm 1. Lines (4-8) is the standard (non-symmetric) CP Decomposition (see reference Kolda & Bader (2009) for details), which solves the following optimization:
72
+
73
+ $$
74
+ \widehat { \mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } } } = \sum _ { r = 1 } ^ { d } \lambda _ { r k } \mathbf { u } _ { r } ^ { ( 1 ) } \circ _ { k } \mathbf { u } _ { r } ^ { ( 2 ) } . . . \circ _ { k } \mathbf { u } _ { r } ^ { ( k ) } \equiv \langle \lambda | _ { k } \mathbf { U } ^ { ( 1 ) } , _ { k } \mathbf { U } ^ { ( 2 ) } , . . . . , _ { k } \mathbf { U } ^ { ( \mathbf { k } ) } \rangle
75
+ $$
76
+
77
+ with $\mathbf { \Psi } _ { k } \mathbf { u } _ { r } ^ { ( j ) } \in \mathbb { R } ^ { n }$ , $\lambda _ { r } \in \mathbb { R } _ { + }$ , $\mathbf { \Psi } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) } \in \mathbb { R } ^ { n \times d }$ , $\mathbf { \nabla } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) } ( : , r ) = \mathbf { \nabla } _ { k } \mathbf { u } _ { r } ^ { ( j ) }$ and $j \in \{ 1 , . . , k \}$ . As we want to learn common representations $\mathbf { \rho } ( \mathbf { Z } )$ for all the nodes, we add additional constraint that enforce that $\mathbf { \Sigma } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) }$ are same for all $j \in \{ 1 , . . , k \}$ and for all $k \in [ c _ { m i n } , c _ { m a x } ]$ . Lines (9-15) is where we force all representations for all cardinalities to be average of the $\mathbf { \Sigma } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) }$ achieved by the last decomposition iteration that occurred in lines (4-8). Averaging can be interpreted as equal contribution from the latent factors learned from different cardinality (uniform) sub-hypergraphs. We make repeated pass through the entire hypergraph (by learning via different $k$ -uniform sub-hypergraph (line 3)) until the objective (equation 3) converges. In our implementation we empirically observe that using the above mentioned unbiased averaging heuristic, our algorithm converges successfully. The same algorithm 1 is used to get the hyperedge embeddings, by just passing $\mathcal { A } _ { \bf d u a l }$ instead of $\mathcal { A } _ { \bf h y p }$ . We shall jointly refer to the embeddings achieved for nodes and hyperedges via the above tensor decomposition techniques as t2v.
78
+
79
+ # Algorithm 1 Hypergraph-CP-ALS $( \mathcal { A } _ { \bf h y p } , c _ { m i n } , c _ { m a x } )$
80
+
81
+ 1: randomly initialize $\mathbf { \Phi } _ { k } \mathbf { U ^ { ( j ) } } , \forall k \in [ c _ { m i n } , c _ { m a x } ] , \forall j \in \{ 1 , . . . , k \}$
82
+ 2: repeat
83
+ 3: for $k = c _ { m i n }$ to $c _ { m a x }$ do
84
+ 4: for $j = 1$ to $k$ do
85
+ 5: $\begin{array} { r l } & { \overset { \mathrm { ~ \psi ~ } } { \mathbf { V } } \longleftarrow _ { k } { \mathbf { U } } ^ { ( 1 ) \top } _ { k } { \mathbf { U } } ^ { ( 1 ) } * \ldots * _ { k } { \mathbf { U } } ^ { ( \mathrm { j - 1 } ) \top } _ { k } { \mathbf { U } } ^ { ( \mathrm { j - 1 } ) } * _ { k } { \mathbf { U } } ^ { ( \mathrm { j + 1 } ) \top } _ { k } { \mathbf { U } } ^ { ( \mathrm { j + 1 } ) } * \ldots * _ { k } { \mathbf { U } } ^ { ( \mathrm { j } ) \top } _ { k } { \mathbf { U } } ^ { ( \mathrm { j } ) } } \\ & { _ { k } { \mathbf { U } } ^ { ( \mathrm { j } ) } \longleftarrow ( \mathcal { A } _ { \mathbf { h y p } } ^ { \mathrm { k } } ) ^ { ( j ) } \big ( _ { k } { \mathbf { U } } ^ { ( \mathrm { k } ) } \odot \ldots \odot _ { k } { \mathbf { U } } ^ { ( \mathrm { j + 1 } ) } \odot _ { k } { \mathbf { U } } ^ { ( \mathrm { j - 1 } ) } \odot \ldots \odot _ { k } { \mathbf { U } } ^ { ( \mathrm { i } ) } \big ) { \mathbf { V } } ^ { \dagger } } \end{array}$
86
+ 6:
87
+ 7: normalize columns of $\mathbf { \Sigma } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) }$ (and store norms as $\lambda$ )
88
+ 8: end for
89
+ 9: $\begin{array} { r } { \mathbf { Z } \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \mathbf { \sigma } _ { k } \mathbf { U } ^ { ( \mathbf { j } ) } } \end{array}$
90
+ 10: for $p = c _ { m i n }$ to $c _ { m a x }$ do
91
+ 11: for $j = 1$ to $p$ do
92
+ 12: $\mathbf { \Sigma } _ { p } \mathbf { U } ^ { ( \mathbf { j } ) } \mathbf { Z }$
93
+ 13: end for
94
+ 14: end for
95
+ 15: end for
96
+ 16: until fit criteria achieved or maximum number of iterations exceeded
97
+ 17: return Z
98
+
99
+ We would like to highlight a few points regarding the tensor methods. The tensors that we have employed are super-symmetric and hence able to capture distribution over sets rather than sequence. But in general we can employ a $k$ -way tensor which is not symmetric to even capture sequence. In this sense tensors are the hypergraph tensor given hyperedge (Eq. $\mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } }$ general purpose. Another point one can observe that when we initialize, we have initialized all the permutations of vertices corresponding to aoreover, we initialize it by the repetition counts.
100
+
101
+ # 3.2 HYPEREDGE2VEC USING HASSE DE-NOISING AUTOENCODER
102
+
103
+ An autoencoder (Bengio et al., 2009), takes an input vector $\mathbf { x } \in [ 0 , 1 ] ^ { n }$ and maps it to a latent representation $\mathbf { y } ~ \in ~ [ 0 , 1 ] ^ { d }$ . This is typically done using an affine mapping followed by a nonlinearity (more so when the input, like in our case, is binary (Vincent et al., 2010)): $f _ { e n } ( { \bf x } ) =$ $s ( \mathbf { W } \mathbf { x } + \mathbf { b } )$ , with parameters $\bar { \boldsymbol { \theta } _ { } } = \{ \mathbf { W } , \mathbf { b } \}$ . Here, $\mathbf { W }$ is a $n \times d$ weight matrix and $\mathbf { b }$ is the offset.
104
+
105
+ ![](images/303929718f8854ff19c1941e1022db299d6f7534561c53d75a8c5943e5769b42.jpg)
106
+ Figure 3: For the given hypergraph between four nodes (A,B,C,D) we consider the complete hasse lattice. For a given hyperedge $\{ { \mathrm { B } } , { \mathrm { C } } \}$ (square box) we then construct the sub-lattice made of hyperedges with distance $h = 2$ from $\{ { \mathrm { B } } , { \mathrm { C } } \}$ . We perform random walk (with $\tau = 0 . 2$ ) starting from the node corresponding to hyperedge $\{ { \mathrm { B } } , { \mathrm { C } } \}$ and sample $p = 3$ hyperedges (nodes visited by the random walk; shown with a check-mark $\checkmark$ ). Finally, we train the autoencoder to reconstruct the original hyperedge from these $p$ noisy hyperedges.
107
+
108
+ This latent representation is reconstructed into a vector $\mathbf { z } = f _ { d e } ( \mathbf { y } ) = s ( \mathbf { W } ^ { \prime } \mathbf { y } + \mathbf { b } ^ { \prime } )$ , in the input space, $\mathbf { z } \in [ 0 , 1 ] ^ { n }$ and parameters $\theta ^ { \prime } = \{ \mathbf { W } ^ { \prime } , \mathbf { b } ^ { \prime } \}$ . The mappings $f _ { e n }$ and $f _ { d e }$ are referred as the encoder and decoder, respectively. The representation $\mathbf { y }$ is learned by minimizing the following reconstruction error:
109
+
110
+ $$
111
+ \theta ^ { * } , \theta ^ { \prime * } = \underset { \theta ^ { * } , \theta ^ { \prime * } } { \arg \operatorname* { m i n } } \frac { 1 } { m } \sum _ { i = 1 } ^ { m } L ( \mathbf { x } _ { i } , \mathbf { z } _ { i } ) = \underset { \theta ^ { * } , \theta ^ { \prime * } } { \arg \operatorname* { m i n } } \frac { 1 } { m } \sum _ { i = 1 } ^ { m } L ( \mathbf { x } _ { i } , g _ { \theta ^ { \prime } } ( f _ { \theta } ( \mathbf { x } _ { i } ) )
112
+ $$
113
+
114
+ where $L$ is a loss function, which in case of binary or bit probabilities is often chosen as the crossentropy loss:
115
+
116
+ $$
117
+ L ( \mathbf { x } , \mathbf { z } ) = \sum _ { j = 1 } ^ { n } [ \mathbf { x } ( j ) \log \mathbf { z } ( j ) + ( 1 - \mathbf { x } ( j ) ) \log ( 1 - \mathbf { z } ( j ) ) ]
118
+ $$
119
+
120
+ In their paper, Vincent et al. (2010) have shown that minimizing reconstruction amounts to maximizing the lower bound on the mutual information between input $( x )$ and the representation $\mathbf { y }$ . However, they have further argued (Vincent et al. (2008)) that $\mathbf { y }$ retaining information about input $\mathbf { x }$ is insufficient. They further, propose the idea that the learned representation should be able to recover (denoising) the original input even after being trained with corrupted input (adding noise). They generate the corrupted input $( { { \widetilde { \mathbf { x } } } } )$ , using a stochastic mapping $q ( \tilde { \mathbf { x } } | \mathbf { x } )$ . Choice of noise is usually either Gaussian for real inputs and Salt-and-pepper noise for discrete inputs. The denoising autoencoder then learns the representation for each input, $\mathbf { x }$ , same as Equation 6, but with the following modified loss function: $L ( \mathbf { x } ( i ) , g _ { \boldsymbol { \theta } ^ { \prime } } ( f _ { \boldsymbol { \theta } } ( \tilde { \mathbf { x } } ( i ) ) ) )$ .
121
+
122
+ We leverage the denoising autoencoder for learning representation for $j ^ { t h }$ hyperedge, by treating each hyperedge as an input, $\mathbf { x } = \mathbf { H } ( j , : )$ . The size of this input vector for each hyperedge is $n$ , which is the number of vertices in the hypergraph. In most natural hypergraphs, specially social networks, $n$ can be quiet high ranging from thousands to millions or even billions (like Facebook for example). Therefore, randomly using a discrete noise like salt-and-pepper, might not be reasonable, as there are large number of possible permutations (as size $n$ is large) and not all of them are related. Random addition of 1s or deletion of existing 1s from $\mathbf { x }$ , amounts to randomly adding or deleting vertices to the hyperedge corresponding to $\mathbf { x }$ . This might end up in new hyperedges that are completely unrelated to the given hyperedge $\mathbf { \tau } ( \mathbf { x } )$ . For example, users (nodes) in a social network from completely different regions of the network suddenly form a group (hyperedge). Such anomalous scenarios rarely happen in practice and social groups evolve in a gradual fashion via simple processes (Sharma et al., 2017; 2015).
123
+
124
+ Rather, we take advantage of the hypergraph structure to systematically guide us in generating this noise. A hypergraph can be defined by its corresponding hasse lattice (Sharma et al., 2017). For a given hyperedge $\mathbf { \tau } ( \mathbf { x } )$ , we consider the sub-lattice consisting of only those hyperedges that are a distance $h$ from it in the complete lattice. On this sub-lattice we sample $p$ hyperedges (nodes in sublattice) by performing random walk starting at the given hyperedge’s node (see Figure 3). We assume that all the nodes in the sub-lattice which correspond to previously occurred hyperedge $g _ { i }$ have weight $R ( g _ { i } )$ and rest all nodes have a constant weight $\tau$ . During random walk from a given node we choose a neighboring node (as the next node) in proportion to this neighboring node’s weight as compared to the other neighboring nodes. Our stochastic mapping $q ( { \tilde { \mathbf { x } } } | \mathbf { x } )$ is therefore, a random walk on the sub-lattice of hyperdge $\mathbf { \tau } ( \mathbf { x } )$ containing hyperedges at distance $h$ from it. Intuitively, the hyperedges coming within a reasonable distance will affect each others representations and will have more similar representations. We will refer to the hyperedge representations learned by the above autoencoder technique, as h2v-auto.
125
+
126
+ # 4 EXPERIMENTS
127
+
128
+ # 4.1 DATASET DESCRIPTION
129
+
130
+ As the first dataset, we use group interaction log-data of the Sony’s Online multi-player game EverQuest II $( \mathbf { E Q } \mathbf { \Lambda } \mathbf { U } )$ (www.everquest2.com) for a time period of nine months. In this game, several players work together as a team to perform various tasks. Each team earn points after completion of each task, and as the teams progress by earning points, they are escalated to different levels of game play. The interestingness of the game increases with each level. The points earned by the teams are treated as a measure of group performance. Each set of players who played together is treated as a hyperedge. We treat the number of times same set of players play together again as hyperedge occurrence number $( R ( g _ { i } ) )$ . Players can participate in several teams over time, therefore, resulting in a hypergraph with overlapping hyperedges. We consider hyperedges of cardinality $\in \ [ 2 , 6 ]$ as almost $9 0 \%$ of our hyperedges lie within this range. The resulting dataset contains a total of 5964 hyperedges (teams) among 6536 nodes (players).
131
+
132
+ Second dataset, is the fully labeled and publicly available sentiment analysis corpus of Stanford Sentiment Treebank (LangNet) (Socher et al., 2013). This dataset is based on the reviews from a movie review website (www.rottentomatoes.com) and contains 215,154 unique phrases. Each of the phrases are labeled with a sentiment score (a real number $\in \ [ 0 , 1 ]$ , larger value indicates positive sentiment) by human annotators. Each phrase is a set or hyperedge of words. As there is no occurrence information for a phrase hyperedge we consider $R ( \bar { g _ { i } } \bar { ) } = \bar { 1 , } \forall i \in \{ 1 , . . . , m \}$ . Given that words are shared across various phrases, these common words connect the phrase hyperedges, resulting in a phrase hypergraph with overlapping phrase hyperedges. Again, we only consider hyperedges of cardinality $\in \ [ 2 , 6 ]$ . After applying this cardinality filter we are left with 141,410 hyperedges (phrases) and 21,122 nodes (words).
133
+
134
+ # .2 EVALUATION METHODOLOGY AND EXPERIMENTAL SETUP
135
+
136
+ # 4.2.1 METHODS COMPARED
137
+
138
+ As mentioned before we refer to our proposed methods: tensor based hypergraph tensor decomposition and deep auto-encoder based hypergraph auto-encoder, as t2v and h2v-auto, respectively. We compare our proposed methods against six baselines which are listed below. Methods (1-2) are adapted from sequence based language models for set structured hypergraph data. Methods (3-6) are various kind of dyadic graph based embedding methods adapted for hypergraph setting.
139
+
140
+ 1. h2v-DM: Hyperedge and node embeddings obtained using sentence embedding using distributed memory (DM) model (refer section A.1)
141
+ 2. h2v-DBOW: Hyperedge and node embeddings obtained using sentence embedding using distributed memory (DBOW) model (refer section A.1)
142
+
143
+ 3. h2v-inv: Hyperedge and node embeddings obtained using node2vec on inverted hypergraph and simple graph, respectively (refer section A.2) 4. h2v-dual: Hyperedge and node embeddings obtained using node2vec on hypergraph dual and the proxy graph for hypergraph, respectively (refer section A.2) 5. e2v: Hyperedge and node spectral embeddings obtained using eigen decomposition of inverted hypergraph laplacian and graph laplacian, respectively (refer section A.3) 6. e2v-hyp: Hyperedge and node spectral embeddings obtained using eigen decomposition of dual laplacian and hypergraph laplacian, respectively (refer section A.3)
144
+
145
+ The details of these baseline can be found in Appendix A. Except for h2v-auto, each of the baselines as well as $\mathbf { t } 2 \mathbf { v }$ outputs both node as well as hyperedge embeddings of dimension $d = 1 2 8$ . We further combine the node and hyperedge embedding using five different strategies: (i) node embedding summation (dimension $d = 1 2 8 )$ , (ii) node embedding summation and concatenation with hyperedge embedding (dimension $2 \times d = 2 5 6 $ ), (iii) node embedding averaging (dimension $d = 1 2 8$ ), (iv) node embedding averaging and concatenation with hyperedge embedding (dimension $2 \times d = 2 5 6$ ), and (v) only hyperedge embedding (dimension $d = 1 2 8$ ). h2v-auto only produces hyperedge embeddings of dimension $d = 1 2 8$ . But it builds the embeddings using three different scenarios as mentioned in next section. Therefore, in total we have 3 $\mathrm { 8 } \ : ( = 3 5 + 3$ ) different scenarios each resulting in a different hyperedge embedding.
146
+
147
+ # 4.2.2 EVALUATION TASKS AND SETUP
148
+
149
+ We perform two regression based tasks for the two datasets. In EQII dataset each team (hyperedge) has a team performance score associated with it. This team performance score is a real number, equal to the number of points earned by the team while performing one or more tasks within a gaming session. We treat the embedding learned for a given team (hyperedge) as its feature vector which is associated with a real number (team performance). We therefore, perform on regression over all the hyperedges (teams) with team performance as the dependent variable.
150
+
151
+ Similarly, in LangNet dataset each phrase (hyperedge) has a sentiment score associated with it, which again is a real number. Similar to the team dataset above, we treat the embedding learned for a given phrase (hyperedge) as its feature vector which is associated with a real number (sentiment score). We therefore, treat this as a regression task with sentiment score as the dependent variable and perform regression using the feature matrix containing embeddings of all the phrases.
152
+
153
+ For both the tasks we just described, we perform several evaluation runs. In each run we randomly choose $3 0 \%$ of hyperedges (teams or phrases) as the test set and learn ridge regression parameters using the remaining $7 0 \%$ training hyperedges for each of the 38 different embedding scenarios. Root mean squared error (RMSE) was chosen as the evaluation metric (the lower, the better). RMSE was calculated for each of the 38 scenarios and for each run. Final RMSE score was taken as the average RMSE score across five runs. Ridge regression’s hyper-parameter was chosen by 5-fold cross-validation.
154
+
155
+ For the auto-encoder method (h2v-auto) we consider three scenarios: (1) single hidden layer $( L 1 )$ of $d = 1 2 8$ ; (2) two hidden layers ( $L 1$ & $L 2$ ) with size of $L 1 : d = 9 6$ and of $L 2 : d = 3 2$ . We concatenate these embedding to get a single $d = 1 2 8$ size embedding; and (3) two hidden layers ( $\mathrm { . } L 1$ & $L 2$ ) with size of $L 1 : d = 5 1 2$ and of $L 2 : d = 1 2 8$ . We use the output of $L 2$ , which is of dimension $d = 1 2 8$ , as the embedding. For sampling, we use the distance parameter $h = 2$ for generating the sub-lattice and $\tau = 0 . 2$ for both datasets. Also, $p = 1 0 \ : \& \ : p = 5$ number of hyperedges are sampled (corresponding to each hyperedge) from EQII and LangNet, respectively.
156
+
157
+ # 4.3 RESULTS AND DISCUSSION
158
+
159
+ Tables 1 & 2 show the RMSE scores of $\mathbf { t } 2 \mathbf { v }$ (as compared with baselines) for the tasks of team performance prediction and sentiment score prediction, respectively. These tables contain scores for all the 35 different scenarios: columns represent 7 (6 baselines and the proposed hypergraph tensor decomposition (t2v)) different models while rows represent combination strategies. The scores for hypergraph auto-encoder (h2v-auto) are shown in the separate Table 4 as auto-encoder only generates hyperedge embeddings.
160
+
161
+ Accuracy & Run-times As we can observe that for our datasets and for both the regression tasks, almost all the embeddings (baselines and proposed) are performing very similarly in terms of accuracy. However, we can observer in Table 3 that tensor based method (t2v) have significant less time than the expensive auto-encoder technique (h2v-auto) (Table 4). Among the baselines e2v-hyp is the fastest. We also observer that sentence based techniques run faster on text-based LangNet dataset as compared to node2vec based methods which are not designed for text data and vice-versa.
162
+
163
+ Interpretability All the matrix or tensor based algebraic techniques: e2v, e2v-hyp and t2v, have a natural graph theoretic interpretation. e2v and e2v-hyp are both well studied spectral techniques with several eigen-value based interpretations. t2v has a hierarchical hasse diagram based interpretation. In contrast the sentence and node2vec based techniques can be understood only intuitively in terms of the cost function. Apart from the noise which has a random walk based interpretation, h2v-auto is a deep-learning based method which exploits multiple level of non-linearity and is over all a black-box approach.
164
+
165
+ Information Loss To reiterate one of the primary aims of this study is to design methods that retain the hyperedge-level joint information. The proposed tensor-based t2v principally capture the joint distribution over various cardinality hyperedges unlike conditional distribution like sentence embedding (h2v-dm) (which are more appropriate for sequences). In comparison the other method proposed h2v-auto, although are not directly designed to retain hyperedge-level joint distribution, but we hypothesize that the deep layered neural network should output highly informative nonlinear representations. Several other baselines only retain pair-wise information. For example, the methods developed using Node2Vec in Section A.2 are based on the skip-gram model, which learns embedding of nodes while maximizing the conditional probability of a node given another node in a context (Eq. 17). Similarly, the spectral methods (Section A.3) are inherently two dimensional as they are based on matrix. Same is the case with skip-gram based sentence embedding (h2v-dbow). However, sentence embedding based on the DM architecture (h2v-dm) maximizes the conditional probability of a word given the previous set of words (context) without breaking this context (by concatenating or averaging the embedding of the previous words).
166
+
167
+ Leveraging Hypergraph Topology is another feature that we stress as a desirable property in a method which aims to build hyperedge embedding. Hypergraph topology is an important auxiliary information, if left unused is wastage of resources at hand. We observe that except the sentencebased baselines, both proposed methods as well as other baselines, which are adapted for the hypergraph setting, leverage hypergraph topology using various hypergraph representations. Proposed h2v-auto generated noise using the hasse lattice and t2v directly models the hasse lattice by storing hyperedge level joint distribution using super-symmetric tensors. Node2vec based and spectral baselines use various kinds of matrices (that capture hypergraph topology up to varying degrees) as enlisted in (3-6) in Section 4.2.1.
168
+
169
+ Ability to generate hyperedge embeddings directly is another critical aim as was highlighted in the introduction. We emphasize that none of the baselines are designed to give hyperedge embeddings in a principled manner. However, both tensor based (t2v using $\mathbf { \mathcal { A } _ { d u a l } ^ { k } } )$ as well as auto-encoder (h2v-auto) methods proposed in this paper are specifically designed to give hyperedge representations directly.
170
+
171
+ Choice of Method Both tensor based (t2v using $\mathcal { A } _ { \mathbf { d u a l } } ^ { \mathbf { k } } )$ as well as auto-encoder (h2v-auto) methods proposed in this paper are able to generate embeddings for all hyperedges of various cardinalities present in data. However, the auto-encoder method cannot generate node embeddings unlike tensor method (using $\mathcal { A } _ { \mathbf { h y p } } ^ { \mathbf { k } } .$ ). On contrary, in auto-encoder technique we don’t need to figure out $\alpha$ and $\beta$ parameters (as discussed in the next subsection 4.4). Another, thing to note is that tensors are inherently capable of retaining joint information because of their higher-order structure. Auto-encoder method implicitly (possibly lossy manner) leverage the higher order information embedded in network in form of node weights $( R ( g _ { i } ) )$ while performing the random walk sampling. Main advantage of auto-encoders is the crisp embedding achieved via multiple levels of non-linearity offered by deep neural networks. Although this non-linearity improves the accuracy of auto-encoder methods very slightly (Table 4) as compared to tensor method (bottom right corner of (Table 1 & 2), the computation cost of tensor is far less than the auto-encoder method (Table 3 & 4). Intuitively, it seems that depending upon the task at hand, in some tasks the retention of joint hyperedge-level information is more important while modeling and data has lesser non-linear structure; or vice versa. But the low computational cost (as reflected in our tasks) makes tensor method definitely more lucrative.
172
+
173
+ Table 1: RMSE Scores of (t2v) compared to baselines for EQ II Team Performance Analysis
174
+
175
+ <table><tr><td rowspan="2"></td><td colspan="6">Baselines</td><td rowspan="2">Hypergraph Tensor Decomp.</td></tr><tr><td>Sentence Embed based</td><td></td><td></td><td>Node2Vec based</td><td>Spectral methods</td><td></td></tr><tr><td>Embed Combination</td><td>h2v-DM</td><td>h2v-DBOW</td><td>h2v-inv</td><td>h2v-dual</td><td>e2v</td><td>e2v-hyp</td><td>(t2v)</td></tr><tr><td>Node Embed Sum</td><td>0.79308</td><td>0.79567</td><td>0.80418</td><td>0.79956</td><td>0.81183</td><td>0.81405</td><td>0.81341</td></tr><tr><td>Node Embed Sum+Hyperedge Embed</td><td>0.79651</td><td>0.80241</td><td>0.81362</td><td>0.80636</td><td>0.8113</td><td>0.81652</td><td>0.81299</td></tr><tr><td>Node Embed Average</td><td>0.81584</td><td>0.81733</td><td>0.82407</td><td>0.82281</td><td>0.81234</td><td>0.81369</td><td>0.81303</td></tr><tr><td>Node Embed Avg +Hyperedge Embed</td><td>0.8182</td><td>0.82077</td><td>0.83378</td><td>0.82896</td><td>0.81223</td><td>0.81608</td><td>0.8127</td></tr><tr><td>OnlyHyperedge Embed</td><td>0.81203</td><td>0.81522</td><td>0.82189</td><td>0.81984</td><td>0.81233</td><td>0.81608</td><td>0.81341</td></tr></table>
176
+
177
+ Table 2: RMSE Scores of (t2v) compared to baselines for LangNet Sentiment Analysis
178
+
179
+ <table><tr><td rowspan="2"></td><td colspan="6">Baselines</td><td rowspan="2">Hypergraph Tensor Decomp.</td></tr><tr><td>Sentence Embed based</td><td></td><td></td><td>Node2Vec based</td><td></td><td>Spectral methods</td></tr><tr><td>Embed Combination</td><td>h2v-DM</td><td>h2v-DBOW</td><td>h2v-inv</td><td>h2v-dual</td><td>e2v</td><td>e2v-hyp</td><td>(t2v)</td></tr><tr><td>Node Embed Sum</td><td>0.14081</td><td>0.14029</td><td>N/A</td><td>N/A</td><td>0.14633</td><td>0.14854</td><td>0.14194</td></tr><tr><td>Node Embed Sum + Hyperedge Embed</td><td>0.14028</td><td>0.13883</td><td>N/A</td><td>N/A</td><td>0.14627</td><td>0.14845</td><td>0.14144</td></tr><tr><td>Node Embed Average</td><td>0.14245</td><td>0.14115</td><td>N/A</td><td>N/A</td><td>0.14665</td><td>0.14852</td><td>0.14381</td></tr><tr><td>Node Embed Avg +Hyperedge Embed</td><td>0.14178</td><td>0.14007</td><td>N/A</td><td>N/A</td><td>0.14661</td><td>0.14845</td><td>0.14333</td></tr><tr><td>OnlyHyperedge Embed</td><td>0.14194</td><td>0.14147</td><td>N/A</td><td>N/A</td><td>0.14744</td><td>0.14844</td><td>0.1482</td></tr></table>
180
+
181
+ Table 3: Average Runtime (seconds) of (t2v) compared to baselines across datasets
182
+
183
+ <table><tr><td rowspan="2"></td><td colspan="5">Baselines</td><td rowspan="2">Hypergraph Tensor Decomp.</td></tr><tr><td>Sentence Embed based</td><td></td><td>Node2Vec based</td><td></td><td>Spectral methods</td></tr><tr><td>Dataset</td><td>h2v-DM</td><td>h2v-DBOW</td><td>h2v-inv</td><td>h2v-dual</td><td>e2v</td><td>e2v-hyp (t2v)</td></tr><tr><td>EQ2</td><td>455.84</td><td>103.47</td><td>90.05</td><td>93.41</td><td>128.03 12.01</td><td>213.37</td></tr><tr><td>LangNet</td><td>80.61</td><td>62.31</td><td>211.97*</td><td>207.86*</td><td>221.46 47.12</td><td>483.81</td></tr></table>
184
+
185
+ \* these are average time taken for learning vertex embeddings only
186
+
187
+ Table 4: RMSE Scores & Run-times for EQ II (Team Performance) & LangNet (Sentiment Analysis) using Hypergraph Auto-encoder (h2v-auto)
188
+
189
+ <table><tr><td rowspan="2">Layer Sizes</td><td colspan="3">EQ II</td><td colspan="3">LangNet</td></tr><tr><td>L1:128</td><td>L1:96/L2:32</td><td>L1:512/L2:128</td><td>L1:128</td><td>L1:96/L2:32</td><td>L1:512/L2:128</td></tr><tr><td>RMSE</td><td>0.81104</td><td>0.81512</td><td>0.81635</td><td>0.14568</td><td>0.14529</td><td>0.14784</td></tr><tr><td>Run Time</td><td>52 min</td><td>40 min</td><td>1 hr 20 min</td><td>2 hr 10 min</td><td>3 hr 20 min</td><td>6hr</td></tr></table>
190
+
191
+ Together with the natural graph theoretic interpretation, tensor methods in comparison to black-box approach of deep learning based auto-encoder, makes them even more viable.
192
+
193
+ Highlight Another distinguishing feature of our work is that we leverage the existing structure (group structure) within the data. Recent attempts along these lines in network literature (Grover & Leskovec, 2016; Tang et al., 2015b; Perozzi et al., 2014) argue that language models have readymade context in the form of sentences or paragraphs to train the model, which are not available in networks, and therefore, they propose different ways to generate this context. In contrast, we focus on networks where the context is already present, e.g. collaboration networks where collaborative teams are hyperedges, or language hyper-networks where sentences are hyperedges.
194
+
195
+ # 4.4 SCALABILITY
196
+
197
+ Both tensor based (t2v using $\mathcal { A } _ { \mathbf { d u a l } } ^ { \mathbf { k } } )$ as well as auto-encoder (h2v-auto) methods proposed in this paper are able to generate embeddings for all hyperedges of various cardinalities present in data.
198
+
199
+ Scalability for t2v The scalability issue in tensor based approach arise on two fronts: (1) the increase in number of hyperedges $( m )$ or number of vertices $( n )$ and (2) increase in parameter $\alpha$ (maximum cardinality hyperedge considered in the cost function) or $\beta$ (maximum degree vertex considered in the cost function). Also there are two kinds of cost: (1) enumeration cost associated associated while building hypergraph and dual tensors and (2) cost for hypergraph tensor decomposition.
200
+
201
+ In case of hyperedge embeddings, for each vertex $v$ of degree (i.e. number of hyperedges it is part of) $d ( v )$ there are $d ( v )$ ! entries (permutations of hyperedges incident on $v$ ) to be enumerated to fill the tensor Ad(v)dual . This amounts to a worst case enumeration cost of $\textstyle \sum _ { v \in V } d ( v ) !$ . However, $d ( v )$ ! can grow prohibitively large for vertices with large vertex degree $d ( v )$ . We therefore, propose to restrict ourselves to vertices of degree $d ( v ) \leq \alpha$ . In fact we propose the following augmented initialization scheme for the dual tensors. For degree $k \left( \leq \alpha \right)$ vertex, $v _ { j } \in \{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \}$ and $d ( v _ { j } ) = k \leq$ $\alpha , \forall j \in \left\{ 1 , . . . , n \right\}$ , we initialize the following elements of $\mathcal { A } _ { \bf d u a l } ^ { \bf k } = ( a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } ) \in \mathbb { R } ^ { [ k , m ] }$ , same as Equation 29. For degree $k$ $\mathbf { \chi } ( > \alpha )$ vertex, $v _ { j } \in \{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \} , \forall j \in \{ 1 , . . . , n \}$ , we initialize elements of $\mathcal { A } _ { \bf d u a l } ^ { \alpha }$ as,
202
+
203
+ $$
204
+ \begin{array} { r } { a _ { q _ { 1 } , q _ { 2 } , . . . , q _ { \alpha } } = 1 } \\ { a _ { q _ { ( \alpha + 1 ) } , q _ { ( \alpha + 2 ) } , . . . . , q _ { 2 \alpha } } = 1 } \\ { . . . . . . } \\ { . . . . . . } \\ { a _ { q _ { ( ( \left\lfloor \frac { k } { \alpha } \right\rfloor - 1 ) \alpha + 1 ) } , q _ { ( ( \left\lfloor \frac { k } { \alpha } \right\rfloor - 1 ) \alpha + 2 ) } , . . . . , q _ { ( ( \left\lfloor \frac { k } { \alpha } \right\rfloor ) \alpha ) } } = 1 } \end{array}
205
+ $$
206
+
207
+ and if $\delta = ( k - ( \textstyle \left\lfloor { \frac { k } { \alpha } } \right\rfloor \alpha ) ) \neq 0$ , then we also initialize the following element of $\mathcal { A } _ { \mathbf { d u a l } } ^ { \delta }$
208
+
209
+ $$
210
+ a _ { q _ { ( ( \left\lfloor \frac { k } { \alpha } \right\rfloor ) \alpha + 1 ) } , q _ { ( ( \left\lfloor \frac { k } { \alpha } \right\rfloor ) \alpha + 2 ) } , \dots , q _ { k } } = 1 .
211
+ $$
212
+
213
+ The above initialization basically partitions the $k$ hyperedges incident on a vertex into $\textstyle { \left( \left\lfloor { \frac { k } { \alpha } } \right\rfloor + 1 \right) }$ (or $\textstyle \left( \left\lfloor { \frac { k } { \alpha } } \right\rfloor \right)$ , if $\alpha$ is a divisor of $k$ ) partitions. There are several techniques to obtain such a partition, but in this paper we simply sort the incident hyperedges by their cardinality and then sequentially make sets of $\alpha$ elements each (except the last partition which is of size $\textstyle ( k - ( \left\lfloor { \frac { k } { \alpha } } \right\rfloor \alpha ) )$ is not an integer) as shown in Equations( 8- 9). This augmentation shall decrease the enumeration cost to: $\pmb { \Delta } _ { \mathbf { d u a l } } =$ $\begin{array} { r l } & { \sum _ { v \in V _ { a } } d ( v ) ! + \sum _ { v \in V _ { b } } \left( \left\lfloor \frac { d ( v ) } { \alpha } \right\rfloor \alpha ! + \left( d ( v ) - \left( \left\lfloor \frac { d ( v ) } { \alpha } \right\rfloor \alpha \right) \right) ! \right) } \end{array}$ , where $V _ { a } = \{ v | v \in V , d ( v ) \leq \alpha \}$ and $V _ { b } = \left( V - V _ { a } \right)$ . Depending upon the availability of resources (single machine or a distributed computing resources) we can choose the cut-off degree $( \alpha )$ accordingly. Notice that although we perform this degree thresholding we still get embedding for all the hyperedges. However, what we sacrifice is the higher order information that a given vertex connects a set of incident hyperedges jointly. But for higher order vertices we argue that as the vertex degree get too high our belief in the inference that hyperedges incident are related diminishes. These high degree vertices can be interpreted as highly popular person participating in a huge number of teams, but should the embeddings of these teams be related to each other is difficult to infer. In text data these high degree nodes correspond to words occurring in a large number of phrases, but this doesn’t mean the sentences are related, rather its just that this word is quiet common.
214
+
215
+ In case of vertex embeddings, for each hyperedge $g _ { i } \in G$ , we need to initialize $| g _ { i } | !$ elements of $\mathcal { A } _ { \bf h y p } ^ { \left| \bf g _ { i } \right| }$ , with a worst case enumeration cost of $\sum _ { g _ { i } \in G } | g _ { i } | !$ . Given this cost can be prohibitive as the hyperedge cardinalities increase, we propose an augmented initialization scheme for hypergraph e we shall reswe initialize f cardinality same as Equ $\le \beta$ . For hyperedges n 26. For hypered $g _ { i }$ with with $| g _ { i } | = k \le \beta$ $\mathcal { A } _ { \mathbf { h } \mathbf { y } \mathbf { p } } ^ { \mathbf { k } } = ( a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } ) \in \bar { \mathbb { R } } ^ { [ k , n ] }$ cardinality $| g _ { i } | > \beta$ , we initialize the elements of $\mathcal { A } _ { \mathbf { h y p } } ^ { \beta } \in \mathbb { R } ^ { [ \beta , n ] }$ as follows:
216
+
217
+ $$
218
+ a _ { p _ { 1 } ^ { l } , p _ { 2 } ^ { l } , . . , p _ { \beta } ^ { l } } = \frac { R ( g _ { i } ) } { \gamma }
219
+ $$
220
+
221
+ where $( p _ { 1 } ^ { l } , p _ { 2 } ^ { l } , . . , p _ { \beta } ^ { l } )$ is the $l$ -th permutation among $l = \{ 1 , 2 , . . . , \gamma \}$ , where $\gamma = \binom { \left| g _ { i } \right| } { \beta }$ . Enumeration cost now decreases to: $\begin{array} { r } { \pmb { \Delta } _ { \mathbf { h y p } } = \sum _ { g _ { i } \in G _ { a } } | g _ { i } | ! + \sum _ { g _ { i } \in G _ { b } } \binom { | g _ { i } | } { \beta } \beta ! } \end{array}$ , where $G _ { a } = \{ g _ { i } | g _ { i } \in G , | g _ { i } | = \beta \}$ and $G _ { b } = ( G - G _ { a } )$ . The choice of cut-off $( \beta )$ is therefore, dictated by the computation resources available. Notice that although we perform this cardinality thresholding we still get embedding for all the vertices. However, what we sacrifice is the higher order information that a given hyperedge connects a set of incident vertices jointly. Now, as the $k$ increases, the number of $k$ cardinality hyperedge decrease as well as the $\mathcal { A } _ { \bf h y p } ^ { \bf k }$ tensor grows exponentially making it increasingly sparse and less informative (in information theoretic sense). Therefore, restricting to $\beta$ cardinality hyperedges is a trade-off between enumeration cost and hyperedge level joint information loss. We observer that enumeration involved in both hyperedge and vertex embeddings, Equations( 8- 10), are either vertex or hyperedge centric computations and can be performed in a scalable manner using the generic hyperedge-centric distributed computation libraries like MESH (Heintz & Chandra, 2015; Heintz et al., 2017) and HyperX (Huang et al., 2015).
222
+
223
+ Now we consider the tensor decomposition complexity and its scalability. For hyperedge embeddings, the per iteration complexity of the algorithm is $O ( \sum _ { \delta = 1 } ^ { \alpha } \mathrm { { n n } } \mathbf { \dot { z } } ( \mathbf { \mathcal { A } } _ { \mathbf { d u a l } } ^ { \delta } ) )$ . Notice, $\begin{array} { r } { \big ( \sum _ { \delta = 1 } ^ { \alpha } \mathtt { n n z } ( \mathcal { A } _ { \bf d u a l } ^ { \delta } ) \big ) \ \le \ \Delta _ { \bf d u a l } } \end{array}$ of vertex . Notice, -. $\scriptstyle O ( \sum _ { k = c _ { m i n } } ^ { \beta } { \mathrm { n n z } } ( { \mathcal { A } } _ { \mathbf { h y p } } ^ { \mathbf { k } } ) )$ $\big ( \sum _ { k = c _ { m i n } } ^ { \beta } \Pi \mathbf { n } \mathbf { n } \mathbf { z } ( \mathcal { A } _ { \mathbf { h } \mathbf { y } \mathbf { p } } ^ { \mathbf { k } } ) \big ) \ \leq \ \Delta _ { \mathbf { h } \mathbf { y } \mathbf { p } }$ Hypergraph Tensor Decomposition basically involves learning vertex or hyperedge embeddings, i.e. parameters which are vertex or hyperedge centric. We can therefore, convert the tensor decompositions into equivalent hyperedge or vertex centric message passing algorithm and use the generic hyperedge or vertex centric distributed computation libraries like MESH or HyperX, as mentioned previously. Although, we highlight the possible directions for scalability, but we propose them as a future work.
224
+
225
+ Scalability without partitioning for t2v As discussed previously, as we are performing hyperedge cardinality as well as vertex degree thresholding and for that reason we developed augmented enumeration schemes in Equation ( 8- 10). The partitioning involved in this augmentation ensures that all the hyperedges and all the vertices are linked by some vertex of degree $\leq \alpha$ and some hyperedge of cardinality $\le \beta$ . If this augmentation was not performed, and we simply use the enumeration of Equations ( 26- 29), it was possible for example, that some hyperedge which has no vertex whose degree is $\leq \alpha$ , and therefore, would be left out and no embedding would be learned for this hyperedge (because of cold start in tensor decomposition). Rather than performing the augmentation we can use semi-supervised learning to learn the embeddings for critical hyperedges (hyperedges with all vertices with degree $> \alpha \backslash$ ) using the embeddings of the non-critical hyperedges ((hyperedges with at least one vertex with degree $\leq \alpha )$ ). As all the hyperedges (critical or not) are linked using the hypergraph topology, we can perform semi-supervised learning using topology based regularization while performing tensor decomposition. This can be done using a graph regularization term $( \mathbf { \Psi } _ { k } \mathbf { U ^ { ( j ) } } ^ { T } ) \mathbf { L } ( \mathbf { \Psi } _ { k } \mathbf { U ^ { ( j ) } } ) )$ in our tensor decomposition objective function 5. Here, L is the graph laplacian of our choice. For example we can use $\mathbf { L _ { h y p } }$ or $\mathbf { L } _ { \mathbf { g r a p h } }$ when we perform tensor decomposition for vertex embeddings and use $\mathbf { L _ { i n v } }$ or $\mathbf { L _ { d u a l } }$ for hyperedge embeddings. Appendix A.3 mentions the details about these laplacians.
226
+
227
+ Scalability for h2v-auto In case of auto-encoder method the main scalability challenge lies in generating the noisy hyperedges. For a given hyperedge the intermediate sub-lattice from which $p$ samples are drawn is of size $O ( n ^ { h } )$ , where $h$ is max distance from the hyperedge considered. Once this sampling is performed we have total $m p$ hyperedges as input for the auto-encoder, which is linear in the number of hyperedge as $p$ will be a constant. The main challenge therefore, is to generate the noisy samples where we have to tackle exponential size sub-lattice per hyperedge. Again, as this sampling is done for each hyperedge separately (hyperedge-centric), we can therefore, use distributed computing for hypergraphs using MESH and HyperX, as mentioned before.
228
+
229
+ Issues with aggregating vertex embedding Furthermore, we also observe that even simple element-wise summation or averaging of node embeddings for the nodes (in a given hyperedge) also perform comparably when compared to hyperedge embedding alone. From this we can infer that depending upon the dataset, if we have less hyperedges and more nodes, than we would rather prefer to simply learn the hyperedge embedding directly rather than learning node embeddings and then performing aggregating operation over them. Aggregation might turn out be costly specially if average hyperedge size is large and the choice of aggregation function is an issue. Therefore, learning hyperedge embeddings directly seems to be escape the problem of choosing the aggregation function all together.
230
+
231
+ Scalability issues for baselines Another thing we notice, is that in case of LangNet dataset, that node2vec based h2v-inv and h2v-dual methods are simply unable to run (see N/A in Table 2). It seems that in LangNet (and possibly in text data in general) the hypergraph dual, $\mathbf { A } _ { \mathbf { d u a l } }$ , which contain phrase to phrase edges turns out be containing significantly more edges than the number of node to node edges in $\mathbf { A _ { h y p } }$ . Therefore, performing context generation (using node2vec) over $\mathbf { A _ { i n v } }$ and $\mathbf { A _ { d u a l } }$ graphs turns out be very costly and we were unable to get hyperedge embeddings for h2v-inv and h2v-dual methods. Note, we however do get vertex embedding (as mentioned with a \* mark below Table 3). But as you can see that even the time time taken for vertex embedding is similar or more than the total time taken by spectral methods for learning both hyperedge as well as vertex embedding, together. This indicates the robustness of the spectral methods, specially the e2v-hyp for different kinds of hypergraph data and edge densities (sparsity).
232
+
233
+ # 5 RELATED WORKS
234
+
235
+ Hypergraphs were studied rigorously by Berge (1976; 1984) as a generalization of graphs and directed hypergraphs have been introduced by Bretto (2013). Hypergraph were argued for the first time as a model to naturally capture higher-order relationships between sets of objects across variety of domains by Estrada & Rodriguez-Velazquez (2005). Hypergraphs have been used to model complex networks in different fields including biology (Klamt et al., 2009), databases (Fagin, 1983) and data mining (Han et al., 1997; Zhou et al., 2007). Within machine learning, algorithms guided by the structure of hypergraph were introduced by Zhou et al. (2006) and have found applications in a variety of domains (Tian et al., 2009; Gao et al., 2013; Li & Li, 2013; Sharma et al., 2015; 2017). Simplicial complex (Munkres, 1984) based view of hypergraph using hasse lattice (Skiena, 1990) within machine learning has recently been proposed by Sharma et al. (2017).
236
+
237
+ Representation learning (RL) (Bengio et al., 2013) focuses on learning features (geometry) of the data (topology). Machine learning algorithms make use of these features for prediction. Traditionally these features are readily available within the data-set or are engineered manually. However, this is often a tedious and human labor-intensive process. RL addresses this issue by learning features automatically in a task-dependent supervised or a task-independent unsupervised manner.
238
+
239
+ Node Representations in Graph: Traditionally unsupervised node embedding learning has been dong using latent models like matrix factorization (Ahmed et al., 2013) or by community detection (Tang & Liu, 2011) based techniques for networks (Roweis & Saul, 2000; Belkin & Niyogi, 2001; Tenenbaum et al., 2000; Cox & Cox, 2000). In each case there is a vector of features learned for a node, each of whose entries reflects node’s association with some latent dimension or a network community. More recently, there has been a revived interest in graph embedding in form of context oriented techniques (Perozzi et al., 2014; Tang et al., 2015b; Grover & Leskovec, 2016). These techniques are inspired by recent unsupervised RL methods in NLP (Mikolov et al., 2013b; Le & Mikolov, 2014) where word embeddings are learned that are similar to words in a given neighborhood or context. These techniques differ in the manner they generate this context as well as in the objective which they optimize. Also there are supervised algorithms learn embeddings which are optimal for the specific task at hand. This results in high accuracy but incurs significant computational cost for training. Recently, several supervised learning algorithms have been proposed for network analysis (Tian et al., 2014; Xiaoyi et al., 2013) and for text networks in a semi-supervised setting (Tang et al., 2015a). Finally, we refer readers to a very recent and comprehensive survey on graph embedding methods by Cai et al. (2017).
240
+
241
+ Node Representations in Hypergraph: Learning embeddings for nodes within a hypergraph while incorporating the hypergraph topology using proxy graphs is introduced by Zhou et al. (2006). Using graph proxy destroys the hypredge-level joint information and thus, incur loss of information. Also, Agarwal et al. (2006) squarely criticize that such representations can be learned by constructing graphs, which are proxies for the hypergraph structure.
242
+
243
+ Set Representations: RL for sets using neural networks has been proposed recently (Vinyals et al., 2016), where a memory network is used to compose features sequentially but in an order invariant manner. In their very recent paper, Rezatofighi et al. (2016) have tried to answer this set ordering issue by the use of random set theory. However, they do not consider embedding but focus on learning set-level probabilities. More importantly, both of these works, do not consider the hypergraph structure of overlapping sets which is the main focus of this paper.
244
+
245
+ Tensors For comprehensive view of tensors, tensor decomposition as well as applications we refer to the survey by Kolda & Bader (2009). The connection between $k$ -way tensor and $\mathbf { k }$ -uniform hypergraph eigen values was established by Qi (2005). The use of $k$ -way symmetric tensor and their non-negative decomposition for uniform hypergraph partitioning was first introduced by Shashua et al. (2006). But they are again restricted to uniform hypergraphs.
246
+
247
+ # 6 CONCLUSION
248
+
249
+ In this paper we have proposed two methods to generate higher-order representations for both hyperedges (representing sets of nodes) and hypergraph nodes (that also take into account the hypergraph structure). First, is an auto-encoder based deep-learning method and second, is a tensor-based algebraic method. Both learning models are unique in the manner they leverage the existing structure present in network data as context. While introducing a new idea of a dual tensors corresponding to the hypergraph dual, we develop a novel approach of using factors from joint decomposition of $k$ -way tensors corresponding to $k$ -uniform sub-hypergraphs, as generic node & hyperedge representations. We show that that both methods perform comparably with several other baselines in terms of accuracy. We also observe that the proposed tensor based methods are more efficient and also have a natural hypergraph theoretic interpretation; unlike deep learning based black-box approach. We therefore, argue that we have proposed more general methods which are principally suited for hypergraphs (and therefore also for graphs) while maintaining accuracy and efficiency.
250
+
251
+ # REFERENCES
252
+
253
+ Pubmed data. https://www.ncbi.nlm.nih.gov/pubmed/.
254
+
255
+ Sameer Agarwal, Kristin Branson, and Serge Belongie. Higher order learning with graphs. In Proceedings of the 23rd international conference on Machine learning, pp. 17–24. ACM, 2006.
256
+
257
+ Amr Ahmed, Nino Shervashidze, Shravan Narayanamurthy, Vanja Josifovski, and Alexander J Smola. Distributed large-scale natural graph factorization. In Proceedings of the 22nd international conference on World Wide Web, pp. 37–48. ACM, 2013.
258
+
259
+ Iftekhar Ahmed, Channing Brown, Andrew Pilny, Dora Cai, Yannick Atouba Ada, and Marshall Scott Poole. Identification of groups in online environments: The twist and turns of grouping groups. In Privacy, Security, Risk and Trust (PASSAT) and 2011 IEEE Third Inernational Conference on Social Computing (SocialCom), 2011 IEEE Third International Conference on, pp. 629–632. IEEE, 2011.
260
+
261
+ Anthony F Bartholomay. Molecular set theory: A mathematical representation for chemical reaction mechanisms. Bulletin of Mathematical Biology, 22(3):285–307, 1960.
262
+
263
+ Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps and spectral techniques for embedding and clustering. In NIPS, volume 14, pp. 585–591, 2001.
264
+
265
+ Yoshua Bengio and Samy Bengio. Modeling high-dimensional discrete data with multi-layer neural networks. In Advances in Neural Information Processing Systems, pp. 400–406, 2000.
266
+
267
+ Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013.
268
+
269
+ Yoshua Bengio et al. Learning deep architectures for ai. Foundations and trends $\textsuperscript { \textregistered }$ in Machine Learning, 2(1):1–127, 2009.
270
+
271
+ C. Berge. Graphs and hypergraphs, volume 6. Elsevier, 1976.
272
+
273
+ Claude Berge. Hypergraphs: combinatorics of finite sets, volume 45. Elsevier, 1984.
274
+
275
+ Alain Bretto. Hypergraph theory. An introduction. Mathematical Engineering. Cham: Springer, 2013.
276
+
277
+ Samuel R Bulo and Marcello Pelillo. A game-theoretic approach to hypergraph clustering. In \` Advances in neural information processing systems, pp. 1571–1579, 2009.
278
+
279
+ Hongyun Cai, Vincent W Zheng, and Kevin Chen-Chuan Chang. A comprehensive survey of graph embedding: Problems, techniques and applications. arXiv preprint arXiv:1709.07604, 2017.
280
+
281
+ Evangelia Christakopoulou and George Karypis. Hoslim: higher-order sparse linear method for topn recommender systems. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 38–49. Springer, 2014.
282
+
283
+ Joshua Cooper and Aaron Dutle. Spectra of uniform hypergraphs. Linear Algebra and its Applications, 436(9):3268–3292, 2012.
284
+
285
+ Trevor F Cox and Michael AA Cox. Multidimensional scaling. CRC press, 2000.
286
+
287
+ Mukund Deshpande and George Karypis. Item-based top-n recommendation algorithms. ACM Transactions on Information Systems (TOIS), 22(1):143–177, 2004.
288
+
289
+ Ernesto Estrada and Juan A Rodriguez-Velazquez. Complex networks as hypergraphs. arXiv preprint physics/0505137, 2005.
290
+
291
+ R. Fagin. Degrees of acyclicity for hypergraphs and relational database schemes. Journal of the ACM (JACM), 30(3):514–550, 1983.
292
+
293
+ Shenghua Gao, Ivor Wai-Hung Tsang, and Liang-Tien Chia. Laplacian sparse coding, hypergraph laplacian sparse coding, and applications. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(1):92–104, 2013.
294
+
295
+ Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, August 13-17, 2016, pp. 855–864, 2016. doi: 10.1145/2939672. 2939754.
296
+
297
+ E.H. Han, G. Karypis, V. Kumar, and B. Mobasher. Clustering based on association rule hypergraphs. University of Minnesota, Department of Computer Science, 1997.
298
+
299
+ Benjamin Heintz and Abhishek Chandra. Enabling scalable social group analytics via hypergraph analysis systems. In HotCloud, 2015.
300
+
301
+ Benjamin Heintz, Shivangi Singh, Rankyung Hong, Guarav Khandelwal, Corey Tesdahl, and Abhishek Chandra. Mesh: A flexible distributed hypergraph processing system. 2017.
302
+
303
+ Jin Huang, Rui Zhang, and Jeffrey Xu Yu. Scalable hypergraph learning and processing. In Data Mining (ICDM), 2015 IEEE International Conference on, pp. 775–780. IEEE, 2015.
304
+
305
+ TaeHyun Hwang, Ze Tian, Rui Kuangy, and Jean-Pierre Kocher. Learning on weighted hypergraphs to integrate protein interactions and gene expressions for cancer outcome prediction. In Data Mining, 2008. ICDM’08. Eighth IEEE International Conference on, pp. 293–302. IEEE, 2008.
306
+
307
+ S. Klamt, U.U. Haus, and F. Theis. Hypergraphs and cellular networks. PLoS computational biology, 5(5):e1000385, 2009.
308
+
309
+ Tamara G Kolda and Brett W Bader. Tensor decompositions and applications. SIAM review, 51(3): 455–500, 2009.
310
+
311
+ Quoc V Le and Tomas Mikolov. Distributed representations of sentences and documents. In ICML, volume 14, pp. 1188–1196, 2014.
312
+
313
+ Lei Li and Tao Li. News recommendation via hypergraph learning: encapsulation of user behavior and news content. In Proceedings of the sixth ACM international conference on Web search and data mining, pp. 305–314. ACM, 2013.
314
+
315
+ Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013a.
316
+
317
+ Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeffrey Dean. Distributed representations of words and phrases and their compositionality. In Proceedings of the 26th International Conference on Neural Information Processing Systems, NIPS’13, pp. 3111–3119, 2013b.
318
+
319
+ James R Munkres. Elements of algebraic topology, volume 2. Addison-Wesley Menlo Park, 1984.
320
+
321
+ Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710. ACM, 2014.
322
+
323
+ Liqun Qi. Eigenvalues of a real supersymmetric tensor. Journal of Symbolic Computation, 40(6): 1302–1324, 2005.
324
+
325
+ Seyed Hamid Rezatofighi, Anton Milan, Ehsan Abbasnejad, Anthony Dick, Ian Reid, et al. Deepsetnet: Predicting sets with deep neural networks. arXiv preprint arXiv:1611.08998, 2016.
326
+
327
+ Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. Science, 290(5500):2323–2326, 2000.
328
+
329
+ Ankit Sharma, Rui Kuang, Jaideep Srivastava, Xiaodong Feng, and Kartik Singhal. Predicting small group accretion in social networks: A topology based incremental approach. In 2015 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), pp. 408–415. IEEE, 2015.
330
+
331
+ Ankit Sharma, Terrence J Moore, Ananthram Swami, and Jaideep Srivastava. Weighted simplicial complex: A novel approach for predicting small group evolution. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 511–523. Springer, 2017.
332
+
333
+ Amnon Shashua, Ron Zass, and Tamir Hazan. Multi-way clustering using super-symmetric nonnegative tensor factorization. Computer Vision–ECCV 2006, pp. 595–608, 2006.
334
+
335
+ Steven Skiena. Hasse diagrams. Implementing Discrete Mathematics: Combinatorics and Graph Theory With Mathematica, pp. 163, 1990.
336
+
337
+ Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher Manning, Andrew Ng, and Christopher Potts. Parsing With Compositional Vector Grammars. In EMNLP. 2013.
338
+
339
+ Steven H Strogatz. Exploring complex networks. Nature, 410(6825):268–276, 2001.
340
+
341
+ Karthik Subbian, Charu Aggarwal, and Jaideep Srivastava. Content-centric flow mining for influence analysis in social streams. In Proceedings of the 22nd ACM international conference on Conference on information & knowledge management, pp. 841–846. ACM, 2013.
342
+
343
+ Jian Tang, Meng Qu, and Qiaozhu Mei. Pte: Predictive text embedding through large-scale heterogeneous text networks. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1165–1174. ACM, 2015a.
344
+
345
+ Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. Line: Large-scale information network embedding. In Proceedings of the 24th International Conference on World Wide Web, pp. 1067–1077. ACM, 2015b.
346
+
347
+ Lei Tang and Huan Liu. Leveraging social media networks for classification. Data Mining and Knowledge Discovery, 23(3):447–478, 2011.
348
+
349
+ Joshua B Tenenbaum, Vin De Silva, and John C Langford. A global geometric framework for nonlinear dimensionality reduction. science, 290(5500):2319–2323, 2000.
350
+
351
+ Fei Tian, Bin Gao, Qing Cui, Enhong Chen, and Tie-Yan Liu. Learning deep representations for graph clustering. In AAAI, pp. 1293–1299, 2014.
352
+
353
+ Ze Tian, TaeHyun Hwang, and Rui Kuang. A hypergraph-based learning algorithm for classifying gene expression and arraycgh data with prior knowledge. Bioinformatics, 25(21):2831–2838, 2009.
354
+
355
+ Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pp. 1096–1103. ACM, 2008.
356
+
357
+ 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. Journal of Machine Learning Research, 11(Dec):3371–3408, 2010.
358
+
359
+ Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. In ICLR, 2016.
360
+
361
+ Li Xiaoyi, Li Hui Du Nan, et al. A deep learning approach to link prediction in dynamic networks. In Proceedings of the 2013 SIAM International Conference on Data Mining. Philadelphia, PA, USA: SIAM, 2013.
362
+
363
+ D. Zhou, J. Huang, and B. Scholkopf. Learning with hypergraphs: Clustering, classification, and embedding. Advances in Neural Information Processing Systems, 19:1601, 2007.
364
+
365
+ Dengyong Zhou, Jiayuan Huang, and Bernhard Scholkopf. Learning with hypergraphs: Clustering, ¨ classification, and embedding. In Advances in neural information processing systems, pp. 1601– 1608, 2006.
366
+
367
+ ![](images/9f65e8e35f028b30bbbf3eeafa5cec3d720defbe7f139efbe3bbc6ceae666b33.jpg)
368
+ Figure 4: Distributed memory (DM) and Distributed bag of words (DBOW) versions of Sen2Vec for a sentence “I love soccer”.
369
+
370
+ # A APPENDIX
371
+
372
+ # A.1 HYPEREDGE2VEC USING SENTENCE EMBEDDINGS
373
+
374
+ As mentioned before, the most commonly used model for studying complex interactions in networks is graphs, where each edge represents a dyadic interaction between nodes Strogatz (2001). Therefore, even if the original interaction is not dyadic like a set of researchers (3 or more) collaborating on a publication, we shall break down this joint interaction into dyadic interactions. Even though a large number of complex network data naturally occurs as hypergraphs Estrada & RodriguezVelazquez (2005), the popularity of “think like dyadic edges” and not like sets seems to us as a hindrance, specifically when the end aim is to model the joint distribution at the level of sets. In this paper, as it is obvious, we go by “think like set” paradigm, specifically, when the data is naturally occurring as network of sets (i.e., a hypergraph). Therefore, if we think of hyperedge as a set, a natural question arises is that are there any existing techniques that learn embeddings at set level? We, henceforth, explore the most popular discrete data on which representation learning has been applied is text data.
375
+
376
+ Recently, Le & Mikolov (2014) proposed two representation learning methods for sentences as shown in Figure 4: a) a distributed memory (DM) model, and b) a distributed bag of words (DBOW) model. In the DM model, every sentence in the dataset $G$ is represented by a $d$ dimensional vector in a shared lookup matrix $S \in \mathbb { R } ^ { | G | \times d }$ . Similarly, every word in the vocabulary $\Omega$ is represented by a $d$ dimensional vector in another shared lookup matrix $L \in \mathbb { R } ^ { | \Omega | \times d }$ . Given an input sentence $\mathbf { v } = \left( v _ { 1 } , v _ { 2 } \cdot \cdot \cdot v _ { m } \right)$ , the corresponding sentence vector from $S$ and the word vectors from $L$ are averaged to predict the next word in a context. More formally, let $\phi$ denote the mapping from sentence and word ids to their respective vectors in $S$ and $L$ , the DM model minimizes the following objective:
377
+
378
+ $$
379
+ \begin{array} { r c l } { { { \cal J } ( \phi ) } } & { { = } } & { { \displaystyle - \sum _ { t = k } ^ { m - k } \log P ( v _ { t } | { \bf v } ; v _ { t - k + 1 } , \cdots , v _ { t - 1 } ) } } \\ { { } } & { { = } } & { { \displaystyle - \sum _ { t = k } ^ { m - k } \log \frac { \exp ( \omega ( v _ { t } ) ^ { T } { \bf z } ) } { \sum _ { i } \exp ( \omega ( v _ { i } ) ^ { T } { \bf z } ) } } } \end{array}
380
+ $$
381
+
382
+ where $\mathbf { z }$ is the average of $\phi ( \mathbf { v } ) , \phi ( v _ { t - k + 1 } ) , \cdot \cdot \cdot , \phi ( v _ { t - 1 } )$ input vectors, and $\omega ( v _ { t } )$ is the output vector representation of word $\boldsymbol { v } _ { t } ~ \in ~ \Omega$ . The sentence vector $\phi ( \mathbf { v } )$ is shared across all (sliding window) contexts extracted from the same sentence, thus acts as a distributed memory.
383
+
384
+ Instead of predicting the next word in the context, the DBOW model predicts the words in the context independently given the sentence id as input. More formally, DBOW minimizes the following objective:
385
+
386
+ $$
387
+ \begin{array} { r c l } { J ( \phi ) } & { = } & { \displaystyle - \sum _ { t = k } ^ { m - k } \sum _ { j = t - k + 1 } ^ { t } \log P ( v _ { j } | \mathbf { v } ) } \\ & { = } & { \displaystyle - \sum _ { t = k } ^ { m - k } \sum _ { j = t - k + 1 } ^ { t } \log \frac { \exp \left( \omega ( v _ { j } ) ^ { T } \phi ( \mathbf { v } ) \right) } { \sum _ { i } \exp \left( \omega ( v _ { i } ) ^ { T } \phi ( \mathbf { v } ) \right) } } \end{array}
388
+ $$
389
+
390
+ Both the methods take sentences as input and return embeddings for words as well as the sentence. To apply the sentence embedding models directly to hyperedges, as our first method we generate a proxy sentence for each hyperedge by leveraging the contextual information in the hyperedge.
391
+
392
+ A proxy sentence $\mathbf { v } _ { i }$ is formed for each hyperedge $g _ { i } \in \textit { G }$ as a sequence made by concatenating all the permutations of the nodes (as words) in the hyperedge and further repeating this sequence as many time this hyperedge occurred. For example, for a three node hyperedge $\begin{array} { r c l } { { g _ { i } } } & { { = } } & { { \{ 1 , 4 , 7 \} } } \end{array}$ which has occurred two times we make the following sentence $\mathbf { v } _ { i }$ : {1,4,7,1,7,4,7,1,4,7,4,1,4,1,7,4,7,1,1,4,7,1,7,4,7,1,4,7,4,1,
393
+
394
+ $\delta , 1 , 7 , 4 , 7 , 1 \}$ of length 12 (6 permutations times 2 occurrence). In this scheme we have permutations and repetitions. We take all the permutations hoping that it should fool the sequence based model to get a sequence independent embedding. On the other hand, repetition of the permutations acts similarly to observing the same sequence of words several times in the text corpus. Of course one can think of other alternative schemes, but the point we are trying to make is that naturally observed hyperedges captures important contextual information that can be leveraged to achieve better representations. We refer to the node-hyperedge embedding pairs resulting from DM, DBOW models as h2v-dm and $\mathbf { h } 2 \mathbf { v }$ -dbow, respectively.
395
+
396
+ # A.2 HYPEREDGE2VEC USING NODE2VEC
397
+
398
+ Grover & Leskovec (2016) propose a representation method for nodes in a graph called node2vec, which uses the skip-gram model Mikolov et al. (2013b) with the intuition that neighborhood nodes within a graph should have similar representations. The objective of the skip-gram model for graphs can be defined as:
399
+
400
+ $$
401
+ \begin{array} { r c l } { { J ( \phi ) } } & { { = } } & { { \displaystyle - \sum _ { v \in V } \log P ( N ( v ) | \phi ( v ) ) } } \\ { { } } & { { = } } & { { \displaystyle - \sum _ { v \in V } \sum _ { n _ { i } \in N ( v ) } \log P ( n _ { i } | \phi ( v ) ) } } \\ { { } } & { { = } } & { { \displaystyle - \sum _ { v \in V } \sum _ { n _ { i } \in N ( v ) } \log \frac { \exp \left( \omega ( n _ { i } ) ^ { T } \phi ( v ) \right) } { \sum _ { x \in V } \exp \left( \omega ( x ) ^ { T } \phi ( v ) \right) } } } \end{array}
402
+ $$
403
+
404
+ where as before, $\phi$ and $\omega$ denote the input and the output vector representations of the nodes. The neighboring nodes $N ( v )$ form the context for node $v$ . node2vec uses a biased random walk which adaptively combines breadth first search (BFS) and depth first search (DFS) to find the neighborhood of a node. The walk attempts to capture two properties of a graph often used for prediction tasks in networks: (i) homophily and (ii) structural equivalence. According to homophily, nodes in the same group or community should have similar representations. Structural equivalence suggests that nodes with similar structural roles (hub, bridge) should have similar representations. In a real-world network, nodes exhibit mixed properties.
405
+
406
+ Our aim is to find both node and hyperedge level embeddings by taking into account the hypergraph structure. For the former, we leverage the adjacency matrix associated with a hypergraph Zhou et al. (2006), which is defined as:
407
+
408
+ $$
409
+ \mathbf { A _ { h y p } } = \mathbf { H } ^ { T } \mathbf { W _ { e } H } - \mathbf { D _ { v } }
410
+ $$
411
+
412
+ where ${ \bf W _ { e } }$ is a diagonal matrix containing the weights of each hyperedge and $\mathbf { D _ { v } }$ is a diagonal matrix containing the degree of each vertex. We take the weight of a hyperedge as its occurrence number, i.e. $\mathbf { W _ { e } } ( i , i ) = R ( g _ { i } ) , \forall \{ i \in \{ 1 , . . . , n \} \}$ . The adjacency matrix $\mathbf { \bar { \phi } } ( \mathbf { A _ { h y p } } \in \mathbb { R } ^ { | V | \times | V | } )$ associates a weight between a pair of nodes while taking into account the weights of all the hyperedges that encompass a pair of nodes. The weighted graph associated with $\mathbf { A _ { h y p } }$ in some sense serves as a proxy to the actual hypergraph structure. We can provide $\mathbf { A _ { h y p } }$ as input to node2vec and hypothesize that the random walk over this proxy hypergraph should allow the skip-gram model to learn more meaningful node level embeddings which can be combined to construct hyperedge level embeddings. We refer to these node level embeddings as N2V-hyp.
413
+
414
+ We still have not met our second objective to learn hyperedge embeddings directly. We again wish to leverage node2vec for our purpose. However, node2vec only works for graphs by performing random walk over nodes. Therefore, we ask ourselves the question, that can we treat hyperedges as nodes? There can be other ways of doing so, but here we suggest two techniques. In the first technique, we simply consider the hypergraph dual Berge (1984), whose incidence matrix is $\mathbf { H } _ { \mathbf { d u a l } } = \bar { \mathbf { H } } ^ { T }$ . The adjacency matrix associated with the hypergraph dual is:
415
+
416
+ $$
417
+ \mathbf { A } _ { \mathbf { d u a l } } = \mathbf { H _ { d u a l } } ^ { T } \mathbf { W _ { v } } \mathbf { H _ { d u a l } } - \mathbf { D _ { e } } = \mathbf { H } \mathbf { W _ { v } } \mathbf { H } ^ { T } - \mathbf { D _ { e } }
418
+ $$
419
+
420
+ where $\mathbf { W _ { v } }$ is a diagonal matrix containing the weights of each node and $\mathbf { D _ { e } }$ is a diagonal matrix containing the degree of each hyperedge. We assume no weights on the nodes and take $\mathbf { W _ { v } } = \mathbf { I }$ . The matrix $\mathbf { A _ { d u a l } } ^ { } \mathbf { \bar { \Pi } } \mathbf { \in } \mathbb { R } ^ { | G | \times | G | }$ represents another hypergraph, but the roles of nodes and hyperedges have now switched. For example, in case of words and sentences, the hyperedges were sentences, but in the hypergraph dual the words become hyperedges and the nodes within a word’s hyperedge represent all the sentences in which the word has appeared. We again give $\mathbf { A } _ { \mathbf { d u a l } }$ (i.e., a graph proxy for the dual hypergraph) as input to node2vec, but this time we get output as the embeddings for the hyperedges associated with the nodes in dual. We refer to these hyperedge embeddings as h2v-dual.
421
+
422
+ In the second technique, we consider the following adjacency matrix $\mathbf { A _ { i n v } } \in \mathbb { R } ^ { | G | \times | G | }$
423
+
424
+ $$
425
+ \mathbf { A } _ { \mathbf { i n v } } = \mathbf { H } \mathbf { H } ^ { T }
426
+ $$
427
+
428
+ associated with what we refer to as the inverted hypergraph. This inverted hypergraph is a graph (unlike the dual which is a hypergraph) and there is an edge between two nodes if the hyperedges corresponding to the nodes in the original hypergraph have nodes in common. Weight of this edge is the number of common nodes. We again give $\mathbf { A _ { i n v } }$ as input to node2vec to get embeddings for the hyperedges associated with the nodes in inverted hypergraph. We refer to these hyperedge embeddings as h2v-inv.
429
+
430
+ # A.3 HYPEREDGE2VEC USING SPECTRAL EMBEDDINGS
431
+
432
+ These set of methods extract embeddings as the eigenvectors associated with Laplacian matrices corresponding to the various adjacency matrices discussed in the previous section. We consider the following graph Laplacians:
433
+
434
+ $$
435
+ \mathbf { L _ { g r a p h } } = \mathbf { I } - \mathbf { D _ { v } } ^ { - 1 / 2 } \mathbf { A _ { g r a p h } } \mathbf { D _ { v } } ^ { - 1 / 2 }
436
+ $$
437
+
438
+ where $\mathbf { A } _ { \mathbf { g r a p h } } = \mathbf { H } ^ { T } \mathbf { W _ { e } H }$ is the weighted graph associated with the graph corresponding to adjacency matrix A,
439
+
440
+ $$
441
+ \begin{array} { r } { \begin{array} { c c l } { { \bf L } _ { \bf h y p } } & { = } & { { \bf I } - { \bf D } _ { \bf v } - ^ { - 1 / 2 } { \bf A } _ { \bf h y p } { \bf D } _ { \bf v } - ^ { - 1 / 2 } } \\ { { \bf L } _ { \bf i n v } } & { = } & { { \bf I } - { \bf D } _ { \bf e } - ^ { - 1 / 2 } { \bf A } _ { \bf i n v } { \bf D } _ { \bf e } - ^ { - 1 / 2 } } \\ { { \bf L } _ { \bf d u a l } } & { = } & { { \bf I } - { \bf D } _ { \bf e } - ^ { - 1 / 2 } { \bf A } _ { \bf d u a l } { \bf D } _ { \bf e } - ^ { - 1 / 2 } } \end{array} } \end{array}
442
+ $$
443
+
444
+ We get the $d$ eigenvectors associated with the smallest $d$ eigenvalues of the above graph Laplacians as the embeddings. We get vertex embeddings using Eq. 22 and hyperedge embedding using Eq. 24, and we refer to them together as e2v-hyp. Similarly, we get another pair of vertex embeddings (using Eq. 21) and hyperedge embedding (using Eq. 24). We refer to the later pair as $\mathbf { e } 2 \mathbf { v }$ .
445
+
446
+ # B APPENDIX
447
+
448
+ # B.1 TENSOR INITIALIZATION SCHEMES
449
+
450
+ We can also have other initialization for hypergraph tensor, $\mathcal { A } _ { \mathbf { h } \mathbf { y } \mathbf { p } } ^ { \mathbf { k } } = ( a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } ) \in \mathbb { R } ^ { [ k , n ] }$ , as follows:
451
+
452
+ $$
453
+ a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } = \frac { R ( g _ { i } ) } { k ! }
454
+ $$
455
+
456
+ where $\left\{ v _ { p _ { 1 } } , v _ { p _ { 2 } } , . . . , v _ { p _ { k } } \right\} \in g _ { i }$ and $| g _ { i } | = k , \forall i \in \left. 1 , . . . , m \right.$ . This initialization normalizes the effect of occurrence counts of hyperedge $g _ { i }$ across all of its vertex permutations. It can be interpreted as each vertex permutation marginally contributes to the total occurrence count of the hyperedge. Now if a hyperedge is large intuitively they are less informative about a joint relationship between the vertices part of it. For example the members of a large social group are less likely to be related as compared to members of a small research collaboration who have published several papers together. To incorporate this large hyperedge issue, we normalize the occurrence count with the hyperedge cardinality, as follows:
457
+
458
+ $$
459
+ a _ { p _ { 1 } , p _ { 2 } , . . , p _ { k } } = \frac { R ( g _ { i } ) } { k ! \times k }
460
+ $$
461
+
462
+ In a similar manner we can also have different initialization schemes for dual tensor, $\mathbf { \mathcal { A } _ { d u a l } ^ { k } } =$ $\left( a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } \right) \in \mathbb { R } ^ { [ k , m ] }$ , as follows:
463
+
464
+ $$
465
+ a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } = \frac { 1 } { k ! }
466
+ $$
467
+
468
+ where $\left\{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \right\} \ni v _ { j }$ and $d ( v _ { j } ) = k , \forall j \in \{ 1 , . . . , n \}$ . This initialization indicates that vertex $v _ { j }$ connects various permutations of the hyperedges $\left\{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \right\}$ , each contributing fractionally. We can also have a weighted initialization like:
469
+
470
+ $$
471
+ a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } = \frac { \sum _ { s = 1 } ^ { k } w _ { 1 } ( g _ { q _ { s } } ) } { k ! }
472
+ $$
473
+
474
+ If the weight $w _ { 1 } ( g _ { q _ { s } } ) = R ( g _ { q _ { s } } )$ , then the numerator $\textstyle \sum _ { s = 1 } ^ { k } w ( g _ { q _ { s } } )$ would be high if the vertex $v _ { j }$ participated in its neighboring hyperedges at several occurrences, therefore, is a strongly informative if we were to infer that the hyperedges $\left\{ g _ { q _ { 1 } } , g _ { q _ { 2 } } , . . . , g _ { q _ { k } } \right\}$ are related jointly to each other. For example, if an individual has participated a lot in a bunch of social groups then its reasonable to assume that these groups are related. Same argument goes for a common word in several sentence. However, if a word or a person is part of large sentences or big groups then this argument might not be that strong. Reason being, for example a student can be part of a big university and a big company where he works as a part time employee. This does not make the company and the university related. Another issue is that if a word or a person is very common or popular i.e. the vertex $v _ { j }$ has high degree $k ( = d ( v _ { j } ) )$ then its doesn’t mean the sentences or groups they are part of are related. Its just that they are common word or popular person that happen to be in a lot of sentence or groups. We can mitigate the above two issues by the following augmented initialization:
475
+
476
+ $$
477
+ a _ { q _ { 1 } , q _ { 2 } , . . , q _ { k } } = \frac { \sum _ { s = 1 } ^ { k } w _ { 2 } ( g _ { q _ { s } } ) } { k ! \times k }
478
+ $$
479
+
480
+ where $\begin{array} { r } { w _ { 2 } ( g _ { q _ { s } } ) = \frac { R ( g _ { q _ { s } } ) } { | g _ { q _ { s } } | } } \end{array}$ R(gqs )|g | is the occurrence counts normalized by the hyperedge size.
481
+
482
+ B.2 INCIDENT HYPEREDGE PARTITIONING SCHEMES FOR HIGH DEGREE VERTICES
483
+
484
+ Here we briefly discuss various partitioning schemes capturing different intuitive objectives. As mentioned in the Section 4.4 we wish to limit ourselves to vertices of degree $d ( v ) \leq \alpha$ . One straight forward method is to simply ignore the vertices with $d ( v ) > \alpha$ . However, this would result in loss of the information. In the sense that each vertex connects a set of incident hyperedges and this connection implies that these set of hyperedges are related to each other and that too in a joint fashion with this vertex acting as a common bridge. Therefore, we don’t wish to ignore vertices with $d ( v ) > \alpha$ but rather partition the $d ( v )$ incident hyperedges into sets that have size $\leq \alpha$ . Here we enlist a few possible ways:
485
+
486
+ 1. Linear Partitioning In this we order the hyperedges in a certain order and then equally partition them into $\textstyle \left[ { \frac { d ( v ) } { \alpha } } \right]$ number of $\alpha$ size partitions (if $\alpha$ is a divisor of $d ( v )$ ), else there shall be one more partition of size $\{ d ( v ) - ( \left\lfloor { \frac { d ( v ) } { \alpha } } \right\rfloor ) \}$ . There can be various ways to order:
487
+
488
+ (a) Order by hyperedge cardinality $( | g _ { i } | )$
489
+ (b) Order by hyperedge occurrence count $( R ( g _ { i } ) )$ )
490
+ (c) Order by hyperedge occurrence count normalized by cardinality $( \frac { R ( g _ { i } ) } { | g _ { i } | } )$
491
+
492
+ (d) Segregate the critical hyperedges for vertex $v$ (i.e. the set $\{ g _ { i } | g _ { i } \in G , v \in g _ { i } , d ( x ) >$ $\alpha , \forall x \in g _ { i } \}$ ) followed by the remaining hyperedges.
493
+
494
+ 2. Subset based partitioning In this we take subsets of the $d ( v )$ hyperedges incident on vertex $v$ . This can be done in couple of different ways:
495
+
496
+ (a) Take all the $\textstyle { \binom { d ( v ) } { \alpha } }$ subsets of $d ( v )$ hyperedges and initialize the various permutation for each subset in the tensor Aαdual. (b) Take all the $\binom { d ( v ) } { \alpha } , \binom { d ( v ) } { \alpha - 1 } , . . . , \binom { d ( v ) } { 2 }$ subsets of $d ( v )$ hyperedges and initialize the various permutation for each subset in the tensors $\mathcal { A } _ { \bf d u a l } ^ { \alpha } , \mathcal { A } _ { \bf d u a l } ^ { \alpha - 1 } , . . . , \mathcal { A } _ { \bf d u a l } ^ { 2 }$ , respectively.
497
+
498
+ 3. Sampling subsets In this we do not exhaustively use the entire set of $d ( v )$ hyperedges but rather sample subsets of size $\alpha$ from the $d ( v )$ hyperedges. This sampling is performed in proportion to:
499
+
500
+ (a) Hyperedge cardinality $( | g _ { i } | )$
501
+ (b) Hyperedge occurrence count $( R ( g _ { i } ) )$ )
502
+ (c) Hyperedge occurrence count normalized by cardinality $( \frac { R ( g _ { i } ) } { | g _ { i } | } )$
503
+
504
+ Further, we can also perform the above sampling of subsets from only among the critical hyperedges, or from only among the non-critical hyperedges or in a mixed manner.
parse/train/rJ5C67-C-/rJ5C67-C-_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJ5C67-C-/rJ5C67-C-_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/rJ5C67-C-/rJ5C67-C-_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryl8-3AcFX/ryl8-3AcFX.md ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ENVIRONMENT PROBING INTERACTION POLICIES
2
+
3
+ Wenxuan Zhou1, Lerrel Pinto1, Abhinav Gupta1,2 1The Robotics Institute, Carnegie Mellon University 2Facebook AI Research
4
+
5
+ # ABSTRACT
6
+
7
+ A key challenge in reinforcement learning (RL) is environment generalization: a policy trained to solve a task in one environment often fails to solve the same task in a slightly different test environment. A common approach to improve interenvironment transfer is to learn policies that are invariant to the distribution of testing environments. However, we argue that instead of being invariant, the policy should identify the specific nuances of an environment and exploit them to achieve better performance. In this work, we propose the “Environment-Probing” Interaction (EPI) policy, a policy that probes a new environment to extract an implicit understanding of that environment’s behavior. Once this environmentspecific information is obtained, it is used as an additional input to a task-specific policy that can now perform environment-conditioned actions to solve a task. To learn these EPI-policies, we present a reward function based on transition predictability. Specifically, a higher reward is given if the trajectory generated by the EPI-policy can be used to better predict transitions. We experimentally show that EPI-conditioned task-specific policies significantly outperform commonly used policy generalization methods on novel testing environments.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Over the last few years deep reinforcement learning (RL) has shown tremendous progress. From beating the world’s best at Go (Silver et al., 2016) to generating agile and dexterous motor policies (Schulman et al., 2015; Lillicrap et al., 2015; Peng et al., 2018), deep RL has been used to solve a variety of sequential decision-making tasks. However, one key issue that deep RL faces is transfer: a policy trained in one environment is extremely dependent on the specific parameters of that environment (Rajeswaran et al., 2017) and fails to generalize to a new environment. Because of this, training agents that can generalize to novel environments has become an active area of research (Rajeswaran et al., 2017; Pinto et al., 2017b; Yu et al., 2017; Peng et al., 2017).
12
+
13
+ The most common approach for environment generalization is to train a single policy over a variety of different environments (Rajeswaran et al., 2017; Peng et al., 2017), thus allowing the policy network to learn invariances to the underlying environmental factors. However, a monolithic policy that works on multiple environments often ends up being conservative since it is unable to exploit the dynamics of a given environment. We argue that instead of learning a policy that is invariant to environment dynamics we need a policy that adapts to its environment. A popular approach for this is to first perform explicit system identification of the environment, and then use the estimated parameters to generate an environment specific policy (Yu et al., 2017). However, there are three reasons why this approach might be infeasible: (a) it is based on the structural assumption that only a known set of parameters matter; (b) estimating those parameters from few observations is an extremely challenging problem; (c) these approaches require access to environment parameters during training time, which might be impractical. So is it possible to learn an environment dependent policy without estimating every environment parameter?
14
+
15
+ When humans are tasked to perform in a new environment, we do not explicitly know what parameters affect performance (Braun et al., 2009). Instead, we probe the environment to gain an intuitive understanding of its behavior. The purpose of these initial interactions is not to complete the task immediately, but to extract information about the environment. This process facilitates learning in that environment. Inspired by this, we present a framework in which the agent first performs “environment-probing” interactions that extract information from an environment, then leverages this information to achieve the goal with a task-specific policy. This setup entails three challenges: 1) How should an agent interact with an environment? 2) How can information be extracted from such interactions? 3) How can the extracted information be used to learn a better policy?
16
+
17
+ One way to interact is by executing random actions in the environment. However, this may not expose the nuances of an environment. Another way is to use samples from the task-specific policy to infer the environment (Yu et al., 2017). However, a good task-specific policy may not be optimal for understanding an environment. Instead, we separately optimize an “Environment-Probing” Interaction policy (EPI-policy) to extract environment information. To assign rewards to the EPIpolicy, our key insight is that the agent’s ability to predict transitions in an environment can be used as a metric of its understanding of that environment. If an “environment-probing” trajectory can help in predicting transitions, then it should be a good trajectory. More specifically, we use the “environment-probing” trajectory to generate an environment embedding vector. This compact embedding vector is passed to a prediction model that provides higher rewards to the trajectories that are useful in estimating environment-dependent transitions.
18
+
19
+ Once we have learned the EPI-policy, we can use the generated environment embedding as an input to the task-specific policy. Since this task-specific policy is conditioned on the information from the environment, it can now produce actions dependent on the nuances of the specific environment.
20
+
21
+ We evaluate the effectiveness of using EPI on Hopper and Striker from OpenAI Gym (Brockman et al., 2016) with randomized mass, damping and friction. In both of these environments, the performance of our policies is better than several commonly used techniques and is even comparable to an oracle policy that has full access to the environment information. These results, along with a detailed ablation analysis, demonstrates that implicitly encoding the environment using EPI-policies improves task performance in unseen testing environments.
22
+
23
+ # 2 RELATED WORK
24
+
25
+ Developing generalizable machine learning models is a longstanding challenge. One approach to transfer models across different input distributions is domain adaptation. Duan et al. (2012) along with several others (Hoffman et al., 2014; Kulis et al., 2011; Long et al., 2015) domain-adapt visual models. With the onset of deep learning, several works have investigated finetuning (retraining) pretrained networks in different target domains (Yosinski et al., 2014; Li et al., 2016; Tzeng et al., 2014). In reinforcement learning, Gupta et al. (2017) learns different encoders for different environments that share a common feature space to enable transfer. Improving the generalizability of models can also be formulated as a meta-learning problem. Finn et al. (2017) and Yu et al. (2018) finetune the models in new environments. We argue that agents should have the capacity to generalize without updating their policy. Duan et al. (2016b) and Wang et al. (2016) optimize the policy over multiple episodes and use RNN to implicitly model the underlying changing dynamics in the hidden states. Hausman et al. (2018) purposes to learn an embedding in a supervised manner by performing variational inference on task ids. These methods are based on model-free meta-RL, while Sæmundsson et al. (2018) and Clavera et al. (2018) investigate in model-based meta-RL. Sæmundsson et al. (2018) infers latent variables using Gaussian Process, while we use neural networks to create an embedding and experimented with more complex high-dimensional continuous control problems. Concurrent work Clavera et al. (2018) proposes to train a dynamics model that adapts online using either gradient based method (Finn et al., 2017) or recurrent based method (Duan et al., 2016b). The most important difference is that we have a separate policy to probe the environment instead of using the trajectories from the execution of the task. In our method, training prediction models is somewhat related to learning dynamics model in the model-based RL. However, the prediction model in our method does not to be very accurate since we are only taking the difference.
26
+
27
+ Another stream of research that is relevant to our work is simulation-to-real transfer. Here the goal is to train a policy in a physics simulator and then transfer that policy to a real robot. The challenge here is to bridge the “Reality Gap” between the real world and the simulator. Rusu et al. (2016) attempt to do this via architectural novelty for visual domain adaptation. Sadeghi & Levine (2016); Tobin et al. (2017); Pinto et al. (2017a) and James et al. (2017) perform domain randomization on the inputs during training to learn a transferable policy. These methods target the mismatch of observation space. However, we target the mismatch in the dynamics of the environment. Peng et al. (2017) proposes domain randomization of the environment parameters and learning an LSTM policy to implicitly learn the environment. We compare our method to this approach and show that a separate process that extracts the nuances of an environment is vital for better generalization. Rajeswaran et al. (2017) and Pinto et al. (2017b) also target generalization to environments, however they do not incorporate environment information and hence are only able to learn a conservative policy.
28
+
29
+ The traditional approach of system identification (Milanese et al., 2013; Gevers et al., 2006; Bongard & Lipson, 2005; Armstrong, 1987) aims to explicitly estimate the varying environment parameters. Yu et al. (2017) propose the UP-OSI framework that can perform online system identification and takes the estimated environment parameters as additional input to the policy. This works well when the number of parameters to estimate is few. However, explicit identification of every environment parameter is a extremely challenging. Denil et al. (2016) trains an policy to gather information about physical properties through interactions in intuitive physics to answer questions, while we are trying do dealt with a more complex continuous control setting.
30
+
31
+ A recent approach by Pathak et al. (2017; 2018) uses errors in prediction models as an intrinsic reward (Chentanez et al., 2005) to improve exploration in RL. The strategy is to take actions to reach the states that maximize the error in the learned prediction model. In contrast, our method selects actions that reduce the prediction error on the heldout prediction dataset of task policy trajectories.
32
+
33
+ # 3 BACKGROUND: REINFORCEMENT LEARNING
34
+
35
+ We use the framework of reinforcement learning to learn the interaction policy and the final task target policy. This section contains brief preliminaries for reinforcement learning. Note that a more comprehensive exposition can be found in Kaelbling et al. (1996) and Sutton $\&$ Barto (1998).
36
+
37
+ We model our problem as a continuous space Markov Decision Process represented as the tuple $( S , \mathcal { A } , \mathcal { P } , r , \gamma , \bar { \mathbb { S } } )$ , where $s$ is a set of continuous states of the agent, $\mathcal { A }$ is a set of continuous actions the agent can take at a given state, $\mathcal { P } : \mathcal { S } \times \mathcal { A } \times \mathcal { S } \mathbb { R }$ is the transition probability function, $r : S \times \mathcal { A } \mathbb { R }$ is the reward function, $\gamma$ is the discount factor, and $\mathbb { S }$ is the initial state distribution.
38
+
39
+ The goal for an agent is to maximize the expected cumulative discounted reward $\scriptstyle \sum _ { t = 0 } ^ { T - 1 } \gamma ^ { t } r \left( s _ { t } , a _ { t } \right)$ by performing actions according to its policy $\pi _ { \theta } : { \mathcal { S } } A$ . Here, denotes the parameters for the policy $\pi$ which takes action $a _ { t }$ given state $s _ { t }$ at timestep $t$ . There are various techniques to optimize $\pi _ { \theta }$ . The one we use in this paper is a policy gradient approach, TRPO (Schulman et al., 2015).
40
+
41
+ # 4 APPROACH
42
+
43
+ Our objective is to learn a generalizable policy that is trained on a set of training environments, but can succeed across unseen testing environments. To this end, instead of a single policy, we have two separate policies: (a) an Environment-Probing Interaction policy (EPI-policy) that efficiently interacts with an environment to collect environment-specific information, and (b) a task-specific policy that uses this additional environment information (estimated via EPI-policy) to achieve high rewards for a given task. In this section, we present our methodology for learning these two policies.
44
+
45
+ # 4.1 LEARNING ENVIRONMENT-PROBING INTERACTIONS (EPI)
46
+
47
+ To learn the EPI-policy, we introduce a reward formulation based on the prediction models (Fig. 1). The key insight here is that a good EPI-policy generates trajectories in an environment from which predicting transitions in that environment is easier. To quantify this notion of how easy or difficult it is to predict transitions, we use the error transition prediction models.
48
+
49
+ # 4.1.1 TRANSITION PREDICTION MODELS
50
+
51
+ To train our prediction models, a dataset of transition data $\left( { { s _ { t } } , { a _ { t } } , { s _ { t + 1 } } } \right)$ is collected in the training environments using a pre-trained task policy (Sec. 4.1.3). This data is split into a training set and a validation set. With the training set, we train two prediction models: (a) a vanilla prediction model $f ( s _ { t } , a _ { t } )$ that predicts the next state $s _ { t + 1 }$ given the current state $s _ { t }$ and action $a _ { t }$ , and (b) an EPI-conditioned prediction model $f _ { e p i } ( s _ { t } , a _ { t } ; \psi ( \tau _ { e p i } ) )$ , which takes the embedded EPI-trajectory $\psi ( \tau _ { e p i } )$ as an additional input. Here $\tau _ { e p i }$ is a trajectory in the environment which contains a small fixed number of observations and actions generated by $\pi _ { e p i }$ . $\psi ( \tau _ { e p i } )$ is the low dimensional embedding of the trajectory $\tau _ { e p i }$ . We can now quantify the reward for $\pi _ { e p i }$ as the difference between their performance. The intuition behind this is that if an interaction trajectory generated from $\pi _ { e p i }$ is informative, $f _ { e p i }$ will be able to use it to give smaller prediction error than $f$ .
52
+
53
+ ![](images/454d3d5c07e46c47836db203be42a162039ca2b89ed604e4b93d3f54b9439450.jpg)
54
+ Figure 1: We illustrate the architecture for learning the EPI-Policy. Trajectories $\tau _ { e p i }$ generated from the EPI policy are passed through an embedding network to obtain the environment embeddings $\psi$ . The difference in performance between a simple prediction model $f$ and the embedding-conditioned prediction model $f _ { e p i }$ is used to train the EPI-policy.
55
+
56
+ To train the prediction models, we use a mean squared error loss, i.e the loss for $f$ is:
57
+
58
+ $$
59
+ \mathcal { L } _ { p r e d } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \left. f ( s _ { t } , a _ { t } ) - s _ { t + 1 } \right. _ { 2 } ^ { 2 }
60
+ $$
61
+
62
+ Here $s _ { t + 1 }$ is the target next state and $\left\| \cdot \right\| _ { 2 }$ is the L2 norm. Similarly, the loss for $f _ { e p i }$ is:
63
+
64
+ $$
65
+ \mathcal { L } _ { e p i . p r e d } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \left\| { f ( s _ { t } , a _ { t } ; \psi ( \tau _ { e p i } ) ) - s _ { t + 1 } } \right\| _ { 2 } ^ { 2 }
66
+ $$
67
+
68
+ During training, gradients are back-propagated to train both the prediction model $f _ { e p i }$ and the embedding network $\psi$ . The embedding network $\psi$ will be then directly used for the task-specific policy.
69
+
70
+ # 4.1.2 EPI REWARD FORMULATION
71
+
72
+ The reward for the EPI-policy is computed as the difference in performance between the simple prediction model $f$ and the EPI dependent prediction model $f _ { e p i }$ over the validation transition dataset. For a given training environment, the trajectory $\tau _ { e p i }$ generated by EPI-policy $\pi _ { e p i }$ is fed into $f _ { e p i }$ to calculate the prediction loss $\mathcal { L } _ { e p i - p r e d }$ . The simple prediction loss $\mathcal { L } _ { p r e d }$ is calculated using $f$ . This leads us to the prediction reward function:
73
+
74
+ $$
75
+ R _ { p } ( \pi _ { e p i } ) = \mathcal { L } _ { p r e d } - \mathbb { E } _ { \tau _ { e p i } \sim \pi _ { e p i } } [ \mathcal { L } _ { e p i . p r e d } ( \tau _ { e p i } ) ]
76
+ $$
77
+
78
+ Note that this formulation is different from the ”curiosity” reward proposed by Pathak et al. (2017) which encourages the policy to visit unexplored regions of the state space. Our reward function is to encourage the policy to extract information to improve prediction, rather than explore.
79
+
80
+ # 4.1.3 ADDITIONAL TRAINING DETAILS
81
+
82
+ Collecting transition dataset: To collect the transition dataset, we first train a task policy over a fixed environment. This policy is then executed with an $\epsilon$ -greedy strategy over the training environments to generate the transition data. To make this dataset more environment-dependent, we collect more data by setting different environments to the same state and executing the same action, following the Vine method (Schulman et al., 2015). Different environments would cause different observations in the next timestep, thus forcing the prediction model to use environment information given by the interaction. The dataset is kept fixed throughout the updates of the EPI-policy.
83
+
84
+ Regularization via Separation: An additional regularization can be added to the loss function of the EPI-conditioned prediction model $f _ { e p i }$ . We implement a separation loss back-propagated from the outputs of the embedding network $\dot { \psi } ( \tau _ { e p i } )$ . The idea is to additionally force the embeddings from different environments to be apart from each other when the interaction trajectories are not yet informative enough for prediction. To calculate this loss, we assume the knowledge of which trajectory is from the same environment. We then fit a multivariate Gaussian distribution over the embeddings in an environment $\mathcal { E } _ { i }$ and encourage the mean vector $\mu _ { i }$ of one environment to be at least a fixed distance away from every other environment $\mu _ { j \neq i }$ . In addition, we encourage the diagonal elements of the covariance matrix to be reasonably small.
85
+
86
+ Interleaved training: Since the EPI-policy and the prediction model depend on each other, they are optimized in an alternating fashion. The prediction model is first trained using a randomly initialized EPI-policy. Then the EPI-policy is optimized using TRPO for a few iterations with rewards from the learned prediction model. After that, the prediction model is updated again using a batch of trajectories generated from the EPI-policy. This cycle of alternating optimization is repeated until the EPI-policy converges. Details on the exact parameters used can be found in Appendix C.
87
+
88
+ # 4.2 LEARNING TASK-SPECIFIC POLICIES
89
+
90
+ After the EPI-policy and the embedding network are optimized, they are fixed and used for training the task-specific policy. For each episode, the agent first follows the EPI-policy to generate a trajectory $\tau _ { I }$ . The trajectory is then converted to an environment embedding $\psi ( \tau _ { I } )$ using the trained embedding network $\psi$ from the prediction model. After the interaction stage, the agent starts an episode to achieve its goal. This environment embedding $\psi ( \tau _ { I } )$ is now a part of the observation for each time step of the task-specific policy $\pi _ { t a s k } ( s _ { t } , \psi ( \tau _ { I } ) )$ . The task-specific policy is then optimized using TRPO. During testing, the agent follows the same procedure: it first executes the EPI-policy to get the environment embedding, followed by the task-specific policy to achieve the goal.
91
+
92
+ # 5 RESULTS
93
+
94
+ We now present experimental results to demonstrate how the EPI-policy helps the agent understand the environment, and allows the task-specific policy to generalize better to unseen test environments. Code is available at https:/ g hu com/Wenxuan-Zhou/EPI.
95
+
96
+ Environments: To evaluate the EPI-policy, we need appropriate simulation environments that are sensitive to environment parameters. For this, we use the Striker and the Hopper MuJoCo (Todorov et al., 2012) environments from OpenAI Gym (Brockman et al., 2016). Both of the agents are torque-controlled. For Striker, the goal is to strike an object on the table with a robot arm to make the object reach at a target position when it stops. The mass and damping of the object are varied (2 parameters). The goal of Hopper is to move as fast as possible in the forward direction without falling. Here, we vary the mass of four body parts, the damping of three joints and the friction coefficient of the ground (8 parameters). During training, each parameter is randomized uniformly among five values from its range at the beginning of an episode. During testing, the parameters are sampled from a set of unseen environment parameters. Details can be found in Appendix A and Appendix B.
97
+
98
+ Baselines: To show that the EPI-policy improves generalization, we compare our results with three categories of baselines. Training details for the baselines can be found in Appendix D. First, we show the importance of extra environment information:
99
+
100
+ • Simple Policy: a MLP (Multi-Layer Perceptron) policy $a _ { t } = \pi ( s _ { t } )$ trained only in one fixed environment of fixed parameters. This is how RL tasks are normally formulated. Invariant Policy (inv-pol): a MLP policy $\boldsymbol { a } _ { t } = \pi ( \boldsymbol { s } _ { t } )$ trained across the randomized environments similar to Rajeswaran et al. (2017). This policy will be more robust than Simple Policy since it encounters various environments during training. However, it is only able to output the same action from the same input in different environments. Oracle Policy: a MLP policy takes explicit environment parameters as additional input: $a _ { t } = \pi ( s _ { t } , \rho )$ , where $\rho$ is a vector of the environment parameters such as mass, friction and damping. This baseline has full information of the environment, thus this is meant to put our results in context with the best possible task-specific policy.
101
+
102
+ ![](images/e79e124b60d044cab8e51548fd8fd661c41ff4d077667c39bbbd1a8ba161936c.jpg)
103
+ Figure 2: Striker Environment: (a) Illustration of the environment (b) Training curves of the EPIpolicy comparing to baselines. The x-axis shows training iterations for TRPO. The y-axis shows the average reward of an episode.(c) Two-dimensional environment embedding of the EPI-policy after training. Embeddings from the same environment have the same color.
104
+
105
+ ![](images/b697477b9cb79ead3917daf560ff441c1c390142121c5691f6596dab62dd9294.jpg)
106
+ Figure 3: Hopper Environment: (a) Illustration of the environment (b) Training curves of the EPIpolicy comparing to baselines. The $\mathbf { X }$ -axis shows training iterations. The y-axis shows the average reward of an episode. (c) t-SNE of the 8-dimensional Environment embedding of the EPI-policy after training. To visualize, the color is given by (R,G,B) where R:average of mass, G:friction, B:average of damping.
107
+
108
+ In the second category of baselines, we want to demonstrate the necessity of learning a separate interaction policy:
109
+
110
+ • Random Interaction Policy: takes 10 timesteps of random interactions as additional input. It covers the possibility that random actions are good enough to capture environment nuances. • History Policy: takes 10 timesteps of most recent states and actions as additional input. (a) (b) (c)Mnih et al. (2015) adopts similar idea where it stacks 3 to 5 most recent frames as input. It covers the possibility that the trajectories from the task-specific policy are informative. • Recurrent Policy (lstm-pol): using a LSTM layer instead of MLP. This baseline is similar to Peng et al. (2017). LSTM is supposed to encode the past trajectories, so it serves the same idea as the History Policy but from a different approach. • System Identified Policy: This baseline is implemented based on Yu et al. (2017). It first trains an Oracle Policy. Then it performs explicit system identification that estimates environment parameters using a history of states and actions from the Oracle Policy. Finally, the estimated value are fed into the trained Oracle Policy during test time.
111
+
112
+ Finally, to show that the prediction reward is an appropriate proxy for the EPI-policy update, we implemented the following baseline that directly updates the EPI-policy:
113
+
114
+ • Direct Reward Policy: this baseline evaluates the interactions by directly taking the final reward of the following task-specific policy trajectory instead of the prediction reward.
115
+
116
+ Table 1: Comparison of testing results. Hopper is evaluated by the accumulated reward in one episode. Higher reward implies better performance. Striker is evaluated by the final distance between the object and the goal. A smaller distance implies a better performance.
117
+
118
+ <table><tr><td colspan="2">METHOD</td><td>Hopper:Reward (↑)</td><td>Striker: Final Distance (↓)</td></tr><tr><td rowspan="7">Baselines</td><td>Simple Policy</td><td>414± 313</td><td>1.660± 2.010</td></tr><tr><td>Invariant Policy</td><td>1025± 49</td><td>0.297± 0.068</td></tr><tr><td>Random Interaction Policy</td><td>1101± 27</td><td>0.410 ± 0.047</td></tr><tr><td>History Policy</td><td>1143 ± 156</td><td>0.259 ± 0.038</td></tr><tr><td>Recurrent Policy</td><td>917 ± 180</td><td>0.418 ± 0.051</td></tr><tr><td>System Id Policy</td><td>1033 ± 81</td><td>1.113 ± 0.106</td></tr><tr><td>Direct Reward</td><td>1057 ± 310</td><td>0.458 ± 0.004</td></tr><tr><td>Ours</td><td>EPI + Task-specific Policy</td><td>1303±173</td><td>0.162 ± 0.015</td></tr><tr><td rowspan="3">Ablations</td><td>No Vine Data</td><td>1214± 138</td><td>0.293± 0.018</td></tr><tr><td>No Regularization</td><td>1203 ± 397</td><td>0.308 ± 0.019</td></tr><tr><td>No Vine and No Regularization Oracle Policy</td><td>1237± 78</td><td>0.324 ± 0.057</td></tr><tr><td>Oracle</td><td></td><td>1474 ± 205</td><td>0.133± 0.034</td></tr></table>
119
+
120
+ # 5.1 PERFORMANCE OF TASK POLICY
121
+
122
+ The training curves for the EPI Policy and three representative baselines are presented in Fig. 2(b) and Fig. 3(b). The final performance of the best Oracle Policy across random seeds is plotted as a dotted line as an upper bound. Average curves are plotted for other policies with standard deviation across seeds. We observe that for both the Hopper and the Striker environments, the EPI Policy achieves better performance than the baselines and is comparable to the performance of the Oracle Policy. To further validate our results, we test our final learned task polices $\pi _ { t a s k }$ on heldout test environments and present these results in Table. 1. For Hopper, our method achieves an average episode reward of $1 3 0 3 \pm 1 7 3$ , at least $1 4 . 0 \%$ better than all the baselines. For Striker, our method achieves a final distance of $0 . 1 6 2 \pm 0 . 0 1 5 ( m )$ to the goal, at least $3 7 . 5 \%$ more accurate than all the baselines.
123
+
124
+ The baselines under-perform due to multiple reasons. Without any information of the environment, Simple Policy and Invariant Policy are not able to adapt to the different testing environments. The Random Interaction Policy, the History Policy and the Recurrent Policy, are all able to use environment information and are hence better than the invariant Policy. However, the EPI Policy can learn a lot more efficiently since it has a separate policy that explicitly probes the environment.
125
+
126
+ Even though a System Identified Policy has extra access to true environment parameters during training time, its performance will be limited when the number of changing parameters increases. To further verify this, we trained System Identified Policy for Hopper when only 2 variables are changing. It achieves a low mean squared error of $1 0 ^ { - 5 }$ for environment parameter estimation. However, when 8 parameters of the Hopper are changing, the mean squared error is around $1 0 ^ { - 2 }$ . Furthermore, this baseline still relies on the assumption that the task-specific policy will capture environment nuances just like the History Policy. This may limit the performance in Striker even when only 2 parameters are changing.
127
+
128
+ Finally, the Direct Reward Policy learns slowly and is hence worse than using EPI-policies. We attribute this to the added difficulty in credit assignment, i.e. a high reward for the task-specific policy is not necessarily caused by a good interaction, but the interaction policy would still receive the high reward.
129
+
130
+ # 5.2 ENVIRONMENT EMBEDDING
131
+
132
+ To understand what the EPI-policy learns, we visualize the embeddings given by interactions. We run interactions over the randomized environments and plot the output embedding in Fig. 2(c) for the Hopper and in Fig. 3(c) for the Striker. The embedding shows a correspondence to environment parameters with similar environments being closer to each other. This means that the agent learns to disentangle state transition differences induced by different environment parameters. This also demonstrates that it has learned to generate distinguishable trajectories in differing environments.
133
+
134
+ ![](images/84b82f134a4ce9d29b16e0d278118163c84dbd0c43cdb209fe29834e61b4f3d0.jpg)
135
+ Figure 4: Generalizability of the EPI-policy on Hopper. The grey area represents the training range while the rest represents testing environments.
136
+
137
+ # 5.3 ANALYSIS ON GENERALIZABILITY
138
+
139
+ To evaluate the generalizability of the EPI-policy, we further analyze the performance of Hopper when only damping, friction or mass is changing in Fig. 4. During the analysis of one parameter, the other parameters are set to default values. Grey area represents training range, while the rest of the values is only seen in testing range. From the figure we can see that our policy outperforms the invariant policy in almost every setting.
140
+
141
+ # 5.4 ABLATIVE EXPERIMENTS
142
+
143
+ Effect of Vine-Method for Initial Dataset: Vine method allows the transition prediction model to not overfit on samples based on their state. Training without the Vine method, leads to dropping performance by about 89 reward points on Hopper and $0 . 1 3 \mathrm { m }$ accuracy on Striker. This is still better than all baselines for Hopper. This shows that the vine method is important for certain environments like Striker, but it is not necessary.
144
+
145
+ Effect of Regularization: The only thing the additional regularization loss does is trying to cluster embeddings from the same environment. It does not serve for the EPI-policy updates as prediction loss does. However, even without separation loss, EPI is significantly better than the Invariant policy baseline by 178 points on Hopper. Similar to Vine method, separation loss is necessary for Striker but not for Hopper to beat baselines. In addition, we did experiments without either Vine-Method or Regularization. Hopper performs 66 points worse than following the full method, while still beating all the baselines. Striker performs $0 . 1 6 2 \mathrm { m }$ worse than the full method. Although it still beats 5 of the 7 baselines, this is a significant loss in performance and highlights the importance of using both the Vine data and regularization.
146
+
147
+ Experimental Setup: Our method probes the environment using the EPI-policy followed by solving the task itself. During task-solving, the agent starts from the same initial states as baselines (using reset). While in most cases, this might be a feasible assumption, initial environment probing might not be allowed and resets might not be available in some scenarios. Therefore, we also performed experiments when the EPI-policy probes the environment for the first 10 steps and then the taskpolicy takes over from where the EPI-policy left. This essentially leads to a larger range of initial states for the task-specific policy than all the baselines. Even in these strict conditions, EPI-policy is quite useful. For Hopper, we achieve a reward of $1 1 9 3 \pm 3 0 4$ , outperforming all the baselines as shown in Table. 1. Even in the case of Striker we perform on par with invariant policy and outperform all other baselines.
148
+
149
+ # 6 CONCLUSION
150
+
151
+ We have presented an approach to extract environment behavior information by probing it using an EPI-policy. To learn the EPI-policy we use a reward function which prefers trajectories that improve environment transition predictability. We show that such a reward objective enables the agent to perform meaningful interactions and extract implicit information (environment embedding) from the environment. Given unseen test environments on Hopper and Striker, we show that our embedding conditioned task policies improve generalization to unseen test environments.
152
+
153
+ # REFERENCES
154
+
155
+ B. Armstrong. On finding ’exciting’ trajectories for identification experiments involving systems with non-linear dynamics. In Proceedings. 1987 IEEE International Conference on Robotics and Automation, volume 4, pp. 1131–1139, March 1987. doi: 10.1109/ROBOT.1987.1087968.
156
+
157
+ Josh C Bongard and Hod Lipson. Nonlinear system identification using coevolution of models and tests. IEEE Transactions on Evolutionary Computation, 9(4):361–384, 2005.
158
+
159
+ Daniel A Braun, Ad Aertsen, Daniel M Wolpert, and Carsten Mehring. Learning optimal adaptation strategies in unpredictable motor tasks. Journal of Neuroscience, 29(20):6472–6478, 2009.
160
+
161
+ Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
162
+
163
+ Nuttapong Chentanez, Andrew G Barto, and Satinder P Singh. Intrinsically motivated reinforcement learning. In Advances in neural information processing systems, pp. 1281–1288, 2005.
164
+
165
+ Ignasi Clavera, Anusha Nagabandi, Ronald S Fearing, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Learning to adapt: Meta-learning for model-based control. arXiv preprint arXiv:1803.11347, 2018.
166
+
167
+ Misha Denil, Pulkit Agrawal, Tejas D Kulkarni, Tom Erez, Peter Battaglia, and Nando de Freitas. Learning to perform physics experiments via deep reinforcement learning. arXiv preprint arXiv:1611.01843, 2016.
168
+
169
+ Lixin Duan, Dong Xu, and Ivor Tsang. Learning with augmented features for heterogeneous domain adaptation. arXiv preprint arXiv:1206.4660, 2012.
170
+
171
+ Yan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In International Conference on Machine Learning, pp. 1329–1338, 2016a.
172
+
173
+ Yan Duan, John Schulman, Xi Chen, Peter L Bartlett, Ilya Sutskever, and Pieter Abbeel. Rl2 : Fast reinforcement learning via slow reinforcement learning. arXiv preprint arXiv:1611.02779, 2016b.
174
+
175
+ Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. arXiv preprint arXiv:1703.03400, 2017.
176
+
177
+ Michel Gevers et al. System identification without lennart ljung: what would have been different? Forever Ljung in System Identification, Studentlitteratur AB, Norrtalje, 2006.
178
+
179
+ Abhishek Gupta, Coline Devin, YuXuan Liu, Pieter Abbeel, and Sergey Levine. Learning invariant feature spaces to transfer skills with reinforcement learning. arXiv preprint arXiv:1703.02949, 2017.
180
+
181
+ Karol Hausman, Jost Tobias Springenberg, Ziyu Wang, Nicolas Heess, and Martin Riedmiller. Learning an embedding space for transferable robot skills. 2018.
182
+
183
+ Judy Hoffman, Sergio Guadarrama, Eric S Tzeng, Ronghang Hu, Jeff Donahue, Ross Girshick, Trevor Darrell, and Kate Saenko. Lsda: Large scale detection through adaptation. In Advances in Neural Information Processing Systems, pp. 3536–3544, 2014.
184
+
185
+ Stephen James, Andrew J Davison, and Edward Johns. Transferring end-to-end visuomotor control from simulation to real world for a multi-stage task. arXiv preprint arXiv:1707.02267, 2017.
186
+
187
+ Leslie Pack Kaelbling, Michael L Littman, and Andrew W Moore. Reinforcement learning: A survey. Journal of artificial intelligence research, 1996.
188
+
189
+ Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
190
+
191
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS 2012.
192
+
193
+ Brian Kulis, Kate Saenko, and Trevor Darrell. What you saw is not what you get: Domain adaptation using asymmetric kernel transforms. In Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on, pp. 1785–1792. IEEE, 2011.
194
+
195
+ Yanghao Li, Naiyan Wang, Jianping Shi, Jiaying Liu, and Xiaodi Hou. Revisiting batch normalization for practical domain adaptation. arXiv preprint arXiv:1603.04779, 2016.
196
+
197
+ Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
198
+
199
+ Mingsheng Long, Yue Cao, Jianmin Wang, and Michael I Jordan. Learning transferable features with deep adaptation networks. arXiv preprint arXiv:1502.02791, 2015.
200
+
201
+ Mario Milanese, John Norton, Hel´ ene Piet-Lahanier, and \` Eric Walter. ´ Bounding approaches to system identification. Springer Science & Business Media, 2013.
202
+
203
+ Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529, 2015.
204
+
205
+ Deepak Pathak, Pulkit Agrawal, Alexei A Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In International Conference on Machine Learning (ICML), volume 2017, 2017.
206
+
207
+ Deepak Pathak, Parsa Mahmoudieh, Guanghao Luo, Pulkit Agrawal, Dian Chen, Yide Shentu, Evan Shelhamer, Jitendra Malik, Alexei A Efros, and Trevor Darrell. Zero-shot visual imitation. arXiv preprint arXiv:1804.08606, 2018.
208
+
209
+ Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. arXiv preprint arXiv:1710.06537, 2017.
210
+
211
+ Xue Bin Peng, Pieter Abbeel, Sergey Levine, and Michiel van de Panne. Deepmimic: Example-guided deep reinforcement learning of physics-based character skills. arXiv preprint arXiv:1804.02717, 2018.
212
+
213
+ Lerrel Pinto, Marcin Andrychowicz, Peter Welinder, Wojciech Zaremba, and Pieter Abbeel. Asymmetric actor critic for image-based robot learning. arXiv preprint arXiv:1710.06542, 2017a.
214
+
215
+ Lerrel Pinto, James Davidson, Rahul Sukthankar, and Abhinav Gupta. Robust adversarial reinforcement learning. ICML, 2017b.
216
+
217
+ Aravind Rajeswaran, Sarvjeet Ghotra, Sergey Levine, and Balaraman Ravindran. Epopt: Learning robust neural network policies using model ensembles. ICLR, 2017.
218
+
219
+ Andrei A Rusu, Matej Vecerik, Thomas Rothorl, Nicolas Heess, Razvan Pascanu, and Raia Hadsell. ¨ Sim-to-real robot learning from pixels with progressive nets. arXiv preprint arXiv:1610.04286, 2016.
220
+
221
+ Fereshteh Sadeghi and Sergey Levine. (cad)2rl: Real single-image flight without a single real image. arXiv preprint arXiv:1611.04201, 2016.
222
+
223
+ Steindor Sæmundsson, Katja Hofmann, and Marc Peter Deisenroth. Meta reinforcement learning ´ with latent variable gaussian processes. arXiv preprint arXiv:1803.07551, 2018.
224
+
225
+ John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International Conference on Machine Learning, pp. 1889–1897, 2015.
226
+
227
+ David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. nature, 529(7587):484–489, 2016.
228
+
229
+ Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998.
230
+
231
+ Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, and Pieter Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. IROS, 2017.
232
+
233
+ 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.
234
+
235
+ Eric Tzeng, Judy Hoffman, Ning Zhang, Kate Saenko, and Trevor Darrell. Deep domain confusion: Maximizing for domain invariance. arXiv preprint arXiv:1412.3474, 2014.
236
+
237
+ Jane X Wang, Zeb Kurth-Nelson, Dhruva Tirumala, Hubert Soyer, Joel Z Leibo, Remi Munos, Charles Blundell, Dharshan Kumaran, and Matt Botvinick. Learning to reinforcement learn. arXiv preprint arXiv:1611.05763, 2016.
238
+
239
+ Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014.
240
+
241
+ Tianhe Yu, Chelsea Finn, Annie Xie, Sudeep Dasari, Tianhao Zhang, Pieter Abbeel, and Sergey Levine. One-shot imitation from observing humans via domain-adaptive meta-learning. arXiv preprint arXiv:1802.01557, 2018.
242
+
243
+ Wenhao Yu, Jie Tan, C Karen Liu, and Greg Turk. Preparing for the unknown: Learning a universal policy with online system identification. arXiv preprint arXiv:1702.02453, 2017.
244
+
245
+ # APPENDIX A ENVIRONMENT DESCRIPTIONS
246
+
247
+ We used Hopper and Striker environments from OpenAI Gym (Brockman et al., 2016). We will describe the details of the environments in this section.
248
+
249
+ Hopper: Hopper consists of four body parts and three joints. It has an 3-dimensional action space including motor commands for all the joints. The observation space is 11-dimensional, inluding joint angles, joint velocities, y,z positions of the torso and x,y,z velocities of the torso. The initial positions and velocities are randomized over $\pm 0 . 0 0 5$ . The reward function is $r ( s , a ) = v _ { x } + 1 - 0 . 0 0 1 \| a \| ^ { 2 }$ . The first term is to encourage the agent to move forward. The second term is a reward for being alive. The third term is to disencourage unnecessary movements. The criteria for being alive is that the height of the torso should be larger than 0.7 and the angle of the torso should be smaller than 0.2 with respect to the horizontal plane. It has a maximum length of 1000 timesteps for each episode. If it falls down and breaks the alive condition, the episode will end immediately.
250
+
251
+ Striker: Striker environment has a 7-dof robot arm and a table. There is a ball and a goal location marker on the table. The action space is 7-dimensional, including the motor commands for each joints on the robot. The 23-dimensional observation space consists of the joint angles, joint velocities, the end-effector (hand) position, the object position and the goal position. The initial conditions randomize the velocity of all the joints over $\pm 0 . 1$ . The reward is given by $r ( s , a ) = - 3 \| s _ { o b j e c t } - s _ { g o a l } \| - 0 . 1 \| a \| ^ { 2 } - 0 . 5 \| s _ { o b j e c t } - s _ { h a n d } \| ^ { 2 }$ . The first term is to encourage the object to reach the goal and stay at the goal. The second term is to disencourage unnecessary movements. The third term is to encourage the hand to hit the object. After the end-effector hits the object, $s h a n d$ will be replaced by the hitting location of the end-effector. It has a fixed length of 200 timesteps for each episode.
252
+
253
+ # APPENDIX B RANDOMIZED ENVIRONMENT PARAMETERS
254
+
255
+ Every environment parameter is randomized among 5 evenly spread discrete values. Striker has 2 varying parameters which create 25 possible environment. Hopper is varying 8 parameters, so there are $\mathrm { \bar { 5 } ^ { \bar { 8 } } }$ possible environments. In order to calculate separation loss for Hopper, we sample 100 environments from all $5 ^ { 8 }$ possible environment to train the EPI-policy. Otherwise it will not be able to cluster the embeddings from the same environment. Note that when training task policy with interactions, the environment is still randomized from all possible combinations.
256
+
257
+ During testing, all environment parameters are sampled from a set of discrete values that the policy has never seen in any stage of training. For example, if mass is sampled from $\{ 1 . 0 , 2 . 0 , 3 . 0 , 4 . 0 \bar { , } 5 . 0 \}$ , it is sampled from $\{ 1 . 5 , \bar { 2 } . 5 , 3 . 5 , 4 . 5 , 5 . 5 \}$ during testing.
258
+
259
+ # APPENDIX C TRAINING DETAILS
260
+
261
+ An EPI-trajectory contains 10 steps of observations and actions for both Hopper and Striker. The embedding network $\psi$ that inputs an EPI-trajectory $\tau _ { e p i }$ and outputs environment embedding $\varepsilon$ has two fully connected layers with 32 neurons each and followed by ReLU (Krizhevsky et al.). The prediction models $f _ { p r e d }$ and $f _ { e p i . p r e d }$ has four fully connected layers with 128 neurons each. The prediction model is optimized by Adam (Kingma & Ba, 2014). Both the EPI-policy $\pi _ { e p i }$ and the final goal policy $\pi _ { g }$ are optimized using TRPO (Schulman et al., 2015) with rllab implementation (Duan et al., 2016a). The prediction model is trained from scratch every 50 policy updates. Training from scratch is to avoid overfitting which will lead to unintended increasing reward for the EPI-policy. The EPI-policy is trained for $2 0 0 { \sim } 4 0 0$ iterations in total with a batch size of 10000 timesteps. The task policy will then use the trained EPI-policy and the embedding network to update for 1000 iterations with a batch size of 100000 timesteps.
262
+
263
+ # APPENDIX D TRAINING DETAILS OF BASELINES
264
+
265
+ All MLP baselines have the same network architecture as the task policy: two hidden layers with 32 hidden units each with ReLU activations. They are trained with the same batch size, optimizer, number of iterations and other hyperparameters as the task policy. We made sure that all training curves saturate before the final iteration.
266
+
267
+ • Simple Policy: a MLP policy trained only in one fixed environment of fixed parameters. All the other baselines are trained across the randomized environments.
268
+ • Invariant Policy (inv-pol): a default MLP policy $a _ { t } = \pi ( s _ { t } )$ .
269
+ • Oracle Policy: a MLP policy takes explicit environment parameters as additional input: $a _ { t } = \pi ( s _ { t } , \rho )$ , where $\rho$ is a vector of the environment parameters such as mass, friction and damping.
270
+ Random Interaction Policy: a MLP policy that takes 10 timesteps of random interactions as additional input. $a _ { t } = \pi ( s _ { t } , s _ { i 0 } , a _ { i 0 } , s _ { i 1 } , a _ { i 1 } . . . s _ { i 9 } , a _ { i 9 } )$ , where $s _ { i n }$ and $a _ { i n }$ are from a random policy.
271
+ • History Policy: a MLP policy that takes 10 timesteps of most recent states and actions as additional input. Mnih et al. (2015) adopts similar idea where it stacks 3 to 5 most recent frames as input. $a _ { t } = \pi ( s _ { t } , s _ { t - 1 } , a _ { t - 1 } , s _ { t - 2 } , a _ { t - 2 } . . . s _ { t - 1 0 } , a _ { t - 1 0 } )$ . When $t < 1 0$ , $s _ { t - j }$ are filled by zeros for $j > t$ .
272
+ • Recurrent Policy (lstm-pol): The Recurrent baseline is using an LSTM with 32 hidden units from rllab. $a _ { t } = \pi _ { L S T M } ( s _ { t } )$ .
273
+ • System Identified Policy: This baseline is implemented based on Yu et al. (2017). We first trains an Oracle Policy $a _ { t } ~ = ~ \pi ( s _ { t } , \rho )$ as we described above, which is called the Universal Policy (UP) in their paper. To train Online Sytem Identification (OSI) model, we collect trajectories on randomized environments following the Oracle Policy. With the trajectories, we trained the OSI model, which is a regression model that inputs a history of states and actions and outputs $\rho$ . The network architecture strictly follows the paper. Then the estimated $\rho$ are fed into the trained Oracle Policy $a _ { t } = \pi ( s _ { t } , \rho )$ to collect more trajectories for training OSI again. We followed the original paper and trained OSI for 5 times.
274
+ Direct Reward Policy: takes the first 10 steps of actions as additional input. In this way, these steps are taking the future reward of the whole trajectory. $\begin{array} { r l } { a _ { t } } & { { } = } \end{array}$ $\pi ( s _ { t } , s _ { 0 } , a _ { 0 } , s _ { 1 } , a _ { 1 } . . . s _ { 9 } , a _ { 9 } )$ . When $t < 1 0$ , $s _ { j }$ are filled by zeros for $j > t$ .
parse/train/ryl8-3AcFX/ryl8-3AcFX_content_list.json ADDED
@@ -0,0 +1,1503 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "ENVIRONMENT PROBING INTERACTION POLICIES ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 173,
8
+ 98,
9
+ 771,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Wenxuan Zhou1, Lerrel Pinto1, Abhinav Gupta1,2 1The Robotics Institute, Carnegie Mellon University 2Facebook AI Research ",
17
+ "bbox": [
18
+ 183,
19
+ 143,
20
+ 532,
21
+ 188
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 224,
32
+ 544,
33
+ 239
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "A key challenge in reinforcement learning (RL) is environment generalization: a policy trained to solve a task in one environment often fails to solve the same task in a slightly different test environment. A common approach to improve interenvironment transfer is to learn policies that are invariant to the distribution of testing environments. However, we argue that instead of being invariant, the policy should identify the specific nuances of an environment and exploit them to achieve better performance. In this work, we propose the “Environment-Probing” Interaction (EPI) policy, a policy that probes a new environment to extract an implicit understanding of that environment’s behavior. Once this environmentspecific information is obtained, it is used as an additional input to a task-specific policy that can now perform environment-conditioned actions to solve a task. To learn these EPI-policies, we present a reward function based on transition predictability. Specifically, a higher reward is given if the trajectory generated by the EPI-policy can be used to better predict transitions. We experimentally show that EPI-conditioned task-specific policies significantly outperform commonly used policy generalization methods on novel testing environments. ",
40
+ "bbox": [
41
+ 233,
42
+ 256,
43
+ 764,
44
+ 477
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 503,
55
+ 336,
56
+ 518
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Over the last few years deep reinforcement learning (RL) has shown tremendous progress. From beating the world’s best at Go (Silver et al., 2016) to generating agile and dexterous motor policies (Schulman et al., 2015; Lillicrap et al., 2015; Peng et al., 2018), deep RL has been used to solve a variety of sequential decision-making tasks. However, one key issue that deep RL faces is transfer: a policy trained in one environment is extremely dependent on the specific parameters of that environment (Rajeswaran et al., 2017) and fails to generalize to a new environment. Because of this, training agents that can generalize to novel environments has become an active area of research (Rajeswaran et al., 2017; Pinto et al., 2017b; Yu et al., 2017; Peng et al., 2017). ",
63
+ "bbox": [
64
+ 174,
65
+ 535,
66
+ 825,
67
+ 646
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The most common approach for environment generalization is to train a single policy over a variety of different environments (Rajeswaran et al., 2017; Peng et al., 2017), thus allowing the policy network to learn invariances to the underlying environmental factors. However, a monolithic policy that works on multiple environments often ends up being conservative since it is unable to exploit the dynamics of a given environment. We argue that instead of learning a policy that is invariant to environment dynamics we need a policy that adapts to its environment. A popular approach for this is to first perform explicit system identification of the environment, and then use the estimated parameters to generate an environment specific policy (Yu et al., 2017). However, there are three reasons why this approach might be infeasible: (a) it is based on the structural assumption that only a known set of parameters matter; (b) estimating those parameters from few observations is an extremely challenging problem; (c) these approaches require access to environment parameters during training time, which might be impractical. So is it possible to learn an environment dependent policy without estimating every environment parameter? ",
74
+ "bbox": [
75
+ 174,
76
+ 654,
77
+ 825,
78
+ 833
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "When humans are tasked to perform in a new environment, we do not explicitly know what parameters affect performance (Braun et al., 2009). Instead, we probe the environment to gain an intuitive understanding of its behavior. The purpose of these initial interactions is not to complete the task immediately, but to extract information about the environment. This process facilitates learning in that environment. Inspired by this, we present a framework in which the agent first performs “environment-probing” interactions that extract information from an environment, then leverages this information to achieve the goal with a task-specific policy. This setup entails three challenges: 1) How should an agent interact with an environment? 2) How can information be extracted from such interactions? 3) How can the extracted information be used to learn a better policy? ",
85
+ "bbox": [
86
+ 174,
87
+ 840,
88
+ 823,
89
+ 922
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 823,
100
+ 145
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "One way to interact is by executing random actions in the environment. However, this may not expose the nuances of an environment. Another way is to use samples from the task-specific policy to infer the environment (Yu et al., 2017). However, a good task-specific policy may not be optimal for understanding an environment. Instead, we separately optimize an “Environment-Probing” Interaction policy (EPI-policy) to extract environment information. To assign rewards to the EPIpolicy, our key insight is that the agent’s ability to predict transitions in an environment can be used as a metric of its understanding of that environment. If an “environment-probing” trajectory can help in predicting transitions, then it should be a good trajectory. More specifically, we use the “environment-probing” trajectory to generate an environment embedding vector. This compact embedding vector is passed to a prediction model that provides higher rewards to the trajectories that are useful in estimating environment-dependent transitions. ",
107
+ "bbox": [
108
+ 174,
109
+ 154,
110
+ 825,
111
+ 305
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Once we have learned the EPI-policy, we can use the generated environment embedding as an input to the task-specific policy. Since this task-specific policy is conditioned on the information from the environment, it can now produce actions dependent on the nuances of the specific environment. ",
118
+ "bbox": [
119
+ 174,
120
+ 313,
121
+ 825,
122
+ 354
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "We evaluate the effectiveness of using EPI on Hopper and Striker from OpenAI Gym (Brockman et al., 2016) with randomized mass, damping and friction. In both of these environments, the performance of our policies is better than several commonly used techniques and is even comparable to an oracle policy that has full access to the environment information. These results, along with a detailed ablation analysis, demonstrates that implicitly encoding the environment using EPI-policies improves task performance in unseen testing environments. ",
129
+ "bbox": [
130
+ 174,
131
+ 361,
132
+ 825,
133
+ 445
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 RELATED WORK ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 176,
143
+ 467,
144
+ 343,
145
+ 483
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Developing generalizable machine learning models is a longstanding challenge. One approach to transfer models across different input distributions is domain adaptation. Duan et al. (2012) along with several others (Hoffman et al., 2014; Kulis et al., 2011; Long et al., 2015) domain-adapt visual models. With the onset of deep learning, several works have investigated finetuning (retraining) pretrained networks in different target domains (Yosinski et al., 2014; Li et al., 2016; Tzeng et al., 2014). In reinforcement learning, Gupta et al. (2017) learns different encoders for different environments that share a common feature space to enable transfer. Improving the generalizability of models can also be formulated as a meta-learning problem. Finn et al. (2017) and Yu et al. (2018) finetune the models in new environments. We argue that agents should have the capacity to generalize without updating their policy. Duan et al. (2016b) and Wang et al. (2016) optimize the policy over multiple episodes and use RNN to implicitly model the underlying changing dynamics in the hidden states. Hausman et al. (2018) purposes to learn an embedding in a supervised manner by performing variational inference on task ids. These methods are based on model-free meta-RL, while Sæmundsson et al. (2018) and Clavera et al. (2018) investigate in model-based meta-RL. Sæmundsson et al. (2018) infers latent variables using Gaussian Process, while we use neural networks to create an embedding and experimented with more complex high-dimensional continuous control problems. Concurrent work Clavera et al. (2018) proposes to train a dynamics model that adapts online using either gradient based method (Finn et al., 2017) or recurrent based method (Duan et al., 2016b). The most important difference is that we have a separate policy to probe the environment instead of using the trajectories from the execution of the task. In our method, training prediction models is somewhat related to learning dynamics model in the model-based RL. However, the prediction model in our method does not to be very accurate since we are only taking the difference. ",
152
+ "bbox": [
153
+ 174,
154
+ 500,
155
+ 825,
156
+ 805
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Another stream of research that is relevant to our work is simulation-to-real transfer. Here the goal is to train a policy in a physics simulator and then transfer that policy to a real robot. The challenge here is to bridge the “Reality Gap” between the real world and the simulator. Rusu et al. (2016) attempt to do this via architectural novelty for visual domain adaptation. Sadeghi & Levine (2016); Tobin et al. (2017); Pinto et al. (2017a) and James et al. (2017) perform domain randomization on the inputs during training to learn a transferable policy. These methods target the mismatch of observation space. However, we target the mismatch in the dynamics of the environment. Peng et al. (2017) proposes domain randomization of the environment parameters and learning an LSTM policy to implicitly learn the environment. We compare our method to this approach and show that a separate process that extracts the nuances of an environment is vital for better generalization. Rajeswaran et al. (2017) and Pinto et al. (2017b) also target generalization to environments, however they do not incorporate environment information and hence are only able to learn a conservative policy. ",
163
+ "bbox": [
164
+ 174,
165
+ 813,
166
+ 823,
167
+ 924
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "",
174
+ "bbox": [
175
+ 174,
176
+ 103,
177
+ 823,
178
+ 159
179
+ ],
180
+ "page_idx": 2
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "The traditional approach of system identification (Milanese et al., 2013; Gevers et al., 2006; Bongard & Lipson, 2005; Armstrong, 1987) aims to explicitly estimate the varying environment parameters. Yu et al. (2017) propose the UP-OSI framework that can perform online system identification and takes the estimated environment parameters as additional input to the policy. This works well when the number of parameters to estimate is few. However, explicit identification of every environment parameter is a extremely challenging. Denil et al. (2016) trains an policy to gather information about physical properties through interactions in intuitive physics to answer questions, while we are trying do dealt with a more complex continuous control setting. ",
185
+ "bbox": [
186
+ 174,
187
+ 166,
188
+ 825,
189
+ 279
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "A recent approach by Pathak et al. (2017; 2018) uses errors in prediction models as an intrinsic reward (Chentanez et al., 2005) to improve exploration in RL. The strategy is to take actions to reach the states that maximize the error in the learned prediction model. In contrast, our method selects actions that reduce the prediction error on the heldout prediction dataset of task policy trajectories. ",
196
+ "bbox": [
197
+ 176,
198
+ 285,
199
+ 825,
200
+ 340
201
+ ],
202
+ "page_idx": 2
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "3 BACKGROUND: REINFORCEMENT LEARNING ",
207
+ "text_level": 1,
208
+ "bbox": [
209
+ 174,
210
+ 364,
211
+ 578,
212
+ 380
213
+ ],
214
+ "page_idx": 2
215
+ },
216
+ {
217
+ "type": "text",
218
+ "text": "We use the framework of reinforcement learning to learn the interaction policy and the final task target policy. This section contains brief preliminaries for reinforcement learning. Note that a more comprehensive exposition can be found in Kaelbling et al. (1996) and Sutton $\\&$ Barto (1998). ",
219
+ "bbox": [
220
+ 174,
221
+ 396,
222
+ 825,
223
+ 439
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "We model our problem as a continuous space Markov Decision Process represented as the tuple $( S , \\mathcal { A } , \\mathcal { P } , r , \\gamma , \\bar { \\mathbb { S } } )$ , where $s$ is a set of continuous states of the agent, $\\mathcal { A }$ is a set of continuous actions the agent can take at a given state, $\\mathcal { P } : \\mathcal { S } \\times \\mathcal { A } \\times \\mathcal { S } \\mathbb { R }$ is the transition probability function, $r : S \\times \\mathcal { A } \\mathbb { R }$ is the reward function, $\\gamma$ is the discount factor, and $\\mathbb { S }$ is the initial state distribution. ",
230
+ "bbox": [
231
+ 174,
232
+ 445,
233
+ 825,
234
+ 502
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "The goal for an agent is to maximize the expected cumulative discounted reward $\\scriptstyle \\sum _ { t = 0 } ^ { T - 1 } \\gamma ^ { t } r \\left( s _ { t } , a _ { t } \\right)$ by performing actions according to its policy $\\pi _ { \\theta } : { \\mathcal { S } } A$ . Here, denotes the parameters for the policy $\\pi$ which takes action $a _ { t }$ given state $s _ { t }$ at timestep $t$ . There are various techniques to optimize $\\pi _ { \\theta }$ . The one we use in this paper is a policy gradient approach, TRPO (Schulman et al., 2015). ",
241
+ "bbox": [
242
+ 174,
243
+ 510,
244
+ 825,
245
+ 568
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "4 APPROACH",
252
+ "text_level": 1,
253
+ "bbox": [
254
+ 174,
255
+ 590,
256
+ 297,
257
+ 606
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "Our objective is to learn a generalizable policy that is trained on a set of training environments, but can succeed across unseen testing environments. To this end, instead of a single policy, we have two separate policies: (a) an Environment-Probing Interaction policy (EPI-policy) that efficiently interacts with an environment to collect environment-specific information, and (b) a task-specific policy that uses this additional environment information (estimated via EPI-policy) to achieve high rewards for a given task. In this section, we present our methodology for learning these two policies. ",
264
+ "bbox": [
265
+ 173,
266
+ 622,
267
+ 825,
268
+ 707
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "4.1 LEARNING ENVIRONMENT-PROBING INTERACTIONS (EPI) ",
275
+ "text_level": 1,
276
+ "bbox": [
277
+ 174,
278
+ 719,
279
+ 620,
280
+ 734
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "To learn the EPI-policy, we introduce a reward formulation based on the prediction models (Fig. 1). The key insight here is that a good EPI-policy generates trajectories in an environment from which predicting transitions in that environment is easier. To quantify this notion of how easy or difficult it is to predict transitions, we use the error transition prediction models. ",
287
+ "bbox": [
288
+ 174,
289
+ 747,
290
+ 825,
291
+ 803
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "text",
297
+ "text": "4.1.1 TRANSITION PREDICTION MODELS ",
298
+ "text_level": 1,
299
+ "bbox": [
300
+ 174,
301
+ 814,
302
+ 473,
303
+ 829
304
+ ],
305
+ "page_idx": 2
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "To train our prediction models, a dataset of transition data $\\left( { { s _ { t } } , { a _ { t } } , { s _ { t + 1 } } } \\right)$ is collected in the training environments using a pre-trained task policy (Sec. 4.1.3). This data is split into a training set and a validation set. With the training set, we train two prediction models: (a) a vanilla prediction model $f ( s _ { t } , a _ { t } )$ that predicts the next state $s _ { t + 1 }$ given the current state $s _ { t }$ and action $a _ { t }$ , and (b) an EPI-conditioned prediction model $f _ { e p i } ( s _ { t } , a _ { t } ; \\psi ( \\tau _ { e p i } ) )$ , which takes the embedded EPI-trajectory $\\psi ( \\tau _ { e p i } )$ as an additional input. Here $\\tau _ { e p i }$ is a trajectory in the environment which contains a small fixed number of observations and actions generated by $\\pi _ { e p i }$ . $\\psi ( \\tau _ { e p i } )$ is the low dimensional embedding of the trajectory $\\tau _ { e p i }$ . We can now quantify the reward for $\\pi _ { e p i }$ as the difference between their performance. The intuition behind this is that if an interaction trajectory generated from $\\pi _ { e p i }$ is informative, $f _ { e p i }$ will be able to use it to give smaller prediction error than $f$ . ",
310
+ "bbox": [
311
+ 174,
312
+ 840,
313
+ 823,
314
+ 924
315
+ ],
316
+ "page_idx": 2
317
+ },
318
+ {
319
+ "type": "image",
320
+ "img_path": "images/454d3d5c07e46c47836db203be42a162039ca2b89ed604e4b93d3f54b9439450.jpg",
321
+ "image_caption": [
322
+ "Figure 1: We illustrate the architecture for learning the EPI-Policy. Trajectories $\\tau _ { e p i }$ generated from the EPI policy are passed through an embedding network to obtain the environment embeddings $\\psi$ . The difference in performance between a simple prediction model $f$ and the embedding-conditioned prediction model $f _ { e p i }$ is used to train the EPI-policy. "
323
+ ],
324
+ "image_footnote": [],
325
+ "bbox": [
326
+ 176,
327
+ 102,
328
+ 823,
329
+ 299
330
+ ],
331
+ "page_idx": 3
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "",
336
+ "bbox": [
337
+ 173,
338
+ 400,
339
+ 825,
340
+ 457
341
+ ],
342
+ "page_idx": 3
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "To train the prediction models, we use a mean squared error loss, i.e the loss for $f$ is: ",
347
+ "bbox": [
348
+ 174,
349
+ 463,
350
+ 728,
351
+ 478
352
+ ],
353
+ "page_idx": 3
354
+ },
355
+ {
356
+ "type": "equation",
357
+ "img_path": "images/35b7e6a24f0c5bed7b34598c68f8edc46e80acf25e85cb864608de6a62da3468.jpg",
358
+ "text": "$$\n\\mathcal { L } _ { p r e d } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\left. f ( s _ { t } , a _ { t } ) - s _ { t + 1 } \\right. _ { 2 } ^ { 2 }\n$$",
359
+ "text_format": "latex",
360
+ "bbox": [
361
+ 377,
362
+ 478,
363
+ 620,
364
+ 522
365
+ ],
366
+ "page_idx": 3
367
+ },
368
+ {
369
+ "type": "text",
370
+ "text": "Here $s _ { t + 1 }$ is the target next state and $\\left\\| \\cdot \\right\\| _ { 2 }$ is the L2 norm. Similarly, the loss for $f _ { e p i }$ is: ",
371
+ "bbox": [
372
+ 173,
373
+ 523,
374
+ 745,
375
+ 540
376
+ ],
377
+ "page_idx": 3
378
+ },
379
+ {
380
+ "type": "equation",
381
+ "img_path": "images/fe5bbe6d4f99b0bec4e85cfef403473e032c312e72e9fe563e65f89c8a69f52a.jpg",
382
+ "text": "$$\n\\mathcal { L } _ { e p i . p r e d } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\left\\| { f ( s _ { t } , a _ { t } ; \\psi ( \\tau _ { e p i } ) ) - s _ { t + 1 } } \\right\\| _ { 2 } ^ { 2 }\n$$",
383
+ "text_format": "latex",
384
+ "bbox": [
385
+ 338,
386
+ 542,
387
+ 658,
388
+ 585
389
+ ],
390
+ "page_idx": 3
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "During training, gradients are back-propagated to train both the prediction model $f _ { e p i }$ and the embedding network $\\psi$ . The embedding network $\\psi$ will be then directly used for the task-specific policy. ",
395
+ "bbox": [
396
+ 174,
397
+ 584,
398
+ 823,
399
+ 612
400
+ ],
401
+ "page_idx": 3
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "4.1.2 EPI REWARD FORMULATION ",
406
+ "text_level": 1,
407
+ "bbox": [
408
+ 174,
409
+ 621,
410
+ 429,
411
+ 636
412
+ ],
413
+ "page_idx": 3
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "The reward for the EPI-policy is computed as the difference in performance between the simple prediction model $f$ and the EPI dependent prediction model $f _ { e p i }$ over the validation transition dataset. For a given training environment, the trajectory $\\tau _ { e p i }$ generated by EPI-policy $\\pi _ { e p i }$ is fed into $f _ { e p i }$ to calculate the prediction loss $\\mathcal { L } _ { e p i - p r e d }$ . The simple prediction loss $\\mathcal { L } _ { p r e d }$ is calculated using $f$ . This leads us to the prediction reward function: ",
418
+ "bbox": [
419
+ 173,
420
+ 645,
421
+ 825,
422
+ 715
423
+ ],
424
+ "page_idx": 3
425
+ },
426
+ {
427
+ "type": "equation",
428
+ "img_path": "images/29572d56ea3108ce90d88a0899f0ef2fd83371a46ba7cd3f48925611325ef4b3.jpg",
429
+ "text": "$$\nR _ { p } ( \\pi _ { e p i } ) = \\mathcal { L } _ { p r e d } - \\mathbb { E } _ { \\tau _ { e p i } \\sim \\pi _ { e p i } } [ \\mathcal { L } _ { e p i . p r e d } ( \\tau _ { e p i } ) ]\n$$",
430
+ "text_format": "latex",
431
+ "bbox": [
432
+ 338,
433
+ 722,
434
+ 658,
435
+ 741
436
+ ],
437
+ "page_idx": 3
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "Note that this formulation is different from the ”curiosity” reward proposed by Pathak et al. (2017) which encourages the policy to visit unexplored regions of the state space. Our reward function is to encourage the policy to extract information to improve prediction, rather than explore. ",
442
+ "bbox": [
443
+ 174,
444
+ 750,
445
+ 825,
446
+ 792
447
+ ],
448
+ "page_idx": 3
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "4.1.3 ADDITIONAL TRAINING DETAILS ",
453
+ "text_level": 1,
454
+ "bbox": [
455
+ 174,
456
+ 801,
457
+ 460,
458
+ 816
459
+ ],
460
+ "page_idx": 3
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "Collecting transition dataset: To collect the transition dataset, we first train a task policy over a fixed environment. This policy is then executed with an $\\epsilon$ -greedy strategy over the training environments to generate the transition data. To make this dataset more environment-dependent, we collect more data by setting different environments to the same state and executing the same action, following the Vine method (Schulman et al., 2015). Different environments would cause different observations in the next timestep, thus forcing the prediction model to use environment information given by the interaction. The dataset is kept fixed throughout the updates of the EPI-policy. ",
465
+ "bbox": [
466
+ 173,
467
+ 825,
468
+ 825,
469
+ 924
470
+ ],
471
+ "page_idx": 3
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "Regularization via Separation: An additional regularization can be added to the loss function of the EPI-conditioned prediction model $f _ { e p i }$ . We implement a separation loss back-propagated from the outputs of the embedding network $\\dot { \\psi } ( \\tau _ { e p i } )$ . The idea is to additionally force the embeddings from different environments to be apart from each other when the interaction trajectories are not yet informative enough for prediction. To calculate this loss, we assume the knowledge of which trajectory is from the same environment. We then fit a multivariate Gaussian distribution over the embeddings in an environment $\\mathcal { E } _ { i }$ and encourage the mean vector $\\mu _ { i }$ of one environment to be at least a fixed distance away from every other environment $\\mu _ { j \\neq i }$ . In addition, we encourage the diagonal elements of the covariance matrix to be reasonably small. ",
476
+ "bbox": [
477
+ 173,
478
+ 103,
479
+ 825,
480
+ 229
481
+ ],
482
+ "page_idx": 4
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "Interleaved training: Since the EPI-policy and the prediction model depend on each other, they are optimized in an alternating fashion. The prediction model is first trained using a randomly initialized EPI-policy. Then the EPI-policy is optimized using TRPO for a few iterations with rewards from the learned prediction model. After that, the prediction model is updated again using a batch of trajectories generated from the EPI-policy. This cycle of alternating optimization is repeated until the EPI-policy converges. Details on the exact parameters used can be found in Appendix C. ",
487
+ "bbox": [
488
+ 174,
489
+ 236,
490
+ 825,
491
+ 319
492
+ ],
493
+ "page_idx": 4
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "4.2 LEARNING TASK-SPECIFIC POLICIES ",
498
+ "text_level": 1,
499
+ "bbox": [
500
+ 178,
501
+ 330,
502
+ 464,
503
+ 344
504
+ ],
505
+ "page_idx": 4
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "After the EPI-policy and the embedding network are optimized, they are fixed and used for training the task-specific policy. For each episode, the agent first follows the EPI-policy to generate a trajectory $\\tau _ { I }$ . The trajectory is then converted to an environment embedding $\\psi ( \\tau _ { I } )$ using the trained embedding network $\\psi$ from the prediction model. After the interaction stage, the agent starts an episode to achieve its goal. This environment embedding $\\psi ( \\tau _ { I } )$ is now a part of the observation for each time step of the task-specific policy $\\pi _ { t a s k } ( s _ { t } , \\psi ( \\tau _ { I } ) )$ . The task-specific policy is then optimized using TRPO. During testing, the agent follows the same procedure: it first executes the EPI-policy to get the environment embedding, followed by the task-specific policy to achieve the goal. ",
510
+ "bbox": [
511
+ 174,
512
+ 356,
513
+ 825,
514
+ 467
515
+ ],
516
+ "page_idx": 4
517
+ },
518
+ {
519
+ "type": "text",
520
+ "text": "5 RESULTS ",
521
+ "text_level": 1,
522
+ "bbox": [
523
+ 174,
524
+ 487,
525
+ 281,
526
+ 503
527
+ ],
528
+ "page_idx": 4
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "We now present experimental results to demonstrate how the EPI-policy helps the agent understand the environment, and allows the task-specific policy to generalize better to unseen test environments. Code is available at https:/ g hu com/Wenxuan-Zhou/EPI. ",
533
+ "bbox": [
534
+ 174,
535
+ 518,
536
+ 825,
537
+ 560
538
+ ],
539
+ "page_idx": 4
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "Environments: To evaluate the EPI-policy, we need appropriate simulation environments that are sensitive to environment parameters. For this, we use the Striker and the Hopper MuJoCo (Todorov et al., 2012) environments from OpenAI Gym (Brockman et al., 2016). Both of the agents are torque-controlled. For Striker, the goal is to strike an object on the table with a robot arm to make the object reach at a target position when it stops. The mass and damping of the object are varied (2 parameters). The goal of Hopper is to move as fast as possible in the forward direction without falling. Here, we vary the mass of four body parts, the damping of three joints and the friction coefficient of the ground (8 parameters). During training, each parameter is randomized uniformly among five values from its range at the beginning of an episode. During testing, the parameters are sampled from a set of unseen environment parameters. Details can be found in Appendix A and Appendix B. ",
544
+ "bbox": [
545
+ 173,
546
+ 568,
547
+ 825,
548
+ 719
549
+ ],
550
+ "page_idx": 4
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "Baselines: To show that the EPI-policy improves generalization, we compare our results with three categories of baselines. Training details for the baselines can be found in Appendix D. First, we show the importance of extra environment information: ",
555
+ "bbox": [
556
+ 174,
557
+ 728,
558
+ 823,
559
+ 770
560
+ ],
561
+ "page_idx": 4
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "• Simple Policy: a MLP (Multi-Layer Perceptron) policy $a _ { t } = \\pi ( s _ { t } )$ trained only in one fixed environment of fixed parameters. This is how RL tasks are normally formulated. Invariant Policy (inv-pol): a MLP policy $\\boldsymbol { a } _ { t } = \\pi ( \\boldsymbol { s } _ { t } )$ trained across the randomized environments similar to Rajeswaran et al. (2017). This policy will be more robust than Simple Policy since it encounters various environments during training. However, it is only able to output the same action from the same input in different environments. Oracle Policy: a MLP policy takes explicit environment parameters as additional input: $a _ { t } = \\pi ( s _ { t } , \\rho )$ , where $\\rho$ is a vector of the environment parameters such as mass, friction and damping. This baseline has full information of the environment, thus this is meant to put our results in context with the best possible task-specific policy. ",
566
+ "bbox": [
567
+ 215,
568
+ 773,
569
+ 825,
570
+ 924
571
+ ],
572
+ "page_idx": 4
573
+ },
574
+ {
575
+ "type": "image",
576
+ "img_path": "images/e79e124b60d044cab8e51548fd8fd661c41ff4d077667c39bbbd1a8ba161936c.jpg",
577
+ "image_caption": [
578
+ "Figure 2: Striker Environment: (a) Illustration of the environment (b) Training curves of the EPIpolicy comparing to baselines. The x-axis shows training iterations for TRPO. The y-axis shows the average reward of an episode.(c) Two-dimensional environment embedding of the EPI-policy after training. Embeddings from the same environment have the same color. "
579
+ ],
580
+ "image_footnote": [],
581
+ "bbox": [
582
+ 189,
583
+ 99,
584
+ 805,
585
+ 277
586
+ ],
587
+ "page_idx": 5
588
+ },
589
+ {
590
+ "type": "image",
591
+ "img_path": "images/b697477b9cb79ead3917daf560ff441c1c390142121c5691f6596dab62dd9294.jpg",
592
+ "image_caption": [
593
+ "Figure 3: Hopper Environment: (a) Illustration of the environment (b) Training curves of the EPIpolicy comparing to baselines. The $\\mathbf { X }$ -axis shows training iterations. The y-axis shows the average reward of an episode. (c) t-SNE of the 8-dimensional Environment embedding of the EPI-policy after training. To visualize, the color is given by (R,G,B) where R:average of mass, G:friction, B:average of damping. "
594
+ ],
595
+ "image_footnote": [],
596
+ "bbox": [
597
+ 189,
598
+ 338,
599
+ 805,
600
+ 512
601
+ ],
602
+ "page_idx": 5
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "In the second category of baselines, we want to demonstrate the necessity of learning a separate interaction policy: ",
607
+ "bbox": [
608
+ 174,
609
+ 606,
610
+ 823,
611
+ 633
612
+ ],
613
+ "page_idx": 5
614
+ },
615
+ {
616
+ "type": "text",
617
+ "text": "• Random Interaction Policy: takes 10 timesteps of random interactions as additional input. It covers the possibility that random actions are good enough to capture environment nuances. • History Policy: takes 10 timesteps of most recent states and actions as additional input. (a) (b) (c)Mnih et al. (2015) adopts similar idea where it stacks 3 to 5 most recent frames as input. It covers the possibility that the trajectories from the task-specific policy are informative. • Recurrent Policy (lstm-pol): using a LSTM layer instead of MLP. This baseline is similar to Peng et al. (2017). LSTM is supposed to encode the past trajectories, so it serves the same idea as the History Policy but from a different approach. • System Identified Policy: This baseline is implemented based on Yu et al. (2017). It first trains an Oracle Policy. Then it performs explicit system identification that estimates environment parameters using a history of states and actions from the Oracle Policy. Finally, the estimated value are fed into the trained Oracle Policy during test time. ",
618
+ "bbox": [
619
+ 215,
620
+ 642,
621
+ 825,
622
+ 844
623
+ ],
624
+ "page_idx": 5
625
+ },
626
+ {
627
+ "type": "text",
628
+ "text": "Finally, to show that the prediction reward is an appropriate proxy for the EPI-policy update, we implemented the following baseline that directly updates the EPI-policy: ",
629
+ "bbox": [
630
+ 173,
631
+ 853,
632
+ 823,
633
+ 882
634
+ ],
635
+ "page_idx": 5
636
+ },
637
+ {
638
+ "type": "text",
639
+ "text": "• Direct Reward Policy: this baseline evaluates the interactions by directly taking the final reward of the following task-specific policy trajectory instead of the prediction reward. ",
640
+ "bbox": [
641
+ 209,
642
+ 890,
643
+ 823,
644
+ 920
645
+ ],
646
+ "page_idx": 5
647
+ },
648
+ {
649
+ "type": "table",
650
+ "img_path": "images/0c2af4f20bff019aa7b4451d8c8c17d18c418539da9d6fdb1731801104ee13f4.jpg",
651
+ "table_caption": [
652
+ "Table 1: Comparison of testing results. Hopper is evaluated by the accumulated reward in one episode. Higher reward implies better performance. Striker is evaluated by the final distance between the object and the goal. A smaller distance implies a better performance. "
653
+ ],
654
+ "table_footnote": [],
655
+ "table_body": "<table><tr><td colspan=\"2\">METHOD</td><td>Hopper:Reward (↑)</td><td>Striker: Final Distance (↓)</td></tr><tr><td rowspan=\"7\">Baselines</td><td>Simple Policy</td><td>414± 313</td><td>1.660± 2.010</td></tr><tr><td>Invariant Policy</td><td>1025± 49</td><td>0.297± 0.068</td></tr><tr><td>Random Interaction Policy</td><td>1101± 27</td><td>0.410 ± 0.047</td></tr><tr><td>History Policy</td><td>1143 ± 156</td><td>0.259 ± 0.038</td></tr><tr><td>Recurrent Policy</td><td>917 ± 180</td><td>0.418 ± 0.051</td></tr><tr><td>System Id Policy</td><td>1033 ± 81</td><td>1.113 ± 0.106</td></tr><tr><td>Direct Reward</td><td>1057 ± 310</td><td>0.458 ± 0.004</td></tr><tr><td>Ours</td><td>EPI + Task-specific Policy</td><td>1303±173</td><td>0.162 ± 0.015</td></tr><tr><td rowspan=\"3\">Ablations</td><td>No Vine Data</td><td>1214± 138</td><td>0.293± 0.018</td></tr><tr><td>No Regularization</td><td>1203 ± 397</td><td>0.308 ± 0.019</td></tr><tr><td>No Vine and No Regularization Oracle Policy</td><td>1237± 78</td><td>0.324 ± 0.057</td></tr><tr><td>Oracle</td><td></td><td>1474 ± 205</td><td>0.133± 0.034</td></tr></table>",
656
+ "bbox": [
657
+ 173,
658
+ 166,
659
+ 849,
660
+ 351
661
+ ],
662
+ "page_idx": 6
663
+ },
664
+ {
665
+ "type": "text",
666
+ "text": "5.1 PERFORMANCE OF TASK POLICY ",
667
+ "text_level": 1,
668
+ "bbox": [
669
+ 176,
670
+ 371,
671
+ 442,
672
+ 386
673
+ ],
674
+ "page_idx": 6
675
+ },
676
+ {
677
+ "type": "text",
678
+ "text": "The training curves for the EPI Policy and three representative baselines are presented in Fig. 2(b) and Fig. 3(b). The final performance of the best Oracle Policy across random seeds is plotted as a dotted line as an upper bound. Average curves are plotted for other policies with standard deviation across seeds. We observe that for both the Hopper and the Striker environments, the EPI Policy achieves better performance than the baselines and is comparable to the performance of the Oracle Policy. To further validate our results, we test our final learned task polices $\\pi _ { t a s k }$ on heldout test environments and present these results in Table. 1. For Hopper, our method achieves an average episode reward of $1 3 0 3 \\pm 1 7 3$ , at least $1 4 . 0 \\%$ better than all the baselines. For Striker, our method achieves a final distance of $0 . 1 6 2 \\pm 0 . 0 1 5 ( m )$ to the goal, at least $3 7 . 5 \\%$ more accurate than all the baselines. ",
679
+ "bbox": [
680
+ 174,
681
+ 398,
682
+ 825,
683
+ 537
684
+ ],
685
+ "page_idx": 6
686
+ },
687
+ {
688
+ "type": "text",
689
+ "text": "The baselines under-perform due to multiple reasons. Without any information of the environment, Simple Policy and Invariant Policy are not able to adapt to the different testing environments. The Random Interaction Policy, the History Policy and the Recurrent Policy, are all able to use environment information and are hence better than the invariant Policy. However, the EPI Policy can learn a lot more efficiently since it has a separate policy that explicitly probes the environment. ",
690
+ "bbox": [
691
+ 174,
692
+ 545,
693
+ 825,
694
+ 614
695
+ ],
696
+ "page_idx": 6
697
+ },
698
+ {
699
+ "type": "text",
700
+ "text": "Even though a System Identified Policy has extra access to true environment parameters during training time, its performance will be limited when the number of changing parameters increases. To further verify this, we trained System Identified Policy for Hopper when only 2 variables are changing. It achieves a low mean squared error of $1 0 ^ { - 5 }$ for environment parameter estimation. However, when 8 parameters of the Hopper are changing, the mean squared error is around $1 0 ^ { - 2 }$ . Furthermore, this baseline still relies on the assumption that the task-specific policy will capture environment nuances just like the History Policy. This may limit the performance in Striker even when only 2 parameters are changing. ",
701
+ "bbox": [
702
+ 174,
703
+ 621,
704
+ 825,
705
+ 733
706
+ ],
707
+ "page_idx": 6
708
+ },
709
+ {
710
+ "type": "text",
711
+ "text": "Finally, the Direct Reward Policy learns slowly and is hence worse than using EPI-policies. We attribute this to the added difficulty in credit assignment, i.e. a high reward for the task-specific policy is not necessarily caused by a good interaction, but the interaction policy would still receive the high reward. ",
712
+ "bbox": [
713
+ 174,
714
+ 739,
715
+ 825,
716
+ 795
717
+ ],
718
+ "page_idx": 6
719
+ },
720
+ {
721
+ "type": "text",
722
+ "text": "5.2 ENVIRONMENT EMBEDDING ",
723
+ "text_level": 1,
724
+ "bbox": [
725
+ 176,
726
+ 811,
727
+ 411,
728
+ 827
729
+ ],
730
+ "page_idx": 6
731
+ },
732
+ {
733
+ "type": "text",
734
+ "text": "To understand what the EPI-policy learns, we visualize the embeddings given by interactions. We run interactions over the randomized environments and plot the output embedding in Fig. 2(c) for the Hopper and in Fig. 3(c) for the Striker. The embedding shows a correspondence to environment parameters with similar environments being closer to each other. This means that the agent learns to disentangle state transition differences induced by different environment parameters. This also demonstrates that it has learned to generate distinguishable trajectories in differing environments. ",
735
+ "bbox": [
736
+ 174,
737
+ 839,
738
+ 825,
739
+ 924
740
+ ],
741
+ "page_idx": 6
742
+ },
743
+ {
744
+ "type": "image",
745
+ "img_path": "images/84b82f134a4ce9d29b16e0d278118163c84dbd0c43cdb209fe29834e61b4f3d0.jpg",
746
+ "image_caption": [
747
+ "Figure 4: Generalizability of the EPI-policy on Hopper. The grey area represents the training range while the rest represents testing environments. "
748
+ ],
749
+ "image_footnote": [],
750
+ "bbox": [
751
+ 214,
752
+ 107,
753
+ 782,
754
+ 237
755
+ ],
756
+ "page_idx": 7
757
+ },
758
+ {
759
+ "type": "text",
760
+ "text": "5.3 ANALYSIS ON GENERALIZABILITY ",
761
+ "text_level": 1,
762
+ "bbox": [
763
+ 176,
764
+ 296,
765
+ 455,
766
+ 310
767
+ ],
768
+ "page_idx": 7
769
+ },
770
+ {
771
+ "type": "text",
772
+ "text": "To evaluate the generalizability of the EPI-policy, we further analyze the performance of Hopper when only damping, friction or mass is changing in Fig. 4. During the analysis of one parameter, the other parameters are set to default values. Grey area represents training range, while the rest of the values is only seen in testing range. From the figure we can see that our policy outperforms the invariant policy in almost every setting. ",
773
+ "bbox": [
774
+ 174,
775
+ 321,
776
+ 825,
777
+ 392
778
+ ],
779
+ "page_idx": 7
780
+ },
781
+ {
782
+ "type": "text",
783
+ "text": "5.4 ABLATIVE EXPERIMENTS ",
784
+ "text_level": 1,
785
+ "bbox": [
786
+ 176,
787
+ 411,
788
+ 392,
789
+ 425
790
+ ],
791
+ "page_idx": 7
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "Effect of Vine-Method for Initial Dataset: Vine method allows the transition prediction model to not overfit on samples based on their state. Training without the Vine method, leads to dropping performance by about 89 reward points on Hopper and $0 . 1 3 \\mathrm { m }$ accuracy on Striker. This is still better than all baselines for Hopper. This shows that the vine method is important for certain environments like Striker, but it is not necessary. ",
796
+ "bbox": [
797
+ 174,
798
+ 438,
799
+ 825,
800
+ 507
801
+ ],
802
+ "page_idx": 7
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "Effect of Regularization: The only thing the additional regularization loss does is trying to cluster embeddings from the same environment. It does not serve for the EPI-policy updates as prediction loss does. However, even without separation loss, EPI is significantly better than the Invariant policy baseline by 178 points on Hopper. Similar to Vine method, separation loss is necessary for Striker but not for Hopper to beat baselines. In addition, we did experiments without either Vine-Method or Regularization. Hopper performs 66 points worse than following the full method, while still beating all the baselines. Striker performs $0 . 1 6 2 \\mathrm { m }$ worse than the full method. Although it still beats 5 of the 7 baselines, this is a significant loss in performance and highlights the importance of using both the Vine data and regularization. ",
807
+ "bbox": [
808
+ 173,
809
+ 513,
810
+ 825,
811
+ 640
812
+ ],
813
+ "page_idx": 7
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Experimental Setup: Our method probes the environment using the EPI-policy followed by solving the task itself. During task-solving, the agent starts from the same initial states as baselines (using reset). While in most cases, this might be a feasible assumption, initial environment probing might not be allowed and resets might not be available in some scenarios. Therefore, we also performed experiments when the EPI-policy probes the environment for the first 10 steps and then the taskpolicy takes over from where the EPI-policy left. This essentially leads to a larger range of initial states for the task-specific policy than all the baselines. Even in these strict conditions, EPI-policy is quite useful. For Hopper, we achieve a reward of $1 1 9 3 \\pm 3 0 4$ , outperforming all the baselines as shown in Table. 1. Even in the case of Striker we perform on par with invariant policy and outperform all other baselines. ",
818
+ "bbox": [
819
+ 173,
820
+ 646,
821
+ 825,
822
+ 785
823
+ ],
824
+ "page_idx": 7
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "6 CONCLUSION ",
829
+ "text_level": 1,
830
+ "bbox": [
831
+ 176,
832
+ 808,
833
+ 318,
834
+ 823
835
+ ],
836
+ "page_idx": 7
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "We have presented an approach to extract environment behavior information by probing it using an EPI-policy. To learn the EPI-policy we use a reward function which prefers trajectories that improve environment transition predictability. We show that such a reward objective enables the agent to perform meaningful interactions and extract implicit information (environment embedding) from the environment. Given unseen test environments on Hopper and Striker, we show that our embedding conditioned task policies improve generalization to unseen test environments. ",
841
+ "bbox": [
842
+ 174,
843
+ 840,
844
+ 825,
845
+ 924
846
+ ],
847
+ "page_idx": 7
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "REFERENCES ",
852
+ "text_level": 1,
853
+ "bbox": [
854
+ 174,
855
+ 103,
856
+ 285,
857
+ 117
858
+ ],
859
+ "page_idx": 8
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "B. Armstrong. On finding ’exciting’ trajectories for identification experiments involving systems with non-linear dynamics. In Proceedings. 1987 IEEE International Conference on Robotics and Automation, volume 4, pp. 1131–1139, March 1987. doi: 10.1109/ROBOT.1987.1087968. ",
864
+ "bbox": [
865
+ 176,
866
+ 126,
867
+ 821,
868
+ 169
869
+ ],
870
+ "page_idx": 8
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "Josh C Bongard and Hod Lipson. Nonlinear system identification using coevolution of models and tests. IEEE Transactions on Evolutionary Computation, 9(4):361–384, 2005. ",
875
+ "bbox": [
876
+ 171,
877
+ 176,
878
+ 821,
879
+ 205
880
+ ],
881
+ "page_idx": 8
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "Daniel A Braun, Ad Aertsen, Daniel M Wolpert, and Carsten Mehring. Learning optimal adaptation strategies in unpredictable motor tasks. Journal of Neuroscience, 29(20):6472–6478, 2009. ",
886
+ "bbox": [
887
+ 173,
888
+ 213,
889
+ 823,
890
+ 243
891
+ ],
892
+ "page_idx": 8
893
+ },
894
+ {
895
+ "type": "text",
896
+ "text": "Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016. ",
897
+ "bbox": [
898
+ 174,
899
+ 251,
900
+ 823,
901
+ 281
902
+ ],
903
+ "page_idx": 8
904
+ },
905
+ {
906
+ "type": "text",
907
+ "text": "Nuttapong Chentanez, Andrew G Barto, and Satinder P Singh. Intrinsically motivated reinforcement learning. In Advances in neural information processing systems, pp. 1281–1288, 2005. ",
908
+ "bbox": [
909
+ 173,
910
+ 287,
911
+ 823,
912
+ 319
913
+ ],
914
+ "page_idx": 8
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "Ignasi Clavera, Anusha Nagabandi, Ronald S Fearing, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Learning to adapt: Meta-learning for model-based control. arXiv preprint arXiv:1803.11347, 2018. ",
919
+ "bbox": [
920
+ 173,
921
+ 325,
922
+ 823,
923
+ 369
924
+ ],
925
+ "page_idx": 8
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "Misha Denil, Pulkit Agrawal, Tejas D Kulkarni, Tom Erez, Peter Battaglia, and Nando de Freitas. Learning to perform physics experiments via deep reinforcement learning. arXiv preprint arXiv:1611.01843, 2016. ",
930
+ "bbox": [
931
+ 173,
932
+ 377,
933
+ 823,
934
+ 420
935
+ ],
936
+ "page_idx": 8
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "Lixin Duan, Dong Xu, and Ivor Tsang. Learning with augmented features for heterogeneous domain adaptation. arXiv preprint arXiv:1206.4660, 2012. ",
941
+ "bbox": [
942
+ 171,
943
+ 429,
944
+ 823,
945
+ 458
946
+ ],
947
+ "page_idx": 8
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "Yan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In International Conference on Machine Learning, pp. 1329–1338, 2016a. ",
952
+ "bbox": [
953
+ 174,
954
+ 465,
955
+ 823,
956
+ 508
957
+ ],
958
+ "page_idx": 8
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "Yan Duan, John Schulman, Xi Chen, Peter L Bartlett, Ilya Sutskever, and Pieter Abbeel. Rl2 : Fast reinforcement learning via slow reinforcement learning. arXiv preprint arXiv:1611.02779, 2016b. ",
963
+ "bbox": [
964
+ 176,
965
+ 517,
966
+ 825,
967
+ 559
968
+ ],
969
+ "page_idx": 8
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. arXiv preprint arXiv:1703.03400, 2017. ",
974
+ "bbox": [
975
+ 169,
976
+ 568,
977
+ 823,
978
+ 598
979
+ ],
980
+ "page_idx": 8
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "Michel Gevers et al. System identification without lennart ljung: what would have been different? Forever Ljung in System Identification, Studentlitteratur AB, Norrtalje, 2006. ",
985
+ "bbox": [
986
+ 171,
987
+ 606,
988
+ 823,
989
+ 635
990
+ ],
991
+ "page_idx": 8
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "Abhishek Gupta, Coline Devin, YuXuan Liu, Pieter Abbeel, and Sergey Levine. Learning invariant feature spaces to transfer skills with reinforcement learning. arXiv preprint arXiv:1703.02949, 2017. ",
996
+ "bbox": [
997
+ 174,
998
+ 642,
999
+ 823,
1000
+ 685
1001
+ ],
1002
+ "page_idx": 8
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "Karol Hausman, Jost Tobias Springenberg, Ziyu Wang, Nicolas Heess, and Martin Riedmiller. Learning an embedding space for transferable robot skills. 2018. ",
1007
+ "bbox": [
1008
+ 174,
1009
+ 694,
1010
+ 821,
1011
+ 723
1012
+ ],
1013
+ "page_idx": 8
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "Judy Hoffman, Sergio Guadarrama, Eric S Tzeng, Ronghang Hu, Jeff Donahue, Ross Girshick, Trevor Darrell, and Kate Saenko. Lsda: Large scale detection through adaptation. In Advances in Neural Information Processing Systems, pp. 3536–3544, 2014. ",
1018
+ "bbox": [
1019
+ 178,
1020
+ 731,
1021
+ 821,
1022
+ 775
1023
+ ],
1024
+ "page_idx": 8
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "Stephen James, Andrew J Davison, and Edward Johns. Transferring end-to-end visuomotor control from simulation to real world for a multi-stage task. arXiv preprint arXiv:1707.02267, 2017. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 782,
1032
+ 821,
1033
+ 813
1034
+ ],
1035
+ "page_idx": 8
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Leslie Pack Kaelbling, Michael L Littman, and Andrew W Moore. Reinforcement learning: A survey. Journal of artificial intelligence research, 1996. ",
1040
+ "bbox": [
1041
+ 173,
1042
+ 820,
1043
+ 821,
1044
+ 849
1045
+ ],
1046
+ "page_idx": 8
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
1051
+ "bbox": [
1052
+ 174,
1053
+ 858,
1054
+ 821,
1055
+ 887
1056
+ ],
1057
+ "page_idx": 8
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In NIPS 2012. ",
1062
+ "bbox": [
1063
+ 174,
1064
+ 895,
1065
+ 820,
1066
+ 922
1067
+ ],
1068
+ "page_idx": 8
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "Brian Kulis, Kate Saenko, and Trevor Darrell. What you saw is not what you get: Domain adaptation using asymmetric kernel transforms. In Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on, pp. 1785–1792. IEEE, 2011. ",
1073
+ "bbox": [
1074
+ 176,
1075
+ 103,
1076
+ 821,
1077
+ 146
1078
+ ],
1079
+ "page_idx": 9
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "Yanghao Li, Naiyan Wang, Jianping Shi, Jiaying Liu, and Xiaodi Hou. Revisiting batch normalization for practical domain adaptation. arXiv preprint arXiv:1603.04779, 2016. ",
1084
+ "bbox": [
1085
+ 171,
1086
+ 155,
1087
+ 823,
1088
+ 184
1089
+ ],
1090
+ "page_idx": 9
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. ",
1095
+ "bbox": [
1096
+ 174,
1097
+ 193,
1098
+ 821,
1099
+ 236
1100
+ ],
1101
+ "page_idx": 9
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "Mingsheng Long, Yue Cao, Jianmin Wang, and Michael I Jordan. Learning transferable features with deep adaptation networks. arXiv preprint arXiv:1502.02791, 2015. ",
1106
+ "bbox": [
1107
+ 173,
1108
+ 243,
1109
+ 823,
1110
+ 273
1111
+ ],
1112
+ "page_idx": 9
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "Mario Milanese, John Norton, Hel´ ene Piet-Lahanier, and \\` Eric Walter. ´ Bounding approaches to system identification. Springer Science & Business Media, 2013. ",
1117
+ "bbox": [
1118
+ 173,
1119
+ 282,
1120
+ 821,
1121
+ 313
1122
+ ],
1123
+ "page_idx": 9
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529, 2015. ",
1128
+ "bbox": [
1129
+ 176,
1130
+ 320,
1131
+ 823,
1132
+ 364
1133
+ ],
1134
+ "page_idx": 9
1135
+ },
1136
+ {
1137
+ "type": "text",
1138
+ "text": "Deepak Pathak, Pulkit Agrawal, Alexei A Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In International Conference on Machine Learning (ICML), volume 2017, 2017. ",
1139
+ "bbox": [
1140
+ 173,
1141
+ 372,
1142
+ 823,
1143
+ 415
1144
+ ],
1145
+ "page_idx": 9
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "Deepak Pathak, Parsa Mahmoudieh, Guanghao Luo, Pulkit Agrawal, Dian Chen, Yide Shentu, Evan Shelhamer, Jitendra Malik, Alexei A Efros, and Trevor Darrell. Zero-shot visual imitation. arXiv preprint arXiv:1804.08606, 2018. ",
1150
+ "bbox": [
1151
+ 174,
1152
+ 424,
1153
+ 821,
1154
+ 467
1155
+ ],
1156
+ "page_idx": 9
1157
+ },
1158
+ {
1159
+ "type": "text",
1160
+ "text": "Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. arXiv preprint arXiv:1710.06537, 2017. ",
1161
+ "bbox": [
1162
+ 173,
1163
+ 476,
1164
+ 823,
1165
+ 505
1166
+ ],
1167
+ "page_idx": 9
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "text": "Xue Bin Peng, Pieter Abbeel, Sergey Levine, and Michiel van de Panne. Deepmimic: Example-guided deep reinforcement learning of physics-based character skills. arXiv preprint arXiv:1804.02717, 2018. ",
1172
+ "bbox": [
1173
+ 174,
1174
+ 513,
1175
+ 821,
1176
+ 556
1177
+ ],
1178
+ "page_idx": 9
1179
+ },
1180
+ {
1181
+ "type": "text",
1182
+ "text": "Lerrel Pinto, Marcin Andrychowicz, Peter Welinder, Wojciech Zaremba, and Pieter Abbeel. Asymmetric actor critic for image-based robot learning. arXiv preprint arXiv:1710.06542, 2017a. ",
1183
+ "bbox": [
1184
+ 171,
1185
+ 565,
1186
+ 823,
1187
+ 594
1188
+ ],
1189
+ "page_idx": 9
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "Lerrel Pinto, James Davidson, Rahul Sukthankar, and Abhinav Gupta. Robust adversarial reinforcement learning. ICML, 2017b. ",
1194
+ "bbox": [
1195
+ 171,
1196
+ 603,
1197
+ 821,
1198
+ 632
1199
+ ],
1200
+ "page_idx": 9
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "Aravind Rajeswaran, Sarvjeet Ghotra, Sergey Levine, and Balaraman Ravindran. Epopt: Learning robust neural network policies using model ensembles. ICLR, 2017. ",
1205
+ "bbox": [
1206
+ 171,
1207
+ 640,
1208
+ 823,
1209
+ 670
1210
+ ],
1211
+ "page_idx": 9
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "Andrei A Rusu, Matej Vecerik, Thomas Rothorl, Nicolas Heess, Razvan Pascanu, and Raia Hadsell. ¨ Sim-to-real robot learning from pixels with progressive nets. arXiv preprint arXiv:1610.04286, 2016. ",
1216
+ "bbox": [
1217
+ 173,
1218
+ 678,
1219
+ 823,
1220
+ 722
1221
+ ],
1222
+ "page_idx": 9
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "Fereshteh Sadeghi and Sergey Levine. (cad)2rl: Real single-image flight without a single real image. arXiv preprint arXiv:1611.04201, 2016. ",
1227
+ "bbox": [
1228
+ 169,
1229
+ 729,
1230
+ 823,
1231
+ 760
1232
+ ],
1233
+ "page_idx": 9
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "Steindor Sæmundsson, Katja Hofmann, and Marc Peter Deisenroth. Meta reinforcement learning ´ with latent variable gaussian processes. arXiv preprint arXiv:1803.07551, 2018. ",
1238
+ "bbox": [
1239
+ 171,
1240
+ 767,
1241
+ 823,
1242
+ 797
1243
+ ],
1244
+ "page_idx": 9
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International Conference on Machine Learning, pp. 1889–1897, 2015. ",
1249
+ "bbox": [
1250
+ 173,
1251
+ 805,
1252
+ 823,
1253
+ 835
1254
+ ],
1255
+ "page_idx": 9
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. nature, 529(7587):484–489, 2016. ",
1260
+ "bbox": [
1261
+ 176,
1262
+ 843,
1263
+ 821,
1264
+ 886
1265
+ ],
1266
+ "page_idx": 9
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "text": "Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998. ",
1271
+ "bbox": [
1272
+ 173,
1273
+ 895,
1274
+ 820,
1275
+ 924
1276
+ ],
1277
+ "page_idx": 9
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "text": "Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, and Pieter Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. IROS, 2017. ",
1282
+ "bbox": [
1283
+ 174,
1284
+ 103,
1285
+ 821,
1286
+ 145
1287
+ ],
1288
+ "page_idx": 10
1289
+ },
1290
+ {
1291
+ "type": "text",
1292
+ "text": "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. ",
1293
+ "bbox": [
1294
+ 173,
1295
+ 155,
1296
+ 821,
1297
+ 196
1298
+ ],
1299
+ "page_idx": 10
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "Eric Tzeng, Judy Hoffman, Ning Zhang, Kate Saenko, and Trevor Darrell. Deep domain confusion: Maximizing for domain invariance. arXiv preprint arXiv:1412.3474, 2014. ",
1304
+ "bbox": [
1305
+ 169,
1306
+ 205,
1307
+ 823,
1308
+ 234
1309
+ ],
1310
+ "page_idx": 10
1311
+ },
1312
+ {
1313
+ "type": "text",
1314
+ "text": "Jane X Wang, Zeb Kurth-Nelson, Dhruva Tirumala, Hubert Soyer, Joel Z Leibo, Remi Munos, Charles Blundell, Dharshan Kumaran, and Matt Botvinick. Learning to reinforcement learn. arXiv preprint arXiv:1611.05763, 2016. ",
1315
+ "bbox": [
1316
+ 173,
1317
+ 243,
1318
+ 821,
1319
+ 286
1320
+ ],
1321
+ "page_idx": 10
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014. ",
1326
+ "bbox": [
1327
+ 171,
1328
+ 295,
1329
+ 821,
1330
+ 325
1331
+ ],
1332
+ "page_idx": 10
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "Tianhe Yu, Chelsea Finn, Annie Xie, Sudeep Dasari, Tianhao Zhang, Pieter Abbeel, and Sergey Levine. One-shot imitation from observing humans via domain-adaptive meta-learning. arXiv preprint arXiv:1802.01557, 2018. ",
1337
+ "bbox": [
1338
+ 174,
1339
+ 333,
1340
+ 821,
1341
+ 376
1342
+ ],
1343
+ "page_idx": 10
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "Wenhao Yu, Jie Tan, C Karen Liu, and Greg Turk. Preparing for the unknown: Learning a universal policy with online system identification. arXiv preprint arXiv:1702.02453, 2017. ",
1348
+ "bbox": [
1349
+ 173,
1350
+ 385,
1351
+ 823,
1352
+ 414
1353
+ ],
1354
+ "page_idx": 10
1355
+ },
1356
+ {
1357
+ "type": "text",
1358
+ "text": "APPENDIX A ENVIRONMENT DESCRIPTIONS ",
1359
+ "text_level": 1,
1360
+ "bbox": [
1361
+ 174,
1362
+ 102,
1363
+ 560,
1364
+ 118
1365
+ ],
1366
+ "page_idx": 11
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "We used Hopper and Striker environments from OpenAI Gym (Brockman et al., 2016). We will describe the details of the environments in this section. ",
1371
+ "bbox": [
1372
+ 176,
1373
+ 133,
1374
+ 823,
1375
+ 162
1376
+ ],
1377
+ "page_idx": 11
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "Hopper: Hopper consists of four body parts and three joints. It has an 3-dimensional action space including motor commands for all the joints. The observation space is 11-dimensional, inluding joint angles, joint velocities, y,z positions of the torso and x,y,z velocities of the torso. The initial positions and velocities are randomized over $\\pm 0 . 0 0 5$ . The reward function is $r ( s , a ) = v _ { x } + 1 - 0 . 0 0 1 \\| a \\| ^ { 2 }$ . The first term is to encourage the agent to move forward. The second term is a reward for being alive. The third term is to disencourage unnecessary movements. The criteria for being alive is that the height of the torso should be larger than 0.7 and the angle of the torso should be smaller than 0.2 with respect to the horizontal plane. It has a maximum length of 1000 timesteps for each episode. If it falls down and breaks the alive condition, the episode will end immediately. ",
1382
+ "bbox": [
1383
+ 173,
1384
+ 170,
1385
+ 825,
1386
+ 297
1387
+ ],
1388
+ "page_idx": 11
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "Striker: Striker environment has a 7-dof robot arm and a table. There is a ball and a goal location marker on the table. The action space is 7-dimensional, including the motor commands for each joints on the robot. The 23-dimensional observation space consists of the joint angles, joint velocities, the end-effector (hand) position, the object position and the goal position. The initial conditions randomize the velocity of all the joints over $\\pm 0 . 1$ . The reward is given by $r ( s , a ) = - 3 \\| s _ { o b j e c t } - s _ { g o a l } \\| - 0 . 1 \\| a \\| ^ { 2 } - 0 . 5 \\| s _ { o b j e c t } - s _ { h a n d } \\| ^ { 2 }$ . The first term is to encourage the object to reach the goal and stay at the goal. The second term is to disencourage unnecessary movements. The third term is to encourage the hand to hit the object. After the end-effector hits the object, $s h a n d$ will be replaced by the hitting location of the end-effector. It has a fixed length of 200 timesteps for each episode. ",
1393
+ "bbox": [
1394
+ 173,
1395
+ 304,
1396
+ 825,
1397
+ 445
1398
+ ],
1399
+ "page_idx": 11
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "APPENDIX B RANDOMIZED ENVIRONMENT PARAMETERS ",
1404
+ "text_level": 1,
1405
+ "bbox": [
1406
+ 178,
1407
+ 467,
1408
+ 669,
1409
+ 483
1410
+ ],
1411
+ "page_idx": 11
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "Every environment parameter is randomized among 5 evenly spread discrete values. Striker has 2 varying parameters which create 25 possible environment. Hopper is varying 8 parameters, so there are $\\mathrm { \\bar { 5 } ^ { \\bar { 8 } } }$ possible environments. In order to calculate separation loss for Hopper, we sample 100 environments from all $5 ^ { 8 }$ possible environment to train the EPI-policy. Otherwise it will not be able to cluster the embeddings from the same environment. Note that when training task policy with interactions, the environment is still randomized from all possible combinations. ",
1416
+ "bbox": [
1417
+ 174,
1418
+ 500,
1419
+ 825,
1420
+ 583
1421
+ ],
1422
+ "page_idx": 11
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "During testing, all environment parameters are sampled from a set of discrete values that the policy has never seen in any stage of training. For example, if mass is sampled from $\\{ 1 . 0 , 2 . 0 , 3 . 0 , 4 . 0 \\bar { , } 5 . 0 \\}$ , it is sampled from $\\{ 1 . 5 , \\bar { 2 } . 5 , 3 . 5 , 4 . 5 , 5 . 5 \\}$ during testing. ",
1427
+ "bbox": [
1428
+ 176,
1429
+ 590,
1430
+ 823,
1431
+ 633
1432
+ ],
1433
+ "page_idx": 11
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "APPENDIX C TRAINING DETAILS ",
1438
+ "text_level": 1,
1439
+ "bbox": [
1440
+ 178,
1441
+ 655,
1442
+ 465,
1443
+ 671
1444
+ ],
1445
+ "page_idx": 11
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "text": "An EPI-trajectory contains 10 steps of observations and actions for both Hopper and Striker. The embedding network $\\psi$ that inputs an EPI-trajectory $\\tau _ { e p i }$ and outputs environment embedding $\\varepsilon$ has two fully connected layers with 32 neurons each and followed by ReLU (Krizhevsky et al.). The prediction models $f _ { p r e d }$ and $f _ { e p i . p r e d }$ has four fully connected layers with 128 neurons each. The prediction model is optimized by Adam (Kingma & Ba, 2014). Both the EPI-policy $\\pi _ { e p i }$ and the final goal policy $\\pi _ { g }$ are optimized using TRPO (Schulman et al., 2015) with rllab implementation (Duan et al., 2016a). The prediction model is trained from scratch every 50 policy updates. Training from scratch is to avoid overfitting which will lead to unintended increasing reward for the EPI-policy. The EPI-policy is trained for $2 0 0 { \\sim } 4 0 0$ iterations in total with a batch size of 10000 timesteps. The task policy will then use the trained EPI-policy and the embedding network to update for 1000 iterations with a batch size of 100000 timesteps. ",
1450
+ "bbox": [
1451
+ 173,
1452
+ 688,
1453
+ 825,
1454
+ 840
1455
+ ],
1456
+ "page_idx": 11
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "text": "APPENDIX D TRAINING DETAILS OF BASELINES ",
1461
+ "text_level": 1,
1462
+ "bbox": [
1463
+ 176,
1464
+ 862,
1465
+ 593,
1466
+ 878
1467
+ ],
1468
+ "page_idx": 11
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "text": "All MLP baselines have the same network architecture as the task policy: two hidden layers with 32 hidden units each with ReLU activations. They are trained with the same batch size, optimizer, number of iterations and other hyperparameters as the task policy. We made sure that all training curves saturate before the final iteration. ",
1473
+ "bbox": [
1474
+ 174,
1475
+ 895,
1476
+ 823,
1477
+ 922
1478
+ ],
1479
+ "page_idx": 11
1480
+ },
1481
+ {
1482
+ "type": "text",
1483
+ "text": "",
1484
+ "bbox": [
1485
+ 173,
1486
+ 103,
1487
+ 823,
1488
+ 132
1489
+ ],
1490
+ "page_idx": 12
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "• Simple Policy: a MLP policy trained only in one fixed environment of fixed parameters. All the other baselines are trained across the randomized environments. \n• Invariant Policy (inv-pol): a default MLP policy $a _ { t } = \\pi ( s _ { t } )$ . \n• Oracle Policy: a MLP policy takes explicit environment parameters as additional input: $a _ { t } = \\pi ( s _ { t } , \\rho )$ , where $\\rho$ is a vector of the environment parameters such as mass, friction and damping. \nRandom Interaction Policy: a MLP policy that takes 10 timesteps of random interactions as additional input. $a _ { t } = \\pi ( s _ { t } , s _ { i 0 } , a _ { i 0 } , s _ { i 1 } , a _ { i 1 } . . . s _ { i 9 } , a _ { i 9 } )$ , where $s _ { i n }$ and $a _ { i n }$ are from a random policy. \n• History Policy: a MLP policy that takes 10 timesteps of most recent states and actions as additional input. Mnih et al. (2015) adopts similar idea where it stacks 3 to 5 most recent frames as input. $a _ { t } = \\pi ( s _ { t } , s _ { t - 1 } , a _ { t - 1 } , s _ { t - 2 } , a _ { t - 2 } . . . s _ { t - 1 0 } , a _ { t - 1 0 } )$ . When $t < 1 0$ , $s _ { t - j }$ are filled by zeros for $j > t$ . \n• Recurrent Policy (lstm-pol): The Recurrent baseline is using an LSTM with 32 hidden units from rllab. $a _ { t } = \\pi _ { L S T M } ( s _ { t } )$ . \n• System Identified Policy: This baseline is implemented based on Yu et al. (2017). We first trains an Oracle Policy $a _ { t } ~ = ~ \\pi ( s _ { t } , \\rho )$ as we described above, which is called the Universal Policy (UP) in their paper. To train Online Sytem Identification (OSI) model, we collect trajectories on randomized environments following the Oracle Policy. With the trajectories, we trained the OSI model, which is a regression model that inputs a history of states and actions and outputs $\\rho$ . The network architecture strictly follows the paper. Then the estimated $\\rho$ are fed into the trained Oracle Policy $a _ { t } = \\pi ( s _ { t } , \\rho )$ to collect more trajectories for training OSI again. We followed the original paper and trained OSI for 5 times. \nDirect Reward Policy: takes the first 10 steps of actions as additional input. In this way, these steps are taking the future reward of the whole trajectory. $\\begin{array} { r l } { a _ { t } } & { { } = } \\end{array}$ $\\pi ( s _ { t } , s _ { 0 } , a _ { 0 } , s _ { 1 } , a _ { 1 } . . . s _ { 9 } , a _ { 9 } )$ . When $t < 1 0$ , $s _ { j }$ are filled by zeros for $j > t$ . ",
1495
+ "bbox": [
1496
+ 214,
1497
+ 143,
1498
+ 825,
1499
+ 558
1500
+ ],
1501
+ "page_idx": 12
1502
+ }
1503
+ ]
parse/train/ryl8-3AcFX/ryl8-3AcFX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ryl8-3AcFX/ryl8-3AcFX_model.json ADDED
The diff for this file is too large to render. See raw diff