Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/AFiH_CNnVhS/AFiH_CNnVhS_middle.json +0 -0
- parse/train/AFiH_CNnVhS/AFiH_CNnVhS_model.json +0 -0
- parse/train/BygNqoR9tm/BygNqoR9tm.md +563 -0
- parse/train/BygNqoR9tm/BygNqoR9tm_content_list.json +0 -0
- parse/train/BygNqoR9tm/BygNqoR9tm_middle.json +0 -0
- parse/train/BygNqoR9tm/BygNqoR9tm_model.json +0 -0
- parse/train/SJcKhk-Ab/SJcKhk-Ab_content_list.json +1703 -0
- parse/train/SJcKhk-Ab/SJcKhk-Ab_middle.json +0 -0
- parse/train/SJcKhk-Ab/SJcKhk-Ab_model.json +0 -0
- parse/train/lmTWnm3coJJ/lmTWnm3coJJ.md +394 -0
- parse/train/lmTWnm3coJJ/lmTWnm3coJJ_content_list.json +0 -0
- parse/train/lmTWnm3coJJ/lmTWnm3coJJ_middle.json +0 -0
- parse/train/lmTWnm3coJJ/lmTWnm3coJJ_model.json +0 -0
- parse/train/r1eVMnA9K7/r1eVMnA9K7.md +321 -0
- parse/train/r1eVMnA9K7/r1eVMnA9K7_content_list.json +1810 -0
- parse/train/r1eVMnA9K7/r1eVMnA9K7_middle.json +0 -0
- parse/train/r1eVMnA9K7/r1eVMnA9K7_model.json +0 -0
- parse/train/tL89RnzIiCd/tL89RnzIiCd.md +0 -0
- parse/train/tL89RnzIiCd/tL89RnzIiCd_content_list.json +0 -0
- parse/train/tL89RnzIiCd/tL89RnzIiCd_model.json +0 -0
parse/train/AFiH_CNnVhS/AFiH_CNnVhS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/AFiH_CNnVhS/AFiH_CNnVhS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BygNqoR9tm/BygNqoR9tm.md
ADDED
|
@@ -0,0 +1,563 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SINKHORN AUTOENCODERS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Optimal Transport offers an alternative to maximum likelihood for learning generative autoencoding models. We show how this principle dictates the minimization of the Wasserstein distance between the encoder aggregated posterior and the prior, plus a reconstruction error. We prove that in the non-parametric limit the autoencoder generates the data distribution if and only if the two distributions match exactly, and that the optimum can be obtained by deterministic autoencoders. We then introduce the Sinkhorn AutoEncoder (SAE), which casts the problem into Optimal Transport on the latent space. The resulting Wasserstein distance is minimized by backpropagating through the Sinkhorn algorithm. SAE models the aggregated posterior as an implicit distribution and therefore does not need a reparameterization trick for gradients estimation. Moreover, it requires virtually no adaptation to different prior distributions. We demonstrate its flexibility by considering models with hyperspherical and Dirichlet priors, as well as a simple case of probabilistic programming. SAE matches or outperforms other autoencoding models in visual quality and FID scores.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Unsupervised learning aims to find the underlying rules that govern a given data distribution. It can be approached by learning to mimic the data generation process, or by finding an adequate representation of the data. Generative Adversarial Networks (GAN) (Goodfellow et al., 2014) belong to the former class, by learning to transform noise into a distribution that matches the given one. AutoEncoders (AE) (Hinton & Salakhutdinov, 2006) are of the latter type, by learning a representation that maximizes the mutual information between the data and its reconstruction, subject to an information bottleneck. Variational AutoEncoders (VAE) (Kingma & Welling, 2013; Rezende et al., 2014), provide both a generative model — i.e. a prior distribution on the latent space with a decoder that models the conditional likelihood — and an encoder — approximating the posterior distribution of the generative model. Optimizing the exact marginal likelihood is intractable in latent variable models such as VAE’s. Instead one maximizes the Evidence Lower BOund (ELBO) as a surrogate. This objective trades off a reconstruction error of the input and a regularization term that aims at minimizing the Kullback-Leibler (KL) divergence from the approximate posterior to the prior.
|
| 12 |
+
|
| 13 |
+
An alternative principle for learning generative autoencoders is proposed by Tolstikhin et al. (2018). The theory of Optimal Transport (OT) (Villani, 2008) prescribes a different regularizer: one that matches the prior with the aggregated posterior — the average (approximate) posterior over the training data. In Wasserstein AutoEncoders (WAE) (Tolstikhin et al., 2018), this is enforced by the choice of either the Maximum Mean Discrepancy (MMD) (Gretton et al., 2012)), or by adversarial training on the latent space. WAE empirically improves upon VAE. More recently, a family of Wasserstein divergences has been used by Ambrogioni et al. (2018) in the context of variational inference. The particular choice of Wasserstein distances may be crucial for convergence, due to the induced weaker topology as compared to other divergences, such as the KL (Arjovsky et al., 2017).
|
| 14 |
+
|
| 15 |
+
We contribute to the formal analysis of autoencoders with OT. First, we prove that in order to minimize the Wasserstein distance between the generative model and the data distribution, we can miniminize the usual reconstruction-plus-regularizer cost, where the regularizer is the Wasserstein distance between the encoder aggregated posterior and the prior. Second, in the non-parametric limit, the model learns the data distribution if and only if the aggregated posterior matches the prior exactly. Third, as a consequence of the Monge-Kontorovich equivalence (Villani, 2008), the functional space of this learning problem can be limited to that of deterministic autoencoders.
|
| 16 |
+
|
| 17 |
+
The theory supports practical innovations. We learn deterministic autoencoders by minimizing a reconstruction error and the Wasserstein distance on the latent space between samples of the aggregated posterior and the prior. The latter is known to be costly, but a fast approximate solution is provided by the Sinkhorn algorithm (Cuturi, 2013). We follow Frogner et al. (2015) and Genevay et al. (2018), by exploiting the differentiability of the Sinkhorn iterations, and unroll it for backpropagation. Altogether, we call our method the Sinkhorn AutoEncoder (SAE).
|
| 18 |
+
|
| 19 |
+
The Sinkhorn AutoEncoder is agnostic to the analytical form of the prior, as it optimizes a samplebased cost function which is aware of the geometry of the latent space. Furthermore, as a byproduct of using deterministic networks, it models the aggregated posterior as an implicit distribution (Mohamed & Lakshminarayanan, 2016) with no need of the reparametrization trick for learning the encoder (Kingma & Welling, 2013). Therefore, with essentially no change in the algorithm, we can learn models with Normally distributed priors and aggregated posteriors, as well as distributions living on manifolds such as hyperspheres (Davidson et al., 2018) and probability simplices.
|
| 20 |
+
|
| 21 |
+
We start our experiments by studying unsupervised representation learning by training an encoder in isolation. Our results demonstrate the capability of the Sinkhorn algorithm to produce embeddings that conserve the local geometry of the data, echoing results from Bojanowski & Joulin (2017). Next we move to the autoencoder. In an ablation study, we compare with the exact Hungarian algorithm in place of the Sinkhorn and show that our method performs equally well, while converging faster. We then compare against prior work on autoencoders with Normal and spherical priors on MNIST, CIFAR10 and CelebA. SAE with a spherical prior produces visually more appealing interpolations, crisper samples and comparable or lower FID (Heusel et al., 2017). Finally, we further show the flexibility of SAE with qualitative results by using a Dirichlet prior, which defines the latent space on a probability simplex, as well as with a simple probabilistic programming task.
|
| 22 |
+
|
| 23 |
+
# 2 BACKGROUND
|
| 24 |
+
|
| 25 |
+
# 2.1 WASSERSTEIN DISTANCE AND WASSERSTEIN AUTOENCODERS
|
| 26 |
+
|
| 27 |
+
We follow Tolstikhin et al. (2018) and denote with $x , y , z$ the sample spaces and with $X , Y , Z$ and $P _ { X } , P _ { Y } , P _ { Z }$ the corresponding random variables and distributions. Given a map $F : \mathcal { X } \mathcal { V }$ we denote by $F _ { \# }$ the push-forward map acting on a distribution $P$ as $P \circ F ^ { - 1 }$ . I f $F ( Y | X )$ is non-deterministic we define the push-forward of a distribution $P$ as the induced marginal of the joint distribution $F ( Y | X ) P _ { X }$ (denoted by $F ( Y | X ) _ { \# } P _ { X } )$ . For any measurable non-negative cost $c : \mathcal { X } \times \mathcal { Y } \mathbb { R } ^ { + } \cup \{ \infty \}$ , one can define the following $O T$ -cost between marginal distributions $P _ { X }$ and $P _ { Y }$ via:
|
| 28 |
+
|
| 29 |
+
$$
|
| 30 |
+
W _ { c } ( P _ { X } , P _ { Y } ) = \operatorname* { i n f } _ { \Gamma \in \Pi ( P _ { X } , P _ { Y } ) } \mathbb { E } _ { ( X , Y ) \sim \Gamma } [ c ( X , Y ) ] ,
|
| 31 |
+
$$
|
| 32 |
+
|
| 33 |
+
where $\Pi ( P _ { X } , P _ { Y } )$ is the set of all joint distributions that have as marginals the given $P _ { X }$ and $P _ { Y }$ . The elements from $\Pi ( P _ { X } , P _ { Y } )$ are called couplings from $P _ { X }$ to $P _ { Y }$ . From now on we will assume that $\mathcal { X } = \mathcal { y }$ and $c ( x , y )$ is a distance. In this case $W _ { c } ( P _ { X } , P _ { Y } )$ is the Wasserstein distance w.r.t the cost $c$ . If $c ( x , y ) = \| x - y \| _ { p } ^ { p }$ for $p \geq 1$ then $W _ { p } = \sqrt [ p ] { W _ { c } }$ is called the $p$ -th Wasserstein distance.
|
| 34 |
+
|
| 35 |
+
Let $P _ { X }$ denote the true data distribution on $\mathcal { X }$ . We define a latent variable model given as follows: we fix a latent space $\mathcal { Z }$ and a prior distribution $P _ { Z }$ on $\mathcal { Z }$ and consider the conditional distribution $G ( X | Z )$ (the decoder) parameterized by a neural network $G$ . Together they specify a generative model as $G ( X | Z ) P _ { Z }$ . The induced marginal will be denoted by $P _ { G }$ . Learning $P _ { G }$ to approximate the true $P _ { X }$ is then defined as:
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\operatorname* { m i n } _ { G } W _ { c } ( P _ { X } , P _ { G } ) .
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
Because of the infimum over $\Pi ( P _ { X } , P _ { G } )$ inside $W _ { c }$ , this is intractable. To rewrite this objective we consider the posterior distribution $Q ( Z | X )$ (the encoder) and its aggregated posterior $Q _ { Z }$ :
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
Q _ { Z } = Q ( Z | X ) _ { \# } P _ { X } = \mathbb { E } _ { X \sim P _ { X } } Q ( Z | X ) ,
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
the induced marginal of the joint distribution $Q ( Z | X ) P _ { X }$ . Tolstikhin et al. (2018) show that, if the decoder $G ( X | Z )$ is deterministic, i.e. $P _ { G } = G _ { \# } P _ { Z }$ , or in other words, if all stochasticity of the generative model is captured by $Z$ , then:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
W _ { c } ( P _ { X } , P _ { G } ) = \operatorname* { i n f } _ { Q ( Z | X ) : Q _ { Z } = P _ { Z } } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ c ( X , G ( Z ) ) ] .
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
Learning the generative model $G$ with the Wasserstein AutoEncoder amounts to:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\operatorname* { m i n } _ { G } \operatorname* { m i n } _ { Q ( Z | X ) } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ c ( X , G ( Z ) ) ] \ + \ \beta \cdot D _ { Z } ( Q _ { Z } , P _ { Z } ) ,
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $\beta > 0$ is a Lagrange multiplier and $D _ { Z }$ is any divergence measure on probability distributions on $\mathcal { Z }$ , which choice is left open. WAE uses either MMD or a discriminator trained adversarially for $D _ { Z }$ . As discussed in Bousquet et al. (2017), Equation 4 is a lower bound of Equation 3 for any value of $\beta > 0$ . Minimizing this lower bound does not ensure a minimization of the original objective of Equation 3.
|
| 60 |
+
|
| 61 |
+
# 2.2 THE SINKHORN ALGORITHM
|
| 62 |
+
|
| 63 |
+
In place of any choice of $D _ { Z }$ , in Section 3 we formally support the minimization of a Wasserstein distance on latent space. The distance is notoriously hard to compute, which is the reason why the rewriting of Equation 3 is of practical interest. When restricting to discrete distributions, the problem becomes more amenable and efficient approximations exist. To motivate this direction, recall that we can always see samples of a continuous distribution as Dirac deltas, whose expectation defines a discrete distribution. Let two discrete distributions with support on $M$ points be $\hat { P } =$ $\begin{array} { r } { \frac { 1 } { M } \sum _ { i = 1 } ^ { M } \delta _ { z _ { i } } , \hat { Q } = \frac { 1 } { M } \sum _ { i = 1 } ^ { M } \delta _ { z _ { i } ^ { \prime } } } \end{array}$ . Given a cost $c ^ { \prime }$ , their (empirical) Wasserstein distance is:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
W _ { c ^ { \prime } } ( \hat { Q } , \hat { P } ) = \operatorname* { m i n } _ { R \in \mathrm { S } _ { M } } { \textstyle \frac { 1 } { M } } \langle R , C ^ { \prime } \rangle _ { \cal F } ,
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where $C _ { i j } ^ { \prime } = c ^ { \prime } ( z _ { i } ^ { \prime } , z _ { j } )$ is the matrix associated to the cost $c , R$ is a doubly stochastic matrix as defined in $\mathsf { S } _ { M } = \{ R \in \mathbb { R } _ { \geq 0 } ^ { M \times M } \mid R \mathbf { 1 } = \mathbf { 1 } , R ^ { T } \mathbf { 1 } = \mathbf { 1 } \}$ , and $\langle \cdot , \cdot \rangle _ { F }$ denotes the Frobenius inner product; 1 is the vector of ones. Eq. (5) is known to converge to the Wasserstein distance between the continuous distributions as $M$ tends to infinity (Weed & Bach, 2017). This linear program has solutions on the vertices of $\mathrm { S } _ { M }$ , which is the set of permutation matrices (Peyre & Cuturi, 2018). ´ The Hungarian algorithm finds an optimal solution in $O ( M ^ { 3 } )$ time (Kuhn, 1955).
|
| 70 |
+
|
| 71 |
+
An entropy-regularized version of problem (5) can be solved more efficiently. Let the entropy of $R$ be $\begin{array} { r } { H ( R ) = - \sum _ { i , j = 1 } ^ { M } R _ { i , j } \log R _ { i , j } } \end{array}$ . For $\varepsilon > 0$ , Cuturi (2013) defines the Sinkhorn distance $S _ { c ^ { \prime } }$ :
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\begin{array} { r } { R ^ { * } = \underset { R \in \mathrm { S } _ { M } } { \arg \operatorname* { m i n } } \frac { 1 } { M } \langle R , C ^ { \prime } \rangle _ { F } - \varepsilon H ( R ) , \qquad S _ { c ^ { \prime } } ( \hat { Q } , \hat { P } ) = \langle R ^ { * } , C ^ { \prime } \rangle _ { F } , } \end{array}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
and shows that the (Sinkhorn, 1964)’s algorithm returns its regularized optimum — that is also unique due to strong convexity of the entropy. The Sinkhorn is a fixed point algorithm that runs nearly in $M ^ { 2 }$ time (Altschuler et al., 2017) and can be efficiently implemented with matrix multiplications; see Algorithm 1. Its convergence to the Wasserstein distance is studied by Weed (2018).
|
| 78 |
+
|
| 79 |
+
The smaller the $\varepsilon$ , the smaller the entropy and the better the approximation of the Wasserstein distance. At the same time, a larger number of steps $O ( L )$ is needed to converge. Conversely, high entropy encourages the solution to lie far from a permutation matrix. Note that all Sinkhorn operations are differentiable. So when the distance is used as a cost function, we can unroll $O ( L )$ iterations and backpropagate (Genevay et al., 2018). In conclusion, we obtain a differentiable surrogate for Wasserstein distances between empirical distributions; the approximation arises from sampling, entropy regularization and the finite amount of steps in place of convergence.
|
| 80 |
+
|
| 81 |
+
# 2.3 NOISE AS TARGETS
|
| 82 |
+
|
| 83 |
+
Bojanowski & Joulin (2017) introduce Noise As Targets (NAT), an algorithm for unsupervised representation learning. The method learns a neural network $f _ { \theta }$ by embedding images into a uniform hypersphere. A sample $z$ is drawn from the sphere for each training image and fixed. The goal is to learn $\theta$ such that 1-to-1 matching between images and samples is improved: matching is coded with a permutation matrix $R$ , and updated with the Hungarian algorithm. The objective is:
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
{ \underset { \theta } { \operatorname* { m a x } } } \ { \underset { R \in P _ { M } } { \operatorname* { m a x } } } \ \operatorname { T r } ( R Z f _ { \theta } ( X ) ^ { \top } ) ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
where $\operatorname { T r } ( \cdot )$ is the trace operator, $Z$ and $X$ are respectively prior samples and images stacked in a matrix and $P _ { M } \subset S _ { M }$ is the set of $M$ -dimensional permutations. NAT learns by alternating SGD and the Hungarian. One can interpret this problem as supervised learning, where the samples are targets (sampled only once) but their assignment is learned; notice that freely learnable $Z$ would make the problem ill-defined. The authors relate NAT to OT, a link that we make formal below.
|
| 90 |
+
|
| 91 |
+
# 3 PRINCIPLES OF WASSERSTEIN AUTOENCODING
|
| 92 |
+
|
| 93 |
+
With Equation 3, Tolstikhin et al. (2018) reformulate the Wasserstein distance in image space in terms of autoencoders. The hard constraint $Q _ { Z } = P _ { Z }$ is in practice replaced with a soft constraint by adding a penalty in the form of a divergence $D _ { Z } ( Q _ { Z } , P _ { Z } )$ . The resulting objective (4) is a lower bound to the Wasserstein difference and the choice of a divergence $D _ { Z }$ is left open. In contrast, we show that one should opt for minimizing a Wasserstein distance in latent space and that this leads to an equality with — not a bound for — the original Wasserstein distance in image space.
|
| 94 |
+
|
| 95 |
+
More precisely, Theorem 3.1 first proves that the Wasserstein distance between the generative model and data distribution is bounded from above by a quantity consisting of the reconstruction error and the Wasserstein distance between $P _ { Z }$ and $Q _ { Z }$ . Theorem 3.2 shows that we can restrict learning to the class of deterministic (auto)encoders. Put together, Corollary 3.3 provides a principled learning objective in the framework of Optimal Transport by rewriting the Wasserstein distance in image space into an equivalent tractable form. We start with the following bound:
|
| 96 |
+
|
| 97 |
+
Theorem 3.1. If $G ( X | Z )$ is deterministic and $\gamma$ -Lipschitz then:
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
W _ { p } ( P _ { X } , P _ { G } ) \leq W _ { p } ( P _ { X } , G _ { \# } Q _ { Z } ) + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } ) .
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
The proof (A.2) exploits the triangle inequality of the Wasserstein distance and its behaviour under composition with Lipschitz maps – a property not shared with divergences such as the KL. To effectively minimize the right-hand side in Theorem 3.1 over a class of encoders we need to further upper bound the reconstruction term with the following1:
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
W _ { p } ( P _ { X } , G _ { \# } Q _ { Z } ) \leq \sqrt { \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } \mathbb { E } _ { X ^ { \prime } \sim G ( X | Z ) } [ \| X - X ^ { \prime } \| _ { p } ^ { p } ] } ,
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
which reduces to the $p$ -th root of $\mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ]$ if both $G$ and $Q$ are deterministic. The tightness of this bound and its use as an objective function for learning are discussed below.
|
| 110 |
+
|
| 111 |
+
We now improve the characterization of Equation 3, which is formulated in terms of stochastic encoders $Q ( Z | X )$ and deterministic decoders $G ( X | Z )$ . In fact, it is possible to restrict the learning class to that of deterministic autoencoders:
|
| 112 |
+
|
| 113 |
+
Theorem 3.2. Let $P _ { X }$ be not atomic2 and $G ( X | Z )$ deterministic. Then for every continuous cost $c$ :
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
W _ { c } ( P _ { X } , P _ { G } ) = \operatorname* { i n f } _ { \substack { Q ( Z | X ) d e t e r m i n i s t i c : Q _ { Z } = P _ { Z } } } \mathbb { E } _ { X \sim P _ { X } } [ c ( X , G ( Q ( X ) ) ) ] .
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
Using the cost $c ( x , y ) = \| x - y \| _ { p } ^ { p } ,$ , the equation holds with $W _ { p } ^ { p } ( P _ { X } , P _ { G } )$ in place of $W _ { c } ( P _ { X } , P _ { G } )$ .
|
| 120 |
+
|
| 121 |
+
The statement is a direct consequence of the equivalence between the Kantorovich and Monge formulations of OT (Villani, 2008); see the proof in A.3. We remark that this result is stronger than, and can be used to deduce Equation 3; see A.4 for a proof. Combining the two previous results, we are now in position to prove that the bound in Theorem 3.1 is tight for deterministic (auto)encoders:
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
\begin{array} { r l } { W _ { p } ( P _ { X } , P _ { G } ) \overset { T h \ \mathrm { . 3 . 1 } } { \leq } } & { \underset { Q \ \mathrm { d e t . } } { \operatorname* { i n f } } \ \overset { \ell } { \sqrt { \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] } } + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } ) } \\ { \ } & { \qquad \overset { \mathrm { i n f } } { \leq } } \\ & { \ Q \underset { Q \ \mathrm { d e t . } , Q _ { Z } = P _ { Z } } { \operatorname * { i n f } } \ \overset { \ell } { \sqrt { \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] } } + \gamma \cdot \underset { = 0 } { \underbrace { W _ { p } ( Q _ { Z } , P _ { Z } ) } } } \\ { \ } & { \qquad T \underset { = } { \overset { h \ \cdot 3 \cdot 2 } { = } } \ W _ { p } ( P _ { X } , P _ { G } ) . } \end{array}
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
Inequality in Step 10 holds because we restrict the domain of the infimum, which in turns implies $W _ { p } ( Q _ { Z } , P _ { Z } ) = 0$ . As a consequence we obtain the following Corollary, which provides us with an objective for learning generative autoencoders:
|
| 128 |
+
|
| 129 |
+
Corollary 3.3. Let $P _ { X }$ be non-atomic and $G ( X | Z )$ be deterministic and $\gamma$ -Lipschitz. Then we have the equality:
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
W _ { p } ( P _ { X } , P _ { G } ) = \operatorname* { i n f } _ { \substack { Q ( Z | X ) } } \operatorname* { i n f } _ { \substack { d e t e r m i n i s t i c } } \big \{ \big \langle \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } ) .
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
More precisely, we can now formulate our learning problem as the minimization of the right-hand side of Equation 12 over deterministic decoders:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\operatorname* { m i n } _ { G } \operatorname* { m i n } _ { Q } \sqrt [ \gamma ] { \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] } + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } )
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
When the encoder is a neural network of limited capacity, enforcing $Q _ { Z } \approx P _ { Z }$ might not be feasible in the general case of dimension mismatch (Rubenstein et al., 2018). In fact, since the class of deterministic neural networks is much smaller than the class of deterministic measurable maps, one might consider adding noise to the output, i.e. use stochastic networks instead. Nonetheless, neural networks can approximate any measurable map up to arbitrarily small error (Hornik, 1991), and we prove a related bound for the Wasserstein distance in A.5. It follows that learning deterministic autoencoders is sufficient to approach the theoretical upper bound and thus it will be our empirical choice.
|
| 142 |
+
|
| 143 |
+
Finally, Theorems 3.1 and 3.2 strengthen the relevance of matching aggregated posterior and prior, which we show to be a sufficient and necessary condition for generative autoencoding. Justified by the previous results, we state it for deterministic autoencoders (proof in A.6).
|
| 144 |
+
|
| 145 |
+
Theorem 3.4 (Sufficiency and necessity for generative autoencoding). Suppose perfect reconstruction, that is, $P _ { X } = ( G \circ { \dot { Q } } ) _ { \# } P _ { X }$ . Then:
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
i ) ~ P _ { Z } = Q _ { Z } \implies P _ { X } = P _ { G } , \qquad i i ) ~ P _ { Z } \neq Q _ { Z } \implies P _ { X } \neq P _ { G } .
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
In particular, Theorem 3.4 ii) certifies that, under perfect reconstruction, failing to match aggregated posterior and prior makes learning the data distribution impossible. Matching in latent space should be seen as fundamental as minimizing the reconstruction error, a fact known about the performance of VAE (Hoffman & Johnson, 2016; Higgins et al., 2017; Alemi et al., 2018; Rosca et al., 2018).
|
| 152 |
+
|
| 153 |
+
# 4 SINKHORN AUTOENCODERS
|
| 154 |
+
|
| 155 |
+
In light of our theory, we minimize the Wasserstein distance between the aggregated posterior and the prior, and we do so by running the Sinkhorn on their empirical samples. Let $\bar { \{ } x _ { i } \} _ { i = 1 } ^ { M }$ be the data input to the deterministic encoder $Q ( z _ { i } ^ { \prime } | x _ { i } ) = \delta _ { z _ { i } ^ { \prime } }$ and $\{ z _ { i } \} _ { i = 1 } ^ { M }$ the samples from the prior $P _ { Z }$ . The empirical distributions are $\begin{array} { r } { \hat { Q } _ { Z } = \frac { 1 } { M } \sum _ { i = 1 } ^ { M } \delta _ { z _ { i } ^ { \prime } } } \end{array}$ and $\begin{array} { r } { \hat { P } _ { Z } = \frac { 1 } { M } \sum _ { i = 1 } ^ { M } \delta _ { z _ { i } } } \end{array}$ . With $C _ { i j } ^ { \prime } = c ( z _ { i } ^ { \prime } , z _ { j } )$ , the Sinkhorn distance is $S _ { c ^ { \prime } } ( \hat { Q } _ { Z } , \hat { P } _ { Z } )$ as defined in Equation 6.
|
| 156 |
+
|
| 157 |
+
We compute the Sinkhorn distance in two steps: first obtain the optimal regularized coupling $R ^ { * }$ and then multiply it with the cost, i.e. set $\varepsilon = 0$ :
|
| 158 |
+
|
| 159 |
+
# Algorithm 1 SINKHORN
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\begin{array} { r } { R ^ { * } = \underset { R \in \mathrm { S } _ { M } } { \arg \operatorname* { m i n } } \frac { 1 } { M } \langle R , C ^ { \prime } \rangle _ { F } - \varepsilon H ( R ) } \\ { S _ { c ^ { \prime } } ( \hat { Q } _ { Z } , \hat { P } _ { Z } ) = \frac { 1 } { M } \langle R ^ { * } , C ^ { \prime } \rangle _ { F } \ . \ } \end{array}
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
<table><tr><td>Input: {zi}=1~ Pz,{2}m=1 ~ Qz,ε,L ∀i,j,Cij=c(zi,zj) K=e-C/ε,u←1</td></tr><tr><td># elem-wise exp repeat L times:</td></tr><tr><td>v ←1/(KTu) # elem-wise division</td></tr><tr><td>u ←1/(Kv) R* ←Diag(u)KDiag(u)</td></tr><tr><td>Output: M(R*,C) F</td></tr><tr><td></td></tr></table>
|
| 166 |
+
|
| 167 |
+
See Algorithm 1. Note that we do not sacrifice differentiability: we stack $O ( L )$ Sinkhorn operations on top of the encoder, without additional learnable parameters, and run auto-differentiation.
|
| 168 |
+
|
| 169 |
+
With a deterministic decoder $G$ and encoder $Q$ , we arrive at the objective for the Sinkhorn AutoEncoder (SAE):
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
\operatorname* { m i n } _ { G } \operatorname* { m i n } _ { Q } \mathbb { E } _ { X \sim \hat { P } _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] + \beta \cdot S _ { c ^ { \prime } } ( \hat { Q } _ { Z } , \hat { P } _ { Z } ) .
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
In practice, we drop the $p$ -th root and tune a $\beta > 0$ hyper-parameter to mix the two terms. Small $\varepsilon$ and hence large $L$ worsen the numerical stability of the Sinkhorn; thus it is more convenient to scale $\boldsymbol { S _ { c ^ { \prime } } }$ by $\beta$ to explore the trade off, as in the WAE. In most experiments, both $c$ and $c ^ { \prime }$ will be $\| \cdot \| _ { 2 } ^ { 2 }$ . This objective is minimized by mini-batch SGD, which requires the re-calculation of an optimal regularized coupling $R ^ { * }$ at each iteration. Experimentally we found that this is not a significant overhead, unless a large $L$ is needed for convergence due to a small $\varepsilon$ . In practice, Algorithm 1 loops for $L$ iterations but can exit earlier if the updates of $u$ reach a fixed point.
|
| 176 |
+
|
| 177 |
+
We have not specified our distribution $P _ { Z }$ yet. In fact, SAE can work in principle with arbitrary priors. The only requirement coming from the Sinkhorn is the ability to generate samples. The choice should be motivated by the desired geometric properties of the latent space; Theorem 3.4 stresses the importance of such choice for the generative model. For quantitative comparison with prior work, we focus primarily on hyperspheres, as in the Hyperspherical VAE (HVAE) (Davidson et al., 2018). Moreover, considering the Wasserstein distance $\varepsilon = 0$ ) from a uniform hyperspherical prior with squared Euclidean cost, we recover the NAT objective as a special case of ours (see Appendix A.7); yet, our method enjoys lower complexity and differentiability. The remarkable performance of NAT on representation learning on ImageNet confirms the value of the spherical prior. Other distributions are also considered in the paper, in particular the Dirichlet prior — with a tunable bias towards the simplex vertices — as a choice for controlling latent space clustering.
|
| 178 |
+
|
| 179 |
+
Deterministic encoders model implicit distributions. Distributions are said to be implicit when their probability density may be intractable or even unknown, but it is possible to obtain samples and gradients for their parameters; GANs are examples of models with implicit distributions. Implicit distributions can give more flexibility as they are not limited by families of distributions with tractable density (Mohamed & Lakshminarayanan, 2016; Huszar, 2017). Moreover, by encoding with deter- ´ ministic neural networks, we bypass the use of reparametrization tricks for gradient estimation.
|
| 180 |
+
|
| 181 |
+
# 5 RELATED WORK
|
| 182 |
+
|
| 183 |
+
The normal prior is common in VAE for the reason of tractability. In fact, changing the prior and/or the approximate posterior distributions requires the use of tractable densities and the appropriate reparametrization trick. A hyperspherical prior is used by Davidson et al. (2018) with improved experimental performance; the algorithm models a Von Mises-Fisher posterior, with a non-trivial posterior sampling procedure and a reparametrization trick based on rejection sampling. Our implicit encoder distribution sidesteps these difficulties; recent advances on variable reparametrization can also simplify these requirements (Figurnov et al., 2018). We are not aware of methods embedding on probability simplices, except the use of Dirichlet priors by the same Figurnov et al. (2018).
|
| 184 |
+
|
| 185 |
+
Hoffman & Johnson (2016) showed that the objective of a VAE does not force the aggregated posterior and prior to match, and that the mutual information of input and codes may be minimized instead. Just like the WAE, SAE avoids this effect by construction. Makhzani et al. (2015) and WAE improve latent matching by GAN/MMD. With the same goal, Alemi et al. (2017), Tomczak & Welling (2017) introduce learnable priors in the form of a mixture of approximate posteriors, which can be used in SAE as well.
|
| 186 |
+
|
| 187 |
+
The Sinkhorn (1964) algorithm gained interest after Cuturi (2013) showed its application for fast computation of Wasserstein distances. The algorithm has been applied to ranking (Adams & Zemel, 2011), domain adaptation (Courty et al., 2014), multi-label classification (Frogner et al., 2015), metric learning (Huang et al., 2016) and ecological inference (Muzellec et al., 2017). Santa Cruz et al. (2017); Linderman et al. (2018) used it for supervised combinatorial losses. Our use of the Sinkhorn for generative modeling is akin to that of Genevay et al. (2018), which matches data and model samples with adversarial training, and to Ambrogioni et al. (2018), which matches samples from the model joint distribution and a variational joint approximation. WAE and WGAN objectives are linked respectively to primal and dual formulations of OT (Tolstikhin et al., 2018).
|
| 188 |
+
|
| 189 |
+
Our approach for training the encoder alone qualifies as self-supervised representation learning (Donahue et al., 2017; Noroozi & Favaro, 2016; Noroozi et al., 2017). As in NAT (Bojanowski & Joulin, 2017) and in constrast to most other methods, we can sample pseudo labels (from the prior) independently from the input. In Appendix A.7 we show a formal connection with NAT.
|
| 190 |
+
|
| 191 |
+

|
| 192 |
+
Figure 1: a) Swiss Roll and its b) squared and c) spherical embeddings learned by Sinkhorn encoders. MNIST embedded onto a 10D sphere viewed through $t$ -SNE, with classes by colours: d) encoder only or e) encoder $^ +$ decoder.
|
| 193 |
+
|
| 194 |
+
# 6 EXPERIMENTS
|
| 195 |
+
|
| 196 |
+
We start our empirical analysis with a qualitative assessment of the representation learned with the Sinkhorn algorithm. In the rest we focus on the autoencoder. We compare with NAT and confirm the Sinkhorn to be a better choice than the Hungarian. We display interpolations and samples of SAE and compare numerically with AE, $( \beta )$ -VAE, HVAE and WAE-MMD. We further show the flexibility of SAE by using a Dirichlet prior and on a toy probabilistic programming task.
|
| 197 |
+
|
| 198 |
+
We experiment on MNIST, CIFAR10 (Krizhevsky & Hinton, 2009) and CelebA (Liu et al., 2015). MNIST is dynamically binarized and the reconstruction error is the binary cross-entropy (although not a distance, it is a commonly used divergence for binary data). For CIFAR10 and CelebA the reconstruction is the squared Euclidean distance; in every experiment, the latent cost is also squared Euclidean. We train fully connected neural networks for MNIST and the convolutional architectures from Tolstikhin et al. (2018) for the rest; the latent space dimensions are respectively 10, 64, 64. We run Adam (Kingma & Ba, 2014) with mini-batches of 128. Hyperspherical embedding is hardcoded in the architectures by $L 2$ normalization of the encoder output as in Bojanowski & Joulin (2017). The Sinkhorn runs with $\epsilon = 0 . 1$ , $L = 5 0$ , except when otherwise stated. FID scores for CIFAR10 and CelebA are calculated as in Heusel et al. (2017), while for MNIST we train a 2-layer convolutional network to extract features for the Frechet distance, similarly to Odena et al. (2018). Notice ´ that the FID score is a Wasserstein-2 distance and hence our theory applies directly.
|
| 199 |
+
|
| 200 |
+
# 6.1 REPRESENTATION LEARNING WITH SINKHORN ENCODERS
|
| 201 |
+
|
| 202 |
+
We demonstrate qualitatively that the Sinkhorn distance is a valid objective for unsupervised feature learning by showing that we can learn the encoder in isolation. The task is to embed the input distribution in a lower dimensional space, preserving the local data geometry, by solving Problem 14 with no reconstruction cost. We display the representation of a 3D Swiss Roll and MNIST. For the Swiss Roll we set $\varepsilon = 1 0 ^ { - 3 }$ , while for MNIST it is set to 0.5, and $L$ is picked to ensure convergence. For the Swiss roll (Figure 1a), we use a 50-50 fully connected network with ReLUs.
|
| 203 |
+
|
| 204 |
+
Figures 1b, 1c show that the local geometry of the Swiss Roll is conserved in the new representational spaces — a square and a sphere. While the global shape is not necessarily more unfolded than the original, it looks qualitatively more amenable for further computation. Figure 1d shows the $t$ -SNE visualization (Maaten & Hinton, 2008) of the learned representation of the MNIST test set. With neither labels nor reconstruction error, we learn an embedding that is aware of class-wise clusters. Minimization of the Sinkhorn distance achieves this by encoding onto a $d$ -dimensional uniform sphere, such that points are encouraged to map far apart; in particular, in high dimension we can prove (see A.8) that the collapse probability decreases with $d$ :
|
| 205 |
+
|
| 206 |
+
Proposition 6.1. Let $z , z ^ { \prime }$ be two uniform samples from a $d$ -dimensional sphere. In the high dimensional regime, for any δ < 2 we have P (kz − z0k2 > δ) ≥ 1 − 14d(√2−δ)2 .
|
| 207 |
+
|
| 208 |
+
Other than this repulsive effect — the uniform distribution has max-entropy on any compact space —, a contractive force is present due to the inductive prior of neural networks, which are known to be Lipschitz functions (Balan et al., 2017). On the one hand, points in the latent space disperse in order to fill up the sphere; on the other hand, points close on image space cannot be mapped too far from each other. As a result, local distances are conserved while the overall distribution is spread. When the encoder is combined with a decoder $G$ — the topic of the experiments below —, the contractive force strenghtens: they collaborate in learning a latent space which makes reconstruction possible despite finite capacity and hence favours the conservation of local similarities; see Figure 1e.
|
| 209 |
+
|
| 210 |
+
Table 1: Ablation for spherical SAE: Sinkhorn vs. Hungarian, fixed targets vs. sampling. MMD are scaled up by 1000. We compute a baseline for the MMD between two independent set of 10K samples (same as the test set size) from the prior. The baseline is 0.2 for both datasets.
|
| 211 |
+
|
| 212 |
+
<table><tr><td colspan="8">MNIST</td><td colspan="3">CIFAR10</td></tr><tr><td>method</td><td>prior</td><td>β</td><td>MMD</td><td>RE</td><td>FID</td><td>β</td><td>MMD</td><td></td><td>RE</td><td>FID</td></tr><tr><td>Hungarian</td><td>sample</td><td>10</td><td>0.37</td><td>65.9</td><td>10.3</td><td>10</td><td>0.25</td><td></td><td>22.4</td><td>98.5</td></tr><tr><td>Hungarian</td><td>targets</td><td>10</td><td>0.32</td><td>68.5</td><td>10.0</td><td>10</td><td></td><td>0.26</td><td>22.8</td><td>98.4</td></tr><tr><td>Hungarian</td><td>sample</td><td>100</td><td>0.60</td><td>85.0</td><td>9.7</td><td>100</td><td></td><td>0.23</td><td>23.8</td><td>98.6</td></tr><tr><td>Hungarian</td><td>targets</td><td>100</td><td>0.21</td><td>67.2</td><td>7.1</td><td>100</td><td></td><td>0.24</td><td>23.5</td><td>102.0</td></tr><tr><td>Sinkhorn</td><td>sample</td><td>10</td><td>0.35</td><td>66.2</td><td>9.4</td><td>10</td><td></td><td>0.25</td><td>22.5</td><td>97.5</td></tr><tr><td>Sinkhorn</td><td>targets</td><td>10</td><td>0.29</td><td>65.3</td><td>9.4</td><td>10</td><td></td><td>0.25</td><td>22.4</td><td>97.0</td></tr><tr><td>Sinkhorn</td><td>sample</td><td>100</td><td>0.30</td><td>66.8</td><td>6.8</td><td>100</td><td></td><td>0.21</td><td>23.7</td><td>100.4</td></tr><tr><td>Sinkhorn</td><td>targets</td><td>100</td><td>0.30</td><td>66.8</td><td>6.8</td><td>100</td><td></td><td>0.24</td><td>23.1</td><td>107.5</td></tr></table>
|
| 213 |
+
|
| 214 |
+
Table 2: SAE vs. prior work. In boldface the best two FID per dataset. Note that MMD are not comparable if the prior is different. †The ‘spherical’ AE amounts to normalizing the encoder output.
|
| 215 |
+
|
| 216 |
+
<table><tr><td></td><td></td><td></td><td colspan="4">MNIST</td><td colspan="4">CIFAR10</td><td colspan="4">CelebA</td></tr><tr><td>method</td><td>prior</td><td>cost</td><td>β</td><td>MMD</td><td>RE</td><td>FID</td><td>β</td><td>MMD</td><td>RE</td><td>FID</td><td>β</td><td>MMD</td><td>RE</td><td>FID</td></tr><tr><td>AE</td><td>-</td><td>-</td><td>:</td><td>-</td><td>62.6</td><td>45.2</td><td>·</td><td>-</td><td>22.6</td><td>375.6</td><td>·</td><td>-</td><td>61.8</td><td>357.0</td></tr><tr><td>VAE</td><td>normal</td><td>KL</td><td>1</td><td>0.63</td><td>66.4</td><td>7.2</td><td>1</td><td>4.6</td><td>40.6</td><td>161.0</td><td>1</td><td>0.35</td><td>75.1</td><td>51.4</td></tr><tr><td>β-VAE</td><td>normal</td><td>KL</td><td>0.1</td><td>2.3</td><td>62.8</td><td>15.2</td><td>0.1</td><td>0.23</td><td>22.8</td><td>106.6</td><td>0.1</td><td>0.21</td><td>63.7</td><td>56.5</td></tr><tr><td>WAE</td><td>normal</td><td>MMD</td><td>100</td><td>0.69</td><td>63.1</td><td>9.0</td><td>100</td><td>0.29</td><td>22.9</td><td>105.3</td><td>100</td><td>0.21</td><td>62.6</td><td>61.6</td></tr><tr><td>AE</td><td>sphere↑</td><td>-</td><td>-</td><td>4.7</td><td>66.2</td><td>22.0</td><td>-</td><td>1.8</td><td>22.4</td><td>107.8</td><td>-</td><td>1.1</td><td>62.4</td><td>83.9</td></tr><tr><td>HVAE</td><td>sphere</td><td>KL</td><td>1</td><td>0.33</td><td>72.2</td><td>9.5</td><td>-</td><td>-</td><td>=</td><td>-</td><td>-</td><td>=</td><td>-</td><td>-</td></tr><tr><td>WAE</td><td>sphere</td><td>MMD</td><td>100</td><td>0.25</td><td>65.7</td><td>8.9</td><td>100</td><td>0.24</td><td>22.4</td><td>99.7</td><td>100</td><td>0.23</td><td>61.9</td><td>61.3</td></tr><tr><td>SAE</td><td>sphere</td><td>Sinkhorn</td><td>100</td><td>0.30</td><td>66.8</td><td>6.8</td><td>10</td><td>0.23</td><td>22.5</td><td>97.2</td><td>10</td><td>0.26</td><td>63.4</td><td>56.5</td></tr></table>
|
| 217 |
+
|
| 218 |
+
# 6.2 AUTOENCODING WITH THE SINKHORN DISTANCE AND NAT
|
| 219 |
+
|
| 220 |
+
We investigate the advantages of the Sinkhorn with respect to NAT in training autoencoders; this is an ablation study for our method. First, Sinkhorn has a lower complexity than the Hungarian. In both cases, the complexity can be reduced by mini-batch optimization. Yet, training with large minibatches $( > 2 0 0 )$ becomes quickly impractical with the Hungarian. Second, the differentiability of the Sinkhorn allows us to avoid the alternating minimization and instead backpropagate on the joint parameter space of encoder and doubly stochastic matrices. Third, the Sinkhorn approximates the empirical Wasserstein distance, while the Hungarian is optimal. Last, NAT draws samples once and uses them as targets throughout learning; their assignment to training points is updated by optimizing a permutation matrix over mini-batches and storing the local optimal result. We term NAT in this context Hungarian-targets and our method Sinkhorn-sample. We can design two hybrid methods. Hungarian-sample: a permutation $R$ can be used to compute the cost $\langle R , C ^ { \prime } \rangle _ { F }$ and backpropagate. Sinkhorn-targets: a doubly stochastic matrix $R$ solution of the Sinkhorn can be used for sampling a permutation3 and targets can be re-assigned. We test the impact of these choices experimentally by test set reconstruction error and FID score on MNIST and CIFAR10; we measure latent space mismatch by the MMD with Gaussian kernel over the test set.
|
| 221 |
+
|
| 222 |
+
Table 1 shows the results. From the FID scores, we conclude that there is no significant difference in generative performance between either Sinkhorn vs. Hungarian, or samples vs. targets. The parameter $\beta$ trading off reconstruction and latent space cost is more influential than any of these choices. On MNIST, MMD is often lower with fixed targets; this is a sign that the FID does not fully account for all model qualities. Due to the additional overhead of the Hungarian and the targets updating, our algorithm implements the Sinkhorn with mini-batch sampling. In the rest, we also fix $\beta$ for MNIST and CIFAR as the best found here.
|
| 223 |
+
|
| 224 |
+

|
| 225 |
+
Figure 2: From left to right: CIFAR10 interpolations, CelebA interpolations and samples. Models from Table 2: $( \beta$ -)VAE (top) and SAE (bottom).
|
| 226 |
+
|
| 227 |
+

|
| 228 |
+
Figure 3: $t$ -SNEs of SAE latent spaces on MNIST: a) 10-dimensional $\operatorname { D i r } ( 1 / 2 )$ and b) 16- dimensional $\operatorname { D i r } ( 1 / 5 )$ priors. For the latter: c) aggr. posterior (red) vs. prior (blue), d) interpolation between vertices and e) samples from the prior.
|
| 229 |
+
|
| 230 |
+
# 6.3 COMPARISON WITH OTHER AUTOENCODERS
|
| 231 |
+
|
| 232 |
+
We compare with AE, $( \beta \mathrm { - } ) \mathrm { V A E }$ , $\mathrm { H V A E ^ { 4 } }$ and WAE. Figures 2 shows interpolations and samples of SAE and VAE from CIFAR10 and CelebA. SAE interpolations are defined on geodesics connecting points on the hypersphere. SAE tends to produce crisper images, with higher contrast, and avoids averaging effects as particularly evident in the CelebA interpolations. The CelebA samples are also interesting: while SAE generally maintains a crisper look than VAE’s, faces appear more often malformed. Table 2 reports a quantitative comparison. Each baseline model has a version with normal and spherical prior. FID scores of SAE are on par or superior to that of VAE and consistently better than WAE. The spherical prior appears to reduce FID scores in several cases.
|
| 233 |
+
|
| 234 |
+
# 6.4 DIRICHLET PRIORS
|
| 235 |
+
|
| 236 |
+
We further demonstrate the flexibility of SAE by using Dirichlet priors on MNIST. The prior draws samples on the probability simplex; hence, here we constrain the encoder by a final softmax layer. We use priors that concentrate on the vertices, by the intuition that digits would naturally cluster around them. A 10-dimensional $\operatorname { D i r } ( 1 / 2 )$ prior (Figure 3a) results in an embedding qualitatively similar to the uniform sphere (1e). With a more skewed prior $\operatorname { D i r } ( 1 / 5 )$ , we could expect an organization in latent space where each digit is mapped to a vertex, as little mass lies in the center. We found that in dimension 10 this is seldom the case, as multiple vertices can be taken by the same digit to model different styles, while other digits share the same vertex.
|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
Figure 4: Toy probabilistic programming: data and localization (left), reconstructions (center) and samples (right). AIR (top) and SAE (bottom).
|
| 240 |
+
|
| 241 |
+
We thus experiment with a 16-dimensional $\operatorname { D i r } ( 1 / 5 )$ , which yields more disconnected clusters (3b); the effect is evident when showing the prior and the aggregated posterior that tries to cover it (3c). Figure 3d (leftmost and rightmost columns) shows that every digit $0 - 9$ is indeed represented on one of the 16 vertices, while some digits are present with multiple styles, e.g. the 7. The central samples in the Figure are the interpolations obtained by sampling on edges connecting vertices – no real data is autoencoded. Samples from the vertices appear much crisper than other prior samples (3e), a sign of mismatch between prior and aggregated posterior on areas with lower probability mass. Finally, we point out that we could even learn the Dirichlet hyperparameter(s) with a reparametrization trick (Figurnov et al., 2018) and let the data inform the model on the best prior.
|
| 242 |
+
|
| 243 |
+
# 6.5 TOY PROBABILISTIC PROGRAMMING
|
| 244 |
+
|
| 245 |
+
We run a final experiment to showcase that SAE can handle more complex implicit distributions, on a toy example of probabilistic programming. The goal is to learn a generative model for MNIST digits positioned on a larger canvas; the data is corrupted with salt noise that we do not model explicitly and which are model is thus required to ignore. The generative model samples from a factored prior distribution for $z _ { w h a t }$ — the digit appearance — from a 10-dimensional sphere and for zwhere — the location and scale — from a 3-dimensional Normal. A decoder network is fed with $z _ { w h a t }$ and generates the digit; the digit is then positioned on the black canvas on the coordinates given by a spatial transformer (Jaderberg et al., 2015) which is fed with $z _ { w h e r e }$ . The inference model produces $z _ { w h a t } , z _ { w h e r e }$ from the canvas, by using a spatial transformer and a encoder mirroring the generator.
|
| 246 |
+
|
| 247 |
+
Our autoencoder is fully deterministic. The cost in latent space amounts to the sum of the Sinkhorn distances in the two prior components, Normal and hyperspherical. Figure 4 compares qualitatively with a simplified version of AIR (Eslami et al., 2016), that is built on variational inference with an explicit modelling of the approximate posterior distribution for this program. SAE is able to replicate the behaviour of AIR by locating the digit on the canvas, ignoring the noise in reconstruction and generating realistic samples.
|
| 248 |
+
|
| 249 |
+
# 7 CONCLUSIONS
|
| 250 |
+
|
| 251 |
+
We introduced a new generative model built on the principles of Optimal Transport. Working with empirical Wasserstein distances and deterministic networks provides us with a flexible likelihoodfree framework for latent variable modeling. Besides, the theory suggests improving matching in latent space which could be achieved by the use of parametric implicit prior distributions.
|
| 252 |
+
|
| 253 |
+
# REFERENCES
|
| 254 |
+
|
| 255 |
+
Ryan Prescott Adams and Richard S Zemel. Ranking via Sinkhorn propagation. arXiv preprint arXiv:1106.1925, 2011.
|
| 256 |
+
|
| 257 |
+
Alexander Alemi, Ben Poole, Ian Fischer, Joshua Dillon, Rif A Saurous, and Kevin Murphy. Fixing a broken ELBO. In ICML, 2018.
|
| 258 |
+
|
| 259 |
+
Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. In ICLR, 2017.
|
| 260 |
+
|
| 261 |
+
Jason Altschuler, Jonathan Weed, and Philippe Rigollet. Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration. In NIPS, 2017.
|
| 262 |
+
|
| 263 |
+
Luca Ambrogioni, Umut Guc¸l ¨ u, Ya ¨ gmur G ˘ uc¸l ¨ ut¨ urk, Max Hinne, Marcel AJ van Gerven, and Eric ¨ Maris. Wasserstein variational inference. In NIPS, 2018.
|
| 264 |
+
|
| 265 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. In ´ ICML, 2017.
|
| 266 |
+
|
| 267 |
+
Radu Balan, Maneesh Singh, and Dongmian Zou. Lipschitz properties for deep convolutional networks. arXiv preprint arXiv:1701.05217, 2017.
|
| 268 |
+
|
| 269 |
+
Piotr Bojanowski and Armand Joulin. Unsupervised learning by predicting noise. In ICML, 2017.
|
| 270 |
+
|
| 271 |
+
Olivier Bousquet, Sylvain Gelly, Ilya Tolstikhin, Carl-Johann Simon-Gabriel, and Bernhard Schoelkopf. From optimal transport to generative modeling: the VEGAN cookbook. arXiv preprint arXiv:1705.07642, 2017.
|
| 272 |
+
|
| 273 |
+
Nicolas Courty, Remi Flamary, and Devis Tuia. Domain adaptation with regularized optimal trans- ´ port. In KDD, 2014.
|
| 274 |
+
|
| 275 |
+
Marco Cuturi. Sinkhorn distances: Lightspeed computation of optimal transport. In NIPS, 2013.
|
| 276 |
+
|
| 277 |
+
Tim R Davidson, Luca Falorsi, Nicola De Cao, Thomas Kipf, and Jakub M Tomczak. Hyperspherical variational auto-encoders. In UAI, 2018.
|
| 278 |
+
|
| 279 |
+
Jeff Donahue, Philipp Krahenb ¨ uhl, and Trevor Darrell. Adversarial feature learning. In ¨ ICLR, 2017.
|
| 280 |
+
|
| 281 |
+
SM Ali Eslami, Nicolas Heess, Theophane Weber, Yuval Tassa, David Szepesvari, Geoffrey E Hinton, et al. Attend, infer, repeat: Fast scene understanding with generative models. In NIPS, 2016.
|
| 282 |
+
|
| 283 |
+
Michael Figurnov, Shakir Mohamed, and Andriy Mnih. Implicit reparameterization gradients. In NIPS, 2018.
|
| 284 |
+
|
| 285 |
+
Fajwel Fogel, Rodolphe Jenatton, Francis Bach, and Alexandre d’Aspremont. Convex relaxations for permutation problems. In NIPS, 2013.
|
| 286 |
+
|
| 287 |
+
Charlie Frogner, Chiyuan Zhang, Hossein Mobahi, Mauricio Araya, and Tomaso A Poggio. Learning with a wasserstein loss. In NIPS, 2015.
|
| 288 |
+
|
| 289 |
+
Aude Genevay, Gabriel Peyre, Marco Cuturi, et al. Learning generative models with Sinkhorn ´ divergences. In AISTATS, 2018.
|
| 290 |
+
|
| 291 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, 2014.
|
| 292 |
+
|
| 293 |
+
Arthur Gretton, Karsten M Borgwardt, Malte J Rasch, Bernhard Scholkopf, and Alexander Smola. ¨ A kernel two-sample test. Journal of Machine Learning Research, 13(Mar):723–773, 2012.
|
| 294 |
+
|
| 295 |
+
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local nash equilibrium. In NIPS, 2017.
|
| 296 |
+
|
| 297 |
+
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 ICLR, 2017.
|
| 298 |
+
|
| 299 |
+
Geoffrey E Hinton and Ruslan R Salakhutdinov. Reducing the dimensionality of data with neural networks. science, 313(5786):504–507, 2006.
|
| 300 |
+
|
| 301 |
+
Matthew D Hoffman and Matthew J Johnson. ELBO surgery: yet another way to carve up the variational evidence lower bound. In Workshop in Advances in Approximate Bayesian Inference, NIPS, 2016.
|
| 302 |
+
|
| 303 |
+
Kurt Hornik. Approximation capabilities of multilayer feedforward networks. Neural networks, 4 (2):251–257, 1991.
|
| 304 |
+
|
| 305 |
+
Gao Huang, Chuan Guo, Matt J Kusner, Yu Sun, Fei Sha, and Kilian Q Weinberger. Supervised word mover’s distance. In NIPS, 2016.
|
| 306 |
+
|
| 307 |
+
Ferenc Huszar. Variational inference using implicit distributions. ´ arXiv preprint arXiv:1702.08235, 2017.
|
| 308 |
+
|
| 309 |
+
Max Jaderberg, Karen Simonyan, and Andrew Zisserman. Spatial transformer networks. In NIPS, 2015.
|
| 310 |
+
|
| 311 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2014.
|
| 312 |
+
|
| 313 |
+
Diederik $\mathrm { \bf P }$ Kingma and Max Welling. Auto-encoding variational Bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 314 |
+
|
| 315 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
|
| 316 |
+
|
| 317 |
+
Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83–97, 1955.
|
| 318 |
+
|
| 319 |
+
Scott W Linderman, Gonzalo E Mena, Hal Cooper, Liam Paninski, and John P Cunningham. Reparameterizing the Birkhoff polytope for variational permutation inference. AISTATS, 2018.
|
| 320 |
+
|
| 321 |
+
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In ICCV, 2015.
|
| 322 |
+
|
| 323 |
+
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using $t$ -SNE. Journal of machine learning research, 9(Nov):2579–2605, 2008.
|
| 324 |
+
|
| 325 |
+
Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. ICLR, 2015.
|
| 326 |
+
|
| 327 |
+
Shakir Mohamed and Balaji Lakshminarayanan. Learning in implicit generative models. In ICML, 2016.
|
| 328 |
+
|
| 329 |
+
Boris Muzellec, Richard Nock, Giorgio Patrini, and Frank Nielsen. Tsallis regularized optimal transport and ecological inference. In AAAI, 2017.
|
| 330 |
+
|
| 331 |
+
Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In ECCV, 2016.
|
| 332 |
+
|
| 333 |
+
Mehdi Noroozi, Hamed Pirsiavash, and Paolo Favaro. Representation learning by learning to count. CVPR, 2017.
|
| 334 |
+
|
| 335 |
+
Augustus Odena, Jacob Buckman, Catherine Olsson, Tom B Brown, Christopher Olah, Colin Raffel, and Ian Goodfellow. Is generator conditioning causally related to GAN performance? In ICML, 2018.
|
| 336 |
+
|
| 337 |
+
Gabriel Peyre and Marco Cuturi.´ Computational optimal transport. arXiv preprint arXiv:1803.00567, 2018.
|
| 338 |
+
|
| 339 |
+
Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. ICML, 2014.
|
| 340 |
+
Mihaela Rosca, Balaji Lakshminarayanan, and Shakir Mohamed. Distribution matching in variational inference. arXiv preprint arXiv:1802.06847, 2018.
|
| 341 |
+
Paul K Rubenstein, Bernhard Schoelkopf, and Ilya Tolstikhin. Wasserstein auto-encoders: Latent dimensionality and random encoders. In ICLR workshop, 2018.
|
| 342 |
+
Rodrigo Santa Cruz, Basura Fernando, Anoop Cherian, and Stephen Gould. Deeppermnet: Visual permutation learning. In CVPR, 2017.
|
| 343 |
+
Richard Sinkhorn. A relationship between arbitrary positive matrices and doubly stochastic matrices. Ann. Math. Statist., 35, 1964.
|
| 344 |
+
Ilya Tolstikhin, Olivier Bousquet, Sylvain Gelly, and Bernhard Schoelkopf. Wasserstein autoencoders. In ICLR, 2018.
|
| 345 |
+
Jakub M Tomczak and Max Welling. VAE with a VampPrior. In AISTATS, 2017.
|
| 346 |
+
C. Villani. Optimal Transport: Old and New. Grundlehren der mathematischen Wissenschaften. Springer Berlin Heidelberg, 2008.
|
| 347 |
+
Jonathan Weed. An explicit analysis of the entropic penalty in linear programming. arXiv preprint arXiv:1806.01879, 2018.
|
| 348 |
+
Jonathan Weed and Francis Bach. Sharp asymptotic and finite-sample rates of convergence of empirical measures in wasserstein distance. In NIPS, 2017.
|
| 349 |
+
Chao-Yuan Wu, R. Manmatha, Alexander J. Smola, and Philipp Krahenb ¨ uhl. Sampling matters in ¨ deep embedding learning. In ICCV, 2017.
|
| 350 |
+
|
| 351 |
+
# A APPENDIX
|
| 352 |
+
|
| 353 |
+
# A.1 LEMMA
|
| 354 |
+
|
| 355 |
+
As a useful helper Lemma, we prove a Lipschitz property for the Wasserstein distance $W _ { p }$ .
|
| 356 |
+
|
| 357 |
+
Lemma A.1. For every $P _ { X } , P _ { Y }$ distributions on a sample space $s$ and a Lipschitz map $F$ we have that
|
| 358 |
+
|
| 359 |
+
$$
|
| 360 |
+
W _ { p } ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } ) \leq \gamma \cdot W _ { p } ( P _ { X } , P _ { Y } ) ,
|
| 361 |
+
$$
|
| 362 |
+
|
| 363 |
+
where $\gamma$ is the Lipschitz constant of $F$ .
|
| 364 |
+
|
| 365 |
+
Proof. Recall that
|
| 366 |
+
|
| 367 |
+
$$
|
| 368 |
+
W _ { p } ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } ) ^ { p } = \operatorname* { i n f } _ { \substack { \Gamma \in \Pi ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } ) } } \int _ { S \times S } \| x - y \| _ { p } ^ { p } d \Gamma ( x , y ) .
|
| 369 |
+
$$
|
| 370 |
+
|
| 371 |
+
Notice then that for every $\Gamma \in \Pi ( P _ { X } , P _ { Y } )$ we have that $( F \times F ) _ { \# } \Gamma \in \Pi ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } )$ . Hence
|
| 372 |
+
|
| 373 |
+
$$
|
| 374 |
+
\{ ( F \times F ) _ { \# } \Gamma : \Gamma \in \Pi ( P _ { X } , P _ { Y } ) \} \subset \Pi ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } ) .
|
| 375 |
+
$$
|
| 376 |
+
|
| 377 |
+
From (16) we deduce that
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\begin{array} { l } { { \displaystyle W _ { p } ( F _ { \# } P _ { X } , F _ { \# } P _ { Y } ) ^ { p } \leq \operatorname* { i n f } _ { \Gamma \in \Pi ( P _ { X } , P _ { Y } ) } \int _ { S \times S } \| x - y \| _ { p } ^ { p } d ( F \times F ) _ { \# } \Gamma } } \\ { ~ = \operatorname* { i n f } _ { \Gamma \in \Pi ( P _ { X } , P _ { Y } ) } \int _ { S \times S } \| F ( x ) - F ( y ) \| _ { p } ^ { p } d \Gamma } \\ { ~ \leq \gamma ^ { p } \cdot ( W _ { p } ( P _ { X } , P _ { Y } ) ) ^ { p } . } \end{array}
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
Taking the $p$ -root on both sides we conclude.
|
| 384 |
+
|
| 385 |
+
# A.2 PROOF OF THEOREM 3.1
|
| 386 |
+
|
| 387 |
+
Proof. Using the triangle inequality of the Wasserstein distance we obtain
|
| 388 |
+
|
| 389 |
+
$$
|
| 390 |
+
\begin{array} { r l } & { W _ { p } ( P _ { X } , G _ { \# } P _ { Z } ) \leq W _ { p } ( P _ { X } , G _ { \# } Q _ { Z } ) + W _ { p } ( G _ { \# } Q _ { Z } , G _ { \# } P _ { Z } ) } \\ & { \qquad \leq W _ { p } ( P _ { X } , G _ { \# } Q _ { Z } ) + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } ) , } \end{array}
|
| 391 |
+
$$
|
| 392 |
+
|
| 393 |
+
where in line (17) we have used Lemma A.1.
|
| 394 |
+
|
| 395 |
+
In case $G$ is not deterministic, defining
|
| 396 |
+
|
| 397 |
+
$$
|
| 398 |
+
\gamma = \operatorname* { s u p } _ { \mathcal { P } , \mathcal { Q } } \frac { W _ { p } ( G ( X \vert Z ) _ { \# } \mathcal { P } , G ( X \vert Z ) _ { \# } \mathcal { Q } ) } { W _ { p } ( \mathcal { P } , \mathcal { Q } ) }
|
| 399 |
+
$$
|
| 400 |
+
|
| 401 |
+
exp we can still formulate a bound. The result follows directly from the first line of (17).
|
| 402 |
+
|
| 403 |
+
# A.3 PROOF OF THEOREM 3.2
|
| 404 |
+
|
| 405 |
+
The basic tool to prove Theorem 3.2 is the equivalence between Monge and Kantorovich formulation of optimal transport. For convenience we formulate its statement and we refer to Villani (2008) for a more detailed explanation.
|
| 406 |
+
|
| 407 |
+
Theorem A.2 (Monge-Kontorovich equivalence). Given $P _ { X }$ and $P _ { Y }$ probability distributions on $\mathcal { X }$ such that $P _ { X }$ is not atomic, $c : \mathcal { X } \times \mathcal { X } \mathbb { R }$ continuous, we have
|
| 408 |
+
|
| 409 |
+
$$
|
| 410 |
+
W _ { c } ( P _ { X } , P _ { Y } ) = \operatorname* { i n f } _ { \stackrel { T : \mathcal { X } \to \mathcal { X } _ { Y } } { T _ { \# } P _ { X } = P _ { Y } } } \int _ { \mathcal { X } } c ( x , T ( x ) ) d P _ { X } ( x ) .
|
| 411 |
+
$$
|
| 412 |
+
|
| 413 |
+
We are now in position to prove Theorem 3.2. We will prove it for a general continuous cost $c$
|
| 414 |
+
|
| 415 |
+
Proof. Notice that as the encoder $Q ( Z | X )$ is deterministic there exists $Q : \mathcal { X } \mathcal { Z }$ such that $Q _ { Z } = Q _ { \# } P _ { X }$ and $Q ( Z | X ) = \delta _ { \{ Q ( x ) = z \} }$ . Hence
|
| 416 |
+
|
| 417 |
+
$$
|
| 418 |
+
\begin{array} { l l l } { { \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ c ( X , G ( Z ) ) ] } } & { { = } } & { { \displaystyle \int _ { \mathcal { X } \times \mathcal { Z } } c ( x , G ( z ) ) d P _ { X } ( x ) d \delta _ { \{ Q ( x ) = z \} } ( z ) } } \\ { { } } & { { = } } & { { \displaystyle \int _ { \mathcal { X } } d P _ { X } ( x ) \int _ { \mathcal { Z } } c ( x , G ( z ) ) d \delta _ { \{ Q ( x ) = z \} } ( z ) } } \\ { { } } & { { = } } & { { \displaystyle \int _ { \mathcal { X } } c ( x , G ( Q ( x ) ) ) d P _ { X } ( x ) . } } \end{array}
|
| 419 |
+
$$
|
| 420 |
+
|
| 421 |
+
Therefore
|
| 422 |
+
|
| 423 |
+
$$
|
| 424 |
+
\operatorname* { i n f } _ { \substack { 2 ( Z | X ) \mathrm { \scriptsize ~ d e t e r m i n i s t i c : } Q _ { Z } = P _ { Z } } } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ e ( X , G ( Z ) ) ] = \operatorname* { i n f } _ { \substack { Q _ { Z } \colon \mathcal { X } \to Z } \atop \mathcal { Q } _ { Z } = P _ { Z } } \int _ { \mathcal X } c ( x , G ( Q ( x ) ) ) d P _ { X } .
|
| 425 |
+
$$
|
| 426 |
+
|
| 427 |
+
We now want to prove that
|
| 428 |
+
|
| 429 |
+
$$
|
| 430 |
+
\left\{ G \circ Q : Q _ { \# } P _ { X } = P _ { Z } \right\} = \left\{ T : \mathcal { X } \to \mathcal { X } : T _ { \# } P _ { X } = P _ { G } \right\} .
|
| 431 |
+
$$
|
| 432 |
+
|
| 433 |
+
For the first inclusion $\subset$ notice that for every $Q : \mathcal { X } \mathcal { Z }$ such that $Q _ { Z } = P _ { Z }$ we have that $G \circ Q : \mathcal { X } \to \mathcal { X }$ and
|
| 434 |
+
|
| 435 |
+
$$
|
| 436 |
+
( G \circ Q ) _ { \# } P _ { X } = G _ { \# } Q _ { \# } P _ { X } = G _ { \# } P _ { Z } .
|
| 437 |
+
$$
|
| 438 |
+
|
| 439 |
+
For the other inclusion $\supset$ consider $T : \mathcal { X } \mathcal { X }$ such that $T _ { \# } P _ { X } = P _ { G } = G _ { \# } P _ { Z }$ . We want first to prove that there exists a set $A \subset { \mathcal { X } }$ with $P _ { X } ( A ) = 1$ such that $G : { \mathcal { Z } } \to T ( A )$ is surjective. Indeed if it does not hold there exists $B \subset { \mathcal { X } }$ with $P _ { X } ( B ) > 0$ and $G ^ { - 1 } ( T ( B ) ) = \mathrm { \hat { \varnothing } }$ . Hence
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
0 = G _ { \# } P _ { Z } ( T ( B ) ) = T _ { \# } P _ { X } ( T ( B ) ) = P _ { X } ( B ) > 0
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
that is a contraddiction. Therefore by standard set theory the map $G : { \mathcal { Z } } \to T ( A )$ has a right inverse that we denote by $\widetilde { G }$ . Then define $Q = \widetilde { G } \circ T$ . Notice that $G \circ Q = G \circ \widetilde { G } \circ T = T$ almost surely in $P _ { X }$ and also
|
| 446 |
+
|
| 447 |
+
$$
|
| 448 |
+
( \widetilde G \circ T ) _ { \# } P _ { X } = P _ { Z } .
|
| 449 |
+
$$
|
| 450 |
+
|
| 451 |
+
Indeed for any $A \subset { \mathcal { Z } }$ Borel we have
|
| 452 |
+
|
| 453 |
+
$$
|
| 454 |
+
( \widetilde G \circ T ) _ { \# } P _ { X } ( A ) = ( \widetilde G \circ G ) _ { \# } P _ { Z } ( A ) = P _ { Z } ( \widetilde G ^ { - 1 } ( G ^ { - 1 } ( A ) ) = P _ { Z } ( A ) .
|
| 455 |
+
$$
|
| 456 |
+
|
| 457 |
+
This concludes the proof of the claim in (20). Now we have
|
| 458 |
+
|
| 459 |
+
$$
|
| 460 |
+
\operatorname* { i n f } _ { Q : \mathcal { X } \mathcal { Z } \atop Q _ { \# } ( P _ { X } ) = P _ { Z } } \int _ { \mathcal X } c ( x , G ( Q ( x ) ) ) d P _ { X } ( x ) = \operatorname* { i n f } _ { T : \mathcal { X } \mathcal { X } _ { G } } \int _ { \mathcal X } c ( x , T ( x ) ) d P _ { X } ( x ) .
|
| 461 |
+
$$
|
| 462 |
+
|
| 463 |
+
Notice that this is exactly the Monge formulation of optimal transport. Therefore by Theorem A.2 we conclude that
|
| 464 |
+
|
| 465 |
+
${ \underset { { \substack { \mathrm { 2 ( } } Z \mid X ) \mathrm { ~ d e t e r m i n i s t i c : } } \ Q _ { Z } = P _ { Z } } { \operatorname* { l i m } } } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z \mid X ) } [ e ( X , G ( Z ) ) ] = { \underset { { \substack { \mathrm { ~ \tiny ~ \mathrm { 1 ( } } P _ { X } , P _ { G } ) } } } { \operatorname* { i n f } } } \mathbb { E } _ { ( X , Y ) \sim \Gamma } [ e ( X , Y ) ]$ as we aimed.
|
| 466 |
+
|
| 467 |
+
A.4 TOLSTIKHIN ET AL. (2018)’S THEOREM AS A CONSEQUENCE
|
| 468 |
+
|
| 469 |
+
Proof. Thanks to Theorem 3.2 we have that
|
| 470 |
+
|
| 471 |
+
$$
|
| 472 |
+
\begin{array} { r l r } { W _ { c } ( P _ { X } , P _ { G } ) } & { = } & { \underset { Q ( Z | X ) \mathrm { ~ d e t e r m i n i s t i c : ~ } Q _ { Z } = P _ { Z } } { \operatorname* { i n f } } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ c ( X , G ( Z ) ) ] } \\ & { \geq } & { \underset { Q ( Z | X ) \colon Q _ { Z } = P _ { Z } } { \operatorname* { i n f } } \mathbb { E } _ { X \sim P _ { X } } \mathbb { E } _ { Z \sim Q ( Z | X ) } [ c ( X , G ( Z ) ) ] . } \end{array}
|
| 473 |
+
$$
|
| 474 |
+
|
| 475 |
+
For the opposite inequality given $Q ( Z | X )$ such that $\begin{array} { r } { P _ { Z } \ = \ \int Q ( Z | X ) d P _ { X } } \end{array}$ define $Q ( X , Y ) =$ $P _ { X } \times \left[ G _ { \# } Q ( Z | X ) \right]$ . It is a distribution on $\mathcal { X } \times \mathcal { X }$ and it is easy to check that $\pi _ { \# } ^ { 1 } Q ( X , Y ) = P _ { X }$ and $\pi _ { \# } ^ { 2 } Q ( X , Y ) = G _ { \# } P _ { Z }$ , where $\pi ^ { 1 }$ and $\pi ^ { 2 }$ are the projection on the first and the second component. Therefore
|
| 476 |
+
|
| 477 |
+
$$
|
| 478 |
+
\{ Q ( X , Z ) : Q ( Z | X ) \mathrm { s u c h t h a t } Q _ { Z } = P _ { Z } \} \subset \Pi ( P _ { X } , P _ { G } )
|
| 479 |
+
$$
|
| 480 |
+
|
| 481 |
+
and so
|
| 482 |
+
|
| 483 |
+
$$
|
| 484 |
+
\begin{array} { l } { { W _ { c } ( P _ { X } , P _ { G } ) \leq \underset { Q ( Z | X ) : Q _ { Z } = P _ { Z } } { \operatorname* { i n f } } \int _ { \mathcal { X } \times \mathcal { X } } c ( x , y ) d Q ( x , y ) } } \\ { { \ } } \\ { { \displaystyle \quad = \int _ { \mathcal { X } } \left[ \int _ { \mathcal { X } } c ( x , y ) d G _ { \# } Q ( Z | X ) ( y ) \right] d P _ { X } } } \\ { { \ \displaystyle \quad = \int _ { \mathcal { X } } \left[ \int _ { \mathcal { X } } c ( x , G ( z ) ) d Q ( Z | X ) ( z ) \right] d P _ { X } . } } \end{array}
|
| 485 |
+
$$
|
| 486 |
+
|
| 487 |
+
# A.5 BOUNDS FOR NEURAL NETWORKS
|
| 488 |
+
|
| 489 |
+
Theorem A.3. Let $P _ { X }$ be non-atomic and $G ( X | Z )$ be deterministic and $\gamma$ -Lipschitz. If $Q ^ { N N }$ is a neural network approximating a near optimal deterministic encoder up to an error of $\varepsilon \geq 0$ in $L _ { p }$ -norm then we have the inequality:
|
| 490 |
+
|
| 491 |
+
$$
|
| 492 |
+
0 \leq \left\{ \sqrt { \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ^ { N N } ( X ) ) \| _ { p } ^ { p } ] } + \gamma \cdot W _ { p } ( Q _ { Z } ^ { N N } , P _ { Z } ) \right\} - W _ { p } ( P _ { X } , P _ { G } ) \leq 3 \gamma \varepsilon .
|
| 493 |
+
$$
|
| 494 |
+
|
| 495 |
+
Proof. Let $Q ^ { * }$ be an optimal measurable deterministic encoder that optimizes the right-hand side of Theorem 3.1 among measurable deterministic encoder (or at least $\delta \leq \gamma \varepsilon$ close to it) and $Q ^ { \mathrm { N N } }$ a
|
| 496 |
+
|
| 497 |
+
neural network approximation of $Q ^ { * }$ such that $\sqrt { \mathbb { E } _ { X \sim P _ { X } } [ \| Q ^ { * } ( X ) - Q ^ { \mathrm { N N } } ( X ) ) \| _ { p } ^ { p } ] } \leq \varepsilon$ (existence by Hornik (1991)). Then we get:
|
| 498 |
+
|
| 499 |
+
$$
|
| 500 |
+
\begin{array} { r l } & { \sqrt { | \mathbf { E } \| _ { X \sim \mathcal { P } _ { x } } \| | X - G ( Q ^ { \mathrm { W } } ( X ) ) \| _ { \mathcal { F } } ^ { 2 } \Big ) + \gamma \cdot W _ { \mathcal { F } } ( Q _ { Z } ^ { \mathrm { W Z } } , P _ { Z } ) } } \\ & { \operatorname* { m a x } _ { \phi \leq \infty } \sqrt { | \mathbf { E } \| - G ( Q ^ { \mathrm { W } } ( X ) ) \| _ { \mathcal { F } } ^ { 2 } \Big ) + \gamma \cdot W _ { \mathcal { F } } ( Q _ { Z } ^ { \mathrm { W Z } } , P _ { Z } ) } } \\ & { \qquad + \underbrace { \sqrt { | \mathbf { E } _ { X \sim \mathcal { P } _ { x } } | | G ( Q ^ { \mathrm { W } } ( X ) ) - G ( Q ^ { \mathrm { W } } ( X ) ) | | _ { \mathcal { F } } ^ { 2 } | } } _ { \mathrm { C r e ~ } } } \\ & { \qquad + \frac { \gamma } { \gamma } \cdot \underbrace { \| \mathbf { U } _ { \mathcal { F } } ( Q _ { X } ^ { \mathrm { W } } , Q _ { Z } ^ { \mathrm { W Z } } ) + \gamma \cdot W _ { \mathcal { F } } ( Q _ { Z } ^ { \mathrm { W Z } } , P _ { Z } ) } _ { \leq 2 } } \\ & { \qquad \lesssim \sqrt { | \mathbf { E } _ { X \sim \mathcal { P } _ { x } } | | X - G ( Q ^ { \mathrm { W } } ( X ) ) | _ { \mathcal { F } } ^ { 2 } | } + \gamma \cdot W _ { \mathcal { S } } ( Q _ { Z } ^ { \mathrm { W } } , P _ { Z } ) + 2 \gamma \varepsilon } \\ & { \qquad \times \mathrm { d } _ { \mathcal { F } } ^ { \mathrm { a d } } \mathrm { ~ s i n c ~ } \Big \{ \sqrt { | \mathbf { E } _ { X \sim \mathcal { P } _ { x } } | | X - G ( Q ^ { \mathrm { W } } ( X ) ) | | _ { \mathcal { F } } ^ { 2 } | } + \gamma \cdot W _ { \mathcal { F } } ( Q _ { Z } , P _ { Z } ) \Big \} + \delta + 2 \gamma \varepsilon } \\ & { \qquad \leq \frac { \gamma } { \alpha } W _ { \mathcal { F } } ( P _ { X } , P _ { Z } ) + 3 \gamma \varepsilon , } \end{array}
|
| 501 |
+
$$
|
| 502 |
+
|
| 503 |
+
where in the last inequality we use additionally that the upper bound in Theorem 3.1 is sharp.
|
| 504 |
+
|
| 505 |
+
Finally, we can also formulate a version of Corollary 3.3 restricted to deterministic neural networks as follows:
|
| 506 |
+
|
| 507 |
+
Theorem A.4. Let $P _ { X }$ be non-atomic and $G ( X | Z )$ be deterministic and $\gamma$ -Lipschitz. Then we have the equality:
|
| 508 |
+
|
| 509 |
+
$$
|
| 510 |
+
W _ { p } ( P _ { X } , P _ { G } ) = \operatorname* { i n f } _ { Q N N } \sqrt { \mathbb { E } _ { X \sim P _ { X } } [ \| X - G ( Q ( X ) ) \| _ { p } ^ { p } ] } + \gamma \cdot W _ { p } ( Q _ { Z } , P _ { Z } ) ,
|
| 511 |
+
$$
|
| 512 |
+
|
| 513 |
+
where $Q$ runs through all deterministic neural network encoders (or any other class of universal approximators).
|
| 514 |
+
|
| 515 |
+
Proof. This directly follows from A.3 in combination with Hornik (1991).
|
| 516 |
+
|
| 517 |
+
# A.6 PROOF OF THEOREM 3.4
|
| 518 |
+
|
| 519 |
+
Proof. Statement $i$ ) follows directly from the definition of push-forward of a measure.
|
| 520 |
+
|
| 521 |
+
For $_ { i i }$ ) notice that if $P _ { Z } \neq Q _ { Z }$ then there exists $A \subset { \mathcal { Z } }$ a Borel set such that $P _ { Z } ( A ) \neq Q _ { \# } P _ { X } ( A )$ . Then
|
| 522 |
+
|
| 523 |
+
$$
|
| 524 |
+
\begin{array} { r l } & { G _ { \# } P _ { Z } ( G ( A ) ) = P _ { Z } ( ( G ^ { - 1 } \circ G ) ( A ) ) = P _ { Z } ( A ) \neq Q _ { \# } P _ { X } ( A ) } \\ & { \qquad = Q _ { \# } P _ { X } ( A ) ( ( G ^ { - 1 } \circ G ) ( A ) ) = ( G \circ Q ) _ { \# } P _ { X } ( G ( A ) ) . } \end{array}
|
| 525 |
+
$$
|
| 526 |
+
|
| 527 |
+
Hence as $P _ { X } = ( G \circ Q ) _ { \# } P _ { X }$ by hypothesis, we immediately deduce that $P _ { X } \neq P _ { G }$ .
|
| 528 |
+
|
| 529 |
+
# A.7 COMPARISON WITH BOJANOWSKI & JOULIN (2017)
|
| 530 |
+
|
| 531 |
+
We prove that the cost function of NAT is equivalent to ours when the encoder output is $L _ { 2 }$ normalized, $c ^ { \prime }$ is squared Euclidean and the Sinkhorn distance is considered with $\varepsilon = 0$ :
|
| 532 |
+
|
| 533 |
+
$$
|
| 534 |
+
\begin{array} { r l } & { \begin{array} { r l } & { \mathrm { s u r g ~ } _ { \theta } ^ { \mathrm { m a x } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } } \\ & { = \mathrm { a r g ~ } _ { \theta } ^ { \mathrm { m a x } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } } \end{array} \{ R \mathcal { L } \ell _ { 2 } f _ { \theta } ( X ) \} ^ { T } ) } \\ & { = \begin{array} { r l } & { ( R + \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } ) _ { \theta \in \mathcal { P } _ { n } } } \\ & { = \mathrm { a r g ~ } _ { \theta } ^ { \mathrm { i n } \operatorname* { i n } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } , } \end{array} } \\ & { = \begin{array} { r l } & { ( R + \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } ) _ { \theta \in \mathcal { P } _ { n } } } \\ & { = \mathrm { a r g ~ } _ { \theta } ^ { \mathrm { i n } \operatorname* { i n } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } } \end{array} \| R \mathbb { Z } \| _ { \theta } ^ { 2 } + \| \mathcal { L } \mu ( X ) \| _ { \theta } ^ { 2 } - 2 ( R \mathbb { Z } , \hat { \rho } _ { \theta } ( X ) ) F } \\ & { = \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } } \end{array} \\ & = \begin{array} { r l } & { ( R + \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } ) _ { \theta \in \mathcal { P } _ { n } } } \\ & { = \mathrm { a r g ~ } _ { \theta } ^ { \mathrm { i n } \operatorname* { i n } } \underset { \theta \in \mathcal { P } _ { n } } { \operatorname { I m } } } \end{array}
|
| 535 |
+
$$
|
| 536 |
+
|
| 537 |
+
Step 24 holds because both $R$ and $f _ { \theta } ( X )$ are row normalized. Step 25 exploits $R$ being a permutation matrix. The inclusion in Step 28 extend to degenerate solutions of the linear program that may not lie on vertices. We have discussed several differences between our Sinkhorn encoder and NAT. There are other minor ones with Bojanowski $\&$ Joulin (2017): ImageNet inputs are first converted to grey and passed through Sobel filters and the permutations are updated with the Hungarian only every 3 epochs. Preliminary experiments ruled our any clear gain of those choices in our setting.
|
| 538 |
+
|
| 539 |
+
# A.8 PROOF OF PROPOSITION 6.1
|
| 540 |
+
|
| 541 |
+
Proof. Let $z , z ^ { \prime }$ two points sampled uniformrly from a $d$ -dimensional sphere. Let $\alpha$ be the Euclidean distance between the two points. $\alpha$ has an analytical form (Wu et al., 2017) :
|
| 542 |
+
|
| 543 |
+
$$
|
| 544 |
+
p ( \| z - z ^ { \prime } \| _ { 2 } ) = p ( \alpha ) = \frac { \alpha ^ { d - 2 } } { c ( d ) } \left[ 1 - \frac { 1 } { 4 } \alpha ^ { 2 } \right] ^ { \frac { d - 3 } { 2 } } , \quad \mathrm { w h e r e } \quad c ( d ) = \sqrt { \pi } \frac { \Gamma \left( \frac { d - 1 } { 2 } \right) } { \Gamma \left( \frac { d } { 2 } \right) } .
|
| 545 |
+
$$
|
| 546 |
+
|
| 547 |
+
For high dimension, it approaches a Gaussian: $\begin{array} { r } { p ( \alpha ) \approx \mathcal { N } ( \sqrt { 2 } , \frac { 1 } { 2 d } ) } \end{array}$ as $d \to + \infty$ . By the Chebischev inequality, for every $t > 0$
|
| 548 |
+
|
| 549 |
+
$$
|
| 550 |
+
P ( | \alpha - \sqrt { 2 } | \geq t ) \leq \frac { 1 } { 2 d t ^ { 2 } } .
|
| 551 |
+
$$
|
| 552 |
+
|
| 553 |
+
Choosing $t = - \delta + \sqrt { 2 }$ for $\delta < \sqrt { 2 }$ and using the symmetry of the Gaussian around the expectation we obtain
|
| 554 |
+
|
| 555 |
+
$$
|
| 556 |
+
\begin{array} { c } { { \displaystyle \frac 1 { 2 d ( \sqrt 2 - \delta ) ^ { 2 } } \geq P ( | \alpha - \sqrt 2 | \geq - \delta + \sqrt 2 ) } } \\ { { { } } } \\ { { { } = 2 P ( \alpha \leq \sqrt 2 + \delta - \sqrt 2 ) } } \\ { { { } } } \\ { { { } = 2 \left( 1 - P ( \alpha \geq \delta ) \right) . } } \end{array}
|
| 557 |
+
$$
|
| 558 |
+
|
| 559 |
+
Hence
|
| 560 |
+
|
| 561 |
+
$$
|
| 562 |
+
P ( \alpha \ge \delta ) \ge 1 - { \frac { 1 } { 4 d ( \sqrt { 2 } - \delta ) ^ { 2 } } } .
|
| 563 |
+
$$
|
parse/train/BygNqoR9tm/BygNqoR9tm_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BygNqoR9tm/BygNqoR9tm_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BygNqoR9tm/BygNqoR9tm_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJcKhk-Ab/SJcKhk-Ab_content_list.json
ADDED
|
@@ -0,0 +1,1703 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "CAN RECURRENT NEURAL NETWORKS WARP TIME?",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
173,
|
| 8 |
+
102,
|
| 9 |
+
790,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Corentin Tallec ",
|
| 17 |
+
"text_level": 1,
|
| 18 |
+
"bbox": [
|
| 19 |
+
184,
|
| 20 |
+
145,
|
| 21 |
+
294,
|
| 22 |
+
159
|
| 23 |
+
],
|
| 24 |
+
"page_idx": 0
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"type": "text",
|
| 28 |
+
"text": "Yann Ollivier ",
|
| 29 |
+
"text_level": 1,
|
| 30 |
+
"bbox": [
|
| 31 |
+
516,
|
| 32 |
+
145,
|
| 33 |
+
611,
|
| 34 |
+
159
|
| 35 |
+
],
|
| 36 |
+
"page_idx": 0
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"type": "text",
|
| 40 |
+
"text": "Laboratoire de Recherche en Informatique Université Paris Sud Gif-sur-Yvette, 91190, France corentin.tallec@u-psud.fr ",
|
| 41 |
+
"bbox": [
|
| 42 |
+
184,
|
| 43 |
+
160,
|
| 44 |
+
462,
|
| 45 |
+
214
|
| 46 |
+
],
|
| 47 |
+
"page_idx": 0
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"type": "text",
|
| 51 |
+
"text": "Facebook Articial Intelligence Research \nParis, France \nyol@fb.com ",
|
| 52 |
+
"bbox": [
|
| 53 |
+
516,
|
| 54 |
+
160,
|
| 55 |
+
779,
|
| 56 |
+
200
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "ABSTRACT ",
|
| 63 |
+
"text_level": 1,
|
| 64 |
+
"bbox": [
|
| 65 |
+
454,
|
| 66 |
+
251,
|
| 67 |
+
544,
|
| 68 |
+
267
|
| 69 |
+
],
|
| 70 |
+
"page_idx": 0
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"type": "text",
|
| 74 |
+
"text": "Successful recurrent models such as long short-term memories (LSTMs) and gated recurrent units (GRUs) use ad hoc gating mechanisms. Empirically these models have been found to improve the learning of medium to long term temporal dependencies and to help with vanishing gradient issues. ",
|
| 75 |
+
"bbox": [
|
| 76 |
+
233,
|
| 77 |
+
285,
|
| 78 |
+
764,
|
| 79 |
+
342
|
| 80 |
+
],
|
| 81 |
+
"page_idx": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "text",
|
| 85 |
+
"text": "We prove that learnable gates in a recurrent model formally provide quasiinvariance to general time transformations in the input data. We recover part of the LSTM architecture from a simple axiomatic approach. ",
|
| 86 |
+
"bbox": [
|
| 87 |
+
232,
|
| 88 |
+
345,
|
| 89 |
+
764,
|
| 90 |
+
387
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "text",
|
| 96 |
+
"text": "This result leads to a new way of initializing gate biases in LSTMs and GRUs. Experimentally, this new chrono initialization is shown to greatly improve learning of long term dependencies, with minimal implementation effort. ",
|
| 97 |
+
"bbox": [
|
| 98 |
+
232,
|
| 99 |
+
391,
|
| 100 |
+
766,
|
| 101 |
+
433
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "Recurrent neural networks (e.g. (Jaeger, 2002)) are a standard machine learning tool to model and represent temporal data; mathematically they amount to learning the parameters of a parameterized dynamical system so that its behavior optimizes some criterion, such as the prediction of the next data in a sequence. ",
|
| 108 |
+
"bbox": [
|
| 109 |
+
176,
|
| 110 |
+
455,
|
| 111 |
+
823,
|
| 112 |
+
510
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "Handling long term dependencies in temporal data has been a classical issue in the learning of recurrent networks. Indeed, stability of a dynamical system comes at the price of exponential decay of the gradient signals used for learning, a dilemma known as the vanishing gradient problem (Pascanu et al., 2012; Hochreiter, 1991; Bengio et al., 1994). This has led to the introduction of recurrent models specifically engineered to help with such phenomena. ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
517,
|
| 122 |
+
823,
|
| 123 |
+
588
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Use of feedback connections (Hochreiter & Schmidhuber, 1997) and control of feedback weights through gating mechanisms (Gers et al., 1999) partly alleviate the vanishing gradient problem. The resulting architectures, namely long short-term memories (LSTMs (Hochreiter & Schmidhuber, 1997; Gers et al., 1999)) and gated recurrent units (GRUs (Chung et al., 2014)) have become a standard for treating sequential data. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
594,
|
| 133 |
+
825,
|
| 134 |
+
664
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 0
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Using orthogonal weight matrices is another proposed solution to the vanishing gradient problem, thoroughly studied in (Saxe et al., 2013; Le et al., 2015; Arjovsky et al., 2016; Wisdom et al., 2016; Henaff et al., 2016). This comes with either computational overhead, or limitation in representational power. Furthermore, restricting the weight matrices to the set of orthogonal matrices makes forgetting of useless information difficult. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
671,
|
| 144 |
+
825,
|
| 145 |
+
741
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 0
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "The contribution of this paper is threefold: ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
176,
|
| 154 |
+
747,
|
| 155 |
+
452,
|
| 156 |
+
762
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 0
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "∙ We show that postulating invariance to time transformations in the data (taking invariance to time warping as an axiom) necessarily leads to a gate-like mechanism in recurrent models (Section 1). This provides a clean derivation of part of the popular LSTM and GRU architectures from first principles. In this framework, gate values appear as time contraction or time dilation coefficients, similar in spirit to the notion of time constant introduced in (Mozer, 1992). ∙ From these insights, we provide precise prescriptions on how to initialize gate biases (Section 2) depending on the range of time dependencies to be captured. It has previously been advocated that setting the bias of the forget gate of LSTMs to 1 or 2 provides overall good performance (Gers & Schmidhuber, 2000; Jozefowicz et al., 2015). The viewpoint here explains why this is reasonable in most cases, when facing medium term dependencies, but fails when facing long to very long term dependencies. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
215,
|
| 165 |
+
775,
|
| 166 |
+
825,
|
| 167 |
+
924
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 0
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "",
|
| 174 |
+
"bbox": [
|
| 175 |
+
223,
|
| 176 |
+
103,
|
| 177 |
+
823,
|
| 178 |
+
132
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "∙ We test the empirical benefits of the new initialization on both synthetic and real world data (Section 3). We observe substantial improvement with long-term dependencies, and slight gains or no change when short-term dependencies dominate. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
217,
|
| 187 |
+
136,
|
| 188 |
+
823,
|
| 189 |
+
178
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "1 FROM TIME WARPING INVARIANCE TO GATING ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
176,
|
| 199 |
+
199,
|
| 200 |
+
591,
|
| 201 |
+
213
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "When tackling sequential learning problems, being resilient to a change in time scale is crucial. Lack of resilience to time rescaling implies that we can make a problem arbitrarily difficult simply by changing the unit of measurement of time. Ordinary recurrent neural networks are highly nonresilient to time rescaling: a task can be rendered impossible for an ordinary recurrent neural network to learn, simply by inserting a fixed, small number of zeros or whitespaces between all elements of the input sequence. An explanation is that, with a given number of recurrent units, the class of functions representable by an ordinary recurrent network is not invariant to time rescaling. ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
173,
|
| 210 |
+
228,
|
| 211 |
+
825,
|
| 212 |
+
325
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 1
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "Ideally, one would like a recurrent model to be able to learn from time-warped input data $x ( c ( t ) )$ as easily as it learns from data $x ( t )$ , at least if the time warping $c ( t )$ is not overly complex. The change of time $c$ may represent not only time rescalings, but, for instance, accelerations or decelerations of the phenomena in the input data. ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
332,
|
| 222 |
+
825,
|
| 223 |
+
388
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 1
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "We call a class of models invariant to time warping, if for any model in the class with input data $x ( t )$ , and for any time warping $c ( t )$ , there is another (or the same) model in the class that behaves on data $x ( c ( t ) )$ in the same way the original model behaves on $x ( t )$ . (In practice, this will only be possible if the warping $c$ is not too complex.) We will show that this is deeply linked to having gating mechanisms in the model. ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
173,
|
| 232 |
+
395,
|
| 233 |
+
825,
|
| 234 |
+
465
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 1
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "Invariance to time rescaling ",
|
| 241 |
+
"text_level": 1,
|
| 242 |
+
"bbox": [
|
| 243 |
+
174,
|
| 244 |
+
481,
|
| 245 |
+
369,
|
| 246 |
+
494
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Let us first discuss the simpler case of a linear time rescaling. Formally, this is a linear transformation of time, that is ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
168,
|
| 255 |
+
494,
|
| 256 |
+
823,
|
| 257 |
+
521
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "equation",
|
| 263 |
+
"img_path": "images/8220d05219a09914df46d3b4371bed17b41164db0828154e0a546ddd10704e85.jpg",
|
| 264 |
+
"text": "$$\n\\begin{array} { r c c c c } { c } & { : } & { \\mathbb { R } _ { + } } & { \\longrightarrow } & { \\mathbb { R } _ { + } } \\\\ & & { \\ t } & { \\longmapsto } & { \\alpha t } \\end{array}\n$$",
|
| 265 |
+
"text_format": "latex",
|
| 266 |
+
"bbox": [
|
| 267 |
+
418,
|
| 268 |
+
518,
|
| 269 |
+
580,
|
| 270 |
+
549
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 1
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "with $\\alpha > 0$ . For instance, receiving a new input character every 10 time steps only, would correspond to $\\alpha = 0 . 1$ . ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
169,
|
| 279 |
+
551,
|
| 280 |
+
823,
|
| 281 |
+
579
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 1
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "Studying time transformations is easier in the continuous-time setting. The discrete time equation of a basic recurrent network with hidden state $h _ { t }$ , ",
|
| 288 |
+
"bbox": [
|
| 289 |
+
173,
|
| 290 |
+
585,
|
| 291 |
+
823,
|
| 292 |
+
614
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 1
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "equation",
|
| 298 |
+
"img_path": "images/49ddb52e7711425d138b4ff1720cdb20a98714ce320e7997ada45090dd14d6de.jpg",
|
| 299 |
+
"text": "$$\nh _ { t + 1 } = \\operatorname { t a n h } \\left( W _ { x } x _ { t } + W _ { h } h _ { t } + b \\right)\n$$",
|
| 300 |
+
"text_format": "latex",
|
| 301 |
+
"bbox": [
|
| 302 |
+
380,
|
| 303 |
+
618,
|
| 304 |
+
617,
|
| 305 |
+
635
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 1
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "text",
|
| 311 |
+
"text": "can be seen as a time-discretized version of the continuous-time equation1 ",
|
| 312 |
+
"bbox": [
|
| 313 |
+
174,
|
| 314 |
+
637,
|
| 315 |
+
656,
|
| 316 |
+
652
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 1
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "equation",
|
| 322 |
+
"img_path": "images/f2e8636e96edb0836e90cf6bd241b9486c343d36ced6aea5afef2f3b92b87cd4.jpg",
|
| 323 |
+
"text": "$$\n\\frac { \\mathrm { d } h ( t ) } { \\mathrm { d } t } = \\operatorname { t a n h } { \\left( W _ { x } x ( t ) + W _ { h } h ( t ) + b \\right) } - h ( t )\n$$",
|
| 324 |
+
"text_format": "latex",
|
| 325 |
+
"bbox": [
|
| 326 |
+
338,
|
| 327 |
+
655,
|
| 328 |
+
660,
|
| 329 |
+
686
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 1
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "namely, (2) is the Taylor expansion $\\begin{array} { r } { h ( t + \\delta t ) \\approx h ( t ) + \\delta t \\frac { \\mathrm { d } h ( t ) } { \\mathrm { d } t } } \\end{array}$ ?? dℎ(??)d?? with discretization step ???? = 1. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
178,
|
| 338 |
+
689,
|
| 339 |
+
795,
|
| 340 |
+
708
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 1
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Now imagine that we want to describe time-rescaled data $x ( \\alpha t )$ with a model from the same class. Substituting $t \\gets c ( t ) = \\alpha t$ , $x ( t ) \\gets x ( \\alpha t )$ and $h ( t ) \\gets h ( \\alpha t )$ and rewriting (3) in terms of the new variables, the time-rescaled model satisfies2 ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
176,
|
| 349 |
+
713,
|
| 350 |
+
820,
|
| 351 |
+
756
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 1
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"img_path": "images/379eedb4f5a8429ab3a8e804974dfe035ef8abcb335b701e4179e9d4aa44614d.jpg",
|
| 358 |
+
"text": "$$\n\\frac { \\mathrm { d } h ( t ) } { \\mathrm { d } t } = \\alpha \\operatorname { t a n h } { \\left( W _ { x } x ( t ) + W _ { h } h ( t ) + b \\right) } - \\alpha h ( t ) .\n$$",
|
| 359 |
+
"text_format": "latex",
|
| 360 |
+
"bbox": [
|
| 361 |
+
321,
|
| 362 |
+
758,
|
| 363 |
+
676,
|
| 364 |
+
790
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 1
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "However, when translated back to a discrete-time model, this no longer describes an ordinary RNN but a leaky RNN (Jaeger, 2002, $\\ S 8 . 1 \\AA$ ). Indeed, taking the Taylor expansion of $h ( t + \\delta t )$ with $\\delta t = 1$ in (4) yields the recurrent model ",
|
| 371 |
+
"bbox": [
|
| 372 |
+
173,
|
| 373 |
+
797,
|
| 374 |
+
825,
|
| 375 |
+
840
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 1
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "equation",
|
| 381 |
+
"img_path": "images/52d572b082dc47e1c8a2ff5fbccace2c8d5c4551cfdb1efd559597b85597dff6.jpg",
|
| 382 |
+
"text": "$$\nh _ { t + 1 } = \\alpha \\operatorname { t a n h } { \\left( W _ { x } x _ { t } + W _ { h } h _ { t } + b \\right) } + ( 1 - \\alpha ) h _ { t }\n$$",
|
| 383 |
+
"text_format": "latex",
|
| 384 |
+
"bbox": [
|
| 385 |
+
330,
|
| 386 |
+
844,
|
| 387 |
+
666,
|
| 388 |
+
861
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 1
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "Thus, a straightforward way to ensure that a class of (continuous-time) models is able to represent input data $x ( \\alpha t )$ in the same way that it can represent input data $x ( t )$ , is to take a leaky model in which $\\alpha > 0$ is a learnable parameter, corresponding to the coefficient of the time rescaling. Namely, the class of ordinary recurrent networks is not invariant to time rescaling, while the class of leaky RNNs (5) is. ",
|
| 395 |
+
"bbox": [
|
| 396 |
+
173,
|
| 397 |
+
103,
|
| 398 |
+
825,
|
| 399 |
+
174
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 2
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "Learning $\\alpha$ amounts to learning the global characteristic timescale of the problem at hand. More precisely, $1 / \\alpha$ ought to be interpreted as the characteristic forgetting time of the neural network.3 ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
171,
|
| 408 |
+
180,
|
| 409 |
+
823,
|
| 410 |
+
209
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 2
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "Invariance to time warpings ",
|
| 417 |
+
"text_level": 1,
|
| 418 |
+
"bbox": [
|
| 419 |
+
174,
|
| 420 |
+
224,
|
| 421 |
+
372,
|
| 422 |
+
238
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 2
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "In all generality, we would like recurrent networks to be resilient not only to time rescaling, but to all sorts of time transformations of the inputs, such as variable accelerations or decelerations. ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
171,
|
| 431 |
+
238,
|
| 432 |
+
823,
|
| 433 |
+
266
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 2
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "An eligible time transformation, or time warping, is any increasing differentiable function $c$ from $\\mathbb { R } _ { + }$ to $\\mathbb { R } _ { + }$ . This amounts to facing input data $x ( c ( t ) )$ instead of $x ( t )$ . Applying a time warping $t \\gets c ( t )$ to the model and data in equation (3) and reasoning as above yields ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
174,
|
| 442 |
+
272,
|
| 443 |
+
825,
|
| 444 |
+
315
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 2
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "equation",
|
| 450 |
+
"img_path": "images/4109234ccec89906fb0cf557a55ab8e19e0a3af3b61f0df59aa7f1db3b911aee.jpg",
|
| 451 |
+
"text": "$$\n\\frac { \\mathrm { d } h ( t ) } { \\mathrm { d } t } = \\frac { \\mathrm { d } c ( t ) } { \\mathrm { d } t } \\operatorname { t a n h } { \\left( W _ { x } x ( t ) + W _ { h } h ( t ) + b \\right) } - \\frac { \\mathrm { d } c ( t ) } { \\mathrm { d } t } h ( t ) .\n$$",
|
| 452 |
+
"text_format": "latex",
|
| 453 |
+
"bbox": [
|
| 454 |
+
294,
|
| 455 |
+
318,
|
| 456 |
+
702,
|
| 457 |
+
351
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 2
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "Ideally, one would like a model to be able to learn from input data $x ( c ( t ) )$ as easily as it learns from data $x ( t )$ , at least if the time warping $c ( t )$ is not overly complex. ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
173,
|
| 466 |
+
359,
|
| 467 |
+
823,
|
| 468 |
+
390
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 2
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "To be invariant to time warpings, a class of (continuous-time) models has to be able to represent Equation (6) for any time warping $c ( t )$ . Moreover, the time warping is unknown a priori, so would have to be learned. ",
|
| 475 |
+
"bbox": [
|
| 476 |
+
173,
|
| 477 |
+
395,
|
| 478 |
+
825,
|
| 479 |
+
438
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 2
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "text",
|
| 485 |
+
"text": "Ordinary recurrent networks do not constitute a model class that is invariant to time rescalings, as seen above. A fortiori, this model class is not invariant to time warpings either. ",
|
| 486 |
+
"bbox": [
|
| 487 |
+
176,
|
| 488 |
+
444,
|
| 489 |
+
821,
|
| 490 |
+
473
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 2
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "For time warping invariance, one has to introduce a learnable function $g$ that will represent the derivative4 of the time warping, d??(??)d?? in (6). For instance ?? may be a recurrent neural network taking the $x$ ’s as input.5 Thus we get a class of recurrent networks defined by the equation ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
173,
|
| 499 |
+
479,
|
| 500 |
+
825,
|
| 501 |
+
529
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 2
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "equation",
|
| 507 |
+
"img_path": "images/3b2238bebe207baea7f7062ed3a57e50f025117fd639181619d564b5db6911d5.jpg",
|
| 508 |
+
"text": "$$\n\\frac { \\mathrm { d } h ( t ) } { \\mathrm { d } t } = g ( t ) \\operatorname { t a n h } { \\left( W _ { x } x ( t ) + W _ { h } h ( t ) + b \\right) } - g ( t ) h ( t )\n$$",
|
| 509 |
+
"text_format": "latex",
|
| 510 |
+
"bbox": [
|
| 511 |
+
308,
|
| 512 |
+
531,
|
| 513 |
+
691,
|
| 514 |
+
563
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 2
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "where $g$ belongs to a large class (universal approximator) of functions of the inputs. ",
|
| 521 |
+
"bbox": [
|
| 522 |
+
178,
|
| 523 |
+
564,
|
| 524 |
+
720,
|
| 525 |
+
579
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 2
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "The class of recurrent models (7) is quasi-invariant to time warpings. The quality of the invariance will depend on the learning power of the learnable function $g$ : a function $g$ that can represent any function of the data would define a class of recurrent models that is perfectly invariant to time warpings; however, a specific model for $g$ (e.g., neural networks of a given size) can only represent a specific, albeit large, class of time warpings, and so will only provide quasi-invariance. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
174,
|
| 534 |
+
585,
|
| 535 |
+
825,
|
| 536 |
+
656
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 2
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "Heuristically, $g ( t )$ acts as a time-dependent version of the fixed $\\alpha$ in (4). Just like $1 / \\alpha$ above, $1 / g ( t _ { 0 } )$ represents the local forgetting time of the network at time $t _ { 0 }$ : the network will effectively retain information about the inputs at $t _ { 0 }$ for a duration of the order of magnitude of $1 / g ( t _ { 0 } )$ (assuming $g ( t )$ does not change too much around $t _ { 0 }$ ). ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
174,
|
| 545 |
+
662,
|
| 546 |
+
825,
|
| 547 |
+
719
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 2
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "Let us translate back this equation to the more computationally realistic case of discrete time, using a Taylor expansion with step size $\\delta t = 1$ , so that $\\begin{array} { r } { \\frac { \\mathrm { d } \\bar { h } ( t ) } { \\mathrm { d } t } = \\cdots } \\end{array}$ becomes $h _ { t + 1 } = h _ { t } + \\cdots .$ Then the model (7) becomes ",
|
| 554 |
+
"bbox": [
|
| 555 |
+
173,
|
| 556 |
+
724,
|
| 557 |
+
825,
|
| 558 |
+
770
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 2
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "equation",
|
| 564 |
+
"img_path": "images/a07a6bfd364068157f4c05b4c6052755d6df77a7b27f9fde44fba4c840babdf7.jpg",
|
| 565 |
+
"text": "$$\nh _ { t + 1 } = g _ { t } \\operatorname { t a n h } \\left( W _ { x } x _ { t } + W _ { h } h _ { t } + b \\right) + \\left( 1 - g _ { t } \\right) h _ { t } .\n$$",
|
| 566 |
+
"text_format": "latex",
|
| 567 |
+
"bbox": [
|
| 568 |
+
325,
|
| 569 |
+
775,
|
| 570 |
+
673,
|
| 571 |
+
791
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 2
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "where $g _ { t }$ itself is a function of the inputs. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
176,
|
| 580 |
+
103,
|
| 581 |
+
444,
|
| 582 |
+
118
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 3
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "This model is the simplest extension of the RNN model that provides invariance to time warpings.6 It is a basic gated recurrent network, with input gating $g _ { t }$ and forget gating $( 1 - g _ { t } )$ . ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
125,
|
| 592 |
+
821,
|
| 593 |
+
155
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 3
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "Here $g _ { t }$ has to be able to learn an arbitrary function of the past inputs $x$ ; for instance, take for $g _ { t }$ the output of a recurrent network with hidden state $h ^ { g }$ : ",
|
| 600 |
+
"bbox": [
|
| 601 |
+
173,
|
| 602 |
+
160,
|
| 603 |
+
823,
|
| 604 |
+
188
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 3
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "equation",
|
| 610 |
+
"img_path": "images/b734e7ed9a1c840c8af3e68c59d8bde4ca46ee30f22847ff9e8ad0fd09c90f58.jpg",
|
| 611 |
+
"text": "$$\ng _ { t } = \\sigma ( W _ { g x } x _ { t } + W _ { g h } h _ { t } ^ { g } + b _ { g } )\n$$",
|
| 612 |
+
"text_format": "latex",
|
| 613 |
+
"bbox": [
|
| 614 |
+
392,
|
| 615 |
+
196,
|
| 616 |
+
606,
|
| 617 |
+
214
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 3
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "with sigmoid activation function $\\sigma$ (more on the choice of sigmoid below). Current architectures just reuse for $h ^ { g }$ the states $h$ of the main network (or, equivalently, relabel $h \\gets ( h , h ^ { g } )$ to be the union of both recurrent networks and do not make the distinction). ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
174,
|
| 626 |
+
220,
|
| 627 |
+
825,
|
| 628 |
+
263
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 3
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "The model (8) provides invariance to global time warpings, making all units face the same dilation/contraction of time. One might, instead, endow every unit $i$ with its own local contraction/dilation function $g ^ { i }$ . This offers more flexibility (gates have been introduced for several reasons beyond time warpings (Hochreiter, 1991)), especially if several unknown timescales coexist in the signal: for instance, in a multilayer model, each layer may have its own characteristic timescales corresponding to different levels of abstraction from the signal. This yields a model ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
173,
|
| 637 |
+
270,
|
| 638 |
+
825,
|
| 639 |
+
354
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 3
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "equation",
|
| 645 |
+
"img_path": "images/6dba5e0215b5563daa60d8ec6c8e77521ebfafbefb864557f62d1d541e24549e.jpg",
|
| 646 |
+
"text": "$$\nh _ { t + 1 } ^ { i } = g _ { t } ^ { i } \\operatorname { t a n h } { \\left( W _ { x } ^ { i } x _ { t } + W _ { h } ^ { i } h _ { t } + b ^ { i } \\right) } + \\left( 1 - g _ { t } ^ { i } \\right) h _ { t } ^ { i }\n$$",
|
| 647 |
+
"text_format": "latex",
|
| 648 |
+
"bbox": [
|
| 649 |
+
320,
|
| 650 |
+
362,
|
| 651 |
+
678,
|
| 652 |
+
388
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 3
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "with $h ^ { i }$ and $( W _ { x } ^ { i } , W _ { h } ^ { i } , b ^ { i } )$ being respectively the activation and the incoming parameters of unit $i$ , and with each $g ^ { i }$ a function of both inputs and units. ",
|
| 659 |
+
"bbox": [
|
| 660 |
+
176,
|
| 661 |
+
397,
|
| 662 |
+
823,
|
| 663 |
+
428
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 3
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "Equation 10 defines a simple form of gated recurrent network, that closely resembles the evolution equation of cell units in LSTMs, and of hidden units in GRUs. ",
|
| 670 |
+
"bbox": [
|
| 671 |
+
176,
|
| 672 |
+
434,
|
| 673 |
+
820,
|
| 674 |
+
462
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 3
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "In (10), the forget gate is tied to the input gate $( g _ { t } ^ { i }$ and $1 - g _ { t } ^ { i } )$ . Such a setting has been successfully used before (e.g. (Lample et al., 2016)) and saves some parameters, but we are not aware of systematic comparisons. Below, we initialize LSTMs this way but do not enforce the constraint throughout training. ",
|
| 681 |
+
"bbox": [
|
| 682 |
+
174,
|
| 683 |
+
468,
|
| 684 |
+
825,
|
| 685 |
+
525
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 3
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "Continuous time versus discrete time ",
|
| 692 |
+
"text_level": 1,
|
| 693 |
+
"bbox": [
|
| 694 |
+
174,
|
| 695 |
+
542,
|
| 696 |
+
433,
|
| 697 |
+
555
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 3
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Of course, the analogy between continuous and discrete time breaks down if the Taylor expansion is not valid. The Taylor expansion is valid when the derivative of the time warping is not too large, say, when $\\alpha \\lesssim 1$ or $g _ { t } \\lesssim 1$ (then (8) and (7) are close). Intuitively, for continuous-time data, the physical time increment corresponding to each time step $t t + 1$ of the discrete-time recurrent model should be smaller than the speed at which the data changes, otherwise the situation is hopeless. So discrete-time gated models are invariant to time warpings that stretch time (such as interspersing the data with blanks or having long-term dependencies), but obviously not to those that make things happen too fast for the model. ",
|
| 704 |
+
"bbox": [
|
| 705 |
+
173,
|
| 706 |
+
556,
|
| 707 |
+
825,
|
| 708 |
+
667
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 3
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "Besides, since time warpings are monotonous, we hav e d??(??)d?? > 0, i.e., ???? > 0. The two constraints $g _ { t } > 0$ and $g _ { t } < 1$ square nicely with the use of a sigmoid for the gate function $g$ . ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
173,
|
| 717 |
+
674,
|
| 718 |
+
821,
|
| 719 |
+
705
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 3
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "2 TIME WARPINGS AND GATE INITIALIZATION ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
173,
|
| 729 |
+
727,
|
| 730 |
+
571,
|
| 731 |
+
742
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 3
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "If we happen to know that the sequential data we are facing have temporal dependencies in an approximate range $[ T _ { \\mathrm { m i n } } , T _ { \\mathrm { m a x } } ]$ , it seems reasonable to use a model with memory (forgetting time) lying approximately in the same temporal range. As mentioned in Section 1, this amounts to having values of $g$ in the range $\\left[ \\frac { 1 } { T _ { \\mathrm { m a x } } } , \\frac { 1 } { T _ { \\mathrm { m i n } } } \\right] ^ { }$ ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
757,
|
| 741 |
+
825,
|
| 742 |
+
825
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 3
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "The biases $b _ { g }$ of the gates $g$ greatly impact the order of magnitude of the values of $g ( t )$ over time. If the values of both inputs and hidden layers are centered over time, $g ( t )$ will typically take values centered around $\\sigma ( b _ { g } )$ . Values of $\\sigma ( b _ { g } )$ in the desired range $\\left[ \\frac { 1 } { T _ { \\mathrm { m a x } } } , \\frac { 1 } { T _ { \\mathrm { m i n } } } \\right]$ are obtained by choosing the biases $b _ { g }$ between $- \\log ( T _ { \\mathrm { m a x } } - 1 )$ and $- \\log ( T _ { \\mathrm { m i n } } - 1 )$ . This is a loose prescription: we only want to control the order of magnitude of the memory range of the neural networks. Furthermore, we don’t want to bound $g ( t )$ too tightly to some value forever: if rare events occur, abruplty changing the time scale can be useful. Therefore we suggest to use these values as initial values only. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
174,
|
| 751 |
+
832,
|
| 752 |
+
821,
|
| 753 |
+
859
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 3
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
101,
|
| 763 |
+
825,
|
| 764 |
+
180
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 4
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "This suggests a practical initialization for the bias of the gates of recurrent networks such as (10): when characteristic timescales of the sequential data at hand are expected to lie between $T _ { \\mathrm { m i n } }$ and $T _ { \\mathrm { m a x } }$ , initialize the biases of $g$ a $\\mathrm { ~ : ~ } \\log ( \\bar { \\mathcal { U } } ( [ T _ { \\operatorname* { m i n } } , T _ { \\operatorname* { m a x } } ] ) - 1 )$ where $\\mathcal { U }$ is the uniform distribution7. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
186,
|
| 774 |
+
825,
|
| 775 |
+
231
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 4
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "For LSTMs, using a variant of (Graves et al., 2013): ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
174,
|
| 784 |
+
236,
|
| 785 |
+
516,
|
| 786 |
+
251
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 4
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "equation",
|
| 792 |
+
"img_path": "images/07048735bfcd11b70b98f0f80befdeaabeb5b49441b0cbb7adcdd9e3ab6a6731.jpg",
|
| 793 |
+
"text": "$$\n\\begin{array} { r l } & { i _ { t } = \\sigma ( W _ { x i } x _ { t } + W _ { h i } h _ { t - 1 } + b _ { i } ) } \\\\ & { f _ { t } = \\sigma ( W _ { x f } x _ { t } + W _ { h f } h _ { t - 1 } + b _ { f } ) } \\\\ & { c _ { t } = f _ { t } c _ { t - 1 } + i _ { t } \\operatorname { t a n h } ( W _ { x c } x _ { t } + W _ { h c } h _ { t - 1 } + b _ { c } ) } \\\\ & { o _ { t } = \\sigma ( W _ { x o } x _ { t } + W _ { h o } h _ { t - 1 } + b _ { o } ) } \\\\ & { h _ { t } = o _ { t } \\operatorname { t a n h } ( c _ { t } ) , } \\end{array}\n$$",
|
| 794 |
+
"text_format": "latex",
|
| 795 |
+
"bbox": [
|
| 796 |
+
333,
|
| 797 |
+
255,
|
| 798 |
+
666,
|
| 799 |
+
347
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 4
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "the correspondence between between the gates in (10) and those in (13) is as follows: $1 - g _ { t }$ corresponds to $f _ { t }$ , and $g _ { t }$ to $i _ { t }$ . To obtain a time range around $T$ for unit $i$ , we must both ensure that $f _ { t } ^ { i }$ lies around $1 - 1 / T$ , and that $i _ { t }$ lies around $1 / \\bar { T }$ . When facing time dependencies with largest time range $T _ { \\mathrm { m a x } }$ , this suggests to initialize LSTM gate biases to ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
173,
|
| 808 |
+
349,
|
| 809 |
+
825,
|
| 810 |
+
406
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 4
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "equation",
|
| 816 |
+
"img_path": "images/a138f71246f19696cb1a6d9d7822d56ee7fe9c0d8d2e20ae51859c90a55d277f.jpg",
|
| 817 |
+
"text": "$$\n\\begin{array} { r } { b _ { f } \\sim \\log ( \\mathcal { U } ( [ 1 , T _ { \\operatorname* { m a x } } - 1 ] ) ) } \\\\ { b _ { i } = - b _ { f } } \\end{array}\n$$",
|
| 818 |
+
"text_format": "latex",
|
| 819 |
+
"bbox": [
|
| 820 |
+
406,
|
| 821 |
+
410,
|
| 822 |
+
593,
|
| 823 |
+
448
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 4
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "with $\\mathcal { U }$ the uniform distribution and $T _ { \\mathrm { m a x } }$ the expected range of long-term dependencies to be captured. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
176,
|
| 832 |
+
450,
|
| 833 |
+
825,
|
| 834 |
+
479
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 4
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Hereafter, we refer to this as the chrono initialization. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
486,
|
| 844 |
+
526,
|
| 845 |
+
501
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 4
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "3 EXPERIMENTS ",
|
| 852 |
+
"text_level": 1,
|
| 853 |
+
"bbox": [
|
| 854 |
+
176,
|
| 855 |
+
520,
|
| 856 |
+
326,
|
| 857 |
+
536
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 4
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "First, we test the theoretical arguments by explicitly introducing random time warpings in some data, and comparing the robustness of gated and ungated architectures. ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
173,
|
| 866 |
+
551,
|
| 867 |
+
823,
|
| 868 |
+
580
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 4
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Next, the chrono LSTM initialization is tested against the standard initialization on a variety of both synthetic and real world problems. It heavily outperforms standard LSTM initialization on all synthetic tasks, and outperforms or competes with it on real world problems. ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
174,
|
| 877 |
+
587,
|
| 878 |
+
825,
|
| 879 |
+
628
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 4
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "The synthetic tasks are taken from previous test suites for RNNs, specifically designed to test the efficiency of learning when faced with long term dependencies (Hochreiter & Schmidhuber, 1997; Le et al., 2015; Graves et al., 2014; Martens & Sutskever, 2011; Arjovsky et al., 2016). ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
636,
|
| 889 |
+
825,
|
| 890 |
+
679
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 4
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "In addition (Appendix A), we test the chrono initialization on next character prediction on the Text8 (Mahoney, 2011) dataset, and on next word prediction on the Penn Treebank dataset (Mikolov et al., 2012). Single layer LSTMs with various layer sizes are used for all experiments, except for the word level prediction, where we use the best model from (Zilly et al., 2016), a 10 layer deep recurrent highway network (RHN). ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
174,
|
| 899 |
+
685,
|
| 900 |
+
825,
|
| 901 |
+
755
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 4
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "Pure warpings and paddings. To test the theoretical relationship between gating and robustness to time warpings, various recurrent architectures are compared on a task where the only challenge comes from warping. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
770,
|
| 911 |
+
825,
|
| 912 |
+
813
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 4
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "The unwarped task is simple: remember the previous character of a random sequence of characters. Without time warping or padding, this is an extremely easy task and all recurrent architectures are successful. The only difficulty will come from warping; this way, we explicitly test the robustness of various architectures to time warping and nothing else. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
819,
|
| 922 |
+
825,
|
| 923 |
+
876
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 4
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "image",
|
| 929 |
+
"img_path": "images/6c46e8ef8c79df872b5e3f55469fc5df0264e2d77e62f944d2edfe0ecee3e4aa.jpg",
|
| 930 |
+
"image_caption": [
|
| 931 |
+
"Figure 1: Performance of different recurrent architectures on warped and padded sequences sequences. From top left to bottom right: uniform time warping of length maximum_warping, uniform padding of length maximum_warping, variable time warping and variable time padding, from 1 to maximum_warping. (For uniform padding/warpings, the leaky RNN and gated RNN curves overlap, with loss 0.) Lower is better. ",
|
| 932 |
+
"Figure 2: A task involving pure warping. "
|
| 933 |
+
],
|
| 934 |
+
"image_footnote": [],
|
| 935 |
+
"bbox": [
|
| 936 |
+
176,
|
| 937 |
+
102,
|
| 938 |
+
777,
|
| 939 |
+
448
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 5
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Unwarped task example: ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
542,
|
| 949 |
+
338,
|
| 950 |
+
556
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 5
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Input: All human beings are born free and equal Output: All human beings are born free and equa Uniform warping example (warping $\\times 4 _ { , }$ ): Input: AAAAllllllll hhhhuuuummmmaaaannnn Output: AAAAllllllll hhhhuuuummmmaaaa Variable warping example (random warping $\\times 1 \\mathrm { - } \\times 4 )$ ): Input: Allllll hhhummmmaannn bbbbeeiiingssss Output: AAAlllll huuuummaaan bbeeeingggg ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
558,
|
| 960 |
+
653,
|
| 961 |
+
676
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 5
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Uniformly time-warped tasks are produced by repeating each character maximum_warping times both in the input and output sequence, for some fixed number maximum_warping. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
171,
|
| 970 |
+
728,
|
| 971 |
+
823,
|
| 972 |
+
756
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 5
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Variably time-warped tasks are produced similarly, but each character is repeated a random number of times uniformly drawn between 1 and maximum_warping. The same warping is used for the input and output sequence (so that the desired output is indeed a function of the input). This exactly corresponds to transforming input $x ( t )$ into $x ( c ( t ) )$ with $c$ a random, piecewise affine time warping. Fig. 2 gives an illustration. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
173,
|
| 981 |
+
763,
|
| 982 |
+
823,
|
| 983 |
+
833
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 5
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "For each value of maximum_warping, the train dataset consists of 50, 000 length-500 randomly warped random sequences, with either uniform or variable time warpings. The alphabet is of size 10 (including a dummy symbol). Contiguous characters are enforced to be different. After warping, each sequence is truncated to length 500. Test datasets of 10, 000 sequences are generated similarily. The criterion to be minimized is the cross entropy in predicting the next character of the output sequence. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
840,
|
| 993 |
+
825,
|
| 994 |
+
924
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 5
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "image",
|
| 1000 |
+
"img_path": "images/bd4adb4baf30faee6b6bf7d3dbb5f7a7b738cab56b48d4587698d03c65a35b90.jpg",
|
| 1001 |
+
"image_caption": [
|
| 1002 |
+
"Figure 3: Standard initialization (blue) vs. chrono initialization (red) on the copy and variable copy task. From left to right, top to bottom, standard copy $T \\ = \\ 5 0 0$ and $T \\ : = \\ : 2 0 0 0$ , variable copy $T = 5 0 0$ and $T = 1 0 0 0$ . Chrono initialization heavily outperforms standard initialization, except for variable length copy with the smaller $T$ where both perform well. "
|
| 1003 |
+
],
|
| 1004 |
+
"image_footnote": [],
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
176,
|
| 1007 |
+
103,
|
| 1008 |
+
771,
|
| 1009 |
+
446
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 6
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "image",
|
| 1015 |
+
"img_path": "images/3e9e06a6aa7d4d6793068804cfa3dbf2e4cb33f7e5fab941e86d271e77ce89a6.jpg",
|
| 1016 |
+
"image_caption": [
|
| 1017 |
+
"Figure 4: Standard initialization (blue) vs. chrono initialization (red) on the adding task. From left to right, $T = 2 0 0$ , and $T = 7 5 0$ . Chrono initialization heavily outperforms standard initialization. "
|
| 1018 |
+
],
|
| 1019 |
+
"image_footnote": [],
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
179,
|
| 1022 |
+
534,
|
| 1023 |
+
772,
|
| 1024 |
+
702
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 6
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Note that each sample in the dataset uses a new random sequence from a fixed alphabet, and (for variable warpings) a new random warping. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
770,
|
| 1034 |
+
821,
|
| 1035 |
+
799
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 6
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "A similar, slightly more difficult task uses padded sequences instead of warped sequences, obtained by padding each element in the input sequence with a fixed or variable number of 0’s (in continuoustime, this amounts to a time warping of a continuous-time input sequence that is nonzero at certain points in time only). Each time the input is nonzero, the network has to output the previous nonzero character seen. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
805,
|
| 1045 |
+
825,
|
| 1046 |
+
875
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 6
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "We compare three recurrent architectures: RNNs (Eq. (2), a simple, ungated recurrent network), leaky RNNs (Eq. (5), where each unit has a constant learnable “gate” between 0 and 1) and gated RNNs, with one gate per unit, described by (10). All networks contain 64 recurrent units. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
176,
|
| 1055 |
+
882,
|
| 1056 |
+
823,
|
| 1057 |
+
924
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 6
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "The point of using gated RNNs (10) (“LSTM-lite” with tied input and forget gates), rather than full LSTMs, is to explicitly test the relevance of the arguments in Section 1 for time warpings. Indeed these LSTM-lite already exhibit perfect robustness to warpings in these tasks. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
174,
|
| 1066 |
+
103,
|
| 1067 |
+
823,
|
| 1068 |
+
146
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 7
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "RMSprop with an $\\alpha$ parameter of 0.9 and a batch size of 32 is used. For faster convergence, learning rates are divided by 2 each time the evaluation loss has not decreased after 100 batches. All architectures are trained for 3 full passes through the dataset, and their evaluation losses are compared. Each setup is run 5 times, and mean, maximum and minimum results among the five trials are reported. Results on the test set are summarized in Fig. 1. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
152,
|
| 1078 |
+
825,
|
| 1079 |
+
223
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 7
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Gated architectures significantly outperform RNNs as soon as moderate warping coefficients are involved. As expected from theory, leaky RNNs perfectly solve uniform time warpings, but fail to achieve optimal behavior with variable warpings, to which they are not invariant. Gated RNNs, which are quasi invariant to general time warpings, achieve perfect performance in both setups for all values of maximum_warping. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
174,
|
| 1088 |
+
229,
|
| 1089 |
+
825,
|
| 1090 |
+
299
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 7
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Synthetic tasks. For synthetic tasks, optimization is performed using RMSprop (Tieleman & Hinton, 2012) with a learning rate of $1 0 ^ { - 3 }$ and a moving average parameter of 0.9. No gradient clipping is performed; this results in a few short-lived spikes in the plots below, which do not affect final performance. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
173,
|
| 1099 |
+
318,
|
| 1100 |
+
825,
|
| 1101 |
+
373
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 7
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "COPY TASKS. The copy task checks whether a model is able to remember information for arbitrarily long durations. We use the setup from (Hochreiter & Schmidhuber, 1997; Arjovsky et al., 2016), which we summarize here. Consider an alphabet of 10 characters. The ninth character is a dummy character and the tenth character is a signal character. For a given $T$ , input sequences consist of $T + 2 0$ characters. The first 10 characters are drawn uniformly randomly from the first 8 letters of the alphabet. These first characters are followed by $T - 1$ dummy characters, a signal character, whose aim is to signal the network that it has to provide its outputs, and the last 10 characters are dummy characters. The target sequence consists of $T + 1 0$ dummy characters, followed by the first 10 characters of the input. This dataset is thus about remembering an input sequence for exactly $T$ timesteps. We also provide results for the variable copy task setup presented in (Henaff et al., 2016), where the number of characters between the end of the sequence to copy and the signal character is drawn at random between 1 and $T$ . ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
173,
|
| 1110 |
+
391,
|
| 1111 |
+
825,
|
| 1112 |
+
558
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 7
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "The best that a memoryless model can do on the copy task is to predict at random from among possible characters, yielding a loss of $\\frac { 1 0 \\log ( 8 ) } { T + 2 0 }$ (Arjovsky et al., 2016). ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
565,
|
| 1122 |
+
820,
|
| 1123 |
+
598
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 7
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "On those tasks we use LSTMs with 128 units. For the standard initialization (baseline), the forget gate biases are set to 1. For the new initialization, the forget gate and input gate biases are chosen according to the chrono initialization (16), with $\\begin{array} { r } { T _ { \\mathrm { m a x } } = \\frac { 3 \\breve { T } } { 2 } } \\end{array}$ for the copy task, thus a bit larger than input length, and $T _ { \\mathrm { m a x } } = T$ for the variable copy task. The results are provided in Figure 3. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
174,
|
| 1132 |
+
604,
|
| 1133 |
+
825,
|
| 1134 |
+
661
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 7
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Importantly, our LSTM baseline (with standard initialization) already performs better than the LSTM baseline of (Arjovsky et al., 2016), which did not outperform random prediction. This is presumably due to slightly larger network size, increased training time, and our using the bias initialization from (Gers & Schmidhuber, 2000). ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
667,
|
| 1144 |
+
823,
|
| 1145 |
+
723
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 7
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "On the copy task, for all the selected $T$ ’s, chrono initialization largely outperforms the standard initialization. Notably, it does not plateau at the memoryless optimum. On the variable copy task, chrono initialization is even with standard initialization for $T = 5 0 0$ , but largely outperforms it for $T = 1 0 0 0$ . ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
174,
|
| 1154 |
+
729,
|
| 1155 |
+
825,
|
| 1156 |
+
786
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 7
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "ADDING TASK. The adding task also follows a setup from (Hochreiter & Schmidhuber, 1997; Arjovsky et al., 2016). Each training example consists of two input sequences of length $T$ . The first one is a sequence of numbers drawn from $\\mathcal { U } ( [ 0 , 1 ] )$ , the second is a sequence containing zeros everywhere, except for two locations, one in the first half and another in the second half of the sequence. The target is a single number, which is the sum of the numbers contained in the first sequence at the positions marked in the second sequence. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
174,
|
| 1165 |
+
804,
|
| 1166 |
+
825,
|
| 1167 |
+
888
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 7
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "The best a memoryless model can do on this task is to predict the mean of $2 \\times \\mathcal { U } ( [ 0 , 1 ] )$ , namely 1 (Arjovsky et al., 2016). Such a model reaches a mean squared error of 0.167. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
174,
|
| 1176 |
+
895,
|
| 1177 |
+
820,
|
| 1178 |
+
924
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 7
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "LSTMs with 128 hidden units are used. The baseline (standard initialization) initializes the forget biases to 1. The chrono initialization uses $T _ { \\mathrm { m a x } } = T$ . Results are provided in Figure 4. For all $T$ ’s, chrono initialization significantly speeds up learning. Notably it converges 7 times faster for $T = 7 5 0$ . ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
174,
|
| 1187 |
+
103,
|
| 1188 |
+
825,
|
| 1189 |
+
159
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 8
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "CONCLUSION ",
|
| 1196 |
+
"text_level": 1,
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
174,
|
| 1199 |
+
180,
|
| 1200 |
+
289,
|
| 1201 |
+
196
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 8
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "The self loop feedback gating mechanism of recurrent networks has been derived from first principles via a postulate of invariance to time warpings. Gated connections appear to regulate the local time constants in recurrent models. With this in mind, the chrono initialization, a principled way of initializing gate biases in LSTMs, has been introduced. Experimentally, chrono initialization is shown to bring notable benefits when facing long term dependencies. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
174,
|
| 1210 |
+
212,
|
| 1211 |
+
823,
|
| 1212 |
+
281
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 8
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "REFERENCES ",
|
| 1219 |
+
"text_level": 1,
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
176,
|
| 1222 |
+
102,
|
| 1223 |
+
285,
|
| 1224 |
+
118
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 9
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "text",
|
| 1230 |
+
"text": "Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. In International Conference on Machine Learning, pp. 1120–1128, 2016. ",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
171,
|
| 1233 |
+
126,
|
| 1234 |
+
825,
|
| 1235 |
+
155
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 9
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"type": "text",
|
| 1241 |
+
"text": "Y. Bengio, P. Simard, and P. Frasconi. Learning long-term dependencies with gradient descent is difficult. Trans. Neur. Netw., 5(2):157–166, March 1994. ISSN 1045-9227. doi: 10.1109/72. 279181. URL http://dx.doi.org/10.1109/72.279181. ",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
176,
|
| 1244 |
+
165,
|
| 1245 |
+
823,
|
| 1246 |
+
208
|
| 1247 |
+
],
|
| 1248 |
+
"page_idx": 9
|
| 1249 |
+
},
|
| 1250 |
+
{
|
| 1251 |
+
"type": "text",
|
| 1252 |
+
"text": "Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014. ",
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
169,
|
| 1255 |
+
217,
|
| 1256 |
+
823,
|
| 1257 |
+
247
|
| 1258 |
+
],
|
| 1259 |
+
"page_idx": 9
|
| 1260 |
+
},
|
| 1261 |
+
{
|
| 1262 |
+
"type": "text",
|
| 1263 |
+
"text": "Tim Cooijmans, Nicolas Ballas, César Laurent, Çaglar Gülçehre, and Aaron Courville. Recurrent ˘ batch normalization. arXiv preprint arXiv:1603.09025, 2016. ",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
173,
|
| 1266 |
+
256,
|
| 1267 |
+
821,
|
| 1268 |
+
286
|
| 1269 |
+
],
|
| 1270 |
+
"page_idx": 9
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"type": "text",
|
| 1274 |
+
"text": "Felix A Gers and Jürgen Schmidhuber. Recurrent nets that time and count. In Neural Networks, 2000. IJCNN 2000, Proceedings of the IEEE-INNS-ENNS International Joint Conference on, volume 3, pp. 189–194. IEEE, 2000. ",
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
173,
|
| 1277 |
+
295,
|
| 1278 |
+
826,
|
| 1279 |
+
338
|
| 1280 |
+
],
|
| 1281 |
+
"page_idx": 9
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"type": "text",
|
| 1285 |
+
"text": "Felix A Gers, Jürgen Schmidhuber, and Fred Cummins. Learning to forget: Continual prediction with lstm. 1999. ",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
173,
|
| 1288 |
+
348,
|
| 1289 |
+
823,
|
| 1290 |
+
377
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 9
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In Acoustics, speech and signal processing (icassp), 2013 ieee international conference on, pp. 6645–6649. IEEE, 2013. ",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
173,
|
| 1299 |
+
386,
|
| 1300 |
+
825,
|
| 1301 |
+
430
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 9
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "text",
|
| 1307 |
+
"text": "Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014. ",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
171,
|
| 1310 |
+
439,
|
| 1311 |
+
825,
|
| 1312 |
+
469
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 9
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "Mikael Henaff, Arthur Szlam, and Yann LeCun. Recurrent orthogonal networks and long-memory tasks. In International Conference on Machine Learning, pp. 2034–2042, 2016. ",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
171,
|
| 1321 |
+
478,
|
| 1322 |
+
823,
|
| 1323 |
+
508
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 9
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "S. Hochreiter. Untersuchungen zu dynamischen neuronalen Netzen. Diploma thesis, Institut für Informatik, Lehrstuhl Prof. Brauer, Technische Universität München, 1991. ",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
171,
|
| 1332 |
+
517,
|
| 1333 |
+
823,
|
| 1334 |
+
546
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 9
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural Comput., 9(8):1735– 1780, November 1997. ISSN 0899-7667. doi: 10.1162/neco.1997.9.8.1735. URL http://dx. doi.org/10.1162/neco.1997.9.8.1735. ",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
174,
|
| 1343 |
+
556,
|
| 1344 |
+
825,
|
| 1345 |
+
599
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 9
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "Herbert Jaeger. Tutorial on training recurrent neural networks, covering BPPT, RTRL, EKF and the “echo state network” approach, 2002. ",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
174,
|
| 1354 |
+
609,
|
| 1355 |
+
821,
|
| 1356 |
+
638
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 9
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "text",
|
| 1362 |
+
"text": "Rafal Jozefowicz, Wojciech Zaremba, and Ilya Sutskever. An empirical exploration of recurrent network architectures. In Proceedings of the 32nd International Conference on Machine Learning (ICML-15), pp. 2342–2350, 2015. ",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
173,
|
| 1365 |
+
647,
|
| 1366 |
+
825,
|
| 1367 |
+
690
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 9
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"type": "text",
|
| 1373 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
173,
|
| 1376 |
+
700,
|
| 1377 |
+
823,
|
| 1378 |
+
729
|
| 1379 |
+
],
|
| 1380 |
+
"page_idx": 9
|
| 1381 |
+
},
|
| 1382 |
+
{
|
| 1383 |
+
"type": "text",
|
| 1384 |
+
"text": "Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recognition. arXiv preprint arXiv:1603.01360, 2016. ",
|
| 1385 |
+
"bbox": [
|
| 1386 |
+
173,
|
| 1387 |
+
739,
|
| 1388 |
+
823,
|
| 1389 |
+
768
|
| 1390 |
+
],
|
| 1391 |
+
"page_idx": 9
|
| 1392 |
+
},
|
| 1393 |
+
{
|
| 1394 |
+
"type": "text",
|
| 1395 |
+
"text": "Quoc V Le, Navdeep Jaitly, and Geoffrey E Hinton. A simple way to initialize recurrent networks of rectified linear units. arXiv preprint arXiv:1504.00941, 2015. ",
|
| 1396 |
+
"bbox": [
|
| 1397 |
+
173,
|
| 1398 |
+
777,
|
| 1399 |
+
823,
|
| 1400 |
+
808
|
| 1401 |
+
],
|
| 1402 |
+
"page_idx": 9
|
| 1403 |
+
},
|
| 1404 |
+
{
|
| 1405 |
+
"type": "text",
|
| 1406 |
+
"text": "Yann LeCun, Patrick Haffner, Léon Bottou, and Yoshua Bengio. Object recognition with gradientbased learning. Shape, contour and grouping in computer vision, pp. 823–823, 1999. ",
|
| 1407 |
+
"bbox": [
|
| 1408 |
+
173,
|
| 1409 |
+
818,
|
| 1410 |
+
823,
|
| 1411 |
+
847
|
| 1412 |
+
],
|
| 1413 |
+
"page_idx": 9
|
| 1414 |
+
},
|
| 1415 |
+
{
|
| 1416 |
+
"type": "text",
|
| 1417 |
+
"text": "Matt Mahoney. Large text compression benchmark, 2011. ",
|
| 1418 |
+
"bbox": [
|
| 1419 |
+
173,
|
| 1420 |
+
856,
|
| 1421 |
+
555,
|
| 1422 |
+
871
|
| 1423 |
+
],
|
| 1424 |
+
"page_idx": 9
|
| 1425 |
+
},
|
| 1426 |
+
{
|
| 1427 |
+
"type": "text",
|
| 1428 |
+
"text": "James Martens and Ilya Sutskever. Learning recurrent neural networks with hessian-free optimization. In Proceedings of the 28th International Conference on Machine Learning (ICML-11), pp. 1033–1040, 2011. ",
|
| 1429 |
+
"bbox": [
|
| 1430 |
+
174,
|
| 1431 |
+
882,
|
| 1432 |
+
823,
|
| 1433 |
+
924
|
| 1434 |
+
],
|
| 1435 |
+
"page_idx": 9
|
| 1436 |
+
},
|
| 1437 |
+
{
|
| 1438 |
+
"type": "text",
|
| 1439 |
+
"text": "Tomáš Mikolov, Ilya Sutskever, Anoop Deoras, Hai-Son Le, Stefan Kombrink, and Jan Cernocky. Subword language modeling with neural networks. preprint (http://www. fit. vutbr. cz/imikolov/rnnlm/char. pdf), 2012. ",
|
| 1440 |
+
"bbox": [
|
| 1441 |
+
174,
|
| 1442 |
+
103,
|
| 1443 |
+
823,
|
| 1444 |
+
146
|
| 1445 |
+
],
|
| 1446 |
+
"page_idx": 10
|
| 1447 |
+
},
|
| 1448 |
+
{
|
| 1449 |
+
"type": "text",
|
| 1450 |
+
"text": "Michael C Mozer. Induction of multiscale temporal structure. In Advances in neural information processing systems, pp. 275–282, 1992. ",
|
| 1451 |
+
"bbox": [
|
| 1452 |
+
171,
|
| 1453 |
+
155,
|
| 1454 |
+
823,
|
| 1455 |
+
184
|
| 1456 |
+
],
|
| 1457 |
+
"page_idx": 10
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"type": "text",
|
| 1461 |
+
"text": "Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. Understanding the exploding gradient problem. CoRR, abs/1211.5063, 2012. URL http://arxiv.org/abs/1211.5063. ",
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
171,
|
| 1464 |
+
193,
|
| 1465 |
+
823,
|
| 1466 |
+
222
|
| 1467 |
+
],
|
| 1468 |
+
"page_idx": 10
|
| 1469 |
+
},
|
| 1470 |
+
{
|
| 1471 |
+
"type": "text",
|
| 1472 |
+
"text": "Andrew M Saxe, James L McClelland, and Surya Ganguli. Exact solutions to the nonlinear dynamics of learning in deep linear neural networks. arXiv preprint arXiv:1312.6120, 2013. ",
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
173,
|
| 1475 |
+
229,
|
| 1476 |
+
823,
|
| 1477 |
+
260
|
| 1478 |
+
],
|
| 1479 |
+
"page_idx": 10
|
| 1480 |
+
},
|
| 1481 |
+
{
|
| 1482 |
+
"type": "text",
|
| 1483 |
+
"text": "Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural networks for machine learning, 4(2):26– 31, 2012. ",
|
| 1484 |
+
"bbox": [
|
| 1485 |
+
174,
|
| 1486 |
+
267,
|
| 1487 |
+
823,
|
| 1488 |
+
310
|
| 1489 |
+
],
|
| 1490 |
+
"page_idx": 10
|
| 1491 |
+
},
|
| 1492 |
+
{
|
| 1493 |
+
"type": "text",
|
| 1494 |
+
"text": "Scott Wisdom, Thomas Powers, John Hershey, Jonathan Le Roux, and Les Atlas. Full-capacity unitary recurrent neural networks. In Advances in Neural Information Processing Systems, pp. 4880–4888, 2016. ",
|
| 1495 |
+
"bbox": [
|
| 1496 |
+
171,
|
| 1497 |
+
319,
|
| 1498 |
+
821,
|
| 1499 |
+
362
|
| 1500 |
+
],
|
| 1501 |
+
"page_idx": 10
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"type": "text",
|
| 1505 |
+
"text": "Julian Georg Zilly, Rupesh Kumar Srivastava, Jan Koutník, and Jürgen Schmidhuber. Recurrent highway networks. arXiv preprint arXiv:1607.03474, 2016. ",
|
| 1506 |
+
"bbox": [
|
| 1507 |
+
171,
|
| 1508 |
+
371,
|
| 1509 |
+
823,
|
| 1510 |
+
400
|
| 1511 |
+
],
|
| 1512 |
+
"page_idx": 10
|
| 1513 |
+
},
|
| 1514 |
+
{
|
| 1515 |
+
"type": "text",
|
| 1516 |
+
"text": "A ADDITIONAL EXPERIMENTS ",
|
| 1517 |
+
"text_level": 1,
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
176,
|
| 1520 |
+
103,
|
| 1521 |
+
442,
|
| 1522 |
+
117
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 11
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "image",
|
| 1528 |
+
"img_path": "images/3ac950df571f739848b4bae6e2688b7ee5dbe948de1a1a51a09c8071e469f0ea.jpg",
|
| 1529 |
+
"image_caption": [
|
| 1530 |
+
"Figure 5: Generalization performances of different recurrent architectures on the warping problem. Networks are trained with uniform warps between 1 and 50 and evaluated on uniform warps between 100 and a variable maximum warp. "
|
| 1531 |
+
],
|
| 1532 |
+
"image_footnote": [],
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
359,
|
| 1535 |
+
140,
|
| 1536 |
+
633,
|
| 1537 |
+
313
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 11
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "image",
|
| 1543 |
+
"img_path": "images/673116037ba3f32ce6d33c0e571cdf60028c2d523081bfe42a5e67ad7544ebb5.jpg",
|
| 1544 |
+
"image_caption": [
|
| 1545 |
+
"Figure 6: Standard initialization (blue) vs. chrono initialization (red) on pixel level classification tasks. From left to right, MNIST and pMNIST. "
|
| 1546 |
+
],
|
| 1547 |
+
"image_footnote": [],
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
179,
|
| 1550 |
+
391,
|
| 1551 |
+
772,
|
| 1552 |
+
563
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 11
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "image",
|
| 1558 |
+
"img_path": "images/174f6dead2e3ba16ae4b102d9c82860c795865024e865927602475d9670919ea.jpg",
|
| 1559 |
+
"image_caption": [
|
| 1560 |
+
"Figure 7: Standard initialization (blue) vs. chrono initialization (red) on the word level PTB (left) and on the character level text8 (right) validation sets. "
|
| 1561 |
+
],
|
| 1562 |
+
"image_footnote": [],
|
| 1563 |
+
"bbox": [
|
| 1564 |
+
179,
|
| 1565 |
+
627,
|
| 1566 |
+
771,
|
| 1567 |
+
799
|
| 1568 |
+
],
|
| 1569 |
+
"page_idx": 11
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"type": "text",
|
| 1573 |
+
"text": "On the generalization capacity of recurrent architectures. We proceeded to test the generalization properties of RNNs, leaky RNNs and chrono RNNs on the pure warping experiments presented in Section 3. For each of the architectures, a recurrent network with 64 recurrent units is trained for 3 epochs on a variable warping task with warps between 1 and 50. Each network is then tested on warped sequences, with warps between 100 and an increasingly big maximum warping. Results are summarized in Figure 5. ",
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
174,
|
| 1576 |
+
868,
|
| 1577 |
+
825,
|
| 1578 |
+
924
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 11
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "text",
|
| 1584 |
+
"text": "",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
173,
|
| 1587 |
+
103,
|
| 1588 |
+
823,
|
| 1589 |
+
132
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 12
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "text",
|
| 1595 |
+
"text": "All networks display reasonably good, but not perfect, generalization. Even with warps 10 times longer than the training set warps, the networks still have decent accuracy, decreasing from $1 0 0 \\%$ to around $7 5 \\%$ . ",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
176,
|
| 1598 |
+
138,
|
| 1599 |
+
823,
|
| 1600 |
+
180
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 12
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "text",
|
| 1606 |
+
"text": "Interestingly, plain RNNs and gated RNNs display a different pattern: overall, gated RNNs perform better but their generalization performance decreases faster with warps eight to ten times longer than those seen during training, while plain RNN never have perfect accuracy, below $8 0 \\%$ even within the training set range, but have a flatter performance when going beyond the training set warp range. ",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
174,
|
| 1609 |
+
188,
|
| 1610 |
+
825,
|
| 1611 |
+
244
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 12
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "text",
|
| 1617 |
+
"text": "Pixel level classification: MNIST and pMNIST. This task, introduced in (Le et al., 2015), consists in classifying images using a recurrent model. The model is fed pixels one by one, from top to bottom, left to right, and has to output a probability distribution for the class of the object in the image. ",
|
| 1618 |
+
"bbox": [
|
| 1619 |
+
174,
|
| 1620 |
+
258,
|
| 1621 |
+
823,
|
| 1622 |
+
315
|
| 1623 |
+
],
|
| 1624 |
+
"page_idx": 12
|
| 1625 |
+
},
|
| 1626 |
+
{
|
| 1627 |
+
"type": "text",
|
| 1628 |
+
"text": "We evaluate standard and chrono initialization on two image datasets: MNIST (LeCun et al., 1999) and permuted MNIST, that is, MNIST where all images have undergone the same pixel permutation. ",
|
| 1629 |
+
"bbox": [
|
| 1630 |
+
174,
|
| 1631 |
+
321,
|
| 1632 |
+
823,
|
| 1633 |
+
351
|
| 1634 |
+
],
|
| 1635 |
+
"page_idx": 12
|
| 1636 |
+
},
|
| 1637 |
+
{
|
| 1638 |
+
"type": "text",
|
| 1639 |
+
"text": "LSTMs with 512 hidden units are used. Once again, standard initialization sets forget biases to 1, and the chrono initialization parameter is set to the length of the input sequences, $T _ { \\mathrm { m a x } } = 7 8 4$ . Results on the validation set are provided in Figure 6. On non-permuted MNIST, there is no clear difference, even though the best validation error is obtained with chrono initialization. On permuted MNIST, chrono initialization performs better, with a best validation result of $9 6 . 3 \\%$ , while standard initialization obtains a best validation result of $9 5 . 4 \\%$ . ",
|
| 1640 |
+
"bbox": [
|
| 1641 |
+
174,
|
| 1642 |
+
357,
|
| 1643 |
+
825,
|
| 1644 |
+
440
|
| 1645 |
+
],
|
| 1646 |
+
"page_idx": 12
|
| 1647 |
+
},
|
| 1648 |
+
{
|
| 1649 |
+
"type": "text",
|
| 1650 |
+
"text": "Next character prediction on text8. Chrono initialization is benchmarked against standard initialization on the character level text8 dataset (Mahoney, 2011). Text8 is a 100M character formatted text sample from Wikipedia. (Mikolov et al., 2012)’s train-valid-test split is used: the first 90M characters are used as training set, the next 5M as validation set and the last 5M as test set. ",
|
| 1651 |
+
"bbox": [
|
| 1652 |
+
174,
|
| 1653 |
+
457,
|
| 1654 |
+
823,
|
| 1655 |
+
512
|
| 1656 |
+
],
|
| 1657 |
+
"page_idx": 12
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"type": "text",
|
| 1661 |
+
"text": "The exact same setup as in (Cooijmans et al., 2016) is used, with the code directly taken from there. Namely: LSTMs with 2000 units, trained with Adam (Kingma & Ba, 2014) with learning rate $1 0 ^ { - 3 }$ , batches of size 128 made of non-overlapping sequences of length 180, and gradient clipping at 1.0. Weights are orthogonally initialized, and recurrent batch normalization (Cooijmans et al., 2016) is used. ",
|
| 1662 |
+
"bbox": [
|
| 1663 |
+
174,
|
| 1664 |
+
518,
|
| 1665 |
+
823,
|
| 1666 |
+
588
|
| 1667 |
+
],
|
| 1668 |
+
"page_idx": 12
|
| 1669 |
+
},
|
| 1670 |
+
{
|
| 1671 |
+
"type": "text",
|
| 1672 |
+
"text": "Chrono initialization with $T _ { \\mathrm { m a x } } = 8$ is compared to standard $b _ { f } = 1$ initialization. Results are presented in Figure 7. On the validation set, chrono initialization uniformly outperforms standard initialization by a small margin. On the test set, the compression rate is 1.37 with chrono initialization, versus 1.38 for standard initialization.8 This same slight difference is observed on two independent runs. ",
|
| 1673 |
+
"bbox": [
|
| 1674 |
+
174,
|
| 1675 |
+
595,
|
| 1676 |
+
825,
|
| 1677 |
+
665
|
| 1678 |
+
],
|
| 1679 |
+
"page_idx": 12
|
| 1680 |
+
},
|
| 1681 |
+
{
|
| 1682 |
+
"type": "text",
|
| 1683 |
+
"text": "Our guess is that, on next character prediction, with moderately sized networks, short term dependencies dominate, making the difference between standard and chrono initialization relatively small. ",
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
176,
|
| 1686 |
+
672,
|
| 1687 |
+
823,
|
| 1688 |
+
700
|
| 1689 |
+
],
|
| 1690 |
+
"page_idx": 12
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"type": "text",
|
| 1694 |
+
"text": "Next word prediction on Penn Treebank. To attest for the resilience of chrono initialization to more complex models than simple LSTMs, we train on word level Penn Treebank (Mikolov et al., 2012) using the best deep RHN network from (Zilly et al., 2016). All hyperparameters are taken from of (Zilly et al., 2016). For the chrono bias initialization, a single bias vector $b$ is sampled according to $b \\sim \\log ( \\mathcal { U } ( 1 , T _ { \\operatorname* { m a x } } ) )$ , the carry gate bias vectors of all layers are initialized to $- b$ , and the transform gate biases to $b$ . $T _ { \\mathrm { m a x } }$ is chosen to be 11 (because this gives an average bias initialization close to the value 2 from (Zilly et al., 2016)).9. Without further hyperparameter search and with a single run, we obtain test results similar to (Zilly et al., 2016), with a test perplexity of 6.54. ",
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
174,
|
| 1697 |
+
715,
|
| 1698 |
+
825,
|
| 1699 |
+
840
|
| 1700 |
+
],
|
| 1701 |
+
"page_idx": 12
|
| 1702 |
+
}
|
| 1703 |
+
]
|
parse/train/SJcKhk-Ab/SJcKhk-Ab_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJcKhk-Ab/SJcKhk-Ab_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/lmTWnm3coJJ/lmTWnm3coJJ.md
ADDED
|
@@ -0,0 +1,394 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ROBUST CURRICULUM LEARNING: FROM CLEAN LABEL DETECTION TO NOISY LABEL SELF-CORRECTION
|
| 2 |
+
|
| 3 |
+
Tianyi $\mathbf { Z } \mathbf { h } \mathbf { o } \mathbf { u } ^ { * }$ , Shengjie Wang∗, Jeff A. Bilmes University of Washington, Seattle {tianyizh,wangsj,bilmes}@uw.edu
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural network training can easily overfit noisy labels resulting in poor generalization performance. Existing methods address this problem by (1) filtering out the noisy data and only using the clean data for training or (2) relabeling the noisy data by the model during training or by another model trained only on a clean dataset. However, the former does not leverage the features’ information of wrongly-labeled data, while the latter may produce wrong pseudo-labels for some data and introduce extra noises. In this paper, we propose a smooth transition and interplay between these two strategies as a curriculum that selects training samples dynamically. In particular, we start with learning from clean data and then gradually move to learn noisy-labeled data with pseudo labels produced by a time-ensemble of the model and data augmentations. Instead of using the instantaneous loss computed at the current step, our data selection is based on the dynamics of both the loss and output consistency for each sample across historical steps and different data augmentations, resulting in more precise detection of both clean labels and correct pseudo labels. On multiple benchmarks of noisy labels, we show that our curriculum learning strategy can significantly improve the test accuracy without any auxiliary model or extra clean data.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The expressive power and high capacity of deep neural networks (DNNs) result in accurate modeling and promising generalization if provided with sufficient data and clean(correct) labels. However, recent studies show that the training process is fragile and can easily overfit on noisy labels (Zhang et al., 2017), which commonly appear in real-world data since precise annotation is not always available or affordable. Hence, it is important to study the training dynamics affected by imperfect labels and develop robust learning strategies that ideally eliminate the negative impact of noisy labels while fully exploiting the information from all the available data.
|
| 12 |
+
|
| 13 |
+
Numerous approaches have been developed to address this challenge from various perspectives, e.g., loss correction (Xiao et al., 2015; Vahdat, 2017; Lee et al., 2018; Veit et al., 2017; Li et al., 2017b), robust loss functions (Ghosh et al., 2017; Zhang & Sabuncu, 2018; Wang et al., 2019; Ma et al., 2020) with provable noise tolerance, sample re-weighting (Patrini et al., 2017), curriculum learning (Kumar et al., 2010; Jiang et al., 2018; Guo et al., 2018), model co-teaching (Han et al., 2018), etc. A principal methodology behind a variety of methods is to detect clean labels while discard/downweigh the data with wrong labels, so the model mainly learns from correct labels. A broadly applied criterion is to select the samples with small losses and treat them as clean data. It is inspired by empirical observations that DNNs learn simple patterns first before overfitting on the noisy labels (Zhang et al., 2017; Arpit et al., 2017). Several curriculum learning methods utilize this criterion (Kumar et al., 2010; Jiang et al., 2014), and in each step, select/upweigh samples with small losses. Robust loss functions also suppress the large losses associated with the possibly wrong labels. More recent approaches use mixture models (Arazo et al., 2019) to estimate the distribution of losses for clean and noisy data.
|
| 14 |
+
|
| 15 |
+
However, the instantaneous loss (i.e., the loss evaluated at the current step) of an individual sample is an unstable signal that can rapidly fluctuate due to DNN training’s randomness. The error generated by such an unstable metric accumulates when the selected samples are used to train the model producing the losses. Co-teaching methods alleviate this problem by training two DNNs and using the loss computed on one model to guild the other. Also, as the model changes during training, each sample’s loss needs to be re-evaluated even when it is not selected, which requires extra inference cost. MentorNet (Jiang et al., 2018) and Data Parameters (Saxena et al., 2019) train an extra model to produce the sample weights or selection results without computing the loss. Furthermore, it may not be efficient to repeatedly train the model only on clean data that consistently have small losses, since the model have already learned, well memorized or overfitted to them.
|
| 16 |
+
|
| 17 |
+
A primary drawback of training only on clean labels detected is that discarding the whole data pairs $( x , y )$ with wrong labels $y$ removes potentially useful information about the data distribution $p ( x )$ (Arazo et al., 2019). Hence, there has been growing interest in leveraging noisy data. Loss correction methods aim to correct the predicted class probabilities based on an estimated mislabeling probability between classes. Some other methods seek to relabel them by using the model itself (e.g., bootstrapping loss (Reed et al., 2014)) or another model/mechanism (e.g., directed graphical models, conditional random fields, or CNNs) trained on an additional set of clean data, which, however, is not always available. Self-training and unsupervised learning techniques (Rasmus et al., 2015; Berthelot et al., 2019) have also been employed to generate pseudo labels to replace noisy labels (Arazo et al., 2019). The pseudo labels are optimized together with the model or generated by the model with data augmentations to encourage the output consistency on the same sample’s augmentations. Unfortunately, the pseudo labels’ quality may vary across different samples and significantly degenerate when the noise ratio is high, or the model fails to produce stable and correct predictions. In such a case, the relabeling error on some samples can be accumulated during training.
|
| 18 |
+
|
| 19 |
+
In this paper, we address the aforementioned problems of noise-label learning by developing a curriculum learning strategy called Robust Curriculum Learning (RoCL) that smoothly transitions between two phases: (1) detection and supervised training on clean data; and (2) relabeling and self-supervision on noisy data. Specifically, we train the model for multiple episodes, each starting from phase(1) and gradually moving to phase(2). Unlike existing approaches, we only select samples with accurate given/pseudo labels that are most informative to the current model training. Our data selection criterion takes both the dynamics of per-sample loss and output consistency (across multiple data augmentations) into account. Using an exponential moving average of the loss and consistency over training history, it overcomes the instability of instantaneous losses and does not incur any additional inference cost. In addition, by adjusting a temperature parameter, the criterion can interpolate between the two phases and keep the training focusing on the data that the model mostly needs to improve on, e.g., clean data with unsatisfying output consistency or wrongly-labeled data with accurate pseudo labels. Thus, we can fully exploit both clean and noisy data more efficiently with less risk of introducing extra noise or error accumulation. We further show that our data selection can be derived from a novel optimization formulation for robust curriculum learning. We evaluate our method on multiple noisy learning benchmarks and show that our method outperforms a diverse set of recent noisy-label learning approaches.
|
| 20 |
+
|
| 21 |
+
# 1.1 RELATED WORK
|
| 22 |
+
|
| 23 |
+
Early curriculum learning (CL) (Khan et al., 2011; Basu & Christensen, 2013; Spitkovsky et al., 2009; Zhou et al., 2021) seeks an optimized sequence of training samples (i.e., a curriculum, which can be designed by human experts) to improve model performance. Self-paced learning (SPL)(Kumar et al., 2010; Tang et al., 2012a; Supancic III & Ramanan, 2013; Tang et al., 2012b) selects easy samples with smaller losses. It starts with selecting a few samples of small loss and gradually increases the selection size to cover all the training data. Self-paced curriculum learning (Jiang et al., 2015) combines the human expert in CL and loss-adaptation in SPL. SPL with diversity (SPLD) (Jiang et al., 2014) applies a negative group sparse regularization to SPL to promote the diversity of selected samples. Minimax curriculum learning Zhou & Bilmes (2018) promotes the diversity of samples during early learning to encourage exploration and focus on hard samples in later stages.
|
| 24 |
+
|
| 25 |
+
In the context of robust learning with noisy labels, label correction methods aim to identify the wrong labels and possibly correct them to get more consistent labels for training. Previous work often apply an extra noise model (directed graphical model (Xiao et al., 2015), conditional random fields (Vahdat, 2017), neural network (Lee et al., 2018; Veit et al., 2017), knowledge graph (Li et al., 2017b)) to correct the noisy labels, which often require extra clean data and as well as training/inference of the noise model. Another line of research focuses on loss correction, which modifies the loss or prediction probabilities during training to correct the misinformation from the noisy labels. Patrini et al. (2017) uses two noise transition (backward and forward) matrices to correct the prediction probabilities. Label Smoothing Regularization (Szegedy et al., 2016; Pereyra et al., 2017) alleviates the overfitting to noisy labels by using soft labels instead of one-hot labels. Reed et al. (2014) augments the loss with a notion of perceptual consistency. Jiang et al. (2018) trains a mentor network to reweigh samples duri‘ng the training of a student network. Guo et al. (2018) designs a curriculum by ranking the complexity of data using its distribution density in a feature space. Ren et al. (2018) proposes a meta-learning algorithm that learns to assign weights to samples based on their gradients in training compared to those of validation data, which requires extra clean data. Co-teaching (Han et al., 2018) feeds in the network with the most confident samples of another network to reduce confirmation bias. Amid et al. (2019) generalizes the logistic loss and the exponents in the softmax by applying a temperature to each of them and makes the training more robust to noise. Hu et al. (2019) trains a network on noisy labels in the weakly supervised setting and uses it as a regularization term to improve the training on clean data.
|
| 26 |
+
|
| 27 |
+
Some approaches focus on designing loss functions that have robust behaviors and provable tolerance to label noise. Ghosh et al. (2017) theoretically proves that the Mean Absolute Error(MAE) is a robust loss. The Generalized Cross Entropy (Zhang & Sabuncu, 2018) uses a negative Box-Cox transformation to obtain a loss function that generalizes MAE and Cross Entropy loss. Wang et al. (2019) proposes a Symmetric Cross Entropy that combines Cross Entropy loss and Reverse Cross Entropy loss. Ma et al. (2020) proposes a loss normalization method and shows that any loss can be made robust to noisy labels.
|
| 28 |
+
|
| 29 |
+
RoCL shares similar ideas with some CL methods in that RoCL starts with learning easy and clean samples and gradually moves to hard and noisy ones. RoCL is more related to the loss correction approach in noisy-label learning literature as RoCL generates a curriculum dynamically assigning weight (probability) to each sample. RoCL differs from existing methods in: (1) it only selects a subset of informative and reliable labels for training in each epoch; (2) it is a smooth transition not only from clean data to noisy data but also from supervised learning to self-supervision; (3) it runs multiple episodes of the curriculum to avoid getting in a local minimum dominated by a small set of clean/noisy data or a specific type of loss; (4) it does not assume the availability of an extra set of clean data; (5) it does not require extra computation or any modification to the model.
|
| 30 |
+
|
| 31 |
+
# 2 DYNAMIC PATTERNS OF CLEAN/NOISY LABELS IN TRAINING 2.1 LOSS DYNAMICS AND CLEAN LABEL DETECTION
|
| 32 |
+
|
| 33 |
+
A key challenge for most noise-label learning methods is to design a reliable criterion to select/reweigh clean data and distinguish them from the noisy data, so all the clean data can be fully exploited while most noisy labels are filtered out of the training process. Loss computed at an instantaneous step have been widely used for this purpose according to the observation that the loss on clean data is usually smaller than noisy data. One important reason is that the clean labels are mutually consistent with each other in producing gradient updates, and therefore, the model can fit them better and faster. On the other hand, the noisy labels may contain mutually inconsistent information, creating a form of long-lasting “tug of war” amongst themselves. For example, it can be hard for the model to find consistent visual patterns from images with noisy labels to make the desired predictions. However, instantaneous loss suffers from high variance across training epochs (as shown in the first plot of Figure 1) and is inaccurate for clean data detection under high noise ratio (i.e., the proportion of wrong labels is high) and the randomness of DNN training,
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 1: Dynamic patterns (mean±std) of instantaneous metrics (top) and exponential moving average (EMA) metrics (bottom) when applying Alg. 2 that alternates between supervised learning on given labels and self-supervision on pseudo labels. Larger gap between curves in each plot is better. Symmetric noise is defined in the beginning of Section 4. We use cross entropy for supervised loss $\ell ( \cdot , \cdot )$ in Eq. (1) and 0-1 loss for $\ell ( \cdot , \cdot )$ in consistency loss Eq. (2) with $m = 7$ .
|
| 37 |
+
|
| 38 |
+
e.g., random initialization, random data augmentation, etc. Moreover, it needs to evaluate the instantaneous loss for all samples in each step, resulting in extra inference cost on unselected samples.
|
| 39 |
+
|
| 40 |
+
The dynamic patterns of losses (Zhou et al., 2020b) over the course of training give us a new insight for better clean data detection even when the noise ratio (proportion of wrong labels) is high. In particular, we hypothesize that a sample’s label is more likely to be correct if its losses persistently retain low values over training steps. Given a sample $( x _ { i } , y _ { i } )$ with $x _ { i }$ being the features and $y _ { i }$ being the label, we describe its loss dynamics using a simple exponential moving average (EMA) of the instantaneous loss $\ell ( f ( x _ { i } ; \theta _ { t } ) , \overset { \cdot } { y } _ { i } )$ (where $f ( x _ { i } ; \theta _ { t } )$ denotes the model output and $\theta _ { t }$ is the model parameters at step $t ^ { * }$ along the training history, which is defined and computed recursively as
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
l _ { t + 1 } ( i ) = \left\{ \begin{array} { l l } { \gamma \times \ell ( f ( x _ { i } ; \theta _ { t } ) , y _ { i } ) + ( 1 - \gamma ) \times l _ { t } ( i ) } & { \mathrm { ~ i f ~ } i \in S _ { t } } \\ { l _ { t } ( i ) } & { \mathrm { ~ e l s e ~ , ~ } } \end{array} \right.
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
Where $\gamma \in [ 0 , 1 ]$ is a discounting factor, $V$ is the set of all $n$ training samples, and $S _ { t } \subseteq V$ is the set of samples selected (by a certain curriculum) for training at epoch $t$ . We only update the EMA loss for selected samples using the byproduct $l _ { t } ( i )$ of training without requiring extra inference.
|
| 47 |
+
|
| 48 |
+
In the first and the third plots of Figure 1, we show how the losses and EMA losses associated with clean/noisy data change throughout the training process. Specifically, we train a ResNet34 (He et al., 2016) model on CIFAR10 with $6 0 \%$ of the original labels randomly changed to a wrong class. To avoid quick overfitting to the noise, we train the model for multiple episodes (each composed of several epochs over all data with a cosine annealing learning rate) and alternate between the supervised learning episode that minimizes the cross-entropy loss against the given noisy labels and the self-supervision episode that minimizes the consistency loss Eq.(2) against the pseudo labels. Comparing the shaded areas (std) of instantaneous loss and EMA loss and the gap between curves in the two plots, we see that EMA leads to smaller variance within each group and larger gap between the clean and noisy groups, demonstrating the effectiveness of EMA loss for clean data detection.
|
| 49 |
+
|
| 50 |
+
# 2.2 CONSISTENCY DYNAMICS AND PSEUDO LABEL SELECTION
|
| 51 |
+
|
| 52 |
+
Simply removing noisy data $( x , y )$ with wrong label $y$ discards important information about the data distribution $p ( x )$ (Arazo et al., 2019). Including all the noisy data for self-supervision, bootstrapping or relabeling can also harm the training since the pseudo labels’ quality is not equal across samples and much depends on the model generating them, where the model’s predictions may contain errors that can accumulate if adopted for training. Hence, a careful selection of noisy data is necessary. However, without access to a purely clean dataset or a reliable pre-trained model, it is nontrivial to evaluate pseudo labels’ correctness. By analyzing the training dynamics of model outputs in the above experiment, we discover that the model output for a sample tends to be an accurate pseudo label if the output remains consistent over training steps and across different augmentations of the sample.
|
| 53 |
+
|
| 54 |
+
We first define the instantaneous consistency loss of a sample $x _ { i }$ at step $t$ as the discrepancy of the model output $f ( x _ { i } ; \theta )$ between step $t$ and $t - 1$ on $x _ { i }$ and its $m$ data augmentations $\{ x _ { i } ^ { ( j ) } \} _ { j = 1 } ^ { m }$ where the discrepancy can be measured by any loss function $\ell ( \cdot , \cdot )$ . However, the discrepancy can be small if the models of epoch $t$ and $t - 1$ are too similar and make the same errors. Therefore, we use an exponential moving average of the model parameters (according to mean teacher (Tarvainen & Valpola, 2017)) and compute the prediction at step $t - 1$ by averaging over multiple data augmentations (according to MixMatch (Berthelot et al., 2019)): $\begin{array} { r } { \overline { { f } } _ { t } ( x _ { i } ) \triangleq \mathbb { 1 } / m \sum _ { j = 1 } ^ { m } f ( x _ { i } ^ { ( j ) } ; \overline { { \theta } } _ { t } ) , \overline { { \theta } } _ { t } \triangleq \gamma \theta _ { t - 1 } + } \end{array}$ $( 1 - \gamma ) \overline { { \theta } } _ { t - 1 }$ . Computing pseudo labels on augmented data and a time averaging ensemble of models is commonly-adopted for semi-supervised learning (Sajjadi et al., 2016; Laine $\&$ Aila, 2016; Zhou et al., 2020a). The instantaneous consistency loss† $\zeta _ { t } ( i )$ of sample $x _ { i }$ at step $t$ is then defined as
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\zeta _ { t } ( i ) \triangleq \frac { 1 } { m } \sum _ { j = 1 } ^ { m } \ell ( f ( x _ { i } ; \theta _ { t } ) , \overline { { f } } _ { t } ( x _ { i } ^ { ( j ) } ) ) ,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
Which can also be minimized as a consistency loss for $x _ { i }$ in self-supervised learning when no label is given. Similar to the EMA loss in Eq. (1), we define the EMA consistency loss over training history
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
c _ { t + 1 } ( i ) = \left\{ \begin{array} { l l } { \gamma \times \zeta _ { t } ( i ) + ( 1 - \gamma ) \times c _ { t } ( i ) } & { \mathrm { ~ i f ~ } i \in S _ { t } } \\ { c _ { t } ( i ) } & { \mathrm { ~ e l s e . ~ } } \end{array} \right.
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
Note we use the same $\gamma$ value as in Eq. (1). The EMA consistency loss $c _ { t } ( i )$ measures both the time-consistency (Zhou et al., 2020a) over multiple training steps and the spatial consistency over different augmentations of sample $x _ { i }$ . If the output prediction is wrong and contradicts other samples’ labels, it will be inconsistent over time and across augmentations since it can easily change or flip after the next training step. In the last plot of Figure 1, we report the mean and standard deviation (the middle line and the shaded area) of the EMA consistency loss for two groups of data at each epoch, i.e., the ones with correct pseudo labels and the ones with incorrect pseudo labels. Comparing to the instantaneous consistency loss in the second plot, EMA consistency loss is a more reliable criterion for allocating correct pseudo labels. Thus, we can safely learn the noisy data by using their pseudo labels as training targets and avoid introducing harmful noises.
|
| 67 |
+
|
| 68 |
+
# 3 ROBUST CURRICULUM LEARNING
|
| 69 |
+
|
| 70 |
+
In this section, we first introduce the selection criterion for both the clean label detection and pseudo label selection. By adjusting two temperature parameters $\tau _ { 1 }$ and $\tau _ { 2 }$ , it can smoothly interpolate between the two criteria and control their trade-off. We then show that the criterion is derived from a novel optimization formulation for robust curriculum learning. We finally present the RoCL algorithm.
|
| 71 |
+
|
| 72 |
+
# 3.1 DATA SELECTION CRITERION
|
| 73 |
+
|
| 74 |
+
To combine of clean label detection and pseudo label selection, we use the two criteria from the previous sections and apply a temperature parameter to control the preference for small/large loss or consistency loss and their trade-off. We sample $x _ { i }$ at training step $t$ with probability:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\begin{array} { r } { \mathcal { P } _ { t } ( i ) = \lambda \times p _ { t } ( i ) + ( 1 - \lambda ) \times q _ { t } ( i ) , } \end{array}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where $p _ { t } ( i )$ and $q _ { t } ( i )$ are defined as softmax probabilities, i.e.,
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
p _ { t } ( i ) \triangleq \frac { \exp [ \tau _ { 1 } l _ { t } ( i ) ] } { \sum _ { j = 1 } ^ { n } \exp [ \tau _ { 1 } l _ { t } ( j ) ] } , q _ { t } ( i ) \triangleq \frac { \exp [ \tau _ { 2 } c _ { t } ( i ) ] } { \sum _ { j = 1 } ^ { n } \exp [ \tau _ { 2 } c _ { t } ( j ) ] } ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
and $\lambda \in [ 0 , 1 ]$ controls trade-off between them. Here, $p _ { t } ( i )$ is a softmax probability computed from EMA losses for clean data detection: samples with smaller (larger) EMA losses and thus clean (noisy) labels tend to have high probability $\bar { p } _ { t } ( i )$ when $\tau _ { 1 }$ is negative (positive). Similarly, $q _ { t } ( i )$ is computed from EMA consistency loss for pseudo label selection: samples with smaller (larger) EMA consistency loss and thus correct (wrong) pseudo labels tend to have high probability $q _ { t } ( i )$ when $\tau _ { 2 }$ is negative (positive). When $\tau _ { 1 } , \tau _ { 2 } = 0$ , the probabilities are uniform, and when $\tau _ { 1 } , \tau _ { 2 } + \infty /$ $- \infty$ , the probabilities approximate the max (min) operator.
|
| 87 |
+
|
| 88 |
+
Either $p _ { t } ( i )$ or $q _ { t } ( i )$ can be independently employed to select or reweigh samples for noise-label learning. However, selecting samples with high probabilities $p _ { t } ( i )$ when $\tau _ { 1 } \ll 0$ tends to make the training focus on clean data that the model has already learned, which carries limited new information and prevents exploration. Similarly, selecting samples with high probabilities $q _ { t } ( i )$ when $\tau _ { 2 } \ll 0$ is not informative since the model outputs are consistently correct for those data, and little progress can be made.We can encourage exploration by manipulating the temperature parameters. By setting $\tau _ { 1 }$ and $\tau _ { 2 }$ close to zero, we move towards uniform exploration of all data. A more effective strategy is to couple the values of $\tau _ { 1 }$ and $\tau _ { 2 }$ . For example, a negative $\tau _ { 1 }$ and a positive $\tau _ { 2 }$ strengthen the preference for clean data that have not been fully exploited and learned by the model. Alternatively, a positive $\tau _ { 1 }$ with a negative $\tau _ { 2 }$ emphasizes the noisy data with correct pseudo labels, so relabeling them provides new information in addition to the clean data.
|
| 89 |
+
|
| 90 |
+
We apply the data selection criterion of Eq. (4) in each step and gradually change its parameters $( \tau _ { 1 } , \tau _ { 2 } , \lambda )$ over the course of training according to the properties discussed above. We start from a negative $\tau _ { 1 }$ associated with a positive $\tau _ { 2 }$ and a large $\lambda$ ${ p } _ { t } ( i )$ dominates), then gradually increase $\tau _ { 1 }$ while decrease $\tau _ { 2 }$ and $\lambda$ , and end with a positive $\tau _ { 1 }$ , a negative $\tau _ { 2 }$ and a small $\lambda$ . In this way, we get a curriculum with a smooth transition between supervised learning of clean data using correct given labels and self-supervision of noisy data using reliable pseudo labels (i.e., minimizing Eq. (2). Moreover, the coupling strategy on $\tau _ { 1 }$ and $\tau _ { 2 }$ encourages selecting informative samples that the model mostly needs to improve on, i.e., clean data with inconsistent model outputs or noisy data with correct pseudo labels. In our experiments, we can further reduce the hyperparameters: (1) given the sequence for $\tau _ { 1 }$ in the curriculum as $\tau _ { 1 : T }$ , we can reverse it as the sequence for $\tau _ { 2 }$ , i.e., $\tau _ { T : 1 }$ ; (2) we can make $\lambda$ monotone increase with $\tau _ { 1 }$ , e.g., setting the initial value $\lambda _ { 1 } = a \tau _ { 1 } + b$ and ending value $\lambda _ { T } = a \tau _ { T } + b$ , solving this linear system for $a$ and $b$ , which generate $\lambda _ { 1 : T } = a \tau _ { 1 : T } + b$ .
|
| 91 |
+
|
| 92 |
+
# 3.2 ROBUST CURRICULUM LEARNING AS AN OPTIMIZATION
|
| 93 |
+
|
| 94 |
+
The data selection criterion is derived from an optimization formulation of our robust curriculum learning (RoCL), in which we aim to minimize a combination of supervised loss and
|
| 95 |
+
|
| 96 |
+
consistency(self-supervised) loss in the following form.
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\operatorname* { m i n } _ { \theta } F ( \theta ) \triangleq \frac { \lambda } { \tau _ { 1 } } \log \left( \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \exp [ \tau _ { 1 } \ell ( f ( x _ { i } ; \theta ) , y _ { i } ) ] \right) + \frac { 1 - \lambda } { \tau _ { 2 } } \log \left( \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \exp [ \tau _ { 2 } \zeta ( i ) ] \right) ,
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
where the consistency loss $\zeta ( i )$ is defined in Eq. (2) (with $t$ removed). For the first term of Eq. (6), $\textstyle 1 / n \sum _ { i = 1 } ^ { n } \ell ( f ( x _ { i } ; \theta ) , y _ { i } )$ l empirical risk minimization (ERM) with arithmetic average loss, i.e.,, we use LogSumExp loss with an additional temperature parameter (i.e., $\begin{array} { r l } & { \frac { 1 } { \tau _ { 1 } } \log \left( \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \exp [ \tau _ { 1 } \ell ( f ( x _ { i } ; \theta ) , y _ { i } ) ] \right) } \end{array}$ ), so it can approximate both the min-loss (when $\tau _ { 1 } \to - \infty ,$ max-loss (when $\tau _ { 1 } \to + \infty ,$ ), and any interpolation between them, where the min-loss focuses on the easiest samples with the smallest losses and the max-loss focuses on the hardest ones. Note it reduces to the arithmetic average loss when $\tau 0$ . It is called “tilted loss” in a recent work (Li et al., 2020), which shows several intriguing properties in different learning settings. The second term of Eq. (6) focuses on the consistency loss $\zeta ( i )$ . We use $\lambda$ to control the trade-off between the supervised loss and the consistency loss. By simple algebra, the gradient of $F ( \theta )$ at step $t$ is
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array} { l } { \displaystyle \nabla _ { \theta } F ( \theta _ { t } ) = \lambda \sum _ { i = 1 } ^ { n } p _ { t } ^ { \prime } ( i ) \nabla _ { \theta } \ell ( f ( x _ { i } ; \theta _ { t } ) , y _ { i } ) + ( 1 - \lambda ) \sum _ { i = 1 } ^ { n } q _ { t } ^ { \prime } ( i ) \nabla _ { \theta } \zeta _ { t } ( i ) } \\ { \displaystyle = \sum _ { i = 1 } ^ { n } \mathcal { P } _ { t } ^ { \prime } ( i ) \left[ \frac { \lambda p _ { t } ^ { \prime } ( i ) } { \mathcal { P } _ { t } ^ { \prime } ( i ) } \nabla _ { \theta } \ell ( f ( x _ { i } ; \theta _ { t } ) , y _ { i } ) + \frac { ( 1 - \lambda ) q _ { t } ^ { \prime } ( i ) } { \mathcal { P } _ { t } ^ { \prime } ( i ) } \nabla _ { \theta } \zeta _ { t } ( i ) \right] = \mathbb { E } _ { i \sim \mathcal { P } _ { t } ^ { \prime } ( i ) } G _ { t } ( i ) , } \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where
|
| 109 |
+
|
| 110 |
+
$$
|
| 111 |
+
G _ { t } ( i ) \triangleq \frac { \lambda p _ { t } ^ { \prime } ( i ) } { \mathcal { P } _ { t } ^ { \prime } ( i ) } \nabla _ { \theta } \ell ( f ( x _ { i } ; \theta _ { t } ) , y _ { i } ) + \frac { ( 1 - \lambda ) q _ { t } ^ { \prime } ( i ) } { \mathcal { P } _ { t } ^ { \prime } ( i ) } \nabla _ { \theta } \zeta _ { t } ( i ) .
|
| 112 |
+
$$
|
| 113 |
+
|
| 114 |
+
Here, $p _ { t } ^ { \prime } ( i )$ and $q _ { t } ^ { \prime } ( i )$ are similar to $p _ { t } ( i )$ and $q _ { t } ( i )$ defined in Eq. (5) except that the EMA loss and EMA consistency loss are replaced by their instantaneous counterparts respectively, i.e., $p _ { t } ^ { \prime } ( i ) \triangleq$ $\frac { \exp [ \tau _ { 1 } \ell ( f ( x _ { i } ; \theta _ { t } ) , y _ { i } ) ] } { \sum _ { j = 1 } ^ { n } \exp [ \tau _ { 1 } \ell ( f ( x _ { j } ; \theta _ { t } ) , y _ { j } ) ] }$ , P exp[τ2ζt(i)]nj=1 exp[τ2ζt(j)] . Similarly, we also denote P 0t(i) = λ × p0t(i) + $( 1 - \lambda ) \times q _ { t } ^ { \prime } ( i )$ . Note in Section 2, we already discussed that the EMA metrics are better alternatives to the instantaneous metrics when used for data selection in noisy-label learning. In our experiments, we use the EMA metrics $\{ p _ { t } ( i ) , q _ { t } ( i ) , \mathcal { P } _ { t } ( i ) \}$ instead of the instantaneous ones $\{ p _ { t } ^ { \prime } ( i ) , q _ { t } ^ { \prime } ( \dot { i } ) , \mathcal { P } _ { t } ^ { \prime } ( i ) \}$ . For every training step, an unbiased estimator of the gradient in Eq. (7) can be achieved by drawing a subset of samples $S _ { t }$ according to $\mathcal { P } _ { t } ( i )$ and averaging their gradients $G _ { t } ( i )$ in Eq. (8).
|
| 115 |
+
|
| 116 |
+
# 3.3 ROBUST CURRICULUM LEARNING ALGORITHM
|
| 117 |
+
|
| 118 |
+
# Algorithm 1 Robust Curriculum Learning (RoCL)
|
| 119 |
+
|
| 120 |
+
We describe our curriculum learning algorithm RoCL in Alg. 1 based on the data selection criterion in Section 3.1 and the optimization formulation in Section 3.2. We denote the update of $\theta _ { t }$ produced by the adopted optimizer as $\mathsf { \bar { h } } ( \nabla _ { \theta } F ( \theta _ { t } ) , \eta )$ , where $\eta$ contains all hyperparameters of the optimizer at step $t$ , e.g., the learning rate. We denote $\ell _ { t } ( i )$ as a shorthand notation for $\ell ( f ( x _ { i } ; \theta _ { t - 1 } ) , y _ { i } )$ . We apply a warm starting episode of a few epochs (e.g., 5-10) over all the data and given labels with label smoothing to obtain stable EMA metrics. After that, we apply multiple episodes of curriculum learning, each including a sequence of steps following the curriculum at the end of Section 3.1 for data selection per step (Line 6-14). We repeat the transition between clean data learning to noisy data learning for $K$ episodes to avoid getting trapped in a local
|
| 121 |
+
|
| 122 |
+
1: input: $\{ ( x _ { i } , y _ { i } ) \} _ { i = 1 } ^ { n } , h ( \cdot ; \eta ) , \ell ( \cdot , \cdot ) , f ( \cdot ; \theta ) , T _ { 0 : K } ; \tau _ { 1 } <$
|
| 123 |
+
$0 , \tau _ { T } > 0 ; \lambda _ { 1 } , \lambda _ { T } \in [ 0 , 1 ] ; \gamma , \gamma _ { b } \in [ 0 , 1 ]$
|
| 124 |
+
2: initialize: $\theta _ { 0 }$ , $b _ { 0 } \in ( 0 , n )$ , $l _ { 0 } ( i ) = \bar { c } _ { 0 } ( i ) \bar { = } 0 \forall i \in [ n ]$
|
| 125 |
+
3: for $k \in \{ 0 , \cdots , K \}$ do
|
| 126 |
+
4: Schedule $\tau _ { 1 : T _ { k } }$ and $\lambda _ { 1 : T _ { k } }$ by Eq. (9)-(10);
|
| 127 |
+
5: for $t ^ { \prime } \in \{ 1 , \cdots , T _ { k } \}$ do
|
| 128 |
+
6: $t \gets t ^ { \prime } + T _ { k - 1 }$ ;
|
| 129 |
+
7: if $k = 0$ then
|
| 130 |
+
8: $\begin{array} { r l } & { { S _ { t } } \gets [ n ] ; } \\ & { \theta _ { t } \gets \theta _ { t - 1 } + h \left( \nabla _ { \theta } \frac { 1 } { n } \sum _ { i = 0 } ^ { n } \ell _ { t } ( i ) ; \eta \right) ; } \end{array}$
|
| 131 |
+
9:
|
| 132 |
+
10: else
|
| 133 |
+
11: Draw a subset $S _ { t } \subseteq [ n ]$ of $b _ { k }$ samples according
|
| 134 |
+
to probability $\mathcal { P } _ { t }$ in Eq. (4) with $\tau _ { 1 } = \tau _ { t ^ { \prime } } , \tau _ { 2 } =$
|
| 135 |
+
$\tau _ { T _ { k } - t ^ { \prime } } , \lambda = \lambda _ { t ^ { \prime } }$ ;
|
| 136 |
+
12: $\begin{array} { r l } & { \theta _ { t } \theta _ { t - 1 } + h ( \frac { 1 } { b _ { k } } \sum _ { i \in S _ { t } } G _ { t } ( i ) ; \eta ) } \end{array}$ (Eq. (8));
|
| 137 |
+
13: end if
|
| 138 |
+
14: Update $l _ { t + 1 } ( i )$ and $c _ { t + 1 } ( i )$ by Eq. (1) and Eq. (3);
|
| 139 |
+
15: end for
|
| 140 |
+
16: $b _ { k + 1 } ( 1 + \gamma _ { b } ) \times b _ { k } ;$
|
| 141 |
+
17: end for
|
| 142 |
+
|
| 143 |
+
the memorization of clean labels and correct pseudo labels learned in previous episodes. Moreover, under the coupling strategy of $\tau _ { 1 }$ and $\tau _ { 2 }$ , each episode is encouraged to explore the clean/noisy data that the previous episode fails to learn. Considering the undertrained model (producing inaccurate pseudo labels) and the relatively high variance of the EMA metrics at the earlier episodes, we start from a small budget for the selected subset size and gradually increase in later episodes.
|
| 144 |
+
|
| 145 |
+
To generate the whole schedule of $\tau _ { 1 : T }$ in each episode, we can apply any monotone interpolation between $\tau _ { 1 }$ and $\tau _ { T }$ whose values are predefined. Let $g : { \mathcal { R } } \mapsto [ - \sigma , \sigma ]$ be an invertible monotone continuous function. We define the interpolation between $\tau _ { 1 }$ and $\tau _ { T }$ as follows, $\forall t \in [ T ]$ ,
|
| 146 |
+
|
| 147 |
+
$$
|
| 148 |
+
\tau _ { t } = \frac { \tau _ { T } - \tau _ { m } } { \sigma } \times \left[ g ( \sigma _ { t } ) - \frac { g ( - \sigma ) + g ( \sigma ) } { 2 } \right] + \tau _ { m } , \sigma _ { t } = g ^ { - 1 } ( - \sigma ) + \frac { 2 t } { T } g ^ { - 1 } ( \sigma ) , \tau _ { m } = \frac { \tau _ { 1 } + \tau _ { T } } { 2 } .
|
| 149 |
+
$$
|
| 150 |
+
|
| 151 |
+
Note the $g ( \sigma _ { t } )$ produces interpolation values between $[ - \sigma , \sigma ]$ that correspond to $T$ evenly spaced input $\sigma _ { t } \in \mathring { [ g ^ { - 1 } ( - \sigma ) , g ^ { - 1 } ( \sigma ) ] }$ . In our curriculum for each episode, we need to keep a high quality of the selected clean (pseudo) labels in earlier (later) stages and make the exploration stages in between shorter since their selected labels contain more noise. Therefore, we choose “s”-shaped functions such as tanh or the logistic function for the interpolation. In this paper, we use $g ( \cdot ) \stackrel { - } { = } \operatorname { t a n h } ( \cdot )$ and pick $\sigma = 0 . 9 5$ . We illustrate Eq. (9) and visualize our choice of $g ( \cdot )$ and the resulting $\tau _ { t }$ in Figure 6 (Appendix). The corresponding schedule for $\lambda$ can then be defined as an affine transformation of $\tau _ { 1 : T }$
|
| 152 |
+
|
| 153 |
+
$$
|
| 154 |
+
\forall t \in [ T ] , \lambda _ { t } = a _ { \lambda } ( \tau _ { t } - \tau _ { 1 } ) + \lambda _ { 1 } , a _ { \lambda } = \frac { \lambda _ { T } - \lambda _ { 1 } } { \tau _ { T } - \tau _ { 1 } } .
|
| 155 |
+
$$
|
| 156 |
+
|
| 157 |
+
# 4 EXPERIMENTS
|
| 158 |
+
|
| 159 |
+
We evaluate RoCL with other approaches for noisylabel learning on three widely used benchmarks, i.e., CIFAR10/100 with two types of synthetic noises (i.e., symmetric and asymmetric), and mini-WebVision (Li et al., 2017a) (the first 50 classes) containing unknown noises from web labels. Symmetric noise flips each label randomly to an incorrect class with probability $\rho$ (i.e., noise rate), and our experiments cover $\rho = \{ 0 . 4 , 0 . 6 , 0 . 8 \}$ . Asymmetric noise flips the labels within a specific set of classes. For CIFAR10, flipping TRUCK AUTOMOBILE, BIRD AIRPLANE, DEER HORSE, $\mathrm { C A T } { } \mathrm { D O G }$ . In CIFAR100, the 100 classes are grouped into 20 super-classes with each has 5 sub-classes, we then flip each class within the same super-class to the next in a circular fashion with probability $\rho$ . Our experiments cover $\rho = \{ 0 . 2 , 0 . 3 , 0 . 4 \}$ .
|
| 160 |
+
|
| 161 |
+
Table 1: Accuracy $( \% )$ evaluated on WebVision and ILSVRC2012 validation sets for DNNs trained by noisy-label learning methods on mini-WebVision training set (first 50 classes), which contains real-world web-label noises.
|
| 162 |
+
|
| 163 |
+
<table><tr><td>Val. set</td><td>WebVision</td><td>ILSVRC2012</td></tr><tr><td> Accuracy</td><td>Top-1 Top-5</td><td>Top-1 Top-5</td></tr><tr><td>F-correct +*</td><td>61.12 82.68</td><td>57.36 82.36</td></tr><tr><td>Decoupling **</td><td>62.54 84.74</td><td>58.26 82.26</td></tr><tr><td>Co-teaching *</td><td>63.58 85.20</td><td>61.48 84.70</td></tr><tr><td>MentorNet **</td><td>63.00 81.40</td><td>57.80 79.92</td></tr><tr><td>MentorMix ***</td><td>76.00 90.20</td><td>72.90 91.10</td></tr><tr><td>D2L *</td><td>62.68 84.00</td><td>57.80 81.36</td></tr><tr><td>INCV *</td><td>65.24 85.34</td><td>61.60 84.98</td></tr><tr><td>RoCL (ours) *†~</td><td>80.04 92.68</td><td>75.81 92.28</td></tr></table>
|
| 164 |
+
|
| 165 |
+
Practical Modifications In the experiments, we follow previous work and apply the techniques below. We will present an ablation study of their effectiveness in Table 5.
|
| 166 |
+
|
| 167 |
+
• We apply the class-balance regularization used in (Tanaka et al., 2018), which prevents the model from predicting the same class for all the samples within a mini-batch $B$ . We add $\textstyle \bigl ( 1 / B \bigr ) \sum _ { i \in B } \ell \bigl ( f ( x _ { i } ; \theta ) , \overline { { 1 } } / C \cdot { \mathbf { 1 } } \bigr )$ (where $C$ is the number of classes) to the objective for a minibatch $B$ with regularization weight of 1. • We apply label smoothing whose effectiveness in noisy-label learning has been studied in (Lukasik et al., 2020). We modify each one-hot label $y _ { i }$ to be $\bar { y _ { i } } ( 1 - \alpha ) y _ { i } \dot { + } \alpha / C$ (e.g., we use $\alpha = 0 . 5$ ). • We apply Mix-Up (Zhang et al., 2018) to all the selected data. However, Mix-Up of two (soft) pseudo labels can significantly increase the entropy of the mixed label if both pseudo labels are under-confident. Hence, we apply a curriculum to the beta distribution’s parameter $\alpha$ of Mix-Up and gradually reduce it (e.g., from 8.0 to 0.2 in our experiments) within each episode.
|
| 168 |
+
|
| 169 |
+
Hyperparameter Setting We apply $\scriptstyle \mathrm { R o C L }$ to train ResNet34 on CIFAR10/100 and ResNet50 on WebVision, which are the most widely used models in other baseline papers. We apply SGD with momentum of 0.9, weight decay of $1 0 ^ { - 4 }$ and cosine annealing learning rate in each training episode. The initial learning rate is set to 0.1 for CIFAR10/100 and 1.0 for WebVision. In all RoCL experiments, we apply $T _ { 0 } = 1 0$ warm starting epochs followed by $K = 1 0$ episodes of curriculum learning, whose lengths start from $T _ { 1 } = 1 0$ and increase by 10 for every episode afterwards. We initialize the subset size $b _ { 0 } = 0 . 2 n$ and set $\gamma = \gamma _ { b } = 0 . 1$ , which are common choices for discounting/augmenting factors. We use Cubuk et al. (2020) for data augmentations. We did not heavily tune $\lambda _ { 1 } , \lambda _ { T }$ and $\tau _ { 1 } , \tau _ { T }$ and followed a principle that the resulting curriculum should have a transition from supervised learning on clean data to self-supervised learning on noisy data with correct pseudo labels.
|
| 170 |
+
|
| 171 |
+
• For $\lambda$ , we start from $\lambda _ { 1 }$ close to 1 and end with $\lambda _ { T }$ close to 0 because our curriculum is a transition from supervised learning $( \lambda = 1 )$ ) to self-supervised learning $\lambda = 0$ ).
|
| 172 |
+
• As explained in Section 3.1, our curriculum requires $\tau _ { 1 }$ for $p _ { t } ( i )$ changing from negative to positive values and an inverse sequence for $\tau _ { 2 }$ in $q _ { t } ( i )$ to gain the above transition and encourage learning on more informative samples. Hence, we set the starting value $\tau _ { 1 }$ to be negative and $\tau _ { T }$ to be positive for the sequence $\tau _ { 1 : T }$ .
|
| 173 |
+
• We set their exact values based on observations in Figure 1: clean data detection is easier but the detection of correct pseudo-labels is harder. So we can be more confident on the former than the latter and set the starting $\tau _ { 1 }$ larger than $\tau _ { T }$ in magnitude. For the same reason, we set the starting value $\lambda _ { 1 }$ to be closer to 1 than the ending value $\lambda _ { T }$ to 0. In experiments, we tried $\tau _ { 1 } = \{ - 4 , - 3 \}$ and $\tau _ { T } = \{ 1 , 2 \}$ and finally chose $\tau _ { 1 } = - 4$ and $\tau _ { T } = 1$ since this choice performs consistently well on all experiments, though it might not be the best choice for all; we set $\lambda _ { 1 } = 0 . 9$ and did not try other values; we tried $\lambda _ { T } = \{ 0 . 1 , \bar { 0 . 2 } , 0 . 3 \}$ and on some experiments the first two choices lead to slightly worse performance, so we chose $\lambda _ { T } = 0 . 3$ .
|
| 174 |
+
|
| 175 |
+
We compare RoCL to the following baselines: Fcorrect (Patrini et al., 2017), Decoupling (Malach & Shalev-Shwartz, 2017), Co-teaching (Han et al., 2018), D2L (Ma et al., 2018), INCV (Chen et al., 2019), MDDYR-SH (Arazo et al., 2019), MentorNet (Jiang et al., 2018), MentorMix (Jiang et al., 2020), O2U-net (Huang et al., 2019), $\mathrm { R o G + D 2 L }$ (Lee et al., 2019), PENCIL (Yi & Wu, 2019), GCE (Zhang & Sabuncu, 2018), SCE (Wang et al., 2019), NFL/NCE variants (Ma et al., 2020), and Bootstrap (Reed et al., 2014). To better compare and categorize different baseline methods, we use the following symbols to denote the techniques used: $^ +$ for additional clean training data; $^ *$ for training additional auxiliary models; $^ \ddag$ for using mixup; $\star$ for using data augmentations; $\dagger$ for class-balance regularization; o for label-smoothing. We report the results and comparisons to baselines in three tables: real-world noise in Table. 1, symmetric noise in Table. 3 and asymmetric noise in Table. 4. RoCL achieves the best performance in every setting, and for most of the cases, improves upon the existing methods by large margins. The closest rival to RoCL is MentorMix, which utilizes MentorNet and Mix-Up to assign weights to each sample. We note that MentorMix requires training of an extra mentor network to generate the sample weights, while RoCL is more flexible and only makes changes to the training process without modifying the model. Table. 2 reports RoCL’s performance when applied with different loss functions on
|
| 176 |
+
|
| 177 |
+
Table 2: Test accuracy $( \% )$ of $\mathbf { R o C L }$ applied with different loss functions on CIFAR10 corrupted by $\{ 6 0 \% , 8 0 \% \}$ symmetric(uniform) noises (CE-cross entropy).
|
| 178 |
+
|
| 179 |
+
<table><tr><td>Noise Rate</td><td>60%</td><td>80%</td></tr><tr><td>CE</td><td>90.22 ± 0.24</td><td>77.47± 0.67</td></tr><tr><td>GCE</td><td>89.30 ± 0.68</td><td>79.84± 1.12</td></tr><tr><td>SCE</td><td>92.06 ±0.23</td><td>74.25 ±0.86</td></tr><tr><td>NFL+MAE</td><td>88.73±0.47</td><td>85.76±0.26</td></tr><tr><td>NFL+RCE</td><td>87.68 ± 0.35</td><td>80.09 ± 0.41</td></tr><tr><td>NCE+MAE</td><td>90.37 ± 0.43</td><td>82.16 ± 0.93</td></tr><tr><td></td><td></td><td></td></tr><tr><td>NCE+RCE</td><td>88.03 ±0.39</td><td>80.33 ± 0.80</td></tr></table>
|
| 180 |
+
|
| 181 |
+
Table 3: Test accuracy $( \% )$ of noisy-label learning methods on CIFAR10/100 corrupted by symmetric(uniform) label noises of different levels. All the baselines’ results are from the original papers or the following-up works. There are two formats of these reported results: “mean±variance” of 5 trials and single-trial accuracy.
|
| 182 |
+
|
| 183 |
+
<table><tr><td>Dataset</td><td colspan="3">CIFAR10</td><td colspan="3">CIFAR100</td></tr><tr><td>Noise Rate</td><td>40%</td><td>60%</td><td>80%</td><td>40%</td><td>60%</td><td>80%</td></tr><tr><td>MD-DYR-SH **†+</td><td>92.3</td><td>86.1</td><td>74.1</td><td>70.1</td><td>59.5</td><td>39.5</td></tr><tr><td>MentorNet **</td><td>91.2</td><td>74.2</td><td>60.0</td><td>68.5</td><td>61.2</td><td>35.5</td></tr><tr><td>MentorMix ***</td><td>94.2</td><td>91.3</td><td>81.0</td><td>71.3</td><td>64.6</td><td>41.2</td></tr><tr><td>O2U-net *</td><td>90.3</td><td>=</td><td>43.4</td><td>69.2</td><td>-</td><td>39.4</td></tr><tr><td>RoG+D2L **</td><td>87.0</td><td>78.0</td><td>=</td><td>64.9</td><td>40.6</td><td>=</td></tr><tr><td>PENCIL *</td><td>=</td><td>=</td><td>=</td><td>69.12 ±0.62</td><td>57.79± 3.86</td><td>fail</td></tr><tr><td>GCE*</td><td>87.62 ±0.26</td><td>82.70±0.23</td><td>67.92 ± 0.60</td><td>62.64± 0.33</td><td>54.04± 0.56</td><td>29.60±0.51</td></tr><tr><td>SCE *</td><td>85.34 ± 0.07</td><td>80.07 ±0.02</td><td>53.81 ± 0.27</td><td>53.69 ±0.07</td><td>41.47 ± 0.04</td><td>15.00 ± 0.04</td></tr><tr><td>NFL+MAE *</td><td>83.81 ±0.06</td><td>76.36 ± 0.31</td><td>45.23 ± 0.52</td><td>58.18 ±0.08</td><td>46.10±0.50</td><td>24.78±0.82</td></tr><tr><td>NCE+RCE *</td><td>86.02 ±0.09</td><td>79.78 ±0.50</td><td>52.71 ±1.90</td><td>59.48 ± 0.56</td><td>47.12 ± 0.62</td><td>25.80±1.12</td></tr><tr><td>RoCL (ours) ‡*†1</td><td>94.55 ±0.12 92.06 ±0.23 85.76 ±0.26</td><td></td><td></td><td></td><td>74.64 ± 0.43 66.79 ± 0.58 53.89 ± 0.62</td><td></td></tr></table>
|
| 184 |
+
|
| 185 |
+
Table 4: Test accuracy $( \% )$ of noisy-label learning methods on CIFAR10/100 corrupted by asymmetric(classdependent) noises of 3 levels. All the baselines’ results are from the original papers or the following-up works.
|
| 186 |
+
|
| 187 |
+
<table><tr><td>Dataset</td><td colspan="3">CIFAR10</td><td colspan="3">CIFAR100</td></tr><tr><td>Noise Rate</td><td>20%</td><td>30%</td><td>40%</td><td>20%</td><td>30%</td><td>40%</td></tr><tr><td>PENCIL *</td><td>92.43</td><td>91.84</td><td>91.01</td><td>74.70 ±0.56</td><td>72.52 ± 0.38</td><td>63.61 ±0.23</td></tr><tr><td>Bootstrap *</td><td>86.57 ±0.08</td><td>84.86±0.05</td><td>79.76±0.07</td><td>63.44 ± 0.35</td><td>63.18 ±0.35</td><td>62.08 ±0.22</td></tr><tr><td>F-correct +*</td><td>89.09 ±0.47</td><td>86.79±0.36</td><td>83.55 ± 0.58</td><td>42.46± 2.16</td><td>38.13 ± 2.97</td><td>34.44 ± 1.93</td></tr><tr><td>GCE*</td><td>86.07 ± 0.31</td><td>80.78±0.21</td><td>74.98 ± 0.32</td><td>59.99 ± 0.83</td><td>53.99 ± 0.29</td><td>41.49 ± 0.79</td></tr><tr><td>SCE *</td><td>83.92 ± 0.07</td><td>79.70±0.27</td><td>78.20 ± 0.03</td><td>58.22 ± 0.47</td><td>49.85 ± 0.91</td><td>42.19 ±0.19</td></tr><tr><td>NFL+MAE *</td><td>86.81 ± 0.32</td><td>83.91 ± 0.34</td><td>77.16 ± 0.10</td><td>63.10 ± 0.22</td><td>56.19 ± 0.61</td><td>43.51 ± 0.42</td></tr><tr><td>NCE+RCE *</td><td>88.56 ± 0.17</td><td>85.58±0.44</td><td>79.59 ± 0.40</td><td>62.68 ± 0.79</td><td>57.82 ± 0.41</td><td>46.79 ±0.96</td></tr><tr><td>RoCL (ours) t*†</td><td>95.38±0.219</td><td>94.19 ±0.28 92.31±0.35</td><td></td><td></td><td>80.03 ± 0.34 77.59 ± 0.45 73.28 ± 0.83</td><td></td></tr></table>
|
| 188 |
+
|
| 189 |
+
CIFAR10 under high noise rates, i.e., $60 \%$ and $80 \%$ . We observe significant improvements over their performance without using RoCL in Table. 3. It indicates that RoCL is compatible with any loss function and can further enhance their performance.
|
| 190 |
+
|
| 191 |
+
To analyze the effect of each component in RoCL, we conduct a thorough ablation study of 10 variants of RoCL, each removing/changing one component of the original RoCL. In Table 5, we report their test accuracies on CIFAR10/100 with noise rates of $\{ 6 0 \% , 8 0 \% \}$ . In Figure 7-10 in Appendix, we report how their test accuracies change during the training to study their learning efficiency and convergence. Among them, “no ClassBalance” removes the class-balance regularization; “no RandAugment” replaces the strong data augmentation RandAugment Cubuk et al. (2020) with random crop and random horizontal flip; “no RandSampling” replaces the weighted sampling in Line 11 of Algorithm 1 by selecting the top- $\boldsymbol { \cdot } \boldsymbol { b } _ { k }$ samples with the largest $\mathcal { P } _ { t } ( i )$ ; “no EMA metrics” replaces EMA loss and EMA
|
| 192 |
+
|
| 193 |
+
Table 5: Ablation study: Test accuracy $( \% )$ of $\scriptstyle \mathrm { R o C L }$ variants with one part removed/changed when applied to CIFAR10/100 corrupted by symmetric(uniform) label noise.
|
| 194 |
+
|
| 195 |
+
<table><tr><td>Dataset</td><td>CIFAR10</td><td>CIFAR100</td><td></td></tr><tr><td>Noise Rate</td><td>60%</td><td>80%</td><td>60% 80%</td></tr><tr><td>RoCL: no MixUp</td><td>92.98</td><td>88.18</td><td>69.72 58.72</td></tr><tr><td>RoCL:no LabelSmooth</td><td>91.94</td><td>85.05</td><td>62.92 42.95</td></tr><tr><td>RoCL:no ClassBalance</td><td>93.08</td><td>74.91</td><td>62.66 43.94</td></tr><tr><td>RoCL: no RandAugment</td><td>86.59</td><td>72.35</td><td>64.84 44.06</td></tr><tr><td>RoCL: no RandSampling</td><td>92.31</td><td>85.99</td><td>64.09 57.00</td></tr><tr><td>RoCL: no EMA metrics</td><td>92.84</td><td>87.79</td><td>65.99 53.10</td></tr><tr><td>RoCL: pt(i) = 1/n</td><td>92.42</td><td>86.05</td><td>62.69 44.35</td></tr><tr><td>RoCL: qt(i)=1/n</td><td>92.59</td><td>86.93</td><td>64.71 50.79</td></tr><tr><td>RoCL: pt(i)= qt(i) =1/n</td><td>92.07</td><td>85.77</td><td>64.18 47.88</td></tr><tr><td>RoCLBase: no curriculum</td><td>87.83</td><td>66.93</td><td>61.84 41.92</td></tr><tr><td>RoCL: original version</td><td>92.82</td><td>88.00</td><td>66.79 54.22</td></tr><tr><td>MentorMix:+RandAugment</td><td>85.45</td><td>20.68</td><td>52.70 8.02</td></tr><tr><td>MentorMix:+RandAugment-MixUp</td><td>84.31</td><td>38.21</td><td>58.31 8.18</td></tr><tr><td>MentorMix:original version</td><td>91.30</td><td>81.00</td><td>64.60 41.20</td></tr><tr><td></td><td></td><td></td><td></td></tr></table>
|
| 196 |
+
|
| 197 |
+
consistency loss with their instantaneous counterparts; $\dot { \boldsymbol { p } } _ { t } ( i ) = 1 / n ^ { \mathfrak { N } }$ samples the clean data using uniform probabilities; $\mathsf { \bar { q } } _ { t } ( i ) = 1 / n ^ { \prime \prime }$ samples the correct pseudo-labels using uniform probabilities; $\begin{array} { r } { \dot { \mathbf { \sigma } } p _ { t } ( i ) = \mathbf { \bar { { q } } } _ { t } ( i ) = 1 / n ^ { \prime } } \end{array}$ uses uniform probabilities for both. Note for the final three variants, we still have the curriculum of $\lambda$ . We keep the same hyperparameter settings as the original RoCL. We give brief conclusions here and leave a detailed analysis to Appendix: (1) Except $\mathrm { R o C L } _ { B a s e }$ in Algorithm 2, “no RandAugment” and “no ClassBalance”, most variants perform similarly as the original RoCL and outperform the previous SoTA achieved by MentorMix. The removed components are more important under higher noise rates. (2) $\mathrm { R o C L } _ { B a s e }$ removes our proposed curriculum and preserves all other techniques but shows significant degradation on accuracies, indicating that the curriculum is essential to RoCL’s appealing performance. (3) A strong data augmentation is critical to effective self-supervision and accurate EMA consistency loss estimation in RoCL, while a weak one may lead to error accumulation. However, applying RandAugment in MentorMix degrades its original performance. (4) Class-balance regularization is only important under very high noise rates. (5) Removing Mix-Up can improve RoCL’s performance since it damages information when mixing soft pseudo labels. (6) Compared to other variants, “no RandSampling” or “no EMA metrics” causes less degeneration on the final accuracies but can slow down the convergence and learning speed in the early stages when exploration is insufficient. (7) Changing $p _ { t } ( i ) , q _ { t } ( i )$ or both to uniform probabilities reduces the final accuracies in all cases and significantly slows down the learning process.
|
| 198 |
+
|
| 199 |
+
# 5 CONCLUSION
|
| 200 |
+
|
| 201 |
+
We propose a novel curriculum learning method RoCL for robust learning under label noises. RoCL features a smooth transition from learning with clean data to noisy data, and from learning with supervised loss to self-supervised loss. Based on observations of training dynamics, RoCL can select samples with reliable labels/pseudo labels and most informative to training. RoCL does not require availability of extra clean data or training of extra auxiliary models. On multiple benchmarks of noisy label learning, RoCL significantly improves upon existing baselines.
|
| 202 |
+
|
| 203 |
+
# ACKNOWLEDGMENTS
|
| 204 |
+
|
| 205 |
+
This research is based upon work supported by the National Science Foundation under Grant No. IIS1162606, the National Institutes of Health under award R01GM103544, and by a Google, a Microsoft, and an Intel research award. It is also supported by the CONIX Research Center, one of six centers in JUMP, a Semiconductor Research Corporation (SRC) program sponsored by DARPA. Some GPUs used to produce the experimental results are donated by NVIDIA. We would like to thank ICLR area chairs and anonymous reviewers for their efforts in reviewing this paper and their constructive comments! We also thank all the MELODI lab members for their helpful discussions and feedback.
|
| 206 |
+
|
| 207 |
+
# REFERENCES
|
| 208 |
+
|
| 209 |
+
Ehsan Amid, Manfred KK Warmuth, Rohan Anil, and Tomer Koren. Robust bi-tempered logistic loss based on bregman divergences. In Advances in Neural Information Processing Systems, pp. 15013–15022, 2019.
|
| 210 |
+
|
| 211 |
+
Eric Arazo, Diego Ortego, Paul Albert, Noel E O’Connor, and Kevin McGuinness. Unsupervised label noise modeling and loss correction. arXiv preprint arXiv:1904.11238, 2019.
|
| 212 |
+
|
| 213 |
+
Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S. Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, and Simon Lacoste-Julien. A closer look at memorization in deep networks. In International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 233–242, 2017.
|
| 214 |
+
|
| 215 |
+
Sumit Basu and Janara Christensen. Teaching classification boundaries to humans. In AAAI, pp. 109–115, 2013.
|
| 216 |
+
|
| 217 |
+
David Berthelot, Nicholas Carlini, Ian Goodfellow, Nicolas Papernot, Avital Oliver, and Colin A Raffel. Mixmatch: A holistic approach to semi-supervised learning. In Advances in Neural Information Processing Systems 32 (NeurIPS), pp. 5050–5060. 2019.
|
| 218 |
+
|
| 219 |
+
Pengfei Chen, Benben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. arXiv preprint arXiv:1905.05040, 2019.
|
| 220 |
+
|
| 221 |
+
Ekin D. Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V. Le. Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, June 2020.
|
| 222 |
+
|
| 223 |
+
Aritra Ghosh, Himanshu Kumar, and PS Sastry. Robust loss functions under label noise for deep neural networks. arXiv preprint arXiv:1712.09482, 2017.
|
| 224 |
+
|
| 225 |
+
Sheng Guo, Weilin Huang, Haozhi Zhang, Chenfan Zhuang, Dengke Dong, Matthew R Scott, and Dinglong Huang. Curriculumnet: Weakly supervised learning from large-scale web images. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 135–150, 2018.
|
| 226 |
+
|
| 227 |
+
Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In Advances in neural information processing systems, pp. 8527–8537, 2018.
|
| 228 |
+
|
| 229 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016.
|
| 230 |
+
|
| 231 |
+
Mengying Hu, Hu Han, Shiguang Shan, and Xilin Chen. Weakly supervised image classification through noise regularization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 11517–11525, 2019.
|
| 232 |
+
|
| 233 |
+
Jinchi Huang, Lie Qu, Rongfei Jia, and Binqiang Zhao. O2u-net: A simple noisy label detection approach for deep neural networks. In Proceedings of the IEEE International Conference on Computer Vision, pp. 3326–3334, 2019.
|
| 234 |
+
|
| 235 |
+
Lu Jiang, Deyu Meng, Shoou-I Yu, Zhenzhong Lan, Shiguang Shan, and Alexander G. Hauptmann. Self-paced learning with diversity. In NeurIPS, pp. 2078–2086, 2014.
|
| 236 |
+
|
| 237 |
+
Lu Jiang, Deyu Meng, Qian Zhao, Shiguang Shan, and Alexander G. Hauptmann. Self-paced curriculum learning. In AAAI, pp. 2694–2700, 2015.
|
| 238 |
+
|
| 239 |
+
Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li, and Li Fei-Fei. Mentornet: Learning datadriven curriculum for very deep neural networks on corrupted labels. In International Conference on Machine Learning, pp. 2304–2313, 2018.
|
| 240 |
+
|
| 241 |
+
Lu Jiang, Di Huang, Mason Liu, and Weilong Yang. Beyond synthetic noise: Deep learning on controlled noisy labels. ICML, 2020.
|
| 242 |
+
|
| 243 |
+
Faisal Khan, Xiaojin (Jerry) Zhu, and Bilge Mutlu. How do humans teach: On curriculum learning and teaching dimension. In NeurIPS, pp. 1449–1457, 2011.
|
| 244 |
+
|
| 245 |
+
M. Pawan Kumar, Benjamin Packer, and Daphne Koller. Self-paced learning for latent variable models. In NeurIPS, pp. 1189–1197, 2010.
|
| 246 |
+
|
| 247 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. arXiv preprint arXiv:1610.02242, 2016.
|
| 248 |
+
|
| 249 |
+
Kimin Lee, Sukmin Yun, Kibok Lee, Honglak Lee, Bo Li, and Jinwoo Shin. Robust inference via generative classifiers for handling noisy labels. arXiv preprint arXiv:1901.11300, 2019.
|
| 250 |
+
|
| 251 |
+
Kuang-Huei Lee, Xiaodong He, Lei Zhang, and Linjun Yang. Cleannet: Transfer learning for scalable image classifier training with label noise. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5447–5456, 2018.
|
| 252 |
+
|
| 253 |
+
Tian Li, Ahmad Beirami, Maziar Sanjabi, and Virginia Smith. Tilted empirical risk minimization. arXiv preprint arXiv:2007.01162, 2020.
|
| 254 |
+
|
| 255 |
+
Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv preprint arXiv:1708.02862, 2017a.
|
| 256 |
+
|
| 257 |
+
Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1910–1918, 2017b.
|
| 258 |
+
|
| 259 |
+
Michal Lukasik, Srinadh Bhojanapalli, Aditya Krishna Menon, and Sanjiv Kumar. Does label smoothing mitigate label noise? arXiv preprint arXiv:2003.02819, 2020.
|
| 260 |
+
|
| 261 |
+
Xingjun Ma, Yisen Wang, Michael E Houle, Shuo Zhou, Sarah M Erfani, Shu-Tao Xia, Sudanthi Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. arXiv preprint arXiv:1806.02612, 2018.
|
| 262 |
+
|
| 263 |
+
Xingjun Ma, Hanxun Huang, Yisen Wang, Simone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. arXiv preprint arXiv:2006.13554, 2020.
|
| 264 |
+
|
| 265 |
+
Eran Malach and Shai Shalev-Shwartz. Decoupling" when to update" from" how to update". In Advances in Neural Information Processing Systems, pp. 960–970, 2017.
|
| 266 |
+
|
| 267 |
+
Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1944–1952, 2017.
|
| 268 |
+
|
| 269 |
+
Gabriel Pereyra, George Tucker, Jan Chorowski, Łukasz Kaiser, and Geoffrey Hinton. Regularizing neural networks by penalizing confident output distributions. arXiv preprint arXiv:1701.06548, 2017.
|
| 270 |
+
|
| 271 |
+
Antti Rasmus, Mathias Berglund, Mikko Honkala, Harri Valpola, and Tapani Raiko. Semi-supervised learning with ladder networks. In Advances in Neural Information Processing Systems 28, pp. 3546–3554. 2015.
|
| 272 |
+
|
| 273 |
+
Scott Reed, Honglak Lee, Dragomir Anguelov, Christian Szegedy, Dumitru Erhan, and Andrew Rabinovich. Training deep neural networks on noisy labels with bootstrapping. arXiv preprint arXiv:1412.6596, 2014.
|
| 274 |
+
|
| 275 |
+
Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. arXiv preprint arXiv:1803.09050, 2018.
|
| 276 |
+
|
| 277 |
+
Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. Advances in neural information processing systems, 29:1163–1171, 2016.
|
| 278 |
+
|
| 279 |
+
Shreyas Saxena, Oncel Tuzel, and Dennis DeCoste. Data parameters: A new family of parameters for learning a differentiable curriculum. In Advances in Neural Information Processing Systems, pp. 11095–11105, 2019.
|
| 280 |
+
|
| 281 |
+
Valentin I. Spitkovsky, Hiyan Alshawi, and Daniel Jurafsky. Baby Steps: How “Less is More” in unsupervised dependency parsing. In NeurIPS 2009 Workshop on Grammar Induction, Representation of Language and Language Learning, 2009.
|
| 282 |
+
|
| 283 |
+
James Steven Supancic III and Deva Ramanan. Self-paced learning for long-term tracking. In CVPR, pp. 2379–2386, 2013.
|
| 284 |
+
|
| 285 |
+
Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2818–2826, 2016.
|
| 286 |
+
|
| 287 |
+
Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5552–5560, 2018.
|
| 288 |
+
|
| 289 |
+
Kevin Tang, Vignesh Ramanathan, Li Fei-fei, and Daphne Koller. Shifting weights: Adapting object detectors from image to video. In NeurIPS, pp. 638–646, 2012a.
|
| 290 |
+
|
| 291 |
+
Ye Tang, Yu-Bin Yang, and Yang Gao. Self-paced dictionary learning for image classification. In MM, pp. 833–836, 2012b.
|
| 292 |
+
|
| 293 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in Neural Information Processing Systems 30 (NeurIPS), pp. 1195–1204. 2017.
|
| 294 |
+
|
| 295 |
+
Arash Vahdat. Toward robustness against label noise in training deep discriminative neural networks. In Advances in Neural Information Processing Systems, pp. 5596–5605, 2017.
|
| 296 |
+
|
| 297 |
+
Andreas Veit, Neil Alldrin, Gal Chechik, Ivan Krasin, Abhinav Gupta, and Serge Belongie. Learning from noisy large-scale datasets with minimal supervision. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 839–847, 2017.
|
| 298 |
+
|
| 299 |
+
Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In Proceedings of the IEEE International Conference on Computer Vision, pp. 322–330, 2019.
|
| 300 |
+
|
| 301 |
+
Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 2691–2699, 2015.
|
| 302 |
+
|
| 303 |
+
Kun Yi and Jianxin Wu. Probabilistic end-to-end noise correction for learning with noisy labels. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7017–7025, 2019.
|
| 304 |
+
|
| 305 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017.
|
| 306 |
+
|
| 307 |
+
Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In International Conference on Learning Representations, 2018.
|
| 308 |
+
|
| 309 |
+
Zhilu Zhang and Mert Sabuncu. Generalized cross entropy loss for training deep neural networks with noisy labels. In Advances in neural information processing systems, pp. 8778–8788, 2018.
|
| 310 |
+
|
| 311 |
+
Tianyi Zhou and Jeff Bilmes. Minimax curriculum learning: Machine teaching with desirable difficulties and scheduled diversity. In ICLR, 2018.
|
| 312 |
+
|
| 313 |
+
Tianyi Zhou, Shengjie Wang, and Jeff Bilmes. Time-consistent self-supervision for semi-supervised learning. In International Conference on Machine Learning (ICML), 2020a.
|
| 314 |
+
|
| 315 |
+
Tianyi Zhou, Shengjie Wang, and Jeff A. Bilmes. Curriculum learning by dynamic instance hardness. In NeurIPS, 2020b.
|
| 316 |
+
|
| 317 |
+
Tianyi Zhou, Shengjie Wang, and Jeff A. Bilmes. Curriculum learning by optimizing learning dynamics. In AISTATS, 2021.
|
| 318 |
+
|
| 319 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Computer Vision (ICCV), 2017 IEEE International Conference on, 2017.
|
| 320 |
+
|
| 321 |
+
A APPENDIX
|
| 322 |
+
|
| 323 |
+
A.1 ${ \mathrm { R o C L } } _ { B a s e }$ (NO CURRICULUM) IN SECTION 2 AND FIGURE 2-10
|
| 324 |
+
|
| 325 |
+
# Algorithm $2 \mathrm { R o C L } _ { B a s e }$ (no curriculum)
|
| 326 |
+
|
| 327 |
+
1: input: $\{ ( x _ { i } , y _ { i } ) \} _ { i = 1 } ^ { n } , h ( \cdot ; \eta ) , \ell ( \cdot , \cdot ) , f ( \cdot ; \theta ) , T _ { 0 : K } ; \gamma \in [ 0 ,$ 1]
|
| 328 |
+
2: initialize: $\theta _ { 0 }$ , $l _ { 0 } ( i ) = c _ { 0 } ( i ) = 0 \forall i \in [ n ] , T _ { - 1 } = 0$
|
| 329 |
+
3: for $k \in \{ 0 , \cdots , K \}$ do
|
| 330 |
+
4: for $t ^ { \prime } \in \{ 1 , \cdots , T _ { k } \}$ do
|
| 331 |
+
5: $t \gets t ^ { \prime } + T _ { k - 1 }$ ;
|
| 332 |
+
6: $S _ { t } \gets [ n ]$ ;
|
| 333 |
+
7: if $k \% 2 = 0$ then
|
| 334 |
+
8: $\begin{array} { r } { \theta _ { t } \gets \theta _ { t - 1 } + h \left( \nabla _ { \theta } \frac { 1 } { n } \sum _ { i = 0 } ^ { n } \ell _ { t } ( i ) ; \eta \right) } \end{array}$ ; {supervised learning using given labels}
|
| 335 |
+
9: Update $l _ { t + 1 } ( i )$ by Eq. (1); {update EMA loss}
|
| 336 |
+
10: else
|
| 337 |
+
11: $\begin{array} { r } { \theta _ { t } \gets \theta _ { t - 1 } + h \left( \nabla _ { \theta } \frac { 1 } { n } \sum _ { i = 0 } ^ { n } \zeta _ { t } ( i ) ; \eta \right) } \end{array}$ ; {self-supervised learning using pseudo labels}
|
| 338 |
+
12: Update $c _ { t + 1 } ( i )$ by Eq. (3); {update EMA consistency loss}
|
| 339 |
+
13: end if
|
| 340 |
+
14: end for
|
| 341 |
+
15 : end for
|
| 342 |
+
|
| 343 |
+
Note the EMA metrics in line 9 and line 12 are not used for training in $\mathrm { R o C L } _ { B a s e }$ . They have been updated and recorded for the purpose of empirical study presented in Section 2.
|
| 344 |
+
|
| 345 |
+
# A.2 ADDITIONAL EXPERIMENTS
|
| 346 |
+
|
| 347 |
+

|
| 348 |
+
Figure 2: RoCL (Algorithm 1) vs. $\mathrm { R o C L } _ { B a s e }$ without any curriculum (Algorithm 2 in Appendix) during the training of ResNet34 on CIFAR10 containing $60 \%$ symmetric noises on labels.
|
| 349 |
+
|
| 350 |
+

|
| 351 |
+
Figure 3: RoCL (Algorithm 1) vs. $\mathrm { R o C L } _ { B a s e }$ without any curriculum (Algorithm 2 in Appendix) during the training of ResNet34 on CIFAR10 containing $80 \%$ symmetric noises on labels.
|
| 352 |
+
|
| 353 |
+

|
| 354 |
+
Figure 4: RoCL (Algorithm 1) vs. $\mathrm { R o C L } _ { B a s e }$ without any curriculum (Algorithm 2 in Appendix) during the training of ResNet34 on CIFAR100 containing $60 \%$ symmetric noises on labels.
|
| 355 |
+
|
| 356 |
+

|
| 357 |
+
Figure 5: RoCL (Algorithm 1) vs. $\mathrm { R o C L } _ { B a s e }$ without any curriculum (Algorithm 2 in Appendix) during the training of ResNet34 on CIFAR100 containing $80 \%$ symmetric noises on labels.
|
| 358 |
+
|
| 359 |
+
Table 6: Extended version of Table 3 with two more baselines: $\mathrm { N F L + R C E }$ and $\mathbf { N C E { + } M A E }$ .
|
| 360 |
+
|
| 361 |
+
<table><tr><td>Dataset</td><td colspan="3">CIFAR10</td><td colspan="3">CIFAR100</td></tr><tr><td>Noise Rate</td><td>40%</td><td>60%</td><td>80%</td><td>40%</td><td>60%</td><td>80%</td></tr><tr><td>MD-DYR-SH</td><td>92.3</td><td>86.1</td><td>74.1</td><td>70.1</td><td>59.5</td><td>39.5</td></tr><tr><td>MentorNet</td><td>91.2</td><td>74.2</td><td>60.0</td><td>68.5</td><td>61.2</td><td>35.5</td></tr><tr><td>MentorMix</td><td>94.2</td><td>91.3</td><td>81.0</td><td>71.3</td><td>64.6</td><td>41.2</td></tr><tr><td>O2U-net</td><td>90.3</td><td>=</td><td>43.4</td><td>69.2</td><td>=</td><td>39.4</td></tr><tr><td>RoG+D2L</td><td>87.0</td><td>78.0</td><td>1</td><td>64.9</td><td>40.6</td><td>-</td></tr><tr><td>PENCIL</td><td></td><td></td><td></td><td>69.12 ± 0.62</td><td>57.79 ± 3.86</td><td>fail</td></tr><tr><td>GCE</td><td>87.62 ± 0.26</td><td>82.70± 0.23</td><td>67.92 ±0.60</td><td>62.64± 0.33</td><td>54.04± 0.56</td><td>29.60 ± 0.51</td></tr><tr><td>SCE</td><td>85.34 ± 0.07</td><td>80.07 ±0.02</td><td>53.81 ± 0.27</td><td>53.69 ± 0.07</td><td>41.47 ± 0.04</td><td>15.00 ± 0.04</td></tr><tr><td>NFL+MAE</td><td>83.81±0.06</td><td>76.36 ± 0.31</td><td>45.23 ±0.52</td><td>58.18 ±0.08</td><td>46.10 ±0.50</td><td>24.78 ±0.82</td></tr><tr><td>NFL+RCE</td><td>86.05 ± 0.12</td><td>79.78 ± 0.13</td><td>55.06 ±1.08</td><td>58.20 ± 0.31</td><td>46.30 ± 0.45</td><td>25.16 ± 0.55</td></tr><tr><td>NCE+MAE</td><td>84.19 ± 0.43</td><td>77.61 ± 0.05</td><td>49.62 ±0.72</td><td>59.22 ±0.36</td><td>48.06 ±0.34</td><td>25.50±0.76</td></tr><tr><td>NCE+RCE</td><td>86.02 ±0.09</td><td>79.78 ± 0.50</td><td>52.71 ±1.90</td><td>59.48±0.56</td><td>47.12 ± 0.62</td><td>25.80 ±1.12</td></tr><tr><td>RoCL (ours) t*+</td><td>94.55 ± 0.12</td><td>92.06 ±0.23</td><td>85.76±0.26</td><td>74.64±0.43</td><td>66.79± 0.58</td><td>53.89±0.62</td></tr></table>
|
| 362 |
+
|
| 363 |
+
Table 7: Extended version of Table 4 with two more baselines: $\mathrm { N F L + R C E }$ and $\mathbf { N C E + M A E }$
|
| 364 |
+
|
| 365 |
+
<table><tr><td>Dataset</td><td></td><td>CIFAR10</td><td></td><td></td><td>CIFAR100</td><td></td></tr><tr><td>Noise Rate</td><td>20%</td><td>30%</td><td>40%</td><td>20%</td><td>30%</td><td>40%</td></tr><tr><td>PENCIL</td><td>92.43</td><td>91.84</td><td>91.01</td><td>74.70±0.56</td><td>72.52 ± 0.38</td><td>63.61 ±0.23</td></tr><tr><td>Bootstrap</td><td>86.57 ±0.08</td><td>84.86 ±0.05</td><td>79.76 ± 0.07</td><td>63.44±0.35</td><td>63.18 ±0.35</td><td>62.08 ±0.22</td></tr><tr><td>F-correct</td><td>89.09 ±0.47</td><td>86.79±0.36</td><td>83.55 ± 0.58</td><td>42.46 ±2.16</td><td>38.13 ± 2.97</td><td>34.44 ± 1.93</td></tr><tr><td>GCE</td><td>86.07 ±0.31</td><td>80.78 ±0.21</td><td>74.98 ±0.32</td><td>59.99 ± 0.83</td><td>53.99 ±0.29</td><td>41.49 ± 0.79</td></tr><tr><td>SCE</td><td>83.92 ± 0.07</td><td>79.70±0.27</td><td>78.20± 0.03</td><td>58.22 ± 0.47</td><td>49.85 ± 0.91</td><td>42.19 ±0.19</td></tr><tr><td>NFL+MAE</td><td>86.81±0.32</td><td>83.91 ± 0.34</td><td>77.16 ± 0.10</td><td>63.10±0.22</td><td>56.19 ± 0.61</td><td>43.51±0.42</td></tr><tr><td>NFL+RCE</td><td>88.73± 0.29</td><td>85.74±0.22</td><td>79.27 ± 0.43</td><td>63.12 ± 0.41</td><td>54.72 ± 0.38</td><td>42.97 ±1.03</td></tr><tr><td>NCE+MAE</td><td>86.44 ± 0.23</td><td>83.98 ± 0.52</td><td>78.23 ± 0.42</td><td>62.38 ± 0.60</td><td>58.02 ±0.48</td><td>47.22 ± 0.30</td></tr><tr><td>NCE+RCE</td><td>88.56 ± 0.17</td><td>85.58 ± 0.44</td><td>79.59 ± 0.40</td><td>62.68 ±0.79</td><td>57.82 ± 0.41</td><td>46.79±0.96</td></tr><tr><td>RoCL (ours)</td><td>95.38 ± 0.21</td><td>94.19±0.28</td><td>92.31 ± 0.35</td><td>80.03±0.34</td><td>77.59 ± 0.45</td><td>73.28 ±0.83</td></tr></table>
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
Figure 6: Illustration of Eq. (9) and visualization of our choice for $g ( \cdot )$ and the resulted $\tau _ { t }$ when $T = 5 0$ . We use $g ( \cdot ) = \operatorname { t a n h } ( \cdot )$ (which can be other “S”-shape functions) and $\sigma = 0 . 9 5$ in our experiments. Here, we map the points on the black curve in the left plot to the points on the red curve in the right plot. Each gray point on the bottom of the left plot is from the $T$ evenly spaced $\mathbf { X }$ -coordinates between the $\mathbf { X }$ -interval $[ g ^ { - 1 } ( { - } \sigma ) , { \dot { g } ^ { - 1 } } ( \sigma ) ]$ . We scale them to the $T$ t-coordinates in the bottom of the right plot (i.e., $t = 1 , 2 , \cdots , 5 0 )$ , which associates with $T \tau _ { t }$ values represented by the red points between $[ \tau _ { 1 } , \bar { \tau _ { T } } ]$ on the red curve.
|
| 369 |
+
|
| 370 |
+

|
| 371 |
+
Figure 7: Ablation study: RoCL vs. its variants during the training of ResNet34 on CIFAR10 containing $60 \%$ symmetric noises on labels.
|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
Figure 8: Ablation study: RoCL vs. its variants during the training of ResNet34 on CIFAR10 containing $80 \%$ symmetric noises on labels.
|
| 375 |
+
|
| 376 |
+

|
| 377 |
+
Figure 9: Ablation study: RoCL vs. its variants during the training of ResNet34 on CIFAR100 containing $60 \%$ symmetric noises on labels.
|
| 378 |
+
|
| 379 |
+

|
| 380 |
+
Figure 10: Ablation study: RoCL vs. its variants during the training of ResNet34 on CIFAR100 containing $80 \%$ symmetric noises on labels.
|
| 381 |
+
|
| 382 |
+
We present a more detailed analysis of the ablation study results with explanations of the observed phenomenons below.
|
| 383 |
+
|
| 384 |
+
• Most variants (except $\mathrm { R o C L } _ { B a s e }$ , no RandAugment, and no ClassBalance) have similar performance as the original RoCL and perform better than or competitive with the SoTA results achieved by MentorMix. The differences compared to original RoCL become smaller under the lower noise rate setting $( 6 0 \% )$ . $\mathrm { R o C L } _ { B a s e }$ uses all data for training in each step without applying any curriculum, showing that our proposed curriculum is the most critical component of RoCL in achieving the appealing improvements. Note $\mathrm { R o C L } _ { B a s e }$ already outperforms most methods in Table 3, which verifies the effectiveness of multi-episode training that alternates between supervised learning with the given labels and self-supervision with the pseudo labels.
|
| 385 |
+
|
| 386 |
+
• Removing RandAugment degrades the performance, especially when the noise rate is very high (e.g., $80 \%$ ) because strong data augmentations are required by the self-supervision and the EMA consistency loss in RoCL, while trivial data augmentations can result in error accumulation or over-confidence in pseudo labels and inaccurate EMA consistency loss. The self-supervision aims to encourage the model output consistency over different augmentations of the same sample. Without augmentations with sufficient variations, self-supervision reduces to reinforcing the same outputs on similar samples and thus carries little information and can even magnify/accumulate errors (if any) in the original outputs. Also, the EMA consistency loss cannot generate meaningful consistency measures if computed on the same data or its trivial augmentations. Note a strong data augmentation is not always beneficial in all noisy label learning methods since it can increase the uncertainty in the presence of wrong labels, making the detection of clean data and noise correction more challenging. For example, we tried applying RandAugment to MentorMix (using the official implementations of both) but observed inferior performance compared to the results using its original data augmentations.
|
| 387 |
+
|
| 388 |
+
• Class balance regularization is useful for the very high noise rate setting $( 8 0 \% )$ , in which a wrong label may dominate the learning on a mini-batch by a large chance. However, when the noise rate is not that high (e.g., $60 \%$ on CIFAR10), removing it results in better performance.
|
| 389 |
+
|
| 390 |
+
• Although Mix-Up has been proved effective in previous methods, and for this reason, we followed MentorMix by starting with a relatively strong Mix-Up $( a l p h a = 8 . 0 $ ) and then gradually reducing it to $\alpha = 0 . 2$ . In the ablation study, we find that completely removing Mix-Up significantly improves performance. Mix-Up is helpful when applied to mix a clean label with a noisy label since the latter can be mediated with the former and thus softened. However, this is rarely the case for RoCL since RoCL either mainly learns from clean data or wrongly-labeled data with correct pseudo labels, and the transition between the two phases is short. When applied to two correct labels/pseudo labels, Mix-Up weakens each label’s confidence, and we may lose information from the inter-class probabilities in the soft pseudo labels.
|
| 391 |
+
|
| 392 |
+
• Replacing weighted sampling with top-k selection (“no RandSampling”) or replacing EMA metrics with instantaneous metrics (“no EMA metrics”) causes less degeneration on the final test accuracies. However, they are important to the early-stage exploration and accurate estimation of EMA metrics on less-visited samples. In Figure 7-10, these two variants usually suffer from low accuracy and convergence speed during early stages. The only exception is “no RandSampling” in Figure 10, which performs better than the original RoCL. A possible reason is that the randomness brought by high uniform label noises already bring sufficient randomness for exploration.
|
| 393 |
+
|
| 394 |
+
• Replacing $p _ { t } ( i ) , q _ { t } ( i )$ or both with uniform probabilities over all samples reduces the final test accuracies in all cases, e.g., the degradation is significant on CIFAR100 with $80 \%$ noise. In Figure 7-10, we can see that by setting $q _ { t } ( i ) = 1 / n$ results in less degradation than the other two. This is due to the more accurate pseudo labels generated for more data (even the ones with larger EMA consistency loss) as training proceeds. Moreover, since we are conservative in setting $\lambda _ { T }$ and $\tau _ { T }$ , the performance is not very sensitive to wrong pseudo labels.
|
parse/train/lmTWnm3coJJ/lmTWnm3coJJ_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/lmTWnm3coJJ/lmTWnm3coJJ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/lmTWnm3coJJ/lmTWnm3coJJ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1eVMnA9K7/r1eVMnA9K7.md
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UNSUPERVISED CONTROL THROUGH NON-PARAMETRIC DISCRIMINATIVE REWARDS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Learning to control an environment without hand-crafted rewards or expert data remains challenging and is at the frontier of reinforcement learning research. We present an unsupervised learning algorithm to train agents to achieve perceptuallyspecified goals using only a stream of observations and actions. Our agent simultaneously learns a goal-conditioned policy and a goal achievement reward function that measures how similar a state is to the goal state. This dual optimization leads to a co-operative game, giving rise to a learned reward function that reflects similarity in controllable aspects of the environment instead of distance in the space of observations. We demonstrate the efficacy of our agent to learn, in an unsupervised manner, to reach a diverse set of goals on three domains – Atari, the DeepMind Control Suite and DeepMind Lab.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Currently, the best performing methods on many reinforcement learning benchmark problems combine model-free reinforcement learning methods with policies represented using deep neural networks (Horgan et al., 2018; Espeholt et al., 2018). Despite reaching or surpassing human-level performance on many challenging tasks, deep model-free reinforcement learning methods that learn purely from the reward signal learn in a way that differs greatly from the manner in which humans learn. In the case of learning to play a video game, a human player not only acquires a strategy for achieving a high score, but also gains a degree of mastery of the environment in the process. Notably, a human player quickly learns which aspects of the environment are under their control as well as how to control them, as evidenced by their ability to rapidly adapt to novel reward functions (Lake et al., 2017).
|
| 12 |
+
|
| 13 |
+
Focusing learning on mastery of the environment instead of optimizing a single scalar reward function has many potential benefits. One benefit is that learning is possible even in the absence of an extrinsic reward signal or with an extrinsic reward signal that is very sparse. Another benefit is that an agent that has fully mastered its environment should be able to reach arbitrary achievable goals, which would allow it to generalize to tasks on which it wasn’t explicitly trained. Building reinforcement learning agents that aim for environment mastery instead of or in addition to learning about a scalar reward signal is currently an open challenge.
|
| 14 |
+
|
| 15 |
+
One way to represent such knowledge about an environment is using an environment model. Modelbased reinforcement learning methods aim to learn accurate environment models and use them either for planning or for training a policy. While learning accurate environment models of some visually rich environments is now possible (Oh et al., 2015; Chiappa et al., 2018; Ha & Schmidhuber, 2018) using learned models in model-based reinforcement learning has proved to be challenging and model-free approaches still dominate common benchmarks.
|
| 16 |
+
|
| 17 |
+
We present a new model-free agent architecture of Discriminative Embedding Reward Networks, or DISCERN for short. DISCERN learns to control an environment in an unsupervised way by learning purely from the stream of observations and actions. The aim of our agent is to learn a goal-conditioned policy $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ (Kaelbling, 1993; Schaul et al., 2015) which can reach any goal state $s _ { g }$ that is reachable from the current state $s$ . We show how to learn a goal achievement reward function $\dot { \boldsymbol { r } } ( s ; s _ { g } )$ that measures how similar state $s$ is to state $s _ { g }$ using a mutual information objective at the same time as learning $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ . The resulting learned reward function $r ( s ; s _ { g } )$ measures similarity in the space of controllable aspects of the environment instead of in the space of raw observations.
|
| 18 |
+
|
| 19 |
+
Crucially, the DISCERN architecture is able to deal with goal states that are not perfectly reachable, for example, due to the presence of distractor objects that are not under the agent’s control. In such cases the goal-conditioned policy learned by DISCERN tends to seek states where the controllable elements match those in the goal state as closely as possible.
|
| 20 |
+
|
| 21 |
+
We demonstrate the effectiveness of our approach on three domains – Atari games, continuous control tasks from the DeepMind Control Suite, and DeepMind Lab. We show that our agent learns to successfully achieve a wide variety of visually-specified goals, discovering underlying degrees of controllability of an environment in a purely unsupervised manner and without access to an extrinsic reward signal.
|
| 22 |
+
|
| 23 |
+
# 2 PROBLEM FORMULATION
|
| 24 |
+
|
| 25 |
+
In the standard reinforcement learning setup an agent interacts with an environment over discrete time steps. At each time step $t$ the agent observes the current state $s _ { t }$ and selects an action $a _ { t }$ according to a policy $\pi ( \boldsymbol { a } _ { t } | \boldsymbol { s } _ { t } )$ . The agent then receives a reward $r _ { t } = r ( s _ { t } , a _ { t } )$ and transitions to the next state $s _ { t + 1 }$ . The aim of learning is to maximize the expected discounted return $\textstyle R = \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } r _ { t }$ of policy $\pi$ where $\gamma \in [ 0 , 1 )$ is a discount factor.
|
| 26 |
+
|
| 27 |
+
In this work we focus on learning only from the stream of actions and observations in order to forego the need for an extrinsic reward function. Motivated by the idea that an agent capable of reaching any reachable goal state $s _ { g }$ from the current state $s$ has complete mastery of its environment, we pose the problem of learning in the absence of rewards as one of learning a goal-conditioned policy $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ with parameters $\theta$ . More specifically, we assume that the agent interacts with an environment defined by a transition distribution $p ( s _ { t + 1 } | s _ { t } , a _ { t } )$ . We define a goal-reaching problem as follows. At the beginning of each episode, the agent receives a goal $s _ { g }$ sampled from a distribution over possible goals $p _ { g o a l }$ . For example, $p _ { g o a l }$ could be the uniform distribution over all previously visited states. The agent then acts for $T$ steps according to the goal-conditioned policy $\pi _ { \boldsymbol { \theta } } ( a | s ; \bar { s } _ { g } )$ receiving a reward of 0 for each of the first $T - 1$ actions and a reward of $r ( s _ { T } ; s _ { g } )$ after the last action, where $r ( s ; s _ { g } ) \in [ 0 , 1 ]$ for all $s$ and $s _ { g }$ 1. The goal achievement reward function $r ( s ; s _ { g } )$ measures the degree to which being in state $s$ achieves goal $s _ { g }$ . The episode terminates upon the agent receiving the reward $r ( s _ { T } ; s _ { g } )$ and a new episode begins.
|
| 28 |
+
|
| 29 |
+
It is straightforward to train $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ in a tabular environment using the indicator reward $r ( s ; s _ { g } ) ~ \bar { = } ~ \mathbb { 1 } \{ s ~ = ~ s _ { g } \}$ . We are, however, interested in environments with continuous highdimensional observation spaces. While there is extensive prior work on learning goal-conditioned policies (Kaelbling, 1993; Schaul et al., 2015; Andrychowicz et al., 2017; Held et al., 2017; Pathak et al., 2018), the reward function is often hand-crafted, limiting generality of the approaches. In the few cases where the reward is learned, the learning objective is typically tied to a pre-specified notion of visual similarity. Learning to achieve goals based purely on visual similarity is unlikely to work in complex, real world environments due to the possible variations in appearance of objects, or goal-irrelevant perceptual context. We now turn to the problem of learning a goal achievement reward function $r _ { \phi } ( s ; s _ { g } )$ with parameters $\phi$ for high-dimensional state spaces.
|
| 30 |
+
|
| 31 |
+
# 3 LEARNING A REWARD FUNCTION BY MAXIMIZING MUTUAL INFORMATION
|
| 32 |
+
|
| 33 |
+
We aim to simultaneously learn a goal-conditioned policy $\pi _ { \theta }$ and a goal achievement reward function $r _ { \phi }$ by maximizing the mutual information between the goal state $s _ { g }$ and the achieved state $s _ { T }$ as shown in (1).
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
I ( s _ { g } , s _ { T } ) = H ( s _ { g } ) + \mathbb { E } _ { s _ { g } , s _ { T } \sim p ( s _ { g } , s _ { T } ) } \log p ( s _ { g } | s _ { T } )
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
Note that we are slightly overloading notation by treating $s _ { g }$ as a random variable distributed according to $p _ { g o a l }$ . Similarly, $s _ { T }$ is a random variable distributed according to the state distribution induced by running $\pi _ { \theta }$ for $T$ steps for goal states sampled from $p _ { g o a l }$ .
|
| 40 |
+
|
| 41 |
+
The prior work of Gregor et al. (2016) showed how to learn a set of abstract options by optimizing a similar objective, namely the mutual information between an abstract option and the achieved state. Following their approach, we simplify (1) in two ways. First, we rewrite the expectation in terms of the goal distribution $p _ { g o a l }$ and the goal conditioned policy $\pi _ { \theta }$ . Second, we lower bound the expectation term by replacing $\check { p } ( s _ { g } | s _ { T } )$ with a variational distribution $q _ { \phi } ( s _ { g } | s _ { T } )$ with parameters $\phi$ following Barber $\&$ Agakov (2004), leading to
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
I ( s _ { g } , s _ { T } ) \geq H ( s _ { g } ) + \mathbb { E } _ { s _ { g } \sim p _ { g o a l } , s _ { 1 } , \dots s _ { T } \sim \pi _ { \theta } ( \dots | s _ { g } ) } \log q _ { \phi } ( s _ { g } | s _ { T } ) .
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
Finally, we discard the entropy term $H ( s _ { g } )$ from (2) because it does not depend on either the policy parameters $\theta$ or the variational distribution parameters $\phi$ , giving our overall objective
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
O _ { \mathrm { D I S C E R N } } = \mathbb { E } _ { s _ { g } \sim p _ { g o a l } , s _ { 1 } , \ldots s _ { T } \sim \pi _ { \theta } ( \cdots | s _ { g } ) } \log q _ { \phi } ( s _ { g } | s _ { T } ) .
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
This objective may seem difficult to work with because the variational distribution $q _ { \phi }$ is a distribution over possible goals $s _ { g }$ , which in our case are high-dimensional observations, such as images. We sidestep the difficulty of directly modelling the density of high-dimensional observations by restricting the set of possible goals to be a finite subset of previously encountered states that evolves over time (Lin, 1993). Restricting the support of $q _ { \phi }$ to a finite set of goals turns the problem of learning $q _ { \phi }$ into a problem of modelling the conditional distribution of possible intended goals given an achieved state, which obviates the requirement of modelling arbitrary statistical dependencies in the observations.2
|
| 54 |
+
|
| 55 |
+
Optimization: The expectation in the DISCERN objective is with respect to the distribution of trajectories generated by the goal-conditioned policy $\pi _ { \theta }$ acting in the environment against goals drawn from the goal distribution $p _ { g o a l }$ . We can therefore optimize this objective with respect to policy parameters $\theta$ by repeatedly generating trajectories and performing reinforcement learning updates on $\pi _ { \theta }$ with a reward of $\log { \bar { q _ { \phi } } ( s _ { g } | s _ { T } ) }$ given at time $T$ and 0 for other time steps. Optimizing the objective with respect to the variational distribution parameters $\phi$ is also straightforward since it is equivalent to a maximum likelihood classification objective. As will be discussed in the next section, we found that using a reward that is a non-linear transformation mapping $\log q _ { \phi } ( s _ { g } | s _ { T } )$ to $[ 0 , 1 ]$ worked better in practice. Nevertheless, since the reward for the goal conditioned-policy is a function of $\log q _ { \phi } ( s _ { g } \bar { | } s _ { T } )$ , training the variational distribution function $q _ { \phi }$ amounts to learning a reward function.
|
| 56 |
+
|
| 57 |
+
Communication Game Interpretation: Dual optimization of the DISCERN objective has an appealing interpretation as a cooperative communication game between two players – an imitator that corresponds to the goal-conditioned policy and a teacher that corresponds to the variational distribution. At the beginning of each round or episode of the game the imitator is provided with a goal state. The aim of the imitator is to communicate the goal state to the teacher by taking $T$ actions in the environment. After the imitator takes $T$ actions, the teacher has to guess which state from a set of possible goals was given to the imitator purely from observing the final state $s _ { T }$ reached by the imitator. The teacher does this by assigning a probability to each candidate goal state that it was the goal given to the imitator at the start of the episode, i.e. it produces a distribution $p ( s _ { g } | s _ { T } )$ . The objective of both players is for the teacher to guess the goal given to the imitator correctly as measured by the log probability assigned by the teacher to the correct goal.
|
| 58 |
+
|
| 59 |
+
# 4 DISCRIMINATIVE EMBEDDING REWARD NETWORKS
|
| 60 |
+
|
| 61 |
+
We now describe the DISCERN algorithm – a practical instantiation of the approach for jointly learning $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ and $r ( s ; s _ { g } )$ outlined in the previous section.
|
| 62 |
+
|
| 63 |
+
Goal distribution: We adopt a non-parametric approach to the problem of proposing goals, whereby we maintain a fixed size buffer $\mathcal { G }$ of past observations from which we sample goals during training. We update $\mathcal { G }$ by replacing the contents of an existing buffer slot with an observation from the agent’s recent experience according to some substitution strategy; in this work we considered two such strategies, detailed in Appendix A3. This means that the space of goals available for training drifts as a function of the agent’s experience, and states which may not have been reachable under a poorly trained policy become reachable and available for substitution into the goal buffer, leading to a naturally induced curriculum. In this work, we sample training goals for our agent uniformly at random from the goal buffer, leaving the incorporation of more explicitly instantiated curricula to future work.
|
| 64 |
+
|
| 65 |
+
Goal achievement reward: We train a goal achievement reward function $r ( s ; s _ { g } )$ used to compute rewards for the goal-conditioned policy based on a learned measure of state similarity. We parameterize $r ( s ; s _ { g } )$ as the positive part of the cosine similarity between $s$ and $s _ { g }$ in a learned embedding space, although shaping functions other than rectification could be explored. The state embedding in which we measure cosine similarity is the composition of a feature transformation $h ( \cdot )$ and a learned $L ^ { 2 }$ -normalized mapping $\xi _ { \phi } ( \cdot )$ . In our implementation, where states and goals are represented as 2-D RGB images, we take $h ( \cdot )$ to be the final layer features of the convolutional network learned by the policy in order to avoid learning a second convolutional network. We find this works well provided that while training $r$ , we treat $h ( \cdot )$ as fixed and do not adapt the convolutional network’s parameters with respect to the reward learner’s loss. This has the effect of regularizing the reward learner by limiting its adaptive capacity while avoiding the need to introduce a hyperparameter weighing the two losses against one another.
|
| 66 |
+
|
| 67 |
+
We train $\xi _ { \phi } ( \cdot )$ according to a goal-discrimination objective suggested by (3). However, rather than using the set of all goals in the buffer $\mathcal { G }$ as the set of possible classes in the goal discriminator, we sample a small subset for each trajectory. Specifically, the set of possible classes includes the goal $g$ for the trajectory and $K$ decoy observations $d _ { 1 } , d _ { 2 } , \dots , d _ { K }$ from the same distribution as $s _ { g }$ . Letting
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
\boldsymbol { \ell } _ { g } = \xi _ { \phi } ( h ( \boldsymbol { s } _ { T } ) ) ^ { \mathsf { T } } \xi _ { \phi } ( h ( \boldsymbol { g } ) )
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
we maximize the log likelihood given by
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\log \hat { q } ( s _ { g } = g | s _ { T } ; d _ { 1 } , . . . d _ { K } , \pi _ { \theta } ) = \log \frac { \exp { ( \beta \ell _ { g } ) } } { \exp { ( \beta \ell _ { g } ) } + \sum _ { k = 1 } ^ { K } \exp { ( \beta \xi _ { \phi } ( h ( s _ { T } ) ) ^ { \top } \xi _ { \phi } ( h ( d _ { k } ) ) ) } }
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
where $\beta$ is an inverse temperature hyperparameter which we fix to $K + 1$ in all experiments. Note that (5) is a maximum log likelihood training objective for a softmax nearest neighbour classifier in a learned embedding space, making it similar to a matching network (Vinyals et al., 2016). Intuitively, updating the embedding $\xi _ { \phi }$ using the objective in (5) aims to increase the cosine similarity between $e { \left( s _ { T } \right) }$ and $e ( g )$ and to decrease the cosine similarity between $e { \left( s _ { T } \right) }$ and the decoy embeddings $e ( d ) , \ldots , e ( d _ { K } )$ . Subsampling the set of possible classes as we do is a known method for approximate maximum likelihood training of a softmax classifier with many classes (Bengio & Sen´ ecal, 2003). ´
|
| 80 |
+
|
| 81 |
+
We use $\operatorname* { m a x } ( 0 , \ell _ { g } )$ as the reward for reaching state $s _ { T }$ when given goal $g$ . We found that this reward function is better behaved than the reward $\log \hat { q } ( s _ { g } = g \vert s _ { T } ; d _ { 1 } , . . . d _ { K } , \pi _ { \theta } )$ suggested by the DISCERN objective in Section 3 since it is scaled to lie in $[ 0 , 1 ]$ . The reward we use is also less noisy since, unlike $\log { \hat { q } }$ , it does not depend on the decoy states.
|
| 82 |
+
|
| 83 |
+
Goal-conditioned policy: The goal-conditioned policy $\pi _ { \boldsymbol { \theta } } ( a | s ; s _ { g } )$ is trained to optimize the goal achievement reward $r ( s ; s _ { g } )$ . In this paper, $\pi _ { \theta } ( a | s ; s _ { g } )$ is an $\epsilon$ -greedy policy of a goal-conditioned action-value function $\mathrm { Q }$ with parameters $\theta$ . $\mathrm { Q }$ is trained using Q-learning and minibatch experience replay; specifically, we use the variant of $Q ( \lambda )$ due to Peng (see Chapter 7, Sutton & Barto (1998)).
|
| 84 |
+
|
| 85 |
+
Goal relabelling: We use a form of goal relabelling (Kaelbling, 1993) or hindsight experience replay (Andrychowicz et al., 2017; Nair $\&$ Hinton, 2006) as a source successfully achieved goals as well as to regularize the embedding $e ( \cdot )$ . Specifically, for the purposes of parameter updates (in both the policy and the reward learner) we substitute, with probability $p _ { \mathrm { H E R } }$ the goal with an observation selected from the final $H$ steps of the trajectory, and consider the agent to have received a reward of 1. The motivation, in the case of the policy, is similar to that of previous work, i.e. that being in state $s _ { t }$ should correspond to having achieved the goal of reaching $s _ { t }$ . When employed in the reward learner, it amounts to encouraging temporally consistent state embeddings (Mobahi et al., 2009; Sermanet et al., 2017), i.e. encouraging observations which are nearby in time to have similar embeddings.
|
| 86 |
+
|
| 87 |
+
Pseudocode for the DISCERN algorithm, decomposed into an experience-gathering (possibly distributed) actor process and a centralized learner process, is given in Algorithm 1.
|
| 88 |
+
|
| 89 |
+
# 5 RELATED WORK
|
| 90 |
+
|
| 91 |
+
The problem of reinforcement learning in the context of multiple goals dates at least to Kaelbling (1993), where the problem was examined in the context of grid worlds where the state space is
|
| 92 |
+
|
| 93 |
+
# Algorithm 1: DISCERN
|
| 94 |
+
|
| 95 |
+
<table><tr><td colspan="2">procedure ACTOR Input: Time budget T, policy parameters 0, goal embedding parameters Φ, shared goal</td></tr><tr><td colspan="2">π ←BEHAVIOR-POLICY(0) /* e.g. E-greedy */</td></tr><tr><td colspan="2">g~g r1:T-1←0 fort←1...Tdo Take action at ~ πθ(St; g) obtaining St+1 from p(St+1|St, at)</td></tr><tr><td colspan="2">9 ← PROPOSE-GOAL-SUBSTITUTION(G,St) /* See Appendix A3 */ end</td></tr><tr><td colspan="2">with probability PHER, Sample SHER uniformly from {sT-H,...,sT} and set g ← SHER,rT ←1 otherwise</td></tr><tr><td colspan="2">Compute lg using (4) rT ←max(0,lg) Send (s1:T,a1:T,r1:T,g) to the learner.</td></tr><tr><td colspan="2">Poll the learner periodically for updated values of 0,. Reset the environment if the episode has terminated.</td></tr><tr><td colspan="2">until termination procedure LEARNER</td></tr><tr><td colspan="2">Input:Batch size B, number of decoys K,initial policy parameters 0,initial goal embedding parametersΦ</td></tr><tr><td colspan="2">repeat Assemble batchof experienceB={(s:,:T,b)}1</td></tr><tr><td colspan="2">forb←1...Bdo</td></tr><tr><td colspan="2">Sample K decoy goals d,d,...,dk ~ g end</td></tr><tr><td colspan="2">Use an off-policy reinforcement learning algorithm to update θ based on B</td></tr><tr><td colspan="2">Update Φ to maximize B∑b=1 log@(sg = gʰ|sr;d1,..dk,πθ) computed by (5) B</td></tr></table>
|
| 96 |
+
|
| 97 |
+
small and enumerable. Sutton et al. (2011) proposed generalized value functions (GVFs) as a way of representing knowledge about sub-goals, or as a basis for sub-policies or options. Universal Value Function Approximators (UVFAs) (Schaul et al., 2015) extend this idea by using a function approximator to parameterize a joint function of states and goal representations, allowing compact representation of an entire class of conditional value functions and generalization across classes of related goals.
|
| 98 |
+
|
| 99 |
+
While the above works assume a goal achievement reward to be available a priori, our work includes an approach to learning a reward function for goal achievement jointly with the policy. Several recent works have examined reward learning for goal achievement in the context of the Generative Adversarial Networks (GAN) paradigm (Goodfellow et al., 2014). The SPIRAL (Ganin et al., 2018) algorithm trains a goal conditioned policy with a reward function parameterized by a Wasserstein GAN (Arjovsky et al., 2017) discriminator. Similarly, AGILE (Bahdanau et al., 2018) learns an instruction-conditional policy where goals in a grid-world are specified in terms of predicates which should be satisfied, and a reward function is learned using a discriminator trained to distinguish states achieved by the policy from a dataset of instruction, goal state pairs.
|
| 100 |
+
|
| 101 |
+
Reward learning has also been used in the context of imitation. Ho & Ermon (2016) derives an adversarial network algorithm for imitation, while time-contrastive networks (Sermanet et al., 2017) leverage pre-trained ImageNet classifier representations to learn a reward function for robotics skills from video demonstrations, including robotic imitation of human poses. Universal Planning Networks (UPNs) (Srinivas et al., 2018) learn a state representation by training a differentiable planner to imitate expert trajectories. Experiments showed that once a UPN is trained the state representation it learned can be used to construct a reward function for visually specified goals. Bridging goal-conditioned policy learning and imitation learning, Pathak et al. (2018) learns a goal-conditioned policy and a dynamics model with supervised learning without expert trajectories, and present zero-shot imitation of trajectories from a sequence of images of a desired task.
|
| 102 |
+
|
| 103 |
+
A closely related body of work to that of goal-conditioned reinforcement learning is that of unsupervised option or skill discovery. Machado & Bowling (2016) proposes a method based on an eigendecomposition of differences in features between successive states, further explored and extended in Machado et al. (2017). Variational Intrinsic Control (VIC) (Gregor et al., 2016) leverages the same lower bound on the mutual information as the present work in an unsupervised control setting, in the space of abstract options rather than explicit perceptual goals. VIC aims to jointly maximize the entropy of the set of options while making the options maximally distinguishable from their final states according to a parametric predictor. Recently, Eysenbach et al. (2018) showed that a special case of the VIC objective can scale to significantly more complex tasks and provide a useful basis for low-level control in a hierarchical reinforcement learning context.
|
| 104 |
+
|
| 105 |
+
Other work has explored learning policies in tandem with a task policy, where the task or environment rewards are assumed to be sparse. Florensa et al. (2017) propose a framework in which low-level skills are discovered in a pre-training phase of a hierarchial system based on simple-to-design proxy rewards, while Riedmiller et al. (2018) explore a suite of auxiliary tasks through simultaneous off-policy learning.
|
| 106 |
+
|
| 107 |
+
Several authors have explored a pre-training stage, sometimes paired with fine-tuning, based on unsupervised representation learning. Per´ e et al. (2018) and Laversanne-Finot et al. (2018) employ a ´ two-stage framework wherein unsupervised representation learning is used to learn a model of the observations from which to sample goals for control in simple simulated environments. Nair et al. (2018) propose a similar approach in the context of model-free Q-learning applied to 3-dimensional simulations and robots. Goals for training the policy are sampled from the model’s prior, and a reward function is derived from the latent codes. This contrasts with our non-parametric approach to selecting goals, as well as our method for learning the goal space online and jointly with the policy.
|
| 108 |
+
|
| 109 |
+
An important component of our method is a form of goal relabelling, introduced to the reinforcement learning literature as hindsight experience replay by Andrychowicz et al. (2017), based on the intuition that any trajectory constitutes a valid trajectory which achieves the goal specified by its own terminal observation. Earlier, Nair & Hinton (2006) employed a related scheme in the context of supervised learning of motor programs, where a program encoder is trained on pairs of trajectory realizations and programs obtained by expanding outwards from a pre-specified prototypical motor program through the addition of noise. Veeriah et al. (2018) expands upon hindsight replay and the all-goal update strategy proposed by Kaelbling (1993), generalizing the latter to non-tabular environments and exploring related strategies for skill discovery, unsupervised pre-training and auxiliary tasks. Levy et al. (2018) propose a hierarchical Q-learning system which employs hindsight replay both conventionally in the lower-level controller and at higher levels in the hierarchy. Nair et al. (2018) also employ a generalized goal relabeling scheme whereby the policy is trained based on a trajectory’s achievement not just of its own terminal observation, but a variety of retrospectively considered possible goals.
|
| 110 |
+
|
| 111 |
+
# 6 EXPERIMENTS
|
| 112 |
+
|
| 113 |
+
We evaluate, both qualitatively and quantitatively, the ability of DISCERN to achieve visuallyspecified goals in three diverse domains – the Arcade Learning Environment (Bellemare et al., 2013), continuous control tasks in the DeepMind Control Suite (Tassa et al., 2018), and DeepMind Lab, a 3D first person environment (Beattie et al., 2016). Experimental details including architecture details, details of distributed training, and hyperparameters can be found in the Appendix. We compared DISCERN to several baseline methods for learning goal-conditioned policies:
|
| 114 |
+
|
| 115 |
+
Conditioned Autoencoder (AE): In order to specifically interrogate the role of the discriminative reward learning criterion, we replace the discriminative criterion for embedding learning with an $L ^ { 2 }$ reconstruction loss on $h _ { t }$ ; that is, in addition to $\xi _ { \phi } ( \cdot )$ , we learn an inverse mapping $\xi _ { \phi } ^ { - 1 } ( \cdot )$ with a separate set of parameters, and train both with the criterion $\| h _ { t } - \xi _ { \phi } ^ { - 1 } ( \xi _ { \phi } ( h _ { t } ) ) \| ^ { 2 }$ .
|
| 116 |
+
|
| 117 |
+
Conditioned WGAN Discriminator: We compare to an adversarial reward on the domains considered according to the protocol of Ganin et al. (2018), who successfully used a WGAN discriminator as a reward for training agents to perform inverse graphics tasks. The discriminator takes two pairs of images – (1) a real pair of goal images $( s _ { g } , s _ { g } )$ and (2) a fake pair consisting of the terminal state of the agent and the goal frame $( s _ { t } , s _ { g } )$ . The output of the discriminator is used as the reward function for the policy. Unlike our DISCERN implementation and the conditioned autoencoder baseline, we train the WGAN discriminator as a separate convolutional network directly from pixels, as in previous work.
|
| 118 |
+
|
| 119 |
+
Pixel distance reward (L2): Finally, we directly compare to a reward based on $L ^ { 2 }$ distance in pixel space, equal to e $\mathbf { \boldsymbol { x } } \mathbf { \boldsymbol { p } } \left( - \lVert \mathbf { \boldsymbol { s } } _ { t } - \mathbf { \boldsymbol { s } } _ { g } \rVert ^ { 2 } / \sigma _ { \mathrm { p i x e l } } \right)$ where $\sigma _ { \mathrm { p i x e l } }$ is a hyperparameter which we tuned on a per-environment basis.
|
| 120 |
+
|
| 121 |
+
All the baselines use the same goal-conditioned policy architecture as DISCERN. The baselines also used hindsight experience replay in the same way as DISCERN. They can therefore be seen as ablations of DISCERN’s goal-achievement reward learning mechanism.
|
| 122 |
+
|
| 123 |
+
# 6.1 ATARI
|
| 124 |
+
|
| 125 |
+
The suite of 57 Atari games provided by the Arcade Learning Environment (Bellemare et al., 2013) is a widely used benchmark in the deep reinforcement learning literature. We compare DISCERN to other methods on the task of achieving visually specified goals on the games of Seaquest and Montezuma’s Revenge. The relative simplicity of these domains makes it possible to handcraft a detector in order to localize the controllable aspects of the environment, namely the submarine in Seaquest and Panama Joe, the character controlled by the player in Montezuma’s Revenge.
|
| 126 |
+
|
| 127 |
+
We evaluated the methods by running the learned goal policies on a fixed set of goals and measured the percentage of goals it was able to reach successfully. We evaluated both DISCERN and the baselines with two different goal buffer substitution strategies, uniform and diverse, which are described in the Appendix. A goal was deemed to be successfully achieved if the position of the avatar in the last frame was within $10 \%$ of the playable area of the position of the avatar in the goal for each controllable dimension. The controllable dimensions in Atari were considered to be the $\mathbf { X } ^ { - }$ and y-coordinates of the avatar. The results are displayed in Figure 1a. DISCERN learned to achieve a large fraction of goals in both Seaquest and Montezuma’s Revenge while none of the baselines learned to reliably achieve goals in either game. We hypothesize that the baselines failed to learn to control the avatars because their objectives are too closely tied to visual similarity. Figure 1b shows examples of goal achievement on Seaquest and Montezuma’s Revenge. In Seaquest, DISCERN learned to match the position of the submarine in the goal image while ignoring the position of the fish, since the fish are not directly controllable. We have provided videos of the goal-conditioned policies learned by DISCERN on Seaquest and Montezuma’s Revenge at the following anonymous URL https://sites.google.com/view/discern-anonymous/home.
|
| 128 |
+
|
| 129 |
+
# 6.2 DEEPMIND CONTROL SUITE TASKS
|
| 130 |
+
|
| 131 |
+
The DeepMind Control Suite (Tassa et al., 2018) is a suite of continuous control tasks built on the MuJoCo physics engine (Todorov et al., 2012). While most frequently used to evaluate agents which receive the underlying state variables as observations, we train our agents on pixel renderings of the scene using the default environment-specified camera, and do not directly observe the state variables.
|
| 132 |
+
|
| 133 |
+
Agents acting greedily with respect to a state-action value function require the ability to easily maximize $Q$ over the candidate actions. For ease of implementation, as well as comparison to other considered environments, we discretize the space of continuous actions to no more than 11 unique actions per environment (see Appendix A4.1).
|
| 134 |
+
|
| 135 |
+
The availability of an underlying representation of the physical state, while not used by the learner, provides a useful basis for comparison of achieved states to goals. We mask out state variables relating to entities in the scene not under the control of the agent; for example, the position of the target in the reacher or manipulator domains.
|
| 136 |
+
|
| 137 |
+
DISCERN is compared to the baselines on a fixed set of 100 goals with 20 trials for each goal. The goals are generated by acting randomly for 25 environment steps after initialization. In the case of cartpole, we draw the goals from a random policy acting in the environment set to the balance task, where the pole is initialized upwards, in order to generate a more diverse set of goals against which to measure. Figure 3 compares learning progress of 5 independent seeds for the “uniform” goal replacement strategy (see Appendix A5 for results with “diverse” goal replacement) for 6 domains. We adopt the same definition of achievement as in Section 6.1. Figure 2 summarizes averaged goal achievement frames on these domains except for the cartpole domain for policies learned by DISCERN. Performance on cartpole is discussed in more detail in Figure 7 of the Appendix.
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
Figure 1: a) Percentage of goals successfully achieved on Seaquest and Montezuma’s Revenge. b) Examples of goals achieved by DISCERN on the games of Seaquest (top) and Montezuma’s Revenge (bottom). For each game, the four goal states are shown in the top row. Below each goal is the averaged (over 5 trials) final state achieved by the goal-conditioned policy learned by DISCERN after $T = 5 0$ steps for the goal above.
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
Figure 2: Average achieved frames for point mass (task easy), reacher (task hard), manipulator (task bring ball), pendulum (task swingup), finger (task spin) and ball in cup (task catch) environments. The goal is shown in the top row and the achieved frame is shown in the bottom row.
|
| 144 |
+
|
| 145 |
+
The results show that in aggregate, DISCERN outperforms baselines in terms of goal achievement on several, but not all, of the considered Control Suite domains. In order to obtain a more nuanced understanding of DISCERN’s behaviour when compared with the baselines, we also examined achievement in terms of the individual dimensions of the controllable state. Figure 4 shows goal achievement separately for each dimension of the underlying state on four domains. The perdimension results show that on difficult goal-achievement tasks such as those posed in cartpole (where most proposed goal states are unstable due to the effect of gravity) and finger (where a free-spinning piece is only indirectly controllable) DISCERN learns to reliably match the major dimensions of controllability such as the cart position and finger pose while ignoring the other dimensions, whereas none of the baselines learned to reliably match any of the controllable state dimensions on the difficult tasks cartpole and finger.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 3: Quantitative evaluation of goal achievement on continuous control domains using the “uniform” goal substitution scheme (see Appendix A3). For each method, we show the fraction of goals achieved over a fixed goal set (100 images per domain).
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
Figure 4: Per-dimension quantitative evaluation of goal achievement on continuous control domains using the “uniform” goal substitution scheme (Appendix A3). Each subplot corresponds to a domain, with each group of colored rows representing a method. Each individual row represents a dimension of the controllable state (such as a joint angle). The color of each cell indicates the fraction of goal states for which the method was able to match the ground truth value for that dimension to within $1 0 \%$ of the possible range. The position along the $x$ -axis indicates the point in training in millions of frames. For example, on the reacher domain DISCERN learns to match both dimensions of the controllable state, but on the cartpole domain it learns to match the first dimension (cart position) but not the second dimension (pole angle).
|
| 152 |
+
|
| 153 |
+
We omitted the manipulator domain from these figures as none of the methods under consideration achieved non-negligible goal achievement performance on this domain, however a video showing the policy learned by DISCERN on this domain can be found at https://sites.google.com/view/discern-anonymous/home. The policy learned on the manipulator domain shows that DISCERN was able to discover several major dimensions of controllability even on such a challenging task, as further evidenced by the per-dimension analysis on the manipulator domain in Figure 8 in the Appendix.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 5: Average achieved frames over 30 trials from a random initialization on the rooms watermaze task. Goals are shown in the top row while the corresponding average achieved frames are in the bottom row.
|
| 157 |
+
|
| 158 |
+
# 6.3 DEEPMIND LAB
|
| 159 |
+
|
| 160 |
+
DeepMind Lab (Beattie et al., 2016) is a platform for 3D first person reinforcement learning environments. We trained DISCERN on the watermaze level and found that it learned to approximately achieve the same wall and horizon position as in the goal image. While the agent did not learn to achieve the position and viewpoint shown in a goal image as one may have expected, it is encouraging that our approach learns a reasonable space of goals on a first-person 3D domain in addition to domains with third-person viewpoints like Atari and the DM Control Suite.
|
| 161 |
+
|
| 162 |
+
# 7 DISCUSSION
|
| 163 |
+
|
| 164 |
+
We have presented a system that can learn to achieve goals, specified in the form of observations from the environment, in a purely unsupervised fashion, i.e. without any extrinsic rewards or expert demonstrations. Integral to this system is a powerful and principled discriminative reward learning objective, which we have demonstrated can recover the dominant underlying degrees of controllability in a variety of visual domains.
|
| 165 |
+
|
| 166 |
+
In this work, we have adopted a fixed episode length of $T$ in the interest of simplicity and computational efficiency. This implicitly assumes not only that all sampled goals are approximately achievable in $T$ steps, but that the policy need not be concerned with finishing in less than the allotted number of steps. Both of these limitations could be addressed by considering schemes for early termination based on the embedding, though care must be taken not to deleteriously impact training by terminating episodes too early based on a poorly trained reward embedding. Relatedly, our goal selection strategy is agnostic to both the state of the environment at the commencement of the goal episode and the current skill profile of the policy, utilizing at most the content of the goal itself to drive the evolution of the goal buffer $\mathcal { G }$ . We view it as highly encouraging that learning proceeds using such a naive goal selection strategy, however more sophisticated strategies, such as tracking and sampling from the frontier of currently achievable goals (Held et al., 2017), may yield substantial improvements.
|
| 167 |
+
|
| 168 |
+
DISCERN’s ability to automatically discover controllable aspects of the observation space is a highly desirable property in the pursuit of robust low-level control. A natural next step is the incorporation of DISCERN into a deep hierarchical reinforcement learning setup (Vezhnevets et al., 2017; Levy et al., 2018; Nachum et al., 2018) where a meta-policy for proposing goals is learned after or in tandem with a low-level controller, i.e. by optimizing an extrinsic reward signal.
|
| 169 |
+
|
| 170 |
+
# REFERENCES
|
| 171 |
+
|
| 172 |
+
Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems 30, pp. 5048–5058. 2017.
|
| 173 |
+
|
| 174 |
+
Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017.
|
| 175 |
+
|
| 176 |
+
Dzmitry Bahdanau, Felix Hill, Jan Leike, Edward Hughes, Pushmeet Kohli, and Edward Grefenstette. Learning to follow language instructions with adversarial reward induction. arXiv preprint arXiv:1806.01946, 2018.
|
| 177 |
+
|
| 178 |
+
David Barber and Felix V. Agakov. Information maximization in noisy channels : A variational approach. In S. Thrun, L. K. Saul, and B. Scholkopf (eds.), ¨ Advances in Neural Information Processing Systems 16, pp. 201–208. MIT Press, 2004.
|
| 179 |
+
|
| 180 |
+
Charles Beattie, Joel Z Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, et al. Deepmind lab. ´ arXiv preprint arXiv:1612.03801, 2016.
|
| 181 |
+
|
| 182 |
+
Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47: 253–279, 2013.
|
| 183 |
+
|
| 184 |
+
Yoshua Bengio and Jean-Sebastien S ´ en´ ecal. Quick training of probabilistic neural nets by importance ´ sampling. In Proceedings of the conference on Artificial Intelligence and Statistics (AISTATS), 2003.
|
| 185 |
+
|
| 186 |
+
Silvia Chiappa, Sebastien Racani ´ ere, Daan Wierstra, and Shakir Mohamed. Recurrent environment \` simulators. In International Conference on Learning Representations, 2018.
|
| 187 |
+
|
| 188 |
+
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. arXiv preprint arXiv:1802.01561, 2018.
|
| 189 |
+
|
| 190 |
+
Benjamin Eysenbach, Abhishek Gupta, Julian Ibarz, and Sergey Levine. Diversity is all you need: Learning skills without a reward function. arXiv preprint arXiv:1802.06070, 2018.
|
| 191 |
+
|
| 192 |
+
Carlos Florensa, Yan Duan, and Pieter Abbeel. Stochastic neural networks for hierarchical reinforcement learning. In International Conference on Learning Representations, 2017.
|
| 193 |
+
|
| 194 |
+
Yaroslav Ganin, Tejas Kulkarni, Igor Babuschkin, SM Eslami, and Oriol Vinyals. Synthesizing programs for images using reinforced adversarial learning. arXiv preprint arXiv:1804.01118, 2018.
|
| 195 |
+
|
| 196 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014.
|
| 197 |
+
|
| 198 |
+
Karol Gregor, Danilo Jimenez Rezende, and Daan Wierstra. Variational intrinsic control. 2016.
|
| 199 |
+
|
| 200 |
+
Shane Gu, Tim Lillicrap, Ilya Sutskever, and Sergei Levine. Continuous deep q-learning with model-based acceleration. In Proc. of ICML, 2016.
|
| 201 |
+
|
| 202 |
+
David Ha and Jurgen Schmidhuber. World models. ¨ arXiv preprint arXiv:1803.10122, 2018.
|
| 203 |
+
|
| 204 |
+
David Held, Xinyang Geng, Carlos Florensa, and Pieter Abbeel. Automatic goal generation for reinforcement learning agents. arXiv preprint arXiv:1705.06366, 2017.
|
| 205 |
+
|
| 206 |
+
Jonathan Ho and Stefano Ermon. Generative adversarial imitation learning. In Advances in Neural Information Processing Systems, pp. 4565–4573, 2016.
|
| 207 |
+
|
| 208 |
+
Dan Horgan, John Quan, David Budden, Gabriel Barth-Maron, Matteo Hessel, Hado van Hasselt, and David Silver. Distributed prioritized experience replay. In International Conference on Learning Representations, 2018.
|
| 209 |
+
|
| 210 |
+
Leslie Pack Kaelbling. Learning to achieve goals. In Proceedings of the 13th International Joint Conference on Artificial Intelligence, pp. 1094–1099, 1993.
|
| 211 |
+
|
| 212 |
+
Alex Kulesza, Ben Taskar, et al. Determinantal point processes for machine learning. Foundations and Trends $\textsuperscript { \textregistered }$ in Machine Learning, 5(2–3):123–286, 2012.
|
| 213 |
+
|
| 214 |
+
John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. pp. 282–289, 2001.
|
| 215 |
+
|
| 216 |
+
Brenden M Lake, Tomer D Ullman, Joshua B Tenenbaum, and Samuel J Gershman. Building machines that learn and think like people. Behavioral and Brain Sciences, 40, 2017.
|
| 217 |
+
|
| 218 |
+
Adrien Laversanne-Finot, Alexandre Pere, and Pierre-Yves Oudeyer. Curiosity driven exploration of learned disentangled goal spaces. In Conference on Robot Learning, pp. 487–504, 2018.
|
| 219 |
+
|
| 220 |
+
Andrew Levy, Robert Platt, and Kate Saenko. Hierarchical reinforcement learning with hindsight. arXiv preprint arXiv:1805.08180, 2018.
|
| 221 |
+
|
| 222 |
+
Long-Ji Lin. Reinforcement learning for robots using neural networks. Technical report, DTIC Document, 1993.
|
| 223 |
+
|
| 224 |
+
Marlos C Machado and Michael Bowling. Learning purposeful behaviour in the absence of rewards. arXiv preprint arXiv:1605.07700, 2016.
|
| 225 |
+
|
| 226 |
+
Marlos C Machado, Marc G Bellemare, and Michael Bowling. A laplacian framework for option discovery in reinforcement learning. In International Conference on Machine Learning, pp. 2295–2304, 2017.
|
| 227 |
+
|
| 228 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 229 |
+
|
| 230 |
+
Hossein Mobahi, Ronan Collobert, and Jason Weston. Deep learning from temporal coherence in video. In Proceedings of the 26th Annual International Conference on Machine Learning, pp. 737–744. ACM, 2009.
|
| 231 |
+
|
| 232 |
+
Ofir Nachum, Shane Gu, Honglak Lee, and Sergey Levine. Data-efficient hierarchical reinforcement learning. arXiv preprint arXiv:1805.08296, 2018.
|
| 233 |
+
|
| 234 |
+
Ashvin Nair, Vitchyr Pong, Murtaza Dalal, Shikhar Bahl, Steven Lin, and Sergey Levine. Visual reinforcement learning with imagined goals. arXiv preprint arXiv:1807.04742, 2018.
|
| 235 |
+
|
| 236 |
+
Vinod Nair and Geoffrey E Hinton. Inferring motor programs from images of handwritten digits. In Y. Weiss, B. Scholkopf, and J. C. Platt (eds.), ¨ Advances in Neural Information Processing Systems 18, pp. 515–522. MIT Press, 2006.
|
| 237 |
+
|
| 238 |
+
Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems 28, pp. 2863–2871. 2015.
|
| 239 |
+
|
| 240 |
+
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.
|
| 241 |
+
|
| 242 |
+
Alexandre Per´ e, S ´ ebastien Forestier, Olivier Sigaud, and Pierre-Yves Oudeyer. Unsupervised learning ´ of goal spaces for intrinsically motivated goal exploration. arXiv preprint arXiv:1803.00781, 2018.
|
| 243 |
+
|
| 244 |
+
Martin Riedmiller, Roland Hafner, Thomas Lampe, Michael Neunert, Jonas Degrave, Tom Van de Wiele, Volodymyr Mnih, Nicolas Heess, and Jost Tobias Springenberg. Learning by playingsolving sparse reward tasks from scratch. In International Conference on Learning Representations, 2018.
|
| 245 |
+
|
| 246 |
+
Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal value function approximators. In International Conference on Machine Learning, pp. 1312–1320, 2015.
|
| 247 |
+
|
| 248 |
+
Pierre Sermanet, Corey Lynch, Yevgen Chebotar, Eric Jang, Stefan Schaal, Jasmine Hsu, and Sergey Levine. Time-contrastive networks: Self-supervised learning from video. arXiv preprint arXiv:1704.06888, 2017.
|
| 249 |
+
|
| 250 |
+
Aravind Srinivas, Allan Jabri, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Universal planning networks. 2018.
|
| 251 |
+
|
| 252 |
+
Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, Cambridge, MA, USA, 1st edition, 1998. ISBN 0262193981.
|
| 253 |
+
|
| 254 |
+
Richard S Sutton, Joseph Modayil, Michael Delp, Thomas Degris, Patrick M Pilarski, Adam White, and Doina Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In The 10th International Conference on Autonomous Agents and Multiagent Systems-Volume 2, pp. 761–768. International Foundation for Autonomous Agents and Multiagent Systems, 2011.
|
| 255 |
+
|
| 256 |
+
Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018.
|
| 257 |
+
|
| 258 |
+
T Tieleman and G Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 2012.
|
| 259 |
+
|
| 260 |
+
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.
|
| 261 |
+
|
| 262 |
+
Vivek Veeriah, Junhyuk Oh, and Satinder Singh. Many-goals reinforcement learning. arXiv preprint arXiv:1806.09605, 2018.
|
| 263 |
+
|
| 264 |
+
Alexander Sasha Vezhnevets, Simon Osindero, Tom Schaul, Nicolas Heess, Max Jaderberg, David Silver, and Koray Kavukcuoglu. Feudal networks for hierarchical reinforcement learning. In International Conference on Machine Learning, pp. 3540–3549, 2017.
|
| 265 |
+
|
| 266 |
+
Oriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016.
|
| 267 |
+
|
| 268 |
+
Ziyu Wang, Tom Schaul, Matteo Hessel, Hado van Hasselt, Marc Lanctot, and Nando de Freitas. Dueling network architectures for deep reinforcement learning. In Proceedings of The 33rd International Conference on Machine Learning, pp. 1995–2003, 2016.
|
| 269 |
+
|
| 270 |
+
# APPENDIX
|
| 271 |
+
|
| 272 |
+
# A1 DISTRIBUTED TRAINING
|
| 273 |
+
|
| 274 |
+
We employ a distributed reinforcement learning architecture inspired by the IMPALA reinforcement learning architecture (Espeholt et al., 2018), with a centralized GPU learner batching parameter updates on experience collected by a large number of CPU-based parallel actors. While Espeholt et al. (2018) learns a stochastic policy through the use of an actor-critic architecture, we instead learn a goal-conditioned state-action value function with Q-learning. Each actor acts $\epsilon$ -greedily with respect to a local copy of the $Q$ network, and sends observations $s _ { t }$ , actions $a _ { t }$ , rewards $r _ { t }$ and discounts $\gamma _ { t }$ for a trajectory to the learner. Following Horgan et al. (2018), we use a different value of $\epsilon$ for each actor, as this has been shown to improve exploration. The learner batches re-evaluation of the convolutional network and LSTM according to the action trajectories supplied and performs parameter updates, periodically broadcasting updated model parameters to the actors. As Q-learning is an off-policy algorithm, the experience traces sent to the learner can be used in the usual $n$ -step Q-learning update without the need for an off-policy correction as in Espeholt et al. (2018). We also maintain actor-local replay buffers of previous actor trajectories and use them to perform both standard experience replay (Lin, 1993) and our variant of hindsight experience replay (Andrychowicz et al., 2017).
|
| 275 |
+
|
| 276 |
+
# A2 ARCHITECTURE DETAILS
|
| 277 |
+
|
| 278 |
+
Our network architectures closely resemble those in Espeholt et al. (2018), with policy and value heads replaced with a $Q$ -function. We apply the same convolutional network to both $s _ { t }$ and $s _ { g }$ and concatenate the final layer outputs. Note that the convolutional network outputs for $s _ { g }$ need only be computed once per episode. We include a periodic representation $( \sin ( 2 \pi t / T ) , \cos ( 2 \pi t / T ) )$ of the current time step, with period equal to the goal length achievement period $T$ , as an extra input to the network. The periodic representation is processed by a single hidden layer of rectified linear units and is concatenated with the visual representations fed to the LSTM. While not strictly necessary, we find that this allows the agent to become better at achieving goal states which may be unmaintainable due to their instability in the environment dynamics.
|
| 279 |
+
|
| 280 |
+
The output of the LSTM is the input to a dueling action-value output network (Wang et al., 2016). In all of our experiments, both branches of the dueling network are linear mappings. That is, given LSTM outputs $\psi _ { t }$ , we compute the action values for the current time step $t$ as
|
| 281 |
+
|
| 282 |
+
$$
|
| 283 |
+
Q ( a _ { t } | \psi _ { t } ) = { \psi _ { t } } ^ { \mathsf { T } } \mathbf { v } + \left( \psi _ { t } ^ { \mathsf { T } } \mathbf { w } _ { a _ { t } } - { \frac { 1 } { n } } \sum _ { a _ { t } ^ { \prime } } { \psi _ { t } } ^ { \mathsf { T } } \mathbf { w } _ { a _ { t } ^ { \prime } } \right) + b
|
| 284 |
+
$$
|
| 285 |
+
|
| 286 |
+
# A3 GOAL BUFFER
|
| 287 |
+
|
| 288 |
+
We experimented with two strategies for updating the goal buffer. In the first strategy, which we call uniform, the current observation replaces a uniformly selected entry in the goal buffer with probability $p _ { \mathrm { r e p l a c e } }$ . The second strategy, which we refer to as diverse goal sampling attempts to maintain a goal buffer that more closely approximates the uniform distribution over all observation. In the diverse goal strategy, we consider the current observation for addition to the goal buffer with probability $p _ { \mathrm { r e p l a c e } }$ at each step during acting. If the current observation $s$ is considered for addition to the goal buffer, then we select a random removal candidate $s _ { r }$ by sampling uniformly from the goal buffer and replace it with $s$ if $s _ { r }$ is closer to the rest of the goal buffer than $s$ . If $s$ is closer to the rest of the goal buffer than $s _ { r }$ then we still replace $s _ { r }$ with $s$ with probability padd−non−diverse. We used $L _ { 2 }$ distance in pixel space for the diverse sampling strategy and found it to greatly increase the coverage of states in the goal buffer, especially early during training. This bears some relationship to Determinantal Point Processes (Kulesza et al., 2012), and goal-selection strategies with a more explicit theoretical foundation are a promising future direction.
|
| 289 |
+
|
| 290 |
+
# A4 EXPERIMENTAL DETAILS
|
| 291 |
+
|
| 292 |
+
The following hyper-parameters were used in all of the experiments described in Section 6. All weight matrices are initialized using a standard truncated normal initializer, with the standard deviation inversely proportional to the square root of the fan-in. We maintain a goal buffer of size 1024 and use $p _ { \mathrm { r e p l a c e } } \overset { \cdot } { = } 1 0 ^ { - 3 }$ . We also use $p _ { \mathrm { a d d - n o n - d i v e r s e } } = 1 0 ^ { - 3 }$ . For the teacher, we choose $\xi _ { \phi } ( \cdot )$ to be an $\bar { \mathcal { L } } _ { 2 }$ -normalized single layer of 32 tanh units, trained in all experiments with 4 decoys (and thus, according to our heuristic, $\beta$ equal to 5). For hindsight experience replay, a highsight goal is substituted $2 5 \%$ of the time. These goals are chosen uniformly at random from the last 3 frames of the trajectory. Trajectories were set to be 50 steps long for Atari and DeepMind Lab and 100 for the DeepMind control suite. It is important to note that the environment was not reset after each trajectory, but rather the each new trajectory begins where the previous one ended. We train the agent and teacher jointly with RMSProp (Tieleman & Hinton, 2012) with a learning rate of $1 0 ^ { - 4 }$ . We follow the preprocessing protocol of Mnih et al. (2015), resizing to $8 4 \times 8 4$ pixels and scaling 8-bit pixel values to lie in the range [0, 1]. While originally designed for Atari, we apply this preprocessing pipeline across all environments used in this paper.
|
| 293 |
+
|
| 294 |
+
# A4.1 CONTROL SUITE
|
| 295 |
+
|
| 296 |
+
In the point mass domain we use a control step equal to 5 times the task-specified default, i.e. the agent acts on every fifth environment step (Mnih et al., 2015). In all other Control Suite domains, we use the default. We use the “easy” version of the task where actuator semantics are fixed across environment episodes.
|
| 297 |
+
|
| 298 |
+
Discrete action spaces admit function approximators which simultaneously compute the action values for all possible actions, as popularized in Mnih et al. (2015). The action with maximal $Q$ -value can thus be identified in time proportional to the cardinality of the action space. An enumeration of possible actions is no longer possible in the continuous setting. While approaches exist to enable continuous maximization in closed form (Gu et al., 2016), they come at the cost of greatly restricting the functional form of $Q$ .
|
| 299 |
+
|
| 300 |
+
For ease of implementation, as well as comparison to other considered environments, we instead discretize the space of continuous actions. For all Control Suite environments considered except manipulator, we discretize an $A$ -dimensional continuous action space into $3 ^ { A }$ discrete actions, consisting of the Cartesian product over action dimensions with values in $\{ - 1 , 0 , 1 \}$ . In the case of manipulator, we adopt a “diagonal” discretization where each action consists of setting one actuator to $\pm 1$ , and all other actuators to 0, with an additional action consisting of every actuator being set to 0. This is a reasonable choice for manipulator because any position can be achieved by a concatenation of actuator actions, which may not be true of more complex Control Suite environments such as humanoid, where the agent’s body is subject to gravity and successful trajectories may require multi-joint actuation in a single control time step. The subset of the Control Suite considered in this work was chosen primarily such that the discretized action space would be of a reasonable size. We leave extensions to continuous domains to future work.
|
| 301 |
+
|
| 302 |
+
# A5 ADDITIONAL EXPERIMENTAL RESULTS
|
| 303 |
+
|
| 304 |
+
# A5.1 ATARI
|
| 305 |
+
|
| 306 |
+
We ran two additional baselines on Seaquest and Montezuma’s Revenge, ablating our use of hindsight experience replay in opposite ways. One involved training the goal-conditioned policy only in hindsight, without any learned goal achievement reward, i.e. $p _ { \mathrm { H E R } } = 1$ . This approach achieved $1 2 \%$ of goals on Seaquest and $1 \bar { 1 } . 4 \%$ of goals on Montezuma’s Revenge, making it comparable to a uniform random policy. This result underscores the importance of learning a goal achievement reward. The second baseline consisted of DISCERN learning a goal achievement reward without hindsight experience replay, i.e. $p _ { \mathrm { H E R } } = 0$ . This also performed poorly, achieving $1 1 . 4 \%$ of goals on Seaquest and $8 \%$ of goals on Montezuma’s Revenge. Taken together, these preliminary results suggest that the combination of hindsight experience replay and a learned goal achievement reward is important.
|
| 307 |
+
|
| 308 |
+
# A5.2 CONTROL SUITE
|
| 309 |
+
|
| 310 |
+
For the sake of completeness, Figure 6 reports goal achievement curves on Control Suite domains using the “diverse” goal selection scheme.
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
Figure 6: Results for Control Suite tasks using the “diverse” goal substitution scheme.
|
| 314 |
+
|
| 315 |
+

|
| 316 |
+
Figure 7: Average goal achievement on cartpole. Top row shows the goals. Middle row shows achievement by the Autoencoder baseline. Bottom row shows average goal achievement by DISCERN. Shading of columns is for emphasis. DISCERN always matches the cart position. The autoencoder baseline matches both cart and pole position when the pole is pointing down, but fails to match either when the pole is pointing up.
|
| 317 |
+
|
| 318 |
+
Figure 7 displays goal achievements for DISCERN and the Autoencoder baseline, highlighting DISCERN’s preference for communicating with the cart position, and robustness to the pole positions unseen during training.
|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure 8: Per-dimension quantitative evaluation on the manipulator domain. See Figure 4 for a description of the visualization. DISCERN learns to reliably control more dimensions of the underlying state than any of the baselines.
|
parse/train/r1eVMnA9K7/r1eVMnA9K7_content_list.json
ADDED
|
@@ -0,0 +1,1810 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Learning to control an environment without hand-crafted rewards or expert data remains challenging and is at the frontier of reinforcement learning research. We present an unsupervised learning algorithm to train agents to achieve perceptuallyspecified goals using only a stream of observations and actions. Our agent simultaneously learns a goal-conditioned policy and a goal achievement reward function that measures how similar a state is to the goal state. This dual optimization leads to a co-operative game, giving rise to a learned reward function that reflects similarity in controllable aspects of the environment instead of distance in the space of observations. We demonstrate the efficacy of our agent to learn, in an unsupervised manner, to reach a diverse set of goals on three domains – Atari, the DeepMind Control Suite and DeepMind Lab. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
265,
|
| 43 |
+
766,
|
| 44 |
+
416
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
440,
|
| 55 |
+
336,
|
| 56 |
+
457
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Currently, the best performing methods on many reinforcement learning benchmark problems combine model-free reinforcement learning methods with policies represented using deep neural networks (Horgan et al., 2018; Espeholt et al., 2018). Despite reaching or surpassing human-level performance on many challenging tasks, deep model-free reinforcement learning methods that learn purely from the reward signal learn in a way that differs greatly from the manner in which humans learn. In the case of learning to play a video game, a human player not only acquires a strategy for achieving a high score, but also gains a degree of mastery of the environment in the process. Notably, a human player quickly learns which aspects of the environment are under their control as well as how to control them, as evidenced by their ability to rapidly adapt to novel reward functions (Lake et al., 2017). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
470,
|
| 66 |
+
825,
|
| 67 |
+
609
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Focusing learning on mastery of the environment instead of optimizing a single scalar reward function has many potential benefits. One benefit is that learning is possible even in the absence of an extrinsic reward signal or with an extrinsic reward signal that is very sparse. Another benefit is that an agent that has fully mastered its environment should be able to reach arbitrary achievable goals, which would allow it to generalize to tasks on which it wasn’t explicitly trained. Building reinforcement learning agents that aim for environment mastery instead of or in addition to learning about a scalar reward signal is currently an open challenge. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
617,
|
| 77 |
+
825,
|
| 78 |
+
715
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "One way to represent such knowledge about an environment is using an environment model. Modelbased reinforcement learning methods aim to learn accurate environment models and use them either for planning or for training a policy. While learning accurate environment models of some visually rich environments is now possible (Oh et al., 2015; Chiappa et al., 2018; Ha & Schmidhuber, 2018) using learned models in model-based reinforcement learning has proved to be challenging and model-free approaches still dominate common benchmarks. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
722,
|
| 88 |
+
825,
|
| 89 |
+
805
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We present a new model-free agent architecture of Discriminative Embedding Reward Networks, or DISCERN for short. DISCERN learns to control an environment in an unsupervised way by learning purely from the stream of observations and actions. The aim of our agent is to learn a goal-conditioned policy $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ (Kaelbling, 1993; Schaul et al., 2015) which can reach any goal state $s _ { g }$ that is reachable from the current state $s$ . We show how to learn a goal achievement reward function $\\dot { \\boldsymbol { r } } ( s ; s _ { g } )$ that measures how similar state $s$ is to state $s _ { g }$ using a mutual information objective at the same time as learning $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ . The resulting learned reward function $r ( s ; s _ { g } )$ measures similarity in the space of controllable aspects of the environment instead of in the space of raw observations. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
811,
|
| 99 |
+
825,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Crucially, the DISCERN architecture is able to deal with goal states that are not perfectly reachable, for example, due to the presence of distractor objects that are not under the agent’s control. In such cases the goal-conditioned policy learned by DISCERN tends to seek states where the controllable elements match those in the goal state as closely as possible. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
160
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We demonstrate the effectiveness of our approach on three domains – Atari games, continuous control tasks from the DeepMind Control Suite, and DeepMind Lab. We show that our agent learns to successfully achieve a wide variety of visually-specified goals, discovering underlying degrees of controllability of an environment in a purely unsupervised manner and without access to an extrinsic reward signal. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
166,
|
| 121 |
+
825,
|
| 122 |
+
236
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 PROBLEM FORMULATION ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
256,
|
| 133 |
+
416,
|
| 134 |
+
272
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "In the standard reinforcement learning setup an agent interacts with an environment over discrete time steps. At each time step $t$ the agent observes the current state $s _ { t }$ and selects an action $a _ { t }$ according to a policy $\\pi ( \\boldsymbol { a } _ { t } | \\boldsymbol { s } _ { t } )$ . The agent then receives a reward $r _ { t } = r ( s _ { t } , a _ { t } )$ and transitions to the next state $s _ { t + 1 }$ . The aim of learning is to maximize the expected discounted return $\\textstyle R = \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } r _ { t }$ of policy $\\pi$ where $\\gamma \\in [ 0 , 1 )$ is a discount factor. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
286,
|
| 144 |
+
825,
|
| 145 |
+
357
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "In this work we focus on learning only from the stream of actions and observations in order to forego the need for an extrinsic reward function. Motivated by the idea that an agent capable of reaching any reachable goal state $s _ { g }$ from the current state $s$ has complete mastery of its environment, we pose the problem of learning in the absence of rewards as one of learning a goal-conditioned policy $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ with parameters $\\theta$ . More specifically, we assume that the agent interacts with an environment defined by a transition distribution $p ( s _ { t + 1 } | s _ { t } , a _ { t } )$ . We define a goal-reaching problem as follows. At the beginning of each episode, the agent receives a goal $s _ { g }$ sampled from a distribution over possible goals $p _ { g o a l }$ . For example, $p _ { g o a l }$ could be the uniform distribution over all previously visited states. The agent then acts for $T$ steps according to the goal-conditioned policy $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; \\bar { s } _ { g } )$ receiving a reward of 0 for each of the first $T - 1$ actions and a reward of $r ( s _ { T } ; s _ { g } )$ after the last action, where $r ( s ; s _ { g } ) \\in [ 0 , 1 ]$ for all $s$ and $s _ { g }$ 1. The goal achievement reward function $r ( s ; s _ { g } )$ measures the degree to which being in state $s$ achieves goal $s _ { g }$ . The episode terminates upon the agent receiving the reward $r ( s _ { T } ; s _ { g } )$ and a new episode begins. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
364,
|
| 155 |
+
825,
|
| 156 |
+
546
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "It is straightforward to train $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ in a tabular environment using the indicator reward $r ( s ; s _ { g } ) ~ \\bar { = } ~ \\mathbb { 1 } \\{ s ~ = ~ s _ { g } \\}$ . We are, however, interested in environments with continuous highdimensional observation spaces. While there is extensive prior work on learning goal-conditioned policies (Kaelbling, 1993; Schaul et al., 2015; Andrychowicz et al., 2017; Held et al., 2017; Pathak et al., 2018), the reward function is often hand-crafted, limiting generality of the approaches. In the few cases where the reward is learned, the learning objective is typically tied to a pre-specified notion of visual similarity. Learning to achieve goals based purely on visual similarity is unlikely to work in complex, real world environments due to the possible variations in appearance of objects, or goal-irrelevant perceptual context. We now turn to the problem of learning a goal achievement reward function $r _ { \\phi } ( s ; s _ { g } )$ with parameters $\\phi$ for high-dimensional state spaces. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
173,
|
| 165 |
+
553,
|
| 166 |
+
825,
|
| 167 |
+
693
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "3 LEARNING A REWARD FUNCTION BY MAXIMIZING MUTUAL INFORMATION ",
|
| 174 |
+
"text_level": 1,
|
| 175 |
+
"bbox": [
|
| 176 |
+
171,
|
| 177 |
+
712,
|
| 178 |
+
821,
|
| 179 |
+
728
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "We aim to simultaneously learn a goal-conditioned policy $\\pi _ { \\theta }$ and a goal achievement reward function $r _ { \\phi }$ by maximizing the mutual information between the goal state $s _ { g }$ and the achieved state $s _ { T }$ as shown in (1). ",
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
742,
|
| 189 |
+
825,
|
| 190 |
+
785
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "equation",
|
| 196 |
+
"img_path": "images/f8115495a99fbf160078d0df5ef708cd8e3e95937f1718cc8a5269ed3effd918.jpg",
|
| 197 |
+
"text": "$$\nI ( s _ { g } , s _ { T } ) = H ( s _ { g } ) + \\mathbb { E } _ { s _ { g } , s _ { T } \\sim p ( s _ { g } , s _ { T } ) } \\log p ( s _ { g } | s _ { T } )\n$$",
|
| 198 |
+
"text_format": "latex",
|
| 199 |
+
"bbox": [
|
| 200 |
+
330,
|
| 201 |
+
790,
|
| 202 |
+
668,
|
| 203 |
+
808
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "Note that we are slightly overloading notation by treating $s _ { g }$ as a random variable distributed according to $p _ { g o a l }$ . Similarly, $s _ { T }$ is a random variable distributed according to the state distribution induced by running $\\pi _ { \\theta }$ for $T$ steps for goal states sampled from $p _ { g o a l }$ . ",
|
| 210 |
+
"bbox": [
|
| 211 |
+
174,
|
| 212 |
+
811,
|
| 213 |
+
825,
|
| 214 |
+
853
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "The prior work of Gregor et al. (2016) showed how to learn a set of abstract options by optimizing a similar objective, namely the mutual information between an abstract option and the achieved state. Following their approach, we simplify (1) in two ways. First, we rewrite the expectation in terms of the goal distribution $p _ { g o a l }$ and the goal conditioned policy $\\pi _ { \\theta }$ . Second, we lower bound the expectation term by replacing $\\check { p } ( s _ { g } | s _ { T } )$ with a variational distribution $q _ { \\phi } ( s _ { g } | s _ { T } )$ with parameters $\\phi$ following Barber $\\&$ Agakov (2004), leading to ",
|
| 221 |
+
"bbox": [
|
| 222 |
+
176,
|
| 223 |
+
859,
|
| 224 |
+
821,
|
| 225 |
+
888
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "",
|
| 232 |
+
"bbox": [
|
| 233 |
+
174,
|
| 234 |
+
103,
|
| 235 |
+
825,
|
| 236 |
+
160
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "equation",
|
| 242 |
+
"img_path": "images/74d6b74ea56623ce74e0ca2f236162884c7ef739d63bc0e616773a175f544601.jpg",
|
| 243 |
+
"text": "$$\nI ( s _ { g } , s _ { T } ) \\geq H ( s _ { g } ) + \\mathbb { E } _ { s _ { g } \\sim p _ { g o a l } , s _ { 1 } , \\dots s _ { T } \\sim \\pi _ { \\theta } ( \\dots | s _ { g } ) } \\log q _ { \\phi } ( s _ { g } | s _ { T } ) .\n$$",
|
| 244 |
+
"text_format": "latex",
|
| 245 |
+
"bbox": [
|
| 246 |
+
287,
|
| 247 |
+
167,
|
| 248 |
+
709,
|
| 249 |
+
186
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "Finally, we discard the entropy term $H ( s _ { g } )$ from (2) because it does not depend on either the policy parameters $\\theta$ or the variational distribution parameters $\\phi$ , giving our overall objective ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
173,
|
| 258 |
+
193,
|
| 259 |
+
823,
|
| 260 |
+
223
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "equation",
|
| 266 |
+
"img_path": "images/6a5974b27a2b14e72cb9b39451c111792b35ed7d228ef7e32e47f4943fbb4bcc.jpg",
|
| 267 |
+
"text": "$$\nO _ { \\mathrm { D I S C E R N } } = \\mathbb { E } _ { s _ { g } \\sim p _ { g o a l } , s _ { 1 } , \\ldots s _ { T } \\sim \\pi _ { \\theta } ( \\cdots | s _ { g } ) } \\log q _ { \\phi } ( s _ { g } | s _ { T } ) .\n$$",
|
| 268 |
+
"text_format": "latex",
|
| 269 |
+
"bbox": [
|
| 270 |
+
313,
|
| 271 |
+
231,
|
| 272 |
+
683,
|
| 273 |
+
250
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "This objective may seem difficult to work with because the variational distribution $q _ { \\phi }$ is a distribution over possible goals $s _ { g }$ , which in our case are high-dimensional observations, such as images. We sidestep the difficulty of directly modelling the density of high-dimensional observations by restricting the set of possible goals to be a finite subset of previously encountered states that evolves over time (Lin, 1993). Restricting the support of $q _ { \\phi }$ to a finite set of goals turns the problem of learning $q _ { \\phi }$ into a problem of modelling the conditional distribution of possible intended goals given an achieved state, which obviates the requirement of modelling arbitrary statistical dependencies in the observations.2 ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
173,
|
| 282 |
+
253,
|
| 283 |
+
825,
|
| 284 |
+
366
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "Optimization: The expectation in the DISCERN objective is with respect to the distribution of trajectories generated by the goal-conditioned policy $\\pi _ { \\theta }$ acting in the environment against goals drawn from the goal distribution $p _ { g o a l }$ . We can therefore optimize this objective with respect to policy parameters $\\theta$ by repeatedly generating trajectories and performing reinforcement learning updates on $\\pi _ { \\theta }$ with a reward of $\\log { \\bar { q _ { \\phi } } ( s _ { g } | s _ { T } ) }$ given at time $T$ and 0 for other time steps. Optimizing the objective with respect to the variational distribution parameters $\\phi$ is also straightforward since it is equivalent to a maximum likelihood classification objective. As will be discussed in the next section, we found that using a reward that is a non-linear transformation mapping $\\log q _ { \\phi } ( s _ { g } | s _ { T } )$ to $[ 0 , 1 ]$ worked better in practice. Nevertheless, since the reward for the goal conditioned-policy is a function of $\\log q _ { \\phi } ( s _ { g } \\bar { | } s _ { T } )$ , training the variational distribution function $q _ { \\phi }$ amounts to learning a reward function. ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
173,
|
| 293 |
+
372,
|
| 294 |
+
825,
|
| 295 |
+
525
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Communication Game Interpretation: Dual optimization of the DISCERN objective has an appealing interpretation as a cooperative communication game between two players – an imitator that corresponds to the goal-conditioned policy and a teacher that corresponds to the variational distribution. At the beginning of each round or episode of the game the imitator is provided with a goal state. The aim of the imitator is to communicate the goal state to the teacher by taking $T$ actions in the environment. After the imitator takes $T$ actions, the teacher has to guess which state from a set of possible goals was given to the imitator purely from observing the final state $s _ { T }$ reached by the imitator. The teacher does this by assigning a probability to each candidate goal state that it was the goal given to the imitator at the start of the episode, i.e. it produces a distribution $p ( s _ { g } | s _ { T } )$ . The objective of both players is for the teacher to guess the goal given to the imitator correctly as measured by the log probability assigned by the teacher to the correct goal. ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
532,
|
| 305 |
+
825,
|
| 306 |
+
685
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "4 DISCRIMINATIVE EMBEDDING REWARD NETWORKS ",
|
| 313 |
+
"text_level": 1,
|
| 314 |
+
"bbox": [
|
| 315 |
+
176,
|
| 316 |
+
707,
|
| 317 |
+
638,
|
| 318 |
+
723
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "We now describe the DISCERN algorithm – a practical instantiation of the approach for jointly learning $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ and $r ( s ; s _ { g } )$ outlined in the previous section. ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
173,
|
| 327 |
+
739,
|
| 328 |
+
823,
|
| 329 |
+
767
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Goal distribution: We adopt a non-parametric approach to the problem of proposing goals, whereby we maintain a fixed size buffer $\\mathcal { G }$ of past observations from which we sample goals during training. We update $\\mathcal { G }$ by replacing the contents of an existing buffer slot with an observation from the agent’s recent experience according to some substitution strategy; in this work we considered two such strategies, detailed in Appendix A3. This means that the space of goals available for training drifts as a function of the agent’s experience, and states which may not have been reachable under a poorly trained policy become reachable and available for substitution into the goal buffer, leading to a naturally induced curriculum. In this work, we sample training goals for our agent uniformly at random from the goal buffer, leaving the incorporation of more explicitly instantiated curricula to future work. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
173,
|
| 338 |
+
773,
|
| 339 |
+
825,
|
| 340 |
+
886
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "",
|
| 347 |
+
"bbox": [
|
| 348 |
+
173,
|
| 349 |
+
103,
|
| 350 |
+
823,
|
| 351 |
+
132
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Goal achievement reward: We train a goal achievement reward function $r ( s ; s _ { g } )$ used to compute rewards for the goal-conditioned policy based on a learned measure of state similarity. We parameterize $r ( s ; s _ { g } )$ as the positive part of the cosine similarity between $s$ and $s _ { g }$ in a learned embedding space, although shaping functions other than rectification could be explored. The state embedding in which we measure cosine similarity is the composition of a feature transformation $h ( \\cdot )$ and a learned $L ^ { 2 }$ -normalized mapping $\\xi _ { \\phi } ( \\cdot )$ . In our implementation, where states and goals are represented as 2-D RGB images, we take $h ( \\cdot )$ to be the final layer features of the convolutional network learned by the policy in order to avoid learning a second convolutional network. We find this works well provided that while training $r$ , we treat $h ( \\cdot )$ as fixed and do not adapt the convolutional network’s parameters with respect to the reward learner’s loss. This has the effect of regularizing the reward learner by limiting its adaptive capacity while avoiding the need to introduce a hyperparameter weighing the two losses against one another. ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
173,
|
| 360 |
+
138,
|
| 361 |
+
825,
|
| 362 |
+
305
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "We train $\\xi _ { \\phi } ( \\cdot )$ according to a goal-discrimination objective suggested by (3). However, rather than using the set of all goals in the buffer $\\mathcal { G }$ as the set of possible classes in the goal discriminator, we sample a small subset for each trajectory. Specifically, the set of possible classes includes the goal $g$ for the trajectory and $K$ decoy observations $d _ { 1 } , d _ { 2 } , \\dots , d _ { K }$ from the same distribution as $s _ { g }$ . Letting ",
|
| 369 |
+
"bbox": [
|
| 370 |
+
174,
|
| 371 |
+
311,
|
| 372 |
+
825,
|
| 373 |
+
369
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "equation",
|
| 379 |
+
"img_path": "images/b126a2d569eb79d1d04a551c7dfbb36e693ba7cde1c9a37a3dccd60a7f2ab9d1.jpg",
|
| 380 |
+
"text": "$$\n\\boldsymbol { \\ell } _ { g } = \\xi _ { \\phi } ( h ( \\boldsymbol { s } _ { T } ) ) ^ { \\mathsf { T } } \\xi _ { \\phi } ( h ( \\boldsymbol { g } ) )\n$$",
|
| 381 |
+
"text_format": "latex",
|
| 382 |
+
"bbox": [
|
| 383 |
+
410,
|
| 384 |
+
373,
|
| 385 |
+
588,
|
| 386 |
+
392
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "we maximize the log likelihood given by ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
174,
|
| 395 |
+
396,
|
| 396 |
+
442,
|
| 397 |
+
410
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "equation",
|
| 403 |
+
"img_path": "images/ce1bc26434d564e3eeb8ebae4b5dad1743c0bd800d90239ddc7004f00644252c.jpg",
|
| 404 |
+
"text": "$$\n\\log \\hat { q } ( s _ { g } = g | s _ { T } ; d _ { 1 } , . . . d _ { K } , \\pi _ { \\theta } ) = \\log \\frac { \\exp { ( \\beta \\ell _ { g } ) } } { \\exp { ( \\beta \\ell _ { g } ) } + \\sum _ { k = 1 } ^ { K } \\exp { ( \\beta \\xi _ { \\phi } ( h ( s _ { T } ) ) ^ { \\top } \\xi _ { \\phi } ( h ( d _ { k } ) ) ) } }\n$$",
|
| 405 |
+
"text_format": "latex",
|
| 406 |
+
"bbox": [
|
| 407 |
+
194,
|
| 408 |
+
414,
|
| 409 |
+
782,
|
| 410 |
+
452
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "where $\\beta$ is an inverse temperature hyperparameter which we fix to $K + 1$ in all experiments. Note that (5) is a maximum log likelihood training objective for a softmax nearest neighbour classifier in a learned embedding space, making it similar to a matching network (Vinyals et al., 2016). Intuitively, updating the embedding $\\xi _ { \\phi }$ using the objective in (5) aims to increase the cosine similarity between $e { \\left( s _ { T } \\right) }$ and $e ( g )$ and to decrease the cosine similarity between $e { \\left( s _ { T } \\right) }$ and the decoy embeddings $e ( d ) , \\ldots , e ( d _ { K } )$ . Subsampling the set of possible classes as we do is a known method for approximate maximum likelihood training of a softmax classifier with many classes (Bengio & Sen´ ecal, 2003). ´ ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
174,
|
| 419 |
+
454,
|
| 420 |
+
825,
|
| 421 |
+
551
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "We use $\\operatorname* { m a x } ( 0 , \\ell _ { g } )$ as the reward for reaching state $s _ { T }$ when given goal $g$ . We found that this reward function is better behaved than the reward $\\log \\hat { q } ( s _ { g } = g \\vert s _ { T } ; d _ { 1 } , . . . d _ { K } , \\pi _ { \\theta } )$ suggested by the DISCERN objective in Section 3 since it is scaled to lie in $[ 0 , 1 ]$ . The reward we use is also less noisy since, unlike $\\log { \\hat { q } }$ , it does not depend on the decoy states. ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
174,
|
| 430 |
+
559,
|
| 431 |
+
825,
|
| 432 |
+
614
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 3
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "Goal-conditioned policy: The goal-conditioned policy $\\pi _ { \\boldsymbol { \\theta } } ( a | s ; s _ { g } )$ is trained to optimize the goal achievement reward $r ( s ; s _ { g } )$ . In this paper, $\\pi _ { \\theta } ( a | s ; s _ { g } )$ is an $\\epsilon$ -greedy policy of a goal-conditioned action-value function $\\mathrm { Q }$ with parameters $\\theta$ . $\\mathrm { Q }$ is trained using Q-learning and minibatch experience replay; specifically, we use the variant of $Q ( \\lambda )$ due to Peng (see Chapter 7, Sutton & Barto (1998)). ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
174,
|
| 441 |
+
621,
|
| 442 |
+
825,
|
| 443 |
+
678
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 3
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "text",
|
| 449 |
+
"text": "Goal relabelling: We use a form of goal relabelling (Kaelbling, 1993) or hindsight experience replay (Andrychowicz et al., 2017; Nair $\\&$ Hinton, 2006) as a source successfully achieved goals as well as to regularize the embedding $e ( \\cdot )$ . Specifically, for the purposes of parameter updates (in both the policy and the reward learner) we substitute, with probability $p _ { \\mathrm { H E R } }$ the goal with an observation selected from the final $H$ steps of the trajectory, and consider the agent to have received a reward of 1. The motivation, in the case of the policy, is similar to that of previous work, i.e. that being in state $s _ { t }$ should correspond to having achieved the goal of reaching $s _ { t }$ . When employed in the reward learner, it amounts to encouraging temporally consistent state embeddings (Mobahi et al., 2009; Sermanet et al., 2017), i.e. encouraging observations which are nearby in time to have similar embeddings. ",
|
| 450 |
+
"bbox": [
|
| 451 |
+
173,
|
| 452 |
+
684,
|
| 453 |
+
825,
|
| 454 |
+
810
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 3
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "Pseudocode for the DISCERN algorithm, decomposed into an experience-gathering (possibly distributed) actor process and a centralized learner process, is given in Algorithm 1. ",
|
| 461 |
+
"bbox": [
|
| 462 |
+
173,
|
| 463 |
+
816,
|
| 464 |
+
825,
|
| 465 |
+
844
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 3
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "5 RELATED WORK ",
|
| 472 |
+
"text_level": 1,
|
| 473 |
+
"bbox": [
|
| 474 |
+
176,
|
| 475 |
+
863,
|
| 476 |
+
344,
|
| 477 |
+
880
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "The problem of reinforcement learning in the context of multiple goals dates at least to Kaelbling (1993), where the problem was examined in the context of grid worlds where the state space is ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
173,
|
| 486 |
+
895,
|
| 487 |
+
823,
|
| 488 |
+
924
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Algorithm 1: DISCERN ",
|
| 495 |
+
"text_level": 1,
|
| 496 |
+
"bbox": [
|
| 497 |
+
174,
|
| 498 |
+
107,
|
| 499 |
+
344,
|
| 500 |
+
122
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 4
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "table",
|
| 506 |
+
"img_path": "images/fbe163367cddd7518bdf20ed5a24e58f997557ee0c491e7f82afb3792f9aa4dc.jpg",
|
| 507 |
+
"table_caption": [],
|
| 508 |
+
"table_footnote": [],
|
| 509 |
+
"table_body": "<table><tr><td colspan=\"2\">procedure ACTOR Input: Time budget T, policy parameters 0, goal embedding parameters Φ, shared goal</td></tr><tr><td colspan=\"2\">π ←BEHAVIOR-POLICY(0) /* e.g. E-greedy */</td></tr><tr><td colspan=\"2\">g~g r1:T-1←0 fort←1...Tdo Take action at ~ πθ(St; g) obtaining St+1 from p(St+1|St, at)</td></tr><tr><td colspan=\"2\">9 ← PROPOSE-GOAL-SUBSTITUTION(G,St) /* See Appendix A3 */ end</td></tr><tr><td colspan=\"2\">with probability PHER, Sample SHER uniformly from {sT-H,...,sT} and set g ← SHER,rT ←1 otherwise</td></tr><tr><td colspan=\"2\">Compute lg using (4) rT ←max(0,lg) Send (s1:T,a1:T,r1:T,g) to the learner.</td></tr><tr><td colspan=\"2\">Poll the learner periodically for updated values of 0,. Reset the environment if the episode has terminated.</td></tr><tr><td colspan=\"2\">until termination procedure LEARNER</td></tr><tr><td colspan=\"2\">Input:Batch size B, number of decoys K,initial policy parameters 0,initial goal embedding parametersΦ</td></tr><tr><td colspan=\"2\">repeat Assemble batchof experienceB={(s:,:T,b)}1</td></tr><tr><td colspan=\"2\">forb←1...Bdo</td></tr><tr><td colspan=\"2\">Sample K decoy goals d,d,...,dk ~ g end</td></tr><tr><td colspan=\"2\">Use an off-policy reinforcement learning algorithm to update θ based on B</td></tr><tr><td colspan=\"2\">Update Φ to maximize B∑b=1 log@(sg = gʰ|sr;d1,..dk,πθ) computed by (5) B</td></tr></table>",
|
| 510 |
+
"bbox": [
|
| 511 |
+
174,
|
| 512 |
+
122,
|
| 513 |
+
805,
|
| 514 |
+
568
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 4
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "small and enumerable. Sutton et al. (2011) proposed generalized value functions (GVFs) as a way of representing knowledge about sub-goals, or as a basis for sub-policies or options. Universal Value Function Approximators (UVFAs) (Schaul et al., 2015) extend this idea by using a function approximator to parameterize a joint function of states and goal representations, allowing compact representation of an entire class of conditional value functions and generalization across classes of related goals. ",
|
| 521 |
+
"bbox": [
|
| 522 |
+
174,
|
| 523 |
+
603,
|
| 524 |
+
825,
|
| 525 |
+
688
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "While the above works assume a goal achievement reward to be available a priori, our work includes an approach to learning a reward function for goal achievement jointly with the policy. Several recent works have examined reward learning for goal achievement in the context of the Generative Adversarial Networks (GAN) paradigm (Goodfellow et al., 2014). The SPIRAL (Ganin et al., 2018) algorithm trains a goal conditioned policy with a reward function parameterized by a Wasserstein GAN (Arjovsky et al., 2017) discriminator. Similarly, AGILE (Bahdanau et al., 2018) learns an instruction-conditional policy where goals in a grid-world are specified in terms of predicates which should be satisfied, and a reward function is learned using a discriminator trained to distinguish states achieved by the policy from a dataset of instruction, goal state pairs. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
173,
|
| 534 |
+
694,
|
| 535 |
+
825,
|
| 536 |
+
819
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "Reward learning has also been used in the context of imitation. Ho & Ermon (2016) derives an adversarial network algorithm for imitation, while time-contrastive networks (Sermanet et al., 2017) leverage pre-trained ImageNet classifier representations to learn a reward function for robotics skills from video demonstrations, including robotic imitation of human poses. Universal Planning Networks (UPNs) (Srinivas et al., 2018) learn a state representation by training a differentiable planner to imitate expert trajectories. Experiments showed that once a UPN is trained the state representation it learned can be used to construct a reward function for visually specified goals. Bridging goal-conditioned policy learning and imitation learning, Pathak et al. (2018) learns a goal-conditioned policy and a dynamics model with supervised learning without expert trajectories, and present zero-shot imitation of trajectories from a sequence of images of a desired task. ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
174,
|
| 545 |
+
825,
|
| 546 |
+
825,
|
| 547 |
+
924
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "",
|
| 554 |
+
"bbox": [
|
| 555 |
+
174,
|
| 556 |
+
103,
|
| 557 |
+
823,
|
| 558 |
+
146
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 5
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "A closely related body of work to that of goal-conditioned reinforcement learning is that of unsupervised option or skill discovery. Machado & Bowling (2016) proposes a method based on an eigendecomposition of differences in features between successive states, further explored and extended in Machado et al. (2017). Variational Intrinsic Control (VIC) (Gregor et al., 2016) leverages the same lower bound on the mutual information as the present work in an unsupervised control setting, in the space of abstract options rather than explicit perceptual goals. VIC aims to jointly maximize the entropy of the set of options while making the options maximally distinguishable from their final states according to a parametric predictor. Recently, Eysenbach et al. (2018) showed that a special case of the VIC objective can scale to significantly more complex tasks and provide a useful basis for low-level control in a hierarchical reinforcement learning context. ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
174,
|
| 567 |
+
152,
|
| 568 |
+
825,
|
| 569 |
+
291
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 5
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "Other work has explored learning policies in tandem with a task policy, where the task or environment rewards are assumed to be sparse. Florensa et al. (2017) propose a framework in which low-level skills are discovered in a pre-training phase of a hierarchial system based on simple-to-design proxy rewards, while Riedmiller et al. (2018) explore a suite of auxiliary tasks through simultaneous off-policy learning. ",
|
| 576 |
+
"bbox": [
|
| 577 |
+
174,
|
| 578 |
+
299,
|
| 579 |
+
825,
|
| 580 |
+
368
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 5
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Several authors have explored a pre-training stage, sometimes paired with fine-tuning, based on unsupervised representation learning. Per´ e et al. (2018) and Laversanne-Finot et al. (2018) employ a ´ two-stage framework wherein unsupervised representation learning is used to learn a model of the observations from which to sample goals for control in simple simulated environments. Nair et al. (2018) propose a similar approach in the context of model-free Q-learning applied to 3-dimensional simulations and robots. Goals for training the policy are sampled from the model’s prior, and a reward function is derived from the latent codes. This contrasts with our non-parametric approach to selecting goals, as well as our method for learning the goal space online and jointly with the policy. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
174,
|
| 589 |
+
375,
|
| 590 |
+
825,
|
| 591 |
+
487
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "An important component of our method is a form of goal relabelling, introduced to the reinforcement learning literature as hindsight experience replay by Andrychowicz et al. (2017), based on the intuition that any trajectory constitutes a valid trajectory which achieves the goal specified by its own terminal observation. Earlier, Nair & Hinton (2006) employed a related scheme in the context of supervised learning of motor programs, where a program encoder is trained on pairs of trajectory realizations and programs obtained by expanding outwards from a pre-specified prototypical motor program through the addition of noise. Veeriah et al. (2018) expands upon hindsight replay and the all-goal update strategy proposed by Kaelbling (1993), generalizing the latter to non-tabular environments and exploring related strategies for skill discovery, unsupervised pre-training and auxiliary tasks. Levy et al. (2018) propose a hierarchical Q-learning system which employs hindsight replay both conventionally in the lower-level controller and at higher levels in the hierarchy. Nair et al. (2018) also employ a generalized goal relabeling scheme whereby the policy is trained based on a trajectory’s achievement not just of its own terminal observation, but a variety of retrospectively considered possible goals. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
493,
|
| 601 |
+
825,
|
| 602 |
+
688
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 5
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "6 EXPERIMENTS ",
|
| 609 |
+
"text_level": 1,
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
729,
|
| 613 |
+
326,
|
| 614 |
+
744
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "We evaluate, both qualitatively and quantitatively, the ability of DISCERN to achieve visuallyspecified goals in three diverse domains – the Arcade Learning Environment (Bellemare et al., 2013), continuous control tasks in the DeepMind Control Suite (Tassa et al., 2018), and DeepMind Lab, a 3D first person environment (Beattie et al., 2016). Experimental details including architecture details, details of distributed training, and hyperparameters can be found in the Appendix. We compared DISCERN to several baseline methods for learning goal-conditioned policies: ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
772,
|
| 624 |
+
826,
|
| 625 |
+
857
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Conditioned Autoencoder (AE): In order to specifically interrogate the role of the discriminative reward learning criterion, we replace the discriminative criterion for embedding learning with an $L ^ { 2 }$ reconstruction loss on $h _ { t }$ ; that is, in addition to $\\xi _ { \\phi } ( \\cdot )$ , we learn an inverse mapping $\\xi _ { \\phi } ^ { - 1 } ( \\cdot )$ with a separate set of parameters, and train both with the criterion $\\| h _ { t } - \\xi _ { \\phi } ^ { - 1 } ( \\xi _ { \\phi } ( h _ { t } ) ) \\| ^ { 2 }$ . ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
176,
|
| 634 |
+
863,
|
| 635 |
+
823,
|
| 636 |
+
925
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "Conditioned WGAN Discriminator: We compare to an adversarial reward on the domains considered according to the protocol of Ganin et al. (2018), who successfully used a WGAN discriminator as a reward for training agents to perform inverse graphics tasks. The discriminator takes two pairs of images – (1) a real pair of goal images $( s _ { g } , s _ { g } )$ and (2) a fake pair consisting of the terminal state of the agent and the goal frame $( s _ { t } , s _ { g } )$ . The output of the discriminator is used as the reward function for the policy. Unlike our DISCERN implementation and the conditioned autoencoder baseline, we train the WGAN discriminator as a separate convolutional network directly from pixels, as in previous work. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
103,
|
| 646 |
+
825,
|
| 647 |
+
214
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Pixel distance reward (L2): Finally, we directly compare to a reward based on $L ^ { 2 }$ distance in pixel space, equal to e $\\mathbf { \\boldsymbol { x } } \\mathbf { \\boldsymbol { p } } \\left( - \\lVert \\mathbf { \\boldsymbol { s } } _ { t } - \\mathbf { \\boldsymbol { s } } _ { g } \\rVert ^ { 2 } / \\sigma _ { \\mathrm { p i x e l } } \\right)$ where $\\sigma _ { \\mathrm { p i x e l } }$ is a hyperparameter which we tuned on a per-environment basis. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
222,
|
| 657 |
+
825,
|
| 658 |
+
263
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "All the baselines use the same goal-conditioned policy architecture as DISCERN. The baselines also used hindsight experience replay in the same way as DISCERN. They can therefore be seen as ablations of DISCERN’s goal-achievement reward learning mechanism. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
176,
|
| 667 |
+
270,
|
| 668 |
+
825,
|
| 669 |
+
313
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "6.1 ATARI ",
|
| 676 |
+
"text_level": 1,
|
| 677 |
+
"bbox": [
|
| 678 |
+
174,
|
| 679 |
+
333,
|
| 680 |
+
258,
|
| 681 |
+
347
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 6
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "The suite of 57 Atari games provided by the Arcade Learning Environment (Bellemare et al., 2013) is a widely used benchmark in the deep reinforcement learning literature. We compare DISCERN to other methods on the task of achieving visually specified goals on the games of Seaquest and Montezuma’s Revenge. The relative simplicity of these domains makes it possible to handcraft a detector in order to localize the controllable aspects of the environment, namely the submarine in Seaquest and Panama Joe, the character controlled by the player in Montezuma’s Revenge. ",
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
359,
|
| 691 |
+
825,
|
| 692 |
+
444
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 6
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "We evaluated the methods by running the learned goal policies on a fixed set of goals and measured the percentage of goals it was able to reach successfully. We evaluated both DISCERN and the baselines with two different goal buffer substitution strategies, uniform and diverse, which are described in the Appendix. A goal was deemed to be successfully achieved if the position of the avatar in the last frame was within $10 \\%$ of the playable area of the position of the avatar in the goal for each controllable dimension. The controllable dimensions in Atari were considered to be the $\\mathbf { X } ^ { - }$ and y-coordinates of the avatar. The results are displayed in Figure 1a. DISCERN learned to achieve a large fraction of goals in both Seaquest and Montezuma’s Revenge while none of the baselines learned to reliably achieve goals in either game. We hypothesize that the baselines failed to learn to control the avatars because their objectives are too closely tied to visual similarity. Figure 1b shows examples of goal achievement on Seaquest and Montezuma’s Revenge. In Seaquest, DISCERN learned to match the position of the submarine in the goal image while ignoring the position of the fish, since the fish are not directly controllable. We have provided videos of the goal-conditioned policies learned by DISCERN on Seaquest and Montezuma’s Revenge at the following anonymous URL https://sites.google.com/view/discern-anonymous/home. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
450,
|
| 702 |
+
825,
|
| 703 |
+
659
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 6
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "6.2 DEEPMIND CONTROL SUITE TASKS ",
|
| 710 |
+
"text_level": 1,
|
| 711 |
+
"bbox": [
|
| 712 |
+
178,
|
| 713 |
+
679,
|
| 714 |
+
462,
|
| 715 |
+
694
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 6
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "text",
|
| 721 |
+
"text": "The DeepMind Control Suite (Tassa et al., 2018) is a suite of continuous control tasks built on the MuJoCo physics engine (Todorov et al., 2012). While most frequently used to evaluate agents which receive the underlying state variables as observations, we train our agents on pixel renderings of the scene using the default environment-specified camera, and do not directly observe the state variables. ",
|
| 722 |
+
"bbox": [
|
| 723 |
+
174,
|
| 724 |
+
707,
|
| 725 |
+
825,
|
| 726 |
+
762
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 6
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "text",
|
| 732 |
+
"text": "Agents acting greedily with respect to a state-action value function require the ability to easily maximize $Q$ over the candidate actions. For ease of implementation, as well as comparison to other considered environments, we discretize the space of continuous actions to no more than 11 unique actions per environment (see Appendix A4.1). ",
|
| 733 |
+
"bbox": [
|
| 734 |
+
174,
|
| 735 |
+
770,
|
| 736 |
+
823,
|
| 737 |
+
825
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 6
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "text",
|
| 743 |
+
"text": "The availability of an underlying representation of the physical state, while not used by the learner, provides a useful basis for comparison of achieved states to goals. We mask out state variables relating to entities in the scene not under the control of the agent; for example, the position of the target in the reacher or manipulator domains. ",
|
| 744 |
+
"bbox": [
|
| 745 |
+
176,
|
| 746 |
+
833,
|
| 747 |
+
823,
|
| 748 |
+
888
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 6
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "DISCERN is compared to the baselines on a fixed set of 100 goals with 20 trials for each goal. The goals are generated by acting randomly for 25 environment steps after initialization. In the case of cartpole, we draw the goals from a random policy acting in the environment set to the balance task, where the pole is initialized upwards, in order to generate a more diverse set of goals against which to measure. Figure 3 compares learning progress of 5 independent seeds for the “uniform” goal replacement strategy (see Appendix A5 for results with “diverse” goal replacement) for 6 domains. We adopt the same definition of achievement as in Section 6.1. Figure 2 summarizes averaged goal achievement frames on these domains except for the cartpole domain for policies learned by DISCERN. Performance on cartpole is discussed in more detail in Figure 7 of the Appendix. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
895,
|
| 758 |
+
823,
|
| 759 |
+
924
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 6
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "image",
|
| 765 |
+
"img_path": "images/5b3e12a48cafd1721f4333b127759482b9454525058189dba01de4eb721472a3.jpg",
|
| 766 |
+
"image_caption": [
|
| 767 |
+
"Figure 1: a) Percentage of goals successfully achieved on Seaquest and Montezuma’s Revenge. b) Examples of goals achieved by DISCERN on the games of Seaquest (top) and Montezuma’s Revenge (bottom). For each game, the four goal states are shown in the top row. Below each goal is the averaged (over 5 trials) final state achieved by the goal-conditioned policy learned by DISCERN after $T = 5 0$ steps for the goal above. "
|
| 768 |
+
],
|
| 769 |
+
"image_footnote": [],
|
| 770 |
+
"bbox": [
|
| 771 |
+
179,
|
| 772 |
+
102,
|
| 773 |
+
797,
|
| 774 |
+
372
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 7
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "image",
|
| 780 |
+
"img_path": "images/7b3edb4b948bf794500d2ba25ac3f4200f8eb96222c803675d051d10fe952eb2.jpg",
|
| 781 |
+
"image_caption": [
|
| 782 |
+
"Figure 2: Average achieved frames for point mass (task easy), reacher (task hard), manipulator (task bring ball), pendulum (task swingup), finger (task spin) and ball in cup (task catch) environments. The goal is shown in the top row and the achieved frame is shown in the bottom row. "
|
| 783 |
+
],
|
| 784 |
+
"image_footnote": [],
|
| 785 |
+
"bbox": [
|
| 786 |
+
243,
|
| 787 |
+
473,
|
| 788 |
+
750,
|
| 789 |
+
594
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "",
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
694,
|
| 799 |
+
825,
|
| 800 |
+
791
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "The results show that in aggregate, DISCERN outperforms baselines in terms of goal achievement on several, but not all, of the considered Control Suite domains. In order to obtain a more nuanced understanding of DISCERN’s behaviour when compared with the baselines, we also examined achievement in terms of the individual dimensions of the controllable state. Figure 4 shows goal achievement separately for each dimension of the underlying state on four domains. The perdimension results show that on difficult goal-achievement tasks such as those posed in cartpole (where most proposed goal states are unstable due to the effect of gravity) and finger (where a free-spinning piece is only indirectly controllable) DISCERN learns to reliably match the major dimensions of controllability such as the cart position and finger pose while ignoring the other dimensions, whereas none of the baselines learned to reliably match any of the controllable state dimensions on the difficult tasks cartpole and finger. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
797,
|
| 810 |
+
825,
|
| 811 |
+
924
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "image",
|
| 817 |
+
"img_path": "images/114229ab7fa3bfb129b7f218526a96105037f7769482bc7693d43f7f5a857239.jpg",
|
| 818 |
+
"image_caption": [
|
| 819 |
+
"Figure 3: Quantitative evaluation of goal achievement on continuous control domains using the “uniform” goal substitution scheme (see Appendix A3). For each method, we show the fraction of goals achieved over a fixed goal set (100 images per domain). "
|
| 820 |
+
],
|
| 821 |
+
"image_footnote": [],
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
102,
|
| 825 |
+
810,
|
| 826 |
+
323
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "image",
|
| 832 |
+
"img_path": "images/c0e9f48e1d12f29d0e502308dbf0bbc4c8472777cc3ae707af685e34eedf153c.jpg",
|
| 833 |
+
"image_caption": [
|
| 834 |
+
"Figure 4: Per-dimension quantitative evaluation of goal achievement on continuous control domains using the “uniform” goal substitution scheme (Appendix A3). Each subplot corresponds to a domain, with each group of colored rows representing a method. Each individual row represents a dimension of the controllable state (such as a joint angle). The color of each cell indicates the fraction of goal states for which the method was able to match the ground truth value for that dimension to within $1 0 \\%$ of the possible range. The position along the $x$ -axis indicates the point in training in millions of frames. For example, on the reacher domain DISCERN learns to match both dimensions of the controllable state, but on the cartpole domain it learns to match the first dimension (cart position) but not the second dimension (pole angle). "
|
| 835 |
+
],
|
| 836 |
+
"image_footnote": [],
|
| 837 |
+
"bbox": [
|
| 838 |
+
179,
|
| 839 |
+
405,
|
| 840 |
+
831,
|
| 841 |
+
657
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 8
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
833,
|
| 851 |
+
821,
|
| 852 |
+
861
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 8
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "We omitted the manipulator domain from these figures as none of the methods under consideration achieved non-negligible goal achievement performance on this domain, however a video showing the policy learned by DISCERN on this domain can be found at https://sites.google.com/view/discern-anonymous/home. The policy learned on the manipulator domain shows that DISCERN was able to discover several major dimensions of controllability even on such a challenging task, as further evidenced by the per-dimension analysis on the manipulator domain in Figure 8 in the Appendix. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
174,
|
| 861 |
+
868,
|
| 862 |
+
825,
|
| 863 |
+
924
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 8
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "image",
|
| 869 |
+
"img_path": "images/4989701958c232e7bd7a0ac51efe637aad8935114d605e32c3234a2672c05347.jpg",
|
| 870 |
+
"image_caption": [
|
| 871 |
+
"Figure 5: Average achieved frames over 30 trials from a random initialization on the rooms watermaze task. Goals are shown in the top row while the corresponding average achieved frames are in the bottom row. "
|
| 872 |
+
],
|
| 873 |
+
"image_footnote": [],
|
| 874 |
+
"bbox": [
|
| 875 |
+
176,
|
| 876 |
+
102,
|
| 877 |
+
821,
|
| 878 |
+
202
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 9
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "",
|
| 885 |
+
"bbox": [
|
| 886 |
+
176,
|
| 887 |
+
285,
|
| 888 |
+
825,
|
| 889 |
+
327
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 9
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "6.3 DEEPMIND LAB ",
|
| 896 |
+
"text_level": 1,
|
| 897 |
+
"bbox": [
|
| 898 |
+
176,
|
| 899 |
+
347,
|
| 900 |
+
328,
|
| 901 |
+
361
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 9
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "DeepMind Lab (Beattie et al., 2016) is a platform for 3D first person reinforcement learning environments. We trained DISCERN on the watermaze level and found that it learned to approximately achieve the same wall and horizon position as in the goal image. While the agent did not learn to achieve the position and viewpoint shown in a goal image as one may have expected, it is encouraging that our approach learns a reasonable space of goals on a first-person 3D domain in addition to domains with third-person viewpoints like Atari and the DM Control Suite. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
373,
|
| 911 |
+
825,
|
| 912 |
+
457
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 9
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "7 DISCUSSION ",
|
| 919 |
+
"text_level": 1,
|
| 920 |
+
"bbox": [
|
| 921 |
+
176,
|
| 922 |
+
479,
|
| 923 |
+
310,
|
| 924 |
+
496
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 9
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "We have presented a system that can learn to achieve goals, specified in the form of observations from the environment, in a purely unsupervised fashion, i.e. without any extrinsic rewards or expert demonstrations. Integral to this system is a powerful and principled discriminative reward learning objective, which we have demonstrated can recover the dominant underlying degrees of controllability in a variety of visual domains. ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
513,
|
| 934 |
+
825,
|
| 935 |
+
582
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 9
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "In this work, we have adopted a fixed episode length of $T$ in the interest of simplicity and computational efficiency. This implicitly assumes not only that all sampled goals are approximately achievable in $T$ steps, but that the policy need not be concerned with finishing in less than the allotted number of steps. Both of these limitations could be addressed by considering schemes for early termination based on the embedding, though care must be taken not to deleteriously impact training by terminating episodes too early based on a poorly trained reward embedding. Relatedly, our goal selection strategy is agnostic to both the state of the environment at the commencement of the goal episode and the current skill profile of the policy, utilizing at most the content of the goal itself to drive the evolution of the goal buffer $\\mathcal { G }$ . We view it as highly encouraging that learning proceeds using such a naive goal selection strategy, however more sophisticated strategies, such as tracking and sampling from the frontier of currently achievable goals (Held et al., 2017), may yield substantial improvements. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
590,
|
| 945 |
+
825,
|
| 946 |
+
756
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 9
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "DISCERN’s ability to automatically discover controllable aspects of the observation space is a highly desirable property in the pursuit of robust low-level control. A natural next step is the incorporation of DISCERN into a deep hierarchical reinforcement learning setup (Vezhnevets et al., 2017; Levy et al., 2018; Nachum et al., 2018) where a meta-policy for proposing goals is learned after or in tandem with a low-level controller, i.e. by optimizing an extrinsic reward signal. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
174,
|
| 955 |
+
763,
|
| 956 |
+
825,
|
| 957 |
+
833
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 9
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "REFERENCES ",
|
| 964 |
+
"text_level": 1,
|
| 965 |
+
"bbox": [
|
| 966 |
+
176,
|
| 967 |
+
857,
|
| 968 |
+
285,
|
| 969 |
+
872
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 9
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems 30, pp. 5048–5058. 2017. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
176,
|
| 978 |
+
882,
|
| 979 |
+
825,
|
| 980 |
+
924
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein gan. ´ arXiv preprint arXiv:1701.07875, 2017. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
169,
|
| 989 |
+
103,
|
| 990 |
+
825,
|
| 991 |
+
132
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 10
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Dzmitry Bahdanau, Felix Hill, Jan Leike, Edward Hughes, Pushmeet Kohli, and Edward Grefenstette. Learning to follow language instructions with adversarial reward induction. arXiv preprint arXiv:1806.01946, 2018. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
173,
|
| 1000 |
+
140,
|
| 1001 |
+
823,
|
| 1002 |
+
183
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "David Barber and Felix V. Agakov. Information maximization in noisy channels : A variational approach. In S. Thrun, L. K. Saul, and B. Scholkopf (eds.), ¨ Advances in Neural Information Processing Systems 16, pp. 201–208. MIT Press, 2004. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
176,
|
| 1011 |
+
191,
|
| 1012 |
+
823,
|
| 1013 |
+
234
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Charles Beattie, Joel Z Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, et al. Deepmind lab. ´ arXiv preprint arXiv:1612.03801, 2016. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
173,
|
| 1022 |
+
242,
|
| 1023 |
+
825,
|
| 1024 |
+
286
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 10
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47: 253–279, 2013. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
173,
|
| 1033 |
+
294,
|
| 1034 |
+
825,
|
| 1035 |
+
337
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 10
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Yoshua Bengio and Jean-Sebastien S ´ en´ ecal. Quick training of probabilistic neural nets by importance ´ sampling. In Proceedings of the conference on Artificial Intelligence and Statistics (AISTATS), 2003. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
176,
|
| 1044 |
+
344,
|
| 1045 |
+
825,
|
| 1046 |
+
387
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 10
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Silvia Chiappa, Sebastien Racani ´ ere, Daan Wierstra, and Shakir Mohamed. Recurrent environment \\` simulators. In International Conference on Learning Representations, 2018. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
173,
|
| 1055 |
+
396,
|
| 1056 |
+
821,
|
| 1057 |
+
426
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 10
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. arXiv preprint arXiv:1802.01561, 2018. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
176,
|
| 1066 |
+
433,
|
| 1067 |
+
823,
|
| 1068 |
+
477
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 10
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Benjamin Eysenbach, Abhishek Gupta, Julian Ibarz, and Sergey Levine. Diversity is all you need: Learning skills without a reward function. arXiv preprint arXiv:1802.06070, 2018. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
176,
|
| 1077 |
+
484,
|
| 1078 |
+
823,
|
| 1079 |
+
513
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 10
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Carlos Florensa, Yan Duan, and Pieter Abbeel. Stochastic neural networks for hierarchical reinforcement learning. In International Conference on Learning Representations, 2017. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
173,
|
| 1088 |
+
521,
|
| 1089 |
+
823,
|
| 1090 |
+
551
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 10
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Yaroslav Ganin, Tejas Kulkarni, Igor Babuschkin, SM Eslami, and Oriol Vinyals. Synthesizing programs for images using reinforced adversarial learning. arXiv preprint arXiv:1804.01118, 2018. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
173,
|
| 1099 |
+
559,
|
| 1100 |
+
823,
|
| 1101 |
+
589
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 10
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pp. 2672–2680, 2014. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
173,
|
| 1110 |
+
595,
|
| 1111 |
+
826,
|
| 1112 |
+
640
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 10
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Karol Gregor, Danilo Jimenez Rezende, and Daan Wierstra. Variational intrinsic control. 2016. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
169,
|
| 1121 |
+
647,
|
| 1122 |
+
799,
|
| 1123 |
+
662
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 10
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Shane Gu, Tim Lillicrap, Ilya Sutskever, and Sergei Levine. Continuous deep q-learning with model-based acceleration. In Proc. of ICML, 2016. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
173,
|
| 1132 |
+
671,
|
| 1133 |
+
825,
|
| 1134 |
+
700
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 10
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "David Ha and Jurgen Schmidhuber. World models. ¨ arXiv preprint arXiv:1803.10122, 2018. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
708,
|
| 1144 |
+
777,
|
| 1145 |
+
724
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 10
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "David Held, Xinyang Geng, Carlos Florensa, and Pieter Abbeel. Automatic goal generation for reinforcement learning agents. arXiv preprint arXiv:1705.06366, 2017. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
174,
|
| 1154 |
+
732,
|
| 1155 |
+
821,
|
| 1156 |
+
761
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Jonathan Ho and Stefano Ermon. Generative adversarial imitation learning. In Advances in Neural Information Processing Systems, pp. 4565–4573, 2016. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
174,
|
| 1165 |
+
768,
|
| 1166 |
+
823,
|
| 1167 |
+
799
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Dan Horgan, John Quan, David Budden, Gabriel Barth-Maron, Matteo Hessel, Hado van Hasselt, and David Silver. Distributed prioritized experience replay. In International Conference on Learning Representations, 2018. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
174,
|
| 1176 |
+
806,
|
| 1177 |
+
823,
|
| 1178 |
+
849
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Leslie Pack Kaelbling. Learning to achieve goals. In Proceedings of the 13th International Joint Conference on Artificial Intelligence, pp. 1094–1099, 1993. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
173,
|
| 1187 |
+
858,
|
| 1188 |
+
821,
|
| 1189 |
+
887
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 10
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Alex Kulesza, Ben Taskar, et al. Determinantal point processes for machine learning. Foundations and Trends $\\textsuperscript { \\textregistered }$ in Machine Learning, 5(2–3):123–286, 2012. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
173,
|
| 1198 |
+
895,
|
| 1199 |
+
821,
|
| 1200 |
+
924
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 10
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. pp. 282–289, 2001. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
171,
|
| 1209 |
+
103,
|
| 1210 |
+
823,
|
| 1211 |
+
133
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 11
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Brenden M Lake, Tomer D Ullman, Joshua B Tenenbaum, and Samuel J Gershman. Building machines that learn and think like people. Behavioral and Brain Sciences, 40, 2017. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
173,
|
| 1220 |
+
140,
|
| 1221 |
+
823,
|
| 1222 |
+
170
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 11
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Adrien Laversanne-Finot, Alexandre Pere, and Pierre-Yves Oudeyer. Curiosity driven exploration of learned disentangled goal spaces. In Conference on Robot Learning, pp. 487–504, 2018. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
171,
|
| 1231 |
+
176,
|
| 1232 |
+
823,
|
| 1233 |
+
207
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 11
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Andrew Levy, Robert Platt, and Kate Saenko. Hierarchical reinforcement learning with hindsight. arXiv preprint arXiv:1805.08180, 2018. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
171,
|
| 1242 |
+
214,
|
| 1243 |
+
825,
|
| 1244 |
+
243
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 11
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Long-Ji Lin. Reinforcement learning for robots using neural networks. Technical report, DTIC Document, 1993. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
169,
|
| 1253 |
+
251,
|
| 1254 |
+
825,
|
| 1255 |
+
281
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 11
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Marlos C Machado and Michael Bowling. Learning purposeful behaviour in the absence of rewards. arXiv preprint arXiv:1605.07700, 2016. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
168,
|
| 1264 |
+
287,
|
| 1265 |
+
826,
|
| 1266 |
+
318
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 11
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Marlos C Machado, Marc G Bellemare, and Michael Bowling. A laplacian framework for option discovery in reinforcement learning. In International Conference on Machine Learning, pp. 2295–2304, 2017. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
171,
|
| 1275 |
+
325,
|
| 1276 |
+
825,
|
| 1277 |
+
368
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 11
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
176,
|
| 1286 |
+
376,
|
| 1287 |
+
823,
|
| 1288 |
+
420
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 11
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Hossein Mobahi, Ronan Collobert, and Jason Weston. Deep learning from temporal coherence in video. In Proceedings of the 26th Annual International Conference on Machine Learning, pp. 737–744. ACM, 2009. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
174,
|
| 1297 |
+
426,
|
| 1298 |
+
825,
|
| 1299 |
+
469
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 11
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Ofir Nachum, Shane Gu, Honglak Lee, and Sergey Levine. Data-efficient hierarchical reinforcement learning. arXiv preprint arXiv:1805.08296, 2018. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
171,
|
| 1308 |
+
478,
|
| 1309 |
+
825,
|
| 1310 |
+
507
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 11
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Ashvin Nair, Vitchyr Pong, Murtaza Dalal, Shikhar Bahl, Steven Lin, and Sergey Levine. Visual reinforcement learning with imagined goals. arXiv preprint arXiv:1807.04742, 2018. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
169,
|
| 1319 |
+
515,
|
| 1320 |
+
823,
|
| 1321 |
+
545
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 11
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Vinod Nair and Geoffrey E Hinton. Inferring motor programs from images of handwritten digits. In Y. Weiss, B. Scholkopf, and J. C. Platt (eds.), ¨ Advances in Neural Information Processing Systems 18, pp. 515–522. MIT Press, 2006. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
176,
|
| 1330 |
+
553,
|
| 1331 |
+
825,
|
| 1332 |
+
595
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 11
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems 28, pp. 2863–2871. 2015. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
173,
|
| 1341 |
+
603,
|
| 1342 |
+
823,
|
| 1343 |
+
646
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 11
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"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. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
173,
|
| 1352 |
+
654,
|
| 1353 |
+
823,
|
| 1354 |
+
696
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 11
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Alexandre Per´ e, S ´ ebastien Forestier, Olivier Sigaud, and Pierre-Yves Oudeyer. Unsupervised learning ´ of goal spaces for intrinsically motivated goal exploration. arXiv preprint arXiv:1803.00781, 2018. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
171,
|
| 1363 |
+
704,
|
| 1364 |
+
825,
|
| 1365 |
+
734
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 11
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Martin Riedmiller, Roland Hafner, Thomas Lampe, Michael Neunert, Jonas Degrave, Tom Van de Wiele, Volodymyr Mnih, Nicolas Heess, and Jost Tobias Springenberg. Learning by playingsolving sparse reward tasks from scratch. In International Conference on Learning Representations, 2018. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
173,
|
| 1374 |
+
742,
|
| 1375 |
+
826,
|
| 1376 |
+
797
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 11
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal value function approximators. In International Conference on Machine Learning, pp. 1312–1320, 2015. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
173,
|
| 1385 |
+
806,
|
| 1386 |
+
823,
|
| 1387 |
+
837
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 11
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Pierre Sermanet, Corey Lynch, Yevgen Chebotar, Eric Jang, Stefan Schaal, Jasmine Hsu, and Sergey Levine. Time-contrastive networks: Self-supervised learning from video. arXiv preprint arXiv:1704.06888, 2017. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
173,
|
| 1396 |
+
844,
|
| 1397 |
+
823,
|
| 1398 |
+
887
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 11
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Aravind Srinivas, Allan Jabri, Pieter Abbeel, Sergey Levine, and Chelsea Finn. Universal planning networks. 2018. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
173,
|
| 1407 |
+
895,
|
| 1408 |
+
821,
|
| 1409 |
+
924
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 11
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, Cambridge, MA, USA, 1st edition, 1998. ISBN 0262193981. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
171,
|
| 1418 |
+
103,
|
| 1419 |
+
825,
|
| 1420 |
+
132
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 12
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Richard S Sutton, Joseph Modayil, Michael Delp, Thomas Degris, Patrick M Pilarski, Adam White, and Doina Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In The 10th International Conference on Autonomous Agents and Multiagent Systems-Volume 2, pp. 761–768. International Foundation for Autonomous Agents and Multiagent Systems, 2011. ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
174,
|
| 1429 |
+
140,
|
| 1430 |
+
826,
|
| 1431 |
+
212
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 12
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018. ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
174,
|
| 1440 |
+
219,
|
| 1441 |
+
826,
|
| 1442 |
+
262
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 12
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "T Tieleman and G Hinton. Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 2012. ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
173,
|
| 1451 |
+
271,
|
| 1452 |
+
821,
|
| 1453 |
+
301
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 12
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "text",
|
| 1459 |
+
"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. ",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
174,
|
| 1462 |
+
309,
|
| 1463 |
+
826,
|
| 1464 |
+
352
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 12
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "text",
|
| 1470 |
+
"text": "Vivek Veeriah, Junhyuk Oh, and Satinder Singh. Many-goals reinforcement learning. arXiv preprint arXiv:1806.09605, 2018. ",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
173,
|
| 1473 |
+
361,
|
| 1474 |
+
823,
|
| 1475 |
+
390
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 12
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Alexander Sasha Vezhnevets, Simon Osindero, Tom Schaul, Nicolas Heess, Max Jaderberg, David Silver, and Koray Kavukcuoglu. Feudal networks for hierarchical reinforcement learning. In International Conference on Machine Learning, pp. 3540–3549, 2017. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
174,
|
| 1484 |
+
398,
|
| 1485 |
+
826,
|
| 1486 |
+
441
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 12
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "Oriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
173,
|
| 1495 |
+
450,
|
| 1496 |
+
825,
|
| 1497 |
+
479
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 12
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Ziyu Wang, Tom Schaul, Matteo Hessel, Hado van Hasselt, Marc Lanctot, and Nando de Freitas. Dueling network architectures for deep reinforcement learning. In Proceedings of The 33rd International Conference on Machine Learning, pp. 1995–2003, 2016. ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
176,
|
| 1506 |
+
488,
|
| 1507 |
+
825,
|
| 1508 |
+
531
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 12
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "APPENDIX ",
|
| 1515 |
+
"text_level": 1,
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
176,
|
| 1518 |
+
103,
|
| 1519 |
+
263,
|
| 1520 |
+
117
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 13
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"text": "A1 DISTRIBUTED TRAINING ",
|
| 1527 |
+
"text_level": 1,
|
| 1528 |
+
"bbox": [
|
| 1529 |
+
176,
|
| 1530 |
+
132,
|
| 1531 |
+
385,
|
| 1532 |
+
146
|
| 1533 |
+
],
|
| 1534 |
+
"page_idx": 13
|
| 1535 |
+
},
|
| 1536 |
+
{
|
| 1537 |
+
"type": "text",
|
| 1538 |
+
"text": "We employ a distributed reinforcement learning architecture inspired by the IMPALA reinforcement learning architecture (Espeholt et al., 2018), with a centralized GPU learner batching parameter updates on experience collected by a large number of CPU-based parallel actors. While Espeholt et al. (2018) learns a stochastic policy through the use of an actor-critic architecture, we instead learn a goal-conditioned state-action value function with Q-learning. Each actor acts $\\epsilon$ -greedily with respect to a local copy of the $Q$ network, and sends observations $s _ { t }$ , actions $a _ { t }$ , rewards $r _ { t }$ and discounts $\\gamma _ { t }$ for a trajectory to the learner. Following Horgan et al. (2018), we use a different value of $\\epsilon$ for each actor, as this has been shown to improve exploration. The learner batches re-evaluation of the convolutional network and LSTM according to the action trajectories supplied and performs parameter updates, periodically broadcasting updated model parameters to the actors. As Q-learning is an off-policy algorithm, the experience traces sent to the learner can be used in the usual $n$ -step Q-learning update without the need for an off-policy correction as in Espeholt et al. (2018). We also maintain actor-local replay buffers of previous actor trajectories and use them to perform both standard experience replay (Lin, 1993) and our variant of hindsight experience replay (Andrychowicz et al., 2017). ",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
173,
|
| 1541 |
+
159,
|
| 1542 |
+
825,
|
| 1543 |
+
366
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 13
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "A2 ARCHITECTURE DETAILS ",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
176,
|
| 1553 |
+
382,
|
| 1554 |
+
390,
|
| 1555 |
+
397
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 13
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "Our network architectures closely resemble those in Espeholt et al. (2018), with policy and value heads replaced with a $Q$ -function. We apply the same convolutional network to both $s _ { t }$ and $s _ { g }$ and concatenate the final layer outputs. Note that the convolutional network outputs for $s _ { g }$ need only be computed once per episode. We include a periodic representation $( \\sin ( 2 \\pi t / T ) , \\cos ( 2 \\pi t / T ) )$ of the current time step, with period equal to the goal length achievement period $T$ , as an extra input to the network. The periodic representation is processed by a single hidden layer of rectified linear units and is concatenated with the visual representations fed to the LSTM. While not strictly necessary, we find that this allows the agent to become better at achieving goal states which may be unmaintainable due to their instability in the environment dynamics. ",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
174,
|
| 1564 |
+
409,
|
| 1565 |
+
825,
|
| 1566 |
+
534
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 13
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "The output of the LSTM is the input to a dueling action-value output network (Wang et al., 2016). In all of our experiments, both branches of the dueling network are linear mappings. That is, given LSTM outputs $\\psi _ { t }$ , we compute the action values for the current time step $t$ as ",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
176,
|
| 1575 |
+
540,
|
| 1576 |
+
823,
|
| 1577 |
+
583
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 13
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "equation",
|
| 1583 |
+
"img_path": "images/72d050cad22f22b360269c810da2599ab1c92207391396b327211e1f883ff6de.jpg",
|
| 1584 |
+
"text": "$$\nQ ( a _ { t } | \\psi _ { t } ) = { \\psi _ { t } } ^ { \\mathsf { T } } \\mathbf { v } + \\left( \\psi _ { t } ^ { \\mathsf { T } } \\mathbf { w } _ { a _ { t } } - { \\frac { 1 } { n } } \\sum _ { a _ { t } ^ { \\prime } } { \\psi _ { t } } ^ { \\mathsf { T } } \\mathbf { w } _ { a _ { t } ^ { \\prime } } \\right) + b\n$$",
|
| 1585 |
+
"text_format": "latex",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
316,
|
| 1588 |
+
583,
|
| 1589 |
+
681,
|
| 1590 |
+
633
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 13
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "A3 GOAL BUFFER",
|
| 1597 |
+
"text_level": 1,
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
174,
|
| 1600 |
+
646,
|
| 1601 |
+
313,
|
| 1602 |
+
661
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 13
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "text",
|
| 1608 |
+
"text": "We experimented with two strategies for updating the goal buffer. In the first strategy, which we call uniform, the current observation replaces a uniformly selected entry in the goal buffer with probability $p _ { \\mathrm { r e p l a c e } }$ . The second strategy, which we refer to as diverse goal sampling attempts to maintain a goal buffer that more closely approximates the uniform distribution over all observation. In the diverse goal strategy, we consider the current observation for addition to the goal buffer with probability $p _ { \\mathrm { r e p l a c e } }$ at each step during acting. If the current observation $s$ is considered for addition to the goal buffer, then we select a random removal candidate $s _ { r }$ by sampling uniformly from the goal buffer and replace it with $s$ if $s _ { r }$ is closer to the rest of the goal buffer than $s$ . If $s$ is closer to the rest of the goal buffer than $s _ { r }$ then we still replace $s _ { r }$ with $s$ with probability padd−non−diverse. We used $L _ { 2 }$ distance in pixel space for the diverse sampling strategy and found it to greatly increase the coverage of states in the goal buffer, especially early during training. This bears some relationship to Determinantal Point Processes (Kulesza et al., 2012), and goal-selection strategies with a more explicit theoretical foundation are a promising future direction. ",
|
| 1609 |
+
"bbox": [
|
| 1610 |
+
174,
|
| 1611 |
+
672,
|
| 1612 |
+
825,
|
| 1613 |
+
853
|
| 1614 |
+
],
|
| 1615 |
+
"page_idx": 13
|
| 1616 |
+
},
|
| 1617 |
+
{
|
| 1618 |
+
"type": "text",
|
| 1619 |
+
"text": "A4 EXPERIMENTAL DETAILS ",
|
| 1620 |
+
"text_level": 1,
|
| 1621 |
+
"bbox": [
|
| 1622 |
+
176,
|
| 1623 |
+
869,
|
| 1624 |
+
388,
|
| 1625 |
+
883
|
| 1626 |
+
],
|
| 1627 |
+
"page_idx": 13
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "text",
|
| 1631 |
+
"text": "The following hyper-parameters were used in all of the experiments described in Section 6. All weight matrices are initialized using a standard truncated normal initializer, with the standard deviation inversely proportional to the square root of the fan-in. We maintain a goal buffer of size 1024 and use $p _ { \\mathrm { r e p l a c e } } \\overset { \\cdot } { = } 1 0 ^ { - 3 }$ . We also use $p _ { \\mathrm { a d d - n o n - d i v e r s e } } = 1 0 ^ { - 3 }$ . For the teacher, we choose $\\xi _ { \\phi } ( \\cdot )$ to be an $\\bar { \\mathcal { L } } _ { 2 }$ -normalized single layer of 32 tanh units, trained in all experiments with 4 decoys (and thus, according to our heuristic, $\\beta$ equal to 5). For hindsight experience replay, a highsight goal is substituted $2 5 \\%$ of the time. These goals are chosen uniformly at random from the last 3 frames of the trajectory. Trajectories were set to be 50 steps long for Atari and DeepMind Lab and 100 for the DeepMind control suite. It is important to note that the environment was not reset after each trajectory, but rather the each new trajectory begins where the previous one ended. We train the agent and teacher jointly with RMSProp (Tieleman & Hinton, 2012) with a learning rate of $1 0 ^ { - 4 }$ . We follow the preprocessing protocol of Mnih et al. (2015), resizing to $8 4 \\times 8 4$ pixels and scaling 8-bit pixel values to lie in the range [0, 1]. While originally designed for Atari, we apply this preprocessing pipeline across all environments used in this paper. ",
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
176,
|
| 1634 |
+
895,
|
| 1635 |
+
823,
|
| 1636 |
+
924
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 13
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "text",
|
| 1642 |
+
"text": "",
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
174,
|
| 1645 |
+
103,
|
| 1646 |
+
825,
|
| 1647 |
+
270
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 14
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"type": "text",
|
| 1653 |
+
"text": "A4.1 CONTROL SUITE ",
|
| 1654 |
+
"text_level": 1,
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
176,
|
| 1657 |
+
290,
|
| 1658 |
+
343,
|
| 1659 |
+
304
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 14
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "text",
|
| 1665 |
+
"text": "In the point mass domain we use a control step equal to 5 times the task-specified default, i.e. the agent acts on every fifth environment step (Mnih et al., 2015). In all other Control Suite domains, we use the default. We use the “easy” version of the task where actuator semantics are fixed across environment episodes. ",
|
| 1666 |
+
"bbox": [
|
| 1667 |
+
174,
|
| 1668 |
+
315,
|
| 1669 |
+
825,
|
| 1670 |
+
371
|
| 1671 |
+
],
|
| 1672 |
+
"page_idx": 14
|
| 1673 |
+
},
|
| 1674 |
+
{
|
| 1675 |
+
"type": "text",
|
| 1676 |
+
"text": "Discrete action spaces admit function approximators which simultaneously compute the action values for all possible actions, as popularized in Mnih et al. (2015). The action with maximal $Q$ -value can thus be identified in time proportional to the cardinality of the action space. An enumeration of possible actions is no longer possible in the continuous setting. While approaches exist to enable continuous maximization in closed form (Gu et al., 2016), they come at the cost of greatly restricting the functional form of $Q$ . ",
|
| 1677 |
+
"bbox": [
|
| 1678 |
+
174,
|
| 1679 |
+
378,
|
| 1680 |
+
825,
|
| 1681 |
+
463
|
| 1682 |
+
],
|
| 1683 |
+
"page_idx": 14
|
| 1684 |
+
},
|
| 1685 |
+
{
|
| 1686 |
+
"type": "text",
|
| 1687 |
+
"text": "For ease of implementation, as well as comparison to other considered environments, we instead discretize the space of continuous actions. For all Control Suite environments considered except manipulator, we discretize an $A$ -dimensional continuous action space into $3 ^ { A }$ discrete actions, consisting of the Cartesian product over action dimensions with values in $\\{ - 1 , 0 , 1 \\}$ . In the case of manipulator, we adopt a “diagonal” discretization where each action consists of setting one actuator to $\\pm 1$ , and all other actuators to 0, with an additional action consisting of every actuator being set to 0. This is a reasonable choice for manipulator because any position can be achieved by a concatenation of actuator actions, which may not be true of more complex Control Suite environments such as humanoid, where the agent’s body is subject to gravity and successful trajectories may require multi-joint actuation in a single control time step. The subset of the Control Suite considered in this work was chosen primarily such that the discretized action space would be of a reasonable size. We leave extensions to continuous domains to future work. ",
|
| 1688 |
+
"bbox": [
|
| 1689 |
+
174,
|
| 1690 |
+
469,
|
| 1691 |
+
825,
|
| 1692 |
+
635
|
| 1693 |
+
],
|
| 1694 |
+
"page_idx": 14
|
| 1695 |
+
},
|
| 1696 |
+
{
|
| 1697 |
+
"type": "text",
|
| 1698 |
+
"text": "A5 ADDITIONAL EXPERIMENTAL RESULTS ",
|
| 1699 |
+
"text_level": 1,
|
| 1700 |
+
"bbox": [
|
| 1701 |
+
178,
|
| 1702 |
+
657,
|
| 1703 |
+
485,
|
| 1704 |
+
671
|
| 1705 |
+
],
|
| 1706 |
+
"page_idx": 14
|
| 1707 |
+
},
|
| 1708 |
+
{
|
| 1709 |
+
"type": "text",
|
| 1710 |
+
"text": "A5.1 ATARI ",
|
| 1711 |
+
"text_level": 1,
|
| 1712 |
+
"bbox": [
|
| 1713 |
+
176,
|
| 1714 |
+
684,
|
| 1715 |
+
271,
|
| 1716 |
+
699
|
| 1717 |
+
],
|
| 1718 |
+
"page_idx": 14
|
| 1719 |
+
},
|
| 1720 |
+
{
|
| 1721 |
+
"type": "text",
|
| 1722 |
+
"text": "We ran two additional baselines on Seaquest and Montezuma’s Revenge, ablating our use of hindsight experience replay in opposite ways. One involved training the goal-conditioned policy only in hindsight, without any learned goal achievement reward, i.e. $p _ { \\mathrm { H E R } } = 1$ . This approach achieved $1 2 \\%$ of goals on Seaquest and $1 \\bar { 1 } . 4 \\%$ of goals on Montezuma’s Revenge, making it comparable to a uniform random policy. This result underscores the importance of learning a goal achievement reward. The second baseline consisted of DISCERN learning a goal achievement reward without hindsight experience replay, i.e. $p _ { \\mathrm { H E R } } = 0$ . This also performed poorly, achieving $1 1 . 4 \\%$ of goals on Seaquest and $8 \\%$ of goals on Montezuma’s Revenge. Taken together, these preliminary results suggest that the combination of hindsight experience replay and a learned goal achievement reward is important. ",
|
| 1723 |
+
"bbox": [
|
| 1724 |
+
174,
|
| 1725 |
+
710,
|
| 1726 |
+
825,
|
| 1727 |
+
849
|
| 1728 |
+
],
|
| 1729 |
+
"page_idx": 14
|
| 1730 |
+
},
|
| 1731 |
+
{
|
| 1732 |
+
"type": "text",
|
| 1733 |
+
"text": "A5.2 CONTROL SUITE ",
|
| 1734 |
+
"text_level": 1,
|
| 1735 |
+
"bbox": [
|
| 1736 |
+
176,
|
| 1737 |
+
869,
|
| 1738 |
+
343,
|
| 1739 |
+
883
|
| 1740 |
+
],
|
| 1741 |
+
"page_idx": 14
|
| 1742 |
+
},
|
| 1743 |
+
{
|
| 1744 |
+
"type": "text",
|
| 1745 |
+
"text": "For the sake of completeness, Figure 6 reports goal achievement curves on Control Suite domains using the “diverse” goal selection scheme. ",
|
| 1746 |
+
"bbox": [
|
| 1747 |
+
176,
|
| 1748 |
+
895,
|
| 1749 |
+
821,
|
| 1750 |
+
922
|
| 1751 |
+
],
|
| 1752 |
+
"page_idx": 14
|
| 1753 |
+
},
|
| 1754 |
+
{
|
| 1755 |
+
"type": "image",
|
| 1756 |
+
"img_path": "images/a7ca0c9ad1c291d0cbfaddf7270977c0c4deeebe096c75c589562b2587954197.jpg",
|
| 1757 |
+
"image_caption": [
|
| 1758 |
+
"Figure 6: Results for Control Suite tasks using the “diverse” goal substitution scheme. "
|
| 1759 |
+
],
|
| 1760 |
+
"image_footnote": [],
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
174,
|
| 1763 |
+
103,
|
| 1764 |
+
810,
|
| 1765 |
+
323
|
| 1766 |
+
],
|
| 1767 |
+
"page_idx": 15
|
| 1768 |
+
},
|
| 1769 |
+
{
|
| 1770 |
+
"type": "image",
|
| 1771 |
+
"img_path": "images/4242284d4a82a40cfc6cafcd2d5920b721064c931f25cfaf54bc1a0196440044.jpg",
|
| 1772 |
+
"image_caption": [
|
| 1773 |
+
"Figure 7: Average goal achievement on cartpole. Top row shows the goals. Middle row shows achievement by the Autoencoder baseline. Bottom row shows average goal achievement by DISCERN. Shading of columns is for emphasis. DISCERN always matches the cart position. The autoencoder baseline matches both cart and pole position when the pole is pointing down, but fails to match either when the pole is pointing up. "
|
| 1774 |
+
],
|
| 1775 |
+
"image_footnote": [],
|
| 1776 |
+
"bbox": [
|
| 1777 |
+
174,
|
| 1778 |
+
362,
|
| 1779 |
+
766,
|
| 1780 |
+
558
|
| 1781 |
+
],
|
| 1782 |
+
"page_idx": 15
|
| 1783 |
+
},
|
| 1784 |
+
{
|
| 1785 |
+
"type": "text",
|
| 1786 |
+
"text": "Figure 7 displays goal achievements for DISCERN and the Autoencoder baseline, highlighting DISCERN’s preference for communicating with the cart position, and robustness to the pole positions unseen during training. ",
|
| 1787 |
+
"bbox": [
|
| 1788 |
+
174,
|
| 1789 |
+
665,
|
| 1790 |
+
821,
|
| 1791 |
+
708
|
| 1792 |
+
],
|
| 1793 |
+
"page_idx": 15
|
| 1794 |
+
},
|
| 1795 |
+
{
|
| 1796 |
+
"type": "image",
|
| 1797 |
+
"img_path": "images/b29cc81a794b8f87d7a0a882d3bf3bc279517f9a447430ce3aaed586759b12c3.jpg",
|
| 1798 |
+
"image_caption": [
|
| 1799 |
+
"Figure 8: Per-dimension quantitative evaluation on the manipulator domain. See Figure 4 for a description of the visualization. DISCERN learns to reliably control more dimensions of the underlying state than any of the baselines. "
|
| 1800 |
+
],
|
| 1801 |
+
"image_footnote": [],
|
| 1802 |
+
"bbox": [
|
| 1803 |
+
187,
|
| 1804 |
+
411,
|
| 1805 |
+
740,
|
| 1806 |
+
599
|
| 1807 |
+
],
|
| 1808 |
+
"page_idx": 16
|
| 1809 |
+
}
|
| 1810 |
+
]
|
parse/train/r1eVMnA9K7/r1eVMnA9K7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1eVMnA9K7/r1eVMnA9K7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/tL89RnzIiCd/tL89RnzIiCd.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/tL89RnzIiCd/tL89RnzIiCd_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/tL89RnzIiCd/tL89RnzIiCd_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|