Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM.md +384 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_content_list.json +1651 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_middle.json +0 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_model.json +0 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA.md +266 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_content_list.json +1222 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_middle.json +0 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_model.json +0 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz.md +438 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_content_list.json +1160 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_middle.json +0 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_model.json +0 -0
- parse/train/BJlxmAKlg/BJlxmAKlg.md +236 -0
- parse/train/BJlxmAKlg/BJlxmAKlg_content_list.json +1290 -0
- parse/train/BkfbpsAcF7/BkfbpsAcF7.md +426 -0
- parse/train/BkfbpsAcF7/BkfbpsAcF7_middle.json +0 -0
- parse/train/DAaaaqPv9-q/DAaaaqPv9-q.md +484 -0
- parse/train/DAaaaqPv9-q/DAaaaqPv9-q_content_list.json +0 -0
- parse/train/DAaaaqPv9-q/DAaaaqPv9-q_middle.json +0 -0
- parse/train/DAaaaqPv9-q/DAaaaqPv9-q_model.json +0 -0
- parse/train/HJgExaVtwr/HJgExaVtwr.md +313 -0
- parse/train/HJgExaVtwr/HJgExaVtwr_content_list.json +1634 -0
- parse/train/HJgExaVtwr/HJgExaVtwr_middle.json +0 -0
- parse/train/HJgExaVtwr/HJgExaVtwr_model.json +0 -0
- parse/train/Hkekl0NFPr/Hkekl0NFPr_middle.json +0 -0
- parse/train/Hkekl0NFPr/Hkekl0NFPr_model.json +0 -0
- parse/train/HygrAR4tPS/HygrAR4tPS.md +617 -0
- parse/train/HygrAR4tPS/HygrAR4tPS_content_list.json +0 -0
- parse/train/HygrAR4tPS/HygrAR4tPS_middle.json +0 -0
- parse/train/HygrAR4tPS/HygrAR4tPS_model.json +0 -0
- parse/train/S1erHoR5t7/S1erHoR5t7_middle.json +0 -0
- parse/train/S1erHoR5t7/S1erHoR5t7_model.json +0 -0
- parse/train/SylVJTNKDr/SylVJTNKDr.md +368 -0
- parse/train/SylVJTNKDr/SylVJTNKDr_content_list.json +2026 -0
- parse/train/SylVJTNKDr/SylVJTNKDr_middle.json +0 -0
- parse/train/SylVJTNKDr/SylVJTNKDr_model.json +0 -0
- parse/train/TMUR2ovJfjE/TMUR2ovJfjE.md +0 -0
- parse/train/TMUR2ovJfjE/TMUR2ovJfjE_content_list.json +0 -0
- parse/train/TMUR2ovJfjE/TMUR2ovJfjE_middle.json +0 -0
- parse/train/TMUR2ovJfjE/TMUR2ovJfjE_model.json +0 -0
- parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb.md +185 -0
- parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_content_list.json +859 -0
- parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_middle.json +0 -0
- parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_model.json +0 -0
- parse/train/rJgsskrFwH/rJgsskrFwH.md +353 -0
- parse/train/rJgsskrFwH/rJgsskrFwH_content_list.json +1823 -0
- parse/train/rJgsskrFwH/rJgsskrFwH_middle.json +0 -0
- parse/train/rJgsskrFwH/rJgsskrFwH_model.json +0 -0
- parse/train/rkgHY0NYwr/rkgHY0NYwr.md +260 -0
- parse/train/rkgHY0NYwr/rkgHY0NYwr_content_list.json +1449 -0
parse/train/6MaBrlQ5JM/6MaBrlQ5JM.md
ADDED
|
@@ -0,0 +1,384 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THE EFFICACY OF $L _ { 1 }$ REGULARIZATION IN NEURAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
A crucial problem in neural networks is to select the most appropriate number of hidden neurons and obtain tight statistical risk bounds. In this work, we present a new perspective towards the bias-variance tradeoff in neural networks. As an alternative to selecting the number of neurons, we theoretically show that $L _ { 1 }$ regularization can control the generalization error and sparsify the input dimension. In particular, with an appropriate $L _ { 1 }$ regularization on the output layer, the network can produce a statistical risk that is near minimax optimal. Moreover, an appropriate $L _ { 1 }$ regularization on the input layer leads to a risk bound that does not involve the input data dimension. Our analysis is based on a new amalgamation of dimension-based and norm-based complexity analysis to bound the generalization error. A consequent observation from our results is that an excessively large number of neurons do not necessarily inflate generalization errors under a suitable regularization.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Neural networks have been successfully applied in modeling nonlinear regression functions in various domains of applications. A critical evaluation metric for a predictive learning model is to measure its statistical risk bound. For example, the $L _ { 1 }$ or $L _ { 2 }$ risks of typical parametric models such as linear regressions are at the order of $( d / n ) ^ { 1 / 2 }$ for small $d$ (Seber & Lee, 2012), where $d$ and $n$ denote respectively the input dimension and number of observations. Obtaining the risk bound for a nonparametric regression model such as neural networks is highly nontrivial. It involves an approximation error (or bias) term as well as a generalization error (or variance) term. The standard analysis of generalization error bounds may not be sufficient to describe the overall predictive performance of a model class unless the data is assumed to be generated from it. For the model class of two-layer feedforward networks and a rather general data-generating process, Barron (1993; 1994) proved an approximation error bound of $O ( r ^ { - 1 / 2 } )$ where $r$ denotes the number of neurons. The author further developed a statistical risk error bound of $O ( ( d / n ) ^ { 1 / 4 } )$ , which is the tightest statistical risk bound for the class of two-layer neural networks up to the authors’ knowledge (for $d < n$ ). This risk bound is based on an optimal bias-variance tradeoff involving an deliberate choice of $r$ . Note that the risk is at a convergence rate much slower than the classical parametric rate. We will tackle the same problem from a different perspective, and obtain a much tighter risk bound.
|
| 12 |
+
|
| 13 |
+
A practical challenge closely related to statistical risks is to select the most appropriate neural network architecture for a particular data domain (Ding et al., 2018). For two-layer neural networks, this is equivalent to selecting the number of hidden neurons $r$ . While a small $r$ tends to underfit, researchers have observed that the network is not overfitting even for moderately large $r$ . Nevertheless, recent research has also shown that an overly large $r$ (e.g., when $r > n$ ) does cause overfitting with high probability (Zhang et al., 2016). It can be shown under some non-degeneracy conditions that a two-layer neural network with more than $n$ hidden neurons can perfectly fit $n$ arbitrary data, even in the presence of noise, which inevitably leads to overfitting. A theoretical choice of $r$ suggested by the asymptotic analysis in (Barron, 1994) is at the order of $( n / d ) ^ { 1 / 2 }$ , and a practical choice of $r$ is often from cross-validation with an appropriate splitting ratio (Ding et al., 2018). An alternative perspective that we advocate is to learn from a single neural network with sufficiently many neurons and an appropriate $L _ { 1 }$ regularization on the neuron coefficients, instead of performing a selection from multiple candidate neural models. A potential benefit of this approach is easier hardware implementation and computation since we do not need to implement multiple models separately. Perhaps more importantly, this perspective of training enables much tighter risk bounds, as we will demonstrate. In this work, we focus on the model class of two-layer feedforward neural networks.
|
| 14 |
+
|
| 15 |
+
Our main contributions are summarized below. First, we prove that $L _ { 1 }$ regularization on the coefficients of the output layer can produce a risk bound $O ( ( d / n ) ^ { 1 / 2 } )$ (up to a logarithmic factor) under the $L _ { 1 }$ training loss, which approaches the minimax optimal rate. Such a rate has not been established under the $L _ { 2 }$ training loss so far. The result indicates a potential benefit of using $L _ { 1 }$ regularization for training a neural network, instead of selecting from a number of neurons. Additionally, a key ingredient of our result is a unique amalgamation of dimension-based and norm-based risk analysis, which may be interesting on its own right. The technique leads to an interesting observation that an excessively large $r$ can reduce approximation error while not increasing generalization error under $L _ { 1 }$ regularizations. This implies that an explicit regularization can eliminate overfitting even when the specified number of neurons is enormous. Moreover, we prove that the $L _ { 1 }$ regularization on the input layer can induce sparsity by producing a risk bound that does not involve $d$ , where $d$ may be much larger compared with the true number of significant variables.
|
| 16 |
+
|
| 17 |
+
Related work on neural network analysis. Despite the practical success of neural networks, a systematic understanding of their theoretical limit remains an ongoing challenge and has motivated research from various perspectives. Cybenko (1989) showed that any continuous function could be approximated arbitrarily well by a two-layer perceptron with sigmoid activation functions. Barron (1993; 1994) established an approximation error bound of using two-layer neural networks to fit arbitrary smooth functions and their statistical risk bounds. A dimension-free Rademacher complexity for deep ReLU neural networks was recently developed (Golowich et al., 2017; Barron & Klusowski, 2019). Based on a contraction lemma, a series of norm-based complexities and their corresponding generalization errors are developed (Neyshabur et al., 2015, and the references therein). Another perspective is to assume that the data are generated by a neural network and convert its parameter estimation into a tensor decomposition problem through the score function of the known or estimated input distribution (Anandkumar et al., 2014; Janzamin et al., 2015; Ge et al., 2017; Mondelli & Montanari, 2018). Also, tight error bounds have been established recently by assuming that neural networks of parsimonious structures generate the data. In this direction, Schmidt-Hieber (2017) proved that specific deep neural networks with few non-zero network parameters can achieve minimax rates of convergence. Bauer & Kohler (2019) developed an error bound that is free from the input dimension, by assuming a generalized hierarchical interaction model.
|
| 18 |
+
|
| 19 |
+
Related work on $L _ { 1 }$ regularization. The use of $L _ { 1 }$ regularization has been widely studied in linear regression problems (Hastie et al., 2009, Chapter 3). The use of $L _ { 1 }$ regularization for training neural networks has been recently advocated in deep learning practice. A prominent use of $L _ { 1 }$ regularization was to empirically sparsify weight coefficients and thus compress a network that requires intensive memory usage (Cheng et al., 2017). The extension of $L _ { 1 }$ regularization to group$L _ { 1 }$ regularization (Yuan & Lin, 2006) has also been extensively used in learning various neural networks (Han et al., 2015; Zhao et al., 2015; Wen et al., 2016; Scardapane et al., 2017). Despite the above practice, the efficacy of $L _ { 1 }$ regularization in neural networks deserves more theoretical study. In the context of two-layer neural networks, we will show that the $L _ { 1 }$ regularizations in the output and input layers play two different roles: the former for reducing generalization error caused by excessive neurons while the latter for sparsifying input signals in the presence of substantial redundancy. Unlike previous theoretical work, we consider the $L _ { 1 }$ loss, which ranks among the most popular loss functions in, e.g., learning from ordinal data (Pedregosa et al., 2017) or imaging data (Zhao et al., 2016), and for which the statistical risk has not been studied previously. In practice, the use of $L _ { 1 }$ loss for training has been implemented in prevalent computational frameworks such as Tensorflow (Google, 2016), Pytorch (Ketkar, 2017), and Keras (Gulli & Pal, 2017).
|
| 20 |
+
|
| 21 |
+
# 2 PROBLEM FORMULATION
|
| 22 |
+
|
| 23 |
+
# 2.1 MODEL ASSUMPTION AND EVALUATION
|
| 24 |
+
|
| 25 |
+
Suppose we have $n$ labeled observations $\{ ( x _ { i } , y _ { i } ) \} _ { i = 1 , \dots , n }$ , where $y _ { i }$ ’s are continuously-valued responses or labels. We assume that the underlying data generating model is $y _ { i } = f _ { * } ( \bar { x } _ { i } ) + \varepsilon _ { i }$ for some unknown function $f _ { * } ( \cdot )$ , where $x _ { i }$ ’ $\mathbf { \Phi } _ { \mathbf { \bar { \nu } } } \in \dot { \mathbb { X } } \subset \mathbb { R } ^ { d }$ are independent and identically distributed,
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: A graph showing the two-layer neural network model considered in (2).
|
| 29 |
+
|
| 30 |
+
and $\varepsilon _ { i }$ ’s are independent and identically distributed that is symmetric at zero and
|
| 31 |
+
|
| 32 |
+
$$
|
| 33 |
+
\mathbb { E } \left( \varepsilon _ { i } ^ { 2 } \mid x _ { i } \right) \leq \tau ^ { 2 } .
|
| 34 |
+
$$
|
| 35 |
+
|
| 36 |
+
Here, $\mathbb { X }$ is a bounded set that contains zero, for example $\{ x : \| x \| _ { \infty } \leq M \}$ for some constant $M$ . Our goal is learn a regression model ${ \hat { f } } _ { n } : x \mapsto { \hat { f } } _ { n } ( x )$ for prediction. The $\hat { f } _ { n }$ is obtained from the following form of neural networks
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\sum _ { j = 1 } ^ { r } a _ { j } \sigma ( w _ { j } ^ { \top } x + b _ { j } ) + a _ { 0 } ,
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where $a _ { 0 } , a _ { j } , b _ { j } \in \mathbb { R } , w _ { j } \in \mathbb { R } ^ { d }$ , $\textit { j } = \ 1 , \ldots , r$ , are parameters to estimate. We let $a =$
|
| 43 |
+
$[ a _ { 0 } , a _ { 1 } , \ldots , \bar { a } _ { r } ] ^ { \mathrm { { \scriptscriptstyle T } } }$ denote the output layer coefficients. An illustray accomplished by minimizing the empirical risk plus a regularization term. We first consider th The esti-, for somethe output $\textstyle n ^ { - 1 } \sum _ { i = 1 } ^ { \bar { n } } \ell ( y _ { i } , { \overline { { f ( x _ { i } ) } } } )$ $l ( \cdot )$ $L _ { 1 }$
|
| 44 |
+
layer. In particular, we search for such $f$ by the empirical risk minimization from the function class
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\mathcal { F } _ { V } = \left\{ f : \mathbb { R } ^ { d } \to \mathbb { R } \Big | f ( x ) = \sum _ { j = 1 } ^ { r } a _ { j } \sigma ( w _ { j } ^ { \top } x + b _ { j } ) + a _ { 0 } , \| a \| _ { 1 } \leq V \right\}
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $V$ is a constant. The following statistical risk measures the predictive performance of a learned model $f$ :
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
\begin{array} { r } { \mathcal { R } ( f ) \overset { \Delta } { = } \mathbb { E } \ell ( y , f ( x ) ) - \mathbb { E } \ell ( y , f _ { * } ( x ) ) . } \end{array}
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
The loss function $\ell ( \cdot )$ is pre-determined by data analysts, usually the $L _ { 1 }$ loss defined by $\ell ( y , \tilde { y } ) =$ $| y - \tilde { y } |$ or the $L _ { 2 }$ loss defined by $\ell _ { 2 } ( y , \tilde { y } ) = ( y - \bar { y } ) ^ { 2 }$ . Under the $L _ { 1 }$ loss, the risk is $\textstyle { \mathcal { R } } ( f ) =$ $\mathbb { E } \left| f _ { * } ( x ) + \varepsilon - f ( x ) \right| - \mathbb { E } \left| \varepsilon \right|$ , which is nonnegative for symmetric random variables $\varepsilon$ . It is typical to use the same loss function for both training and evaluation.
|
| 57 |
+
|
| 58 |
+
# 2.2 NOTATION
|
| 59 |
+
|
| 60 |
+
Throughout the paper, we use $n , d , k , r$ to denote the number of observations, the number of input variables or input dimension, the number of significant input variables or sparsity level, the number of neurons (or hidden dimension), respectively. We write $a _ { n } \gtrsim b _ { n }$ , $b _ { n } \lesssim a _ { n }$ , or $b _ { n } = O ( a _ { n } )$ , if $\left| b _ { n } / a _ { n } \right| < c$ for some constant $c$ for all sufficiently large $n$ . We write $a _ { n } \asymp b _ { n }$ if $a _ { n } \gtrsim b _ { n }$ as well as $a _ { n } \lesssim b _ { n }$ . Let $\mathcal { N } ( \boldsymbol { \mu } , V )$ denote Gaussian distribution with mean $\pmb { \mu }$ and covariance $V$ . Let $\| \cdot \| _ { 1 }$ and $\| \cdot \| _ { 2 }$ denote the common $L _ { 1 }$ and $L _ { 2 }$ vector norms, respectively. Let $\mathbb { X }$ denote the essential support of $X$ . For any vector $z \in \mathbb { R } ^ { d }$ , we define $\begin{array} { r } { \| \boldsymbol { z } \| _ { \mathbb { X } } \triangleq \operatorname* { s u p } _ { \boldsymbol { x } \in \mathbb { X } } | \boldsymbol { x } ^ { \top } \boldsymbol { z } | } \end{array}$ , which may or may not be infinity. If $\mathbb { X } = \{ x : \| x \| _ { \infty } \leq M \}$ , $\| \boldsymbol { z } \| _ { \mathbb { X } }$ is equivalent to $M \| z \| _ { 1 }$ . Throughout the paper, $\hat { f } _ { n }$ denotes the estimated regression function with $n$ being the number of observations.
|
| 61 |
+
|
| 62 |
+
# 2.3 ASSUMPTIONS AND CLASSICAL RESULTS
|
| 63 |
+
|
| 64 |
+
We introduce some technical assumptions necessary for our analysis, and state-of-the-art statistical risk bounds built through dimension-based complexity analysis.
|
| 65 |
+
|
| 66 |
+
Assumption 1. The activation function $\sigma ( \cdot )$ is a bounded function on the real line satisfying $\sigma ( x ) $ 1 as $x \to \infty$ and $\sigma ( x ) 0$ as $x \to - \infty$ , and it is $L$ -Lipschitz for some constant $L$ .
|
| 67 |
+
|
| 68 |
+
Assumption 2. The regularization constant $V$ is larger than $2 C + f _ { * } ( 0 )$ , where $C$ is any constant such that the Fourier transform of $f _ { * }$ , denoted by $F$ , satisfies
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\int _ { \mathbb { R } ^ { d } } \| \omega \| _ { \mathbb { X } } F ( d \omega ) \leq C .
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
Assumption 3. $\sigma ( x )$ approaches its limits at least polynomially fast, meaning that $| \sigma ( x ) - \mathbf { 1 } \{ x >$ $0 \} | < \varepsilon$ for all $| x | > x _ { \varepsilon }$ where $x _ { \varepsilon }$ is a polynomial of $1 / \varepsilon$ . Also, the value of $\eta \triangleq \operatorname* { s u p } _ { j } \| w _ { j } \| _ { \mathbb { X } }$ scales with $n$ polynomially meaning that $\log \eta = O ( \log n )$ as $n \to \infty$ .
|
| 75 |
+
|
| 76 |
+
Assumption 4. There exists a constant $c > 0$ and a bounded subset ${ \mathcal { S } } \subset \mathbb { R }$ such that $\mathbb { P } ( X \in { \mathcal { S } } ) > c$ and $\mathrm { i n f } _ { x \in S } \sigma ^ { \prime } ( x ) > c$ for $X \sim \mathcal { N } ( 0 , 1 )$ .
|
| 77 |
+
|
| 78 |
+
We explain each assumption below. The above notation of $C , V$ follow those in (Barron, 1993; 1994). Assumption 1 specifies the class of the activation functions we consider. A specific case is the popular activation function $\sigma ( x ) = 1 / \{ 1 { + } \exp ( - x ) \}$ . Assumption 2, first introduced in (Barron, 1993), specifies the smoothness condition for $f _ { * }$ to ensure the approximation property of neural networks (see Theorem 2.1). In Assumption 3, the condition for $w$ is for technical convenience. It could also be replaced with the following alternative condition: There exists a constant $c > 0$ such that the distribution of $x$ satisfies
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\operatorname* { s u p } _ { w : \| w \| _ { 2 } = 1 } \mathbb { P } \big ( \log ( | w ^ { \top } x | ) < c \log \varepsilon \big ) < \varepsilon
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
for any $\varepsilon \in ( 0 , 1 )$ . Simply speaking, the input data $x$ is not too small with high probability. This condition is rather mild. For example, it holds when each component of $x$ has a a bounded density function. This alternative condition ensures that for some small constant $\varepsilon > 0$ and any $w \in \mathbb { R } ^ { \tilde { d } }$ , there exists a surrogate of $w$ $, \hat { w } \in \mathbb R ^ { d }$ with $\log \| \hat { w } \| _ { 2 } = O ( - \log \varepsilon )$ , such that
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\mathbb { P } ( | \sigma ( w ^ { \top } x ) - \sigma ( \hat { w } ^ { \top } x ) | > \varepsilon ) < \varepsilon .
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
And this can be used to surrogate the assumption of $w$ in Assumption 3 throughout the proofs in the appendix. Assumption 4 means that $\sigma ( \cdot )$ is not a nearly-constant function. This condition is only used to bound the minimax lower bound in Theorem 3.2.
|
| 91 |
+
|
| 92 |
+
Theorem 2.1 (Approximation error bound (Barron, 1993)). Suppose that Assumptions 1, 2, 3 hold. We have
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\operatorname* { i n f } _ { f \in \mathcal { F } _ { V } } \left\{ \int _ { \mathbb { X } } ( f ( x ) - f _ { * } ( x ) ) ^ { 2 } \mu ( d x ) \right\} ^ { 1 / 2 } \leq 2 C \left( \frac { 1 } { \sqrt { r } } + \delta _ { \eta } \right) ,
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
where $\mu$ denotes a probability measure on $\mathbb { X } ,$
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\delta _ { \eta } = \operatorname* { i n f } _ { 0 < \varepsilon < 1 / 2 } \biggl \{ 2 \varepsilon + \operatorname* { s u p } _ { | x | > \varepsilon } \bigl | \sigma ( \eta x ) - \mathbf { 1 } \bigl \{ x > 0 \bigr \} \bigr | \biggr \} ,
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
$\eta$ is defined in Assumption 3, and $C$ is defined in (4).
|
| 105 |
+
|
| 106 |
+
Theorem 2.2 (Statistical risk bound (Barron, 1994)). Suppose that Assumptions $^ { l }$ , 2, 3 hold. Then the $L _ { 2 }$ estimator ${ \hat { f } } _ { n }$ in $\mathcal { F } _ { V }$ satisfies $\mathbb { E } \left\{ \hat { f } _ { n } ( x ) - f _ { * } ( x ) \right\} ^ { 2 } \lesssim V ^ { 2 } / r + ( r d \log n ) / n$ . In particular, $i f$ we choose $r \asymp V { \sqrt { n / ( d \log n ) } }$ , then ${ \mathbb E } \left\{ \hat { f } _ { n } ( x ) - f _ { * } ( x ) \right\} ^ { 2 } \lesssim V \sqrt { ( d \log n ) / n }$ .
|
| 107 |
+
|
| 108 |
+
It is known that a typical parametric rate under the $L _ { 2 }$ loss is at the order of $O ( d / n )$ , much faster than the above result. This gap is mainly due to excessive model complexity in bounding generalization errors. We will show in Section 3 that the gap in the rate of convergence can be filled when using $L _ { 1 }$ loss. Our technique will be based on the machinery of Rademacher complexity, and we bound this complexity through a joint analysis of the norm of coefficients (‘norm-based’) as well as dimension of parameters (‘dimension-based’).
|
| 109 |
+
|
| 110 |
+
# 2.4 MODEL COMPLEXITY AND GENERALIZATION ERROR
|
| 111 |
+
|
| 112 |
+
The statistical risk consists of two parts. The first part is an approximation error term non-increasing in the number of neurons $r$ , and the second part describes generalization errors. The key issue for risk analysis is to bound the second term using a suitable model complexity and then tradeoff with the first term. We will develop our theory based on the following measure of complexity.
|
| 113 |
+
|
| 114 |
+
Let $\mathcal { F }$ denote a class of functions each mapping from $\mathbb { X }$ to $\mathbb { R }$ , and $x _ { 1 } , x _ { 2 } , \ldots , x _ { n } \in \mathbb { X }$ . Following a similar terminology as in (Neyshabur et al., 2015), the Rademacher complexity, or simply ‘complexity’, of a function class $\mathcal { F }$ is defined by $\begin{array} { r } { \mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } } | n ^ { - 1 } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( x _ { i } ) | } \end{array}$ , where $\xi _ { i } , i = 1 , 2 , \ldots , n$ are independent symmetric Bernoulli random variables.
|
| 115 |
+
|
| 116 |
+
Lemma 2.3 (Rademacher complexity of $\mathcal { F } _ { V }$ ). Suppose that Assumptions $^ { l }$ , 3 hold. Then for the Rademacher complexity of $\mathcal { F } _ { V }$ , we have
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } _ { V } } \left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( x _ { i } ) \right| \lesssim \frac { V \sqrt { d \log n } } { \sqrt { n } } .
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
The proof is included in Appendix A.1. The bound in (6) is derived from an amalgamation of dimension-based and norm-based analysis elaborated in the appendix. It is somewhat surprising that the bound does not explicitly involve the approximation error part (that depends on $r$ and $\eta$ ). This Rademacher complexity bound enables us to derive tight statistical risk bounds in the following section.
|
| 123 |
+
|
| 124 |
+
# 3 MAIN RESULTS
|
| 125 |
+
|
| 126 |
+
3.1 STATISTICAL RISK BOUND FOR THE $L _ { 1 }$ REGULARIZED NETWORKS IN (3)
|
| 127 |
+
|
| 128 |
+
Theorem 3.1 (Statistical risk bound). Suppose that Assumptions 1, 2, 3 hold. Then the constrained $L _ { 1 }$ estimator $\hat { f } _ { n }$ over $\mathcal { F } _ { V }$ satisfies
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
\mathcal { R } ( \hat { f } _ { n } ) \lesssim \bigg ( \frac { 1 } { \sqrt { r } } + \delta _ { \eta } \bigg ) C + \frac { V \sqrt { d \log n } + \tau } { \sqrt { n } } ,
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where $\delta _ { \eta }$ is defined in (5), and $\tau$ was introduced in $( l )$ . Moreover, choosing the parameters $r , \eta$ large enough, we have
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
\mathcal { R } ( \hat { f } _ { n } ) \lesssim \frac { V \sqrt { d \log n } + \tau } { \sqrt { n } } .
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
The proof is in Appendix A.2. We briefly explain our main idea in deriving the risk bound (7). A standard statistical risk bound contains two parts which correspond to the approximation error and generalization error, respectively. The approximation error part in (7) is the first term, which involves the hidden dimension $r$ and the norm of input coefficients through $\eta$ . This observation motivates us to use the norm of output-layer coefficients through $V$ and the input dimension $d$ to derive a generalization error bound. In this way, the generalization error term does not involve $r$ already used for bounding the approximation error, and thus a bias-variance tradeoff through $r$ is avoided. This thought leads to the generalization error part in (7), which is the second term involving $V$ and $d$ . Its proof combines the machinery of both dimension-based and norm-based complexity analysis. From our analysis, the error bound in Theorem 3.1 is a consequence of the $L _ { 1 }$ loss function and the employed $L _ { 1 }$ regularization. In comparison with the previous result of Theorem 2.2, the bound obtained in Theorem 3.1 is tight and it approaches the parametric rate $\sqrt { d / n }$ for the $d < n$ regime. Though we can only prove for $L _ { 1 }$ loss in this work, we conjecture that the same rate is achieved using $L _ { 2 }$ loss.
|
| 141 |
+
|
| 142 |
+
In the following, we further show that the above risk bound is minimax optimal. The minimax optimality indicates that deep neural networks with more than two layers will not perform much better than shallow neural networks when the underlying regression function belongs to $\mathcal { F } _ { V }$ .
|
| 143 |
+
|
| 144 |
+
Theorem 3.2 (Minimax risk bound). Suppose that Assumptions 1 and 4 hold, and $x _ { 1 } , x _ { 2 } , \dotsc , x _ { n } \stackrel { i : } { \sim }$ id∼ $\mathcal { N } ( 0 , \pmb { I } _ { d } )$ , then $\operatorname { i n f } _ { \hat { f } _ { n } }$ $\begin{array} { r } { \operatorname* { s u p } _ { f \in \mathcal { F } _ { V } } \mathcal { R } ( \hat { f } _ { n } ( x ) ) \gtrsim V \sqrt { d / n } } \end{array}$ .
|
| 145 |
+
|
| 146 |
+
Here the $\mathcal { F } _ { V }$ is the same one as defined in (3). All the smooth functions $f _ { * } ( \cdot )$ that satisfy $V >$ $2 C + f _ { * } ( 0 )$ and (4) belong to $\mathcal { F } _ { V }$ according to Theorem 2.1. The proof is included in Appendix A.3.
|
| 147 |
+
|
| 148 |
+
# 3.2 ADAPTIVENESS TO THE INPUT SPARSITY
|
| 149 |
+
|
| 150 |
+
It is common to input a large dimensional signal to a neural network, while only few components are genuinely significant for prediction. For example, in environmental science, high dimensional weather signals are input for prediction while few are physically related (Shi et al., 2015). In image processing, the image label is relevant to few background pixels (Han et al., 2015). In natural language processing, a large number of redundant sentences sourced from Wikipedia articles are input for language prediction (Diao et al., 2019). The practice motivates our next results to provide a tight risk bound for neural networks whose input signals are highly sparse.
|
| 151 |
+
|
| 152 |
+
Assumption 5. There exists a positive integer $k \leq d$ and an index set $S \subset \{ 1 , \ldots , d \}$ with card $( S ) =$ $k$ , such that $f _ { \ast } ( x ) = g _ { \ast } ( x _ { S } )$ for some function $g _ { * } ( \cdot )$ with probability one.
|
| 153 |
+
|
| 154 |
+
The subset $S$ is generally unknown to data analysts. Nevertheless, if we know $k$ , named the sparsity level, the risk bound could be further improved by a suitable regularization on the input coefficients. We have the following result where $d$ is replaced with $k$ in the risk bound of Theorem 3.1.
|
| 155 |
+
|
| 156 |
+
Proposition 3.3. Suppose that that Assumptions 1, 2, 3, 5 hold. Suppose that $\hat { f } _ { n }$ is the $L _ { 1 }$ estimator over the following function class
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
\bigg \{ f : \mathbb { R } ^ { d } \to \mathbb { R } \Big | f ( x ) = \sum _ { j = 1 } ^ { r } a _ { j } \sigma ( w _ { j } ^ { \top } x + b _ { j } ) + a _ { 0 } , \| a \| _ { 1 } \leq V , \operatorname* { s u p } _ { j } \| w _ { j } \| _ { 0 } \leq k \bigg \} .
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
Then $\mathcal { R } ( \hat { f } _ { n } ) \lesssim \sqrt { \{ k \log ( d n ) \} / n }$ .
|
| 163 |
+
|
| 164 |
+
The proof is included in Appendix A.4. The above statistical risk bound is also minimax optimal according to a similar argument in Theorem 3.2. From a practical point of view, the above $L _ { 0 }$ constraint is usually difficult to implement, especially for a large input dimension $d$ . Alternatively, one may impose an $L _ { 1 }$ constraint instead of an $L _ { 0 }$ constraint on the input coefficients. Our next result is concerned with the risk bound when the model is learned from a joint regularization on the output and input layers. For technical convenience, we will assume that $\mathbb { X }$ is a bounded set.
|
| 165 |
+
|
| 166 |
+
Theorem 3.4. Consider the following function class of two-layer neural networks
|
| 167 |
+
|
| 168 |
+
$$
|
| 169 |
+
\mathcal { F } _ { V , \eta } = \Bigg \{ f : \mathbb { R } ^ { d } \mathbb { R } \Big | f ( x ) = \sum _ { j = 1 } ^ { r } a _ { j } \sigma ( w _ { j } ^ { \top } x + b _ { j } ) + a _ { 0 } , \| a \| _ { 1 } \leq V , \operatorname* { s u p } _ { 1 \leq j \leq r } ( \| w _ { j } \| _ { 1 } + | b _ { j } | ) \leq \eta \Bigg \} .
|
| 170 |
+
$$
|
| 171 |
+
|
| 172 |
+
Suppose that $V \gtrsim C$ , where $C$ is defined in (4). Then the constrained $L _ { 1 }$ estimator $\hat { f } _ { n }$ over $\mathcal { F } _ { V , \eta }$ satisfies
|
| 173 |
+
|
| 174 |
+
$$
|
| 175 |
+
\mathcal { R } ( \hat { f } _ { n } ) \lesssim C \left( \frac { 1 } { \sqrt { r } } + \delta _ { \eta } \right) + \frac { V \eta + \tau } { \sqrt { n } } ,
|
| 176 |
+
$$
|
| 177 |
+
|
| 178 |
+
where $\delta _ { \eta }$ is defined in (5). In particular, choosing $r$ large enough, we have
|
| 179 |
+
|
| 180 |
+
$$
|
| 181 |
+
\mathcal { R } ( \hat { f } _ { n } ) \lesssim C \delta _ { \eta } + \frac { V \eta + \tau } { \sqrt { n } }
|
| 182 |
+
$$
|
| 183 |
+
|
| 184 |
+
which does not involve the input dimension $d$ and the number of hidden neurons $r$ . Moreover,
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\sigma ( x ) = 1 / ( 1 + e ^ { - x } ) , \quad \eta \asymp \biggl ( n \log ^ { 2 } n \biggr ) ^ { 1 / 3 } , t h e n \mathscr { R } ( \hat { f } _ { n } ) \lesssim V \{ ( \log n ) / n \} ^ { 1 / 3 } .
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
The proof is included in Appendix A.5. In the above result, the risk bound is at the order of $O ( n ^ { - 1 / 3 } )$ , which is slower than the $O ( n ^ { - 1 / 2 } )$ in the previous Theorem 3.1 and Proposition 3.3 if ignoring $d$ and logarithmic factors of $n$ . However, for a large input dimension $d$ that is even much larger than $n$ , the bound can be much tighter than the previous bounds since it is dimension-free.
|
| 191 |
+
|
| 192 |
+
# 4 CONCLUSION AND FURTHER REMARKS
|
| 193 |
+
|
| 194 |
+
We studied the tradeoff between model complexity and statistical risk in two-layer neural networks from the explicit regularization perspective. We end our paper with two future problems. First, in Theorem 3.4, For a small $d$ , the order of $n ^ { - 1 / 3 }$ seems to be an artifact resulting from our technical arguments. We conjecture that in the small $d$ regime, this risk bound could be improved to $O ( n ^ { - 1 / 2 } )$ by certain adaptive regularizations. Second, it would be interesting to emulate the current approach to yield similarly tight risk bounds for deep forward neural networks.
|
| 195 |
+
|
| 196 |
+
REFERENCES
|
| 197 |
+
Animashree Anandkumar, Rong Ge, Daniel Hsu, Sham M Kakade, and Matus Telgarsky. Tensor decompositions for learning latent variable models. J. Mach. Learn. Res., 15:2773–2832, 2014.
|
| 198 |
+
Andrew R Barron. Universal approximation bounds for superpositions of a sigmoidal function. IEEE Trans. Inf. Theory, 39(3):930–945, 1993.
|
| 199 |
+
Andrew R Barron. Approximation and estimation bounds for artificial neural networks. Machine learning, 14(1):115–133, 1994.
|
| 200 |
+
Andrew R Barron and Jason M Klusowski. Complexity, statistical risk, and metric entropy of deep nets using total path variation. arXiv preprint arXiv:1902.00800, 2019.
|
| 201 |
+
Benedikt Bauer and Michael Kohler. On deep learning as a remedy for the curse of dimensionality in nonparametric regression. Ann. Stat., 47(4):2261–2285, 2019.
|
| 202 |
+
Yu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. A survey of model compression and acceleration for deep neural networks. arXiv preprint arXiv:1710.09282, 2017.
|
| 203 |
+
George Cybenko. Approximations by superpositions of a sigmoidal function. Math. Control Signals Syst., 2:183–192, 1989.
|
| 204 |
+
Enmao Diao, Jie Ding, and Vahid Tarokh. Restricted recurrent neural networks. 2019 IEEE Conf. on Big Data, 2019.
|
| 205 |
+
Jie Ding, Vahid Tarokh, and Yuhong Yang. Model selection techniques: An overview. IEEE Signal Process. Mag., 35(6):16–34, 2018.
|
| 206 |
+
Rong Ge, Jason D Lee, and Tengyu Ma. Learning one-hidden-layer neural networks with landscape design. arXiv preprint arXiv:1711.00501, 2017.
|
| 207 |
+
Noah Golowich, Alexander Rakhlin, and Ohad Shamir. Size-independent sample complexity of neural networks. arXiv preprint arXiv:1712.06541, 2017.
|
| 208 |
+
Research Team Google. Tensorflow: A system for large-scale machine learning. Proc. 12th Symp. Operating Syst. Des. Implementation, pp. 265–283, 2016.
|
| 209 |
+
Antonio Gulli and Sujit Pal. Deep Learning with Keras. Packt Publishing Ltd, 2017.
|
| 210 |
+
Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. Advance. Neural Inf. Process. Sys., pp. 1135–1143, 2015.
|
| 211 |
+
Trevor Hastie, Robert Tibshirani, and Jerome Friedman. The elements of statistical learning: data mining, inference, and prediction. Springer Science & Business Media, 2009.
|
| 212 |
+
Majid Janzamin, Hanie Sedghi, and Anima Anandkumar. Beating the perils of non-convexity: Guaranteed training of neural networks using tensor methods. arXiv preprint arXiv:1506.08473, 2015.
|
| 213 |
+
Nikhil Ketkar. Introduction to pytorch. Deep learning with python, pp. 195–208, 2017.
|
| 214 |
+
Marco Mondelli and Andrea Montanari. On the connection between learning two-layers neural networks and tensor decomposition. arXiv preprint arXiv:1802.07301, 2018.
|
| 215 |
+
Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. Norm-based capacity control in neural networks. Conf. Learning Theory, pp. 1376–1401, 2015.
|
| 216 |
+
Fabian Pedregosa, Francis Bach, and Alexandre Gramfort. On the consistency of ordinal regression methods. J. Mach. Learn. Res., 18(1):1769–1803, 2017.
|
| 217 |
+
Simone Scardapane, Danilo Comminiello, Amir Hussain, and Aurelio Uncini. Group sparse regularization for deep neural networks. Neurocomputing, 241:81–89, 2017.
|
| 218 |
+
Johannes Schmidt-Hieber. Nonparametric regression using deep neural networks with relu activation function. arXiv preprint arXiv:1708.06633, 2017.
|
| 219 |
+
George AF Seber and Alan J Lee. Linear regression analysis, volume 329. John Wiley & Sons, 2012.
|
| 220 |
+
Xingjian Shi, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-kin Wong, and Wang-chun Woo. Convolutional LSTM network: A machine learning approach for precipitation nowcasting. In Advance. Neural Inf. Process. Sys., pp. 802–810, 2015.
|
| 221 |
+
Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. Advance. Neural Inf. Process. Sys., pp. 2074–2082, 2016.
|
| 222 |
+
Yuhong Yang and Andrew Barron. Information-theoretic determination of minimax rates of convergence. Ann. Stat., pp. 1564–1599, 1999.
|
| 223 |
+
Ming Yuan and Yi Lin. Model selection and estimation in regression with grouped variables. J. R. Stat. Soc. Ser. B Methodol., 68(1):49–67, 2006.
|
| 224 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
|
| 225 |
+
Hang Zhao, Orazio Gallo, Iuri Frosio, and Jan Kautz. Loss functions for image restoration with neural networks. IEEE Trans. Comput., 3(1):47–57, 2016.
|
| 226 |
+
Lei Zhao, Qinghua Hu, and Wenwu Wang. Heterogeneous feature selection with multi-modal deep neural networks and sparse group LASSO. IEEE Trans. Multimed., 17(11):1936–1948, 2015.
|
| 227 |
+
|
| 228 |
+
# A APPENDIX
|
| 229 |
+
|
| 230 |
+
# A.1 PROOF OF LEMMA 2.3
|
| 231 |
+
|
| 232 |
+
We first prove (6), which uses an amalgamation of dimension-based and norm-based analysis. For the output layer, we use the following norm-based analysis
|
| 233 |
+
|
| 234 |
+
$$
|
| 235 |
+
\begin{array} { r l } & { \mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \left| \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } f ( z _ { i } ) \right| = \mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \left| \langle a , \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( W ^ { \top } z _ { i } + b ) \rangle \right| } \\ & { \leq \operatorname* { s u p } \left\| a \right\| _ { 1 } \mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \left\| \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( W ^ { \top } z _ { i } + b ) \right\| _ { \infty } \leq V \mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \underset { j } { \operatorname* { m a x } } \bigg | \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w _ { j } ^ { \top } z _ { i } + b _ { j } ) \bigg | } \\ & { \leq V \mathbb { E } \underset { w \in \mathbb { R } ^ { d } } { \operatorname* { s u p } } \bigg | \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w ^ { \top } z _ { i } + b ) \bigg | . } \end{array}
|
| 236 |
+
$$
|
| 237 |
+
|
| 238 |
+
For notational convenience, we define $w _ { 0 } = 0 , b _ { 0 } = 0$ , and $a _ { 0 } = \sigma ( 0 ) ^ { - 1 } a _ { 0 } \sigma ( w _ { 0 } ^ { \top } z + b _ { 0 } )$ so that $a _ { 0 }$ can be treated in a similar manner as other $a _ { i }$ ’s. Without loss of generality, we do not separately consider $a _ { 0 }$ in the following proofs.
|
| 239 |
+
|
| 240 |
+
Next, we prove that
|
| 241 |
+
|
| 242 |
+
$$
|
| 243 |
+
\mathbb { E } \operatorname* { s u p } _ { w \in \mathbb { R } ^ { d } } \Big | \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w ^ { \top } z _ { i } + b ) \Big | \lesssim \sqrt { \frac { d \log n } { n } } ,
|
| 244 |
+
$$
|
| 245 |
+
|
| 246 |
+
and thus conclude the proof. The proof will be based on an $\varepsilon$ -net argument together with the union bound. For any $\varepsilon$ , let $\bar { W } _ { \varepsilon } \subset \mathbb { R } ^ { d }$ denote the subset
|
| 247 |
+
|
| 248 |
+
$$
|
| 249 |
+
W _ { \varepsilon } = \left\{ w = \frac { \varepsilon } { 2 d } ( i _ { 1 } , i _ { 2 } , \ldots , i _ { d } ) : i _ { j } \in \mathbb { Z } , \| w \| _ { 1 } \leq \eta _ { n } \right\} .
|
| 250 |
+
$$
|
| 251 |
+
|
| 252 |
+
Then, for any $w , b$ , there exists some element $\hat { w } \in W _ { \varepsilon }$ such that
|
| 253 |
+
|
| 254 |
+
$$
|
| 255 |
+
\begin{array} { r l } & { \underset { \tau \in \mathbb X } { \operatorname* { s u p } } | \sigma ( w ^ { \top } z + b ) - \sigma ( \hat { w } ^ { \top } z + \hat { b } ) | \leq \underset { z } { \operatorname* { s u p } } | ( w ^ { \top } z + b ) - ( \hat { w } ^ { \top } z + \hat { b } ) | \leq \underset { z } { \operatorname* { s u p } } | ( w - \hat { w } ) ^ { \top } z | + | b - \hat { b } | } \\ & { \qquad \leq \| w - \hat { w } \| _ { 1 } \underset { z } { \operatorname* { s u p } } \| z \| _ { \infty } + | b - \hat { b } | \leq \varepsilon , } \end{array}
|
| 256 |
+
$$
|
| 257 |
+
|
| 258 |
+
where $\hat { b } = \left( \varepsilon / 2 d \right) \lfloor \left( 2 d b / \varepsilon \right) \rfloor$ and $\lfloor \cdot \rfloor$ is the floor function. By Bernstein’s Inequality, for any $w , b$
|
| 259 |
+
|
| 260 |
+
$$
|
| 261 |
+
\mathbb { P } \bigg ( \vert \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w ^ { \top } z _ { i } + b ) \vert > t \bigg ) \le 2 \exp \Biggl \{ - \frac { n t ^ { 2 } } { 2 ( 1 + t / 3 ) } \Biggr \} .
|
| 262 |
+
$$
|
| 263 |
+
|
| 264 |
+
By taking the union bound over $W _ { \varepsilon }$ , and use the fact that log card $\lfloor ( W _ { \varepsilon } ) \lesssim d \log ( n d / \varepsilon )$ , we obtain
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
\operatorname* { s u p } _ { w \in \mathbb { R } ^ { d } } \left. \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w ^ { \top } z _ { i } + b ) \right. \lesssim \varepsilon + \sqrt { \frac { d } { n } \log \frac { n d } { \varepsilon } \log \frac { 1 } { \delta } } ,
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
with probability at least $1 - \delta$ . Then the desired result is obtained by taking $\varepsilon \sim \sqrt { ( d \log n ) / n }$
|
| 271 |
+
|
| 272 |
+
# A.2 PROOF OF THEOREM 3.1
|
| 273 |
+
|
| 274 |
+
The proof is based on the following contraction lemma used in (Neyshabur et al., 2015).
|
| 275 |
+
|
| 276 |
+
Lemma A.1 (Contraction Lemma). Suppose that $g$ is $L$ -Lipschitz and $g ( 0 ) = 0$ . Then for any function class $\mathcal { F }$ mapping from $\mathbb { X }$ to $\mathbb { R }$ and any set $\{ x _ { 1 } , x _ { 2 } , \ldots , x _ { n } \}$ , we have
|
| 277 |
+
|
| 278 |
+
$$
|
| 279 |
+
\mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } } \biggl | \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } g ( f ( x _ { i } ) ) \biggr | \leq 2 L \mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } } \biggl | \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( x _ { i } ) \biggr | .
|
| 280 |
+
$$
|
| 281 |
+
|
| 282 |
+
With the above lemma, we have the following result.
|
| 283 |
+
|
| 284 |
+
Lemma A.2. The constrained $L _ { 1 }$ estimator ${ \hat { f } } _ { n }$ over $\mathcal { F }$ satisfies
|
| 285 |
+
|
| 286 |
+
$$
|
| 287 |
+
\mathcal { R } ( \hat { f } _ { n } ) \leq \operatorname* { m i n } _ { f \in \mathcal { F } } \mathbb { E } | f ( x ) - f _ { * } ( x ) | + 2 \mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } } | \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( z _ { i } ) | + 2 \sqrt { \frac { \mathbb { E } y ^ { 2 } } { n } } .
|
| 288 |
+
$$
|
| 289 |
+
|
| 290 |
+
Proof. Define the empirical risk as:
|
| 291 |
+
|
| 292 |
+
$$
|
| 293 |
+
\mathcal { R } _ { n } ( f ) = \mathbb { E } \left( \frac { 1 } { n } \sum _ { i = 1 } ^ { n } | f _ { * } ( x _ { i } ) + \varepsilon _ { i } - f ( x _ { i } ) | \right) - \mathbb { E } | \varepsilon | .
|
| 294 |
+
$$
|
| 295 |
+
|
| 296 |
+
Since $\hat { f } _ { n }$ minimizes $\begin{array} { r } { n ^ { - 1 } \sum _ { i = 1 } ^ { n } | f _ { * } ( x _ { i } ) + \varepsilon _ { i } - f ( x _ { i } ) | } \end{array}$ in $\mathcal { F }$ , we have
|
| 297 |
+
|
| 298 |
+
$$
|
| 299 |
+
\begin{array} { r } { \mathcal { R } ( \hat { f } _ { n } ) \leq \mathcal { R } ( \hat { f } _ { n } ) - \{ \mathcal { R } _ { n } ( \hat { f } _ { n } ) - \mathcal { R } _ { n } ( \hat { f } ) \} = \{ \mathcal { R } ( \hat { f } _ { n } ) - \mathcal { R } _ { n } ( \hat { f } _ { n } ) \} + \mathcal { R } _ { n } ( f _ { 0 } ) , } \end{array}
|
| 300 |
+
$$
|
| 301 |
+
|
| 302 |
+
where $f _ { 0 } = \arg \operatorname* { m i n } _ { f \in \mathcal { F } } \mathcal { R } ( f )$ . We also have
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\mathcal { R } _ { n } ( f _ { 0 } ) = \mathcal { R } ( f _ { 0 } ) = \operatorname* { m i n } _ { f \in \mathcal { F } } \mathbb { E } \left( | f _ { * } ( x ) + \varepsilon - f ( x _ { i } ) | - | \varepsilon | \right) \leq \operatorname* { m i n } _ { f \in \mathcal { F } } \mathbb { E } \left| f ( x ) - f _ { * } ( x ) \right| .
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
In the following, we will analyze the term $\mathcal { R } ( \hat { f } _ { n } ) - \mathcal { R } _ { n } ( \hat { f } _ { n } )$ in (14). Let $z _ { i }$ ’s denote independent and identically distributed copies of $x _ { i }$ ’s.
|
| 309 |
+
|
| 310 |
+
$$
|
| 311 |
+
\begin{array} { r l } & { \mathcal { R } \big ( \hat { f } _ { n } \big ) - \mathcal { R } _ { n } \big ( \hat { f } _ { n } \big ) = \mathbb { E } \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \bigg \{ | \hat { f } _ { n } ( z _ { i } ) - f _ { * } ( z _ { i } ) - \varepsilon _ { i } | - | \hat { f } _ { n } ( x _ { i } ) - f _ { * } ( x _ { i } ) - \varepsilon _ { i } | \bigg \} } \\ & { \qquad \leq \mathbb { E } \displaystyle \operatorname* { s u p } _ { f \in \mathcal { F } } \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \bigg \{ | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \varepsilon _ { i } | - | f ( x _ { i } ) - f _ { * } ( x _ { i } ) - \varepsilon _ { i } | \bigg \} } \\ & { \qquad \leq 2 \mathbb { E } \displaystyle \operatorname* { s u p } _ { f \in \mathcal { F } } \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \varepsilon _ { i } | , } \end{array}
|
| 312 |
+
$$
|
| 313 |
+
|
| 314 |
+
where $\xi _ { 1 } , \ldots , \xi _ { n }$ are independent and identically distributed symmetric Bernoulli random variables that are independent with $z _ { i }$ ’s. According to Lemma A.1, since $g ( x ) \ = \ | x |$ is 1-Lipschitz and $g ( 0 ) = 0$ , we have
|
| 315 |
+
|
| 316 |
+
$$
|
| 317 |
+
\begin{array} { r l } & { \mathbb { E } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \big | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \varepsilon _ { i } \big | \leq 2 \mathbb { E } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \Big | \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } \big ( f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \varepsilon _ { i } \big ) \Big | } \\ & { \qquad \leq 2 \mathbb { E } \underset { f \in \mathcal { F } } { \operatorname* { s u p } } \bigg | \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \xi _ { i } f ( z _ { i } ) \bigg | + 2 \sqrt { \frac { \mathbb { E } y ^ { 2 } } { n } } . } \end{array}
|
| 318 |
+
$$
|
| 319 |
+
|
| 320 |
+
Combining this and (15), we conclude the proof of Lemma A.2.
|
| 321 |
+
|
| 322 |
+
Proof of Theorem 3.1. The proof of (7) is a direct consequence of Lemma 2.3, Lemma A.2, Theorem 2.1 and the fact that the first moment is no more than the second moment. The proof of (8) follows from the fact that $\delta ( \eta ) \to 0$ as $\eta \infty$ .
|
| 323 |
+
|
| 324 |
+
# A.3 PROOF OF THEOREM 3.2
|
| 325 |
+
|
| 326 |
+
Define a subclass of $\mathcal { F } _ { V }$ by
|
| 327 |
+
|
| 328 |
+
$$
|
| 329 |
+
\mathcal { F } _ { 0 } = \Bigg \{ f : \mathbb { R } ^ { d } \mathbb { R } \Big | f ( x ) = V \sigma ( w ^ { \top } x ) , \| w \| _ { 2 } = 1 \Bigg \} .
|
| 330 |
+
$$
|
| 331 |
+
|
| 332 |
+
In the following, we will prove the minimax bound for $\mathcal { F } _ { V }$ by analyzing $\mathcal { F } _ { 0 }$ . Notice that
|
| 333 |
+
|
| 334 |
+
$$
|
| 335 |
+
\begin{array} { r } { \mathbb { E } | \sigma ( w _ { 1 } ^ { \top } x ) - \sigma ( w _ { 2 } ^ { \top } x ) | \geq \mathbb { E } \operatorname* { i n f } _ { u } \sigma ^ { \prime } ( u ) \cdot | w _ { 1 } ^ { \top } x - w _ { 2 } ^ { \top } x | \cdot \mathbb { I } ( w _ { 1 } ^ { \top } x , w _ { 2 } ^ { \top } x \in S ) \gtrsim \| w _ { 1 } - w _ { 2 } \| _ { 2 } . } \end{array}
|
| 336 |
+
$$
|
| 337 |
+
|
| 338 |
+
Let $M _ { 1 } ( \varepsilon )$ denote the packing $\varepsilon$ -entropy of $\mathcal { F } _ { 0 }$ with $L _ { 1 }$ distance, then $M _ { 1 } ( \varepsilon )$ is greater than the packing $\varepsilon$ -entropy of $\mathbb { B } _ { 1 } ^ { \bar { d } }$ with $L _ { 2 }$ distance, which means $M _ { 1 } ( \varepsilon ) \gtrsim d$ . Let $V _ { k } ( \varepsilon )$ denote the covering $\varepsilon$ -entropy of $\mathcal { F } _ { 0 }$ with the square root Kullback-Leibler divergence, then according to its relation with the $L _ { 2 }$ distance shown in (Yang & Barron, 1999), we have
|
| 339 |
+
|
| 340 |
+
$$
|
| 341 |
+
V _ { k } ( \varepsilon ) \leq M _ { 2 } ( \sqrt { 2 } \varepsilon ) \lesssim d \log \frac { 1 } { \varepsilon } ,
|
| 342 |
+
$$
|
| 343 |
+
|
| 344 |
+
where $M _ { 2 } ( \varepsilon )$ denote the packing $\varepsilon$ -entropy of $\mathcal { F } _ { V }$ with $L _ { 2 }$ loss function. The second inequality is proved in a similar way to the proof of Lemma 2.3, which is omitted here for brevity. Hence, according to (Yang & Barron, 1999, Theorem 1),
|
| 345 |
+
|
| 346 |
+
$$
|
| 347 |
+
\operatorname* { i n f } _ { \hat { f } _ { n } } \operatorname* { s u p } _ { f \in { \mathcal { F } } _ { V } } { \mathcal { R } } ( \hat { f } _ { n } ( x ) ) \geq \operatorname* { i n f } _ { \hat { f } _ { n } } \operatorname* { s u p } _ { f \in { \mathcal { F } } _ { 0 } } { \mathcal { R } } ( \hat { f } _ { n } ( x ) ) \gtrsim V { \sqrt { \frac { d } { n } } } ,
|
| 348 |
+
$$
|
| 349 |
+
|
| 350 |
+
This concludes the proof.
|
| 351 |
+
|
| 352 |
+
# A.4 PROOF OF PROPOSITION 3.3
|
| 353 |
+
|
| 354 |
+
To prove the proposition, it is sufficient to verify the following Rademacher complexity bound
|
| 355 |
+
|
| 356 |
+
$$
|
| 357 |
+
\mathbb { E } \operatorname { s u p } \bigg | \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w ^ { \top } z _ { i } + b ) \bigg | \lesssim \sqrt { k \log d \log n } ,
|
| 358 |
+
$$
|
| 359 |
+
|
| 360 |
+
which can be derived easily by adjusting the proof in Lemma 2.3. Then the result follows with a similar analysis as in Theorem 3.1.
|
| 361 |
+
|
| 362 |
+
# A.5 PROOF OF THEOREM 3.4
|
| 363 |
+
|
| 364 |
+
It can be verified from the identity (9) that
|
| 365 |
+
|
| 366 |
+
$$
|
| 367 |
+
\mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( x _ { i } ) \right| \leq \sum _ { j = 0 } ^ { r } \mathbb { E } \underset { f \in \mathcal { F } _ { V } } { \operatorname* { s u p } } \left| a _ { j } \right| \left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w _ { j } ^ { \top } x _ { i } + b _ { j } ) \right| .
|
| 368 |
+
$$
|
| 369 |
+
|
| 370 |
+
Then according to Lemma A.1, we have
|
| 371 |
+
|
| 372 |
+
$$
|
| 373 |
+
\mathbb { E } \operatorname* { s u p } _ { f \in { \mathcal F } _ { V } } \left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } \sigma ( w _ { j } ^ { \top } x _ { i } + b _ { j } ) \right| \lesssim \sqrt { \frac { \log n } { n } } ( \| w _ { j } \| _ { \mathbb { X } } + | b _ { j } | ) .
|
| 374 |
+
$$
|
| 375 |
+
|
| 376 |
+
Combining (16) and (17), we obtain the following lemma that may be interesting on its own right.
|
| 377 |
+
|
| 378 |
+
# Lemma A.3. We have
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\mathbb { E } \operatorname* { s u p } _ { f \in \mathcal { F } _ { V } } \left| \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \xi _ { i } f ( x _ { i } ) \right| \lesssim \sqrt { \frac { \log n } { n } } \sum _ { j = 0 } ^ { r } | a _ { j } | ( \| w _ { j } \| _ { \mathfrak { X } } + | b _ { j } | ) \lesssim V \sqrt { \frac { \log n } { n } } \operatorname* { m a x } _ { j } \| w _ { j } \| _ { \mathfrak { X } } .
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
Since $\| w \| _ { \mathbb { X } } \lesssim \| w \| _ { 1 }$ and $\{ w : \| w \| _ { \mathbb { X } } \lesssim \eta \} \subset \{ w : \| w \| _ { 1 } \lesssim \eta \}$ , the $\| \cdot \| _ { \mathbb { X } }$ can be replaced with $\| \cdot \| _ { 1 }$ in the bounds in Lemmas A.3 and A.2. Then, with a similar argument as in the proof of Theorem 3.1, we conclude the proof of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",
|
| 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": "A crucial problem in neural networks is to select the most appropriate number of hidden neurons and obtain tight statistical risk bounds. In this work, we present a new perspective towards the bias-variance tradeoff in neural networks. As an alternative to selecting the number of neurons, we theoretically show that $L _ { 1 }$ regularization can control the generalization error and sparsify the input dimension. In particular, with an appropriate $L _ { 1 }$ regularization on the output layer, the network can produce a statistical risk that is near minimax optimal. Moreover, an appropriate $L _ { 1 }$ regularization on the input layer leads to a risk bound that does not involve the input data dimension. Our analysis is based on a new amalgamation of dimension-based and norm-based complexity analysis to bound the generalization error. A consequent observation from our results is that an excessively large number of neurons do not necessarily inflate generalization errors under a suitable regularization. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
448
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
479,
|
| 55 |
+
336,
|
| 56 |
+
496
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Neural networks have been successfully applied in modeling nonlinear regression functions in various domains of applications. A critical evaluation metric for a predictive learning model is to measure its statistical risk bound. For example, the $L _ { 1 }$ or $L _ { 2 }$ risks of typical parametric models such as linear regressions are at the order of $( d / n ) ^ { 1 / 2 }$ for small $d$ (Seber & Lee, 2012), where $d$ and $n$ denote respectively the input dimension and number of observations. Obtaining the risk bound for a nonparametric regression model such as neural networks is highly nontrivial. It involves an approximation error (or bias) term as well as a generalization error (or variance) term. The standard analysis of generalization error bounds may not be sufficient to describe the overall predictive performance of a model class unless the data is assumed to be generated from it. For the model class of two-layer feedforward networks and a rather general data-generating process, Barron (1993; 1994) proved an approximation error bound of $O ( r ^ { - 1 / 2 } )$ where $r$ denotes the number of neurons. The author further developed a statistical risk error bound of $O ( ( d / n ) ^ { 1 / 4 } )$ , which is the tightest statistical risk bound for the class of two-layer neural networks up to the authors’ knowledge (for $d < n$ ). This risk bound is based on an optimal bias-variance tradeoff involving an deliberate choice of $r$ . Note that the risk is at a convergence rate much slower than the classical parametric rate. We will tackle the same problem from a different perspective, and obtain a much tighter risk bound. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
508,
|
| 66 |
+
825,
|
| 67 |
+
734
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "A practical challenge closely related to statistical risks is to select the most appropriate neural network architecture for a particular data domain (Ding et al., 2018). For two-layer neural networks, this is equivalent to selecting the number of hidden neurons $r$ . While a small $r$ tends to underfit, researchers have observed that the network is not overfitting even for moderately large $r$ . Nevertheless, recent research has also shown that an overly large $r$ (e.g., when $r > n$ ) does cause overfitting with high probability (Zhang et al., 2016). It can be shown under some non-degeneracy conditions that a two-layer neural network with more than $n$ hidden neurons can perfectly fit $n$ arbitrary data, even in the presence of noise, which inevitably leads to overfitting. A theoretical choice of $r$ suggested by the asymptotic analysis in (Barron, 1994) is at the order of $( n / d ) ^ { 1 / 2 }$ , and a practical choice of $r$ is often from cross-validation with an appropriate splitting ratio (Ding et al., 2018). An alternative perspective that we advocate is to learn from a single neural network with sufficiently many neurons and an appropriate $L _ { 1 }$ regularization on the neuron coefficients, instead of performing a selection from multiple candidate neural models. A potential benefit of this approach is easier hardware implementation and computation since we do not need to implement multiple models separately. Perhaps more importantly, this perspective of training enables much tighter risk bounds, as we will demonstrate. In this work, we focus on the model class of two-layer feedforward neural networks. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
742,
|
| 77 |
+
825,
|
| 78 |
+
922
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
103,
|
| 88 |
+
823,
|
| 89 |
+
145
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Our main contributions are summarized below. First, we prove that $L _ { 1 }$ regularization on the coefficients of the output layer can produce a risk bound $O ( ( d / n ) ^ { 1 / 2 } )$ (up to a logarithmic factor) under the $L _ { 1 }$ training loss, which approaches the minimax optimal rate. Such a rate has not been established under the $L _ { 2 }$ training loss so far. The result indicates a potential benefit of using $L _ { 1 }$ regularization for training a neural network, instead of selecting from a number of neurons. Additionally, a key ingredient of our result is a unique amalgamation of dimension-based and norm-based risk analysis, which may be interesting on its own right. The technique leads to an interesting observation that an excessively large $r$ can reduce approximation error while not increasing generalization error under $L _ { 1 }$ regularizations. This implies that an explicit regularization can eliminate overfitting even when the specified number of neurons is enormous. Moreover, we prove that the $L _ { 1 }$ regularization on the input layer can induce sparsity by producing a risk bound that does not involve $d$ , where $d$ may be much larger compared with the true number of significant variables. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
152,
|
| 99 |
+
825,
|
| 100 |
+
320
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Related work on neural network analysis. Despite the practical success of neural networks, a systematic understanding of their theoretical limit remains an ongoing challenge and has motivated research from various perspectives. Cybenko (1989) showed that any continuous function could be approximated arbitrarily well by a two-layer perceptron with sigmoid activation functions. Barron (1993; 1994) established an approximation error bound of using two-layer neural networks to fit arbitrary smooth functions and their statistical risk bounds. A dimension-free Rademacher complexity for deep ReLU neural networks was recently developed (Golowich et al., 2017; Barron & Klusowski, 2019). Based on a contraction lemma, a series of norm-based complexities and their corresponding generalization errors are developed (Neyshabur et al., 2015, and the references therein). Another perspective is to assume that the data are generated by a neural network and convert its parameter estimation into a tensor decomposition problem through the score function of the known or estimated input distribution (Anandkumar et al., 2014; Janzamin et al., 2015; Ge et al., 2017; Mondelli & Montanari, 2018). Also, tight error bounds have been established recently by assuming that neural networks of parsimonious structures generate the data. In this direction, Schmidt-Hieber (2017) proved that specific deep neural networks with few non-zero network parameters can achieve minimax rates of convergence. Bauer & Kohler (2019) developed an error bound that is free from the input dimension, by assuming a generalized hierarchical interaction model. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
329,
|
| 110 |
+
825,
|
| 111 |
+
563
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Related work on $L _ { 1 }$ regularization. The use of $L _ { 1 }$ regularization has been widely studied in linear regression problems (Hastie et al., 2009, Chapter 3). The use of $L _ { 1 }$ regularization for training neural networks has been recently advocated in deep learning practice. A prominent use of $L _ { 1 }$ regularization was to empirically sparsify weight coefficients and thus compress a network that requires intensive memory usage (Cheng et al., 2017). The extension of $L _ { 1 }$ regularization to group$L _ { 1 }$ regularization (Yuan & Lin, 2006) has also been extensively used in learning various neural networks (Han et al., 2015; Zhao et al., 2015; Wen et al., 2016; Scardapane et al., 2017). Despite the above practice, the efficacy of $L _ { 1 }$ regularization in neural networks deserves more theoretical study. In the context of two-layer neural networks, we will show that the $L _ { 1 }$ regularizations in the output and input layers play two different roles: the former for reducing generalization error caused by excessive neurons while the latter for sparsifying input signals in the presence of substantial redundancy. Unlike previous theoretical work, we consider the $L _ { 1 }$ loss, which ranks among the most popular loss functions in, e.g., learning from ordinal data (Pedregosa et al., 2017) or imaging data (Zhao et al., 2016), and for which the statistical risk has not been studied previously. In practice, the use of $L _ { 1 }$ loss for training has been implemented in prevalent computational frameworks such as Tensorflow (Google, 2016), Pytorch (Ketkar, 2017), and Keras (Gulli & Pal, 2017). ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
570,
|
| 121 |
+
825,
|
| 122 |
+
792
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 PROBLEM FORMULATION ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
178,
|
| 132 |
+
821,
|
| 133 |
+
416,
|
| 134 |
+
838
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "2.1 MODEL ASSUMPTION AND EVALUATION ",
|
| 141 |
+
"text_level": 1,
|
| 142 |
+
"bbox": [
|
| 143 |
+
176,
|
| 144 |
+
854,
|
| 145 |
+
490,
|
| 146 |
+
868
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "Suppose we have $n$ labeled observations $\\{ ( x _ { i } , y _ { i } ) \\} _ { i = 1 , \\dots , n }$ , where $y _ { i }$ ’s are continuously-valued responses or labels. We assume that the underlying data generating model is $y _ { i } = f _ { * } ( \\bar { x } _ { i } ) + \\varepsilon _ { i }$ for some unknown function $f _ { * } ( \\cdot )$ , where $x _ { i }$ ’ $\\mathbf { \\Phi } _ { \\mathbf { \\bar { \\nu } } } \\in \\dot { \\mathbb { X } } \\subset \\mathbb { R } ^ { d }$ are independent and identically distributed, ",
|
| 153 |
+
"bbox": [
|
| 154 |
+
176,
|
| 155 |
+
882,
|
| 156 |
+
823,
|
| 157 |
+
924
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "image",
|
| 163 |
+
"img_path": "images/3dd926fb4b401afb96027dbbfddca0613aaf3b232ec959dc44b5508fc45a8ed2.jpg",
|
| 164 |
+
"image_caption": [
|
| 165 |
+
"Figure 1: A graph showing the two-layer neural network model considered in (2). "
|
| 166 |
+
],
|
| 167 |
+
"image_footnote": [],
|
| 168 |
+
"bbox": [
|
| 169 |
+
333,
|
| 170 |
+
98,
|
| 171 |
+
663,
|
| 172 |
+
255
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 2
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "and $\\varepsilon _ { i }$ ’s are independent and identically distributed that is symmetric at zero and ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
173,
|
| 181 |
+
291,
|
| 182 |
+
702,
|
| 183 |
+
306
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "equation",
|
| 189 |
+
"img_path": "images/7d4a3abef251bd0d230037c0ac821592fbe2f44b12017f911da31a477bddb950.jpg",
|
| 190 |
+
"text": "$$\n\\mathbb { E } \\left( \\varepsilon _ { i } ^ { 2 } \\mid x _ { i } \\right) \\leq \\tau ^ { 2 } .\n$$",
|
| 191 |
+
"text_format": "latex",
|
| 192 |
+
"bbox": [
|
| 193 |
+
439,
|
| 194 |
+
313,
|
| 195 |
+
555,
|
| 196 |
+
332
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 2
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "text",
|
| 202 |
+
"text": "Here, $\\mathbb { X }$ is a bounded set that contains zero, for example $\\{ x : \\| x \\| _ { \\infty } \\leq M \\}$ for some constant $M$ . Our goal is learn a regression model ${ \\hat { f } } _ { n } : x \\mapsto { \\hat { f } } _ { n } ( x )$ for prediction. The $\\hat { f } _ { n }$ is obtained from the following form of neural networks ",
|
| 203 |
+
"bbox": [
|
| 204 |
+
173,
|
| 205 |
+
338,
|
| 206 |
+
825,
|
| 207 |
+
383
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 2
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "equation",
|
| 213 |
+
"img_path": "images/3dc66402aedc7feb5599692b244286cd0ef9e6381386d8aa2991a0d41826d466.jpg",
|
| 214 |
+
"text": "$$\n\\sum _ { j = 1 } ^ { r } a _ { j } \\sigma ( w _ { j } ^ { \\top } x + b _ { j } ) + a _ { 0 } ,\n$$",
|
| 215 |
+
"text_format": "latex",
|
| 216 |
+
"bbox": [
|
| 217 |
+
408,
|
| 218 |
+
390,
|
| 219 |
+
584,
|
| 220 |
+
433
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "where $a _ { 0 } , a _ { j } , b _ { j } \\in \\mathbb { R } , w _ { j } \\in \\mathbb { R } ^ { d }$ , $\\textit { j } = \\ 1 , \\ldots , r$ , are parameters to estimate. We let $a =$ \n$[ a _ { 0 } , a _ { 1 } , \\ldots , \\bar { a } _ { r } ] ^ { \\mathrm { { \\scriptscriptstyle T } } }$ denote the output layer coefficients. An illustray accomplished by minimizing the empirical risk plus a regularization term. We first consider th The esti-, for somethe output $\\textstyle n ^ { - 1 } \\sum _ { i = 1 } ^ { \\bar { n } } \\ell ( y _ { i } , { \\overline { { f ( x _ { i } ) } } } )$ $l ( \\cdot )$ $L _ { 1 }$ \nlayer. In particular, we search for such $f$ by the empirical risk minimization from the function class ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
440,
|
| 230 |
+
825,
|
| 231 |
+
512
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "equation",
|
| 237 |
+
"img_path": "images/8a1bd0bba94e0d13acf5c2ef9fed755855f1f3f1c52fc60cd66cf3ebc99e8dcd.jpg",
|
| 238 |
+
"text": "$$\n\\mathcal { F } _ { V } = \\left\\{ f : \\mathbb { R } ^ { d } \\to \\mathbb { R } \\Big | f ( x ) = \\sum _ { j = 1 } ^ { r } a _ { j } \\sigma ( w _ { j } ^ { \\top } x + b _ { j } ) + a _ { 0 } , \\| a \\| _ { 1 } \\leq V \\right\\}\n$$",
|
| 239 |
+
"text_format": "latex",
|
| 240 |
+
"bbox": [
|
| 241 |
+
272,
|
| 242 |
+
518,
|
| 243 |
+
725,
|
| 244 |
+
561
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "where $V$ is a constant. The following statistical risk measures the predictive performance of a learned model $f$ : ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
173,
|
| 253 |
+
568,
|
| 254 |
+
823,
|
| 255 |
+
597
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "equation",
|
| 261 |
+
"img_path": "images/a81b96cf36fa8616be33ef258a91e37842ad4741909a934bbdd1908350a96db3.jpg",
|
| 262 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { R } ( f ) \\overset { \\Delta } { = } \\mathbb { E } \\ell ( y , f ( x ) ) - \\mathbb { E } \\ell ( y , f _ { * } ( x ) ) . } \\end{array}\n$$",
|
| 263 |
+
"text_format": "latex",
|
| 264 |
+
"bbox": [
|
| 265 |
+
370,
|
| 266 |
+
604,
|
| 267 |
+
625,
|
| 268 |
+
626
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "The loss function $\\ell ( \\cdot )$ is pre-determined by data analysts, usually the $L _ { 1 }$ loss defined by $\\ell ( y , \\tilde { y } ) =$ $| y - \\tilde { y } |$ or the $L _ { 2 }$ loss defined by $\\ell _ { 2 } ( y , \\tilde { y } ) = ( y - \\bar { y } ) ^ { 2 }$ . Under the $L _ { 1 }$ loss, the risk is $\\textstyle { \\mathcal { R } } ( f ) =$ $\\mathbb { E } \\left| f _ { * } ( x ) + \\varepsilon - f ( x ) \\right| - \\mathbb { E } \\left| \\varepsilon \\right|$ , which is nonnegative for symmetric random variables $\\varepsilon$ . It is typical to use the same loss function for both training and evaluation. ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
173,
|
| 277 |
+
632,
|
| 278 |
+
825,
|
| 279 |
+
689
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "2.2 NOTATION ",
|
| 286 |
+
"text_level": 1,
|
| 287 |
+
"bbox": [
|
| 288 |
+
174,
|
| 289 |
+
702,
|
| 290 |
+
289,
|
| 291 |
+
717
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "Throughout the paper, we use $n , d , k , r$ to denote the number of observations, the number of input variables or input dimension, the number of significant input variables or sparsity level, the number of neurons (or hidden dimension), respectively. We write $a _ { n } \\gtrsim b _ { n }$ , $b _ { n } \\lesssim a _ { n }$ , or $b _ { n } = O ( a _ { n } )$ , if $\\left| b _ { n } / a _ { n } \\right| < c$ for some constant $c$ for all sufficiently large $n$ . We write $a _ { n } \\asymp b _ { n }$ if $a _ { n } \\gtrsim b _ { n }$ as well as $a _ { n } \\lesssim b _ { n }$ . Let $\\mathcal { N } ( \\boldsymbol { \\mu } , V )$ denote Gaussian distribution with mean $\\pmb { \\mu }$ and covariance $V$ . Let $\\| \\cdot \\| _ { 1 }$ and $\\| \\cdot \\| _ { 2 }$ denote the common $L _ { 1 }$ and $L _ { 2 }$ vector norms, respectively. Let $\\mathbb { X }$ denote the essential support of $X$ . For any vector $z \\in \\mathbb { R } ^ { d }$ , we define $\\begin{array} { r } { \\| \\boldsymbol { z } \\| _ { \\mathbb { X } } \\triangleq \\operatorname* { s u p } _ { \\boldsymbol { x } \\in \\mathbb { X } } | \\boldsymbol { x } ^ { \\top } \\boldsymbol { z } | } \\end{array}$ , which may or may not be infinity. If $\\mathbb { X } = \\{ x : \\| x \\| _ { \\infty } \\leq M \\}$ , $\\| \\boldsymbol { z } \\| _ { \\mathbb { X } }$ is equivalent to $M \\| z \\| _ { 1 }$ . Throughout the paper, $\\hat { f } _ { n }$ denotes the estimated regression function with $n$ being the number of observations. ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
173,
|
| 300 |
+
724,
|
| 301 |
+
826,
|
| 302 |
+
859
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "2.3 ASSUMPTIONS AND CLASSICAL RESULTS ",
|
| 309 |
+
"text_level": 1,
|
| 310 |
+
"bbox": [
|
| 311 |
+
174,
|
| 312 |
+
872,
|
| 313 |
+
500,
|
| 314 |
+
887
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 2
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "We introduce some technical assumptions necessary for our analysis, and state-of-the-art statistical risk bounds built through dimension-based complexity analysis. ",
|
| 321 |
+
"bbox": [
|
| 322 |
+
174,
|
| 323 |
+
895,
|
| 324 |
+
823,
|
| 325 |
+
924
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 2
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "Assumption 1. The activation function $\\sigma ( \\cdot )$ is a bounded function on the real line satisfying $\\sigma ( x ) $ 1 as $x \\to \\infty$ and $\\sigma ( x ) 0$ as $x \\to - \\infty$ , and it is $L$ -Lipschitz for some constant $L$ . ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
171,
|
| 334 |
+
103,
|
| 335 |
+
823,
|
| 336 |
+
132
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "Assumption 2. The regularization constant $V$ is larger than $2 C + f _ { * } ( 0 )$ , where $C$ is any constant such that the Fourier transform of $f _ { * }$ , denoted by $F$ , satisfies ",
|
| 343 |
+
"bbox": [
|
| 344 |
+
173,
|
| 345 |
+
133,
|
| 346 |
+
823,
|
| 347 |
+
162
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "equation",
|
| 353 |
+
"img_path": "images/3e9c7cbdfe260f12bbdb941785e2d679d6bbc07a6fb0a103a23bb2a981c280a2.jpg",
|
| 354 |
+
"text": "$$\n\\int _ { \\mathbb { R } ^ { d } } \\| \\omega \\| _ { \\mathbb { X } } F ( d \\omega ) \\leq C .\n$$",
|
| 355 |
+
"text_format": "latex",
|
| 356 |
+
"bbox": [
|
| 357 |
+
423,
|
| 358 |
+
166,
|
| 359 |
+
575,
|
| 360 |
+
200
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "Assumption 3. $\\sigma ( x )$ approaches its limits at least polynomially fast, meaning that $| \\sigma ( x ) - \\mathbf { 1 } \\{ x >$ $0 \\} | < \\varepsilon$ for all $| x | > x _ { \\varepsilon }$ where $x _ { \\varepsilon }$ is a polynomial of $1 / \\varepsilon$ . Also, the value of $\\eta \\triangleq \\operatorname* { s u p } _ { j } \\| w _ { j } \\| _ { \\mathbb { X } }$ scales with $n$ polynomially meaning that $\\log \\eta = O ( \\log n )$ as $n \\to \\infty$ . ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
173,
|
| 369 |
+
205,
|
| 370 |
+
825,
|
| 371 |
+
255
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "Assumption 4. There exists a constant $c > 0$ and a bounded subset ${ \\mathcal { S } } \\subset \\mathbb { R }$ such that $\\mathbb { P } ( X \\in { \\mathcal { S } } ) > c$ and $\\mathrm { i n f } _ { x \\in S } \\sigma ^ { \\prime } ( x ) > c$ for $X \\sim \\mathcal { N } ( 0 , 1 )$ . ",
|
| 378 |
+
"bbox": [
|
| 379 |
+
174,
|
| 380 |
+
256,
|
| 381 |
+
823,
|
| 382 |
+
285
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 3
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "We explain each assumption below. The above notation of $C , V$ follow those in (Barron, 1993; 1994). Assumption 1 specifies the class of the activation functions we consider. A specific case is the popular activation function $\\sigma ( x ) = 1 / \\{ 1 { + } \\exp ( - x ) \\}$ . Assumption 2, first introduced in (Barron, 1993), specifies the smoothness condition for $f _ { * }$ to ensure the approximation property of neural networks (see Theorem 2.1). In Assumption 3, the condition for $w$ is for technical convenience. It could also be replaced with the following alternative condition: There exists a constant $c > 0$ such that the distribution of $x$ satisfies ",
|
| 389 |
+
"bbox": [
|
| 390 |
+
173,
|
| 391 |
+
292,
|
| 392 |
+
826,
|
| 393 |
+
391
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "equation",
|
| 399 |
+
"img_path": "images/cbc570daed8c8d56b5c5b311903e4d7794f20b21cdb6e27d29ce2c45e06ed35f.jpg",
|
| 400 |
+
"text": "$$\n\\operatorname* { s u p } _ { w : \\| w \\| _ { 2 } = 1 } \\mathbb { P } \\big ( \\log ( | w ^ { \\top } x | ) < c \\log \\varepsilon \\big ) < \\varepsilon\n$$",
|
| 401 |
+
"text_format": "latex",
|
| 402 |
+
"bbox": [
|
| 403 |
+
369,
|
| 404 |
+
395,
|
| 405 |
+
627,
|
| 406 |
+
425
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "for any $\\varepsilon \\in ( 0 , 1 )$ . Simply speaking, the input data $x$ is not too small with high probability. This condition is rather mild. For example, it holds when each component of $x$ has a a bounded density function. This alternative condition ensures that for some small constant $\\varepsilon > 0$ and any $w \\in \\mathbb { R } ^ { \\tilde { d } }$ , there exists a surrogate of $w$ $, \\hat { w } \\in \\mathbb R ^ { d }$ with $\\log \\| \\hat { w } \\| _ { 2 } = O ( - \\log \\varepsilon )$ , such that ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
173,
|
| 415 |
+
431,
|
| 416 |
+
825,
|
| 417 |
+
488
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "equation",
|
| 423 |
+
"img_path": "images/b6b4177ff5026c9271e2938aa536a8942647c9f671ed18620addcac64b8e90de.jpg",
|
| 424 |
+
"text": "$$\n\\mathbb { P } ( | \\sigma ( w ^ { \\top } x ) - \\sigma ( \\hat { w } ^ { \\top } x ) | > \\varepsilon ) < \\varepsilon .\n$$",
|
| 425 |
+
"text_format": "latex",
|
| 426 |
+
"bbox": [
|
| 427 |
+
383,
|
| 428 |
+
493,
|
| 429 |
+
612,
|
| 430 |
+
512
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 3
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "And this can be used to surrogate the assumption of $w$ in Assumption 3 throughout the proofs in the appendix. Assumption 4 means that $\\sigma ( \\cdot )$ is not a nearly-constant function. This condition is only used to bound the minimax lower bound in Theorem 3.2. ",
|
| 437 |
+
"bbox": [
|
| 438 |
+
174,
|
| 439 |
+
517,
|
| 440 |
+
823,
|
| 441 |
+
559
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 3
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "Theorem 2.1 (Approximation error bound (Barron, 1993)). Suppose that Assumptions 1, 2, 3 hold. We have ",
|
| 448 |
+
"bbox": [
|
| 449 |
+
171,
|
| 450 |
+
563,
|
| 451 |
+
821,
|
| 452 |
+
592
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 3
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "equation",
|
| 458 |
+
"img_path": "images/d7bbb3065be36a4ac967b550472a15da7f8c4f8cdefc2e53dcf2d74923db069b.jpg",
|
| 459 |
+
"text": "$$\n\\operatorname* { i n f } _ { f \\in \\mathcal { F } _ { V } } \\left\\{ \\int _ { \\mathbb { X } } ( f ( x ) - f _ { * } ( x ) ) ^ { 2 } \\mu ( d x ) \\right\\} ^ { 1 / 2 } \\leq 2 C \\left( \\frac { 1 } { \\sqrt { r } } + \\delta _ { \\eta } \\right) ,\n$$",
|
| 460 |
+
"text_format": "latex",
|
| 461 |
+
"bbox": [
|
| 462 |
+
303,
|
| 463 |
+
594,
|
| 464 |
+
691,
|
| 465 |
+
633
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 3
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "where $\\mu$ denotes a probability measure on $\\mathbb { X } ,$ ",
|
| 472 |
+
"bbox": [
|
| 473 |
+
176,
|
| 474 |
+
637,
|
| 475 |
+
470,
|
| 476 |
+
652
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "equation",
|
| 482 |
+
"img_path": "images/d65e70b17e2d02f86cf98cfc7e20bd932cd8bb1cc9be53f303bc181c42a02bca.jpg",
|
| 483 |
+
"text": "$$\n\\delta _ { \\eta } = \\operatorname* { i n f } _ { 0 < \\varepsilon < 1 / 2 } \\biggl \\{ 2 \\varepsilon + \\operatorname* { s u p } _ { | x | > \\varepsilon } \\bigl | \\sigma ( \\eta x ) - \\mathbf { 1 } \\bigl \\{ x > 0 \\bigr \\} \\bigr | \\biggr \\} ,\n$$",
|
| 484 |
+
"text_format": "latex",
|
| 485 |
+
"bbox": [
|
| 486 |
+
336,
|
| 487 |
+
657,
|
| 488 |
+
660,
|
| 489 |
+
694
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 3
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "$\\eta$ is defined in Assumption 3, and $C$ is defined in (4). ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
173,
|
| 498 |
+
699,
|
| 499 |
+
519,
|
| 500 |
+
714
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "Theorem 2.2 (Statistical risk bound (Barron, 1994)). Suppose that Assumptions $^ { l }$ , 2, 3 hold. Then the $L _ { 2 }$ estimator ${ \\hat { f } } _ { n }$ in $\\mathcal { F } _ { V }$ satisfies $\\mathbb { E } \\left\\{ \\hat { f } _ { n } ( x ) - f _ { * } ( x ) \\right\\} ^ { 2 } \\lesssim V ^ { 2 } / r + ( r d \\log n ) / n$ . In particular, $i f$ we choose $r \\asymp V { \\sqrt { n / ( d \\log n ) } }$ , then ${ \\mathbb E } \\left\\{ \\hat { f } _ { n } ( x ) - f _ { * } ( x ) \\right\\} ^ { 2 } \\lesssim V \\sqrt { ( d \\log n ) / n }$ . ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
173,
|
| 509 |
+
717,
|
| 510 |
+
826,
|
| 511 |
+
767
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "It is known that a typical parametric rate under the $L _ { 2 }$ loss is at the order of $O ( d / n )$ , much faster than the above result. This gap is mainly due to excessive model complexity in bounding generalization errors. We will show in Section 3 that the gap in the rate of convergence can be filled when using $L _ { 1 }$ loss. Our technique will be based on the machinery of Rademacher complexity, and we bound this complexity through a joint analysis of the norm of coefficients (‘norm-based’) as well as dimension of parameters (‘dimension-based’). ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
173,
|
| 520 |
+
775,
|
| 521 |
+
825,
|
| 522 |
+
861
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "2.4 MODEL COMPLEXITY AND GENERALIZATION ERROR",
|
| 529 |
+
"text_level": 1,
|
| 530 |
+
"bbox": [
|
| 531 |
+
173,
|
| 532 |
+
873,
|
| 533 |
+
578,
|
| 534 |
+
887
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 3
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "The statistical risk consists of two parts. The first part is an approximation error term non-increasing in the number of neurons $r$ , and the second part describes generalization errors. The key issue for risk analysis is to bound the second term using a suitable model complexity and then tradeoff with the first term. We will develop our theory based on the following measure of complexity. ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
173,
|
| 543 |
+
895,
|
| 544 |
+
825,
|
| 545 |
+
924
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 3
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "text",
|
| 551 |
+
"text": "",
|
| 552 |
+
"bbox": [
|
| 553 |
+
169,
|
| 554 |
+
103,
|
| 555 |
+
823,
|
| 556 |
+
132
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 4
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "Let $\\mathcal { F }$ denote a class of functions each mapping from $\\mathbb { X }$ to $\\mathbb { R }$ , and $x _ { 1 } , x _ { 2 } , \\ldots , x _ { n } \\in \\mathbb { X }$ . Following a similar terminology as in (Neyshabur et al., 2015), the Rademacher complexity, or simply ‘complexity’, of a function class $\\mathcal { F }$ is defined by $\\begin{array} { r } { \\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } } | n ^ { - 1 } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( x _ { i } ) | } \\end{array}$ , where $\\xi _ { i } , i = 1 , 2 , \\ldots , n$ are independent symmetric Bernoulli random variables. ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
138,
|
| 566 |
+
825,
|
| 567 |
+
195
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 4
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Lemma 2.3 (Rademacher complexity of $\\mathcal { F } _ { V }$ ). Suppose that Assumptions $^ { l }$ , 3 hold. Then for the Rademacher complexity of $\\mathcal { F } _ { V }$ , we have ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
173,
|
| 576 |
+
199,
|
| 577 |
+
821,
|
| 578 |
+
228
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 4
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "equation",
|
| 584 |
+
"img_path": "images/fe99c05d0ea067a2ff102e99101e64508f97ae32bb1299529ef7eb871088d736.jpg",
|
| 585 |
+
"text": "$$\n\\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } _ { V } } \\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( x _ { i } ) \\right| \\lesssim \\frac { V \\sqrt { d \\log n } } { \\sqrt { n } } .\n$$",
|
| 586 |
+
"text_format": "latex",
|
| 587 |
+
"bbox": [
|
| 588 |
+
367,
|
| 589 |
+
234,
|
| 590 |
+
629,
|
| 591 |
+
276
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 4
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "The proof is included in Appendix A.1. The bound in (6) is derived from an amalgamation of dimension-based and norm-based analysis elaborated in the appendix. It is somewhat surprising that the bound does not explicitly involve the approximation error part (that depends on $r$ and $\\eta$ ). This Rademacher complexity bound enables us to derive tight statistical risk bounds in the following section. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
174,
|
| 600 |
+
290,
|
| 601 |
+
825,
|
| 602 |
+
359
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 4
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "3 MAIN RESULTS ",
|
| 609 |
+
"text_level": 1,
|
| 610 |
+
"bbox": [
|
| 611 |
+
176,
|
| 612 |
+
377,
|
| 613 |
+
336,
|
| 614 |
+
393
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "3.1 STATISTICAL RISK BOUND FOR THE $L _ { 1 }$ REGULARIZED NETWORKS IN (3)",
|
| 621 |
+
"bbox": [
|
| 622 |
+
176,
|
| 623 |
+
405,
|
| 624 |
+
715,
|
| 625 |
+
421
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Theorem 3.1 (Statistical risk bound). Suppose that Assumptions 1, 2, 3 hold. Then the constrained $L _ { 1 }$ estimator $\\hat { f } _ { n }$ over $\\mathcal { F } _ { V }$ satisfies ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
431,
|
| 635 |
+
821,
|
| 636 |
+
463
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 4
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "equation",
|
| 642 |
+
"img_path": "images/c2cf109dff3bf123ffdb6c79ad05b576a95290e91e8f70d8eab1d2a089d16e01.jpg",
|
| 643 |
+
"text": "$$\n\\mathcal { R } ( \\hat { f } _ { n } ) \\lesssim \\bigg ( \\frac { 1 } { \\sqrt { r } } + \\delta _ { \\eta } \\bigg ) C + \\frac { V \\sqrt { d \\log n } + \\tau } { \\sqrt { n } } ,\n$$",
|
| 644 |
+
"text_format": "latex",
|
| 645 |
+
"bbox": [
|
| 646 |
+
351,
|
| 647 |
+
469,
|
| 648 |
+
645,
|
| 649 |
+
505
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 4
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "where $\\delta _ { \\eta }$ is defined in (5), and $\\tau$ was introduced in $( l )$ . Moreover, choosing the parameters $r , \\eta$ large enough, we have ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
511,
|
| 659 |
+
825,
|
| 660 |
+
540
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 4
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "equation",
|
| 666 |
+
"img_path": "images/d2d72c07724f45b6f9ce582c917e3a4908f09aac82fdcf51aa40cad7035bc3a8.jpg",
|
| 667 |
+
"text": "$$\n\\mathcal { R } ( \\hat { f } _ { n } ) \\lesssim \\frac { V \\sqrt { d \\log n } + \\tau } { \\sqrt { n } } .\n$$",
|
| 668 |
+
"text_format": "latex",
|
| 669 |
+
"bbox": [
|
| 670 |
+
410,
|
| 671 |
+
546,
|
| 672 |
+
588,
|
| 673 |
+
582
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 4
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "text",
|
| 679 |
+
"text": "The proof is in Appendix A.2. We briefly explain our main idea in deriving the risk bound (7). A standard statistical risk bound contains two parts which correspond to the approximation error and generalization error, respectively. The approximation error part in (7) is the first term, which involves the hidden dimension $r$ and the norm of input coefficients through $\\eta$ . This observation motivates us to use the norm of output-layer coefficients through $V$ and the input dimension $d$ to derive a generalization error bound. In this way, the generalization error term does not involve $r$ already used for bounding the approximation error, and thus a bias-variance tradeoff through $r$ is avoided. This thought leads to the generalization error part in (7), which is the second term involving $V$ and $d$ . Its proof combines the machinery of both dimension-based and norm-based complexity analysis. From our analysis, the error bound in Theorem 3.1 is a consequence of the $L _ { 1 }$ loss function and the employed $L _ { 1 }$ regularization. In comparison with the previous result of Theorem 2.2, the bound obtained in Theorem 3.1 is tight and it approaches the parametric rate $\\sqrt { d / n }$ for the $d < n$ regime. Though we can only prove for $L _ { 1 }$ loss in this work, we conjecture that the same rate is achieved using $L _ { 2 }$ loss. ",
|
| 680 |
+
"bbox": [
|
| 681 |
+
173,
|
| 682 |
+
594,
|
| 683 |
+
825,
|
| 684 |
+
792
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 4
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "In the following, we further show that the above risk bound is minimax optimal. The minimax optimality indicates that deep neural networks with more than two layers will not perform much better than shallow neural networks when the underlying regression function belongs to $\\mathcal { F } _ { V }$ . ",
|
| 691 |
+
"bbox": [
|
| 692 |
+
173,
|
| 693 |
+
799,
|
| 694 |
+
825,
|
| 695 |
+
842
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 4
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "Theorem 3.2 (Minimax risk bound). Suppose that Assumptions 1 and 4 hold, and $x _ { 1 } , x _ { 2 } , \\dotsc , x _ { n } \\stackrel { i : } { \\sim }$ id∼ $\\mathcal { N } ( 0 , \\pmb { I } _ { d } )$ , then $\\operatorname { i n f } _ { \\hat { f } _ { n } }$ $\\begin{array} { r } { \\operatorname* { s u p } _ { f \\in \\mathcal { F } _ { V } } \\mathcal { R } ( \\hat { f } _ { n } ( x ) ) \\gtrsim V \\sqrt { d / n } } \\end{array}$ . ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
173,
|
| 704 |
+
849,
|
| 705 |
+
823,
|
| 706 |
+
883
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 4
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "Here the $\\mathcal { F } _ { V }$ is the same one as defined in (3). All the smooth functions $f _ { * } ( \\cdot )$ that satisfy $V >$ $2 C + f _ { * } ( 0 )$ and (4) belong to $\\mathcal { F } _ { V }$ according to Theorem 2.1. The proof is included in Appendix A.3. ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
173,
|
| 715 |
+
895,
|
| 716 |
+
823,
|
| 717 |
+
925
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 4
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "3.2 ADAPTIVENESS TO THE INPUT SPARSITY ",
|
| 724 |
+
"text_level": 1,
|
| 725 |
+
"bbox": [
|
| 726 |
+
176,
|
| 727 |
+
103,
|
| 728 |
+
495,
|
| 729 |
+
117
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 5
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "It is common to input a large dimensional signal to a neural network, while only few components are genuinely significant for prediction. For example, in environmental science, high dimensional weather signals are input for prediction while few are physically related (Shi et al., 2015). In image processing, the image label is relevant to few background pixels (Han et al., 2015). In natural language processing, a large number of redundant sentences sourced from Wikipedia articles are input for language prediction (Diao et al., 2019). The practice motivates our next results to provide a tight risk bound for neural networks whose input signals are highly sparse. ",
|
| 736 |
+
"bbox": [
|
| 737 |
+
173,
|
| 738 |
+
126,
|
| 739 |
+
825,
|
| 740 |
+
224
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 5
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "Assumption 5. There exists a positive integer $k \\leq d$ and an index set $S \\subset \\{ 1 , \\ldots , d \\}$ with card $( S ) =$ $k$ , such that $f _ { \\ast } ( x ) = g _ { \\ast } ( x _ { S } )$ for some function $g _ { * } ( \\cdot )$ with probability one. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
173,
|
| 749 |
+
224,
|
| 750 |
+
823,
|
| 751 |
+
253
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 5
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "The subset $S$ is generally unknown to data analysts. Nevertheless, if we know $k$ , named the sparsity level, the risk bound could be further improved by a suitable regularization on the input coefficients. We have the following result where $d$ is replaced with $k$ in the risk bound of Theorem 3.1. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
261,
|
| 761 |
+
825,
|
| 762 |
+
303
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 5
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "Proposition 3.3. Suppose that that Assumptions 1, 2, 3, 5 hold. Suppose that $\\hat { f } _ { n }$ is the $L _ { 1 }$ estimator over the following function class ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
305,
|
| 772 |
+
823,
|
| 773 |
+
334
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 5
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "equation",
|
| 779 |
+
"img_path": "images/2c06532e64b4f0abc5fb979fac8b7eceb728cbc58b2d6fe5fd5d9695f09c4779.jpg",
|
| 780 |
+
"text": "$$\n\\bigg \\{ f : \\mathbb { R } ^ { d } \\to \\mathbb { R } \\Big | f ( x ) = \\sum _ { j = 1 } ^ { r } a _ { j } \\sigma ( w _ { j } ^ { \\top } x + b _ { j } ) + a _ { 0 } , \\| a \\| _ { 1 } \\leq V , \\operatorname* { s u p } _ { j } \\| w _ { j } \\| _ { 0 } \\leq k \\bigg \\} .\n$$",
|
| 781 |
+
"text_format": "latex",
|
| 782 |
+
"bbox": [
|
| 783 |
+
240,
|
| 784 |
+
335,
|
| 785 |
+
756,
|
| 786 |
+
378
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 5
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "Then $\\mathcal { R } ( \\hat { f } _ { n } ) \\lesssim \\sqrt { \\{ k \\log ( d n ) \\} / n }$ . ",
|
| 793 |
+
"bbox": [
|
| 794 |
+
174,
|
| 795 |
+
381,
|
| 796 |
+
398,
|
| 797 |
+
400
|
| 798 |
+
],
|
| 799 |
+
"page_idx": 5
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"type": "text",
|
| 803 |
+
"text": "The proof is included in Appendix A.4. The above statistical risk bound is also minimax optimal according to a similar argument in Theorem 3.2. From a practical point of view, the above $L _ { 0 }$ constraint is usually difficult to implement, especially for a large input dimension $d$ . Alternatively, one may impose an $L _ { 1 }$ constraint instead of an $L _ { 0 }$ constraint on the input coefficients. Our next result is concerned with the risk bound when the model is learned from a joint regularization on the output and input layers. For technical convenience, we will assume that $\\mathbb { X }$ is a bounded set. ",
|
| 804 |
+
"bbox": [
|
| 805 |
+
173,
|
| 806 |
+
405,
|
| 807 |
+
825,
|
| 808 |
+
491
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 5
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Theorem 3.4. Consider the following function class of two-layer neural networks ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
174,
|
| 817 |
+
492,
|
| 818 |
+
712,
|
| 819 |
+
507
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 5
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "equation",
|
| 825 |
+
"img_path": "images/f21ecd906092d63f80c2d70228d2af2b026295733a38dccb2195254b1c3dc1be.jpg",
|
| 826 |
+
"text": "$$\n\\mathcal { F } _ { V , \\eta } = \\Bigg \\{ f : \\mathbb { R } ^ { d } \\mathbb { R } \\Big | f ( x ) = \\sum _ { j = 1 } ^ { r } a _ { j } \\sigma ( w _ { j } ^ { \\top } x + b _ { j } ) + a _ { 0 } , \\| a \\| _ { 1 } \\leq V , \\operatorname* { s u p } _ { 1 \\leq j \\leq r } ( \\| w _ { j } \\| _ { 1 } + | b _ { j } | ) \\leq \\eta \\Bigg \\} .\n$$",
|
| 827 |
+
"text_format": "latex",
|
| 828 |
+
"bbox": [
|
| 829 |
+
181,
|
| 830 |
+
508,
|
| 831 |
+
818,
|
| 832 |
+
551
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 5
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "Suppose that $V \\gtrsim C$ , where $C$ is defined in (4). Then the constrained $L _ { 1 }$ estimator $\\hat { f } _ { n }$ over $\\mathcal { F } _ { V , \\eta }$ satisfies ",
|
| 839 |
+
"bbox": [
|
| 840 |
+
176,
|
| 841 |
+
555,
|
| 842 |
+
821,
|
| 843 |
+
583
|
| 844 |
+
],
|
| 845 |
+
"page_idx": 5
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"type": "equation",
|
| 849 |
+
"img_path": "images/b5acf4a6cdbca67390440cde444b57a2d2bd4384970fd532b9f75abca450d9bc.jpg",
|
| 850 |
+
"text": "$$\n\\mathcal { R } ( \\hat { f } _ { n } ) \\lesssim C \\left( \\frac { 1 } { \\sqrt { r } } + \\delta _ { \\eta } \\right) + \\frac { V \\eta + \\tau } { \\sqrt { n } } ,\n$$",
|
| 851 |
+
"text_format": "latex",
|
| 852 |
+
"bbox": [
|
| 853 |
+
375,
|
| 854 |
+
585,
|
| 855 |
+
620,
|
| 856 |
+
621
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 5
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "where $\\delta _ { \\eta }$ is defined in (5). In particular, choosing $r$ large enough, we have ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
173,
|
| 865 |
+
621,
|
| 866 |
+
661,
|
| 867 |
+
636
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 5
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "equation",
|
| 873 |
+
"img_path": "images/1807c6e1de6d2051697250d5271ae73819ec631b87f89b2ab8c5af1eefdd8def.jpg",
|
| 874 |
+
"text": "$$\n\\mathcal { R } ( \\hat { f } _ { n } ) \\lesssim C \\delta _ { \\eta } + \\frac { V \\eta + \\tau } { \\sqrt { n } }\n$$",
|
| 875 |
+
"text_format": "latex",
|
| 876 |
+
"bbox": [
|
| 877 |
+
413,
|
| 878 |
+
637,
|
| 879 |
+
584,
|
| 880 |
+
671
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 5
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "which does not involve the input dimension $d$ and the number of hidden neurons $r$ . Moreover, ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
176,
|
| 889 |
+
671,
|
| 890 |
+
823,
|
| 891 |
+
686
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 5
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "equation",
|
| 897 |
+
"img_path": "images/fc6b12fbf8700df497c3aaa1949bdceed735bfedec9a678b1b36ca6c32159c81.jpg",
|
| 898 |
+
"text": "$$\n\\sigma ( x ) = 1 / ( 1 + e ^ { - x } ) , \\quad \\eta \\asymp \\biggl ( n \\log ^ { 2 } n \\biggr ) ^ { 1 / 3 } , t h e n \\mathscr { R } ( \\hat { f } _ { n } ) \\lesssim V \\{ ( \\log n ) / n \\} ^ { 1 / 3 } .\n$$",
|
| 899 |
+
"text_format": "latex",
|
| 900 |
+
"bbox": [
|
| 901 |
+
261,
|
| 902 |
+
685,
|
| 903 |
+
777,
|
| 904 |
+
723
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 5
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "The proof is included in Appendix A.5. In the above result, the risk bound is at the order of $O ( n ^ { - 1 / 3 } )$ , which is slower than the $O ( n ^ { - 1 / 2 } )$ in the previous Theorem 3.1 and Proposition 3.3 if ignoring $d$ and logarithmic factors of $n$ . However, for a large input dimension $d$ that is even much larger than $n$ , the bound can be much tighter than the previous bounds since it is dimension-free. ",
|
| 911 |
+
"bbox": [
|
| 912 |
+
174,
|
| 913 |
+
729,
|
| 914 |
+
825,
|
| 915 |
+
787
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 5
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "4 CONCLUSION AND FURTHER REMARKS ",
|
| 922 |
+
"text_level": 1,
|
| 923 |
+
"bbox": [
|
| 924 |
+
174,
|
| 925 |
+
806,
|
| 926 |
+
534,
|
| 927 |
+
824
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 5
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "We studied the tradeoff between model complexity and statistical risk in two-layer neural networks from the explicit regularization perspective. We end our paper with two future problems. First, in Theorem 3.4, For a small $d$ , the order of $n ^ { - 1 / 3 }$ seems to be an artifact resulting from our technical arguments. We conjecture that in the small $d$ regime, this risk bound could be improved to $O ( n ^ { - 1 / 2 } )$ by certain adaptive regularizations. Second, it would be interesting to emulate the current approach to yield similarly tight risk bounds for deep forward neural networks. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
173,
|
| 936 |
+
837,
|
| 937 |
+
825,
|
| 938 |
+
924
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 5
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "REFERENCES \nAnimashree Anandkumar, Rong Ge, Daniel Hsu, Sham M Kakade, and Matus Telgarsky. Tensor decompositions for learning latent variable models. J. Mach. Learn. Res., 15:2773–2832, 2014. \nAndrew R Barron. Universal approximation bounds for superpositions of a sigmoidal function. IEEE Trans. Inf. Theory, 39(3):930–945, 1993. \nAndrew R Barron. Approximation and estimation bounds for artificial neural networks. Machine learning, 14(1):115–133, 1994. \nAndrew R Barron and Jason M Klusowski. Complexity, statistical risk, and metric entropy of deep nets using total path variation. arXiv preprint arXiv:1902.00800, 2019. \nBenedikt Bauer and Michael Kohler. On deep learning as a remedy for the curse of dimensionality in nonparametric regression. Ann. Stat., 47(4):2261–2285, 2019. \nYu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. A survey of model compression and acceleration for deep neural networks. arXiv preprint arXiv:1710.09282, 2017. \nGeorge Cybenko. Approximations by superpositions of a sigmoidal function. Math. Control Signals Syst., 2:183–192, 1989. \nEnmao Diao, Jie Ding, and Vahid Tarokh. Restricted recurrent neural networks. 2019 IEEE Conf. on Big Data, 2019. \nJie Ding, Vahid Tarokh, and Yuhong Yang. Model selection techniques: An overview. IEEE Signal Process. Mag., 35(6):16–34, 2018. \nRong Ge, Jason D Lee, and Tengyu Ma. Learning one-hidden-layer neural networks with landscape design. arXiv preprint arXiv:1711.00501, 2017. \nNoah Golowich, Alexander Rakhlin, and Ohad Shamir. Size-independent sample complexity of neural networks. arXiv preprint arXiv:1712.06541, 2017. \nResearch Team Google. Tensorflow: A system for large-scale machine learning. Proc. 12th Symp. Operating Syst. Des. Implementation, pp. 265–283, 2016. \nAntonio Gulli and Sujit Pal. Deep Learning with Keras. Packt Publishing Ltd, 2017. \nSong Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. Advance. Neural Inf. Process. Sys., pp. 1135–1143, 2015. \nTrevor Hastie, Robert Tibshirani, and Jerome Friedman. The elements of statistical learning: data mining, inference, and prediction. Springer Science & Business Media, 2009. \nMajid Janzamin, Hanie Sedghi, and Anima Anandkumar. Beating the perils of non-convexity: Guaranteed training of neural networks using tensor methods. arXiv preprint arXiv:1506.08473, 2015. \nNikhil Ketkar. Introduction to pytorch. Deep learning with python, pp. 195–208, 2017. \nMarco Mondelli and Andrea Montanari. On the connection between learning two-layers neural networks and tensor decomposition. arXiv preprint arXiv:1802.07301, 2018. \nBehnam Neyshabur, Ryota Tomioka, and Nathan Srebro. Norm-based capacity control in neural networks. Conf. Learning Theory, pp. 1376–1401, 2015. \nFabian Pedregosa, Francis Bach, and Alexandre Gramfort. On the consistency of ordinal regression methods. J. Mach. Learn. Res., 18(1):1769–1803, 2017. \nSimone Scardapane, Danilo Comminiello, Amir Hussain, and Aurelio Uncini. Group sparse regularization for deep neural networks. Neurocomputing, 241:81–89, 2017. \nJohannes Schmidt-Hieber. Nonparametric regression using deep neural networks with relu activation function. arXiv preprint arXiv:1708.06633, 2017. \nGeorge AF Seber and Alan J Lee. Linear regression analysis, volume 329. John Wiley & Sons, 2012. \nXingjian Shi, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-kin Wong, and Wang-chun Woo. Convolutional LSTM network: A machine learning approach for precipitation nowcasting. In Advance. Neural Inf. Process. Sys., pp. 802–810, 2015. \nWei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural networks. Advance. Neural Inf. Process. Sys., pp. 2074–2082, 2016. \nYuhong Yang and Andrew Barron. Information-theoretic determination of minimax rates of convergence. Ann. Stat., pp. 1564–1599, 1999. \nMing Yuan and Yi Lin. Model selection and estimation in regression with grouped variables. J. R. Stat. Soc. Ser. B Methodol., 68(1):49–67, 2006. \nChiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. \nHang Zhao, Orazio Gallo, Iuri Frosio, and Jan Kautz. Loss functions for image restoration with neural networks. IEEE Trans. Comput., 3(1):47–57, 2016. \nLei Zhao, Qinghua Hu, and Wenwu Wang. Heterogeneous feature selection with multi-modal deep neural networks and sparse group LASSO. IEEE Trans. Multimed., 17(11):1936–1948, 2015. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
169,
|
| 947 |
+
97,
|
| 948 |
+
828,
|
| 949 |
+
925
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 6
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "",
|
| 956 |
+
"bbox": [
|
| 957 |
+
171,
|
| 958 |
+
103,
|
| 959 |
+
826,
|
| 960 |
+
411
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 7
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "A APPENDIX ",
|
| 967 |
+
"text_level": 1,
|
| 968 |
+
"bbox": [
|
| 969 |
+
174,
|
| 970 |
+
435,
|
| 971 |
+
299,
|
| 972 |
+
452
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 7
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "A.1 PROOF OF LEMMA 2.3 ",
|
| 979 |
+
"text_level": 1,
|
| 980 |
+
"bbox": [
|
| 981 |
+
176,
|
| 982 |
+
463,
|
| 983 |
+
374,
|
| 984 |
+
478
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 7
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "We first prove (6), which uses an amalgamation of dimension-based and norm-based analysis. For the output layer, we use the following norm-based analysis ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
174,
|
| 993 |
+
484,
|
| 994 |
+
825,
|
| 995 |
+
513
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 7
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "equation",
|
| 1001 |
+
"img_path": "images/4aa6bd22f103ea31c7a5cd400e433ee3efb46db8adfccb7a5ad1a6bdc844e091.jpg",
|
| 1002 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\left| \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( z _ { i } ) \\right| = \\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\left| \\langle a , \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( W ^ { \\top } z _ { i } + b ) \\rangle \\right| } \\\\ & { \\leq \\operatorname* { s u p } \\left\\| a \\right\\| _ { 1 } \\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\left\\| \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( W ^ { \\top } z _ { i } + b ) \\right\\| _ { \\infty } \\leq V \\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\underset { j } { \\operatorname* { m a x } } \\bigg | \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w _ { j } ^ { \\top } z _ { i } + b _ { j } ) \\bigg | } \\\\ & { \\leq V \\mathbb { E } \\underset { w \\in \\mathbb { R } ^ { d } } { \\operatorname* { s u p } } \\bigg | \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w ^ { \\top } z _ { i } + b ) \\bigg | . } \\end{array}\n$$",
|
| 1003 |
+
"text_format": "latex",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
196,
|
| 1006 |
+
518,
|
| 1007 |
+
800,
|
| 1008 |
+
646
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 7
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "For notational convenience, we define $w _ { 0 } = 0 , b _ { 0 } = 0$ , and $a _ { 0 } = \\sigma ( 0 ) ^ { - 1 } a _ { 0 } \\sigma ( w _ { 0 } ^ { \\top } z + b _ { 0 } )$ so that $a _ { 0 }$ can be treated in a similar manner as other $a _ { i }$ ’s. Without loss of generality, we do not separately consider $a _ { 0 }$ in the following proofs. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
651,
|
| 1018 |
+
823,
|
| 1019 |
+
695
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 7
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "Next, we prove that ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
174,
|
| 1028 |
+
702,
|
| 1029 |
+
305,
|
| 1030 |
+
715
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 7
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "equation",
|
| 1036 |
+
"img_path": "images/4e36029514ed0faacc8632c993965e7167911069bb3e03f64fc3d0290b7dac4b.jpg",
|
| 1037 |
+
"text": "$$\n\\mathbb { E } \\operatorname* { s u p } _ { w \\in \\mathbb { R } ^ { d } } \\Big | \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w ^ { \\top } z _ { i } + b ) \\Big | \\lesssim \\sqrt { \\frac { d \\log n } { n } } ,\n$$",
|
| 1038 |
+
"text_format": "latex",
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
349,
|
| 1041 |
+
722,
|
| 1042 |
+
647,
|
| 1043 |
+
763
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 7
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "and thus conclude the proof. The proof will be based on an $\\varepsilon$ -net argument together with the union bound. For any $\\varepsilon$ , let $\\bar { W } _ { \\varepsilon } \\subset \\mathbb { R } ^ { d }$ denote the subset ",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
171,
|
| 1052 |
+
768,
|
| 1053 |
+
823,
|
| 1054 |
+
797
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 7
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "equation",
|
| 1060 |
+
"img_path": "images/442b3db49e37c39462844d81521269e848dd4d159ee2ce11440ed8a2eb97adbf.jpg",
|
| 1061 |
+
"text": "$$\nW _ { \\varepsilon } = \\left\\{ w = \\frac { \\varepsilon } { 2 d } ( i _ { 1 } , i _ { 2 } , \\ldots , i _ { d } ) : i _ { j } \\in \\mathbb { Z } , \\| w \\| _ { 1 } \\leq \\eta _ { n } \\right\\} .\n$$",
|
| 1062 |
+
"text_format": "latex",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
316,
|
| 1065 |
+
804,
|
| 1066 |
+
679,
|
| 1067 |
+
838
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 7
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Then, for any $w , b$ , there exists some element $\\hat { w } \\in W _ { \\varepsilon }$ such that ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
174,
|
| 1076 |
+
843,
|
| 1077 |
+
593,
|
| 1078 |
+
859
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 7
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "equation",
|
| 1084 |
+
"img_path": "images/0efb5099b4818d1351b50e8c291b72fd1244ee6979a95ef6c7c7c91a190e9485.jpg",
|
| 1085 |
+
"text": "$$\n\\begin{array} { r l } & { \\underset { \\tau \\in \\mathbb X } { \\operatorname* { s u p } } | \\sigma ( w ^ { \\top } z + b ) - \\sigma ( \\hat { w } ^ { \\top } z + \\hat { b } ) | \\leq \\underset { z } { \\operatorname* { s u p } } | ( w ^ { \\top } z + b ) - ( \\hat { w } ^ { \\top } z + \\hat { b } ) | \\leq \\underset { z } { \\operatorname* { s u p } } | ( w - \\hat { w } ) ^ { \\top } z | + | b - \\hat { b } | } \\\\ & { \\qquad \\leq \\| w - \\hat { w } \\| _ { 1 } \\underset { z } { \\operatorname* { s u p } } \\| z \\| _ { \\infty } + | b - \\hat { b } | \\leq \\varepsilon , } \\end{array}\n$$",
|
| 1086 |
+
"text_format": "latex",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
181,
|
| 1089 |
+
864,
|
| 1090 |
+
823,
|
| 1091 |
+
922
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 7
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "where $\\hat { b } = \\left( \\varepsilon / 2 d \\right) \\lfloor \\left( 2 d b / \\varepsilon \\right) \\rfloor$ and $\\lfloor \\cdot \\rfloor$ is the floor function. By Bernstein’s Inequality, for any $w , b$ ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
171,
|
| 1100 |
+
102,
|
| 1101 |
+
810,
|
| 1102 |
+
119
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 8
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "equation",
|
| 1108 |
+
"img_path": "images/7dfdcb964d768962db20a93b13eafb99621db07c580484cd6b4d59e1c61df98e.jpg",
|
| 1109 |
+
"text": "$$\n\\mathbb { P } \\bigg ( \\vert \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w ^ { \\top } z _ { i } + b ) \\vert > t \\bigg ) \\le 2 \\exp \\Biggl \\{ - \\frac { n t ^ { 2 } } { 2 ( 1 + t / 3 ) } \\Biggr \\} .\n$$",
|
| 1110 |
+
"text_format": "latex",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
302,
|
| 1113 |
+
122,
|
| 1114 |
+
692,
|
| 1115 |
+
161
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 8
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "By taking the union bound over $W _ { \\varepsilon }$ , and use the fact that log card $\\lfloor ( W _ { \\varepsilon } ) \\lesssim d \\log ( n d / \\varepsilon )$ , we obtain ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
173,
|
| 1124 |
+
162,
|
| 1125 |
+
808,
|
| 1126 |
+
179
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 8
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "equation",
|
| 1132 |
+
"img_path": "images/0f6a012155c35a2ee63647559f38e6f9f11cf5b21b4abe6dd9e3b558623f3f3b.jpg",
|
| 1133 |
+
"text": "$$\n\\operatorname* { s u p } _ { w \\in \\mathbb { R } ^ { d } } \\left. \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w ^ { \\top } z _ { i } + b ) \\right. \\lesssim \\varepsilon + \\sqrt { \\frac { d } { n } \\log \\frac { n d } { \\varepsilon } \\log \\frac { 1 } { \\delta } } ,\n$$",
|
| 1134 |
+
"text_format": "latex",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
316,
|
| 1137 |
+
181,
|
| 1138 |
+
678,
|
| 1139 |
+
222
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 8
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "with probability at least $1 - \\delta$ . Then the desired result is obtained by taking $\\varepsilon \\sim \\sqrt { ( d \\log n ) / n }$ ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
171,
|
| 1148 |
+
226,
|
| 1149 |
+
795,
|
| 1150 |
+
242
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 8
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "A.2 PROOF OF THEOREM 3.1 ",
|
| 1157 |
+
"text_level": 1,
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
174,
|
| 1160 |
+
253,
|
| 1161 |
+
388,
|
| 1162 |
+
268
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 8
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "The proof is based on the following contraction lemma used in (Neyshabur et al., 2015). ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
173,
|
| 1171 |
+
276,
|
| 1172 |
+
751,
|
| 1173 |
+
291
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 8
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "Lemma A.1 (Contraction Lemma). Suppose that $g$ is $L$ -Lipschitz and $g ( 0 ) = 0$ . Then for any function class $\\mathcal { F }$ mapping from $\\mathbb { X }$ to $\\mathbb { R }$ and any set $\\{ x _ { 1 } , x _ { 2 } , \\ldots , x _ { n } \\}$ , we have ",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
169,
|
| 1182 |
+
292,
|
| 1183 |
+
823,
|
| 1184 |
+
321
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 8
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "equation",
|
| 1190 |
+
"img_path": "images/6b1cc395cb6cc88063ed29b25cc5a705bdd8cb6a913e1360d43b433d4674853a.jpg",
|
| 1191 |
+
"text": "$$\n\\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } } \\biggl | \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } g ( f ( x _ { i } ) ) \\biggr | \\leq 2 L \\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } } \\biggl | \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( x _ { i } ) \\biggr | .\n$$",
|
| 1192 |
+
"text_format": "latex",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
316,
|
| 1195 |
+
324,
|
| 1196 |
+
679,
|
| 1197 |
+
366
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 8
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "With the above lemma, we have the following result. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
173,
|
| 1206 |
+
375,
|
| 1207 |
+
519,
|
| 1208 |
+
388
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 8
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "Lemma A.2. The constrained $L _ { 1 }$ estimator ${ \\hat { f } } _ { n }$ over $\\mathcal { F }$ satisfies ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
173,
|
| 1217 |
+
392,
|
| 1218 |
+
591,
|
| 1219 |
+
409
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 8
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "equation",
|
| 1225 |
+
"img_path": "images/14a1781b192fd8f0e7c53aaf7bc0c5ec5a9b5980ed12a82b73079c00f2b33c3c.jpg",
|
| 1226 |
+
"text": "$$\n\\mathcal { R } ( \\hat { f } _ { n } ) \\leq \\operatorname* { m i n } _ { f \\in \\mathcal { F } } \\mathbb { E } | f ( x ) - f _ { * } ( x ) | + 2 \\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } } | \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( z _ { i } ) | + 2 \\sqrt { \\frac { \\mathbb { E } y ^ { 2 } } { n } } .\n$$",
|
| 1227 |
+
"text_format": "latex",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
264,
|
| 1230 |
+
411,
|
| 1231 |
+
733,
|
| 1232 |
+
452
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 8
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "Proof. Define the empirical risk as: ",
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
174,
|
| 1241 |
+
465,
|
| 1242 |
+
408,
|
| 1243 |
+
479
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 8
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "equation",
|
| 1249 |
+
"img_path": "images/04d086e51df04241e1a46b566b563e73a667025b994d205c2c8e04416407883b.jpg",
|
| 1250 |
+
"text": "$$\n\\mathcal { R } _ { n } ( f ) = \\mathbb { E } \\left( \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } | f _ { * } ( x _ { i } ) + \\varepsilon _ { i } - f ( x _ { i } ) | \\right) - \\mathbb { E } | \\varepsilon | .\n$$",
|
| 1251 |
+
"text_format": "latex",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
325,
|
| 1254 |
+
481,
|
| 1255 |
+
673,
|
| 1256 |
+
522
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 8
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Since $\\hat { f } _ { n }$ minimizes $\\begin{array} { r } { n ^ { - 1 } \\sum _ { i = 1 } ^ { n } | f _ { * } ( x _ { i } ) + \\varepsilon _ { i } - f ( x _ { i } ) | } \\end{array}$ in $\\mathcal { F }$ , we have ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
174,
|
| 1265 |
+
525,
|
| 1266 |
+
620,
|
| 1267 |
+
544
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 8
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "equation",
|
| 1273 |
+
"img_path": "images/d230b5f55c93b298435aa1231111bec9daf883149a9ef9dba0ad0437588e7ba8.jpg",
|
| 1274 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { R } ( \\hat { f } _ { n } ) \\leq \\mathcal { R } ( \\hat { f } _ { n } ) - \\{ \\mathcal { R } _ { n } ( \\hat { f } _ { n } ) - \\mathcal { R } _ { n } ( \\hat { f } ) \\} = \\{ \\mathcal { R } ( \\hat { f } _ { n } ) - \\mathcal { R } _ { n } ( \\hat { f } _ { n } ) \\} + \\mathcal { R } _ { n } ( f _ { 0 } ) , } \\end{array}\n$$",
|
| 1275 |
+
"text_format": "latex",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
250,
|
| 1278 |
+
545,
|
| 1279 |
+
745,
|
| 1280 |
+
565
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 8
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "where $f _ { 0 } = \\arg \\operatorname* { m i n } _ { f \\in \\mathcal { F } } \\mathcal { R } ( f )$ . We also have ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
176,
|
| 1289 |
+
566,
|
| 1290 |
+
472,
|
| 1291 |
+
582
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 8
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "equation",
|
| 1297 |
+
"img_path": "images/f3482ffcb4cfb0e800a413f84ac0f2d3a84537213f49c65818bb1f315f03fd7e.jpg",
|
| 1298 |
+
"text": "$$\n\\mathcal { R } _ { n } ( f _ { 0 } ) = \\mathcal { R } ( f _ { 0 } ) = \\operatorname* { m i n } _ { f \\in \\mathcal { F } } \\mathbb { E } \\left( | f _ { * } ( x ) + \\varepsilon - f ( x _ { i } ) | - | \\varepsilon | \\right) \\leq \\operatorname* { m i n } _ { f \\in \\mathcal { F } } \\mathbb { E } \\left| f ( x ) - f _ { * } ( x ) \\right| .\n$$",
|
| 1299 |
+
"text_format": "latex",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
233,
|
| 1302 |
+
584,
|
| 1303 |
+
764,
|
| 1304 |
+
609
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 8
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "text",
|
| 1310 |
+
"text": "In the following, we will analyze the term $\\mathcal { R } ( \\hat { f } _ { n } ) - \\mathcal { R } _ { n } ( \\hat { f } _ { n } )$ in (14). Let $z _ { i }$ ’s denote independent and identically distributed copies of $x _ { i }$ ’s. ",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
173,
|
| 1313 |
+
613,
|
| 1314 |
+
825,
|
| 1315 |
+
643
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 8
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "equation",
|
| 1321 |
+
"img_path": "images/dfaf409abffeea9a0ff02ad23f495e6771ff85bbb51dffde05e38d1a678d4f3b.jpg",
|
| 1322 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathcal { R } \\big ( \\hat { f } _ { n } \\big ) - \\mathcal { R } _ { n } \\big ( \\hat { f } _ { n } \\big ) = \\mathbb { E } \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\bigg \\{ | \\hat { f } _ { n } ( z _ { i } ) - f _ { * } ( z _ { i } ) - \\varepsilon _ { i } | - | \\hat { f } _ { n } ( x _ { i } ) - f _ { * } ( x _ { i } ) - \\varepsilon _ { i } | \\bigg \\} } \\\\ & { \\qquad \\leq \\mathbb { E } \\displaystyle \\operatorname* { s u p } _ { f \\in \\mathcal { F } } \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\bigg \\{ | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \\varepsilon _ { i } | - | f ( x _ { i } ) - f _ { * } ( x _ { i } ) - \\varepsilon _ { i } | \\bigg \\} } \\\\ & { \\qquad \\leq 2 \\mathbb { E } \\displaystyle \\operatorname* { s u p } _ { f \\in \\mathcal { F } } \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \\varepsilon _ { i } | , } \\end{array}\n$$",
|
| 1323 |
+
"text_format": "latex",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
220,
|
| 1326 |
+
646,
|
| 1327 |
+
777,
|
| 1328 |
+
772
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 8
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "where $\\xi _ { 1 } , \\ldots , \\xi _ { n }$ are independent and identically distributed symmetric Bernoulli random variables that are independent with $z _ { i }$ ’s. According to Lemma A.1, since $g ( x ) \\ = \\ | x |$ is 1-Lipschitz and $g ( 0 ) = 0$ , we have ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
772,
|
| 1338 |
+
825,
|
| 1339 |
+
814
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 8
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "equation",
|
| 1345 |
+
"img_path": "images/a77822824ba417e405481d635eae2aecaabff7f8bcb51e07cd323ae63f698596.jpg",
|
| 1346 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathbb { E } \\underset { f \\in \\mathcal { F } } { \\operatorname* { s u p } } \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\big | f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \\varepsilon _ { i } \\big | \\leq 2 \\mathbb { E } \\underset { f \\in \\mathcal { F } } { \\operatorname* { s u p } } \\Big | \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\big ( f ( z _ { i } ) - f _ { * } ( z _ { i } ) - \\varepsilon _ { i } \\big ) \\Big | } \\\\ & { \\qquad \\leq 2 \\mathbb { E } \\underset { f \\in \\mathcal { F } } { \\operatorname* { s u p } } \\bigg | \\frac { 1 } { n } \\displaystyle \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( z _ { i } ) \\bigg | + 2 \\sqrt { \\frac { \\mathbb { E } y ^ { 2 } } { n } } . } \\end{array}\n$$",
|
| 1347 |
+
"text_format": "latex",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
232,
|
| 1350 |
+
816,
|
| 1351 |
+
764,
|
| 1352 |
+
901
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 8
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "Combining this and (15), we conclude the proof of Lemma A.2. ",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
173,
|
| 1361 |
+
909,
|
| 1362 |
+
593,
|
| 1363 |
+
924
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 8
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "Proof of Theorem 3.1. The proof of (7) is a direct consequence of Lemma 2.3, Lemma A.2, Theorem 2.1 and the fact that the first moment is no more than the second moment. The proof of (8) follows from the fact that $\\delta ( \\eta ) \\to 0$ as $\\eta \\infty$ . ",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
173,
|
| 1372 |
+
103,
|
| 1373 |
+
825,
|
| 1374 |
+
147
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 9
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "A.3 PROOF OF THEOREM 3.2 ",
|
| 1381 |
+
"text_level": 1,
|
| 1382 |
+
"bbox": [
|
| 1383 |
+
176,
|
| 1384 |
+
159,
|
| 1385 |
+
390,
|
| 1386 |
+
172
|
| 1387 |
+
],
|
| 1388 |
+
"page_idx": 9
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "text",
|
| 1392 |
+
"text": "Define a subclass of $\\mathcal { F } _ { V }$ by ",
|
| 1393 |
+
"bbox": [
|
| 1394 |
+
173,
|
| 1395 |
+
181,
|
| 1396 |
+
354,
|
| 1397 |
+
195
|
| 1398 |
+
],
|
| 1399 |
+
"page_idx": 9
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "equation",
|
| 1403 |
+
"img_path": "images/4882094fdc8e7914bc12d785558c229d042e92132cf8b53a8856b177a401e669.jpg",
|
| 1404 |
+
"text": "$$\n\\mathcal { F } _ { 0 } = \\Bigg \\{ f : \\mathbb { R } ^ { d } \\mathbb { R } \\Big | f ( x ) = V \\sigma ( w ^ { \\top } x ) , \\| w \\| _ { 2 } = 1 \\Bigg \\} .\n$$",
|
| 1405 |
+
"text_format": "latex",
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
321,
|
| 1408 |
+
200,
|
| 1409 |
+
674,
|
| 1410 |
+
236
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 9
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"text": "In the following, we will prove the minimax bound for $\\mathcal { F } _ { V }$ by analyzing $\\mathcal { F } _ { 0 }$ . Notice that ",
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
178,
|
| 1419 |
+
239,
|
| 1420 |
+
754,
|
| 1421 |
+
256
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 9
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "equation",
|
| 1427 |
+
"img_path": "images/b536815ed14c54a88f24a461696883838e912c5dc9149e4d0a517489f5974ab7.jpg",
|
| 1428 |
+
"text": "$$\n\\begin{array} { r } { \\mathbb { E } | \\sigma ( w _ { 1 } ^ { \\top } x ) - \\sigma ( w _ { 2 } ^ { \\top } x ) | \\geq \\mathbb { E } \\operatorname* { i n f } _ { u } \\sigma ^ { \\prime } ( u ) \\cdot | w _ { 1 } ^ { \\top } x - w _ { 2 } ^ { \\top } x | \\cdot \\mathbb { I } ( w _ { 1 } ^ { \\top } x , w _ { 2 } ^ { \\top } x \\in S ) \\gtrsim \\| w _ { 1 } - w _ { 2 } \\| _ { 2 } . } \\end{array}\n$$",
|
| 1429 |
+
"text_format": "latex",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
197,
|
| 1432 |
+
258,
|
| 1433 |
+
799,
|
| 1434 |
+
284
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 9
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Let $M _ { 1 } ( \\varepsilon )$ denote the packing $\\varepsilon$ -entropy of $\\mathcal { F } _ { 0 }$ with $L _ { 1 }$ distance, then $M _ { 1 } ( \\varepsilon )$ is greater than the packing $\\varepsilon$ -entropy of $\\mathbb { B } _ { 1 } ^ { \\bar { d } }$ with $L _ { 2 }$ distance, which means $M _ { 1 } ( \\varepsilon ) \\gtrsim d$ . Let $V _ { k } ( \\varepsilon )$ denote the covering $\\varepsilon$ -entropy of $\\mathcal { F } _ { 0 }$ with the square root Kullback-Leibler divergence, then according to its relation with the $L _ { 2 }$ distance shown in (Yang & Barron, 1999), we have ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
173,
|
| 1443 |
+
290,
|
| 1444 |
+
826,
|
| 1445 |
+
347
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 9
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "equation",
|
| 1451 |
+
"img_path": "images/3cc66943152e9261383f1fe77c9091ff53f5ea58a57aee39ac4c9bc5582edf50.jpg",
|
| 1452 |
+
"text": "$$\nV _ { k } ( \\varepsilon ) \\leq M _ { 2 } ( \\sqrt { 2 } \\varepsilon ) \\lesssim d \\log \\frac { 1 } { \\varepsilon } ,\n$$",
|
| 1453 |
+
"text_format": "latex",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
398,
|
| 1456 |
+
351,
|
| 1457 |
+
599,
|
| 1458 |
+
381
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 9
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "where $M _ { 2 } ( \\varepsilon )$ denote the packing $\\varepsilon$ -entropy of $\\mathcal { F } _ { V }$ with $L _ { 2 }$ loss function. The second inequality is proved in a similar way to the proof of Lemma 2.3, which is omitted here for brevity. Hence, according to (Yang & Barron, 1999, Theorem 1), ",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
174,
|
| 1467 |
+
386,
|
| 1468 |
+
825,
|
| 1469 |
+
429
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 9
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "equation",
|
| 1475 |
+
"img_path": "images/adff543b3f7019c3e94781e4a72c81332c15361b299c5058cb5efc10f16f63b9.jpg",
|
| 1476 |
+
"text": "$$\n\\operatorname* { i n f } _ { \\hat { f } _ { n } } \\operatorname* { s u p } _ { f \\in { \\mathcal { F } } _ { V } } { \\mathcal { R } } ( \\hat { f } _ { n } ( x ) ) \\geq \\operatorname* { i n f } _ { \\hat { f } _ { n } } \\operatorname* { s u p } _ { f \\in { \\mathcal { F } } _ { 0 } } { \\mathcal { R } } ( \\hat { f } _ { n } ( x ) ) \\gtrsim V { \\sqrt { \\frac { d } { n } } } ,\n$$",
|
| 1477 |
+
"text_format": "latex",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
325,
|
| 1480 |
+
434,
|
| 1481 |
+
669,
|
| 1482 |
+
472
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 9
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "This concludes the proof. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
174,
|
| 1491 |
+
477,
|
| 1492 |
+
341,
|
| 1493 |
+
492
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 9
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "A.4 PROOF OF PROPOSITION 3.3 ",
|
| 1500 |
+
"text_level": 1,
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
176,
|
| 1503 |
+
505,
|
| 1504 |
+
415,
|
| 1505 |
+
520
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 9
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "To prove the proposition, it is sufficient to verify the following Rademacher complexity bound ",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
173,
|
| 1514 |
+
526,
|
| 1515 |
+
790,
|
| 1516 |
+
542
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 9
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "equation",
|
| 1522 |
+
"img_path": "images/f76ce8f65afdbadc182693218847da331d1826cb0387448a85b9124e80ae547c.jpg",
|
| 1523 |
+
"text": "$$\n\\mathbb { E } \\operatorname { s u p } \\bigg | \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w ^ { \\top } z _ { i } + b ) \\bigg | \\lesssim \\sqrt { k \\log d \\log n } ,\n$$",
|
| 1524 |
+
"text_format": "latex",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
338,
|
| 1527 |
+
547,
|
| 1528 |
+
656,
|
| 1529 |
+
588
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 9
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "which can be derived easily by adjusting the proof in Lemma 2.3. Then the result follows with a similar analysis as in Theorem 3.1. ",
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
174,
|
| 1538 |
+
592,
|
| 1539 |
+
823,
|
| 1540 |
+
622
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 9
|
| 1543 |
+
},
|
| 1544 |
+
{
|
| 1545 |
+
"type": "text",
|
| 1546 |
+
"text": "A.5 PROOF OF THEOREM 3.4 ",
|
| 1547 |
+
"text_level": 1,
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
174,
|
| 1550 |
+
633,
|
| 1551 |
+
390,
|
| 1552 |
+
648
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 9
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "It can be verified from the identity (9) that ",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
174,
|
| 1561 |
+
656,
|
| 1562 |
+
452,
|
| 1563 |
+
671
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 9
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "equation",
|
| 1569 |
+
"img_path": "images/52135cd563220dee21c731bc8b1cafd6a83e80c2708812f4d5b7856b0cc2d7fe.jpg",
|
| 1570 |
+
"text": "$$\n\\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( x _ { i } ) \\right| \\leq \\sum _ { j = 0 } ^ { r } \\mathbb { E } \\underset { f \\in \\mathcal { F } _ { V } } { \\operatorname* { s u p } } \\left| a _ { j } \\right| \\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w _ { j } ^ { \\top } x _ { i } + b _ { j } ) \\right| .\n$$",
|
| 1571 |
+
"text_format": "latex",
|
| 1572 |
+
"bbox": [
|
| 1573 |
+
272,
|
| 1574 |
+
676,
|
| 1575 |
+
723,
|
| 1576 |
+
719
|
| 1577 |
+
],
|
| 1578 |
+
"page_idx": 9
|
| 1579 |
+
},
|
| 1580 |
+
{
|
| 1581 |
+
"type": "text",
|
| 1582 |
+
"text": "Then according to Lemma A.1, we have ",
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
174,
|
| 1585 |
+
724,
|
| 1586 |
+
441,
|
| 1587 |
+
739
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 9
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "equation",
|
| 1593 |
+
"img_path": "images/757e557b35a64840d1e45f887db281807c2d050ae865eae3d353252e606e8de4.jpg",
|
| 1594 |
+
"text": "$$\n\\mathbb { E } \\operatorname* { s u p } _ { f \\in { \\mathcal F } _ { V } } \\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } \\sigma ( w _ { j } ^ { \\top } x _ { i } + b _ { j } ) \\right| \\lesssim \\sqrt { \\frac { \\log n } { n } } ( \\| w _ { j } \\| _ { \\mathbb { X } } + | b _ { j } | ) .\n$$",
|
| 1595 |
+
"text_format": "latex",
|
| 1596 |
+
"bbox": [
|
| 1597 |
+
299,
|
| 1598 |
+
744,
|
| 1599 |
+
696,
|
| 1600 |
+
785
|
| 1601 |
+
],
|
| 1602 |
+
"page_idx": 9
|
| 1603 |
+
},
|
| 1604 |
+
{
|
| 1605 |
+
"type": "text",
|
| 1606 |
+
"text": "Combining (16) and (17), we obtain the following lemma that may be interesting on its own right. ",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
173,
|
| 1609 |
+
790,
|
| 1610 |
+
815,
|
| 1611 |
+
805
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 9
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "text",
|
| 1617 |
+
"text": "Lemma A.3. We have ",
|
| 1618 |
+
"text_level": 1,
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
173,
|
| 1621 |
+
808,
|
| 1622 |
+
325,
|
| 1623 |
+
821
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 9
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "equation",
|
| 1629 |
+
"img_path": "images/950f80ff61cfb487e3d57d650e4c5624130a8086a84ebc8d372e6aeb36fa1017.jpg",
|
| 1630 |
+
"text": "$$\n\\mathbb { E } \\operatorname* { s u p } _ { f \\in \\mathcal { F } _ { V } } \\left| \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\xi _ { i } f ( x _ { i } ) \\right| \\lesssim \\sqrt { \\frac { \\log n } { n } } \\sum _ { j = 0 } ^ { r } | a _ { j } | ( \\| w _ { j } \\| _ { \\mathfrak { X } } + | b _ { j } | ) \\lesssim V \\sqrt { \\frac { \\log n } { n } } \\operatorname* { m a x } _ { j } \\| w _ { j } \\| _ { \\mathfrak { X } } .\n$$",
|
| 1631 |
+
"text_format": "latex",
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
217,
|
| 1634 |
+
825,
|
| 1635 |
+
779,
|
| 1636 |
+
868
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 9
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "text",
|
| 1642 |
+
"text": "Since $\\| w \\| _ { \\mathbb { X } } \\lesssim \\| w \\| _ { 1 }$ and $\\{ w : \\| w \\| _ { \\mathbb { X } } \\lesssim \\eta \\} \\subset \\{ w : \\| w \\| _ { 1 } \\lesssim \\eta \\}$ , the $\\| \\cdot \\| _ { \\mathbb { X } }$ can be replaced with $\\| \\cdot \\| _ { 1 }$ in the bounds in Lemmas A.3 and A.2. Then, with a similar argument as in the proof of Theorem 3.1, we conclude the proof of Theorem 3.4. ",
|
| 1643 |
+
"bbox": [
|
| 1644 |
+
174,
|
| 1645 |
+
881,
|
| 1646 |
+
825,
|
| 1647 |
+
924
|
| 1648 |
+
],
|
| 1649 |
+
"page_idx": 9
|
| 1650 |
+
}
|
| 1651 |
+
]
|
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/7J-fKoXiReA/7J-fKoXiReA.md
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Does Knowledge Distillation Really Work?
|
| 2 |
+
|
| 3 |
+
Samuel Stanton NYU
|
| 4 |
+
|
| 5 |
+
Pavel Izmailov NYU
|
| 6 |
+
|
| 7 |
+
Polina Kirichenko NYU
|
| 8 |
+
|
| 9 |
+
Alexander A. Alemi Google Research
|
| 10 |
+
|
| 11 |
+
Andrew Gordon Wilson NYU
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Knowledge distillation is a popular technique for training a small student network to emulate a larger teacher model, such as an ensemble of networks. We show that while knowledge distillation can improve student generalization, it does not typically work as it is commonly understood: there often remains a surprisingly large discrepancy between the predictive distributions of the teacher and the student, even in cases when the student has the capacity to perfectly match the teacher. We identify difficulties in optimization as a key reason for why the student is unable to match the teacher. We also show how the details of the dataset used for distillation play a role in how closely the student matches the teacher — and that more closely matching the teacher paradoxically does not always lead to better student generalization.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Large, deep networks can learn representations that generalize well. While smaller, more efficient networks lack the inductive biases to find these representations from training data alone, they may have the capacity to represent these solutions [e.g., 2, 18, 32, 45]. Influential work on knowledge distillation $\overline { { \| 2 2 } }$ argues that Bucila et al. ˘ [5] “demonstrate convincingly that the knowledge acquired by a large ensemble of models [the teacher] can be transferred to a single small model [the student]”. Indeed this quote encapsulates the conventional narrative of knowledge distillation: a student model learns a high-fidelity representation of a larger teacher, enabled by the teacher’s soft labels.
|
| 20 |
+
|
| 21 |
+
Conversely, in Figure $\perp$ we show that with modern architectures knowledge distillation can lead to students with very different predictions from their teachers, even when the student has the capacity to perfectly match the teacher. Indeed, it is becoming well-known that in self-distillation the student fails to match the teacher and, paradoxically, student generalization improves as a result [14, 40]. However, when the teacher is a large model (e.g. a deep ensemble) improvements in fidelity translate into improvements in generalization, as we show in Figure $1 ( \mathsf { b } )$ . For these large models there is still a significant accuracy gap between student and teacher, so fidelity is aligned with generalization.
|
| 22 |
+
|
| 23 |
+
We will distinguish between fidelity, the ability of a student to match a teacher’s predictions, and generalization, the performance of a student in predicting unseen, in-distribution data. We show that in many cases it is surprisingly difficult to obtain good student fidelity. In Section 5 we investigate the hypothesis that low fidelity is an identifiability problem that can be solved by augmenting the distillation dataset. In Section $\boxed { 6 }$ we investigate the hypothesis that low fidelity is an optimization problem resulting in a failure of the student to match the teacher even on the original training dataset. We present a summary of our conclusions in Section 7.
|
| 24 |
+
|
| 25 |
+
Does knowledge distillation really work? In short: Yes, in the sense that it often improves student generalization. No, in that knowledge distillation often fails to live up to its name, transferring very limited knowledge from teacher to student.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 1: Evaluating the fidelity of knowledge distillation. The effect of enlarging the CIFAR-100 distillation dataset with GAN-generated samples. (a): The student and teacher are both single ResNet-56 networks. Student fidelity increases as the dataset grows, but test accuracy decreases. (b): The student is a single ResNet-56 network and the teacher is a 3-component ensemble. Student fidelity again increases as the dataset grows, but test accuracy now slightly increases. The shaded region corresponds to $\mu \pm \sigma$ , estimated over 3 trials.
|
| 29 |
+
|
| 30 |
+
# 2 Related Work
|
| 31 |
+
|
| 32 |
+
Knowledge distillation can improve model efficiency [38, 45], unsupervised domain adaptation [37], improved object detection $\pmb { \Vert }$ , model transparency $\lVert \rVert \bigotimes \rVert$ , and adversarial robustness [15, 42].
|
| 33 |
+
|
| 34 |
+
Seminal work by Bucila et al. ˘ [5] showed that teacher-ensembles with thousands of simple components could be compressed into a single shallow network that matched or outperformed its teacher. Other early work proposed distilling ensembles of shallow networks into a single network [55], an idea which resonates with more recent work on the distillation of deep ensembles [2, 7, 46, 50, 53]. Recently Fakoor et al. [13] developed a data-augmentation scheme for the distillation of large ensembles of simple models for tabular data, achieving impressive results on a wide range of tabular benchmarks. Malinin et al. [35] proposed a method to model the implicit distribution over predictive distributions from which the ensemble component predictive distributions are drawn, rather than just the ensemble model average.
|
| 35 |
+
|
| 36 |
+
Our work focuses explicitly on student fidelity, decoupling our understanding of good fidelity from good generalization. We show that achieving good fidelity is extremely difficult, even with a variety of interventions, and seek to understand, by systematically considering several hypotheses, why knowledge distillation does not produce high fidelity students for modern architectures and datasets. In contrast, the distillation literature focuses largely on improving student generalization, without particularly distinguishing between fidelity and generalization.
|
| 37 |
+
|
| 38 |
+
For example, concurrent work by Beyer et al. [4] does not carefully distinguish generalization and fidelity metrics, but they assert that high student fidelity is conceptually desirable and apparently difficult to achieve when measured as the gap between teacher and student accuracy. As a result their work focuses most heavily on practical modifications to the distillation procedure for the best student top-1 accuracy. In this paper we investigate many of the same prescriptions, including careful treatment of data augmentation (such as showing the teacher and student the exact same input images), the addition of MixUp, and extended training duration. We also find that such interventions do improve student accuracy, but there still remains a large discrepancy between the predictive distributions of the teacher and the student. We also investigate multiple optimizers. While we do not pursue Shampoo $\mathbb { I Z } \mathbb { I I }$ specifically, Beyer et al. $\pmb { \Vert 4 \Vert }$ find similar qualitative results for Shampoo and Adam, besides faster convergence for Shampoo.
|
| 39 |
+
|
| 40 |
+
# 3 Preliminaries
|
| 41 |
+
|
| 42 |
+
We will focus on the supervised classification setting, with input space $\mathcal { X }$ and label space $\mathcal { V }$ , where $| { \mathcal { V } } | = c$ . Let $f : \mathcal { X } \times \Theta \mathbb { R } ^ { c }$ be a classifier parameterized by $\theta \in \Theta$ whose outputs define a categorical predictive distribution over $\mathcal { V }$ , $\hat { p } ( y = i | \mathbf { x } ) = \sigma _ { i } ( f ( \mathbf { x } , \theta ) )$ , where $\sigma _ { i } ( { \bf z } ) : = \dot { \exp ( z _ { i } ) } / \sum _ { j } \exp \bar { ( } z _ { j } )$ is the softmax link function. We will often refer to the outputs of a classifier $\mathbf { z } : = f ( \mathbf { x } , \theta )$ as logits. For convenience, we will use $t$ and $s$ as shorthand for $f _ { \mathrm { t e a c h e r } }$ and $f _ { \mathrm { s t u d e n t } }$ , respectively. When the teacher is an $m$ -component ensemble, the component logits $\left( \mathbf { z } _ { 1 } , \ldots , \mathbf { z } _ { m } \right)$ , where $\mathbf { z } _ { i } = f _ { i } ( \mathbf { x } , \theta _ { i } )$ , are combined to form the teacher logits: $\begin{array} { r } { \mathbf { z } _ { t } = \log \bar { ( \sum _ { i = 1 } ^ { m } \sigma ( \mathbf { \bar { z } } _ { i } ) / m ) } } \end{array}$ . These combined logits correspond to the predictive distribution of the ensemble model average. The experiments in the main text consider $m \in \{ 1 , 3 , 5 \}$ , and we include results up to $m = 1 2$ in Appendix B.2.1
|
| 43 |
+
|
| 44 |
+
# 3.1 Knowledge Distillation
|
| 45 |
+
|
| 46 |
+
Hinton et al. $[ [ 2 2 ] ]$ proposed a simple approach to knowledge distillation. The student minimizes a weighted combination of two objectives, $\mathcal { L } _ { s } : = \alpha \mathcal { L } _ { \mathrm { N L L } } + ( 1 - \alpha ) \mathcal { L } _ { \mathrm { K D } }$ , where $\alpha \in [ 0 , 1 )$ . Specifically,
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
\mathcal { L } _ { \mathrm { N L L } } ( \mathbf { z } _ { s } , \mathbf { y } ) : = - \sum _ { j = 1 } ^ { c } y _ { j } \log \sigma _ { j } ( \mathbf { z } _ { s } ) , ~ \mathcal { L } _ { \mathrm { K D } } ( \mathbf { z } _ { s } , \mathbf { z } _ { t } ) : = - \tau ^ { 2 } \sum _ { j = 1 } ^ { c } \sigma _ { j } \left( \frac { \mathbf { z } _ { t } } { \tau } \right) \log \sigma _ { j } \left( \frac { \mathbf { z } _ { s } } { \tau } \right) .
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
$\mathcal { L } _ { \mathrm { N L L } }$ is the usual supervised cross-entropy between the student logits $\mathbf { z } _ { s }$ and the one-hot labels $\mathbf { y }$ . Recalling that $\begin{array} { r } { \mathrm { K L } ( p | | q ) = \sum _ { j } p _ { j } ( \log q _ { j } - \log p _ { j } ) } \end{array}$ , we see that $\mathcal { L } _ { \mathrm { N L L } }$ is equivalent (up to a constant) to the KL from the empirical data distribution to the student predictive distribution $( \hat { p } _ { s } )$ . ${ \mathcal { L } } _ { \mathrm { K D } }$ is the added knowledge distillation term that encourages the student to match the teacher. It is the cross-entropy between the teacher and student predictive distributions $\hat { p } _ { t } = \sigma ( \mathbf { z } _ { t } )$ and $\hat { p } _ { s } = \sigma ( { \bf z } _ { s } )$ , both scaled by a temperature hyperparameter $\tau > 0$ . If $\tau = 1$ then ${ \mathcal { L } } _ { \mathrm { K D } }$ is similarly equivalent to the KL from the teacher to the student, $\mathrm { K L } ( \hat { p } _ { t } | | \hat { p } _ { s } )$ . Since we focus on distillation fidelity, we choose $\alpha = 0$ for all experiments in the main text to avoid any confounding from true labels, but we also include a limited ablation of $\alpha$ in Figure $\boxed { 1 4 }$ in Appendix $C . 5$ for the curious reader.
|
| 53 |
+
|
| 54 |
+
As $\tau \to + \infty$ , $\nabla _ { \mathbf { z } _ { s } } \mathcal { L } _ { \mathrm { K D } } ( \mathbf { z } _ { s } , \mathbf { z } _ { t } ) \approx \mathbf { z } _ { t } - \mathbf { z } _ { s }$ , and thus in the limit $\nabla _ { \mathbf { z } _ { s } } \mathcal { L } _ { \mathrm { K D } }$ is approximately equivalent to $\nabla _ { \mathbf { z } _ { s } } | | \mathbf { z } _ { t } - \mathbf { z } _ { s } | | _ { 2 } ^ { 2 } / 2$ , assigning equal significance to every class logit, regardless of its contribution to the predictive distribution. In other words $\tau$ determines the “softness” of the teacher labels, which in turn determines the allocation of student capacity. If the student is much smaller than the teacher, the student capacity can be focused on matching the teacher’s top- $k$ predictions, rather than matching the full teacher distribution by choosing a moderate value (e.g. $\tau = 4$ ). In Appendix ${ \bf B . l }$ we include further discussion on the interplay of teacher ensemble size, teacher network capacity, and distillation temperature on the student labels.
|
| 55 |
+
|
| 56 |
+
The teacher and student often share at least some training data. It is also common to enlarge the student training data in some way (e.g. incorporating unlabeled examples as in Ba and Caruana $\pmb { \mathbb { D } } \mathbf { l }$ ). When there is a possibility of confusion, we will refer to the student’s training data as the distillation data to distinguish it from the teacher’s training data.
|
| 57 |
+
|
| 58 |
+
# 3.2 Metrics and Evaluation
|
| 59 |
+
|
| 60 |
+
To measure generalization, we report top-1 accuracy, negative log-likelihood (NLL) and expected calibration error (ECE) $\boxed { 1 1 6 }$ . To measure fidelity, we report the following:
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\begin{array} { r l } & { \displaystyle \mathrm { A v e r a g e ~ T o p - 1 ~ A g r e e m e n t : } = \frac { 1 } { n } \sum _ { i = 1 } ^ { n } 1 \{ \mathrm { a r g m a x } \sigma _ { j } ( \mathbf { z } _ { t , i } ) = \underset { j } { \mathrm { a r g m a x } } \sigma _ { j } ( \mathbf { z } _ { s , i } ) \} , } \\ & { \displaystyle \mathrm { A v e r a g e ~ P r e d i c t i v e ~ K L : } = \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \mathrm { K L } \left( \hat { p } _ { t } ( \mathbf { y } | \mathbf { x } _ { i } ) \parallel \hat { p } _ { s } ( \mathbf { y } | \mathbf { x } _ { i } ) \right) , } \end{array}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
Eqn. $( 2 )$ is the average agreement between the student and teacher’s top-1 label. Eqn. $\textcircled{3}$ is the average KL divergence from the predictive distribution of the teacher to that of the student, a measure of fidelity sensitive to all of the labels.
|
| 67 |
+
|
| 68 |
+
While improvements in generalization metrics are relatively easy to understand, interpreting fidelity metrics requires some care. For example, suppose we have three independent models: $f _ { 1 } , f _ { 2 }$ , and $f _ { 3 }$ that respectively achieve $55 \%$ , $7 5 \%$ , and $9 5 \%$ test accuracy. $f _ { 1 }$ and $f _ { 3 }$ can agree on at most $60 \%$ of points, whereas $f _ { 2 }$ and $f _ { 3 }$ agree on at least $70 \%$ , but it would obviously be incorrect to make any claim about $f _ { 2 }$ being a better distillation of $f _ { 3 }$ since each model was trained completely independently. To account for such confounding when evaluating the distillation of a student $s$ from a teacher $t$ , we also evaluate another student $s ^ { \prime }$ distilled through an identical procedure from an independent teacher.
|
| 69 |
+
|
| 70 |
+
By comparing the fidelity of $( t , s )$ and $( t , s ^ { \prime } )$ we can distinguish between a generic improvement in generalization and an improvement specifically to fidelity. If $s$ and $s ^ { \prime }$ have comparable fidelity, then the students agree with the teacher at many points because they generalize well, and not the reverse.
|
| 71 |
+
|
| 72 |
+
# 4 Knowledge Distillation Transfers Knowledge Poorly
|
| 73 |
+
|
| 74 |
+
In this section, we present evidence that we are not able to distill large networks such as a ResNet-56 with high fidelity, and discuss why high fidelity is an important objective.
|
| 75 |
+
|
| 76 |
+
# 4.1 When is knowledge transfer successful?
|
| 77 |
+
|
| 78 |
+
We first consider the easy task of distilling a LeNet-5 teacher into an identical student network as a motivating example. We train the teacher on a random subset of 200 examples from the MNIST training set for 100 epochs, resulting in a $8 4 \%$ to $8 6 \%$ teacher test accuracy across different subsets.2 We then distill the teacher using the full MNIST train dataset with 60,000 examples, as well as $2 5 \%$ , $50 \%$ , and $100 \%$ of the EMNIST train dataset [11]. The EMNIST train set contains 697,932 images.
|
| 79 |
+
|
| 80 |
+
In Figure $2$ we see that knowledge distillation works as expected. With enough examples the student learns to make the same predictions as the teacher (over $9 9 \%$ top-1 test agreement). Notably, in this case, self-distillation does not improve generalization, since the slight difference between the teacher and student accuracy is explained by variance between trials.
|
| 81 |
+
|
| 82 |
+
Now we consider a more challenging task: distilling a ResNet-56 teacher trained on CIFAR-100 into an identical student network (Figure $^ { 1 , }$ left). Since no dataset drawn from the same distribution as CIFAR-100 is publicly available, to augment the distillation data, we instead combined samples from an SN-GAN $\textcircled { \ 3 9 }$ pre-trained on CIFAR-100 with the original CIFAR-100 train dataset. Appendix A.3 details the hyperparameters and training procedure for the GAN, teacher, and student.
|
| 83 |
+
|
| 84 |
+
Like the MNIST experiment, as we enlarge the distillation dataset the student fidelity improves. However, in this case the improvement is modest, with the fidelity reaching nowhere near $9 9 \%$ test agreement. Since a ResNet-56 has many more parameters than a LeNet-5, it is possible that the student simply has not seen enough examples to perfectly emulate the teacher, a hypothesis we discuss in more detail in Section $\underline { { \boldsymbol { \mathsf { F . 1 } } } } \big \| .$ Also, like the MNIST experiment, as the distillation dataset grows the student accuracy approaches the teacher’s. Unlike the MNIST experiment, the student test accuracy is higher than the teacher’s when the distillation dataset is small, so increasing fidelity decreases student generalization.
|
| 85 |
+
|
| 86 |
+

|
| 87 |
+
Figure 2: LeNet-5 self-distillation on MNIST with additional distillation data. The shaded region corresponds to $\mu \pm \sigma$ , estimated over 3 trials.
|
| 88 |
+
|
| 89 |
+
# 4.2 What can self-distillation tell us about knowledge distillation in general?
|
| 90 |
+
|
| 91 |
+
We have seen in Figure $\mathbb { U } ( { \mathrm { a } } )$ that with self-distillation the student can exceed the teacher performance, in accordance with Furlanello et al. [14]. This result is only possible by virtue of failing at the distillation procedure: if the student matched the teacher perfectly then the student could not outperform the teacher. On the other hand, if the teacher generalizes significantly better than an independently trained student, we would expect the benefits of fidelity to dominate other regularization effects associated with not matching the teacher. This setting reflects the original motivation for knowledge distillation, where we wish to faithfully transfer the representation discovered by a large model or ensemble of models into a more efficient student.
|
| 92 |
+
|
| 93 |
+
In Figure $\mathbb { M } ( { \mathsf { b } } )$ we see that if we move from self-distillation to the distillation of a 3 ResNet-56 teacher ensemble, fidelity becomes positively correlated with generalization. But there is still a significant gap in fidelity, even after the distillation set is enlarged with $5 0 k$ GAN samples. In practice, the gap remains large enough that higher fidelity students do not always have better generalization, and the regularization effects we see in self-distillation do play a role for more broadly understanding student generalization. We will indeed show in Section $\boxed { 5 }$ that higher fidelity students do not always generalize better, even if the teacher generalizes much better than the student.
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 3: Data augmentation and distillation: Test accuracy and teacher-student agreement when distilling a 5-component ResNet-56 teacher ensemble into a ResNet-56 student on CIFAR-100 with varying augmentation policies. The best performing policy is shown in green, results averaged over 3 runs. Additional metrics are reported in Figure $1 \bar { 1 }$ in Appendix $\mathbf { C } .$ Mixup and GAN augmentation provide the best generalization, and Mixup $\tau = 4$ ) provides the best fidelity. The baseline policy (crops and flips) with $\tau = 4$ is a surprisingly strong baseline. The error bars indicate $\pm \sigma$ .
|
| 97 |
+
|
| 98 |
+
# 4.3 If distillation already improves generalization, why care about fidelity?
|
| 99 |
+
|
| 100 |
+
While knowledge distillation does often improve generalization, understanding the relationship between fidelity and generalization, and how to maximize fidelity, is important for several reasons — including better generalization!
|
| 101 |
+
|
| 102 |
+
Better generalization in distilling large teacher models and ensembles. Knowledge distillation was initially motivated as a means to deploy powerful models to small devices or low-latency controllers [e.g., 10, 21, 26, 52, 54]. While in self-distillation generalization and fidelity are in tension, there is often a significant disparity in generalization between large teacher models, including ensembles, and smaller students. We have seen this disparity in Figure $\bar { \mathbb { M } } ( { \mathfrak { b } } )$ . We additionally show in Figure 10 in Appendix $\underline { { \overline { { \mathbf { B . l } } } } } ]$ that as we increase the number of ensemble components, the generalization disparity between teacher and distilled student increases. Improving student fidelity is the most obvious way to close the generalization disparity between student and teacher in these settings. Even if one exclusively cares about student accuracy, fidelity is a key consideration outside self-distillation.
|
| 103 |
+
|
| 104 |
+
Interpretability and reliability. Knowledge distillation has been identified as a means to transfer representations discovered by large black-box models into simpler more interpretable models, for example to provide insights into medical diagnostics, or discovering rules for understanding sentiment in text [e.g., 23, 24, 6, 33, 8]. The ability to perform this transfer could have extraordinary scientific consequences: large models can often discover structure in data that we would not have anticipated a priori. Moreover, we often want to transfer properties such as well-calibrated uncertainties or robustness, which have been well-established for larger models, so that we can safely deploy more efficient models in their place. In both cases, achieving good distillation fidelity is crucial.
|
| 105 |
+
|
| 106 |
+
Understanding. The name knowledge distillation implies we are transferring knowledge from the teacher to the student. For this reason, improved student generalization as a consequence of a distillation procedure is sometimes conflated with fidelity. Decoupling fidelity and generalization, and explicitly studying fidelity, is foundational to understanding how knowledge distillation works and how we can make it more useful across a variety of applications.
|
| 107 |
+
|
| 108 |
+
# 4.4 Possible causes of low distillation fidelity
|
| 109 |
+
|
| 110 |
+
If we are able to match the student model to the teacher on a comprehensive distillation dataset, we expect it to match on the test data as well, achieving high distillation fidelity3. Possible causes of the poor distillation fidelity in our CIFAR-100 experiments include:
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 4: Data recycling and distillation: results on subsampled CIFAR-100. Top: We fix the temperature $( \tau = 4$ ) and vary the number of ensemble components $( m )$ , comparing students distilled on the same dataset as the teacher $( \mathcal { D } _ { 0 } / \mathcal { D } _ { 0 } )$ , a reserved dataset $( \mathcal { D } _ { 0 } / \mathcal { D } _ { 1 } )$ , or both $( \mathcal { D } _ { 0 } / \mathcal { D } _ { 0 } \cup \mathcal { D } _ { 1 } )$ . Distilling on both produces the best result, while distilling on $\mathcal { D } _ { 0 }$ increases accuracy and decreases fidelity, relative to $\mathcal { D } _ { 1 }$ . Bottom: We repeat the experiment, but fix $m = 3$ and vary $\tau$ . The shaded region corresponds to $\mu \pm \sigma$ , estimated over 3 trials.
|
| 114 |
+
|
| 115 |
+
Student capacity – We observe low fidelity even in the self-distillation setting, so we can rule out student capacity as a primary cause, but we also confirm in Figure 12 in Appendix $\mathbb { E . l }$ that increasing the student capacity has very little effect on fidelity in the ensemble-distillation setting.
|
| 116 |
+
|
| 117 |
+
Network architecture – Low fidelity could be specific to ResNet-like architectures, an explanation we rule out by showing similar results with VGG networks [47] in Figure 13 in Appendix C.2.
|
| 118 |
+
|
| 119 |
+
Dataset scale and complexity – we provide similar results in Section C.3 for ImageNet, showing that our findings apply to datasets of larger scale and complexity.
|
| 120 |
+
|
| 121 |
+
Data domain – Similarly in Section $\boxed { C . 4 }$ we observe low distillation fidelity in the context of text classification (sentiment analysis on the IMDB dataset), showing our results are relevant beyond image classification.
|
| 122 |
+
|
| 123 |
+
Identifiability (Section $5$ ) – the distillation data is insufficient to distinguish high-fidelity and lowfidelity students. In other words, matching the teacher predictions on the distillation dataset does not lead to matching predictions on the test data.
|
| 124 |
+
|
| 125 |
+
Optimization (Section 6) – we are unable to solve the distillation optimization problem sufficiently well. The student does not agree with the teacher on test because it does not even agree on train.
|
| 126 |
+
|
| 127 |
+
# 5 Identifiability: Are We Using the Right Distillation Dataset?
|
| 128 |
+
|
| 129 |
+
We investigate whether it is possible to attain the level of fidelity observed with LeNet-5s on MNIST with ResNets on CIFAR-100 by addressing the identifiability problem — have we shown the student enough of the right input-teacher label pairs to define the solution we want?
|
| 130 |
+
|
| 131 |
+
# 5.1 Should we do more data augmentation?
|
| 132 |
+
|
| 133 |
+
Data augmentation is a simple and practical method to increase the support of the distillation data distribution. If identifiability is a primary cause of poor distillation fidelity, using a more extensive data augmentation strategy during distillation should improve fidelity.
|
| 134 |
+
|
| 135 |
+
To test this hypothesis, we evaluated the effect of several augmentation strategies on student fidelity and generalization. In Figure $^ { 3 , }$ the teacher is a 5-component ensemble of ResNet-56 networks trained on CIFAR-100 with the Baseline augmentation strategy: horizontal flips and random crops.
|
| 136 |
+
|
| 137 |
+
We report the student accuracy and teacher-student agreement for each augmentation strategy, and also include results for Baseline with $\tau = 1$ and $\tau = 4$ to demonstrate the effect of logit tempering.
|
| 138 |
+
|
| 139 |
+
We first observe that the best augmentation policies for generalization, $M i x U p$ , and $G A N \mathbb { H }$ are not the best policies for fidelity. Furthermore, although many augmentation strategies enable slightly higher distillation fidelity compared to Baseline $\tau = 1 .$ ), even the best augmentation policy, Mixup $\tau = 4 ,$ ), only achieves a modest $86 \%$ test agreement. In fact the Baseline $\tau = 4 ,$ ) policy is quite competitive, achieving $8 4 . 5 \%$ test agreement. Many of the augmentation strategies also slightly improve teacher-student KL relative to Baseline $\tau = 4$ ) (see Figure $^ { 1 1 ) }$
|
| 140 |
+
|
| 141 |
+
In Figure 11 in Appendix ${ \bf B } . 3$ we report all generalization and fidelity metrics for a range of ensemble sizes, as well as the results for the independent student baseline discussed in Section $\underline { { \bar { 3 . 2 } } }$ Often these independent students, taught how to mimic a completely different model, have nearly as good test agreement with the teacher as the student explicitly trained to emulate it. See Appendix $\mathbf { \bar { A } } . 1$ for a detailed description of the augmentation procedures.
|
| 142 |
+
|
| 143 |
+
Should data augmentation be close to the data distribution? In theory, any data augmentation should help with identifiability: if a student matches a teacher on more data, it is more likely to match the teacher elsewhere. However, the Noise and $O O D$ augmentation strategies based on noise and outof-distribution data fail on all metrics, decreasing performance compared to the baseline. In practice, data augmentation has an effect beyond improving identifiability — it has a regularizing effect, making optimization more challenging. We explore this facet of data augmentation in Section 6.
|
| 144 |
+
|
| 145 |
+
The slight improvements to fidelity with extensive augmentations suggest that increasing the support of the distillation dataset can indeed improve distillation fidelity. However, since the benefit is so small compared to heuristics like logit tempering (which does not modify the support at all), it is very unlikely that an insufficient quantity of teacher labels is the primary obstacle to high fidelity.
|
| 146 |
+
|
| 147 |
+
# 5.2 The data recycling hypothesis
|
| 148 |
+
|
| 149 |
+
If simply showing the student more labels does not always significantly improve fidelity, perhaps we are not showing the student the right labels. Additional data augmentation during distillation does give the student more teacher labels to match, but also introduces a distribution shift between the images the teacher was trained on and the images the student is distilling on. Even when the teacher and student have the same augmentation policy, reusing the teacher’s training data for distillation violates the assumptions of empirical risk minimization (ERM) because the distillation data is not an independent draw from the true joint distribution over images and teacher labels. What if there was no augmentation distribution shift, and the student was distilled on a fresh draw from the joint test distribution over images and teacher labels?
|
| 150 |
+
|
| 151 |
+
To investigate the effect of recycling teacher data during distillation we randomly split the CIFAR-100 training dataset $\mathcal { D }$ into two equal parts, $\mathcal { D } _ { 0 }$ and $\mathcal { D } _ { 1 }$ . We train teacher ResNet-56 ensembles on $\mathcal { D } _ { 0 }$ , and then compare $s _ { 0 }$ , a student distilled on the original $\mathcal { D } _ { 0 }$ , $s _ { 1 }$ , a student distilled on the unseen $\mathcal { D } _ { 1 }$ , and $s _ { 0 \cup 1 }$ , a student distilled on both: $\mathcal { D } _ { 0 } \cup \mathcal { D } _ { 1 }$ . Note that the students cannot access the true labels, only those provided by the teacher. We present the results in Figure 4, varying the ensemble size in the top row and the logit temperature in the bottom row.
|
| 152 |
+
|
| 153 |
+
Surprisingly, $s _ { 0 }$ attains higher test accuracy than $s _ { 1 }$ , while showing worse ECE and lower fidelity (measured by test teacher-student agreement and test teacher-student KL). Therefore, the hypothesis that $s _ { 1 }$ should be a higher fidelity distillation of the teacher than $s _ { 0 }$ does hold, but the gain in fidelity does not result in $s _ { 1 }$ best replicating the teacher’s accuracy. The best attributes of $s _ { 0 }$ and $s _ { 1 }$ are combined by $s _ { 0 \cup 1 }$ , which coincides with how unlabeled data is typically used in practice $\pmb { \left. 2 \right. }$ . The reason for this puzzling observation is simply that for the larger teachers fidelity has not improved enough to also improve generalization. In fact, the best teacher-student agreement is only around $8 5 \%$ , no improvement when compared to the results from extensive data augmentation in the last section. We again find that modifying the distillation data can slightly improve fidelity, but the evidence does not support blaming poor distillation fidelity on the wrong choice of distillation data.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 5: The train agreement for teacher ensembles $( m \in \{ 1 , 3 , 5 \} )$ ) and student on the distillation data for a ResNet-56 on CIFAR-100 under different augmentation policies. In all panels, increasing the softness of the teacher labels by adding examples not in the teacher train data makes distillation more difficult. Left: agreement for the synthetic GAN-augmentation policy from Figure 1. Middle: agreement from subsampled CIFAR-100 experiment in Figure $\sharp$ Right: agreement for some of the augmentation policies in Figure 3. The shaded region is not visible because the variance is very low.
|
| 157 |
+
|
| 158 |
+
# 6 Optimization: Does the Student Match the Teacher on Distillation Data?
|
| 159 |
+
|
| 160 |
+
If poor fidelity is not primarily an identifiability problem from the wrong choice of distillation data, perhaps there is a simpler explanation. Up to this point, we have focused on student fidelity on a held-out test set. Now we turn our attention to student behavior on the distillation data itself. Does the student match the teacher on the data it is trained to match it on?
|
| 161 |
+
|
| 162 |
+
# 6.1 More distillation data lowers train agreement
|
| 163 |
+
|
| 164 |
+
In Figure 1 we presented an experiment distilling ResNet-56 networks on CIFAR-100 augmented with synthetic GAN-generated images. We saw that enlarging the distillation dataset leads to improved teacher-student agreement on test, but the agreement remains relatively low (below $8 0 \%$ ) even for the largest distillation dataset that we considered. In Figure $5$ (left panel), we report the teacher-student agreement for the same experiment, but now on the distillation dataset. We now observe the opposite trend: as the distillation dataset becomes larger, it becomes more challenging for the student to match the teacher. Even when the student has identical capacity to the teacher, the student only achieves $9 5 \%$ agreement with the teacher when we use $5 0 k$ synthetic images for distillation.
|
| 165 |
+
|
| 166 |
+
The drop in train agreement is even more pronounced when we use extensive data augmentation. In Figure $\checkmark$ right panel, we report the teacher-student agreement on the train set with data augmentation for a subset of augmentation strategies presented in Section $\underline { { \boldsymbol { \mathsf { F . 1 } } } } \big \| .$ We use the CIFAR-100 dataset and the ResNet-56 model for the teachers and the students (for details, see Section $5 . 1 )$ . In each case, we measure agreement on the augmented training set that was used during distillation. While for the baseline augmentation strategy, we can achieve almost perfect teacher-student agreement, for heavier augmentations the agreement drops dramatically. For the Rotation, Vertical Flip and Color Jitter augmentations, the agreement is between $8 0 \%$ and $9 0 \%$ for all the considered teacher sizes. For Combined Augs, the combination of these three augmentation strategies, the agreement drops even further, to just $6 0 \%$ in self-distillation!
|
| 167 |
+
|
| 168 |
+
Our intuition about how knowledge distillation should work largely hinges on the assumption that after distillation the student matches the teacher on the distillation set. However, the results presented in this section suggest that in practice the optimization method is unable to achieve high fidelity even on the distillation dataset when extensive data augmentation or synthetic data is used. The inability to solve the optimization problem undermines distillation: in order to find a student that would match the teacher on all inputs, we need to at least be able to find a student that would match the teacher on all of the distillation data.
|
| 169 |
+
|
| 170 |
+
Optimization and the train-test fidelity gap. Notably, despite having the lowest train agreement, the Combined Augs policy results in better test agreement than other polices with better train agreement (Figure $3 )$ ). This result highlights a fundamental trade-off in knowledge distillation: the student needs many teacher labels match the teacher on test, but introducing examples not in the teacher train data makes matching the teacher on the distillation data very difficult.
|
| 171 |
+
|
| 172 |
+

|
| 173 |
+
Figure 6: Optimization and distillation: self-distillation with ResNet-20s with LayerNorm on CIFAR-100. (a): Final train agreement for SGD and Adam optimizers. Training longer improves agreement, but it remains below $8 5 \%$ even after $5 k$ epochs. (b): Final train loss and agreement when the initialization is a convex combination of teacher and random weights, $\theta _ { s } = \lambda \theta _ { t } + \mathbf { \bar { ( } 1 - } \lambda ) \theta _ { r }$ . (c): Projections of the distillation loss surface on the plane intersecting $\theta _ { t }$ , the initial student weights, and the final student weights for different $\lambda$ . When $\lambda$ is small, the student converges to a suboptimal solution with low agreement. The uncertainty regions correspond to $\mu \pm \sigma$ , estimated over 3 trials.
|
| 174 |
+
|
| 175 |
+
# 6.2 Why is train agreement so low?
|
| 176 |
+
|
| 177 |
+
A simplified distillation experiment. To simplify our exploration, we focus on self-distillation of a ResNet-20 on CIFAR-100. We use the Baseline data augmentation strategy, as we found that a ResNet-20 student is unable to match the teacher on train even with basic augmentation. We also replace the BatchNorm layers $\mathbb { \left. \overline { { 2 5 } } \right. }$ in ResNet-20 with LayerNorm $\pmb { \left[ \sqrt { 3 } \right] }$ , because we found that with BatchNorm layers even when the teacher and the student have identical weights, they can make different predictions due to differences in the activation statistics accumulated by the BatchNorm layers. Layer normalization does not collect any activation statistics, so the student will match the teacher as long as the weights coincide.
|
| 178 |
+
|
| 179 |
+
Can we solve the optimization problem better? We verify that the distillation fidelity cannot be significantly improved by training longer or with a different optimizer. By default, in our experiments we use stochastic gradient descent (SGD) with momentum, train the student for 300 epochs, and use a weight decay value of $1 0 ^ { - 4 }$ . In Figure $\boxed { 6 }$ we report the results for the SGD and Adam $\mathbb { \ Z } \mathbb { 1 }$ optimizers run for $1 k$ and $5 k$ epochs without weight decay. Switching from SGD to Adam only reduced fidelity.
|
| 180 |
+
|
| 181 |
+
For both optimizers, training for more epochs does slightly improve train agreement. In particular, with SGD we achieve $8 3 . 3 \%$ agreement when training for $5 k$ epochs compared to $7 8 . 9 5 \%$ when training for 300 epochs. It is possible, though unlikely, that if we train for even more epochs the train agreement could reach $1 0 0 \%$ . However, training for $5 k$ epochs is significantly longer than what is typically done in practice (100 to 500 epochs). Furthermore, the improvement from $1 k$ to $5 k$ epochs is only about $2 \%$ , suggesting that we would need to train for tens of thousands of epochs, even in the optimistic case that agreement improves linearly, in order to get close to $1 0 0 \%$ train agreement.
|
| 182 |
+
|
| 183 |
+
The distillation loss surface hypothesis: If we cannot perfectly distill a ResNet-20 on CIFAR-100 with any of the interventions we have discussed so far, we now ask if there is any modification of the problem that can produce a high-fidelity student.
|
| 184 |
+
|
| 185 |
+
In the self-distillation setting, we do know of at least one set of weights that is optimal w.r.t. the distillation loss — the teacher’s own weights $\theta _ { t }$ . Letting $\theta _ { r }$ be a random weight initialization, in Figure $\boxed { 6 }$ (a) we examine the effect of choosing the student initialization to be a convex combination of the teacher and random weights, $\theta _ { s } = \lambda \bar { \theta _ { t } } + ( 1 - \lambda ) \theta _ { r }$ . After being initialized in this way, the student was trained as before. In other words $\lambda = 0$ corresponds to a random initialization and $\lambda = 1$ corresponds to initializing the student weights at the final teacher weights.
|
| 186 |
+
|
| 187 |
+
We find that if the student is initialized far from the teacher $\lambda \leq 0 . 2 5 )$ , the optimizer converges to a sub-optimal value of the distillation loss, producing a student that significantly disagrees with the teacher. However at $\lambda = 0 . 3 7 5$ there is a sudden change. The final train loss drops to the optimal value and the agreement drastically increases, and the behavior continues for $\lambda > 0 . 3 7 5$ . To further investigate, in Figure $6 ( \mathrm { c ) }$ we visualize the distillation loss surface for $\lambda \in \{ 0 , 0 . 2 5 , 0 . 3 7 5 \}$ projected on the 2D subspace intersecting $\theta _ { t }$ , the initial student weights, and the final student weights. If the student is initialized far from the teacher $( \lambda \in \{ 0 , 0 . 2 5 \} )$ , it converges to a distinct, sub-optimal basin of the loss surface. On the other hand, when initialized close to the teacher $\lambda = 0 . 3 7 5$ ), the student converges to the same basin as the teacher, achieving nearly $100 \%$ agreement.
|
| 188 |
+
|
| 189 |
+
Table 1: We examine whether fidelity can be improved in the context of ResNet-20 self-distillation on CIFAR-100 if the teacher and student share the same weight initialization. All metrics are computed on the test set. A shared initialization does make the student slightly more similar to the teacher in activation space (measured by CKA), but in function space the results are indistinguishable from randomly initialized students. We report the mean and standard deviation, estimated from 10 trials. The average teacher accuracy was 70.522 (0.412).
|
| 190 |
+
|
| 191 |
+
<table><tr><td colspan="3"></td><td colspan="3">CKA (1)</td></tr><tr><td>Init.</td><td>Agree. (↑)</td><td>KL (↓)</td><td>Stage 1</td><td> Stage 2</td><td>Stage 3</td></tr><tr><td>Rand.</td><td>77.174 (0.352)</td><td>0.836 (0.016)</td><td>0.939 (0.017)</td><td>0.925 (0.027)</td><td>0.885 (0.011)</td></tr><tr><td>Teach.</td><td>77.098 (0.238)</td><td>0.838 (0.020)</td><td>0.951 (0.017)</td><td>0.937 (0.020)</td><td>0.890 (0.015)</td></tr></table>
|
| 192 |
+
|
| 193 |
+
Is using the initial teacher weights enough for good fidelity? If good fidelity can be obtained by initializing the student near the final teacher weights, it is possible that similar results could be obtained by initializing the student at the initial teacher weights. In Table $^ 1$ we compare students distilled from random initializations with those initialized at the initial teacher weights. In addition to the metrics reported in the rest of the paper, we also include the centered kernel alignment (CKA) $\pmb { \Vert 2 8 \Vert }$ of the preactivations of each of the teacher and student networks. There is a small increase in CKA, indicating that sharing an initialization between teacher and student does increase alignment in activation space, but functionally the students are identical to their randomly initialized counterparts – there is no observable change in accuracy, agreement, or predictive KL when compared to random initialization.
|
| 194 |
+
|
| 195 |
+
To summarize, we have at last identified a root cause of the ineffectiveness of all our previous interventions on the knowledge distillation procedure. Knowledge distillation is unable to converge to optimal student parameters, even when we know a solution and give the initialization a small head start in the direction of an optimum. Indeed, while identifiability can be an issue, in order to match the teacher on all inputs, the student has to at least match the teacher on the data used for distillation, and achieve a near-optimal value of the distillation loss. Furthermore, the suboptimal convergence of knowledge distillation appears to be a consequence of the optimization dynamics specifically, and not simply initialization bias. In practice, optimization converges to sub-optimal solutions, leading to poor distillation fidelity.
|
| 196 |
+
|
| 197 |
+
# 7 Discussion
|
| 198 |
+
|
| 199 |
+
Our work provides several new key findings about knowledge distillation:
|
| 200 |
+
|
| 201 |
+
• Good student accuracy does not imply good distillation fidelity: even outside of selfdistillation, the models with the best generalization do not always achieve the best fidelity. • Student fidelity is correlated with calibration when distilling ensembles: although the highest-fidelity student is not always the most accurate, it is always the best calibrated. • Optimization is challenging in knowledge distillation: even in cases when the student has sufficient capacity to match the teacher on the distillation data, it is unable to do so. • There is a trade-off between optimization complexity and distillation data quality: Enlarging the distillation dataset beyond the teacher training data makes it easier for the student to identify the correct solution, but also makes an already difficult optimization problem harder.
|
| 202 |
+
|
| 203 |
+
In standard deep learning, we are saved by not needing to solve the optimization problem well: while it true that our training loss is highly multimodal, properties such as the flatness of good solutions, the inductive biases of the network, and the implicit biases of SGD, often enable good generalization in practice. In knowledge distillation, however, good fidelity is directly aligned with solving what turns out to be an exceptionally difficult optimization problem.
|
| 204 |
+
|
| 205 |
+
# Acknowledgements
|
| 206 |
+
|
| 207 |
+
The authors would like to thank Gregory Benton, Marc Finzi, Sanae Lotfi, Nate Gruver, and Ben Poole for helpful feedback. This research is supported by an Amazon Research Award, NSF I-DISRE 193471, NIH R01DA048764-01A1, NSF IIS-1910266, and NSF 1922658NRT-HDR: FUTURE Foundations, Translation, and Responsibility for Data Science. Samuel Stanton is also supported by a United States Department of Defense NDSEG fellowship.
|
| 208 |
+
|
| 209 |
+
# References
|
| 210 |
+
|
| 211 |
+
[1] Anil, R., Gupta, V., Koren, T., Regan, K., and Singer, Y. (2021). Scalable second order optimization for deep learning. arXiv preprint arXiv:2002.09018.
|
| 212 |
+
[2] Ba, J. and Caruana, R. (2014). Do deep nets really need to be deep? Advances in neural information processing systems, 27:2654–2662.
|
| 213 |
+
[3] Ba, J. L., Kiros, J. R., and Hinton, G. E. (2016). Layer normalization. Proceedings of the NIPS 2016 Deep Learning Symposium.
|
| 214 |
+
[4] Beyer, L., Zhai, X., Royer, A., Markeeva, L., Anil, R., and Kolesnikov, A. (2021). Knowledge distillation: A good teacher is patient and consistent.
|
| 215 |
+
[5] Bucila, C., Caruana, R., and Niculescu-Mizil, A. (2006). Model compression. In ˘ Proceedings of the 12th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 535–541.
|
| 216 |
+
[6] Che, Z., Purushotham, S., Khemani, R., and Liu, Y. (2015). Distilling knowledge from deep networks with applications to healthcare domain. arXiv preprint arXiv:1512.03542.
|
| 217 |
+
[7] Chebotar, Y. and Waters, A. (2016). Distilling knowledge from ensembles of neural networks for speech recognition. In Interspeech, pages 3439–3443.
|
| 218 |
+
[8] Chen, D., Mei, J.-P., Wang, C., Feng, Y., and Chen, C. (2020). Online knowledge distillation with diverse peers. In AAAI, pages 3430–3437.
|
| 219 |
+
[9] Chen, G., Choi, W., Yu, X., Han, T., and Chandraker, M. (2017). Learning efficient object detection models with knowledge distillation. In Advances in neural information processing systems, pages 742–751.
|
| 220 |
+
[10] Cho, J. H. and Hariharan, B. (2019). On the efficacy of knowledge distillation. In Proceedings of the IEEE International Conference on Computer Vision, pages 4794–4802.
|
| 221 |
+
[11] Cohen, G., Afshar, S., Tapson, J., and Van Schaik, A. (2017). Emnist: Extending mnist to handwritten letters. In 2017 International Joint Conference on Neural Networks (IJCNN), pages 2921–2926. IEEE.
|
| 222 |
+
[12] Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. (2009). Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee.
|
| 223 |
+
[13] Fakoor, R., Mueller, J. W., Erickson, N., Chaudhari, P., and Smola, A. J. (2020). Fast, accurate, and simple models for tabular data via augmented distillation. Advances in Neural Information Processing Systems, 33.
|
| 224 |
+
[14] Furlanello, T., Lipton, Z., Tschannen, M., Itti, L., and Anandkumar, A. (2018). Born again neural networks. In International Conference on Machine Learning, pages 1607–1616. PMLR.
|
| 225 |
+
[15] Goldblum, M., Fowl, L., Feizi, S., and Goldstein, T. (2020). Adversarially robust distillation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 3996–4003.
|
| 226 |
+
[16] Guo, C., Pleiss, G., Sun, Y., and Weinberger, K. Q. (2017). On calibration of modern neural networks. In International Conference on Machine Learning, pages 1321–1330. PMLR.
|
| 227 |
+
[17] Gupta, V., Koren, T., and Singer, Y. (2018). Shampoo: Preconditioned stochastic tensor optimization. In International Conference on Machine Learning, pages 1842–1850.
|
| 228 |
+
[18] Han, S., Mao, H., and Dally, W. J. (2016). Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In International Conference on Learning Representations.
|
| 229 |
+
[19] Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., Gérard-Marchant, P., Sheppard, K., Reddy, T., Weckesser, W., Abbasi, H., Gohlke, C., and Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825):357–362.
|
| 230 |
+
[20] He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778.
|
| 231 |
+
[21] Heo, B., Lee, M., Yun, S., and Choi, J. Y. (2019). Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3779–3787.
|
| 232 |
+
[22] Hinton, G., Vinyals, O., and Dean, J. (2015). Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531.
|
| 233 |
+
[23] Hu, Z., Ma, X., Liu, Z., Hovy, E., and Xing, E. (2016a). Harnessing deep neural networks with logic rules. In Association for Computational Linguistics.
|
| 234 |
+
[24] Hu, Z., Yang, Z., Salakhutdinov, R., and Xing, E. (2016b). Deep neural networks with massive learned knowledge. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1670–1679.
|
| 235 |
+
[25] Ioffe, S. and Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR.
|
| 236 |
+
[26] Kim, Y. and Rush, A. M. (2016). Sequence-level knowledge distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1317–1327.
|
| 237 |
+
[27] Kingma, D. P. and Ba, J. (2015). Adam: A method for stochastic optimization. In International Conference on Learning Representations.
|
| 238 |
+
[28] Kornblith, S., Norouzi, M., Lee, H., and Hinton, G. (2019). Similarity of neural network representations revisited. In International Conference on Machine Learning, pages 3519–3529. PMLR.
|
| 239 |
+
[29] Krizhevsky, A. et al. (2009). Learning multiple layers of features from tiny images.
|
| 240 |
+
[30] LeCun, Y., Boser, B., Denker, J. S., Henderson, D., Howard, R. E., Hubbard, W., and Jackel, L. D. (1989a). Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4):541–551.
|
| 241 |
+
[31] LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324.
|
| 242 |
+
[32] LeCun, Y., Denker, J. S., Solla, S. A., Howard, R. E., and Jackel, L. D. (1989b). Optimal brain damage. In NIPs, volume 2, pages 598–605. Citeseer.
|
| 243 |
+
[33] Liu, X., Wang, X., and Matwin, S. (2018). Improving the interpretability of deep neural networks with knowledge distillation. In 2018 IEEE International Conference on Data Mining Workshops (ICDMW), pages 905–912. IEEE.
|
| 244 |
+
[34] Maas, A. L., Daly, R. E., Pham, P. T., Huang, D., Ng, A. Y., and Potts, C. (2011). Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 142–150, Portland, Oregon, USA. Association for Computational Linguistics.
|
| 245 |
+
[35] Malinin, A., Mlodozeniec, B., and Gales, M. (2019). Ensemble distribution distillation. In International Conference on Learning Representations.
|
| 246 |
+
[36] Marcel, S. and Rodriguez, Y. (2010). Torchvision the machine-vision package of torch. In Proceedings of the 18th ACM international conference on Multimedia, pages 1485–1488.
|
| 247 |
+
[37] Meng, Z., Li, J., Gong, Y., and Juang, B.-H. (2018). Adversarial teacher-student learning for unsupervised domain adaptation. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5949–5953. IEEE.
|
| 248 |
+
[38] Mishra, A. and Marr, D. (2018). Apprentice: Using knowledge distillation techniques to improve low-precision network accuracy. In International Conference on Learning Representations.
|
| 249 |
+
[39] Miyato, T., Kataoka, T., Koyama, M., and Yoshida, Y. (2018). Spectral normalization for generative adversarial networks. In International Conference on Learning Representations.
|
| 250 |
+
[40] Mobahi, H., Farajtabar, M., and Bartlett, P. L. (2020). Self-distillation amplifies regularization in hilbert space. Advances in Neural Information Processing Systems.
|
| 251 |
+
[41] Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. (2011). Reading digits in natural images with unsupervised feature learning. In Advances in Neural Information Processing Systems.
|
| 252 |
+
[42] Papernot, N., McDaniel, P., Wu, X., Jha, S., and Swami, A. (2016). Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy $( S P )$ , pages 582–597. IEEE.
|
| 253 |
+
[43] Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. (2019a). Pytorch: An imperative style, high-performance deep learning library. In Wallach, H., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E., and Garnett, R., editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc.
|
| 254 |
+
[44] Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. (2019b). Pytorch: An imperative style, high-performance deep learning library. In Wallach, H., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E., and Garnett, R., editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc.
|
| 255 |
+
[45] Romero, A., Ballas, N., Kahou, S. E., Chassang, A., Gatta, C., and Bengio, Y. (2015). Fitnets: Hints for thin deep nets. International Conference on Learning Representations.
|
| 256 |
+
[46] Shen, Z., He, Z., and Xue, X. (2019). Meal: Multi-model ensemble via adversarial learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 4886–4893.
|
| 257 |
+
[47] Simonyan, K. and Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. International Conference on Learning Representations.
|
| 258 |
+
[48] Tan, S., Caruana, R., Hooker, G., and Lou, Y. (2018). Distill-and-compare: Auditing black-box models using transparent model distillation. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 303–310.
|
| 259 |
+
[49] Tokozume, Y., Ushiku, Y., and Harada, T. (2018). Between-class learning for image classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5486–5494.
|
| 260 |
+
[50] Urban, G., Geras, K. J., Kahou, S. E., Aslan, O., Wang, S., Caruana, R., Mohamed, A., Philipose, M., and Richardson, M. (2017). Do deep convolutional nets really need to be deep and convolutional? International Conference on Learning Representations.
|
| 261 |
+
[51] Van Rossum, G. and Drake, F. L. (2009). Python 3 Reference Manual. CreateSpace, Scotts Valley, CA.
|
| 262 |
+
[52] Yim, J., Joo, D., Bae, J., and Kim, J. (2017). A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4133–4141.
|
| 263 |
+
[53] You, S., Xu, C., Xu, C., and Tao, D. (2017). Learning from multiple teacher networks. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1285–1294.
|
| 264 |
+
[54] Zagoruyko, S. and Komodakis, N. (2017). Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. International Conference on Learning Representations.
|
| 265 |
+
[55] Zeng, X. and Martinez, T. R. (2000). Using a neural network to approximate an ensemble of classifiers. Neural Processing Letters, 12(3):225–237.
|
| 266 |
+
[56] Zhang, H., Cisse, M., Dauphin, Y. N., and Lopez-Paz, D. (2018). Mixup: Beyond empirical risk minimization. International Conference on Learning Representations.
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_content_list.json
ADDED
|
@@ -0,0 +1,1222 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
"type": "text",
|
| 16 |
+
"text": "Samuel Stanton NYU ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
246,
|
| 19 |
+
200,
|
| 20 |
+
359,
|
| 21 |
+
228
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Pavel Izmailov NYU ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
437,
|
| 30 |
+
200,
|
| 31 |
+
542,
|
| 32 |
+
228
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Polina Kirichenko NYU ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
622,
|
| 41 |
+
200,
|
| 42 |
+
751,
|
| 43 |
+
228
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Alexander A. Alemi Google Research ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
285,
|
| 52 |
+
250,
|
| 53 |
+
424,
|
| 54 |
+
279
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Andrew Gordon Wilson NYU ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
545,
|
| 63 |
+
250,
|
| 64 |
+
712,
|
| 65 |
+
277
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
314,
|
| 76 |
+
535,
|
| 77 |
+
330
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Knowledge distillation is a popular technique for training a small student network to emulate a larger teacher model, such as an ensemble of networks. We show that while knowledge distillation can improve student generalization, it does not typically work as it is commonly understood: there often remains a surprisingly large discrepancy between the predictive distributions of the teacher and the student, even in cases when the student has the capacity to perfectly match the teacher. We identify difficulties in optimization as a key reason for why the student is unable to match the teacher. We also show how the details of the dataset used for distillation play a role in how closely the student matches the teacher — and that more closely matching the teacher paradoxically does not always lead to better student generalization. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
232,
|
| 86 |
+
344,
|
| 87 |
+
766,
|
| 88 |
+
497
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
520,
|
| 99 |
+
310,
|
| 100 |
+
536
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Large, deep networks can learn representations that generalize well. While smaller, more efficient networks lack the inductive biases to find these representations from training data alone, they may have the capacity to represent these solutions [e.g., 2, 18, 32, 45]. Influential work on knowledge distillation $\\overline { { \\| 2 2 } }$ argues that Bucila et al. ˘ [5] “demonstrate convincingly that the knowledge acquired by a large ensemble of models [the teacher] can be transferred to a single small model [the student]”. Indeed this quote encapsulates the conventional narrative of knowledge distillation: a student model learns a high-fidelity representation of a larger teacher, enabled by the teacher’s soft labels. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
173,
|
| 109 |
+
550,
|
| 110 |
+
825,
|
| 111 |
+
648
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Conversely, in Figure $\\perp$ we show that with modern architectures knowledge distillation can lead to students with very different predictions from their teachers, even when the student has the capacity to perfectly match the teacher. Indeed, it is becoming well-known that in self-distillation the student fails to match the teacher and, paradoxically, student generalization improves as a result [14, 40]. However, when the teacher is a large model (e.g. a deep ensemble) improvements in fidelity translate into improvements in generalization, as we show in Figure $1 ( \\mathsf { b } )$ . For these large models there is still a significant accuracy gap between student and teacher, so fidelity is aligned with generalization. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
654,
|
| 121 |
+
825,
|
| 122 |
+
751
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "We will distinguish between fidelity, the ability of a student to match a teacher’s predictions, and generalization, the performance of a student in predicting unseen, in-distribution data. We show that in many cases it is surprisingly difficult to obtain good student fidelity. In Section 5 we investigate the hypothesis that low fidelity is an identifiability problem that can be solved by augmenting the distillation dataset. In Section $\\boxed { 6 }$ we investigate the hypothesis that low fidelity is an optimization problem resulting in a failure of the student to match the teacher even on the original training dataset. We present a summary of our conclusions in Section 7. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
757,
|
| 132 |
+
825,
|
| 133 |
+
856
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Does knowledge distillation really work? In short: Yes, in the sense that it often improves student generalization. No, in that knowledge distillation often fails to live up to its name, transferring very limited knowledge from teacher to student. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
176,
|
| 142 |
+
861,
|
| 143 |
+
823,
|
| 144 |
+
902
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "image",
|
| 150 |
+
"img_path": "images/b16f411144a106e66a8b6b067f80e336493e1572c29f9021f516793d8553eb0c.jpg",
|
| 151 |
+
"image_caption": [
|
| 152 |
+
"Figure 1: Evaluating the fidelity of knowledge distillation. The effect of enlarging the CIFAR-100 distillation dataset with GAN-generated samples. (a): The student and teacher are both single ResNet-56 networks. Student fidelity increases as the dataset grows, but test accuracy decreases. (b): The student is a single ResNet-56 network and the teacher is a 3-component ensemble. Student fidelity again increases as the dataset grows, but test accuracy now slightly increases. The shaded region corresponds to $\\mu \\pm \\sigma$ , estimated over 3 trials. "
|
| 153 |
+
],
|
| 154 |
+
"image_footnote": [],
|
| 155 |
+
"bbox": [
|
| 156 |
+
199,
|
| 157 |
+
90,
|
| 158 |
+
799,
|
| 159 |
+
227
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 Related Work ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
345,
|
| 170 |
+
321,
|
| 171 |
+
363
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Knowledge distillation can improve model efficiency [38, 45], unsupervised domain adaptation [37], improved object detection $\\pmb { \\Vert }$ , model transparency $\\lVert \\rVert \\bigotimes \\rVert$ , and adversarial robustness [15, 42]. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
377,
|
| 181 |
+
825,
|
| 182 |
+
406
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Seminal work by Bucila et al. ˘ [5] showed that teacher-ensembles with thousands of simple components could be compressed into a single shallow network that matched or outperformed its teacher. Other early work proposed distilling ensembles of shallow networks into a single network [55], an idea which resonates with more recent work on the distillation of deep ensembles [2, 7, 46, 50, 53]. Recently Fakoor et al. [13] developed a data-augmentation scheme for the distillation of large ensembles of simple models for tabular data, achieving impressive results on a wide range of tabular benchmarks. Malinin et al. [35] proposed a method to model the implicit distribution over predictive distributions from which the ensemble component predictive distributions are drawn, rather than just the ensemble model average. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
411,
|
| 192 |
+
825,
|
| 193 |
+
537
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Our work focuses explicitly on student fidelity, decoupling our understanding of good fidelity from good generalization. We show that achieving good fidelity is extremely difficult, even with a variety of interventions, and seek to understand, by systematically considering several hypotheses, why knowledge distillation does not produce high fidelity students for modern architectures and datasets. In contrast, the distillation literature focuses largely on improving student generalization, without particularly distinguishing between fidelity and generalization. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
544,
|
| 203 |
+
825,
|
| 204 |
+
627
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "For example, concurrent work by Beyer et al. [4] does not carefully distinguish generalization and fidelity metrics, but they assert that high student fidelity is conceptually desirable and apparently difficult to achieve when measured as the gap between teacher and student accuracy. As a result their work focuses most heavily on practical modifications to the distillation procedure for the best student top-1 accuracy. In this paper we investigate many of the same prescriptions, including careful treatment of data augmentation (such as showing the teacher and student the exact same input images), the addition of MixUp, and extended training duration. We also find that such interventions do improve student accuracy, but there still remains a large discrepancy between the predictive distributions of the teacher and the student. We also investigate multiple optimizers. While we do not pursue Shampoo $\\mathbb { I Z } \\mathbb { I I }$ specifically, Beyer et al. $\\pmb { \\Vert 4 \\Vert }$ find similar qualitative results for Shampoo and Adam, besides faster convergence for Shampoo. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
632,
|
| 214 |
+
825,
|
| 215 |
+
785
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "3 Preliminaries ",
|
| 222 |
+
"text_level": 1,
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
806,
|
| 226 |
+
318,
|
| 227 |
+
824
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "We will focus on the supervised classification setting, with input space $\\mathcal { X }$ and label space $\\mathcal { V }$ , where $| { \\mathcal { V } } | = c$ . Let $f : \\mathcal { X } \\times \\Theta \\mathbb { R } ^ { c }$ be a classifier parameterized by $\\theta \\in \\Theta$ whose outputs define a categorical predictive distribution over $\\mathcal { V }$ , $\\hat { p } ( y = i | \\mathbf { x } ) = \\sigma _ { i } ( f ( \\mathbf { x } , \\theta ) )$ , where $\\sigma _ { i } ( { \\bf z } ) : = \\dot { \\exp ( z _ { i } ) } / \\sum _ { j } \\exp \\bar { ( } z _ { j } )$ is the softmax link function. We will often refer to the outputs of a classifier $\\mathbf { z } : = f ( \\mathbf { x } , \\theta )$ as logits. For convenience, we will use $t$ and $s$ as shorthand for $f _ { \\mathrm { t e a c h e r } }$ and $f _ { \\mathrm { s t u d e n t } }$ , respectively. When the teacher is an $m$ -component ensemble, the component logits $\\left( \\mathbf { z } _ { 1 } , \\ldots , \\mathbf { z } _ { m } \\right)$ , where $\\mathbf { z } _ { i } = f _ { i } ( \\mathbf { x } , \\theta _ { i } )$ , are combined to form the teacher logits: $\\begin{array} { r } { \\mathbf { z } _ { t } = \\log \\bar { ( \\sum _ { i = 1 } ^ { m } \\sigma ( \\mathbf { \\bar { z } } _ { i } ) / m ) } } \\end{array}$ . These combined logits correspond to the predictive distribution of the ensemble model average. The experiments in the main text consider $m \\in \\{ 1 , 3 , 5 \\}$ , and we include results up to $m = 1 2$ in Appendix B.2.1 ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
839,
|
| 237 |
+
825,
|
| 238 |
+
911
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
90,
|
| 248 |
+
825,
|
| 249 |
+
148
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "3.1 Knowledge Distillation ",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
162,
|
| 260 |
+
370,
|
| 261 |
+
178
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Hinton et al. $[ [ 2 2 ] ]$ proposed a simple approach to knowledge distillation. The student minimizes a weighted combination of two objectives, $\\mathcal { L } _ { s } : = \\alpha \\mathcal { L } _ { \\mathrm { N L L } } + ( 1 - \\alpha ) \\mathcal { L } _ { \\mathrm { K D } }$ , where $\\alpha \\in [ 0 , 1 )$ . Specifically, ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
173,
|
| 270 |
+
188,
|
| 271 |
+
826,
|
| 272 |
+
218
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "equation",
|
| 278 |
+
"img_path": "images/cb71c932a12c9ab68952314d721b8775d82ec4a2743705ae6677175ea85b298b.jpg",
|
| 279 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { N L L } } ( \\mathbf { z } _ { s } , \\mathbf { y } ) : = - \\sum _ { j = 1 } ^ { c } y _ { j } \\log \\sigma _ { j } ( \\mathbf { z } _ { s } ) , ~ \\mathcal { L } _ { \\mathrm { K D } } ( \\mathbf { z } _ { s } , \\mathbf { z } _ { t } ) : = - \\tau ^ { 2 } \\sum _ { j = 1 } ^ { c } \\sigma _ { j } \\left( \\frac { \\mathbf { z } _ { t } } { \\tau } \\right) \\log \\sigma _ { j } \\left( \\frac { \\mathbf { z } _ { s } } { \\tau } \\right) .\n$$",
|
| 280 |
+
"text_format": "latex",
|
| 281 |
+
"bbox": [
|
| 282 |
+
197,
|
| 283 |
+
223,
|
| 284 |
+
779,
|
| 285 |
+
267
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "$\\mathcal { L } _ { \\mathrm { N L L } }$ is the usual supervised cross-entropy between the student logits $\\mathbf { z } _ { s }$ and the one-hot labels $\\mathbf { y }$ . Recalling that $\\begin{array} { r } { \\mathrm { K L } ( p | | q ) = \\sum _ { j } p _ { j } ( \\log q _ { j } - \\log p _ { j } ) } \\end{array}$ , we see that $\\mathcal { L } _ { \\mathrm { N L L } }$ is equivalent (up to a constant) to the KL from the empirical data distribution to the student predictive distribution $( \\hat { p } _ { s } )$ . ${ \\mathcal { L } } _ { \\mathrm { K D } }$ is the added knowledge distillation term that encourages the student to match the teacher. It is the cross-entropy between the teacher and student predictive distributions $\\hat { p } _ { t } = \\sigma ( \\mathbf { z } _ { t } )$ and $\\hat { p } _ { s } = \\sigma ( { \\bf z } _ { s } )$ , both scaled by a temperature hyperparameter $\\tau > 0$ . If $\\tau = 1$ then ${ \\mathcal { L } } _ { \\mathrm { K D } }$ is similarly equivalent to the KL from the teacher to the student, $\\mathrm { K L } ( \\hat { p } _ { t } | | \\hat { p } _ { s } )$ . Since we focus on distillation fidelity, we choose $\\alpha = 0$ for all experiments in the main text to avoid any confounding from true labels, but we also include a limited ablation of $\\alpha$ in Figure $\\boxed { 1 4 }$ in Appendix $C . 5$ for the curious reader. ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
173,
|
| 294 |
+
271,
|
| 295 |
+
826,
|
| 296 |
+
400
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "As $\\tau \\to + \\infty$ , $\\nabla _ { \\mathbf { z } _ { s } } \\mathcal { L } _ { \\mathrm { K D } } ( \\mathbf { z } _ { s } , \\mathbf { z } _ { t } ) \\approx \\mathbf { z } _ { t } - \\mathbf { z } _ { s }$ , and thus in the limit $\\nabla _ { \\mathbf { z } _ { s } } \\mathcal { L } _ { \\mathrm { K D } }$ is approximately equivalent to $\\nabla _ { \\mathbf { z } _ { s } } | | \\mathbf { z } _ { t } - \\mathbf { z } _ { s } | | _ { 2 } ^ { 2 } / 2$ , assigning equal significance to every class logit, regardless of its contribution to the predictive distribution. In other words $\\tau$ determines the “softness” of the teacher labels, which in turn determines the allocation of student capacity. If the student is much smaller than the teacher, the student capacity can be focused on matching the teacher’s top- $k$ predictions, rather than matching the full teacher distribution by choosing a moderate value (e.g. $\\tau = 4$ ). In Appendix ${ \\bf B . l }$ we include further discussion on the interplay of teacher ensemble size, teacher network capacity, and distillation temperature on the student labels. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
404,
|
| 306 |
+
826,
|
| 307 |
+
515
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "The teacher and student often share at least some training data. It is also common to enlarge the student training data in some way (e.g. incorporating unlabeled examples as in Ba and Caruana $\\pmb { \\mathbb { D } } \\mathbf { l }$ ). When there is a possibility of confusion, we will refer to the student’s training data as the distillation data to distinguish it from the teacher’s training data. ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
173,
|
| 316 |
+
522,
|
| 317 |
+
825,
|
| 318 |
+
578
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "3.2 Metrics and Evaluation ",
|
| 325 |
+
"text_level": 1,
|
| 326 |
+
"bbox": [
|
| 327 |
+
174,
|
| 328 |
+
593,
|
| 329 |
+
377,
|
| 330 |
+
608
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "To measure generalization, we report top-1 accuracy, negative log-likelihood (NLL) and expected calibration error (ECE) $\\boxed { 1 1 6 }$ . To measure fidelity, we report the following: ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
171,
|
| 339 |
+
618,
|
| 340 |
+
823,
|
| 341 |
+
647
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "equation",
|
| 347 |
+
"img_path": "images/a559a29bcef38ef5367b475572a19dc8ef744e6ac20aecd0747505152909e9c2.jpg",
|
| 348 |
+
"text": "$$\n\\begin{array} { r l } & { \\displaystyle \\mathrm { A v e r a g e ~ T o p - 1 ~ A g r e e m e n t : } = \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } 1 \\{ \\mathrm { a r g m a x } \\sigma _ { j } ( \\mathbf { z } _ { t , i } ) = \\underset { j } { \\mathrm { a r g m a x } } \\sigma _ { j } ( \\mathbf { z } _ { s , i } ) \\} , } \\\\ & { \\displaystyle \\mathrm { A v e r a g e ~ P r e d i c t i v e ~ K L : } = \\frac { 1 } { n } \\sum _ { i = 1 } ^ { n } \\mathrm { K L } \\left( \\hat { p } _ { t } ( \\mathbf { y } | \\mathbf { x } _ { i } ) \\parallel \\hat { p } _ { s } ( \\mathbf { y } | \\mathbf { x } _ { i } ) \\right) , } \\end{array}\n$$",
|
| 349 |
+
"text_format": "latex",
|
| 350 |
+
"bbox": [
|
| 351 |
+
238,
|
| 352 |
+
652,
|
| 353 |
+
756,
|
| 354 |
+
737
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "Eqn. $( 2 )$ is the average agreement between the student and teacher’s top-1 label. Eqn. $\\textcircled{3}$ is the average KL divergence from the predictive distribution of the teacher to that of the student, a measure of fidelity sensitive to all of the labels. ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
174,
|
| 363 |
+
742,
|
| 364 |
+
825,
|
| 365 |
+
784
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 2
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "While improvements in generalization metrics are relatively easy to understand, interpreting fidelity metrics requires some care. For example, suppose we have three independent models: $f _ { 1 } , f _ { 2 }$ , and $f _ { 3 }$ that respectively achieve $55 \\%$ , $7 5 \\%$ , and $9 5 \\%$ test accuracy. $f _ { 1 }$ and $f _ { 3 }$ can agree on at most $60 \\%$ of points, whereas $f _ { 2 }$ and $f _ { 3 }$ agree on at least $70 \\%$ , but it would obviously be incorrect to make any claim about $f _ { 2 }$ being a better distillation of $f _ { 3 }$ since each model was trained completely independently. To account for such confounding when evaluating the distillation of a student $s$ from a teacher $t$ , we also evaluate another student $s ^ { \\prime }$ distilled through an identical procedure from an independent teacher. ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
173,
|
| 374 |
+
790,
|
| 375 |
+
825,
|
| 376 |
+
888
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "By comparing the fidelity of $( t , s )$ and $( t , s ^ { \\prime } )$ we can distinguish between a generic improvement in generalization and an improvement specifically to fidelity. If $s$ and $s ^ { \\prime }$ have comparable fidelity, then the students agree with the teacher at many points because they generalize well, and not the reverse. ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
174,
|
| 385 |
+
90,
|
| 386 |
+
826,
|
| 387 |
+
133
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "4 Knowledge Distillation Transfers Knowledge Poorly ",
|
| 394 |
+
"text_level": 1,
|
| 395 |
+
"bbox": [
|
| 396 |
+
173,
|
| 397 |
+
151,
|
| 398 |
+
637,
|
| 399 |
+
170
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 3
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "In this section, we present evidence that we are not able to distill large networks such as a ResNet-56 with high fidelity, and discuss why high fidelity is an important objective. ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
173,
|
| 408 |
+
184,
|
| 409 |
+
823,
|
| 410 |
+
212
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "4.1 When is knowledge transfer successful? ",
|
| 417 |
+
"text_level": 1,
|
| 418 |
+
"bbox": [
|
| 419 |
+
174,
|
| 420 |
+
228,
|
| 421 |
+
488,
|
| 422 |
+
242
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 3
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "We first consider the easy task of distilling a LeNet-5 teacher into an identical student network as a motivating example. We train the teacher on a random subset of 200 examples from the MNIST training set for 100 epochs, resulting in a $8 4 \\%$ to $8 6 \\%$ teacher test accuracy across different subsets.2 We then distill the teacher using the full MNIST train dataset with 60,000 examples, as well as $2 5 \\%$ , $50 \\%$ , and $100 \\%$ of the EMNIST train dataset [11]. The EMNIST train set contains 697,932 images. ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
174,
|
| 431 |
+
252,
|
| 432 |
+
826,
|
| 433 |
+
324
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 3
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "In Figure $2$ we see that knowledge distillation works as expected. With enough examples the student learns to make the same predictions as the teacher (over $9 9 \\%$ top-1 test agreement). Notably, in this case, self-distillation does not improve generalization, since the slight difference between the teacher and student accuracy is explained by variance between trials. ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
174,
|
| 442 |
+
329,
|
| 443 |
+
825,
|
| 444 |
+
385
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 3
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "Now we consider a more challenging task: distilling a ResNet-56 teacher trained on CIFAR-100 into an identical student network (Figure $^ { 1 , }$ left). Since no dataset drawn from the same distribution as CIFAR-100 is publicly available, to augment the distillation data, we instead combined samples from an SN-GAN $\\textcircled { \\ 3 9 }$ pre-trained on CIFAR-100 with the original CIFAR-100 train dataset. Appendix A.3 details the hyperparameters and training procedure for the GAN, teacher, and student. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
174,
|
| 453 |
+
391,
|
| 454 |
+
550,
|
| 455 |
+
516
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 3
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "Like the MNIST experiment, as we enlarge the distillation dataset the student fidelity improves. However, in this case the improvement is modest, with the fidelity reaching nowhere near $9 9 \\%$ test agreement. Since a ResNet-56 has many more parameters than a LeNet-5, it is possible that the student simply has not seen enough examples to perfectly emulate the teacher, a hypothesis we discuss in more detail in Section $\\underline { { \\boldsymbol { \\mathsf { F . 1 } } } } \\big \\| .$ Also, like the MNIST experiment, as the distillation dataset grows the student accuracy approaches the teacher’s. Unlike the MNIST experiment, the student test accuracy is higher than the teacher’s when the distillation dataset is small, so increasing fidelity decreases student generalization. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
174,
|
| 464 |
+
522,
|
| 465 |
+
549,
|
| 466 |
+
660
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "image",
|
| 472 |
+
"img_path": "images/346544e04a6a5855d2eed11bdd0190beeb1adbb82c1cd34a0f17fe19958b3f37.jpg",
|
| 473 |
+
"image_caption": [
|
| 474 |
+
"Figure 2: LeNet-5 self-distillation on MNIST with additional distillation data. The shaded region corresponds to $\\mu \\pm \\sigma$ , estimated over 3 trials. "
|
| 475 |
+
],
|
| 476 |
+
"image_footnote": [],
|
| 477 |
+
"bbox": [
|
| 478 |
+
571,
|
| 479 |
+
409,
|
| 480 |
+
813,
|
| 481 |
+
561
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 3
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "text",
|
| 487 |
+
"text": "",
|
| 488 |
+
"bbox": [
|
| 489 |
+
176,
|
| 490 |
+
661,
|
| 491 |
+
826,
|
| 492 |
+
688
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 3
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "4.2 What can self-distillation tell us about knowledge distillation in general? ",
|
| 499 |
+
"text_level": 1,
|
| 500 |
+
"bbox": [
|
| 501 |
+
176,
|
| 502 |
+
704,
|
| 503 |
+
714,
|
| 504 |
+
719
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 3
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "We have seen in Figure $\\mathbb { U } ( { \\mathrm { a } } )$ that with self-distillation the student can exceed the teacher performance, in accordance with Furlanello et al. [14]. This result is only possible by virtue of failing at the distillation procedure: if the student matched the teacher perfectly then the student could not outperform the teacher. On the other hand, if the teacher generalizes significantly better than an independently trained student, we would expect the benefits of fidelity to dominate other regularization effects associated with not matching the teacher. This setting reflects the original motivation for knowledge distillation, where we wish to faithfully transfer the representation discovered by a large model or ensemble of models into a more efficient student. ",
|
| 511 |
+
"bbox": [
|
| 512 |
+
173,
|
| 513 |
+
729,
|
| 514 |
+
825,
|
| 515 |
+
840
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 3
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "text",
|
| 521 |
+
"text": "In Figure $\\mathbb { M } ( { \\mathsf { b } } )$ we see that if we move from self-distillation to the distillation of a 3 ResNet-56 teacher ensemble, fidelity becomes positively correlated with generalization. But there is still a significant gap in fidelity, even after the distillation set is enlarged with $5 0 k$ GAN samples. In practice, the gap remains large enough that higher fidelity students do not always have better generalization, and the regularization effects we see in self-distillation do play a role for more broadly understanding student generalization. We will indeed show in Section $\\boxed { 5 }$ that higher fidelity students do not always generalize better, even if the teacher generalizes much better than the student. ",
|
| 522 |
+
"bbox": [
|
| 523 |
+
176,
|
| 524 |
+
847,
|
| 525 |
+
823,
|
| 526 |
+
876
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 3
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "image",
|
| 532 |
+
"img_path": "images/a6142c0a9a06255373aeb1f38774818c84e68662d3c4d427eee5d2f1eff00a17.jpg",
|
| 533 |
+
"image_caption": [
|
| 534 |
+
"Figure 3: Data augmentation and distillation: Test accuracy and teacher-student agreement when distilling a 5-component ResNet-56 teacher ensemble into a ResNet-56 student on CIFAR-100 with varying augmentation policies. The best performing policy is shown in green, results averaged over 3 runs. Additional metrics are reported in Figure $1 \\bar { 1 }$ in Appendix $\\mathbf { C } .$ Mixup and GAN augmentation provide the best generalization, and Mixup $\\tau = 4$ ) provides the best fidelity. The baseline policy (crops and flips) with $\\tau = 4$ is a surprisingly strong baseline. The error bars indicate $\\pm \\sigma$ . "
|
| 535 |
+
],
|
| 536 |
+
"image_footnote": [],
|
| 537 |
+
"bbox": [
|
| 538 |
+
192,
|
| 539 |
+
90,
|
| 540 |
+
805,
|
| 541 |
+
185
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
308,
|
| 551 |
+
825,
|
| 552 |
+
377
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "4.3 If distillation already improves generalization, why care about fidelity? ",
|
| 559 |
+
"text_level": 1,
|
| 560 |
+
"bbox": [
|
| 561 |
+
174,
|
| 562 |
+
398,
|
| 563 |
+
704,
|
| 564 |
+
412
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "While knowledge distillation does often improve generalization, understanding the relationship between fidelity and generalization, and how to maximize fidelity, is important for several reasons — including better generalization! ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
176,
|
| 573 |
+
425,
|
| 574 |
+
826,
|
| 575 |
+
467
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "Better generalization in distilling large teacher models and ensembles. Knowledge distillation was initially motivated as a means to deploy powerful models to small devices or low-latency controllers [e.g., 10, 21, 26, 52, 54]. While in self-distillation generalization and fidelity are in tension, there is often a significant disparity in generalization between large teacher models, including ensembles, and smaller students. We have seen this disparity in Figure $\\bar { \\mathbb { M } } ( { \\mathfrak { b } } )$ . We additionally show in Figure 10 in Appendix $\\underline { { \\overline { { \\mathbf { B . l } } } } } ]$ that as we increase the number of ensemble components, the generalization disparity between teacher and distilled student increases. Improving student fidelity is the most obvious way to close the generalization disparity between student and teacher in these settings. Even if one exclusively cares about student accuracy, fidelity is a key consideration outside self-distillation. ",
|
| 582 |
+
"bbox": [
|
| 583 |
+
173,
|
| 584 |
+
473,
|
| 585 |
+
825,
|
| 586 |
+
598
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 4
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "Interpretability and reliability. Knowledge distillation has been identified as a means to transfer representations discovered by large black-box models into simpler more interpretable models, for example to provide insights into medical diagnostics, or discovering rules for understanding sentiment in text [e.g., 23, 24, 6, 33, 8]. The ability to perform this transfer could have extraordinary scientific consequences: large models can often discover structure in data that we would not have anticipated a priori. Moreover, we often want to transfer properties such as well-calibrated uncertainties or robustness, which have been well-established for larger models, so that we can safely deploy more efficient models in their place. In both cases, achieving good distillation fidelity is crucial. ",
|
| 593 |
+
"bbox": [
|
| 594 |
+
173,
|
| 595 |
+
603,
|
| 596 |
+
825,
|
| 597 |
+
715
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 4
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "Understanding. The name knowledge distillation implies we are transferring knowledge from the teacher to the student. For this reason, improved student generalization as a consequence of a distillation procedure is sometimes conflated with fidelity. Decoupling fidelity and generalization, and explicitly studying fidelity, is foundational to understanding how knowledge distillation works and how we can make it more useful across a variety of applications. ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
174,
|
| 606 |
+
722,
|
| 607 |
+
825,
|
| 608 |
+
791
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 4
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "4.4 Possible causes of low distillation fidelity ",
|
| 615 |
+
"text_level": 1,
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
810,
|
| 619 |
+
493,
|
| 620 |
+
825
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 4
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "If we are able to match the student model to the teacher on a comprehensive distillation dataset, we expect it to match on the test data as well, achieving high distillation fidelity3. Possible causes of the poor distillation fidelity in our CIFAR-100 experiments include: ",
|
| 627 |
+
"bbox": [
|
| 628 |
+
176,
|
| 629 |
+
838,
|
| 630 |
+
825,
|
| 631 |
+
880
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 4
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "image",
|
| 637 |
+
"img_path": "images/8a2a6126b32fff96f219ed1e9e4115bce416ee0fae8ece2522be6c23d9e96dca.jpg",
|
| 638 |
+
"image_caption": [
|
| 639 |
+
"Figure 4: Data recycling and distillation: results on subsampled CIFAR-100. Top: We fix the temperature $( \\tau = 4$ ) and vary the number of ensemble components $( m )$ , comparing students distilled on the same dataset as the teacher $( \\mathcal { D } _ { 0 } / \\mathcal { D } _ { 0 } )$ , a reserved dataset $( \\mathcal { D } _ { 0 } / \\mathcal { D } _ { 1 } )$ , or both $( \\mathcal { D } _ { 0 } / \\mathcal { D } _ { 0 } \\cup \\mathcal { D } _ { 1 } )$ . Distilling on both produces the best result, while distilling on $\\mathcal { D } _ { 0 }$ increases accuracy and decreases fidelity, relative to $\\mathcal { D } _ { 1 }$ . Bottom: We repeat the experiment, but fix $m = 3$ and vary $\\tau$ . The shaded region corresponds to $\\mu \\pm \\sigma$ , estimated over 3 trials. "
|
| 640 |
+
],
|
| 641 |
+
"image_footnote": [],
|
| 642 |
+
"bbox": [
|
| 643 |
+
173,
|
| 644 |
+
90,
|
| 645 |
+
825,
|
| 646 |
+
301
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "Student capacity – We observe low fidelity even in the self-distillation setting, so we can rule out student capacity as a primary cause, but we also confirm in Figure 12 in Appendix $\\mathbb { E . l }$ that increasing the student capacity has very little effect on fidelity in the ensemble-distillation setting. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
430,
|
| 656 |
+
825,
|
| 657 |
+
473
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 5
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Network architecture – Low fidelity could be specific to ResNet-like architectures, an explanation we rule out by showing similar results with VGG networks [47] in Figure 13 in Appendix C.2. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
171,
|
| 666 |
+
478,
|
| 667 |
+
823,
|
| 668 |
+
507
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 5
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "Dataset scale and complexity – we provide similar results in Section C.3 for ImageNet, showing that our findings apply to datasets of larger scale and complexity. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
174,
|
| 677 |
+
512,
|
| 678 |
+
821,
|
| 679 |
+
541
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "Data domain – Similarly in Section $\\boxed { C . 4 }$ we observe low distillation fidelity in the context of text classification (sentiment analysis on the IMDB dataset), showing our results are relevant beyond image classification. ",
|
| 686 |
+
"bbox": [
|
| 687 |
+
174,
|
| 688 |
+
546,
|
| 689 |
+
825,
|
| 690 |
+
589
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 5
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "Identifiability (Section $5$ ) – the distillation data is insufficient to distinguish high-fidelity and lowfidelity students. In other words, matching the teacher predictions on the distillation dataset does not lead to matching predictions on the test data. ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
174,
|
| 699 |
+
595,
|
| 700 |
+
825,
|
| 701 |
+
637
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 5
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "Optimization (Section 6) – we are unable to solve the distillation optimization problem sufficiently well. The student does not agree with the teacher on test because it does not even agree on train. ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
171,
|
| 710 |
+
643,
|
| 711 |
+
825,
|
| 712 |
+
672
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 5
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "5 Identifiability: Are We Using the Right Distillation Dataset? ",
|
| 719 |
+
"text_level": 1,
|
| 720 |
+
"bbox": [
|
| 721 |
+
171,
|
| 722 |
+
695,
|
| 723 |
+
705,
|
| 724 |
+
714
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 5
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "We investigate whether it is possible to attain the level of fidelity observed with LeNet-5s on MNIST with ResNets on CIFAR-100 by addressing the identifiability problem — have we shown the student enough of the right input-teacher label pairs to define the solution we want? ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
729,
|
| 734 |
+
825,
|
| 735 |
+
772
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 5
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "5.1 Should we do more data augmentation? ",
|
| 742 |
+
"text_level": 1,
|
| 743 |
+
"bbox": [
|
| 744 |
+
173,
|
| 745 |
+
794,
|
| 746 |
+
488,
|
| 747 |
+
809
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 5
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "Data augmentation is a simple and practical method to increase the support of the distillation data distribution. If identifiability is a primary cause of poor distillation fidelity, using a more extensive data augmentation strategy during distillation should improve fidelity. ",
|
| 754 |
+
"bbox": [
|
| 755 |
+
176,
|
| 756 |
+
820,
|
| 757 |
+
825,
|
| 758 |
+
863
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 5
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "To test this hypothesis, we evaluated the effect of several augmentation strategies on student fidelity and generalization. In Figure $^ { 3 , }$ the teacher is a 5-component ensemble of ResNet-56 networks trained on CIFAR-100 with the Baseline augmentation strategy: horizontal flips and random crops. ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
176,
|
| 767 |
+
869,
|
| 768 |
+
825,
|
| 769 |
+
911
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 5
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "We report the student accuracy and teacher-student agreement for each augmentation strategy, and also include results for Baseline with $\\tau = 1$ and $\\tau = 4$ to demonstrate the effect of logit tempering. ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
171,
|
| 778 |
+
92,
|
| 779 |
+
823,
|
| 780 |
+
119
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 6
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "We first observe that the best augmentation policies for generalization, $M i x U p$ , and $G A N \\mathbb { H }$ are not the best policies for fidelity. Furthermore, although many augmentation strategies enable slightly higher distillation fidelity compared to Baseline $\\tau = 1 .$ ), even the best augmentation policy, Mixup $\\tau = 4 ,$ ), only achieves a modest $86 \\%$ test agreement. In fact the Baseline $\\tau = 4 ,$ ) policy is quite competitive, achieving $8 4 . 5 \\%$ test agreement. Many of the augmentation strategies also slightly improve teacher-student KL relative to Baseline $\\tau = 4$ ) (see Figure $^ { 1 1 ) }$ ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
173,
|
| 789 |
+
126,
|
| 790 |
+
825,
|
| 791 |
+
209
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 6
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "In Figure 11 in Appendix ${ \\bf B } . 3$ we report all generalization and fidelity metrics for a range of ensemble sizes, as well as the results for the independent student baseline discussed in Section $\\underline { { \\bar { 3 . 2 } } }$ Often these independent students, taught how to mimic a completely different model, have nearly as good test agreement with the teacher as the student explicitly trained to emulate it. See Appendix $\\mathbf { \\bar { A } } . 1$ for a detailed description of the augmentation procedures. ",
|
| 798 |
+
"bbox": [
|
| 799 |
+
174,
|
| 800 |
+
215,
|
| 801 |
+
825,
|
| 802 |
+
285
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 6
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "Should data augmentation be close to the data distribution? In theory, any data augmentation should help with identifiability: if a student matches a teacher on more data, it is more likely to match the teacher elsewhere. However, the Noise and $O O D$ augmentation strategies based on noise and outof-distribution data fail on all metrics, decreasing performance compared to the baseline. In practice, data augmentation has an effect beyond improving identifiability — it has a regularizing effect, making optimization more challenging. We explore this facet of data augmentation in Section 6. ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
173,
|
| 811 |
+
291,
|
| 812 |
+
825,
|
| 813 |
+
375
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 6
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "text",
|
| 819 |
+
"text": "The slight improvements to fidelity with extensive augmentations suggest that increasing the support of the distillation dataset can indeed improve distillation fidelity. However, since the benefit is so small compared to heuristics like logit tempering (which does not modify the support at all), it is very unlikely that an insufficient quantity of teacher labels is the primary obstacle to high fidelity. ",
|
| 820 |
+
"bbox": [
|
| 821 |
+
174,
|
| 822 |
+
381,
|
| 823 |
+
825,
|
| 824 |
+
436
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 6
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "5.2 The data recycling hypothesis ",
|
| 831 |
+
"text_level": 1,
|
| 832 |
+
"bbox": [
|
| 833 |
+
174,
|
| 834 |
+
468,
|
| 835 |
+
418,
|
| 836 |
+
483
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 6
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "If simply showing the student more labels does not always significantly improve fidelity, perhaps we are not showing the student the right labels. Additional data augmentation during distillation does give the student more teacher labels to match, but also introduces a distribution shift between the images the teacher was trained on and the images the student is distilling on. Even when the teacher and student have the same augmentation policy, reusing the teacher’s training data for distillation violates the assumptions of empirical risk minimization (ERM) because the distillation data is not an independent draw from the true joint distribution over images and teacher labels. What if there was no augmentation distribution shift, and the student was distilled on a fresh draw from the joint test distribution over images and teacher labels? ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
174,
|
| 845 |
+
500,
|
| 846 |
+
825,
|
| 847 |
+
625
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 6
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "To investigate the effect of recycling teacher data during distillation we randomly split the CIFAR-100 training dataset $\\mathcal { D }$ into two equal parts, $\\mathcal { D } _ { 0 }$ and $\\mathcal { D } _ { 1 }$ . We train teacher ResNet-56 ensembles on $\\mathcal { D } _ { 0 }$ , and then compare $s _ { 0 }$ , a student distilled on the original $\\mathcal { D } _ { 0 }$ , $s _ { 1 }$ , a student distilled on the unseen $\\mathcal { D } _ { 1 }$ , and $s _ { 0 \\cup 1 }$ , a student distilled on both: $\\mathcal { D } _ { 0 } \\cup \\mathcal { D } _ { 1 }$ . Note that the students cannot access the true labels, only those provided by the teacher. We present the results in Figure 4, varying the ensemble size in the top row and the logit temperature in the bottom row. ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
174,
|
| 856 |
+
631,
|
| 857 |
+
825,
|
| 858 |
+
714
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 6
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "Surprisingly, $s _ { 0 }$ attains higher test accuracy than $s _ { 1 }$ , while showing worse ECE and lower fidelity (measured by test teacher-student agreement and test teacher-student KL). Therefore, the hypothesis that $s _ { 1 }$ should be a higher fidelity distillation of the teacher than $s _ { 0 }$ does hold, but the gain in fidelity does not result in $s _ { 1 }$ best replicating the teacher’s accuracy. The best attributes of $s _ { 0 }$ and $s _ { 1 }$ are combined by $s _ { 0 \\cup 1 }$ , which coincides with how unlabeled data is typically used in practice $\\pmb { \\left. 2 \\right. }$ . The reason for this puzzling observation is simply that for the larger teachers fidelity has not improved enough to also improve generalization. In fact, the best teacher-student agreement is only around $8 5 \\%$ , no improvement when compared to the results from extensive data augmentation in the last section. We again find that modifying the distillation data can slightly improve fidelity, but the evidence does not support blaming poor distillation fidelity on the wrong choice of distillation data. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
173,
|
| 867 |
+
720,
|
| 868 |
+
825,
|
| 869 |
+
859
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 6
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "image",
|
| 875 |
+
"img_path": "images/ac9d8cf1ad2151d45710ce595488770dc75dd7b48df44c2e8e14393f25a3bc6d.jpg",
|
| 876 |
+
"image_caption": [
|
| 877 |
+
"Figure 5: The train agreement for teacher ensembles $( m \\in \\{ 1 , 3 , 5 \\} )$ ) and student on the distillation data for a ResNet-56 on CIFAR-100 under different augmentation policies. In all panels, increasing the softness of the teacher labels by adding examples not in the teacher train data makes distillation more difficult. Left: agreement for the synthetic GAN-augmentation policy from Figure 1. Middle: agreement from subsampled CIFAR-100 experiment in Figure $\\sharp$ Right: agreement for some of the augmentation policies in Figure 3. The shaded region is not visible because the variance is very low. "
|
| 878 |
+
],
|
| 879 |
+
"image_footnote": [],
|
| 880 |
+
"bbox": [
|
| 881 |
+
171,
|
| 882 |
+
88,
|
| 883 |
+
825,
|
| 884 |
+
176
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 7
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "6 Optimization: Does the Student Match the Teacher on Distillation Data? ",
|
| 891 |
+
"text_level": 1,
|
| 892 |
+
"bbox": [
|
| 893 |
+
171,
|
| 894 |
+
311,
|
| 895 |
+
808,
|
| 896 |
+
330
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 7
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "If poor fidelity is not primarily an identifiability problem from the wrong choice of distillation data, perhaps there is a simpler explanation. Up to this point, we have focused on student fidelity on a held-out test set. Now we turn our attention to student behavior on the distillation data itself. Does the student match the teacher on the data it is trained to match it on? ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
174,
|
| 905 |
+
354,
|
| 906 |
+
825,
|
| 907 |
+
410
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "6.1 More distillation data lowers train agreement ",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
174,
|
| 917 |
+
444,
|
| 918 |
+
529,
|
| 919 |
+
459
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "In Figure 1 we presented an experiment distilling ResNet-56 networks on CIFAR-100 augmented with synthetic GAN-generated images. We saw that enlarging the distillation dataset leads to improved teacher-student agreement on test, but the agreement remains relatively low (below $8 0 \\%$ ) even for the largest distillation dataset that we considered. In Figure $5$ (left panel), we report the teacher-student agreement for the same experiment, but now on the distillation dataset. We now observe the opposite trend: as the distillation dataset becomes larger, it becomes more challenging for the student to match the teacher. Even when the student has identical capacity to the teacher, the student only achieves $9 5 \\%$ agreement with the teacher when we use $5 0 k$ synthetic images for distillation. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
476,
|
| 929 |
+
825,
|
| 930 |
+
588
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 7
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "The drop in train agreement is even more pronounced when we use extensive data augmentation. In Figure $\\checkmark$ right panel, we report the teacher-student agreement on the train set with data augmentation for a subset of augmentation strategies presented in Section $\\underline { { \\boldsymbol { \\mathsf { F . 1 } } } } \\big \\| .$ We use the CIFAR-100 dataset and the ResNet-56 model for the teachers and the students (for details, see Section $5 . 1 )$ . In each case, we measure agreement on the augmented training set that was used during distillation. While for the baseline augmentation strategy, we can achieve almost perfect teacher-student agreement, for heavier augmentations the agreement drops dramatically. For the Rotation, Vertical Flip and Color Jitter augmentations, the agreement is between $8 0 \\%$ and $9 0 \\%$ for all the considered teacher sizes. For Combined Augs, the combination of these three augmentation strategies, the agreement drops even further, to just $6 0 \\%$ in self-distillation! ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
174,
|
| 939 |
+
593,
|
| 940 |
+
825,
|
| 941 |
+
732
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 7
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Our intuition about how knowledge distillation should work largely hinges on the assumption that after distillation the student matches the teacher on the distillation set. However, the results presented in this section suggest that in practice the optimization method is unable to achieve high fidelity even on the distillation dataset when extensive data augmentation or synthetic data is used. The inability to solve the optimization problem undermines distillation: in order to find a student that would match the teacher on all inputs, we need to at least be able to find a student that would match the teacher on all of the distillation data. ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
174,
|
| 950 |
+
738,
|
| 951 |
+
825,
|
| 952 |
+
835
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "Optimization and the train-test fidelity gap. Notably, despite having the lowest train agreement, the Combined Augs policy results in better test agreement than other polices with better train agreement (Figure $3 )$ ). This result highlights a fundamental trade-off in knowledge distillation: the student needs many teacher labels match the teacher on test, but introducing examples not in the teacher train data makes matching the teacher on the distillation data very difficult. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
174,
|
| 961 |
+
842,
|
| 962 |
+
825,
|
| 963 |
+
911
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "image",
|
| 969 |
+
"img_path": "images/1548c429dc0ad80cae5a1fd8ff926d15a7672780d4723132d08c3a676d55517f.jpg",
|
| 970 |
+
"image_caption": [
|
| 971 |
+
"Figure 6: Optimization and distillation: self-distillation with ResNet-20s with LayerNorm on CIFAR-100. (a): Final train agreement for SGD and Adam optimizers. Training longer improves agreement, but it remains below $8 5 \\%$ even after $5 k$ epochs. (b): Final train loss and agreement when the initialization is a convex combination of teacher and random weights, $\\theta _ { s } = \\lambda \\theta _ { t } + \\mathbf { \\bar { ( } 1 - } \\lambda ) \\theta _ { r }$ . (c): Projections of the distillation loss surface on the plane intersecting $\\theta _ { t }$ , the initial student weights, and the final student weights for different $\\lambda$ . When $\\lambda$ is small, the student converges to a suboptimal solution with low agreement. The uncertainty regions correspond to $\\mu \\pm \\sigma$ , estimated over 3 trials. "
|
| 972 |
+
],
|
| 973 |
+
"image_footnote": [],
|
| 974 |
+
"bbox": [
|
| 975 |
+
169,
|
| 976 |
+
88,
|
| 977 |
+
813,
|
| 978 |
+
188
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "6.2 Why is train agreement so low? ",
|
| 985 |
+
"text_level": 1,
|
| 986 |
+
"bbox": [
|
| 987 |
+
176,
|
| 988 |
+
325,
|
| 989 |
+
429,
|
| 990 |
+
339
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 8
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "A simplified distillation experiment. To simplify our exploration, we focus on self-distillation of a ResNet-20 on CIFAR-100. We use the Baseline data augmentation strategy, as we found that a ResNet-20 student is unable to match the teacher on train even with basic augmentation. We also replace the BatchNorm layers $\\mathbb { \\left. \\overline { { 2 5 } } \\right. }$ in ResNet-20 with LayerNorm $\\pmb { \\left[ \\sqrt { 3 } \\right] }$ , because we found that with BatchNorm layers even when the teacher and the student have identical weights, they can make different predictions due to differences in the activation statistics accumulated by the BatchNorm layers. Layer normalization does not collect any activation statistics, so the student will match the teacher as long as the weights coincide. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
352,
|
| 1000 |
+
825,
|
| 1001 |
+
463
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Can we solve the optimization problem better? We verify that the distillation fidelity cannot be significantly improved by training longer or with a different optimizer. By default, in our experiments we use stochastic gradient descent (SGD) with momentum, train the student for 300 epochs, and use a weight decay value of $1 0 ^ { - 4 }$ . In Figure $\\boxed { 6 }$ we report the results for the SGD and Adam $\\mathbb { \\ Z } \\mathbb { 1 }$ optimizers run for $1 k$ and $5 k$ epochs without weight decay. Switching from SGD to Adam only reduced fidelity. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
469,
|
| 1011 |
+
825,
|
| 1012 |
+
540
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "For both optimizers, training for more epochs does slightly improve train agreement. In particular, with SGD we achieve $8 3 . 3 \\%$ agreement when training for $5 k$ epochs compared to $7 8 . 9 5 \\%$ when training for 300 epochs. It is possible, though unlikely, that if we train for even more epochs the train agreement could reach $1 0 0 \\%$ . However, training for $5 k$ epochs is significantly longer than what is typically done in practice (100 to 500 epochs). Furthermore, the improvement from $1 k$ to $5 k$ epochs is only about $2 \\%$ , suggesting that we would need to train for tens of thousands of epochs, even in the optimistic case that agreement improves linearly, in order to get close to $1 0 0 \\%$ train agreement. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
174,
|
| 1021 |
+
545,
|
| 1022 |
+
825,
|
| 1023 |
+
643
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 8
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "The distillation loss surface hypothesis: If we cannot perfectly distill a ResNet-20 on CIFAR-100 with any of the interventions we have discussed so far, we now ask if there is any modification of the problem that can produce a high-fidelity student. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
174,
|
| 1032 |
+
648,
|
| 1033 |
+
825,
|
| 1034 |
+
690
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 8
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "In the self-distillation setting, we do know of at least one set of weights that is optimal w.r.t. the distillation loss — the teacher’s own weights $\\theta _ { t }$ . Letting $\\theta _ { r }$ be a random weight initialization, in Figure $\\boxed { 6 }$ (a) we examine the effect of choosing the student initialization to be a convex combination of the teacher and random weights, $\\theta _ { s } = \\lambda \\bar { \\theta _ { t } } + ( 1 - \\lambda ) \\theta _ { r }$ . After being initialized in this way, the student was trained as before. In other words $\\lambda = 0$ corresponds to a random initialization and $\\lambda = 1$ corresponds to initializing the student weights at the final teacher weights. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
174,
|
| 1043 |
+
696,
|
| 1044 |
+
825,
|
| 1045 |
+
780
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "We find that if the student is initialized far from the teacher $\\lambda \\leq 0 . 2 5 )$ , the optimizer converges to a sub-optimal value of the distillation loss, producing a student that significantly disagrees with the teacher. However at $\\lambda = 0 . 3 7 5$ there is a sudden change. The final train loss drops to the optimal value and the agreement drastically increases, and the behavior continues for $\\lambda > 0 . 3 7 5$ . To further investigate, in Figure $6 ( \\mathrm { c ) }$ we visualize the distillation loss surface for $\\lambda \\in \\{ 0 , 0 . 2 5 , 0 . 3 7 5 \\}$ projected on the 2D subspace intersecting $\\theta _ { t }$ , the initial student weights, and the final student weights. If the student is initialized far from the teacher $( \\lambda \\in \\{ 0 , 0 . 2 5 \\} )$ , it converges to a distinct, sub-optimal basin of the loss surface. On the other hand, when initialized close to the teacher $\\lambda = 0 . 3 7 5$ ), the student converges to the same basin as the teacher, achieving nearly $100 \\%$ agreement. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
174,
|
| 1054 |
+
786,
|
| 1055 |
+
825,
|
| 1056 |
+
911
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "table",
|
| 1062 |
+
"img_path": "images/6261113ac0608e905470acaddd56ab5ee54a3afd4229b650ea76339020420cdb.jpg",
|
| 1063 |
+
"table_caption": [
|
| 1064 |
+
"Table 1: We examine whether fidelity can be improved in the context of ResNet-20 self-distillation on CIFAR-100 if the teacher and student share the same weight initialization. All metrics are computed on the test set. A shared initialization does make the student slightly more similar to the teacher in activation space (measured by CKA), but in function space the results are indistinguishable from randomly initialized students. We report the mean and standard deviation, estimated from 10 trials. The average teacher accuracy was 70.522 (0.412). "
|
| 1065 |
+
],
|
| 1066 |
+
"table_footnote": [],
|
| 1067 |
+
"table_body": "<table><tr><td colspan=\"3\"></td><td colspan=\"3\">CKA (1)</td></tr><tr><td>Init.</td><td>Agree. (↑)</td><td>KL (↓)</td><td>Stage 1</td><td> Stage 2</td><td>Stage 3</td></tr><tr><td>Rand.</td><td>77.174 (0.352)</td><td>0.836 (0.016)</td><td>0.939 (0.017)</td><td>0.925 (0.027)</td><td>0.885 (0.011)</td></tr><tr><td>Teach.</td><td>77.098 (0.238)</td><td>0.838 (0.020)</td><td>0.951 (0.017)</td><td>0.937 (0.020)</td><td>0.890 (0.015)</td></tr></table>",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
189,
|
| 1070 |
+
88,
|
| 1071 |
+
807,
|
| 1072 |
+
167
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 9
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Is using the initial teacher weights enough for good fidelity? If good fidelity can be obtained by initializing the student near the final teacher weights, it is possible that similar results could be obtained by initializing the student at the initial teacher weights. In Table $^ 1$ we compare students distilled from random initializations with those initialized at the initial teacher weights. In addition to the metrics reported in the rest of the paper, we also include the centered kernel alignment (CKA) $\\pmb { \\Vert 2 8 \\Vert }$ of the preactivations of each of the teacher and student networks. There is a small increase in CKA, indicating that sharing an initialization between teacher and student does increase alignment in activation space, but functionally the students are identical to their randomly initialized counterparts – there is no observable change in accuracy, agreement, or predictive KL when compared to random initialization. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
173,
|
| 1081 |
+
284,
|
| 1082 |
+
825,
|
| 1083 |
+
421
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 9
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "To summarize, we have at last identified a root cause of the ineffectiveness of all our previous interventions on the knowledge distillation procedure. Knowledge distillation is unable to converge to optimal student parameters, even when we know a solution and give the initialization a small head start in the direction of an optimum. Indeed, while identifiability can be an issue, in order to match the teacher on all inputs, the student has to at least match the teacher on the data used for distillation, and achieve a near-optimal value of the distillation loss. Furthermore, the suboptimal convergence of knowledge distillation appears to be a consequence of the optimization dynamics specifically, and not simply initialization bias. In practice, optimization converges to sub-optimal solutions, leading to poor distillation fidelity. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
174,
|
| 1092 |
+
429,
|
| 1093 |
+
825,
|
| 1094 |
+
554
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 9
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "7 Discussion ",
|
| 1101 |
+
"text_level": 1,
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
174,
|
| 1104 |
+
571,
|
| 1105 |
+
292,
|
| 1106 |
+
589
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 9
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Our work provides several new key findings about knowledge distillation: ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
174,
|
| 1115 |
+
603,
|
| 1116 |
+
656,
|
| 1117 |
+
618
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 9
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "• Good student accuracy does not imply good distillation fidelity: even outside of selfdistillation, the models with the best generalization do not always achieve the best fidelity. • Student fidelity is correlated with calibration when distilling ensembles: although the highest-fidelity student is not always the most accurate, it is always the best calibrated. • Optimization is challenging in knowledge distillation: even in cases when the student has sufficient capacity to match the teacher on the distillation data, it is unable to do so. • There is a trade-off between optimization complexity and distillation data quality: Enlarging the distillation dataset beyond the teacher training data makes it easier for the student to identify the correct solution, but also makes an already difficult optimization problem harder. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
217,
|
| 1126 |
+
630,
|
| 1127 |
+
825,
|
| 1128 |
+
770
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 9
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "In standard deep learning, we are saved by not needing to solve the optimization problem well: while it true that our training loss is highly multimodal, properties such as the flatness of good solutions, the inductive biases of the network, and the implicit biases of SGD, often enable good generalization in practice. In knowledge distillation, however, good fidelity is directly aligned with solving what turns out to be an exceptionally difficult optimization problem. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
174,
|
| 1137 |
+
780,
|
| 1138 |
+
825,
|
| 1139 |
+
851
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 9
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Acknowledgements ",
|
| 1146 |
+
"text_level": 1,
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
176,
|
| 1149 |
+
89,
|
| 1150 |
+
338,
|
| 1151 |
+
106
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 10
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "The authors would like to thank Gregory Benton, Marc Finzi, Sanae Lotfi, Nate Gruver, and Ben Poole for helpful feedback. This research is supported by an Amazon Research Award, NSF I-DISRE 193471, NIH R01DA048764-01A1, NSF IIS-1910266, and NSF 1922658NRT-HDR: FUTURE Foundations, Translation, and Responsibility for Data Science. Samuel Stanton is also supported by a United States Department of Defense NDSEG fellowship. ",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
174,
|
| 1160 |
+
121,
|
| 1161 |
+
825,
|
| 1162 |
+
190
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 10
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "References ",
|
| 1169 |
+
"text_level": 1,
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
174,
|
| 1172 |
+
210,
|
| 1173 |
+
266,
|
| 1174 |
+
227
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 10
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "[1] Anil, R., Gupta, V., Koren, T., Regan, K., and Singer, Y. (2021). Scalable second order optimization for deep learning. arXiv preprint arXiv:2002.09018. \n[2] Ba, J. and Caruana, R. (2014). Do deep nets really need to be deep? Advances in neural information processing systems, 27:2654–2662. \n[3] Ba, J. L., Kiros, J. R., and Hinton, G. E. (2016). Layer normalization. Proceedings of the NIPS 2016 Deep Learning Symposium. \n[4] Beyer, L., Zhai, X., Royer, A., Markeeva, L., Anil, R., and Kolesnikov, A. (2021). Knowledge distillation: A good teacher is patient and consistent. \n[5] Bucila, C., Caruana, R., and Niculescu-Mizil, A. (2006). Model compression. In ˘ Proceedings of the 12th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 535–541. \n[6] Che, Z., Purushotham, S., Khemani, R., and Liu, Y. (2015). Distilling knowledge from deep networks with applications to healthcare domain. arXiv preprint arXiv:1512.03542. \n[7] Chebotar, Y. and Waters, A. (2016). Distilling knowledge from ensembles of neural networks for speech recognition. In Interspeech, pages 3439–3443. \n[8] Chen, D., Mei, J.-P., Wang, C., Feng, Y., and Chen, C. (2020). Online knowledge distillation with diverse peers. In AAAI, pages 3430–3437. \n[9] Chen, G., Choi, W., Yu, X., Han, T., and Chandraker, M. (2017). Learning efficient object detection models with knowledge distillation. In Advances in neural information processing systems, pages 742–751. \n[10] Cho, J. H. and Hariharan, B. (2019). On the efficacy of knowledge distillation. In Proceedings of the IEEE International Conference on Computer Vision, pages 4794–4802. \n[11] Cohen, G., Afshar, S., Tapson, J., and Van Schaik, A. (2017). Emnist: Extending mnist to handwritten letters. In 2017 International Joint Conference on Neural Networks (IJCNN), pages 2921–2926. IEEE. \n[12] Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. (2009). Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee. \n[13] Fakoor, R., Mueller, J. W., Erickson, N., Chaudhari, P., and Smola, A. J. (2020). Fast, accurate, and simple models for tabular data via augmented distillation. Advances in Neural Information Processing Systems, 33. \n[14] Furlanello, T., Lipton, Z., Tschannen, M., Itti, L., and Anandkumar, A. (2018). Born again neural networks. In International Conference on Machine Learning, pages 1607–1616. PMLR. \n[15] Goldblum, M., Fowl, L., Feizi, S., and Goldstein, T. (2020). Adversarially robust distillation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 3996–4003. \n[16] Guo, C., Pleiss, G., Sun, Y., and Weinberger, K. Q. (2017). On calibration of modern neural networks. In International Conference on Machine Learning, pages 1321–1330. PMLR. \n[17] Gupta, V., Koren, T., and Singer, Y. (2018). Shampoo: Preconditioned stochastic tensor optimization. In International Conference on Machine Learning, pages 1842–1850. \n[18] Han, S., Mao, H., and Dally, W. J. (2016). Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. In International Conference on Learning Representations. \n[19] Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., Gérard-Marchant, P., Sheppard, K., Reddy, T., Weckesser, W., Abbasi, H., Gohlke, C., and Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825):357–362. \n[20] He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778. \n[21] Heo, B., Lee, M., Yun, S., and Choi, J. Y. (2019). Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3779–3787. \n[22] Hinton, G., Vinyals, O., and Dean, J. (2015). Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531. \n[23] Hu, Z., Ma, X., Liu, Z., Hovy, E., and Xing, E. (2016a). Harnessing deep neural networks with logic rules. In Association for Computational Linguistics. \n[24] Hu, Z., Yang, Z., Salakhutdinov, R., and Xing, E. (2016b). Deep neural networks with massive learned knowledge. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1670–1679. \n[25] Ioffe, S. and Szegedy, C. (2015). Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR. \n[26] Kim, Y. and Rush, A. M. (2016). Sequence-level knowledge distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1317–1327. \n[27] Kingma, D. P. and Ba, J. (2015). Adam: A method for stochastic optimization. In International Conference on Learning Representations. \n[28] Kornblith, S., Norouzi, M., Lee, H., and Hinton, G. (2019). Similarity of neural network representations revisited. In International Conference on Machine Learning, pages 3519–3529. PMLR. \n[29] Krizhevsky, A. et al. (2009). Learning multiple layers of features from tiny images. \n[30] LeCun, Y., Boser, B., Denker, J. S., Henderson, D., Howard, R. E., Hubbard, W., and Jackel, L. D. (1989a). Backpropagation applied to handwritten zip code recognition. Neural computation, 1(4):541–551. \n[31] LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324. \n[32] LeCun, Y., Denker, J. S., Solla, S. A., Howard, R. E., and Jackel, L. D. (1989b). Optimal brain damage. In NIPs, volume 2, pages 598–605. Citeseer. \n[33] Liu, X., Wang, X., and Matwin, S. (2018). Improving the interpretability of deep neural networks with knowledge distillation. In 2018 IEEE International Conference on Data Mining Workshops (ICDMW), pages 905–912. IEEE. \n[34] Maas, A. L., Daly, R. E., Pham, P. T., Huang, D., Ng, A. Y., and Potts, C. (2011). Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 142–150, Portland, Oregon, USA. Association for Computational Linguistics. \n[35] Malinin, A., Mlodozeniec, B., and Gales, M. (2019). Ensemble distribution distillation. In International Conference on Learning Representations. \n[36] Marcel, S. and Rodriguez, Y. (2010). Torchvision the machine-vision package of torch. In Proceedings of the 18th ACM international conference on Multimedia, pages 1485–1488. \n[37] Meng, Z., Li, J., Gong, Y., and Juang, B.-H. (2018). Adversarial teacher-student learning for unsupervised domain adaptation. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5949–5953. IEEE. \n[38] Mishra, A. and Marr, D. (2018). Apprentice: Using knowledge distillation techniques to improve low-precision network accuracy. In International Conference on Learning Representations. \n[39] Miyato, T., Kataoka, T., Koyama, M., and Yoshida, Y. (2018). Spectral normalization for generative adversarial networks. In International Conference on Learning Representations. \n[40] Mobahi, H., Farajtabar, M., and Bartlett, P. L. (2020). Self-distillation amplifies regularization in hilbert space. Advances in Neural Information Processing Systems. \n[41] Netzer, Y., Wang, T., Coates, A., Bissacco, A., Wu, B., and Ng, A. Y. (2011). Reading digits in natural images with unsupervised feature learning. In Advances in Neural Information Processing Systems. \n[42] Papernot, N., McDaniel, P., Wu, X., Jha, S., and Swami, A. (2016). Distillation as a defense to adversarial perturbations against deep neural networks. In 2016 IEEE Symposium on Security and Privacy $( S P )$ , pages 582–597. IEEE. \n[43] Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. (2019a). Pytorch: An imperative style, high-performance deep learning library. In Wallach, H., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E., and Garnett, R., editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc. \n[44] Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. (2019b). Pytorch: An imperative style, high-performance deep learning library. In Wallach, H., Larochelle, H., Beygelzimer, A., d'Alché-Buc, F., Fox, E., and Garnett, R., editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc. \n[45] Romero, A., Ballas, N., Kahou, S. E., Chassang, A., Gatta, C., and Bengio, Y. (2015). Fitnets: Hints for thin deep nets. International Conference on Learning Representations. \n[46] Shen, Z., He, Z., and Xue, X. (2019). Meal: Multi-model ensemble via adversarial learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 4886–4893. \n[47] Simonyan, K. and Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. International Conference on Learning Representations. \n[48] Tan, S., Caruana, R., Hooker, G., and Lou, Y. (2018). Distill-and-compare: Auditing black-box models using transparent model distillation. In Proceedings of the 2018 AAAI/ACM Conference on AI, Ethics, and Society, pages 303–310. \n[49] Tokozume, Y., Ushiku, Y., and Harada, T. (2018). Between-class learning for image classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5486–5494. \n[50] Urban, G., Geras, K. J., Kahou, S. E., Aslan, O., Wang, S., Caruana, R., Mohamed, A., Philipose, M., and Richardson, M. (2017). Do deep convolutional nets really need to be deep and convolutional? International Conference on Learning Representations. \n[51] Van Rossum, G. and Drake, F. L. (2009). Python 3 Reference Manual. CreateSpace, Scotts Valley, CA. \n[52] Yim, J., Joo, D., Bae, J., and Kim, J. (2017). A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4133–4141. \n[53] You, S., Xu, C., Xu, C., and Tao, D. (2017). Learning from multiple teacher networks. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1285–1294. \n[54] Zagoruyko, S. and Komodakis, N. (2017). Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. International Conference on Learning Representations. \n[55] Zeng, X. and Martinez, T. R. (2000). Using a neural network to approximate an ensemble of classifiers. Neural Processing Letters, 12(3):225–237. \n[56] Zhang, H., Cisse, M., Dauphin, Y. N., and Lopez-Paz, D. (2018). Mixup: Beyond empirical risk minimization. International Conference on Learning Representations. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
171,
|
| 1183 |
+
231,
|
| 1184 |
+
828,
|
| 1185 |
+
916
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 10
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
169,
|
| 1194 |
+
51,
|
| 1195 |
+
828,
|
| 1196 |
+
917
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 11
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
165,
|
| 1205 |
+
64,
|
| 1206 |
+
828,
|
| 1207 |
+
914
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 12
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
171,
|
| 1216 |
+
90,
|
| 1217 |
+
828,
|
| 1218 |
+
314
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 13
|
| 1221 |
+
}
|
| 1222 |
+
]
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz.md
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# A Distance Covariance-based Kernel for Nonlinear Causal Clustering in Heterogeneous Populations
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 We consider the problem of causal structure learning in the setting of heterogeneous
|
| 11 |
+
2 populations, i.e., populations in which a single causal structure does not adequately
|
| 12 |
+
3 represent all population members, as is common in biological and social sciences.
|
| 13 |
+
4 To this end, we introduce a distance covariance-based kernel designed specifically
|
| 14 |
+
5 to measure the similarity between the underlying nonlinear causal structures of
|
| 15 |
+
6 different samples. This kernel enables us to perform clustering to identify the
|
| 16 |
+
7 homogeneous subpopulations. Indeed, we prove the corresponding feature map is
|
| 17 |
+
8 a statistically consistent estimator of nonlinear independence structure, rendering
|
| 18 |
+
9 the kernel itself a statistical test for the hypothesis that sets of samples come from
|
| 19 |
+
10 different generating causal structures. We can then use existing methods to learn
|
| 20 |
+
11 a causal structure for each of these subpopulations. We demonstrate using our
|
| 21 |
+
12 kernel for causal clustering with an application in genetics, allowing us to reason
|
| 22 |
+
13 about the latent transcription factor networks regulating measured gene expression
|
| 23 |
+
14 levels.
|
| 24 |
+
|
| 25 |
+
# 15 1 Introduction
|
| 26 |
+
|
| 27 |
+
16 Learning causal relationships from observational and experimental data is one of the fundamental
|
| 28 |
+
17 goals of scientific research, and causal inference methods are thus used in a wide variety of fields. The
|
| 29 |
+
18 resulting variety of applications nevertheless share some common difficulties, such as causal inference
|
| 30 |
+
19 from complex time-series data (Eichler, 2012) or the underlying causal structure being obscured
|
| 31 |
+
20 by unmeasured confounders (Greenland et al., 1999). Another common difficulty, especially for
|
| 32 |
+
21 applications in the biological and social sciences, is causal inference from heterogeneous populations
|
| 33 |
+
22 (Xie, 2013; Brand and Thomas, 2013)—addressing this difficulty is our main motivation.
|
| 34 |
+
23 In general terms, we understand a heterogeneous population to be one whose members are not
|
| 35 |
+
24 adequately described by a single model but rather better described by a collection of models. Within
|
| 36 |
+
25 our context of causal structure learning, this means a population is heterogeneous if some samples
|
| 37 |
+
26 are generated by different causal structures—we call this structural heterogeneity. We note that there
|
| 38 |
+
27 are other kinds of heterogeneity, such as that in samples generated by different joint distributions
|
| 39 |
+
28 over the same causal structure, which are not the scope of this work.
|
| 40 |
+
29 A specific example of structural heterogeneity can be found in genetics: causal methods are used to
|
| 41 |
+
30 learn the structure of gene regulatory networks (Emmert-Streib et al., 2012), and gene expression data
|
| 42 |
+
31 from a single recording or experiment may include thousands of genes, many of which are involved
|
| 43 |
+
32 in entirely different networks (Liu, 2015); thus, attempting to learn a single causal structure for all of
|
| 44 |
+
33 the genes will obscure the fact that different sets of them have different structures.
|
| 45 |
+
34 The bulk of our work in this paper, and our main contribution, is to introduce the dependence
|
| 46 |
+
35 contribution kernel, which facilitates a flexible and easily extensible approach to causal clustering:
|
| 47 |
+
36 first perform clustering to identify structurally homogeneous subsets of samples, and then proceed
|
| 48 |
+
37 with the actual learning task on each cluster. We prove that our kernel is a statistically consistent
|
| 49 |
+
38 estimator of the similarity of the causal structures underlying different samples and can thus be used
|
| 50 |
+
39 to find clusters that minimize structural heterogeneity for causal structure learning tasks. Furthermore,
|
| 51 |
+
40 the kernel is derived from the distance covariance (Székely et al., 2007), imbuing it with the ability
|
| 52 |
+
41 to detect nonlinear dependence. It can easily be used in a wide array of clustering algorithms, such
|
| 53 |
+
42 as $k$ -means, DBSCAN, spectral clustering, or any other method that analogously makes use of a
|
| 54 |
+
43 similarity (or distance) measure between samples (Filippone et al., 2008).
|
| 55 |
+
44 The rest of the paper is organized as follows: We finish this section by discussing some of the most
|
| 56 |
+
45 relevant related work from the causal inference and statistics literature. All of Section 2 is devoted to
|
| 57 |
+
46 the theory underlying our dependence contribution kernel, including a comparison of the familiar
|
| 58 |
+
47 product-moment covariance with the distance covariance (Section 2.1), defining an equivalence
|
| 59 |
+
48 class of causal models with a convenient representation in the kernel space (Section 2.2), and the
|
| 60 |
+
49 actual definition of our kernel and proofs of its relevant properties (Section 2.3). Next, in Section
|
| 61 |
+
50 3, we demonstrate causal clustering with the kernel on a heterogeneous gene expression data set,
|
| 62 |
+
51 finding structurally homogeneous clusters for which we then learn latent causal measurement models,
|
| 63 |
+
52 allowing us to reason about the different transcription factor networks responsible for regulating the
|
| 64 |
+
53 measured gene expression levels. Finally, we conclude in Section 4 mentioning possible future work.
|
| 65 |
+
|
| 66 |
+
# 54 1.1 Related Work
|
| 67 |
+
|
| 68 |
+
55 Causal inference in heterogeneous populations sometimes refers to data-fusion (Bareinboim and
|
| 69 |
+
56 Pearl, 2016), i.e., combining known homogeneous subpopulations and performing causal inference
|
| 70 |
+
57 on the resulting heterogeneous population, or similarly, it can refer to meta-learning using known
|
| 71 |
+
58 subpopulations (Sharma et al., 2019). Other times, it refers to estimating heterogeneous treatment
|
| 72 |
+
59 effects (Xie et al., 2012; Athey and Imbens, 2015). However, in our case, the subpopulations are not
|
| 73 |
+
60 known and we rather consider the problem of learning which samples come from which subpopulation,
|
| 74 |
+
61 and these are differentiated according to structure instead of treatment effect.
|
| 75 |
+
62 Previous work on causal clustering has focused more on the causal modeling aspect, using stronger
|
| 76 |
+
63 assumptions about the underlying structures to learn more detailed models. For example, Kummerfeld
|
| 77 |
+
64 et al. (2014); Kummerfeld and Ramsey (2016) focus on causal clustering in measurement models,
|
| 78 |
+
65 with the goal of clustering different features together to study their latent causal structure, based on
|
| 79 |
+
66 tetrad constraints within the linear product-moment covariance matrix. Huang and Zhang (2019)
|
| 80 |
+
67 define a class of causal models facilitating mechanism-based clustering, learning causal models both
|
| 81 |
+
68 for clusters of samples as well as a shared one for all samples, assuming the underlying structures
|
| 82 |
+
69 are linear non-Gaussian. Saeed et al. (2020) characterize distributions arising from mixtures of
|
| 83 |
+
70 directed acyclic graph (DAG) causal models (i.e., causal models without latent or selection variables),
|
| 84 |
+
71 trying to learn both the component DAGs and a representation of how they are mixed. All of these
|
| 85 |
+
72 approaches, like most causal inference methods, make specific (and for some applications, restrictive)
|
| 86 |
+
73 assumptions about the underlying distributions or causal structures.
|
| 87 |
+
74 In contrast, our method is not tied to specific distributional assumptions such as linearity or
|
| 88 |
+
75 (non)Gaussianity—we assume there are enough samples for statistical inference, as well as the
|
| 89 |
+
76 usual causal Markov and faithfulness assumptions. For the first step, we cluster samples together if
|
| 90 |
+
77 they (implicitly, in the kernel space) have similar nonlinear independence structures. For the second
|
| 91 |
+
78 step, causal structure learning, any existing method (along with its corresponding assumptions) can in
|
| 92 |
+
79 principle be used. In our gene expression data application (Section 3), the measurement dependence
|
| 93 |
+
80 inducing latent (MeDIL) causal model framework (Markham and Grosse-Wentrup, 2020), which
|
| 94 |
+
81 assumes the data consists of measurement variables that are causally connected only through latent
|
| 95 |
+
82 variables, seems appropriate, however other applications can easily use other methods. For example,
|
| 96 |
+
83 component and mixture DAGs (Saeed et al., 2020) can be better learned when one first knows which
|
| 97 |
+
84 samples come from which component—clustering with our kernel ensures samples in different
|
| 98 |
+
85 clusters come from different DAGs, and so using their method instead of the MeDIL framework
|
| 99 |
+
86 would be a natural choice for applications in which a DAG (without any latents) is more appropriate.
|
| 100 |
+
|
| 101 |
+
# 2 Theory
|
| 102 |
+
|
| 103 |
+
# 2.1 Product-moment Covariance, Distance Covariance, and Dependence Contribution
|
| 104 |
+
|
| 105 |
+
Though there is more to causal relationships than probabilistic dependence, causal inference methods based on graphical models ultimately rely on at least implicitly learning conditional independence (CI) relations. CI relations can be estimated in many ways, with different dependence measures and tests each having their own theoretical guarantees and being better suited for distributions of various different kinds of data (e.g., categorical, discrete, or continuous) and with various kinds of relationships (e.g., linear, monotonic nonlinear, arbitrary nonlinear) and with different testing assumptions (see Tjøstheim et al., 2018, for a comprehensive overview).
|
| 106 |
+
|
| 107 |
+
A widely used measure of dependence is the product-moment covariance, often just called covariance, which is defined for two zero-mean random variables $X _ { 1 }$ and $X _ { 2 }$ as the scalar value $\operatorname { c o v } ( X _ { 1 } , X _ { 2 } ) =$ $\operatorname { E } [ X _ { 1 } X _ { 2 } ]$ . This can be extended from a pair of random variables to every pair of variables in a random vector, thus returning a matrix instead of a scalar. The covariance matrix for a vector of zero-mean random variables $\mathbf { X } = ( X _ { 1 } , \ldots , X _ { m } )$ can be estimated from a set $S \in \mathbb { R } ^ { n , m }$ of $n$ samples as $\textstyle { \hat { \Sigma } } _ { \mathbf { X } } = { \frac { 1 } { n } } S ^ { \top } S$ , and the ${ j , j ^ { \prime } }$ -th value of $\hat { \Sigma } _ { \mathbf { X } }$ is thus the estimate $\operatorname { c o v } ( X _ { j } , X _ { j } ^ { \prime } )$ .
|
| 108 |
+
|
| 109 |
+
102 Two random variables being probabilistically independent (denoted $\perp \perp$ ) implies that their product
|
| 110 |
+
103 moment covariance is zero, i.e., $X _ { j } \perp \perp X _ { j ^ { \prime } } \implies \operatorname { c o v } ( X _ { j } , X _ { j ^ { \prime } } ) = 0$ (importantly, the inverse of this
|
| 111 |
+
104 does not hold). Thus, the estimated product-moment covariance can be used in statistical hypothesis
|
| 112 |
+
105 testing for probabilistic independence (Wasserman, 2013, Ch. 10): $X _ { j }$ and $X _ { j ^ { \prime } }$ are assumed to
|
| 113 |
+
106 be independent if and only if $\operatorname { c o v } ( X _ { j } , X _ { j ^ { \prime } } )$ is sufficiently close to 0. However, this method has
|
| 114 |
+
107 an important problem: the product-moment covariance is only a valid test statistic against linear
|
| 115 |
+
108 dependence.
|
| 116 |
+
109 Székely et al. (2007) introduce the distance covariance to remedy this problem: random variables are
|
| 117 |
+
110 probabilistically independent if and only if their distance covariance is zero, i.e., $X _ { j } \perp \perp X _ { j ^ { \prime } } \iff$
|
| 118 |
+
111 $\operatorname { d C o v } ( X _ { j } , X _ { j ^ { \prime } } ) = 0$ , resulting in the estimated distance covariance being a valid test statistic against
|
| 119 |
+
112 all types of dependence. The distance covariance is related to the product-moment covariance by
|
| 120 |
+
113 $\mathrm { d } \mathrm { C o v } ^ { 2 } ( X _ { j } , X _ { j ^ { \prime } } ) = \mathrm { c o v } ( | X _ { j } - X _ { j } ^ { \prime } | , | X _ { j ^ { \prime } } - X _ { j ^ { \prime } } ^ { \prime } | ) - 2 \mathrm { c o v } ( | X _ { j } - X _ { j } ^ { \prime } | , | X _ { j ^ { \prime } } - X _ { j ^ { \prime } } ^ { \prime \prime } | ) .$ , where $( X _ { j } ^ { \prime } , X _ { j ^ { \prime } } ^ { \prime } )$
|
| 121 |
+
114 and $( X _ { j } ^ { \prime \prime } , X _ { j ^ { \prime } } ^ { \prime \prime } )$ are independent and identically distributed (iid) copies of $( X _ { j } , X _ { j ^ { \prime } } )$ (Székely and
|
| 122 |
+
115 Rizzo, 2014). The key intuition here is that the distances (e.g., $| X _ { j } - X _ { j } ^ { \prime } | )$ constitute a nonlinear
|
| 123 |
+
116 projection, so that using the linear product-moment covariance in this projected space allows for the
|
| 124 |
+
117 detection of nonlinear dependence in the original space.
|
| 125 |
+
118 Note that dCov is typically defined to be a scalar value when taken between two arbitrary-dimensional
|
| 126 |
+
119 random vectors, but our restricted presentation of it above in terms of random variables is to make
|
| 127 |
+
120 it more obviously analogous to the product-moment covariance between random variables. Thus,
|
| 128 |
+
121 corresponding to $\hat { \Sigma } _ { \mathbf { X } }$ for random vectors, we define the following:
|
| 129 |
+
22 Definition 1 Let $S \in \mathbb { R } ^ { n , m }$ be a set of $n$ samples from the vector of random variables ${ \textbf { X } } =$
|
| 130 |
+
23 $( X _ { 1 } , \ldots , X _ { m } )$ . For each $j \in \{ 1 , \dots , m \}$ and $i , i ^ { \prime } \in \{ 1 , \ldots , n \}$ , define the pairwise distance matrix
|
| 131 |
+
24 $D ^ { j }$ , with values given by $D _ { i , i ^ { \prime } } ^ { \jmath } : = | S _ { i , j } - S _ { i ^ { \prime } , j } |$ . Now define the corresponding doubly-centered
|
| 132 |
+
25 matrices $C _ { i , i ^ { \prime } } ^ { j } : = { D } _ { i , i ^ { \prime } } ^ { j } - \bar { D ^ { j } } _ { i , \cdot } - \bar { D ^ { j } } _ { \cdot , i ^ { \prime } } + \bar { D ^ { j } } _ { \cdot , \cdot }$ , where putting a bar over the matrix and replacing
|
| 133 |
+
26 an index $i$ or $i ^ { \prime }$ with $\cdot$ denotes taking the mean over that index. Define the matrix $L \in \mathbb { R } ^ { n ^ { 2 } , m }$ so
|
| 134 |
+
27 that each column is a flattened doubly-centered distance matrix, $L : = ( \operatorname { v e c } ( C ^ { 1 } ) , \dots , \operatorname { v e c } ( C ^ { m } ) )$ ,
|
| 135 |
+
28 where $\mathrm { v e c } ( C ^ { j } )$ denotes “flattening” matrix $C ^ { j }$ into a column vector. Finally, the estimated distance
|
| 136 |
+
29 covariance matrix over sample $S$ is defined as $\begin{array} { r } { \hat { \Delta } \mathbf { x } : = \frac { 1 } { n ^ { 2 } } L ^ { \top } L } \end{array}$ .
|
| 137 |
+
|
| 138 |
+
Analogous to 130 $\hat { \Sigma } _ { \mathbf { X } }$ , the ${ j , j ^ { \prime } }$ -th entry of $\hat { \Delta } _ { \mathbf { X } }$ corresponds to $\mathrm { d } \hat { \mathrm { C o v } } ^ { 2 } ( X _ { j } , X _ { j ^ { \prime } } ) .$ —indeed it is mathemati131 cally equivalent to computing each pairwise distance covariance value and then manually filling in
|
| 139 |
+
|
| 140 |
+
132 the matrix. The novelty of our Definition 1 is in finding a matrix of pairwise values instead of a single
|
| 141 |
+
133 value for the distance covariance between random vectors, which helps provide an intuition for our
|
| 142 |
+
134 next definition:
|
| 143 |
+
|
| 144 |
+
Definition 2 Let $S \in \mathbb { R } ^ { n , m }$ be a set of $n$ samples from the vector of random variables ${ \textbf { X } } =$ $( X _ { 1 } , \ldots , X _ { m } )$ ; note that we consistently use indices $i , i ^ { \prime } \in \{ 1 , \ldots , n \}$ and $j , j ^ { \prime } \in \{ 1 , \ldots , m \}$ . Let $D \in \mathbb { R } ^ { n , n , m }$ denote the 3-dimensional array of stacked pairwise distance matrices defined by $D _ { i , i ^ { \prime } , j } : = | S _ { i , j } - S _ { i ^ { \prime } , j } |$ , and use $C \in \mathbb { R } ^ { n , n , m }$ to denote these same distance matrices after being doubly-centered, i.e., $\tilde { C } _ { i , i ^ { \prime } , j } : = D _ { i , i ^ { \prime } , j } - \bar { D } _ { i , \cdot , j } - \bar { D } _ { \cdot , i ^ { \prime } , j } + \bar { D } _ { \cdot , \cdot , j }$ , where replacing an index $i$ or $i ^ { \prime }$ with · denotes the entire (lower-dimensional) subarray over that index, and writing a bar, $\bar { D }$ , denotes taking the mean over that subarray. Then standardize the doubly-centered distances to get $\begin{array} { r } { Z _ { i , i ^ { \prime } , j } : = \frac { C _ { i , i ^ { \prime } , j } } { \bar { D } \cdot \underline { { \mathbf { \Pi } } } _ { \cdot , j } } } \end{array}$ Finally, the dependence contribution map, $\varphi : \mathbb { R } ^ { m } \mathbb { R } ^ { m , m }$ , is defined as
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
\varphi ( S _ { i , \cdot } ) : = Z _ { i , \cdot , \cdot } ^ { \top } Z _ { i , \cdot , \cdot } - \mathcal { T } ( \alpha ) ,
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
where 135 $\mathcal { T } ( \alpha ) \in \mathbb { R } ^ { m , m }$ is a matrix of scaled critical values corresponding to a given significance level 136 $\alpha$ with zeros along the diagonal, i.e., $\begin{array} { r } { \mathcal { T } ( \alpha ) _ { j , j ^ { \prime } } = \left\{ \begin{array} { l l } { 0 , } \\ { \frac { 1 } { n } \chi _ { 1 - \alpha } ^ { 2 } ( 1 ) } \end{array} \right. } \end{array}$ if , ot $j = j ^ { \prime }$ e , with $\chi _ { 1 - \alpha } ^ { 2 } ( 1 )$ being the 137 $1 - \alpha$ quantile of the chi-square distribution with 1 degree of freedom.
|
| 151 |
+
|
| 152 |
+
138 Notice the similarity bestandardization (i.e., use $C$ een Defininstead of $Z$ ons 2 a), then $\begin{array} { r } { \frac { 1 } { n ^ { 2 } } \sum _ { i = 1 } ^ { n } \varphi ( S _ { i , \cdot } ) = \hat { \Delta } _ { \mathbf { X } } } \end{array}$ $\mathcal { T } ( \alpha )$ be a matrix of 0s and. Now, the differences: $\hat { \Delta } _ { \mathbf { X } } \hat { }$ gois
|
| 153 |
+
140 a single matrix computed over an entire set of samples, whereas $\varphi$ is a map that projects each given
|
| 154 |
+
141 sample to a new feature space; each entry of $\hat { \Delta } _ { \mathbf { X } }$ is simply a distance covariance value, whereas each
|
| 155 |
+
142 entry of the sum of $\varphi ( S _ { i , \cdot } )$ over $i$ , by using standardization (using $Z$ instead of $C$ ) and subtracting a
|
| 156 |
+
143 critical value, corresponds to the result of using a distance covariance value in a statistical hypothesis
|
| 157 |
+
144 test for independence—indeed:
|
| 158 |
+
|
| 159 |
+
Lemma 3 Let $S \in \mathbb { R } ^ { n , m }$ be a set of $n$ iid samples from random variables $X _ { 1 } , \ldots , X _ { m }$ with finite first moments. For a given significance level $\alpha$ , under the null hypothesis of $X _ { j } \perp \perp X _ { j ^ { \prime } }$ , the test
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\mathrm { r e j e c t } h _ { \varnothing } \mathrm { i f } \quad \big ( \sum _ { i = 1 } ^ { n } \varphi ( S _ { i , \cdot } ) \big ) _ { j , j ^ { \prime } } > 0
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
145 is statistically consistent against all types of dependence.
|
| 166 |
+
|
| 167 |
+
146 Proof. This follows from (Székely and Rizzo, 2009, Theorem 5 and Corollary 2) and how $\varphi$ is
|
| 168 |
+
147 defined to correspond to the difference between distance covariance and critical values.
|
| 169 |
+
148 These differences between $\hat { \Delta } _ { \mathbf { X } }$ and $\varphi$ serve two important purposes: first, they ensure $\varphi$ maps to a
|
| 170 |
+
149 Hilbert space so that our Definition 9 is a corresponding kernel function (Schölkopf et al., 2001); and
|
| 171 |
+
150 second, as the name “dependence contribution map” suggests, they ensure $\varphi ( S _ { i , \cdot } )$ is informative not
|
| 172 |
+
151 just about distance covariance but about nonlinear dependence and about how the inclusion of sample
|
| 173 |
+
152 $S _ { i , \astrosun }$ ,· in a set of samples $S$ contributes to the dependence patterns estimated from $S _ { \ l }$ — this is the key
|
| 174 |
+
153 intuition behind how our kernel function is used to learn structurally homogeneous sample subsets,
|
| 175 |
+
154 as explicated in the following sections.
|
| 176 |
+
|
| 177 |
+
# 2.2 Causal Graphs in Kernel Space
|
| 178 |
+
|
| 179 |
+
In general, a full causal structure can only be learned with sufficient data about the effects of interventions, and thus causal structure learning from purely observational data is usually possible only up to an equivalence class of causal graphs (Spirtes et al., 2000; Pearl, 2009). For example, the classic PC and IC algorithms, under the assumptions of no selection bias and no confounding by latent variables, do not necessarily return a fully-specified DAG but instead return a mixed graph, containing possibly directed and undirected edges, representing the Markov equivalence class (Spirtes and Glymour, 1991; Pearl and Verma, 1995).
|
| 180 |
+
|
| 181 |
+
163 We now define a set of equivalence classes for ancestral graphs (AGs), which—unlike causal DAGs—
|
| 182 |
+
164 do not assume the absence of selection bias and latent confounders (Richardson et al., 2002):
|
| 183 |
+
|
| 184 |
+
Definition 4 Consider an arbitrary ancestral graph $\mathcal { A }$ with the set of vertices $V ^ { A }$ and edge function $E ^ { A }$ , and denote the set of unconditional $m$ -connection statements entailed by their corresponding unique maximal ancestral graph as $M ^ { A } = \{ ( j , j ^ { \prime } ) : j \mathcal { L } _ { m } j ^ { \prime } | \emptyset \} \subseteq V ^ { A } \times \dot { V } ^ { A }$ . For any ancestral graph $\mathcal { A } ^ { \prime }$ such that $V ^ { \mathcal { A ^ { \prime } } } = \bar { V } ^ { \mathcal { A } }$ , define the unconditional equivalence relation denoted by $^ \bullet \sim _ { \mathrm { U } }$ ’ as
|
| 185 |
+
|
| 186 |
+
$$
|
| 187 |
+
\mathcal { A } \sim _ { \mathrm { U } } \mathcal { A } ^ { \prime } \quad \mathrm { i f ~ a n d ~ o n l y ~ i f } \quad M ^ { A } = M ^ { A ^ { \prime } } .
|
| 188 |
+
$$
|
| 189 |
+
|
| 190 |
+
165 Lemma 5 This lemma has two parts: (i) the relation ${ \sim } _ { \mathrm { U } }$ is an equivalence relation over the set of
|
| 191 |
+
166 ancestral graphs A; (ii) for an arbitrary ancestral graph $\mathcal A \in \mathbb A$ , the bidirected graph $\mathcal { U } ^ { A } = ( V ^ { A } , E ^ { \mathcal { U } } )$ ,
|
| 192 |
+
167 where $E ^ { \mathcal { U } }$ maps all pairs $( j , j ^ { \prime } ) \in M ^ { A }$ to the bidirected edge symbol $\cdot $ , is a unique representative
|
| 193 |
+
168 of the equivalence class $[ A ]$ .
|
| 194 |
+
169 Proof. For (i), recall that an equivalence relation is any relation satisfying reflexivity, symmetry,
|
| 195 |
+
170 and transitivity (Devlin, 2003), all of which are satisfied by ${ \sim } _ { \mathrm { U } }$ because of its correspondence to
|
| 196 |
+
171 the relation $" = "$ between sets. Thus, to prove (ii), it suffices to show that the map $s : \mathbb { A } / \sim _ { \mathrm { U } } \to$
|
| 197 |
+
172 A, $[ \mathcal { A } ] \mapsto \mathcal { U } ^ { A }$ is injective (i.e, that it is a section) and that $[ s ( [ A ] ) ] = [ A ]$ (Mac Lane, 2013). The
|
| 198 |
+
173 key to the proof is the observation that $\mathcal { U } ^ { A }$ , because it contains only bidirected edges, is maximal
|
| 199 |
+
174 and therefore entails exactly the unconditional $m$ -separation statements $M ^ { A }$ , thus by (i) we have
|
| 200 |
+
175 ${ \mathcal { U } } ^ { A } \sim _ { \mathrm { U } } { \mathcal { A } }$ or equivalently $\mathcal { U } ^ { A } \in [ A ]$ or equivalently $[ \mathcal { U } ^ { A } ] = [ \mathcal { A } ]$ . Let $\mathcal { A } , \mathcal { A } ^ { \prime }$ be arbitrary AGs, and
|
| 201 |
+
176 assume $s ( [ \mathcal { A } ] ) = s ( [ \mathcal { A } ^ { \prime } ] )$ . Then by definition of $s$ we have $\bar { \mathcal { U } } ^ { A } \bar { = } \bar { \mathcal { U } } ^ { A ^ { \prime } }$ , and by the observation above,
|
| 202 |
+
177 $\mathcal { U } ^ { A } \in [ \mathcal { A } ^ { \prime } ]$ and thus $[ A ] = [ A ^ { \prime } ]$ , making $s$ injective. And finally, by the definition of $s$ and also by
|
| 203 |
+
178 the observation above, $[ s ( [ A ] ) ] = [ \mathcal { U } ^ { A } ] = [ A ]$ , completing the proof.
|
| 204 |
+
179 This equivalence relation and its representatives has some important but perhaps subtle properties.
|
| 205 |
+
180 First, it is different from Markov equivalence over AGs (which is characterized by partial ancestral
|
| 206 |
+
181 graphs, PAGs) (Zhang, 2007)—it uses only unconditional $m$ -separation while PAGs are learned from
|
| 207 |
+
182 conditional $m$ -separation statements. Second, because all DAGs are AGs, ${ \sim } _ { \mathrm { U } }$ is also an equivalence
|
| 208 |
+
183 relation over DAGs. Third, being a representative means that every equivalence class includes exactly
|
| 209 |
+
184 one fully bidirected graph (along with other equivalent AGs). Fourth, because each representative is
|
| 210 |
+
185 formed by considering $m$ -connected paths, $\mathcal { U } ^ { A }$ is not equivalent to what would be generated by some
|
| 211 |
+
186 “edge-wise” procedure, such as simply replacing every edge in a PAG/AG/DAG/Markov random
|
| 212 |
+
187 field/moralized DAG with bidirected edges.Finally, its most important property is that it facilitates
|
| 213 |
+
188 Theorem 8, for which we first need a few more definitions.
|
| 214 |
+
|
| 215 |
+
Definition 6 Given arbitrary ancestral graphs $\mathcal { A } , \mathcal { A } ^ { \prime } \in \mathbb { A }$ over the same set of vertices, define the Hamming similarity product, denoted $\bullet _ { \bullet } ,$ as
|
| 216 |
+
|
| 217 |
+
$$
|
| 218 |
+
\bullet : \mathbb { A } \times \mathbb { A } \to \mathbb { A } \quad { \mathrm { a n d } } \quad \mathcal { A } \bullet \mathcal { A } ^ { \prime } \mapsto \mathcal { H } ,
|
| 219 |
+
$$
|
| 220 |
+
|
| 221 |
+
where 189 $\mathcal { H } = ( V ^ { A } , E ^ { \mathcal { H } } )$ and the function $E ^ { \mathcal { H } } ( j , j ^ { \prime } ) = \ ' ^ { \prime }$ if and only if $E ^ { A } ( j , j ^ { \prime } ) = E ^ { A ^ { \prime } } ( j , j ^ { \prime } )$ .
|
| 222 |
+
|
| 223 |
+
190 In words, the Hamming similarity product between two ancestral graphs returns a fully bidirected
|
| 224 |
+
191 graph, with edges only where the two graphs have the same edge type. Now, shifting from ancestral
|
| 225 |
+
192 graphs to real-valued square matrices:
|
| 226 |
+
|
| 227 |
+
Definition 7 Let $\cdot _ { \sim _ { \mathrm { O } } }$ ’ denote the orthant equivalence relation (‘orthant’ is the generalization of ‘quadrant’ from $\mathbb { R } ^ { 2 }$ to arbitrarily higher dimensions) in square real matrices, i.e., for matrices Y, Y 0 ∈ Rm,m and with the element-wise function sign(Y )j,j0 = $\mathrm { s i g n } ( Y ) _ { j , j ^ { \prime } } = \left\{ { \begin{array} { l l } { 1 , } \\ { - \ } \end{array} } \right.$ 1, otherwise if $Y _ { j , j ^ { \prime } } > 0$ or $j = j ^ { \prime }$
|
| 228 |
+
|
| 229 |
+
$$
|
| 230 |
+
Y \sim _ { \mathrm { { o } } } Y ^ { \prime } \quad { \mathrm { i f ~ a n d ~ o n l y ~ i f } } \quad \mathrm { s i g n } ( Y ) _ { j , j ^ { \prime } } = \mathrm { s i g n } ( Y ^ { \prime } ) _ { j , j ^ { \prime } }
|
| 231 |
+
$$
|
| 232 |
+
|
| 233 |
+
193 Theorem 8 Let $a$ be the map from the set of unconditional equivalence classes over ancestral graphs
|
| 234 |
+
194 with $m$ vertices, $\mathbb { A } ^ { m } / \sim _ { \mathrm { U } } = \mathbb { U } ^ { m }$ , to the set of orthant equivalence classes over the image of $\varphi$
|
| 235 |
+
195 i.e., $m \times m$ symmetric real matrices with positive diagonal entries, $\varphi ( \mathbb { R } ^ { m } ) / { \sim } _ { 0 } = \mathbb { O } ^ { m }$ , defined by
|
| 236 |
+
196 $a : \mathcal { U } \mapsto O$ , where $O _ { j , j ^ { \prime } } = \left\{ { 1 , \atop - 1 } \right.$ if , ot EU (j, j0) = ‘↔’ or j = j0 . Then a is a group isomorphism
|
| 237 |
+
between 197 $( \mathbb { U } ^ { m } , \bullet )$ and $( \mathbb { O } ^ { m } , \odot )$ , where $\ast _ { \odot } \cdot$ ’ denotes the element-wise product.
|
| 238 |
+
198 Proof. First, note that $( \mathbb { U } ^ { m } , \bullet )$ is indeed a group, satisfying the three group axioms (Artin, 2011):
|
| 239 |
+
199 the representative of its identity element is the fully connected bidirected graph over $m$ vertices, $\mathcal { U } ^ { \mathbb { 1 } }$ ;
|
| 240 |
+
200 each element is its own inverse; and $\bullet$ is associative. Likewise, $( \mathbb { O } ^ { m } , \odot )$ is a group with identity
|
| 241 |
+
201 element $\left[ \mathbb { 1 } ^ { m , m } \right]$ , each element its own inverse, and the associative element-wise product operator.
|
| 242 |
+
|
| 243 |
+
Now, to show the two groups are isomorphic, it suffices to show (i) that $a$ is bijective and (ii) that for arbitrary $\mathcal { U } , \mathcal { U } ^ { \prime } \in \mathbb { U } ^ { m }$ $\mathbb { U } ^ { m } , a ( \mathcal { U } ) \odot a ( \mathcal { U } ^ { \prime } ) = a ( \mathcal { U } \bullet \mathcal { U } ^ { \prime } )$ . For (i) notice that if $U \neq U ^ { \prime }$ , then there must be at least one pair of vertices ${ j , j ^ { \prime } }$ such that $\dot { E } ^ { \mathcal { U } } ( j , \dot { j } ^ { \prime } ) \neq E ^ { \mathcal { U } ^ { \prime } } ( j , \dot { j } ^ { \prime } )$ and thus clearly $O _ { j , j ^ { \prime } } \neq O _ { j , j ^ { \prime } } ^ { \prime }$ so $a$ in injective. Furthermore, notice that every distinct $O \in \mathbb { O } ^ { m }$ is the image of some graph $\mathcal { U }$ , so $a$ is also surjective. For (ii), for every $j , j ^ { \prime } \in \{ 1 , \ldots , m \}$ , the definitions of $a , \odot$ , and $\bullet$ ensure $a ( \mathcal { U } ) _ { j , j ^ { \prime } } \odot a ( \mathcal { U } ^ { \prime } ) _ { j , j ^ { \prime } } = 1 \iff E ^ { \mathcal { U } } ( j , j ^ { \prime } ) = E ^ { \mathcal { U } ^ { \prime } } ( j , j ^ { \prime } ) \iff 1 = a ( \mathcal { U } \bullet \mathcal { U } ^ { \prime } )$ , completing the proof.
|
| 244 |
+
|
| 245 |
+
209 For causal inference, which (often, but not necessarily) amounts to taking several samples in real
|
| 246 |
+
210 space and inferring a single corresponding member in the space of ancestral graphs (or, more often,
|
| 247 |
+
211 its quotient set by some equivalence relation), Theorem 8 means we can compare the different graphs
|
| 248 |
+
212 of different sample sets without having to first move to the ancestral graph space.
|
| 249 |
+
|
| 250 |
+
Finally, notice the space of real square matrices is not a typical sample space but rather precisely (a superspace of) the space that our dependence contribution map $\varphi$ (Definition 2) maps samples to—this means that mapping samples with $\varphi$ allows us to make use of the group isomorphism. Though this already provides an intuition for why using $\varphi$ would help with causal clustering, explicitly mapping each sample with it would be unnecessarily computationally expensive, and we are ultimately interested in morphisms between metric spaces (not just groups) of samples and graphs. To address this, we thus now move on to defining a kernel for $\varphi$ .
|
| 251 |
+
|
| 252 |
+
# 220 2.3 The Dependence Contribution Kernel
|
| 253 |
+
|
| 254 |
+
Definition 9 Let $S , Z , \mathcal { T }$ , and $\varphi$ be as in Definition 2. We define the dependence contribution kernel using the Frobenius (denoted by the subscript $\mathrm { F }$ ) inner product and norm:
|
| 255 |
+
|
| 256 |
+
$$
|
| 257 |
+
\kappa ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ) = \frac { \langle \varphi ( S _ { i , \cdot } ) , \varphi ( S _ { i ^ { \prime } , \cdot } ) \rangle _ { \mathrm { F } } } { \| \varphi ( S _ { i , \cdot } ) \\| _ { \mathrm { F } } \| \varphi ( S _ { i ^ { \prime } , \cdot } ) \| _ { \mathrm { F } } }
|
| 258 |
+
$$
|
| 259 |
+
|
| 260 |
+
221 A more convenient expression for applying the kernel to a data set is obtained by first defining a
|
| 261 |
+
222 helper kernel, $\gamma$ along with vec from Definition 1:
|
| 262 |
+
|
| 263 |
+
$$
|
| 264 |
+
\begin{array} { r l } & { \gamma ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ) = \langle \varphi ( S _ { i , \cdot } ) , \varphi ( S _ { i ^ { \prime } , \cdot } ) \rangle _ { \mathrm { F } } } \\ & { \qquad = \left( ( \mathrm { v e c } ( Z _ { i , \cdot } ) ^ { \top } \mathrm { v e c } ( Z _ { i ^ { \prime } , \cdot } ) \right) ^ { 2 } - Z _ { i , \cdot } { \mathcal { T } } Z _ { i , \cdot } ^ { \top } - Z _ { i ^ { \prime } , \cdot } { \mathcal { T } } Z _ { i ^ { \prime } , \cdot } ^ { \top } + \| { \mathcal { T } } \| _ { 2 } ^ { 2 } } \end{array}
|
| 265 |
+
$$
|
| 266 |
+
|
| 267 |
+
This allows us to write
|
| 268 |
+
|
| 269 |
+
$$
|
| 270 |
+
\kappa ( s , s ^ { \prime } ) = \frac { \gamma ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ) } { \gamma ( S _ { i , \cdot } , S _ { i , \cdot } ) ^ { \frac { 1 } { 2 } } \gamma ( S _ { i ^ { \prime } , \cdot } , S _ { i ^ { \prime } , \cdot } ) ^ { \frac { 1 } { 2 } } }
|
| 271 |
+
$$
|
| 272 |
+
|
| 273 |
+
223 Finally, note that $\kappa$ can be readily implemented on an entire set of samples, returning an entire
|
| 274 |
+
224 Gram (kernel) matrix instead of a scalar value, by replacing the matrix operations above with tensor
|
| 275 |
+
225 operations and specifying the correct axes along which summation occurs—an implementation can
|
| 276 |
+
226 be found in our open source Python package at https://non-anonymous-link.after-review.
|
| 277 |
+
227 A proper distance metric can also be obtained from this kernel through function composition:
|
| 278 |
+
228 arccos $_ { \mathrm { ~ O ~ } \kappa }$ . The key idea behind the kernel is that it is the cosine similarity in the space that $\varphi$ maps
|
| 279 |
+
229 to, meaning for arbitrary sample points $x , x ^ { \prime }$ it evaluates to $\cos ( \theta )$ , where $\theta$ is the angle between
|
| 280 |
+
230 $\varphi ( x )$ and $\varphi ( x ^ { \prime } )$ . In this space, $\theta$ represents the dissimilarity of the dependence patterns underlying
|
| 281 |
+
231 $x$ and $x ^ { \prime }$ , without being biased by the possibly different magnitudes of $\varphi ( x )$ and $\varphi ( x ^ { \prime } )$ due to
|
| 282 |
+
232 differing variances. Indeed, it can be used as a statistical test of whether samples come from different
|
| 283 |
+
233 dependence structures and therefore causal models:
|
| 284 |
+
|
| 285 |
+
Theorem 10 Let $S \in \mathbb { R } ^ { n , m }$ , $S ^ { \prime } \in \mathbb { R } ^ { n ^ { \prime } , m }$ be sets of $n , n ^ { \prime }$ iid samples drawn respectively from the random variables $X = ( X _ { 1 } , \ldots , X _ { m } )$ and $X ^ { \prime } = ( X _ { 1 } ^ { \prime } , \ldots , X _ { m } ^ { \prime } )$ with finite first moments. Then,
|
| 286 |
+
|
| 287 |
+
$$
|
| 288 |
+
\sum _ { i = 1 } ^ { n } \sum _ { i ^ { \prime } = 1 } ^ { n ^ { \prime } } \kappa ( S _ { i \cdot } , S _ { i ^ { \prime } \cdot } ^ { \prime } ) < 0 \implies \exists j , j ^ { \prime } \in \{ 1 , \dots , m \} \mathrm { ~ s u c h ~ t h a t ~ } \mathcal { Z } ( X _ { j } , X _ { j ^ { \prime } } , \emptyset ) \neq \mathcal { Z } ( X _ { j } ^ { \prime } , X _ { j ^ { \prime } } ^ { \prime } , \emptyset ) .
|
| 289 |
+
$$
|
| 290 |
+
|
| 291 |
+
Proof. Through Slutsky’s Theorem (see Takeshi, 1985, Theorem 3.2.7) and the continuous mapping theorem (see Van der Vaart, 2000, Theorem 2.3), the consistency of $\varphi$ (Lemma 3) guarantees the consistency of $\kappa$ . Because the numerator of $\kappa$ is a Frobenius inner product of $\varphi$ ,
|
| 292 |
+
|
| 293 |
+
$$
|
| 294 |
+
\sum _ { i = 1 } ^ { n } \sum _ { i ^ { \prime } = 1 } ^ { n ^ { \prime } } \kappa ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ^ { \prime } ) \propto \sum _ { i = 1 } ^ { n } \sum _ { i ^ { \prime } = 1 } ^ { n ^ { \prime } } \sum _ { j = 1 } ^ { m } \sum _ { j ^ { \prime } = 1 } ^ { m } \varphi ( S _ { i , \cdot } ) _ { j , j ^ { \prime } } \varphi ( S _ { i ^ { \prime } , \cdot } ^ { \prime } ) _ { j , j ^ { \prime } } .
|
| 295 |
+
$$
|
| 296 |
+
|
| 297 |
+
Thus, in order for $\begin{array} { r } { \sum _ { i , i ^ { \prime } } \kappa ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ^ { \prime } ) < 0 } \end{array}$ , there must be a $j$ and $j ^ { \prime }$ for which $\varphi ( S _ { i , \cdot } ) _ { j , j ^ { \prime } } > 0$ but $\varphi ( S _ { i ^ { \prime } , \cdot } ^ { \prime } ) _ { j , j ^ { \prime } } \ : < \ : 0$ (or vice versa), and thus the hypothesis test in Lemma 3 would reject the null hypothesis that $X _ { j } \perp \perp X _ { j \prime }$ but fail to reject that $X _ { j } ^ { \prime } \perp \perp X _ { j ^ { \prime } } ^ { \prime }$ .
|
| 298 |
+
|
| 299 |
+
Corollary 11 Due to the relationship between independence structure and causal structure, an immediate of result of Theorem 10 is that $\begin{array} { r } { \sum _ { i , i } \kappa ( S _ { i , \cdot } , S _ { i ^ { \prime } , \cdot } ^ { \prime } ) < 0 } \end{array}$ implies $X$ and $X ^ { \prime }$ have different causal structures.
|
| 300 |
+
|
| 301 |
+
Theorem 12 Let $d$ be the distance measure between unconditional equivalence classes of ancestral graphs over $m$ vertices, $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = m ^ { 2 } - | \{ ( j , j ^ { \prime } ) : E ^ { \mathcal { U } \bullet \mathcal { U } ^ { \prime } } ( j , j ^ { \prime } ) = { ^ { * } } \} | - m$ . For given sample sets $S , S ^ { \prime }$ (i.e., real $n \times m$ matrices), use $\bar { \varphi } ( S )$ to denote the mean of the sample in kernel space, $\textstyle \sum _ { i } \varphi ( S _ { i , . } )$ , and say $S \sim _ { \mathrm { K } } \ S ^ { \prime }$ if and only if $\bar { \varphi } ( S ) \sim _ { 0 } \bar { \varphi } ( S ^ { \prime } )$ ; denote the corresponding quotient set by this equivalence class as $\mathbb { R } ^ { n , m } / \sim _ { \mathrm { K } } = \mathbb { K } ^ { n , m }$ and a representative from each equivalence class as $Q \in [ S ]$ . Let $\delta$ be the distance between sets of samples in $\mathbb { K }$ defined as $\begin{array} { r } { \delta ( Q , Q ^ { \prime } ) = m ^ { 2 } - \frac { 1 } { 2 n ^ { 2 } } \sum _ { i , i ^ { \prime } } \gamma ( Q _ { i , \cdot } , Q _ { i , \cdot } ^ { \ j } ) } \end{array}$ Let $b : \mathbb { U } ^ { m } \mathbb { K } ^ { n , m } , b : \mathcal { U } \mapsto \Omega$ , where $\Omega$ is the unique element in $\mathbb { K }$ such that $\mathrm { s i g n } ( \bar { \varphi } ( \Omega ) ) = a ( \mathcal { U } )$ . Then $b$ is a distance-preserving map (i.e., an isometry) from the metric space $( \mathbb { U } ^ { m } , d )$ to $( \mathbb { K } ^ { n , m } , \delta )$ .
|
| 302 |
+
|
| 303 |
+
Proof. Notice that $( \mathbb { U } ^ { m } , d )$ is indeed a metric space (Choudhary, 1993, Ch. 2): $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = 0$ iff $\varkappa ^ { - 1 } \bullet \mathcal { U } ^ { \prime }$ is the empty graph, which happens iff $\mathcal { U } = \mathcal { U } ^ { \prime }$ ; the symmetry of $d$ follows from the symmetry •; and for subadditivity of $d$ , observe that for vertices ${ j , j ^ { \prime } }$ in arbitrary 2-vertex graphs $\boldsymbol { { u } } , \boldsymbol { { u } } ^ { \prime } , \boldsymbol { { u } } ^ { \ast }$ we have either $d ( \mathcal { U } , \mathcal { U } ^ { \ast } ) = 2$ , in which case $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) + d ( \mathcal { U } ^ { \prime } , \mathcal { U } ^ { \prime \prime } ) = 4$ , or we have $d ( \mathcal { U } , \mathcal { U } ^ { \mathfrak { V } } ) = 0$ , in which case $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) + d ( \mathcal { U } ^ { \prime } , \mathcal { U } ^ { \prime \prime } )$ is either 0 or 4—in both cases $d ( \mathcal { U } , \mathcal { U } ^ { \prime \prime } ) \leq d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) + d ( \mathcal { U } ^ { \prime } , \mathcal { U } ^ { \prime \prime } )$ ; this easily extends to graphs of arbitrary numbers of vertices. Likewise, $( \mathbb { K } ^ { n , m } , \delta )$ is a metric space: $\delta ( Q , Q ^ { \prime } ) = 0 \longleftrightarrow \frac { 1 } { 2 n ^ { 2 } } \sum _ { i , i ^ { \prime } } \gamma ( Q _ { i , \cdot } , Q _ { i , \cdot } ^ { \prime } ) = m ^ { 2 } \Longleftrightarrow \bar { \varphi } ( Q ) _ { j , j ^ { \prime } } = \bar { \varphi } ( Q ) _ { j , j ^ { \prime } } ,$ , for all ${ j , j ^ { \prime } }$ , so iff $Q = Q ^ { \prime }$ ; symmetry and subadditivity of $\delta$ follow from the symmetry and subadditivity of $\gamma$ .
|
| 304 |
+
|
| 305 |
+
Finally, to show $b$ is an isometry, we must show (i) that it is bijective and (ii) that for all $\boldsymbol { \mathcal { U } } , \boldsymbol { \mathcal { U } } ^ { \prime } \in \mathbf { U } ^ { m }$ , $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = \delta ( b ( \mathcal { U } ) , b ( \mathcal { U } ^ { \prime } ) )$ . For (i), observe that by the group isomorphism $a$ and definition of $b$ , we have ${ \mathcal { U } } \neq { \mathcal { U } } ^ { \prime } \implies a ( { \mathcal { U } } ) \neq a ( { \mathcal { U } } ^ { \prime } ) \implies Q \neq Q ^ { \prime } \implies b ( { \mathcal { U } } ) \neq b ( { \mathcal { U } } ^ { \prime } )$ and so $b$ is injective. Also observe that because $\mathbb { K }$ is exactly the set of representatives of orthant equivalence classes of sample sets in kernel space, then for every $Q \in \mathbb { K }$ , there exists a $\mathcal { U }$ such that $b ( \mathcal { U } ) = Q$ , and so $b$ is surjective.
|
| 306 |
+
|
| 307 |
+
For (ii), isomorphism $a$ and the relation between element-wise product and Frobenius inner product allow us to write $\begin{array} { r } { d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = m ^ { 2 } - \sum _ { j , j ^ { \prime } } ( O \odot O ^ { \prime } ) _ { j , j ^ { \prime } } = m ^ { 2 } - \langle O , O ^ { \prime } \rangle _ { \mathrm { F } } } \end{array}$ . Substituting $O , O ^ { \prime }$ with their corresponding $\Omega , \Omega ^ { \prime }$ , and because the Frobenius inner product is a sesquilinear form, we can write $\begin{array} { r } { d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = m ^ { 2 } - \frac { 1 } { n ^ { 2 } } \sum _ { i , i ^ { \prime } } \langle \varphi ( \Omega _ { i , \cdot } ) , \varphi ( \Omega _ { i , \cdot } ^ { \prime } ) \rangle _ { \mathrm { F } } . } \end{array}$ , which by Definition 10 finally gives us that $d ( \mathcal { U } , \mathcal { U } ^ { \prime } ) = \delta ( \Omega , \Omega ^ { \prime } )$ , completing the proof.
|
| 308 |
+
|
| 309 |
+
In less formal terms, Theorem 12 shows how the space of unconditional equivalence classes of ancestral graph corresponds to the space of real matrices, which is a common space for samples to lie in. More specifically, it shows how the structure defined by distances between graphs is the same as the structure defined by distances between sets of samples and how this sample distance is related to our kernel $\kappa$ . Note that this is much stronger than Theorem 10: not only can $\kappa$ tell us that two sets of samples come from different causal models, it gives a measure of just how different the causal models are, in terms of their differing unconditional nonlinear independencies/m-separation statements.
|
| 310 |
+
|
| 311 |
+
273 To summarize, we began by defining $\varphi$ (Definition 2), which maps a given data set into a new
|
| 312 |
+
274 higher-dimensional feature space. This feature space corresponds to a space of causal graphical
|
| 313 |
+
275 models, such that samples which are similar in the new feature space must come from similar causal
|
| 314 |
+
276 models (Theorem 8). Our main contribution then is to propose the dependence contribution kernel
|
| 315 |
+
277 $\kappa$ (Definition 9).This kernel $\kappa$ is guaranteed not only to tell us that two sets of samples come from
|
| 316 |
+
278 different causal models (Theorem 10 and Corollary 11) but furthermore exactly how different the
|
| 317 |
+
279 causal models are (Theorem 12), all without the computational expense of explicitly projecting
|
| 318 |
+
280 samples or learning causal models. Thus, $\kappa$ is well-suited for addressing the causal clustering
|
| 319 |
+
problem and ensures that resulting clusters will be structurally homogeneous so that subsequent
|
| 320 |
+
causal structure learning will be more informative.
|
| 321 |
+
|
| 322 |
+
# 283 3 Application
|
| 323 |
+
|
| 324 |
+
We use kernel $k$ -means with our dependence contribution kernel to cluster a gene expression data set and then use the measurement dependence inducing latent (MeDIL) causal model framework for structure learning within each cluster (Markham and Grosse-Wentrup, 2020). The goal of causal clustering here is to reason about the different latent transcription factor (TF) networks governing gene expression (see Verny et al., 2017; Hackett et al., 2020, for other latent causal model approaches to learning TF networks). The original data set comes from Iyer (1999) and can be found at genome-www.stanford.edu/serum/data/fig2clusterdata.txt, with subsequent analysis by Dhillon et al. (2003, 2004). All of the code for our analysis is open source and available at https://non-anonymous-link.after-review.
|
| 325 |
+
|
| 326 |
+
The data consists of the measured gene expression levels of 517 different genes from human fibroblast cells in response to serum exposure, measured at 11 different time points, i.e., there are 517 samples and 11 different features. In genetics applications, it is not unusual to consider genes to be samples and expression (over time) to be features—indeed the three previous analyses of this data all have this approach—and the intuition is simply that we wish to cluster genes based on patterns in their expression levels over time, in order to identify subsets of genes that are controlled by the same gene regulatory network. Also notice that such data exemplifies the structurally heterogeneous populations discussed in Section 1: different genes can of course be regulated by different TFs, and so we can better represent the data by first clustering it into subpopulations that are more homogeneous and then performing causal structure learning on each subpopulation.
|
| 327 |
+
|
| 328 |
+
For clustering, we used $k = 6$ , which we found by looking at both the Variance Ratio Criterion (Calinski and Harabasz, 1974) and the Silhouette Coefficients (Rousseeuw, 1987), computed with the ´ scikit-learn machine learning toolbox (Pedregosa et al., 2011). We implemented (unweighted) kernel $k$ -means ourselves, using the pseudocode given by Dhillon et al. (2004), with initial mean points drawn uniformly at random from the sample set, and with significance level $\alpha = 0 . 1$ for the kernel parameter $\tau ( \alpha )$ . We then used the MeDIL (Markham et al., 2020) package to learn the dependence structure and latent causal models for each cluster.
|
| 329 |
+
|
| 330 |
+
Figure 1 shows an example of our results for three of the six gene clusters: Figure 1a shows their distance covariance heatmaps and estimated nonlinear dependence structure with significance level $\alpha = 0 . 1$ (so the axes are the 11 different features, i.e. the time, in hours, at which gene expression level was measured), while Figure 1b shows their corresponding causal structures, with measurement variables $M _ { 0 } { - } M _ { 1 0 }$ for each of the features and learned latent variables $L$ for different posited TFs.
|
| 331 |
+
|
| 332 |
+
The results show a clear difference in causal structure for the different clusters and allow us to reason about the latent TFs regulating genes in different clusters: notice that the latents in cluster K1 each cause only two or three measurement variables that tend to be close together—e.g., $L _ { 1 }$ causes $M _ { 1 }$ and $M _ { 2 }$ , indicating the TF corresponding to $L _ { 1 }$ is “short-acting”, only affecting gene expression from 30 minutes $( M _ { 1 } )$ to 1 hour $( M _ { 2 } )$ after serum exposure; in contrast, the latents in cluster K3 each cause between two and seven measurement variables that tend to be more spread out—e.g., $L _ { 1 }$ causes $M _ { 1 }$ and $M _ { 7 }$ , indicating the corresponding TF is more complicated, “long-acting” but not
|
| 333 |
+
|
| 334 |
+

|
| 335 |
+
Figure 1: Results of dependence contribution kernel clustering with significance level $\alpha = 0 . 1$ .
|
| 336 |
+
|
| 337 |
+
322 continuously so, affecting gene expression 30 minutes $( M _ { 1 } )$ and 12 hours $( M _ { 7 } )$ after serum exposure,
|
| 338 |
+
323 but independently of gene expression in the time between.
|
| 339 |
+
|
| 340 |
+
Our results are especially noteworthy compared what happens if one ignores the heterogeneity of the data and learns a causal structure for the entire data set without first clustering with our kernel: in that case, all of the measurement variables are dependent, with a single latent causing all of them, and no meaningful conclusions can be drawn about how unmeasured transcription factors regulate measured gene expression, i.e., the heterogeneity obscures the underlying causal structures.
|
| 341 |
+
|
| 342 |
+
# 4 Discussion
|
| 343 |
+
|
| 344 |
+
We address the problem of causal clustering—that is, finding the different causal structures underlying a structurally heterogeneous data set. Our main contribution is to develop the dependence contribution kernel and prove its suitability for the causal clustering task. This allows us to first use the kernel with existing clustering methods, such as kernel $k$ -means or DBSCAN, to identify homogeneous subpopulations. Then we use existing causal structure learning methods on each subpopulation. The kernel guarantees that each subpopulation is more structurally homogeneous and therefore the resulting causal structures better capture the causal structures within the data than if a single model were learned for the entire heterogeneous population.
|
| 345 |
+
|
| 346 |
+
338 Furthermore, we prove several interesting theoretical properties of our kernel, including (i) that
|
| 347 |
+
339 it can be used as a statistical test for the hypothesis that two sets of samples come from different
|
| 348 |
+
340 causal structures, as well as (ii) how it induces a metric space that is isometric to the one defined
|
| 349 |
+
341 by Hamming distance between ancestral graphs, i.e., comparing sets of samples with our kernel is
|
| 350 |
+
342 equivalent to first estimating the causal graphs of the different sets and then comparing those graphs.
|
| 351 |
+
343 Beyond the practical applications of our kernel, as shown by our application in reasoning about latent
|
| 352 |
+
344 transcription factor networks that regulate gene expression, this work also draws from and suggests
|
| 353 |
+
345 further fruitful connections between a variety of fields, including causal inference, kernel methods,
|
| 354 |
+
346 and algebraic statistics.
|
| 355 |
+
|
| 356 |
+
#
|
| 357 |
+
|
| 358 |
+
References
|
| 359 |
+
Artin, M. (2011). Algebra. Pearson Prentice Hall.
|
| 360 |
+
Athey, S. and Imbens, G. W. (2015). Machine learning methods for estimating heterogeneous causal effects. Stat, 1050(5):1–26.
|
| 361 |
+
Bareinboim, E. and Pearl, J. (2016). Causal inference and the data-fusion problem. Proceedings of the National Academy of Sciences, 113(27):7345–7352.
|
| 362 |
+
Brand, J. E. and Thomas, J. S. (2013). Causal effect heterogeneity. In Handbook of Causal Analysis for Social Research, pages 189–213. Springer.
|
| 363 |
+
Cai, H., Zheng, V. W., and Chang, K. C.-C. (2018). A comprehensive survey of graph embedding: Problems, techniques, and applications. IEEE Transactions on Knowledge and Data Engineering, 30(9):1616–1637.
|
| 364 |
+
Calinski, T. and Harabasz, J. (1974). A dendrite method for cluster analysis. ´ Communications in Statistics, 3(1):1–27.
|
| 365 |
+
Choudhary, B. (1993). The Elements of Complex Analysis. New Age International.
|
| 366 |
+
Devlin, K. (2003). Sets, functions, and logic: An introduction to abstract mathematics. CRC Press.
|
| 367 |
+
Dhillon, I. S., Guan, Y., and Kulis, B. (2004). Kernel k-means, spectral clustering and normalized cuts. Proceedings of the 2004 ACM SIGKDD International Conference on Knowledge Discovery and Data Mining - KDD ’04.
|
| 368 |
+
Dhillon, I. S., Marcotte, E. M., and Roshan, U. (2003). Diametrical clustering for identifying anti-correlated gene clusters. Bioinformatics, 19(13):1612–1619.
|
| 369 |
+
Eichler, M. (2012). Causal inference in time series analysis. Wiley Series in Probability and Statistics, page 327–354.
|
| 370 |
+
Emmert-Streib, F., Glazko, G., Gökmen, A., and De Matos Simoes, R. (2012). Statistical inference and reverse engineering of gene regulatory networks from observational expression data. Frontiers in Genetics, 3:8.
|
| 371 |
+
Filippone, M., Camastra, F., Masulli, F., and Rovetta, S. (2008). A survey of kernel and spectral methods for clustering. Pattern recognition, 41(1):176–190.
|
| 372 |
+
Greenland, S., Pearl, J., and Robins, J. M. (1999). Confounding and collapsibility in causal inference. Statistical Science, 14(1).
|
| 373 |
+
Gretton, A., Bousquet, O., Smola, A., and Schölkopf, B. (2005). Measuring statistical dependence with hilbert-schmidt norms. Algorithmic Learning Theory, pages 63–77.
|
| 374 |
+
Gretton, A., Fukumizu, K., Teo, C., Song, L., Schölkopf, B., and Smola, A. (2008). A kernel statistical test for independence. In Platt, J., Koller, D., Singer, Y., and Roweis, S., editors, Advances in Neural Information Processing Systems 20, pages 585–592. MIT Press.
|
| 375 |
+
Hackett, S. R., Baltz, E. A., Coram, M., Wranik, B. J., Kim, G., Baker, A., Fan, M., Hendrickson, D. G., Berndl, M., and McIsaac, R. S. (2020). Learning causal networks using inducible transcription factors and transcriptome-wide time series. Molecular Systems Biology, 16(3):e9174.
|
| 376 |
+
Huang, B. and Zhang, K. (2019). Specific and shared causal relation modeling and mechanism-based clustering. Advances in Neural Information Processing Systems (NeurIPS).
|
| 377 |
+
Iyer, V. R. (1999). The transcriptional program in the response of human fibroblasts to serum. Science, 283(5398):83–87.
|
| 378 |
+
388 Kummerfeld, E. and Ramsey, J. (2016). Causal clustering for 1-factor measurement models. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1655–1664. ACM.
|
| 379 |
+
391 Kummerfeld, E., Ramsey, J., Yang, R., Spirtes, P., and Scheines, R. (2014). Causal clustering for 2-factor measurement models. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pages 34–49. Springer. Liu, Z.-P. (2015). Reverse engineering of genome-wide gene regulatory networks from gene expression data. Current Genomics, 16(1):3–22.
|
| 380 |
+
Mac Lane, S. (2013). Categories for the working mathematician, volume 5. Springer Science & Business Media.
|
| 381 |
+
398 Markham, A., Chivukula, A., and Grosse-Wentrup, M. (2020). MeDIL: A Python package for causal modelling. In Proceedings of the 10th International Conference on Probabilistic Graphical Models (PGM). PMLR.
|
| 382 |
+
401 Markham, A. and Grosse-Wentrup, M. (2020). Measurement dependence inducing latent causal models. In Conference on Uncertainty in Artificial Intelligence (UAI), pages 590–599. PMLR.
|
| 383 |
+
403 Pearl, J. (2009). Causality. Cambridge University Press.
|
| 384 |
+
404 Pearl, J. and Verma, T. (1995). A theory of inferred causation. In Studies in Logic and the Foundations of Mathematics, volume 134, pages 789–811. Elsevier. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., and Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830.
|
| 385 |
+
410 Richardson, T., Spirtes, P., et al. (2002). Ancestral graph markov models. The Annals of Statistics, 30(4):962–1030.
|
| 386 |
+
412 Rousseeuw, P. J. (1987). Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20:53–65. Saeed, B., Panigrahi, S., and Uhler, C. (2020). Causal structure discovery from distributions arising from mixtures of dags. In International Conference on Machine Learning, pages 8336–8345. PMLR.
|
| 387 |
+
417 Schölkopf, B., Herbrich, R., and Smola, A. J. (2001). A generalized representer theorem. In International Conference on Computational Learning Theory, pages 416–426. Springer.
|
| 388 |
+
419 Sejdinovic, D., Sriperumbudur, B., Gretton, A., and Fukumizu, K. (2013). Equivalence of distancebased and RKHS-based statistics in hypothesis testing. The Annals of Statistics, pages 2263–2291.
|
| 389 |
+
421 Sharma, A., Gupta, G., Prasad, R., Chatterjee, A., Vig, L., and Shroff, G. (2019). MetaCI: Metalearning for causal inference in a heterogeneous population. CoRR, abs/1912.03960.
|
| 390 |
+
423 Spirtes, P. and Glymour, C. (1991). An algorithm for fast recovery of sparse causal graphs. Social Science Computer Review, 9(1):62–72.
|
| 391 |
+
425 Spirtes, P., Glymour, C., and Scheines, R. (2000). Causation, Prediction, and Search. MIT Press.
|
| 392 |
+
426 Székely, G. J., Rizzo, M. L., and Bakirov, N. K. (2007). Measuring and testing dependence by correlation of distances. The Annals of Statistics, 35(6):2769–2794.
|
| 393 |
+
428 Székely, G. J. and Rizzo, M. L. (2009). Brownian distance covariance. The Annals of Applied Statistics, 3(4):1236–1265.
|
| 394 |
+
Székely, G. J. and Rizzo, M. L. (2014). Partial distance correlation with methods for dissimilarities. The Annals of Statistics, 42(6):2382–2412.
|
| 395 |
+
Takeshi, A. (1985). Advanced econometrics, volume 1. Harvard university press.
|
| 396 |
+
Tjøstheim, D., Otneim, H., and Støve, B. (2018). Statistical dependence: Beyond pearson’s $\rho$ . arXiv preprint arXiv:1809.10455.
|
| 397 |
+
Van der Vaart, A. W. (2000). Asymptotic statistics, volume 3. Cambridge university press.
|
| 398 |
+
Verny, L., Sella, N., Affeldt, S., Singh, P. P., and Isambert, H. (2017). Learning causal networks with latent variables from multivariate information in genomic data. PLoS computational biology, 13(10):e1005662.
|
| 399 |
+
Wasserman, L. (2013). All of statistics: a concise course in statistical inference. Springer Science & Business Media.
|
| 400 |
+
Xie, Y. (2013). Population heterogeneity and causal inference. Proceedings of the National Academy of Sciences, 110(16):6262–6268.
|
| 401 |
+
Xie, Y., Brand, J. E., and Jann, B. (2012). Estimating heterogeneous treatment effects with observational data. Sociological Methodology, 42(1):314–347.
|
| 402 |
+
Zhang, J. (2007). A characterization of markov equivalence classes for directed acyclic graphs with latent variables. In Conference on Uncertainty in Artificial Intelligence (UAI).
|
| 403 |
+
|
| 404 |
+
# Checklist
|
| 405 |
+
|
| 406 |
+
1. For all authors...
|
| 407 |
+
|
| 408 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The first, fifth, and sixth sentences are covered thoroughly in Sections 1, 3, and 4, while the rest are covered thoroughly in Section 2.
|
| 409 |
+
(b) Did you describe the limitations of your work? [Yes] In Section 1.1 and throughout Section 2
|
| 410 |
+
(c) Did you discuss any potential negative societal impacts of your work? [N/A] Our work has no direct potential negative societal impact—just the same indirect potential most theoretical work has
|
| 411 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 412 |
+
|
| 413 |
+
2. If you are including theoretical results...
|
| 414 |
+
|
| 415 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] Yes, general assumptions in Section 1.1 as well as more specific assumptions within the statement of each relevant theorem/lemma/etc.
|
| 416 |
+
(b) Did you include complete proofs of all theoretical results? [Yes] Proofs follow each Theorem and Lemma in the text
|
| 417 |
+
|
| 418 |
+
3. If you ran experiments...
|
| 419 |
+
|
| 420 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] Though the linked pages contain identifying information, so we’ve included only placeholder “https://non-anonymous-link.after-review” links
|
| 421 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
|
| 422 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [N/A] We didn’t run an experiment multiple times but rather analyzed a real data set
|
| 423 |
+
|
| 424 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [No] It runs in just a few seconds, even on an old, underpowered laptop
|
| 425 |
+
|
| 426 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 427 |
+
|
| 428 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes]
|
| 429 |
+
(b) Did you mention the license of the assets? [Yes] We mentioned that it’s all open source; details can be found in their respective repos/documentation
|
| 430 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes]
|
| 431 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] The data is publicly available
|
| 432 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] It’s gene expression data, so neither of these are an issue
|
| 433 |
+
|
| 434 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 435 |
+
|
| 436 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 437 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 438 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_content_list.json
ADDED
|
@@ -0,0 +1,1160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "A Distance Covariance-based Kernel for Nonlinear Causal Clustering in Heterogeneous Populations ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
192,
|
| 8 |
+
122,
|
| 9 |
+
807,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
580,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
319,
|
| 32 |
+
535,
|
| 33 |
+
335
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 We consider the problem of causal structure learning in the setting of heterogeneous \n2 populations, i.e., populations in which a single causal structure does not adequately \n3 represent all population members, as is common in biological and social sciences. \n4 To this end, we introduce a distance covariance-based kernel designed specifically \n5 to measure the similarity between the underlying nonlinear causal structures of \n6 different samples. This kernel enables us to perform clustering to identify the \n7 homogeneous subpopulations. Indeed, we prove the corresponding feature map is \n8 a statistically consistent estimator of nonlinear independence structure, rendering \n9 the kernel itself a statistical test for the hypothesis that sets of samples come from \n10 different generating causal structures. We can then use existing methods to learn \n11 a causal structure for each of these subpopulations. We demonstrate using our \n12 kernel for causal clustering with an application in genetics, allowing us to reason \n13 about the latent transcription factor networks regulating measured gene expression \n14 levels. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
351,
|
| 43 |
+
766,
|
| 44 |
+
563
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "15 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
587,
|
| 55 |
+
312,
|
| 56 |
+
604
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "16 Learning causal relationships from observational and experimental data is one of the fundamental \n17 goals of scientific research, and causal inference methods are thus used in a wide variety of fields. The \n18 resulting variety of applications nevertheless share some common difficulties, such as causal inference \n19 from complex time-series data (Eichler, 2012) or the underlying causal structure being obscured \n20 by unmeasured confounders (Greenland et al., 1999). Another common difficulty, especially for \n21 applications in the biological and social sciences, is causal inference from heterogeneous populations \n22 (Xie, 2013; Brand and Thomas, 2013)—addressing this difficulty is our main motivation. \n23 In general terms, we understand a heterogeneous population to be one whose members are not \n24 adequately described by a single model but rather better described by a collection of models. Within \n25 our context of causal structure learning, this means a population is heterogeneous if some samples \n26 are generated by different causal structures—we call this structural heterogeneity. We note that there \n27 are other kinds of heterogeneity, such as that in samples generated by different joint distributions \n28 over the same causal structure, which are not the scope of this work. \n29 A specific example of structural heterogeneity can be found in genetics: causal methods are used to \n30 learn the structure of gene regulatory networks (Emmert-Streib et al., 2012), and gene expression data \n31 from a single recording or experiment may include thousands of genes, many of which are involved \n32 in entirely different networks (Liu, 2015); thus, attempting to learn a single causal structure for all of \n33 the genes will obscure the fact that different sets of them have different structures. \n34 The bulk of our work in this paper, and our main contribution, is to introduce the dependence \n35 contribution kernel, which facilitates a flexible and easily extensible approach to causal clustering: \n36 first perform clustering to identify structurally homogeneous subsets of samples, and then proceed \n37 with the actual learning task on each cluster. We prove that our kernel is a statistically consistent \n38 estimator of the similarity of the causal structures underlying different samples and can thus be used \n39 to find clusters that minimize structural heterogeneity for causal structure learning tasks. Furthermore, \n40 the kernel is derived from the distance covariance (Székely et al., 2007), imbuing it with the ability \n41 to detect nonlinear dependence. It can easily be used in a wide array of clustering algorithms, such \n42 as $k$ -means, DBSCAN, spectral clustering, or any other method that analogously makes use of a \n43 similarity (or distance) measure between samples (Filippone et al., 2008). \n44 The rest of the paper is organized as follows: We finish this section by discussing some of the most \n45 relevant related work from the causal inference and statistics literature. All of Section 2 is devoted to \n46 the theory underlying our dependence contribution kernel, including a comparison of the familiar \n47 product-moment covariance with the distance covariance (Section 2.1), defining an equivalence \n48 class of causal models with a convenient representation in the kernel space (Section 2.2), and the \n49 actual definition of our kernel and proofs of its relevant properties (Section 2.3). Next, in Section \n50 3, we demonstrate causal clustering with the kernel on a heterogeneous gene expression data set, \n51 finding structurally homogeneous clusters for which we then learn latent causal measurement models, \n52 allowing us to reason about the different transcription factor networks responsible for regulating the \n53 measured gene expression levels. Finally, we conclude in Section 4 mentioning possible future work. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
619,
|
| 66 |
+
825,
|
| 67 |
+
724
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
732,
|
| 77 |
+
825,
|
| 78 |
+
821
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
147,
|
| 87 |
+
829,
|
| 88 |
+
823,
|
| 89 |
+
905
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
145,
|
| 98 |
+
90,
|
| 99 |
+
825,
|
| 100 |
+
242
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
145,
|
| 109 |
+
248,
|
| 110 |
+
826,
|
| 111 |
+
400
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "54 1.1 Related Work ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
148,
|
| 121 |
+
417,
|
| 122 |
+
310,
|
| 123 |
+
433
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "55 Causal inference in heterogeneous populations sometimes refers to data-fusion (Bareinboim and \n56 Pearl, 2016), i.e., combining known homogeneous subpopulations and performing causal inference \n57 on the resulting heterogeneous population, or similarly, it can refer to meta-learning using known \n58 subpopulations (Sharma et al., 2019). Other times, it refers to estimating heterogeneous treatment \n59 effects (Xie et al., 2012; Athey and Imbens, 2015). However, in our case, the subpopulations are not \n60 known and we rather consider the problem of learning which samples come from which subpopulation, \n61 and these are differentiated according to structure instead of treatment effect. \n62 Previous work on causal clustering has focused more on the causal modeling aspect, using stronger \n63 assumptions about the underlying structures to learn more detailed models. For example, Kummerfeld \n64 et al. (2014); Kummerfeld and Ramsey (2016) focus on causal clustering in measurement models, \n65 with the goal of clustering different features together to study their latent causal structure, based on \n66 tetrad constraints within the linear product-moment covariance matrix. Huang and Zhang (2019) \n67 define a class of causal models facilitating mechanism-based clustering, learning causal models both \n68 for clusters of samples as well as a shared one for all samples, assuming the underlying structures \n69 are linear non-Gaussian. Saeed et al. (2020) characterize distributions arising from mixtures of \n70 directed acyclic graph (DAG) causal models (i.e., causal models without latent or selection variables), \n71 trying to learn both the component DAGs and a representation of how they are mixed. All of these \n72 approaches, like most causal inference methods, make specific (and for some applications, restrictive) \n73 assumptions about the underlying distributions or causal structures. \n74 In contrast, our method is not tied to specific distributional assumptions such as linearity or \n75 (non)Gaussianity—we assume there are enough samples for statistical inference, as well as the \n76 usual causal Markov and faithfulness assumptions. For the first step, we cluster samples together if \n77 they (implicitly, in the kernel space) have similar nonlinear independence structures. For the second \n78 step, causal structure learning, any existing method (along with its corresponding assumptions) can in \n79 principle be used. In our gene expression data application (Section 3), the measurement dependence \n80 inducing latent (MeDIL) causal model framework (Markham and Grosse-Wentrup, 2020), which \n81 assumes the data consists of measurement variables that are causally connected only through latent \n82 variables, seems appropriate, however other applications can easily use other methods. For example, \n83 component and mixture DAGs (Saeed et al., 2020) can be better learned when one first knows which \n84 samples come from which component—clustering with our kernel ensures samples in different \n85 clusters come from different DAGs, and so using their method instead of the MeDIL framework \n86 would be a natural choice for applications in which a DAG (without any latents) is more appropriate. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
147,
|
| 132 |
+
445,
|
| 133 |
+
825,
|
| 134 |
+
551
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "",
|
| 141 |
+
"bbox": [
|
| 142 |
+
147,
|
| 143 |
+
558,
|
| 144 |
+
825,
|
| 145 |
+
738
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "",
|
| 152 |
+
"bbox": [
|
| 153 |
+
147,
|
| 154 |
+
746,
|
| 155 |
+
825,
|
| 156 |
+
911
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "",
|
| 163 |
+
"bbox": [
|
| 164 |
+
156,
|
| 165 |
+
90,
|
| 166 |
+
826,
|
| 167 |
+
121
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 2
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "2 Theory ",
|
| 174 |
+
"text_level": 1,
|
| 175 |
+
"bbox": [
|
| 176 |
+
169,
|
| 177 |
+
142,
|
| 178 |
+
264,
|
| 179 |
+
159
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 2
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "2.1 Product-moment Covariance, Distance Covariance, and Dependence Contribution ",
|
| 186 |
+
"text_level": 1,
|
| 187 |
+
"bbox": [
|
| 188 |
+
168,
|
| 189 |
+
174,
|
| 190 |
+
782,
|
| 191 |
+
189
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 2
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "Though there is more to causal relationships than probabilistic dependence, causal inference methods based on graphical models ultimately rely on at least implicitly learning conditional independence (CI) relations. CI relations can be estimated in many ways, with different dependence measures and tests each having their own theoretical guarantees and being better suited for distributions of various different kinds of data (e.g., categorical, discrete, or continuous) and with various kinds of relationships (e.g., linear, monotonic nonlinear, arbitrary nonlinear) and with different testing assumptions (see Tjøstheim et al., 2018, for a comprehensive overview). ",
|
| 198 |
+
"bbox": [
|
| 199 |
+
173,
|
| 200 |
+
202,
|
| 201 |
+
825,
|
| 202 |
+
308
|
| 203 |
+
],
|
| 204 |
+
"page_idx": 2
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"type": "text",
|
| 208 |
+
"text": "A widely used measure of dependence is the product-moment covariance, often just called covariance, which is defined for two zero-mean random variables $X _ { 1 }$ and $X _ { 2 }$ as the scalar value $\\operatorname { c o v } ( X _ { 1 } , X _ { 2 } ) =$ $\\operatorname { E } [ X _ { 1 } X _ { 2 } ]$ . This can be extended from a pair of random variables to every pair of variables in a random vector, thus returning a matrix instead of a scalar. The covariance matrix for a vector of zero-mean random variables $\\mathbf { X } = ( X _ { 1 } , \\ldots , X _ { m } )$ can be estimated from a set $S \\in \\mathbb { R } ^ { n , m }$ of $n$ samples as $\\textstyle { \\hat { \\Sigma } } _ { \\mathbf { X } } = { \\frac { 1 } { n } } S ^ { \\top } S$ , and the ${ j , j ^ { \\prime } }$ -th value of $\\hat { \\Sigma } _ { \\mathbf { X } }$ is thus the estimate $\\operatorname { c o v } ( X _ { j } , X _ { j } ^ { \\prime } )$ . ",
|
| 209 |
+
"bbox": [
|
| 210 |
+
166,
|
| 211 |
+
314,
|
| 212 |
+
825,
|
| 213 |
+
406
|
| 214 |
+
],
|
| 215 |
+
"page_idx": 2
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"type": "text",
|
| 219 |
+
"text": "102 Two random variables being probabilistically independent (denoted $\\perp \\perp$ ) implies that their product \n103 moment covariance is zero, i.e., $X _ { j } \\perp \\perp X _ { j ^ { \\prime } } \\implies \\operatorname { c o v } ( X _ { j } , X _ { j ^ { \\prime } } ) = 0$ (importantly, the inverse of this \n104 does not hold). Thus, the estimated product-moment covariance can be used in statistical hypothesis \n105 testing for probabilistic independence (Wasserman, 2013, Ch. 10): $X _ { j }$ and $X _ { j ^ { \\prime } }$ are assumed to \n106 be independent if and only if $\\operatorname { c o v } ( X _ { j } , X _ { j ^ { \\prime } } )$ is sufficiently close to 0. However, this method has \n107 an important problem: the product-moment covariance is only a valid test statistic against linear \n108 dependence. \n109 Székely et al. (2007) introduce the distance covariance to remedy this problem: random variables are \n110 probabilistically independent if and only if their distance covariance is zero, i.e., $X _ { j } \\perp \\perp X _ { j ^ { \\prime } } \\iff$ \n111 $\\operatorname { d C o v } ( X _ { j } , X _ { j ^ { \\prime } } ) = 0$ , resulting in the estimated distance covariance being a valid test statistic against \n112 all types of dependence. The distance covariance is related to the product-moment covariance by \n113 $\\mathrm { d } \\mathrm { C o v } ^ { 2 } ( X _ { j } , X _ { j ^ { \\prime } } ) = \\mathrm { c o v } ( | X _ { j } - X _ { j } ^ { \\prime } | , | X _ { j ^ { \\prime } } - X _ { j ^ { \\prime } } ^ { \\prime } | ) - 2 \\mathrm { c o v } ( | X _ { j } - X _ { j } ^ { \\prime } | , | X _ { j ^ { \\prime } } - X _ { j ^ { \\prime } } ^ { \\prime \\prime } | ) .$ , where $( X _ { j } ^ { \\prime } , X _ { j ^ { \\prime } } ^ { \\prime } )$ \n114 and $( X _ { j } ^ { \\prime \\prime } , X _ { j ^ { \\prime } } ^ { \\prime \\prime } )$ are independent and identically distributed (iid) copies of $( X _ { j } , X _ { j ^ { \\prime } } )$ (Székely and \n115 Rizzo, 2014). The key intuition here is that the distances (e.g., $| X _ { j } - X _ { j } ^ { \\prime } | )$ constitute a nonlinear \n116 projection, so that using the linear product-moment covariance in this projected space allows for the \n117 detection of nonlinear dependence in the original space. \n118 Note that dCov is typically defined to be a scalar value when taken between two arbitrary-dimensional \n119 random vectors, but our restricted presentation of it above in terms of random variables is to make \n120 it more obviously analogous to the product-moment covariance between random variables. Thus, \n121 corresponding to $\\hat { \\Sigma } _ { \\mathbf { X } }$ for random vectors, we define the following: \n22 Definition 1 Let $S \\in \\mathbb { R } ^ { n , m }$ be a set of $n$ samples from the vector of random variables ${ \\textbf { X } } =$ \n23 $( X _ { 1 } , \\ldots , X _ { m } )$ . For each $j \\in \\{ 1 , \\dots , m \\}$ and $i , i ^ { \\prime } \\in \\{ 1 , \\ldots , n \\}$ , define the pairwise distance matrix \n24 $D ^ { j }$ , with values given by $D _ { i , i ^ { \\prime } } ^ { \\jmath } : = | S _ { i , j } - S _ { i ^ { \\prime } , j } |$ . Now define the corresponding doubly-centered \n25 matrices $C _ { i , i ^ { \\prime } } ^ { j } : = { D } _ { i , i ^ { \\prime } } ^ { j } - \\bar { D ^ { j } } _ { i , \\cdot } - \\bar { D ^ { j } } _ { \\cdot , i ^ { \\prime } } + \\bar { D ^ { j } } _ { \\cdot , \\cdot }$ , where putting a bar over the matrix and replacing \n26 an index $i$ or $i ^ { \\prime }$ with $\\cdot$ denotes taking the mean over that index. Define the matrix $L \\in \\mathbb { R } ^ { n ^ { 2 } , m }$ so \n27 that each column is a flattened doubly-centered distance matrix, $L : = ( \\operatorname { v e c } ( C ^ { 1 } ) , \\dots , \\operatorname { v e c } ( C ^ { m } ) )$ , \n28 where $\\mathrm { v e c } ( C ^ { j } )$ denotes “flattening” matrix $C ^ { j }$ into a column vector. Finally, the estimated distance \n29 covariance matrix over sample $S$ is defined as $\\begin{array} { r } { \\hat { \\Delta } \\mathbf { x } : = \\frac { 1 } { n ^ { 2 } } L ^ { \\top } L } \\end{array}$ . ",
|
| 220 |
+
"bbox": [
|
| 221 |
+
143,
|
| 222 |
+
411,
|
| 223 |
+
826,
|
| 224 |
+
517
|
| 225 |
+
],
|
| 226 |
+
"page_idx": 2
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"type": "text",
|
| 230 |
+
"text": "",
|
| 231 |
+
"bbox": [
|
| 232 |
+
140,
|
| 233 |
+
523,
|
| 234 |
+
825,
|
| 235 |
+
661
|
| 236 |
+
],
|
| 237 |
+
"page_idx": 2
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"type": "text",
|
| 241 |
+
"text": "",
|
| 242 |
+
"bbox": [
|
| 243 |
+
142,
|
| 244 |
+
667,
|
| 245 |
+
825,
|
| 246 |
+
728
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "",
|
| 253 |
+
"bbox": [
|
| 254 |
+
151,
|
| 255 |
+
733,
|
| 256 |
+
825,
|
| 257 |
+
863
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Analogous to 130 $\\hat { \\Sigma } _ { \\mathbf { X } }$ , the ${ j , j ^ { \\prime } }$ -th entry of $\\hat { \\Delta } _ { \\mathbf { X } }$ corresponds to $\\mathrm { d } \\hat { \\mathrm { C o v } } ^ { 2 } ( X _ { j } , X _ { j ^ { \\prime } } ) .$ —indeed it is mathemati131 cally equivalent to computing each pairwise distance covariance value and then manually filling in ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
142,
|
| 266 |
+
877,
|
| 267 |
+
826,
|
| 268 |
+
912
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "132 the matrix. The novelty of our Definition 1 is in finding a matrix of pairwise values instead of a single \n133 value for the distance covariance between random vectors, which helps provide an intuition for our \n134 next definition: ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
142,
|
| 277 |
+
90,
|
| 278 |
+
825,
|
| 279 |
+
136
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "Definition 2 Let $S \\in \\mathbb { R } ^ { n , m }$ be a set of $n$ samples from the vector of random variables ${ \\textbf { X } } =$ $( X _ { 1 } , \\ldots , X _ { m } )$ ; note that we consistently use indices $i , i ^ { \\prime } \\in \\{ 1 , \\ldots , n \\}$ and $j , j ^ { \\prime } \\in \\{ 1 , \\ldots , m \\}$ . Let $D \\in \\mathbb { R } ^ { n , n , m }$ denote the 3-dimensional array of stacked pairwise distance matrices defined by $D _ { i , i ^ { \\prime } , j } : = | S _ { i , j } - S _ { i ^ { \\prime } , j } |$ , and use $C \\in \\mathbb { R } ^ { n , n , m }$ to denote these same distance matrices after being doubly-centered, i.e., $\\tilde { C } _ { i , i ^ { \\prime } , j } : = D _ { i , i ^ { \\prime } , j } - \\bar { D } _ { i , \\cdot , j } - \\bar { D } _ { \\cdot , i ^ { \\prime } , j } + \\bar { D } _ { \\cdot , \\cdot , j }$ , where replacing an index $i$ or $i ^ { \\prime }$ with · denotes the entire (lower-dimensional) subarray over that index, and writing a bar, $\\bar { D }$ , denotes taking the mean over that subarray. Then standardize the doubly-centered distances to get $\\begin{array} { r } { Z _ { i , i ^ { \\prime } , j } : = \\frac { C _ { i , i ^ { \\prime } , j } } { \\bar { D } \\cdot \\underline { { \\mathbf { \\Pi } } } _ { \\cdot , j } } } \\end{array}$ Finally, the dependence contribution map, $\\varphi : \\mathbb { R } ^ { m } \\mathbb { R } ^ { m , m }$ , is defined as ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
171,
|
| 288 |
+
140,
|
| 289 |
+
826,
|
| 290 |
+
266
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "equation",
|
| 296 |
+
"img_path": "images/dfebc778fa5a00282eabb7a6129aa641d36f2b2c61210738a7c2c7a0cea8298f.jpg",
|
| 297 |
+
"text": "$$\n\\varphi ( S _ { i , \\cdot } ) : = Z _ { i , \\cdot , \\cdot } ^ { \\top } Z _ { i , \\cdot , \\cdot } - \\mathcal { T } ( \\alpha ) ,\n$$",
|
| 298 |
+
"text_format": "latex",
|
| 299 |
+
"bbox": [
|
| 300 |
+
398,
|
| 301 |
+
270,
|
| 302 |
+
598,
|
| 303 |
+
290
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "where 135 $\\mathcal { T } ( \\alpha ) \\in \\mathbb { R } ^ { m , m }$ is a matrix of scaled critical values corresponding to a given significance level 136 $\\alpha$ with zeros along the diagonal, i.e., $\\begin{array} { r } { \\mathcal { T } ( \\alpha ) _ { j , j ^ { \\prime } } = \\left\\{ \\begin{array} { l l } { 0 , } \\\\ { \\frac { 1 } { n } \\chi _ { 1 - \\alpha } ^ { 2 } ( 1 ) } \\end{array} \\right. } \\end{array}$ if , ot $j = j ^ { \\prime }$ e , with $\\chi _ { 1 - \\alpha } ^ { 2 } ( 1 )$ being the 137 $1 - \\alpha$ quantile of the chi-square distribution with 1 degree of freedom. ",
|
| 310 |
+
"bbox": [
|
| 311 |
+
142,
|
| 312 |
+
294,
|
| 313 |
+
825,
|
| 314 |
+
357
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "138 Notice the similarity bestandardization (i.e., use $C$ een Defininstead of $Z$ ons 2 a), then $\\begin{array} { r } { \\frac { 1 } { n ^ { 2 } } \\sum _ { i = 1 } ^ { n } \\varphi ( S _ { i , \\cdot } ) = \\hat { \\Delta } _ { \\mathbf { X } } } \\end{array}$ $\\mathcal { T } ( \\alpha )$ be a matrix of 0s and. Now, the differences: $\\hat { \\Delta } _ { \\mathbf { X } } \\hat { }$ gois \n140 a single matrix computed over an entire set of samples, whereas $\\varphi$ is a map that projects each given \n141 sample to a new feature space; each entry of $\\hat { \\Delta } _ { \\mathbf { X } }$ is simply a distance covariance value, whereas each \n142 entry of the sum of $\\varphi ( S _ { i , \\cdot } )$ over $i$ , by using standardization (using $Z$ instead of $C$ ) and subtracting a \n143 critical value, corresponds to the result of using a distance covariance value in a statistical hypothesis \n144 test for independence—indeed: ",
|
| 321 |
+
"bbox": [
|
| 322 |
+
140,
|
| 323 |
+
367,
|
| 324 |
+
825,
|
| 325 |
+
474
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "Lemma 3 Let $S \\in \\mathbb { R } ^ { n , m }$ be a set of $n$ iid samples from random variables $X _ { 1 } , \\ldots , X _ { m }$ with finite first moments. For a given significance level $\\alpha$ , under the null hypothesis of $X _ { j } \\perp \\perp X _ { j ^ { \\prime } }$ , the test ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
169,
|
| 334 |
+
478,
|
| 335 |
+
825,
|
| 336 |
+
510
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "equation",
|
| 342 |
+
"img_path": "images/e18230e54a54c2e290a04ff65a20e24f5c598c77c7dc91070c82f4a3a54f1eef.jpg",
|
| 343 |
+
"text": "$$\n\\mathrm { r e j e c t } h _ { \\varnothing } \\mathrm { i f } \\quad \\big ( \\sum _ { i = 1 } ^ { n } \\varphi ( S _ { i , \\cdot } ) \\big ) _ { j , j ^ { \\prime } } > 0\n$$",
|
| 344 |
+
"text_format": "latex",
|
| 345 |
+
"bbox": [
|
| 346 |
+
379,
|
| 347 |
+
513,
|
| 348 |
+
617,
|
| 349 |
+
555
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "145 is statistically consistent against all types of dependence. ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
140,
|
| 358 |
+
558,
|
| 359 |
+
547,
|
| 360 |
+
574
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "146 Proof. This follows from (Székely and Rizzo, 2009, Theorem 5 and Corollary 2) and how $\\varphi$ is \n147 defined to correspond to the difference between distance covariance and critical values. \u0003 \n148 These differences between $\\hat { \\Delta } _ { \\mathbf { X } }$ and $\\varphi$ serve two important purposes: first, they ensure $\\varphi$ maps to a \n149 Hilbert space so that our Definition 9 is a corresponding kernel function (Schölkopf et al., 2001); and \n150 second, as the name “dependence contribution map” suggests, they ensure $\\varphi ( S _ { i , \\cdot } )$ is informative not \n151 just about distance covariance but about nonlinear dependence and about how the inclusion of sample \n152 $S _ { i , \\astrosun }$ ,· in a set of samples $S$ contributes to the dependence patterns estimated from $S _ { \\ l }$ — this is the key \n153 intuition behind how our kernel function is used to learn structurally homogeneous sample subsets, \n154 as explicated in the following sections. ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
147,
|
| 369 |
+
578,
|
| 370 |
+
825,
|
| 371 |
+
609
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "",
|
| 378 |
+
"bbox": [
|
| 379 |
+
142,
|
| 380 |
+
619,
|
| 381 |
+
826,
|
| 382 |
+
727
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 3
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "2.2 Causal Graphs in Kernel Space ",
|
| 389 |
+
"text_level": 1,
|
| 390 |
+
"bbox": [
|
| 391 |
+
163,
|
| 392 |
+
742,
|
| 393 |
+
429,
|
| 394 |
+
757
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 3
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "In general, a full causal structure can only be learned with sufficient data about the effects of interventions, and thus causal structure learning from purely observational data is usually possible only up to an equivalence class of causal graphs (Spirtes et al., 2000; Pearl, 2009). For example, the classic PC and IC algorithms, under the assumptions of no selection bias and no confounding by latent variables, do not necessarily return a fully-specified DAG but instead return a mixed graph, containing possibly directed and undirected edges, representing the Markov equivalence class (Spirtes and Glymour, 1991; Pearl and Verma, 1995). ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
168,
|
| 403 |
+
768,
|
| 404 |
+
826,
|
| 405 |
+
875
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "163 We now define a set of equivalence classes for ancestral graphs (AGs), which—unlike causal DAGs— \n164 do not assume the absence of selection bias and latent confounders (Richardson et al., 2002): ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
143,
|
| 414 |
+
881,
|
| 415 |
+
826,
|
| 416 |
+
912
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "Definition 4 Consider an arbitrary ancestral graph $\\mathcal { A }$ with the set of vertices $V ^ { A }$ and edge function $E ^ { A }$ , and denote the set of unconditional $m$ -connection statements entailed by their corresponding unique maximal ancestral graph as $M ^ { A } = \\{ ( j , j ^ { \\prime } ) : j \\mathcal { L } _ { m } j ^ { \\prime } | \\emptyset \\} \\subseteq V ^ { A } \\times \\dot { V } ^ { A }$ . For any ancestral graph $\\mathcal { A } ^ { \\prime }$ such that $V ^ { \\mathcal { A ^ { \\prime } } } = \\bar { V } ^ { \\mathcal { A } }$ , define the unconditional equivalence relation denoted by $^ \\bullet \\sim _ { \\mathrm { U } }$ ’ as ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
173,
|
| 425 |
+
90,
|
| 426 |
+
825,
|
| 427 |
+
151
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 4
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "equation",
|
| 433 |
+
"img_path": "images/3985bfe6ec76a0490110a51a782f1e52fd1eb1225a17c3baf92f862708a31b76.jpg",
|
| 434 |
+
"text": "$$\n\\mathcal { A } \\sim _ { \\mathrm { U } } \\mathcal { A } ^ { \\prime } \\quad \\mathrm { i f ~ a n d ~ o n l y ~ i f } \\quad M ^ { A } = M ^ { A ^ { \\prime } } .\n$$",
|
| 435 |
+
"text_format": "latex",
|
| 436 |
+
"bbox": [
|
| 437 |
+
362,
|
| 438 |
+
159,
|
| 439 |
+
633,
|
| 440 |
+
178
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "165 Lemma 5 This lemma has two parts: (i) the relation ${ \\sim } _ { \\mathrm { U } }$ is an equivalence relation over the set of \n166 ancestral graphs A; (ii) for an arbitrary ancestral graph $\\mathcal A \\in \\mathbb A$ , the bidirected graph $\\mathcal { U } ^ { A } = ( V ^ { A } , E ^ { \\mathcal { U } } )$ , \n167 where $E ^ { \\mathcal { U } }$ maps all pairs $( j , j ^ { \\prime } ) \\in M ^ { A }$ to the bidirected edge symbol $\\cdot $ , is a unique representative \n168 of the equivalence class $[ A ]$ . \n169 Proof. For (i), recall that an equivalence relation is any relation satisfying reflexivity, symmetry, \n170 and transitivity (Devlin, 2003), all of which are satisfied by ${ \\sim } _ { \\mathrm { U } }$ because of its correspondence to \n171 the relation $\" = \"$ between sets. Thus, to prove (ii), it suffices to show that the map $s : \\mathbb { A } / \\sim _ { \\mathrm { U } } \\to$ \n172 A, $[ \\mathcal { A } ] \\mapsto \\mathcal { U } ^ { A }$ is injective (i.e, that it is a section) and that $[ s ( [ A ] ) ] = [ A ]$ (Mac Lane, 2013). The \n173 key to the proof is the observation that $\\mathcal { U } ^ { A }$ , because it contains only bidirected edges, is maximal \n174 and therefore entails exactly the unconditional $m$ -separation statements $M ^ { A }$ , thus by (i) we have \n175 ${ \\mathcal { U } } ^ { A } \\sim _ { \\mathrm { U } } { \\mathcal { A } }$ or equivalently $\\mathcal { U } ^ { A } \\in [ A ]$ or equivalently $[ \\mathcal { U } ^ { A } ] = [ \\mathcal { A } ]$ . Let $\\mathcal { A } , \\mathcal { A } ^ { \\prime }$ be arbitrary AGs, and \n176 assume $s ( [ \\mathcal { A } ] ) = s ( [ \\mathcal { A } ^ { \\prime } ] )$ . Then by definition of $s$ we have $\\bar { \\mathcal { U } } ^ { A } \\bar { = } \\bar { \\mathcal { U } } ^ { A ^ { \\prime } }$ , and by the observation above, \n177 $\\mathcal { U } ^ { A } \\in [ \\mathcal { A } ^ { \\prime } ]$ and thus $[ A ] = [ A ^ { \\prime } ]$ , making $s$ injective. And finally, by the definition of $s$ and also by \n178 the observation above, $[ s ( [ A ] ) ] = [ \\mathcal { U } ^ { A } ] = [ A ]$ , completing the proof. \u0003 \n179 This equivalence relation and its representatives has some important but perhaps subtle properties. \n180 First, it is different from Markov equivalence over AGs (which is characterized by partial ancestral \n181 graphs, PAGs) (Zhang, 2007)—it uses only unconditional $m$ -separation while PAGs are learned from \n182 conditional $m$ -separation statements. Second, because all DAGs are AGs, ${ \\sim } _ { \\mathrm { U } }$ is also an equivalence \n183 relation over DAGs. Third, being a representative means that every equivalence class includes exactly \n184 one fully bidirected graph (along with other equivalent AGs). Fourth, because each representative is \n185 formed by considering $m$ -connected paths, $\\mathcal { U } ^ { A }$ is not equivalent to what would be generated by some \n186 “edge-wise” procedure, such as simply replacing every edge in a PAG/AG/DAG/Markov random \n187 field/moralized DAG with bidirected edges.Finally, its most important property is that it facilitates \n188 Theorem 8, for which we first need a few more definitions. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
140,
|
| 449 |
+
186,
|
| 450 |
+
825,
|
| 451 |
+
248
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "",
|
| 458 |
+
"bbox": [
|
| 459 |
+
140,
|
| 460 |
+
255,
|
| 461 |
+
826,
|
| 462 |
+
406
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "",
|
| 469 |
+
"bbox": [
|
| 470 |
+
140,
|
| 471 |
+
419,
|
| 472 |
+
826,
|
| 473 |
+
570
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Definition 6 Given arbitrary ancestral graphs $\\mathcal { A } , \\mathcal { A } ^ { \\prime } \\in \\mathbb { A }$ over the same set of vertices, define the Hamming similarity product, denoted $\\bullet _ { \\bullet } ,$ as ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
171,
|
| 482 |
+
575,
|
| 483 |
+
825,
|
| 484 |
+
606
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "equation",
|
| 490 |
+
"img_path": "images/10aea1b9982dcaab6561bad8759a4e7dc9bd63653db68621e9496cb120b1b9d7.jpg",
|
| 491 |
+
"text": "$$\n\\bullet : \\mathbb { A } \\times \\mathbb { A } \\to \\mathbb { A } \\quad { \\mathrm { a n d } } \\quad \\mathcal { A } \\bullet \\mathcal { A } ^ { \\prime } \\mapsto \\mathcal { H } ,\n$$",
|
| 492 |
+
"text_format": "latex",
|
| 493 |
+
"bbox": [
|
| 494 |
+
370,
|
| 495 |
+
614,
|
| 496 |
+
622,
|
| 497 |
+
631
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "where 189 $\\mathcal { H } = ( V ^ { A } , E ^ { \\mathcal { H } } )$ and the function $E ^ { \\mathcal { H } } ( j , j ^ { \\prime } ) = \\ ' ^ { \\prime }$ if and only if $E ^ { A } ( j , j ^ { \\prime } ) = E ^ { A ^ { \\prime } } ( j , j ^ { \\prime } )$ . ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
142,
|
| 506 |
+
638,
|
| 507 |
+
797,
|
| 508 |
+
657
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 4
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "190 In words, the Hamming similarity product between two ancestral graphs returns a fully bidirected \n191 graph, with edges only where the two graphs have the same edge type. Now, shifting from ancestral \n192 graphs to real-valued square matrices: ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
142,
|
| 517 |
+
669,
|
| 518 |
+
825,
|
| 519 |
+
715
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 4
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "Definition 7 Let $\\cdot _ { \\sim _ { \\mathrm { O } } }$ ’ denote the orthant equivalence relation (‘orthant’ is the generalization of ‘quadrant’ from $\\mathbb { R } ^ { 2 }$ to arbitrarily higher dimensions) in square real matrices, i.e., for matrices Y, Y 0 ∈ Rm,m and with the element-wise function sign(Y )j,j0 = $\\mathrm { s i g n } ( Y ) _ { j , j ^ { \\prime } } = \\left\\{ { \\begin{array} { l l } { 1 , } \\\\ { - \\ } \\end{array} } \\right.$ 1, otherwise if $Y _ { j , j ^ { \\prime } } > 0$ or $j = j ^ { \\prime }$ ",
|
| 526 |
+
"bbox": [
|
| 527 |
+
173,
|
| 528 |
+
719,
|
| 529 |
+
825,
|
| 530 |
+
784
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 4
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "equation",
|
| 536 |
+
"img_path": "images/f16e48242acdd54405c4b87a62508223485e99133cf8d5864e9708e6355dea43.jpg",
|
| 537 |
+
"text": "$$\nY \\sim _ { \\mathrm { { o } } } Y ^ { \\prime } \\quad { \\mathrm { i f ~ a n d ~ o n l y ~ i f } } \\quad \\mathrm { s i g n } ( Y ) _ { j , j ^ { \\prime } } = \\mathrm { s i g n } ( Y ^ { \\prime } ) _ { j , j ^ { \\prime } }\n$$",
|
| 538 |
+
"text_format": "latex",
|
| 539 |
+
"bbox": [
|
| 540 |
+
281,
|
| 541 |
+
791,
|
| 542 |
+
640,
|
| 543 |
+
810
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 4
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "193 Theorem 8 Let $a$ be the map from the set of unconditional equivalence classes over ancestral graphs \n194 with $m$ vertices, $\\mathbb { A } ^ { m } / \\sim _ { \\mathrm { U } } = \\mathbb { U } ^ { m }$ , to the set of orthant equivalence classes over the image of $\\varphi$ \n195 i.e., $m \\times m$ symmetric real matrices with positive diagonal entries, $\\varphi ( \\mathbb { R } ^ { m } ) / { \\sim } _ { 0 } = \\mathbb { O } ^ { m }$ , defined by \n196 $a : \\mathcal { U } \\mapsto O$ , where $O _ { j , j ^ { \\prime } } = \\left\\{ { 1 , \\atop - 1 } \\right.$ if , ot EU (j, j0) = ‘↔’ or j = j0 . Then a is a group isomorphism \nbetween 197 $( \\mathbb { U } ^ { m } , \\bullet )$ and $( \\mathbb { O } ^ { m } , \\odot )$ , where $\\ast _ { \\odot } \\cdot$ ’ denotes the element-wise product. \n198 Proof. First, note that $( \\mathbb { U } ^ { m } , \\bullet )$ is indeed a group, satisfying the three group axioms (Artin, 2011): \n199 the representative of its identity element is the fully connected bidirected graph over $m$ vertices, $\\mathcal { U } ^ { \\mathbb { 1 } }$ ; \n200 each element is its own inverse; and $\\bullet$ is associative. Likewise, $( \\mathbb { O } ^ { m } , \\odot )$ is a group with identity \n201 element $\\left[ \\mathbb { 1 } ^ { m , m } \\right]$ , each element its own inverse, and the associative element-wise product operator. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
140,
|
| 552 |
+
818,
|
| 553 |
+
825,
|
| 554 |
+
912
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 4
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "",
|
| 561 |
+
"bbox": [
|
| 562 |
+
142,
|
| 563 |
+
90,
|
| 564 |
+
825,
|
| 565 |
+
151
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 5
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "Now, to show the two groups are isomorphic, it suffices to show (i) that $a$ is bijective and (ii) that for arbitrary $\\mathcal { U } , \\mathcal { U } ^ { \\prime } \\in \\mathbb { U } ^ { m }$ $\\mathbb { U } ^ { m } , a ( \\mathcal { U } ) \\odot a ( \\mathcal { U } ^ { \\prime } ) = a ( \\mathcal { U } \\bullet \\mathcal { U } ^ { \\prime } )$ . For (i) notice that if $U \\neq U ^ { \\prime }$ , then there must be at least one pair of vertices ${ j , j ^ { \\prime } }$ such that $\\dot { E } ^ { \\mathcal { U } } ( j , \\dot { j } ^ { \\prime } ) \\neq E ^ { \\mathcal { U } ^ { \\prime } } ( j , \\dot { j } ^ { \\prime } )$ and thus clearly $O _ { j , j ^ { \\prime } } \\neq O _ { j , j ^ { \\prime } } ^ { \\prime }$ so $a$ in injective. Furthermore, notice that every distinct $O \\in \\mathbb { O } ^ { m }$ is the image of some graph $\\mathcal { U }$ , so $a$ is also surjective. For (ii), for every $j , j ^ { \\prime } \\in \\{ 1 , \\ldots , m \\}$ , the definitions of $a , \\odot$ , and $\\bullet$ ensure $a ( \\mathcal { U } ) _ { j , j ^ { \\prime } } \\odot a ( \\mathcal { U } ^ { \\prime } ) _ { j , j ^ { \\prime } } = 1 \\iff E ^ { \\mathcal { U } } ( j , j ^ { \\prime } ) = E ^ { \\mathcal { U } ^ { \\prime } } ( j , j ^ { \\prime } ) \\iff 1 = a ( \\mathcal { U } \\bullet \\mathcal { U } ^ { \\prime } )$ , completing the proof. \u0003 ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
165,
|
| 574 |
+
157,
|
| 575 |
+
825,
|
| 576 |
+
265
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 5
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "209 For causal inference, which (often, but not necessarily) amounts to taking several samples in real \n210 space and inferring a single corresponding member in the space of ancestral graphs (or, more often, \n211 its quotient set by some equivalence relation), Theorem 8 means we can compare the different graphs \n212 of different sample sets without having to first move to the ancestral graph space. ",
|
| 583 |
+
"bbox": [
|
| 584 |
+
140,
|
| 585 |
+
279,
|
| 586 |
+
825,
|
| 587 |
+
340
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "Finally, notice the space of real square matrices is not a typical sample space but rather precisely (a superspace of) the space that our dependence contribution map $\\varphi$ (Definition 2) maps samples to—this means that mapping samples with $\\varphi$ allows us to make use of the group isomorphism. Though this already provides an intuition for why using $\\varphi$ would help with causal clustering, explicitly mapping each sample with it would be unnecessarily computationally expensive, and we are ultimately interested in morphisms between metric spaces (not just groups) of samples and graphs. To address this, we thus now move on to defining a kernel for $\\varphi$ . ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
161,
|
| 596 |
+
347,
|
| 597 |
+
825,
|
| 598 |
+
453
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "220 2.3 The Dependence Contribution Kernel ",
|
| 605 |
+
"text_level": 1,
|
| 606 |
+
"bbox": [
|
| 607 |
+
140,
|
| 608 |
+
470,
|
| 609 |
+
475,
|
| 610 |
+
487
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Definition 9 Let $S , Z , \\mathcal { T }$ , and $\\varphi$ be as in Definition 2. We define the dependence contribution kernel using the Frobenius (denoted by the subscript $\\mathrm { F }$ ) inner product and norm: ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
173,
|
| 619 |
+
498,
|
| 620 |
+
823,
|
| 621 |
+
530
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "equation",
|
| 627 |
+
"img_path": "images/e08ab9a003245991c22ac50362ba77b77ec7e8993f8171a65a8ff03efdcefc77.jpg",
|
| 628 |
+
"text": "$$\n\\kappa ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ) = \\frac { \\langle \\varphi ( S _ { i , \\cdot } ) , \\varphi ( S _ { i ^ { \\prime } , \\cdot } ) \\rangle _ { \\mathrm { F } } } { \\| \\varphi ( S _ { i , \\cdot } ) \\\\| _ { \\mathrm { F } } \\| \\varphi ( S _ { i ^ { \\prime } , \\cdot } ) \\| _ { \\mathrm { F } } }\n$$",
|
| 629 |
+
"text_format": "latex",
|
| 630 |
+
"bbox": [
|
| 631 |
+
369,
|
| 632 |
+
537,
|
| 633 |
+
630,
|
| 634 |
+
574
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "221 A more convenient expression for applying the kernel to a data set is obtained by first defining a \n222 helper kernel, $\\gamma$ along with vec from Definition 1: ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
137,
|
| 643 |
+
582,
|
| 644 |
+
823,
|
| 645 |
+
613
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "equation",
|
| 651 |
+
"img_path": "images/c406b8f4099fa02802cc96896fb51d1a3919865c83fd08cc5e64cb2181d2b895.jpg",
|
| 652 |
+
"text": "$$\n\\begin{array} { r l } & { \\gamma ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ) = \\langle \\varphi ( S _ { i , \\cdot } ) , \\varphi ( S _ { i ^ { \\prime } , \\cdot } ) \\rangle _ { \\mathrm { F } } } \\\\ & { \\qquad = \\left( ( \\mathrm { v e c } ( Z _ { i , \\cdot } ) ^ { \\top } \\mathrm { v e c } ( Z _ { i ^ { \\prime } , \\cdot } ) \\right) ^ { 2 } - Z _ { i , \\cdot } { \\mathcal { T } } Z _ { i , \\cdot } ^ { \\top } - Z _ { i ^ { \\prime } , \\cdot } { \\mathcal { T } } Z _ { i ^ { \\prime } , \\cdot } ^ { \\top } + \\| { \\mathcal { T } } \\| _ { 2 } ^ { 2 } } \\end{array}\n$$",
|
| 653 |
+
"text_format": "latex",
|
| 654 |
+
"bbox": [
|
| 655 |
+
250,
|
| 656 |
+
621,
|
| 657 |
+
748,
|
| 658 |
+
666
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "This allows us to write ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
173,
|
| 667 |
+
674,
|
| 668 |
+
325,
|
| 669 |
+
688
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "equation",
|
| 675 |
+
"img_path": "images/e9e246ca4381d271e24a239464fbf02a0d4dfcc4e16560af5db152cb90d2683d.jpg",
|
| 676 |
+
"text": "$$\n\\kappa ( s , s ^ { \\prime } ) = \\frac { \\gamma ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ) } { \\gamma ( S _ { i , \\cdot } , S _ { i , \\cdot } ) ^ { \\frac { 1 } { 2 } } \\gamma ( S _ { i ^ { \\prime } , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ) ^ { \\frac { 1 } { 2 } } }\n$$",
|
| 677 |
+
"text_format": "latex",
|
| 678 |
+
"bbox": [
|
| 679 |
+
369,
|
| 680 |
+
688,
|
| 681 |
+
627,
|
| 682 |
+
724
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "223 Finally, note that $\\kappa$ can be readily implemented on an entire set of samples, returning an entire \n224 Gram (kernel) matrix instead of a scalar value, by replacing the matrix operations above with tensor \n225 operations and specifying the correct axes along which summation occurs—an implementation can \n226 be found in our open source Python package at https://non-anonymous-link.after-review. \n227 A proper distance metric can also be obtained from this kernel through function composition: \n228 arccos $_ { \\mathrm { ~ O ~ } \\kappa }$ . The key idea behind the kernel is that it is the cosine similarity in the space that $\\varphi$ maps \n229 to, meaning for arbitrary sample points $x , x ^ { \\prime }$ it evaluates to $\\cos ( \\theta )$ , where $\\theta$ is the angle between \n230 $\\varphi ( x )$ and $\\varphi ( x ^ { \\prime } )$ . In this space, $\\theta$ represents the dissimilarity of the dependence patterns underlying \n231 $x$ and $x ^ { \\prime }$ , without being biased by the possibly different magnitudes of $\\varphi ( x )$ and $\\varphi ( x ^ { \\prime } )$ due to \n232 differing variances. Indeed, it can be used as a statistical test of whether samples come from different \n233 dependence structures and therefore causal models: ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
140,
|
| 691 |
+
729,
|
| 692 |
+
825,
|
| 693 |
+
791
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "",
|
| 700 |
+
"bbox": [
|
| 701 |
+
140,
|
| 702 |
+
805,
|
| 703 |
+
825,
|
| 704 |
+
912
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "Theorem 10 Let $S \\in \\mathbb { R } ^ { n , m }$ , $S ^ { \\prime } \\in \\mathbb { R } ^ { n ^ { \\prime } , m }$ be sets of $n , n ^ { \\prime }$ iid samples drawn respectively from the random variables $X = ( X _ { 1 } , \\ldots , X _ { m } )$ and $X ^ { \\prime } = ( X _ { 1 } ^ { \\prime } , \\ldots , X _ { m } ^ { \\prime } )$ with finite first moments. Then, ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
169,
|
| 713 |
+
89,
|
| 714 |
+
825,
|
| 715 |
+
122
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 6
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "equation",
|
| 721 |
+
"img_path": "images/9baee6286c27e2be8c77b431b9e1e760c66c99d7f0dd704441aa88f3747d8afa.jpg",
|
| 722 |
+
"text": "$$\n\\sum _ { i = 1 } ^ { n } \\sum _ { i ^ { \\prime } = 1 } ^ { n ^ { \\prime } } \\kappa ( S _ { i \\cdot } , S _ { i ^ { \\prime } \\cdot } ^ { \\prime } ) < 0 \\implies \\exists j , j ^ { \\prime } \\in \\{ 1 , \\dots , m \\} \\mathrm { ~ s u c h ~ t h a t ~ } \\mathcal { Z } ( X _ { j } , X _ { j ^ { \\prime } } , \\emptyset ) \\neq \\mathcal { Z } ( X _ { j } ^ { \\prime } , X _ { j ^ { \\prime } } ^ { \\prime } , \\emptyset ) .\n$$",
|
| 723 |
+
"text_format": "latex",
|
| 724 |
+
"bbox": [
|
| 725 |
+
187,
|
| 726 |
+
131,
|
| 727 |
+
805,
|
| 728 |
+
172
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Proof. Through Slutsky’s Theorem (see Takeshi, 1985, Theorem 3.2.7) and the continuous mapping theorem (see Van der Vaart, 2000, Theorem 2.3), the consistency of $\\varphi$ (Lemma 3) guarantees the consistency of $\\kappa$ . Because the numerator of $\\kappa$ is a Frobenius inner product of $\\varphi$ , ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
174,
|
| 737 |
+
176,
|
| 738 |
+
825,
|
| 739 |
+
222
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "equation",
|
| 745 |
+
"img_path": "images/ffd00a06fd1589bbd97805a431f96ed8c1cbb4400a2c1a5b780849879d00c771.jpg",
|
| 746 |
+
"text": "$$\n\\sum _ { i = 1 } ^ { n } \\sum _ { i ^ { \\prime } = 1 } ^ { n ^ { \\prime } } \\kappa ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ^ { \\prime } ) \\propto \\sum _ { i = 1 } ^ { n } \\sum _ { i ^ { \\prime } = 1 } ^ { n ^ { \\prime } } \\sum _ { j = 1 } ^ { m } \\sum _ { j ^ { \\prime } = 1 } ^ { m } \\varphi ( S _ { i , \\cdot } ) _ { j , j ^ { \\prime } } \\varphi ( S _ { i ^ { \\prime } , \\cdot } ^ { \\prime } ) _ { j , j ^ { \\prime } } .\n$$",
|
| 747 |
+
"text_format": "latex",
|
| 748 |
+
"bbox": [
|
| 749 |
+
289,
|
| 750 |
+
227,
|
| 751 |
+
705,
|
| 752 |
+
273
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "Thus, in order for $\\begin{array} { r } { \\sum _ { i , i ^ { \\prime } } \\kappa ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ^ { \\prime } ) < 0 } \\end{array}$ , there must be a $j$ and $j ^ { \\prime }$ for which $\\varphi ( S _ { i , \\cdot } ) _ { j , j ^ { \\prime } } > 0$ but $\\varphi ( S _ { i ^ { \\prime } , \\cdot } ^ { \\prime } ) _ { j , j ^ { \\prime } } \\ : < \\ : 0$ (or vice versa), and thus the hypothesis test in Lemma 3 would reject the null hypothesis that $X _ { j } \\perp \\perp X _ { j \\prime }$ but fail to reject that $X _ { j } ^ { \\prime } \\perp \\perp X _ { j ^ { \\prime } } ^ { \\prime }$ . \u0003 ",
|
| 759 |
+
"bbox": [
|
| 760 |
+
160,
|
| 761 |
+
279,
|
| 762 |
+
825,
|
| 763 |
+
327
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 6
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "Corollary 11 Due to the relationship between independence structure and causal structure, an immediate of result of Theorem 10 is that $\\begin{array} { r } { \\sum _ { i , i } \\kappa ( S _ { i , \\cdot } , S _ { i ^ { \\prime } , \\cdot } ^ { \\prime } ) < 0 } \\end{array}$ implies $X$ and $X ^ { \\prime }$ have different causal structures. ",
|
| 770 |
+
"bbox": [
|
| 771 |
+
171,
|
| 772 |
+
330,
|
| 773 |
+
825,
|
| 774 |
+
375
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 6
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "Theorem 12 Let $d$ be the distance measure between unconditional equivalence classes of ancestral graphs over $m$ vertices, $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = m ^ { 2 } - | \\{ ( j , j ^ { \\prime } ) : E ^ { \\mathcal { U } \\bullet \\mathcal { U } ^ { \\prime } } ( j , j ^ { \\prime } ) = { ^ { * } } \\} | - m$ . For given sample sets $S , S ^ { \\prime }$ (i.e., real $n \\times m$ matrices), use $\\bar { \\varphi } ( S )$ to denote the mean of the sample in kernel space, $\\textstyle \\sum _ { i } \\varphi ( S _ { i , . } )$ , and say $S \\sim _ { \\mathrm { K } } \\ S ^ { \\prime }$ if and only if $\\bar { \\varphi } ( S ) \\sim _ { 0 } \\bar { \\varphi } ( S ^ { \\prime } )$ ; denote the corresponding quotient set by this equivalence class as $\\mathbb { R } ^ { n , m } / \\sim _ { \\mathrm { K } } = \\mathbb { K } ^ { n , m }$ and a representative from each equivalence class as $Q \\in [ S ]$ . Let $\\delta$ be the distance between sets of samples in $\\mathbb { K }$ defined as $\\begin{array} { r } { \\delta ( Q , Q ^ { \\prime } ) = m ^ { 2 } - \\frac { 1 } { 2 n ^ { 2 } } \\sum _ { i , i ^ { \\prime } } \\gamma ( Q _ { i , \\cdot } , Q _ { i , \\cdot } ^ { \\ j } ) } \\end{array}$ Let $b : \\mathbb { U } ^ { m } \\mathbb { K } ^ { n , m } , b : \\mathcal { U } \\mapsto \\Omega$ , where $\\Omega$ is the unique element in $\\mathbb { K }$ such that $\\mathrm { s i g n } ( \\bar { \\varphi } ( \\Omega ) ) = a ( \\mathcal { U } )$ . Then $b$ is a distance-preserving map (i.e., an isometry) from the metric space $( \\mathbb { U } ^ { m } , d )$ to $( \\mathbb { K } ^ { n , m } , \\delta )$ . ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
171,
|
| 783 |
+
381,
|
| 784 |
+
826,
|
| 785 |
+
503
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 6
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "Proof. Notice that $( \\mathbb { U } ^ { m } , d )$ is indeed a metric space (Choudhary, 1993, Ch. 2): $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = 0$ iff $\\varkappa ^ { - 1 } \\bullet \\mathcal { U } ^ { \\prime }$ is the empty graph, which happens iff $\\mathcal { U } = \\mathcal { U } ^ { \\prime }$ ; the symmetry of $d$ follows from the symmetry •; and for subadditivity of $d$ , observe that for vertices ${ j , j ^ { \\prime } }$ in arbitrary 2-vertex graphs $\\boldsymbol { { u } } , \\boldsymbol { { u } } ^ { \\prime } , \\boldsymbol { { u } } ^ { \\ast }$ we have either $d ( \\mathcal { U } , \\mathcal { U } ^ { \\ast } ) = 2$ , in which case $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) + d ( \\mathcal { U } ^ { \\prime } , \\mathcal { U } ^ { \\prime \\prime } ) = 4$ , or we have $d ( \\mathcal { U } , \\mathcal { U } ^ { \\mathfrak { V } } ) = 0$ , in which case $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) + d ( \\mathcal { U } ^ { \\prime } , \\mathcal { U } ^ { \\prime \\prime } )$ is either 0 or 4—in both cases $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime \\prime } ) \\leq d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) + d ( \\mathcal { U } ^ { \\prime } , \\mathcal { U } ^ { \\prime \\prime } )$ ; this easily extends to graphs of arbitrary numbers of vertices. Likewise, $( \\mathbb { K } ^ { n , m } , \\delta )$ is a metric space: $\\delta ( Q , Q ^ { \\prime } ) = 0 \\longleftrightarrow \\frac { 1 } { 2 n ^ { 2 } } \\sum _ { i , i ^ { \\prime } } \\gamma ( Q _ { i , \\cdot } , Q _ { i , \\cdot } ^ { \\prime } ) = m ^ { 2 } \\Longleftrightarrow \\bar { \\varphi } ( Q ) _ { j , j ^ { \\prime } } = \\bar { \\varphi } ( Q ) _ { j , j ^ { \\prime } } ,$ , for all ${ j , j ^ { \\prime } }$ , so iff $Q = Q ^ { \\prime }$ ; symmetry and subadditivity of $\\delta$ follow from the symmetry and subadditivity of $\\gamma$ . ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
171,
|
| 794 |
+
507,
|
| 795 |
+
826,
|
| 796 |
+
630
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 6
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Finally, to show $b$ is an isometry, we must show (i) that it is bijective and (ii) that for all $\\boldsymbol { \\mathcal { U } } , \\boldsymbol { \\mathcal { U } } ^ { \\prime } \\in \\mathbf { U } ^ { m }$ , $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = \\delta ( b ( \\mathcal { U } ) , b ( \\mathcal { U } ^ { \\prime } ) )$ . For (i), observe that by the group isomorphism $a$ and definition of $b$ , we have ${ \\mathcal { U } } \\neq { \\mathcal { U } } ^ { \\prime } \\implies a ( { \\mathcal { U } } ) \\neq a ( { \\mathcal { U } } ^ { \\prime } ) \\implies Q \\neq Q ^ { \\prime } \\implies b ( { \\mathcal { U } } ) \\neq b ( { \\mathcal { U } } ^ { \\prime } )$ and so $b$ is injective. Also observe that because $\\mathbb { K }$ is exactly the set of representatives of orthant equivalence classes of sample sets in kernel space, then for every $Q \\in \\mathbb { K }$ , there exists a $\\mathcal { U }$ such that $b ( \\mathcal { U } ) = Q$ , and so $b$ is surjective. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
171,
|
| 805 |
+
635,
|
| 806 |
+
825,
|
| 807 |
+
712
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 6
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "For (ii), isomorphism $a$ and the relation between element-wise product and Frobenius inner product allow us to write $\\begin{array} { r } { d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = m ^ { 2 } - \\sum _ { j , j ^ { \\prime } } ( O \\odot O ^ { \\prime } ) _ { j , j ^ { \\prime } } = m ^ { 2 } - \\langle O , O ^ { \\prime } \\rangle _ { \\mathrm { F } } } \\end{array}$ . Substituting $O , O ^ { \\prime }$ with their corresponding $\\Omega , \\Omega ^ { \\prime }$ , and because the Frobenius inner product is a sesquilinear form, we can write $\\begin{array} { r } { d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = m ^ { 2 } - \\frac { 1 } { n ^ { 2 } } \\sum _ { i , i ^ { \\prime } } \\langle \\varphi ( \\Omega _ { i , \\cdot } ) , \\varphi ( \\Omega _ { i , \\cdot } ^ { \\prime } ) \\rangle _ { \\mathrm { F } } . } \\end{array}$ , which by Definition 10 finally gives us that $d ( \\mathcal { U } , \\mathcal { U } ^ { \\prime } ) = \\delta ( \\Omega , \\Omega ^ { \\prime } )$ , completing the proof. \u0003 ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
169,
|
| 816 |
+
717,
|
| 817 |
+
825,
|
| 818 |
+
795
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 6
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "In less formal terms, Theorem 12 shows how the space of unconditional equivalence classes of ancestral graph corresponds to the space of real matrices, which is a common space for samples to lie in. More specifically, it shows how the structure defined by distances between graphs is the same as the structure defined by distances between sets of samples and how this sample distance is related to our kernel $\\kappa$ . Note that this is much stronger than Theorem 10: not only can $\\kappa$ tell us that two sets of samples come from different causal models, it gives a measure of just how different the causal models are, in terms of their differing unconditional nonlinear independencies/m-separation statements. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
148,
|
| 827 |
+
805,
|
| 828 |
+
825,
|
| 829 |
+
912
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 6
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "273 To summarize, we began by defining $\\varphi$ (Definition 2), which maps a given data set into a new \n274 higher-dimensional feature space. This feature space corresponds to a space of causal graphical \n275 models, such that samples which are similar in the new feature space must come from similar causal \n276 models (Theorem 8). Our main contribution then is to propose the dependence contribution kernel \n277 $\\kappa$ (Definition 9).This kernel $\\kappa$ is guaranteed not only to tell us that two sets of samples come from \n278 different causal models (Theorem 10 and Corollary 11) but furthermore exactly how different the \n279 causal models are (Theorem 12), all without the computational expense of explicitly projecting \n280 samples or learning causal models. Thus, $\\kappa$ is well-suited for addressing the causal clustering \nproblem and ensures that resulting clusters will be structurally homogeneous so that subsequent \ncausal structure learning will be more informative. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
140,
|
| 838 |
+
90,
|
| 839 |
+
825,
|
| 840 |
+
242
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 7
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "283 3 Application ",
|
| 847 |
+
"text_level": 1,
|
| 848 |
+
"bbox": [
|
| 849 |
+
142,
|
| 850 |
+
271,
|
| 851 |
+
302,
|
| 852 |
+
290
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 7
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "We use kernel $k$ -means with our dependence contribution kernel to cluster a gene expression data set and then use the measurement dependence inducing latent (MeDIL) causal model framework for structure learning within each cluster (Markham and Grosse-Wentrup, 2020). The goal of causal clustering here is to reason about the different latent transcription factor (TF) networks governing gene expression (see Verny et al., 2017; Hackett et al., 2020, for other latent causal model approaches to learning TF networks). The original data set comes from Iyer (1999) and can be found at genome-www.stanford.edu/serum/data/fig2clusterdata.txt, with subsequent analysis by Dhillon et al. (2003, 2004). All of the code for our analysis is open source and available at https://non-anonymous-link.after-review. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
169,
|
| 861 |
+
310,
|
| 862 |
+
825,
|
| 863 |
+
445
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 7
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "The data consists of the measured gene expression levels of 517 different genes from human fibroblast cells in response to serum exposure, measured at 11 different time points, i.e., there are 517 samples and 11 different features. In genetics applications, it is not unusual to consider genes to be samples and expression (over time) to be features—indeed the three previous analyses of this data all have this approach—and the intuition is simply that we wish to cluster genes based on patterns in their expression levels over time, in order to identify subsets of genes that are controlled by the same gene regulatory network. Also notice that such data exemplifies the structurally heterogeneous populations discussed in Section 1: different genes can of course be regulated by different TFs, and so we can better represent the data by first clustering it into subpopulations that are more homogeneous and then performing causal structure learning on each subpopulation. ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
173,
|
| 872 |
+
453,
|
| 873 |
+
825,
|
| 874 |
+
603
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 7
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "For clustering, we used $k = 6$ , which we found by looking at both the Variance Ratio Criterion (Calinski and Harabasz, 1974) and the Silhouette Coefficients (Rousseeuw, 1987), computed with the ´ scikit-learn machine learning toolbox (Pedregosa et al., 2011). We implemented (unweighted) kernel $k$ -means ourselves, using the pseudocode given by Dhillon et al. (2004), with initial mean points drawn uniformly at random from the sample set, and with significance level $\\alpha = 0 . 1$ for the kernel parameter $\\tau ( \\alpha )$ . We then used the MeDIL (Markham et al., 2020) package to learn the dependence structure and latent causal models for each cluster. ",
|
| 881 |
+
"bbox": [
|
| 882 |
+
173,
|
| 883 |
+
611,
|
| 884 |
+
825,
|
| 885 |
+
717
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 7
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "Figure 1 shows an example of our results for three of the six gene clusters: Figure 1a shows their distance covariance heatmaps and estimated nonlinear dependence structure with significance level $\\alpha = 0 . 1$ (so the axes are the 11 different features, i.e. the time, in hours, at which gene expression level was measured), while Figure 1b shows their corresponding causal structures, with measurement variables $M _ { 0 } { - } M _ { 1 0 }$ for each of the features and learned latent variables $L$ for different posited TFs. ",
|
| 892 |
+
"bbox": [
|
| 893 |
+
173,
|
| 894 |
+
723,
|
| 895 |
+
825,
|
| 896 |
+
799
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 7
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "The results show a clear difference in causal structure for the different clusters and allow us to reason about the latent TFs regulating genes in different clusters: notice that the latents in cluster K1 each cause only two or three measurement variables that tend to be close together—e.g., $L _ { 1 }$ causes $M _ { 1 }$ and $M _ { 2 }$ , indicating the TF corresponding to $L _ { 1 }$ is “short-acting”, only affecting gene expression from 30 minutes $( M _ { 1 } )$ to 1 hour $( M _ { 2 } )$ after serum exposure; in contrast, the latents in cluster K3 each cause between two and seven measurement variables that tend to be more spread out—e.g., $L _ { 1 }$ causes $M _ { 1 }$ and $M _ { 7 }$ , indicating the corresponding TF is more complicated, “long-acting” but not ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
169,
|
| 905 |
+
806,
|
| 906 |
+
825,
|
| 907 |
+
911
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "image",
|
| 913 |
+
"img_path": "images/1980f63ea3df4f8129dd14dbc52df12d1755607e16d39aa799cd48672046d8a4.jpg",
|
| 914 |
+
"image_caption": [
|
| 915 |
+
"Figure 1: Results of dependence contribution kernel clustering with significance level $\\alpha = 0 . 1$ . "
|
| 916 |
+
],
|
| 917 |
+
"image_footnote": [],
|
| 918 |
+
"bbox": [
|
| 919 |
+
176,
|
| 920 |
+
93,
|
| 921 |
+
830,
|
| 922 |
+
448
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 8
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "322 continuously so, affecting gene expression 30 minutes $( M _ { 1 } )$ and 12 hours $( M _ { 7 } )$ after serum exposure, \n323 but independently of gene expression in the time between. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
143,
|
| 931 |
+
484,
|
| 932 |
+
825,
|
| 933 |
+
515
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 8
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Our results are especially noteworthy compared what happens if one ignores the heterogeneity of the data and learns a causal structure for the entire data set without first clustering with our kernel: in that case, all of the measurement variables are dependent, with a single latent causing all of them, and no meaningful conclusions can be drawn about how unmeasured transcription factors regulate measured gene expression, i.e., the heterogeneity obscures the underlying causal structures. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
171,
|
| 942 |
+
522,
|
| 943 |
+
825,
|
| 944 |
+
598
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 8
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "4 Discussion ",
|
| 951 |
+
"text_level": 1,
|
| 952 |
+
"bbox": [
|
| 953 |
+
166,
|
| 954 |
+
616,
|
| 955 |
+
294,
|
| 956 |
+
632
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 8
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "We address the problem of causal clustering—that is, finding the different causal structures underlying a structurally heterogeneous data set. Our main contribution is to develop the dependence contribution kernel and prove its suitability for the causal clustering task. This allows us to first use the kernel with existing clustering methods, such as kernel $k$ -means or DBSCAN, to identify homogeneous subpopulations. Then we use existing causal structure learning methods on each subpopulation. The kernel guarantees that each subpopulation is more structurally homogeneous and therefore the resulting causal structures better capture the causal structures within the data than if a single model were learned for the entire heterogeneous population. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
166,
|
| 965 |
+
647,
|
| 966 |
+
825,
|
| 967 |
+
768
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 8
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "338 Furthermore, we prove several interesting theoretical properties of our kernel, including (i) that \n339 it can be used as a statistical test for the hypothesis that two sets of samples come from different \n340 causal structures, as well as (ii) how it induces a metric space that is isometric to the one defined \n341 by Hamming distance between ancestral graphs, i.e., comparing sets of samples with our kernel is \n342 equivalent to first estimating the causal graphs of the different sets and then comparing those graphs. \n343 Beyond the practical applications of our kernel, as shown by our application in reasoning about latent \n344 transcription factor networks that regulate gene expression, this work also draws from and suggests \n345 further fruitful connections between a variety of fields, including causal inference, kernel methods, \n346 and algebraic statistics. ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
140,
|
| 976 |
+
775,
|
| 977 |
+
825,
|
| 978 |
+
911
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "",
|
| 985 |
+
"text_level": 1,
|
| 986 |
+
"bbox": [
|
| 987 |
+
169,
|
| 988 |
+
89,
|
| 989 |
+
267,
|
| 990 |
+
106
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 9
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "References \nArtin, M. (2011). Algebra. Pearson Prentice Hall. \nAthey, S. and Imbens, G. W. (2015). Machine learning methods for estimating heterogeneous causal effects. Stat, 1050(5):1–26. \nBareinboim, E. and Pearl, J. (2016). Causal inference and the data-fusion problem. Proceedings of the National Academy of Sciences, 113(27):7345–7352. \nBrand, J. E. and Thomas, J. S. (2013). Causal effect heterogeneity. In Handbook of Causal Analysis for Social Research, pages 189–213. Springer. \nCai, H., Zheng, V. W., and Chang, K. C.-C. (2018). A comprehensive survey of graph embedding: Problems, techniques, and applications. IEEE Transactions on Knowledge and Data Engineering, 30(9):1616–1637. \nCalinski, T. and Harabasz, J. (1974). A dendrite method for cluster analysis. ´ Communications in Statistics, 3(1):1–27. \nChoudhary, B. (1993). The Elements of Complex Analysis. New Age International. \nDevlin, K. (2003). Sets, functions, and logic: An introduction to abstract mathematics. CRC Press. \nDhillon, I. S., Guan, Y., and Kulis, B. (2004). Kernel k-means, spectral clustering and normalized cuts. Proceedings of the 2004 ACM SIGKDD International Conference on Knowledge Discovery and Data Mining - KDD ’04. \nDhillon, I. S., Marcotte, E. M., and Roshan, U. (2003). Diametrical clustering for identifying anti-correlated gene clusters. Bioinformatics, 19(13):1612–1619. \nEichler, M. (2012). Causal inference in time series analysis. Wiley Series in Probability and Statistics, page 327–354. \nEmmert-Streib, F., Glazko, G., Gökmen, A., and De Matos Simoes, R. (2012). Statistical inference and reverse engineering of gene regulatory networks from observational expression data. Frontiers in Genetics, 3:8. \nFilippone, M., Camastra, F., Masulli, F., and Rovetta, S. (2008). A survey of kernel and spectral methods for clustering. Pattern recognition, 41(1):176–190. \nGreenland, S., Pearl, J., and Robins, J. M. (1999). Confounding and collapsibility in causal inference. Statistical Science, 14(1). \nGretton, A., Bousquet, O., Smola, A., and Schölkopf, B. (2005). Measuring statistical dependence with hilbert-schmidt norms. Algorithmic Learning Theory, pages 63–77. \nGretton, A., Fukumizu, K., Teo, C., Song, L., Schölkopf, B., and Smola, A. (2008). A kernel statistical test for independence. In Platt, J., Koller, D., Singer, Y., and Roweis, S., editors, Advances in Neural Information Processing Systems 20, pages 585–592. MIT Press. \nHackett, S. R., Baltz, E. A., Coram, M., Wranik, B. J., Kim, G., Baker, A., Fan, M., Hendrickson, D. G., Berndl, M., and McIsaac, R. S. (2020). Learning causal networks using inducible transcription factors and transcriptome-wide time series. Molecular Systems Biology, 16(3):e9174. \nHuang, B. and Zhang, K. (2019). Specific and shared causal relation modeling and mechanism-based clustering. Advances in Neural Information Processing Systems (NeurIPS). \nIyer, V. R. (1999). The transcriptional program in the response of human fibroblasts to serum. Science, 283(5398):83–87. \n388 Kummerfeld, E. and Ramsey, J. (2016). Causal clustering for 1-factor measurement models. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1655–1664. ACM. \n391 Kummerfeld, E., Ramsey, J., Yang, R., Spirtes, P., and Scheines, R. (2014). Causal clustering for 2-factor measurement models. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pages 34–49. Springer. Liu, Z.-P. (2015). Reverse engineering of genome-wide gene regulatory networks from gene expression data. Current Genomics, 16(1):3–22. \nMac Lane, S. (2013). Categories for the working mathematician, volume 5. Springer Science & Business Media. \n398 Markham, A., Chivukula, A., and Grosse-Wentrup, M. (2020). MeDIL: A Python package for causal modelling. In Proceedings of the 10th International Conference on Probabilistic Graphical Models (PGM). PMLR. \n401 Markham, A. and Grosse-Wentrup, M. (2020). Measurement dependence inducing latent causal models. In Conference on Uncertainty in Artificial Intelligence (UAI), pages 590–599. PMLR. \n403 Pearl, J. (2009). Causality. Cambridge University Press. \n404 Pearl, J. and Verma, T. (1995). A theory of inferred causation. In Studies in Logic and the Foundations of Mathematics, volume 134, pages 789–811. Elsevier. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., and Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830. \n410 Richardson, T., Spirtes, P., et al. (2002). Ancestral graph markov models. The Annals of Statistics, 30(4):962–1030. \n412 Rousseeuw, P. J. (1987). Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20:53–65. Saeed, B., Panigrahi, S., and Uhler, C. (2020). Causal structure discovery from distributions arising from mixtures of dags. In International Conference on Machine Learning, pages 8336–8345. PMLR. \n417 Schölkopf, B., Herbrich, R., and Smola, A. J. (2001). A generalized representer theorem. In International Conference on Computational Learning Theory, pages 416–426. Springer. \n419 Sejdinovic, D., Sriperumbudur, B., Gretton, A., and Fukumizu, K. (2013). Equivalence of distancebased and RKHS-based statistics in hypothesis testing. The Annals of Statistics, pages 2263–2291. \n421 Sharma, A., Gupta, G., Prasad, R., Chatterjee, A., Vig, L., and Shroff, G. (2019). MetaCI: Metalearning for causal inference in a heterogeneous population. CoRR, abs/1912.03960. \n423 Spirtes, P. and Glymour, C. (1991). An algorithm for fast recovery of sparse causal graphs. Social Science Computer Review, 9(1):62–72. \n425 Spirtes, P., Glymour, C., and Scheines, R. (2000). Causation, Prediction, and Search. MIT Press. \n426 Székely, G. J., Rizzo, M. L., and Bakirov, N. K. (2007). Measuring and testing dependence by correlation of distances. The Annals of Statistics, 35(6):2769–2794. \n428 Székely, G. J. and Rizzo, M. L. (2009). Brownian distance covariance. The Annals of Applied Statistics, 3(4):1236–1265. \nSzékely, G. J. and Rizzo, M. L. (2014). Partial distance correlation with methods for dissimilarities. The Annals of Statistics, 42(6):2382–2412. \nTakeshi, A. (1985). Advanced econometrics, volume 1. Harvard university press. \nTjøstheim, D., Otneim, H., and Støve, B. (2018). Statistical dependence: Beyond pearson’s $\\rho$ . arXiv preprint arXiv:1809.10455. \nVan der Vaart, A. W. (2000). Asymptotic statistics, volume 3. Cambridge university press. \nVerny, L., Sella, N., Affeldt, S., Singh, P. P., and Isambert, H. (2017). Learning causal networks with latent variables from multivariate information in genomic data. PLoS computational biology, 13(10):e1005662. \nWasserman, L. (2013). All of statistics: a concise course in statistical inference. Springer Science & Business Media. \nXie, Y. (2013). Population heterogeneity and causal inference. Proceedings of the National Academy of Sciences, 110(16):6262–6268. \nXie, Y., Brand, J. E., and Jann, B. (2012). Estimating heterogeneous treatment effects with observational data. Sociological Methodology, 42(1):314–347. \nZhang, J. (2007). A characterization of markov equivalence classes for directed acyclic graphs with latent variables. In Conference on Uncertainty in Artificial Intelligence (UAI). ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
160,
|
| 999 |
+
95,
|
| 1000 |
+
828,
|
| 1001 |
+
917
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 9
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
150,
|
| 1010 |
+
53,
|
| 1011 |
+
830,
|
| 1012 |
+
920
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 10
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
156,
|
| 1021 |
+
90,
|
| 1022 |
+
828,
|
| 1023 |
+
421
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 11
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "Checklist ",
|
| 1030 |
+
"text_level": 1,
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
173,
|
| 1033 |
+
444,
|
| 1034 |
+
254,
|
| 1035 |
+
459
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 11
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "1. For all authors... ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
214,
|
| 1044 |
+
470,
|
| 1045 |
+
341,
|
| 1046 |
+
484
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 11
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] The first, fifth, and sixth sentences are covered thoroughly in Sections 1, 3, and 4, while the rest are covered thoroughly in Section 2. \n(b) Did you describe the limitations of your work? [Yes] In Section 1.1 and throughout Section 2 \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] Our work has no direct potential negative societal impact—just the same indirect potential most theoretical work has \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
238,
|
| 1055 |
+
489,
|
| 1056 |
+
825,
|
| 1057 |
+
646
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 11
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "2. If you are including theoretical results... ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
214,
|
| 1066 |
+
651,
|
| 1067 |
+
493,
|
| 1068 |
+
666
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 11
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] Yes, general assumptions in Section 1.1 as well as more specific assumptions within the statement of each relevant theorem/lemma/etc. \n(b) Did you include complete proofs of all theoretical results? [Yes] Proofs follow each Theorem and Lemma in the text ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
238,
|
| 1077 |
+
670,
|
| 1078 |
+
825,
|
| 1079 |
+
747
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 11
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "3. If you ran experiments... ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
214,
|
| 1088 |
+
753,
|
| 1089 |
+
393,
|
| 1090 |
+
767
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 11
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] Though the linked pages contain identifying information, so we’ve included only placeholder “https://non-anonymous-link.after-review” links \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [N/A] We didn’t run an experiment multiple times but rather analyzed a real data set ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
238,
|
| 1099 |
+
772,
|
| 1100 |
+
825,
|
| 1101 |
+
911
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 11
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [No] It runs in just a few seconds, even on an old, underpowered laptop ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
236,
|
| 1110 |
+
90,
|
| 1111 |
+
825,
|
| 1112 |
+
137
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 12
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
217,
|
| 1121 |
+
141,
|
| 1122 |
+
825,
|
| 1123 |
+
156
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 12
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] We mentioned that it’s all open source; details can be found in their respective repos/documentation \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] The data is publicly available \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] It’s gene expression data, so neither of these are an issue ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
238,
|
| 1132 |
+
161,
|
| 1133 |
+
825,
|
| 1134 |
+
306
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 12
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
215,
|
| 1143 |
+
313,
|
| 1144 |
+
705,
|
| 1145 |
+
328
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 12
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
238,
|
| 1154 |
+
332,
|
| 1155 |
+
825,
|
| 1156 |
+
429
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 12
|
| 1159 |
+
}
|
| 1160 |
+
]
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJlxmAKlg/BJlxmAKlg.md
ADDED
|
@@ -0,0 +1,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# REASONET: LEARNING TO STOP READING IN MACHINE COMPREHENSION
|
| 2 |
+
|
| 3 |
+
Yelong Shen, Po-Sen Huang, Jianfeng Gao, Weizhu Chen Microsoft Research, Redmond, WA, USA {yeshen,pshuang,jfgao,wzchen}@microsoft.com
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Teaching a computer to read a document and answer general questions pertaining to the document is a challenging yet unsolved problem. In this paper, we describe a novel neural network architecture called the Reasoning Network (ReasoNet) for machine comprehension tasks. ReasoNets make use of multiple turns to effectively exploit and then reason over the relation among queries, documents, and answers. Different from previous approaches using a fixed number of turns during inference, ReasoNets introduce a termination state to relax this constraint on the reasoning depth. With the use of reinforcement learning, ReasoNets can dynamically determine whether to continue the comprehension process after digesting intermediate results, or to terminate reading when it concludes that existing information is adequate to produce an answer. ReasoNets have achieved state-of-the-art performance in machine comprehension datasets, including unstructured CNN and Daily Mail datasets, and a structured Graph Reachability dataset.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Teaching machines to read, process, and comprehend natural language documents is a coveted goal for artificial intelligence (Bottou, 2014; Richardson et al., 2013; Hermann et al., 2015). Genuine reading comprehension is extremely challenging, since effective comprehension involves thorough understanding of documents and performing sophisticated inference. Toward solving this machine reading comprehension problem, in recent years, several work has collected various datasets, in the form of question, passage, and answer, to test machine on answering a question based on the provided passage (Richardson et al., 2013; Hermann et al., 2015; Hill et al., 2016; Rajpurkar et al., 2016). Some large-scale cloze-style datasets (Hermann et al., 2015; Hill et al., 2016) have gained significant attention along with powerful deep learning models.
|
| 12 |
+
|
| 13 |
+
Recent approaches on cloze-style datasets can be separated into two categories: single-turn and multiturn reasoning. Single turn reasoning models utilize attention mechanisms (Bahdanau et al., 2015) with deep learning models to emphasize specific parts of the document which are relevant to the query. These attention models subsequently calculate the relevance between a query and the corresponding weighted representations of document subunits (e.g. sentences or words) to score target candidates (Hill et al., 2016; Hermann et al., 2015; Kadlec et al., 2016). However, considering the sophistication of the problem, after a single-turn comprehension, readers often revisit some specific passage or the question to grasp a better understanding of the problem. With this motivation, recent advances in reading comprehension have made use of multiple turns to infer the relation between query, document and answer (Hill et al., 2016; Dhingra et al., 2016; Trischler et al., 2016; Sordoni et al., 2016). By repeatedly processing the document and question after digesting intermediate information, multi-turn reasoning can generally produce a better answer and all existing work has demonstrated its superior performance consistently.
|
| 14 |
+
|
| 15 |
+
Existing multi-turn models have a fixed number of hops or iterations in their inference, i.e., with predetermined reasoning depth, without regard to the complexity of each individual query or document. However, when a human reads a document with a question in mind, we often decide whether we want to stop reading if we believe the observed information is adequate already to answer the question, or continue reading after digesting intermediate information until we can answer the question with confidence. This behavior generally varies from document to document, or question to question because it is related to the sophistication of the document or the difficulty of the question. Meanwhile, the analysis in Chen et al. (2016) also illustrates the huge variations in the difficulty level with respect to questions in the CNN/Daily Mail datasets (Hermann et al., 2015). For a significant part of the datasets, this analysis shows that the problem cannot be solved without appropriate reasoning on both its query and document.
|
| 16 |
+
|
| 17 |
+
With this motivation, we propose a novel neural network architecture called Reasoning Network (ReasoNet). ReasoNets try to mimic the inference process of human readers. With a question in mind, ReasoNets read a document repeatedly, each time focusing on different parts of the document until a satisfying answer is found or formed. This reminds us of a Chinese proverb: “The meaning of a book will become clear if you read it hundreds of times.”. Moreover, unlike previous approaches using fixed number of hops or iterations, ReasoNets introduce a termination state in the inference. This state can decide whether to continue the inference to next turn after digesting intermediate information, or to terminate the whole inference when it concludes that existing information is sufficient to yield an answer. This number of turns in the inference is dynamically modeled by both the document and the query, and can be learned automatically according to the difficulty of the problem.
|
| 18 |
+
|
| 19 |
+
One of the significant challenges ReasoNets face is how to design an efficient training method, since the termination state is discrete and not connected to the final output. This prohibits canonical backpropagation method being directly applied to train ReasoNets. Inspired by Williams (1992); Mnih et al. (2014), we tackle this challenge by proposing a novel deep reinforcement learning method called Contrastive Reward (CR) to successfully train ReasoNets. Unlike traditional reinforcement learning optimization methods using a global variable to capture rewards, CR utilizes an instance-based reward baseline assignment. Experiments show the superiority of CR in both training speed and accuracy. Finally, by accounting for a dynamic termination state during inference and applying proposed deep reinforcement learning optimization method, ReasoNets achieve the state-of-the-art results in machine comprehension datasets when the paper is first publicly available in arXiv1, including unstructured CNN and Daily Mail datasets, and a proposed structured Graph Reachability dataset.
|
| 20 |
+
|
| 21 |
+
This paper is organized as follows. In Section 2, we review and compare recent work on machine reading comprehension tasks. In Section 3, we introduce our proposed ReasoNet model architecture and training objectives. Section 4 presents the experimental setting and results on unstructured and structured machine reading comprehension tasks .
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
Recently, with large-scale datasets available and the impressive advance of various statistical models, machine reading comprehension tasks have attracted much attention. Here we mainly focus on the related work in cloze-style datasets (Hermann et al., 2015; Hill et al., 2016). Based on how they perform the inference, we can classify their models into two categories: single-turn and multi-turn reasoning.
|
| 26 |
+
|
| 27 |
+
Single-turn reasoning Single turn reasoning models utilize an attention mechanism to emphasis some sections of a document which are relevant to a query. This can be thought of as treating some parts unimportant while focusing on other important ones to find the most probable answer. Hermann et al. (2015) propose the attentive reader and the impatient reader models using neural networks with an attention over passages to predict candidates. Hill et al. (2016) use attention over window-based memory, which encodes a window of words around entity candidates, by leveraging an end-to-end memory network (Sukhbaatar et al., 2015). Meanwhile, given the same entity candidate can appear multiple times in a passage, Kadlec et al. (2016) propose the attention-sum reader to sum up all the attention scores for the same entity. This score captures the relevance between a query and a candidate. Chen et al. (2016) propose using a bilinear term similarity function to calculate attention scores with pretrained word embedding. Trischler et al. (2016) propose the EpiReader which uses two neural network structures: one extracts candidates using the attention-sum reader; the other reranks candidates based on a bilinear term similarity score calculated from query and passage representations.
|
| 28 |
+
|
| 29 |
+
Multi-turn reasoning For complex passages and complex queries, human readers often revisit the given document in order to perform deeper inference after reading a document. Several recent studies try to simulate this revisit by combining the information in the query with the new information digested from previous iterations (Hill et al., 2016; Dhingra et al., 2016; Sordoni et al., 2016; Weissenborn, 2016; Kumar et al., 2016). Hill et al. (2016) use multiple hops memory network to augment the query with new information from the previous hop. Gated Attention reader (Dhingra et al., 2016) is an extension of the attention-sum reader with multiple iterations by pushing the query encoding into an attention-based gate in each iteration. Iterative Alternative (IA) reader (Sordoni et al., 2016) produces a new query glimpse and document glimpse in each iteration and utilizes them alternatively in the next iteration. Cui et al. (2016) further propose to extend the query-specific attention to both query-to-document attention and document-to-query attention, which is built from the intermediate results in the query-specific attention. By reading documents and enriching the query in an iterative fashion, multi-turn reasoning has demonstrated their superior performance consistently.
|
| 30 |
+
|
| 31 |
+
Algorithm 1: Stochastic Inference in a ReasoNet
|
| 32 |
+
|
| 33 |
+
<table><tr><td></td><td>Input:Memory M; Initial state s1; Step t =1; Maximum Step Tmax Output:Termination Step T,Answer aT Sample t from the distribution p(*Iftg(St; 0tg));</td></tr></table>
|
| 34 |
+
|
| 35 |
+
Our proposed approach explores the idea of using both attention-sum to aggregate candidate attention scores and multiple turns to attain a better reasoning capability. Unlike previous approaches using fixed number of hops or iterations, motivated by Nogueira & Cho (2016); Mnih et al. (2014), we propose a termination module in the inference. The termination module can decide whether to continue to infer the next turn after digesting intermediate information, or to terminate the whole inference process when it concludes existing information is sufficient to yield an answer. The number of turns in the inference is dynamically modeled by both a document and a query, and is generally related to the complexity of the document and the query.
|
| 36 |
+
|
| 37 |
+
# 3 REASONING NETWORKS
|
| 38 |
+
|
| 39 |
+
ReasoNets are devised to mimic the inference process of human readers. ReasoNets read a document repeatedly, with attention on different parts each time until a satisfying answer is found. As shown in Figure 1, a ReasoNet is composed of the following components:
|
| 40 |
+
|
| 41 |
+
Internal State: The internal state is denoted as $S$ which is a vector representation of the question state. Typically, the initial state $s _ { 1 }$ is the last-word vector representation of query by an RNN. The $t$ -th time step of the internal state is represented by $s _ { t }$ . The sequence of internal state is modeled by an RNN: $s _ { t + 1 } = \mathrm { R N N } ( s _ { t } , x _ { t } ; \theta _ { s } )$ ;
|
| 42 |
+
|
| 43 |
+
Memory: The external memory is denoted as $M$ . It is a list of word vectors, $M = \{ m _ { i } \} _ { i = 1 \dots D }$ , where $m _ { i }$ is a fixed dimensional vector. In machine comprehensive tasks, $m _ { i }$ is the vector representation of each word in the doc by a bidirectional-RNN.
|
| 44 |
+
|
| 45 |
+
Attention: Attention vector $x _ { t }$ is generated based on the current internal state $s _ { t }$ and the external memory $M \colon x _ { t } = f _ { a t t } \bigl ( s _ { t } , M ; \theta _ { x } \bigr )$ ;
|
| 46 |
+
|
| 47 |
+
Termination Gate: Termination gate generates a stochastic random variable according to the current internal state; $t _ { t } \sim p ( \cdot | f _ { t g } ( s _ { t } ; \theta _ { t g } \bar { ) } ) )$ . $t _ { t }$ is a binary random variable. If $t _ { t }$ is true, the ReasoNet stops, and the answer module executes at time step $t$ ; otherwise the ReasoNet generates an attention vector $x _ { t + 1 }$ , and feed into the state network to update the next internal state $s _ { t + 1 }$ .
|
| 48 |
+
|
| 49 |
+
Answer: The action of answer module is triggered when the termination gate variable is true: $a _ { t } \sim p ( \cdot | f _ { a } ( s _ { t } ; \theta _ { a } ) )$ .
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 1: A ReasoNet Architecture.
|
| 53 |
+
|
| 54 |
+
In Algorithm 1, we describe the stochastic inference process of a ReasoNet. The process can be considered as a Partially Observable Markov Decision Process (POMDP) (Kaelbling et al., 1998) in the reinforcement learning (RL) literature. The state sequence $s _ { 1 : T }$ is hidden and dynamic, controlled by an RNN sequence model. The ReasoNet performs an answer action $a _ { T }$ at the $T$ -th step, which implies that the termination gate variables $t _ { 1 : T } = ( t _ { 1 } = 0 , t _ { 2 } = 0 , . . . , t _ { T - 1 } = 0 , t _ { T } = 1 )$ . The ReasoNet learns a stochastic policy $\pi ( ( t _ { t } , a _ { t } ) | s _ { t } ; \theta )$ with parameters $\theta$ to get a distribution over termination actions, to continue reading or to stop, and over answer actions if the model decides to stop at the current step. The termination step $T$ varies from instance to instance.
|
| 55 |
+
|
| 56 |
+
The parameters $\theta$ of the ReasoNet are given by the parameters of the embedding matrices $W$ , attention network $\theta _ { x }$ , the state RNN network $\theta _ { s }$ , the answer action network $\theta _ { a }$ , and the termination gate network $\theta _ { t g }$ . The parameters $\theta = \{ W , \theta _ { x } , \theta _ { s } , \theta _ { a } , \theta _ { t g } \}$ are trained by maximizing the total expect reward. The expected reward for an instance is defined as:
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
J ( \theta ) = \mathbb { E } _ { \pi ( t _ { 1 : T } , a _ { T } ; \theta ) } \left[ \sum _ { t = 1 } ^ { T } r _ { t } \right]
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
The reward can only be received at the final termination step when an answer action $a _ { T }$ is performed. We define $r _ { T } = 1$ if $t _ { T } = 1$ and the answer is correct, and $r _ { T } = 0$ otherwise. The rewards on intermediate steps are zeros, $\{ r _ { t } = 0 \} _ { t = 1 \dots T - 1 }$ . $J$ can be maximized by directly applying gradient based optimization methods. The gradient of $J$ is given by:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\nabla _ { \theta } J ( \theta ) = \mathbb { E } _ { \pi ( t _ { 1 : T } , a _ { T } ; \theta ) } \left[ \nabla _ { \theta } \mathrm { l o g } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) r _ { T } \right]
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
We apply the REINFORCE algorithm (Williams, 1992) to compute $\nabla _ { \boldsymbol { \theta } } J ( \boldsymbol { \theta } )$ :
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\tilde { \mathbf { L } } _ { \pi ( t _ { 1 : T } , a _ { T } ; \theta ) } \left[ \nabla _ { \theta } \mathrm { l o g } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) r _ { T } \right] = \sum _ { ( t _ { 1 : T } , a _ { T } ) \in \mathbb { A } ^ { \dagger } } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) \left[ \nabla _ { \theta } \mathrm { l o g } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) ( r _ { T } - b _ { T } ) \right]
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
where $\mathbb { A } ^ { \dagger }$ is all the possible episodes, $T , t _ { 1 : T } , a _ { T }$ and $r _ { T }$ are the termination step, termination action, answer action, and reward, respectively, for the $( t _ { 1 : T } , a _ { T } )$ episode. $b _ { T }$ is called the reward baseline in the RL literature to lower variance (Sutton, 1984). It is common to select $b _ { T } = \mathbb { E } _ { \pi } \left[ r _ { T } \right]$ (Sutton et al., 1999), and can be updated via an online moving average approach : $b _ { T } = \lambda b _ { T } + ( \bar { 1 } - \lambda ) r _ { T }$ .
|
| 75 |
+
|
| 76 |
+
However, we empirically find that above approach leads to slow convergence in training ReasoNets. Intuitively, the average baselines $\{ b _ { T } ; T = 1 . . T _ { \mathrm { m a x } } \}$ are global variables independent of instances. It is hard for these baselines to capture the dynamic termination behavior of ReasoNets. In other words, ReasoNets may stop at different time steps for different instances. The adoption of a global variable without considering the dynamic variance in each instance is inappropriate. To resolve this weakness in traditional methods and account for the dynamic characteristic of ReasoNets, we propose an instance-based baseline method called “Contrastive Reward” (CR) to calculate $\nabla _ { \boldsymbol { \theta } } J ( \boldsymbol { \theta } )$ . The basic idea of CR is to utilize an instance-based baseline assignment. We will elaborate its implementation details in Section 3.1. Empirical results show that the proposed reward schema has produced better results compared to the baseline approach.
|
| 77 |
+
|
| 78 |
+
# 3.1 TRAINING DETAILS
|
| 79 |
+
|
| 80 |
+
In the machine reading comprehension tasks, a training dataset can be simplified as a collection of triplets of query q, passage $\mathbf { p }$ , and answer a. Say $\left. q _ { n } , p _ { n } , a _ { n } \right.$ is the $n$ -th training instance.
|
| 81 |
+
|
| 82 |
+
The first step is to extract memory $M$ from $p _ { n }$ by mapping each symbolic in the passage to a contextual representation given by the concatenation of forward and backward RNN hidden states, i.e., $m _ { k } = [ \bar { \vec { p _ { n } } } ^ { k } , \overleftarrow { \vec { p _ { n } } } ^ { | p _ { n } | - k + 1 } ]$ , and extract initial state $s _ { 1 }$ from $q _ { n }$ by assigning $s _ { 1 } = [ \overrightarrow { q _ { n } } ^ { | q _ { n } | } , \overleftarrow { q _ { n } } ^ { 1 } ]$ Given $M$ and $s _ { 1 }$ for the $n$ -th training instance, a ReasoNet executes $| \dot { \mathbb { A } } ^ { \dagger } |$ episodes, where all possible episodes $\mathbb { A } ^ { \dagger }$ can be enumerated by setting a maximum step. Each episode generates actions and a reward from the last step: h(t1:T , aT ), rT i(t1:T ,aT )∈A† .
|
| 83 |
+
|
| 84 |
+
Therefore, the gradient of $J$ can be rewritten as:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\nabla _ { \theta } J ( \theta ) = \sum _ { ( t _ { 1 : T } , a _ { T } ) \in \mathbb { A } ^ { \dagger } } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) \left[ \nabla _ { \theta } \mathrm { l o g } \pi ( t _ { 1 : T } , a _ { T } ; \theta ) ( r _ { T } - b ) \right]
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where the baseline $\begin{array} { r } { b = \sum _ { ( t _ { 1 : T } , a _ { T } ) \in \mathbb { A } ^ { \dagger } } \pi \big ( t _ { 1 : T } , a _ { T } ; \theta \big ) r _ { T } } \end{array}$ is the average reward on the $| \mathbb { A } ^ { \dagger } |$ episodes for the $n$ -th training instance. It allows different baselines for different training instances. This can be beneficial since the complexity of training instances varies significantly. Since the sum of the proposed rewards over $\left| \mathbb { A } ^ { \dagger } \right|$ episodes is zero, $\sum _ { ( t _ { 1 : T } , a _ { T } ) \in \mathbb { A } ^ { \dagger } } \pi \big ( \hat { t _ { 1 : T } } , a _ { T } ; \theta \big ) \big ( r _ { T } - b \big ) = 0$ , we call it Contrastive Reward in this work. In experiments, we empirically find using $\left( \frac { r _ { T } } { b } - 1 \right)$ in replace of $\left( r _ { T } - b \right)$ can lead to a faster convergence. Therefore, we adopt this approach to train ReasoNets in the experiments.
|
| 91 |
+
|
| 92 |
+
# 4 EXPERIMENTS
|
| 93 |
+
|
| 94 |
+
# 4.1 CNN AND DAILY MAIL DATASETS
|
| 95 |
+
|
| 96 |
+
We evaluate the performance of ReasoNets on CNN and Daily Mail datasets.2 The detailed settings of the ReasoNet model are as follows.
|
| 97 |
+
|
| 98 |
+
Vocab Size: For training our ReasoNet, we keep the most frequent $| V | = 1 0 1 k$ words (not including 584 entities and 1 placeholder marker) in the CNN dataset, and $| V | = 1 5 1 k$ words (not including 530 entities and 1 placeholder marker) in the Daily Mail dataset.
|
| 99 |
+
|
| 100 |
+
Embedding Layer: We choose word embedding size $d \ : = \ : 3 0 0$ , and use the 300 dimensional pretrained Glove word embeddings (Pennington et al., 2014) for initialization. We also apply dropout with probability 0.2 to the embedding layer.
|
| 101 |
+
|
| 102 |
+
Bi-GRU Encoder: We apply bi-directional GRU for encoding query and passage into vector representations. We set the number of hidden units to be 256 and 384 for the CNN and Daily Mail datasets, respectively. The recurrent weights of GRUs are initialized with random orthogonal matrices. The other weights in GRU cell are initialized from a uniform distribution between $- 0 . 0 1$ and 0.01. We use a shared GRU model for both query and passage.
|
| 103 |
+
|
| 104 |
+
Memory and Attention: The memory of the ReasoNet on CNN and Daily Mail dataset is composed of query memory and passage memory. $M = ( M ^ { q u e r y } , M ^ { d o c } )$ , where $M ^ { q u e r y }$ and $M ^ { d \bar { o c } }$ are extracted from query bidirectional-GRU encoder and passage bidirectional-GRU encoder respectively. We choose projected cosine similarity function as the attention module.
|
| 105 |
+
|
| 106 |
+
# Query: passenger @placeholder , 36 , died at the scene 1 1
|
| 107 |
+
|
| 108 |
+
Passage: ( $@$ entity0 ) what was supposed to be a fantasy sports car ride at $@$ entity3 turned deadly when a @entity4 crashed into a guardrail . the crash took place sunday at the $@$ entity8 , which bills itself as a chance to drive your dream car on a racetrack . the @entity4 's passenger , 36 - year - old @entity14 of @entity15 , @entity16 , died at the scene ,3 $@$ entity13 said . the driver of the $@$ entity4 , 24 - year - old @entity18 of @entity19 , $@$ entity16 , lost control of the vehicle , the $@$ entity13 said . he was hospitalized with minor injuries . @entity24 , which operates the $@$ entity8 at @entity3 , released a statement sunday night about the crash . " on behalf of everyone in the organization , it is with a very heavy heart that we extend our deepest sympathies to those involved in today 's tragic accident in @entity36 , " the company said . @entity24 also operates the @entity3 -- a chance to drive or ride in $@$ entity39 race cars named for the winningest driver in the sport 's history . @entity0 's @entity43 and $@$ entity44 contributed to this report .
|
| 109 |
+
|
| 110 |
+
<table><tr><td rowspan=1 colspan=1>Step</td><td rowspan=1 colspan=1>TerminationProbability</td><td rowspan=1 colspan=1>AttentionSum</td></tr><tr><td rowspan=2 colspan=1>12</td><td rowspan=1 colspan=1>0.0011</td><td rowspan=1 colspan=1>0.4916</td></tr><tr><td rowspan=1 colspan=1>0.5747</td><td rowspan=1 colspan=1>0.5486</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>0.9178</td><td rowspan=1 colspan=1>0.5577</td></tr></table>
|
| 111 |
+
|
| 112 |
+
Answer: @entity14
|
| 113 |
+
|
| 114 |
+

|
| 115 |
+
Figure 2: Results of a test example 69e1f777e41bf67d5a22b7c69ae76f0ae873cf43.story from the CNN dataset. The numbers next to the underline bars indicate the rank of the attention scores. The corresponding termination probability and the sum of attention scores for the answer entity are shown in the table on the right.
|
| 116 |
+
|
| 117 |
+
The attention score adoct,i on memory $m _ { i } ^ { d o c }$ given the state $s _ { t }$ is computed as follows: $a _ { t , i } ^ { d o c } ~ =$ sof $\mathrm { t m a x } _ { i = 1 , \dots , | M ^ { d o c } | } \gamma \cos ( W _ { 1 } ^ { d o c } m _ { i } ^ { d o c } , W _ { 2 } ^ { d o c } s _ { t } )$ , where $\gamma$ is set to 10. $W _ { 1 } ^ { d o c }$ and $W _ { 2 } ^ { d o c }$ are weight vectors associated with $m _ { i } ^ { d o c }$ and $s _ { t }$ , respectively, and are joint trained in the ReasoNet. Thus, attention vector on passage is given by $\begin{array} { r } { x _ { t } ^ { d o c } = \sum _ { i } ^ { | M | } a _ { t , i } m _ { i } ^ { d o c } } \end{array}$ . The final attention vector is the concatenation of the query attention vector and the passage attention vector $x _ { t } = ( x _ { t } ^ { q u e r y } , x _ { t } ^ { d o c } )$ = (xquet ry , xdoct ). The attention module is parameterized by $\theta _ { x } = ( W _ { 1 } ^ { q u e \hat { r } y } , \bar { W _ { 2 } ^ { q u e r y } } , W _ { 1 } ^ { d o c } , W _ { 2 } ^ { d o c } )$ ;
|
| 118 |
+
|
| 119 |
+
Internal State Controller: We choose GRU model as the internal state controller. The number of hidden units in the GRU state controller is 256 for CNN and 384 for Daily Mail. The initial state of the GRU controller is set to be the last-word of the query representation by a bidirectional-GRU encoder.
|
| 120 |
+
|
| 121 |
+
Termination Module: We adopt a logistical regression to model the termination variable at each time step : $f _ { t g } ( s _ { t } ; \theta _ { t g } ) = \mathrm { s i g m o i d } ( \bar { W _ { t g } } s _ { t } + b _ { t g } ) \dot { ; } \theta _ { t g } = ( \bar { W _ { t g } } , b _ { t g } )$
|
| 122 |
+
|
| 123 |
+
Answer Module: We apply a linear projection from GRU outputs and make predictions on the entity candidates. Following the settings in AS Reader (Kadlec et al., 2016), we sum up scores from the same candidate and make a prediction. Thus, AS Reader can be viewed as a special case of ReasoNets with $T _ { \mathrm { m a x } } = 1$ .
|
| 124 |
+
|
| 125 |
+
Other Details: The maximum reasoning step, $T _ { \mathrm { m a x } }$ is set to 5 in experiments on both CNN and Daily Mail datasets. We use ADAM optimizer (Kingma & Ba, 2015) for parameter optimization with an initial learning rate of 0.0005, $\beta _ { 1 } = 0 . 9$ and $\beta _ { 2 } = 0 . 9 9 9$ ; The absolute value of gradient on each parameter is clipped within 0.001. The batch size is 64 for both CNN and Daily Mail datasets. For each batch of the CNN and Daily Mail datasets we randomly reshuffle the assignment of named entities (Hermann et al., 2015). This forces the model to treat the named entities as semantically meaningless labels. In the prediction of test cases, we randomly reshuffle named entities up to 4 times, and report the averaged answer. Models are trained on GTX TitanX 12GB. It takes 7 hours per epoch to train on the Daily Mail dataset and 3 hours per epoch to train on the CNN dataset. The models are usually converged within 6 epochs on both CNN and Daily Mail datasets.
|
| 126 |
+
|
| 127 |
+
Table 1 shows the performance of all the existing single model baselines and our proposed ReasoNet. By capturing multi-turn reasoning and learning to stop reading a paragraph, we have achieved the state-of-the-art results in both CNN and Daily Mail datasets. To further understand the inference process of the ReasoNet, Figure 2 shows a test example of the CNN dataset. The model initially focuses on wrong entities with low termination probability. In the second and third steps, the model focuses on the right clue with higher termination probability. Interestingly, we also find that query attention focuses on the placeholder token throughout all the steps.
|
| 128 |
+
|
| 129 |
+
Table 1: The performance of Reasoning Network on CNN and Daily Mail dataset.
|
| 130 |
+
|
| 131 |
+
<table><tr><td></td><td colspan="2">CNN</td><td colspan="2">Daily Mail</td></tr><tr><td></td><td>valid</td><td>test</td><td>valid</td><td>test</td></tr><tr><td>Deep LSTMReader (Hermann etal.,2015)</td><td>55.0</td><td>57.0</td><td>63.3</td><td>62.2</td></tr><tr><td>Attentive Reader (Hermann et al., 2015)</td><td>61.6</td><td>63.0</td><td>70.5</td><td>69.0</td></tr><tr><td>MemNets (Hill et al.,2016)</td><td>63.4</td><td>66.8</td><td>-</td><td>=</td></tr><tr><td>ASReader (Kadlec et al., 2016)</td><td>68.6</td><td>69.5</td><td>75.0</td><td>73.9</td></tr><tr><td>Stanford AR (Chen et al.,2016)</td><td>72.2</td><td>72.4</td><td>76.9</td><td>75.8</td></tr><tr><td>DER Network (Kobayashi et al., 2016)</td><td>71.3</td><td>72.9</td><td>1</td><td>-</td></tr><tr><td>Iterative Attention Reader (Sordoni et al.,2016)</td><td>72.6</td><td>73.3</td><td>=</td><td>=</td></tr><tr><td>EpiReader (Trischler et al.,2016)</td><td>73.4</td><td>74.0</td><td>=</td><td>=</td></tr><tr><td>GA Reader (Dhingra et al.,2016)</td><td>73.0</td><td>73.8</td><td>76.7</td><td>75.7</td></tr><tr><td>AoA Reader (Cui et al., 2016)</td><td>73.1</td><td>74.4</td><td>=</td><td></td></tr><tr><td>ReasoNet</td><td>72.9</td><td>74.7</td><td>77.6</td><td>76.6</td></tr></table>
|
| 132 |
+
|
| 133 |
+
Table 2: Reachability statistics of the Graph Reachability dataset.
|
| 134 |
+
|
| 135 |
+
<table><tr><td></td><td colspan="4">Small Graph</td><td colspan="4">Large Graph</td></tr><tr><td>Reachable Step</td><td>No Reach</td><td>1-3</td><td>4-6</td><td>7-9</td><td>No Reach</td><td>1-3</td><td>4-6</td><td>7-13</td></tr><tr><td>Train (%)</td><td>44.16</td><td>42.06</td><td>13.51</td><td>0.27</td><td>49.02</td><td>25.57</td><td>21.92</td><td>3.49</td></tr><tr><td>Test (%)</td><td>45.00</td><td>41.35</td><td>13.44</td><td>0.21</td><td>49.27</td><td>25.46</td><td>21.74</td><td>3.53</td></tr></table>
|
| 136 |
+
|
| 137 |
+
# 4.2 GRAPH REACHABILITY TASK
|
| 138 |
+
|
| 139 |
+
Recent analysis and results (Chen et al., 2016) on the cloze-style machine comprehension tasks have suggested some simple models without multi-turn reasoning can achieve reasonable performance. Based on these results, we construct a synthetic structured Graph Reachability dataset3 to evaluate longer range machine inference and reasoning capability, since we expect ReasoNets have the capability to handle long range relationships.
|
| 140 |
+
|
| 141 |
+
We generate two synthetic datasets: a small graph dataset and a large graph dataset. In the small graph dataset, it contains $5 0 0 K$ small graphs, where each graph contains 9 nodes, and 16 direct edges to randomly connect pairs of nodes. The large graph dataset contains $5 0 0 K$ graphs, where each graph contains 18 nodes, and 32 random direct edges. Duplicated edges are removed. Table 2 shows the graph reachability statistics on the two datasets.
|
| 142 |
+
|
| 143 |
+
In Table 3, we show examples of a small graph and a large graph in the synthetic dataset. Both graph and query are represented by a sequence of symbols. In the experiment, we use a 100-dimensional embedding vector for each symbol, and bidirectional-LSTM with 128 and 256 cells for query and graph embedding in the small and the large graph datasets, respectively. The last states of bidirectionalLSTM on query are concatenated to be the initial internal state $s _ { 1 } \overline { { \mathop { = } } } \left[ \overrightarrow { q } ^ { | q | } , \overleftarrow { q } ^ { 1 } \right]$ in the ReasoNet. Another bidirectional-LSTM on graph description maps each symbol $g ^ { i }$ to a contextual representation given by the concatenation of forward and backward LSTM hidden states $m _ { i } = [ \vec { g } ^ { i } , \overleftarrow { g } | \dot { g } | - i + 1 ]$ . The final answer is either “Yes” or “No” and hence logistical regression is used as the answer module: $a _ { t } = \sigma ( W _ { a } s _ { t } + b _ { a } )$ ; $\theta _ { a } = ( W _ { a } , b _ { a } )$ . We apply another logistical regression as the termination gate module: $t _ { t } = \sigma ( W _ { t g } s _ { t } + b _ { t g } )$ . The maximum reasoning step $T _ { \mathrm { m a x } }$ is set to 15 and 25 for the small graph and large graph dataset, respectively.
|
| 144 |
+
|
| 145 |
+
We denote “ReasoNet” as the standard ReasoNet with termination gate, as described in Section 3.1. To study the effectiveness of the termination gate in ReasoNets, we remove the termination gate and use the prediction from the last state, $\hat { a } = a _ { T _ { \mathrm { m a x } } }$ $\mathcal { T } _ { \mathrm { m a x } }$ is the maximum reasoning step), denoted as “ReasoNet-Last”. To study the effectiveness of multi-turn reasoning, we choose “ReasoNet $- T _ { \mathrm { m a x } } = 2 ^ { , , }$ , which only has single-turn reasoning. We compare ReasoNets with a two layer deep LSTM model (Hermann et al., 2015) with 128 hidden units, denoted as “Deep LSTM Reader”, as a baseline. Table 4 shows the performance of these models on the graph reachability dataset. Deep LSTM Reader achieves $9 0 . 9 2 \%$ and $7 1 . 5 5 \%$ accuracy in the small and large graph dataset, respectively, which indicates the graph reachibility task is not trivial. The results of ReasoNet $- T _ { \mathrm { m a x } } = 2$ are comparable with the results of Deep LSTM Reader, since both Deep LSTM Reader and ReasoNet $- T _ { \mathrm { m a x } } = 2$ perform single-turn reasoning. The ReasoNet-Last model achieves $1 0 0 \%$ accuracy on the small graph dataset, while the ReasoNet-Last model achieves only $7 8 . 9 5 \%$ accuracy on the large graph dataset, as the task becomes more challenging. Meanwhile, the ReasoNet model converges faster than the ReasoNet-Last model. The ReasoNet model converges in 20 epochs in the small graph dataset, and 40 epochs in the large graph dataset, while the ReasoNet-Last model converges around 40 epochs in the small graph dataset, and 70 epochs in the large graph dataset. The results suggest that the termination gate variable in the ReasoNet is helpful when training with sophisticated examples, and makes models converge faster. Both the ReasoNet and ReasoNet-Last models perform better than the ReasoNet $- T _ { \mathrm { m a x } } = 2$ model, which demonstrates the importance of multi-turn reasoning.
|
| 146 |
+
|
| 147 |
+
Table 3: Small and large random graph in the Graph Reachability dataset. Note that “ $A B ^ { \prime }$ represents an edge connected from $A$ to $B$ and the $\#$ symbol is used as a delimiter between different edges.
|
| 148 |
+
|
| 149 |
+
<table><tr><td></td><td>Small Graph</td><td>Large Graph</td></tr><tr><td>Graph Description</td><td>0→0#0→2#1→→2#2→1# 3→2#3→3#3-6#37# 4→0#4→1#44#57# 6→0#6→1#7→0#</td><td>0→17#1→3#1→→14#1→6# 2→11#2→13#2→15#3→7# 5→0#5→7#6→10#6→5# 7→15#7-→7#8-→11#87# 10 →9#10→6#10→7#12→1# 12 →12#12→6#13-11#14→17# 14→14#15→10#16→2#17→4#</td></tr><tr><td>Query</td><td>7→4</td><td>17→7# 10→17</td></tr><tr><td>Answer</td><td>No</td><td>Yes</td></tr></table>
|
| 150 |
+
|
| 151 |
+
Table 4: The performance of Reasoning Network on the Graph Reachability dataset.
|
| 152 |
+
|
| 153 |
+
<table><tr><td></td><td colspan="3">Small Graph</td><td colspan="3">Large Graph</td></tr><tr><td></td><td>ROC-AUC</td><td>PR-AUC</td><td>Accuracy</td><td>ROC-AUC</td><td>PR-AUC</td><td>Accuracy</td></tr><tr><td>Deep LSTM Reader</td><td>0.9619</td><td>0.9565</td><td>0.9092</td><td>0.7988</td><td>0.7887</td><td>0.7155</td></tr><tr><td>ReasoNet-Tmax = 2</td><td>0.9638</td><td>0.9677</td><td>0.8961</td><td>0.8477</td><td>0.8388</td><td>0.7607</td></tr><tr><td>ReasoNet-Last</td><td>1</td><td>1</td><td>1</td><td>0.8836</td><td>0.8742</td><td>0.7895</td></tr><tr><td>ReasoNet</td><td>1</td><td>1</td><td>1</td><td>0.9988</td><td>0.9989</td><td>0.9821</td></tr></table>
|
| 154 |
+
|
| 155 |
+
To further understand the inference process in ReasoNets, Figures 3 and 4 show test examples of the large graph dataset. In Figure 3, we can observe that the model does not make a firm prediction till step 9. The highest attention word at each step shows the reasoning process of the model. Interestingly, the model starts from the end node (17), traverses backward till finding the starting node (10) in step 9, and makes a firm termination prediction. On the other hand, in Figure 4, the model learns to stop in step 2. In step 1, the model looks for neighbor nodes (12, 6, 16) to 4 and 9. Then, the model gives up in step 2 and predict “No". All of these demonstrate the dynamic termination characteristic and potential reasoning capability of ReasoNets.
|
| 156 |
+
|
| 157 |
+
We show the distribution of termination steps in ReasoNets on the test set in Appendix A. The termination step is chosen with the maximum termination probability $\begin{array} { r } { p ( k ) = t _ { k } \prod _ { i = 1 } ^ { k - 1 } \left( 1 - t _ { i } \right) } \end{array}$ , where $t _ { i }$ is the termination probability at step $i$ .
|
| 158 |
+
|
| 159 |
+
# 5 CONCLUSION
|
| 160 |
+
|
| 161 |
+
In this paper, we propose ReasoNets that dynamically decide whether to continue or to terminate the inference process in machine comprehension tasks. Using reinforcement learning with the proposed contractive reward, our proposed model achieves the start-of-the-art results in machine comprehension datasets, including unstructured CNN and Daily Mail datasets, and a proposed structured Graph
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 3: An example of graph reachability result, given a query $^ { \cdot } 1 0 1 7 ^ { \cdot \cdot }$ (Answer: Yes). The red circles highlight the nodes/edges which have the highest attention in each step. The corresponding termination probability and prediction results are shown in the table. The model terminates at step 10.
|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
Figure 4: An example of graph reachability result, given a query $" 4 9 "$ (Answer: No). The numbers next to the underline bars indicate the rank of the attention scores. The corresponding termination probability and prediction results are shown in the table.
|
| 168 |
+
|
| 169 |
+
Reachability dataset. For future work, ReasoNets can be generalized to other tasks that requires reasoning capability, such as question answering and knowledge graph inference.
|
| 170 |
+
|
| 171 |
+
# ACKNOWLEDGMENTS
|
| 172 |
+
|
| 173 |
+
We thank Ming-Wei Chang, Li Deng, Lihong Li, and Xiaodong Liu for their thoughtful feedback and discussions.
|
| 174 |
+
|
| 175 |
+
# REFERENCES
|
| 176 |
+
|
| 177 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of the International Conference on Learning Representations, 2015.
|
| 178 |
+
|
| 179 |
+
Léon Bottou. From machine learning to machine reasoning. Machine Learning, 94(2):133–149, 2014.
|
| 180 |
+
|
| 181 |
+
Danqi Chen, Jason Bolton, and Christopher D Manning. A thorough examination of the CNN / Daily Mail reading comprehension task. In ACL, 2016.
|
| 182 |
+
|
| 183 |
+
Yiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-over-attention neural networks for reading comprehension. CoRR, abs/1607.04423, 2016.
|
| 184 |
+
|
| 185 |
+
Bhuwan Dhingra, Hanxiao Liu, William W. Cohen, and Ruslan Salakhutdinov. Gated-attention readers for text comprehension. CoRR, abs/1606.01549, 2016.
|
| 186 |
+
|
| 187 |
+
Karm Moritz Hermann, Tomáš Kociský, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and ˇ Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1693–1701, 2015.
|
| 188 |
+
|
| 189 |
+
Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The Goldilocks principle: Reading children’s books with explicit memory representations. In Proceedings of the International Conference on Learning Representations, 2016.
|
| 190 |
+
|
| 191 |
+
Rudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. arXiv:1603.01547v1 [cs.CL], 2016.
|
| 192 |
+
|
| 193 |
+
Leslie Pack Kaelbling, Michael L. Littman, and Anthony R. Cassandra. Planning and acting in partially observable stochastic domains. Artificial Intelligence, 101:99–134, 1998.
|
| 194 |
+
|
| 195 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations, 2015.
|
| 196 |
+
|
| 197 |
+
Sosuke Kobayashi, Ran Tian, Naoaki Okazaki, and Kentaro Inui. Dynamic entity representation with maxpooling improves machine reading. In Proceedings of the North American Chapter of the Association for Computational Linguistics and Human Language Technologies (NAACL-HLT), 2016.
|
| 198 |
+
|
| 199 |
+
Ankit Kumar, Ozan Irsoy, Peter Ondruska, Mohit Iyyer, James Bradbury, Ishaan Gulrajani, Victor Zhong, Romain Paulus, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. In Proceedings of the International Conference on Machine Learning, 2016.
|
| 200 |
+
|
| 201 |
+
Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In Advances in Neural Information Processing Systems, pp. 2204–2212, 2014.
|
| 202 |
+
|
| 203 |
+
Rodrigo Nogueira and Kyunghyun Cho. Webnav: A new large-scale task for natural language based sequential decision making. In Advances in Neural Information Processing Systems, 2016.
|
| 204 |
+
|
| 205 |
+
Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In EMNLP, 2014.
|
| 206 |
+
|
| 207 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. SQuAD: 100, $0 0 0 +$ questions for machine comprehension of text. In EMNLP, 2016.
|
| 208 |
+
|
| 209 |
+
Matthew Richardson, Christopher JC Burges, and Erin Renshaw. MCTest: A challenge dataset for the opendomain machine comprehension of text. In EMNLP, 2013.
|
| 210 |
+
|
| 211 |
+
Alessandro Sordoni, Phillip Bachman, and Yoshua Bengio. Iterative alternating neural attention for machine reading. CoRR, abs/1606.02245, 2016.
|
| 212 |
+
|
| 213 |
+
Sainbayar Sukhbaatar, Jason Weston, Rob Fergus, et al. End-to-end memory networks. In Advances in neural information processing systems, pp. 2440–2448, 2015.
|
| 214 |
+
|
| 215 |
+
Richard S. Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in Neural Information Processing Systems, 1999.
|
| 216 |
+
|
| 217 |
+
Richard Stuart Sutton. Temporal Credit Assignment in Reinforcement Learning. PhD thesis, 1984.
|
| 218 |
+
|
| 219 |
+
Adam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the EpiReader. In EMNLP, 2016.
|
| 220 |
+
|
| 221 |
+
Dirk Weissenborn. Separating answers from queries for neural reading comprehension. CoRR, abs/1607.03316, 2016.
|
| 222 |
+
|
| 223 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3-4):229–256, 1992.
|
| 224 |
+
|
| 225 |
+
# A THE TERMINATION STEP DISTRIBUTION IN REASONETS
|
| 226 |
+
|
| 227 |
+
In this section, we present the termination step distribution of ReasoNets. Figure 5 and Figure 6 show the termination step distribution of ReasoNets in the CNN dataset and the graph reachability dataset, respectively. The distributions spread out across different steps and there are a large number of instances that terminate in the last step. We study the correlation between the termination steps and the complexity of test instances in Figure 7. We use Breadth-First Search (BFS) algorithm over the target graph given the query to analyze the complexity of test instances. For example, BFS-Step $= 2$ indicates that there are two intermediate nodes in the shortest reachability path. Test instances with larger BFS-Steps are more challenging. We denote ${ \bf B } \mathrm { F S - S t e p = - 1 }$ as there is no reachable path for the given query. Figure 7 shows that test instances with larger BFS-Steps require more reasoning steps.
|
| 228 |
+
|
| 229 |
+

|
| 230 |
+
Figure 5: The termination step distribution of a ReasoNet $T _ { m a x } = 5$ ) in the CNN dataset.
|
| 231 |
+
|
| 232 |
+

|
| 233 |
+
Figure 6: Termination step distribution of ReasoNets in the graph reachability dataset, where $T _ { m a x }$ is set to 15 and 25 in the small graph and large graph dataset, respectively.
|
| 234 |
+
|
| 235 |
+

|
| 236 |
+
Figure 7: The correlation between BFS steps and ReasoNet termination steps in the graph reachability dataset, where $T _ { m a x }$ is set to 15 and 25 in the small graph and large graph dataset, respectively, and BFS-Step $\ c = - 1$ denotes unreachable cases. The value indicates the number of instances in each case.
|
parse/train/BJlxmAKlg/BJlxmAKlg_content_list.json
ADDED
|
@@ -0,0 +1,1290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yelong Shen, Po-Sen Huang, Jianfeng Gao, Weizhu Chen Microsoft Research, Redmond, WA, USA {yeshen,pshuang,jfgao,wzchen}@microsoft.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
169,
|
| 20 |
+
602,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
250,
|
| 32 |
+
544,
|
| 33 |
+
263
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Teaching a computer to read a document and answer general questions pertaining to the document is a challenging yet unsolved problem. In this paper, we describe a novel neural network architecture called the Reasoning Network (ReasoNet) for machine comprehension tasks. ReasoNets make use of multiple turns to effectively exploit and then reason over the relation among queries, documents, and answers. Different from previous approaches using a fixed number of turns during inference, ReasoNets introduce a termination state to relax this constraint on the reasoning depth. With the use of reinforcement learning, ReasoNets can dynamically determine whether to continue the comprehension process after digesting intermediate results, or to terminate reading when it concludes that existing information is adequate to produce an answer. ReasoNets have achieved state-of-the-art performance in machine comprehension datasets, including unstructured CNN and Daily Mail datasets, and a structured Graph Reachability dataset. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
280,
|
| 43 |
+
766,
|
| 44 |
+
460
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
489,
|
| 55 |
+
336,
|
| 56 |
+
505
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Teaching machines to read, process, and comprehend natural language documents is a coveted goal for artificial intelligence (Bottou, 2014; Richardson et al., 2013; Hermann et al., 2015). Genuine reading comprehension is extremely challenging, since effective comprehension involves thorough understanding of documents and performing sophisticated inference. Toward solving this machine reading comprehension problem, in recent years, several work has collected various datasets, in the form of question, passage, and answer, to test machine on answering a question based on the provided passage (Richardson et al., 2013; Hermann et al., 2015; Hill et al., 2016; Rajpurkar et al., 2016). Some large-scale cloze-style datasets (Hermann et al., 2015; Hill et al., 2016) have gained significant attention along with powerful deep learning models. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
520,
|
| 66 |
+
825,
|
| 67 |
+
646
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Recent approaches on cloze-style datasets can be separated into two categories: single-turn and multiturn reasoning. Single turn reasoning models utilize attention mechanisms (Bahdanau et al., 2015) with deep learning models to emphasize specific parts of the document which are relevant to the query. These attention models subsequently calculate the relevance between a query and the corresponding weighted representations of document subunits (e.g. sentences or words) to score target candidates (Hill et al., 2016; Hermann et al., 2015; Kadlec et al., 2016). However, considering the sophistication of the problem, after a single-turn comprehension, readers often revisit some specific passage or the question to grasp a better understanding of the problem. With this motivation, recent advances in reading comprehension have made use of multiple turns to infer the relation between query, document and answer (Hill et al., 2016; Dhingra et al., 2016; Trischler et al., 2016; Sordoni et al., 2016). By repeatedly processing the document and question after digesting intermediate information, multi-turn reasoning can generally produce a better answer and all existing work has demonstrated its superior performance consistently. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
654,
|
| 77 |
+
825,
|
| 78 |
+
833
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Existing multi-turn models have a fixed number of hops or iterations in their inference, i.e., with predetermined reasoning depth, without regard to the complexity of each individual query or document. However, when a human reads a document with a question in mind, we often decide whether we want to stop reading if we believe the observed information is adequate already to answer the question, or continue reading after digesting intermediate information until we can answer the question with confidence. This behavior generally varies from document to document, or question to question because it is related to the sophistication of the document or the difficulty of the question. Meanwhile, the analysis in Chen et al. (2016) also illustrates the huge variations in the difficulty level with respect to questions in the CNN/Daily Mail datasets (Hermann et al., 2015). For a significant part of the datasets, this analysis shows that the problem cannot be solved without appropriate reasoning on both its query and document. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
840,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
172
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "With this motivation, we propose a novel neural network architecture called Reasoning Network (ReasoNet). ReasoNets try to mimic the inference process of human readers. With a question in mind, ReasoNets read a document repeatedly, each time focusing on different parts of the document until a satisfying answer is found or formed. This reminds us of a Chinese proverb: “The meaning of a book will become clear if you read it hundreds of times.”. Moreover, unlike previous approaches using fixed number of hops or iterations, ReasoNets introduce a termination state in the inference. This state can decide whether to continue the inference to next turn after digesting intermediate information, or to terminate the whole inference when it concludes that existing information is sufficient to yield an answer. This number of turns in the inference is dynamically modeled by both the document and the query, and can be learned automatically according to the difficulty of the problem. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
181,
|
| 110 |
+
825,
|
| 111 |
+
319
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "One of the significant challenges ReasoNets face is how to design an efficient training method, since the termination state is discrete and not connected to the final output. This prohibits canonical backpropagation method being directly applied to train ReasoNets. Inspired by Williams (1992); Mnih et al. (2014), we tackle this challenge by proposing a novel deep reinforcement learning method called Contrastive Reward (CR) to successfully train ReasoNets. Unlike traditional reinforcement learning optimization methods using a global variable to capture rewards, CR utilizes an instance-based reward baseline assignment. Experiments show the superiority of CR in both training speed and accuracy. Finally, by accounting for a dynamic termination state during inference and applying proposed deep reinforcement learning optimization method, ReasoNets achieve the state-of-the-art results in machine comprehension datasets when the paper is first publicly available in arXiv1, including unstructured CNN and Daily Mail datasets, and a proposed structured Graph Reachability dataset. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
325,
|
| 121 |
+
825,
|
| 122 |
+
478
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "This paper is organized as follows. In Section 2, we review and compare recent work on machine reading comprehension tasks. In Section 3, we introduce our proposed ReasoNet model architecture and training objectives. Section 4 presents the experimental setting and results on unstructured and structured machine reading comprehension tasks . ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
176,
|
| 131 |
+
486,
|
| 132 |
+
825,
|
| 133 |
+
541
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 RELATED WORK ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
563,
|
| 144 |
+
344,
|
| 145 |
+
579
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Recently, with large-scale datasets available and the impressive advance of various statistical models, machine reading comprehension tasks have attracted much attention. Here we mainly focus on the related work in cloze-style datasets (Hermann et al., 2015; Hill et al., 2016). Based on how they perform the inference, we can classify their models into two categories: single-turn and multi-turn reasoning. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
593,
|
| 155 |
+
825,
|
| 156 |
+
662
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Single-turn reasoning Single turn reasoning models utilize an attention mechanism to emphasis some sections of a document which are relevant to a query. This can be thought of as treating some parts unimportant while focusing on other important ones to find the most probable answer. Hermann et al. (2015) propose the attentive reader and the impatient reader models using neural networks with an attention over passages to predict candidates. Hill et al. (2016) use attention over window-based memory, which encodes a window of words around entity candidates, by leveraging an end-to-end memory network (Sukhbaatar et al., 2015). Meanwhile, given the same entity candidate can appear multiple times in a passage, Kadlec et al. (2016) propose the attention-sum reader to sum up all the attention scores for the same entity. This score captures the relevance between a query and a candidate. Chen et al. (2016) propose using a bilinear term similarity function to calculate attention scores with pretrained word embedding. Trischler et al. (2016) propose the EpiReader which uses two neural network structures: one extracts candidates using the attention-sum reader; the other reranks candidates based on a bilinear term similarity score calculated from query and passage representations. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
670,
|
| 166 |
+
825,
|
| 167 |
+
864
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Multi-turn reasoning For complex passages and complex queries, human readers often revisit the given document in order to perform deeper inference after reading a document. Several recent studies try to simulate this revisit by combining the information in the query with the new information digested from previous iterations (Hill et al., 2016; Dhingra et al., 2016; Sordoni et al., 2016; Weissenborn, 2016; Kumar et al., 2016). Hill et al. (2016) use multiple hops memory network to augment the query with new information from the previous hop. Gated Attention reader (Dhingra et al., 2016) is an extension of the attention-sum reader with multiple iterations by pushing the query encoding into an attention-based gate in each iteration. Iterative Alternative (IA) reader (Sordoni et al., 2016) produces a new query glimpse and document glimpse in each iteration and utilizes them alternatively in the next iteration. Cui et al. (2016) further propose to extend the query-specific attention to both query-to-document attention and document-to-query attention, which is built from the intermediate results in the query-specific attention. By reading documents and enriching the query in an iterative fashion, multi-turn reasoning has demonstrated their superior performance consistently. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
176,
|
| 176 |
+
872,
|
| 177 |
+
823,
|
| 178 |
+
900
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "table",
|
| 184 |
+
"img_path": "images/ab4be3e769795a60eafc33d71dc657eaf4d922b66a42e38f97f4c5051694fb14.jpg",
|
| 185 |
+
"table_caption": [
|
| 186 |
+
"Algorithm 1: Stochastic Inference in a ReasoNet "
|
| 187 |
+
],
|
| 188 |
+
"table_footnote": [],
|
| 189 |
+
"table_body": "<table><tr><td></td><td>Input:Memory M; Initial state s1; Step t =1; Maximum Step Tmax Output:Termination Step T,Answer aT Sample t from the distribution p(*Iftg(St; 0tg));</td></tr></table>",
|
| 190 |
+
"bbox": [
|
| 191 |
+
158,
|
| 192 |
+
123,
|
| 193 |
+
633,
|
| 194 |
+
252
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
294,
|
| 204 |
+
825,
|
| 205 |
+
448
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Our proposed approach explores the idea of using both attention-sum to aggregate candidate attention scores and multiple turns to attain a better reasoning capability. Unlike previous approaches using fixed number of hops or iterations, motivated by Nogueira & Cho (2016); Mnih et al. (2014), we propose a termination module in the inference. The termination module can decide whether to continue to infer the next turn after digesting intermediate information, or to terminate the whole inference process when it concludes existing information is sufficient to yield an answer. The number of turns in the inference is dynamically modeled by both a document and a query, and is generally related to the complexity of the document and the query. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
454,
|
| 215 |
+
825,
|
| 216 |
+
566
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "3 REASONING NETWORKS ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
176,
|
| 226 |
+
597,
|
| 227 |
+
410,
|
| 228 |
+
613
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "ReasoNets are devised to mimic the inference process of human readers. ReasoNets read a document repeatedly, with attention on different parts each time until a satisfying answer is found. As shown in Figure 1, a ReasoNet is composed of the following components: ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
636,
|
| 238 |
+
825,
|
| 239 |
+
679
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Internal State: The internal state is denoted as $S$ which is a vector representation of the question state. Typically, the initial state $s _ { 1 }$ is the last-word vector representation of query by an RNN. The $t$ -th time step of the internal state is represented by $s _ { t }$ . The sequence of internal state is modeled by an RNN: $s _ { t + 1 } = \\mathrm { R N N } ( s _ { t } , x _ { t } ; \\theta _ { s } )$ ; ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
174,
|
| 248 |
+
685,
|
| 249 |
+
825,
|
| 250 |
+
742
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Memory: The external memory is denoted as $M$ . It is a list of word vectors, $M = \\{ m _ { i } \\} _ { i = 1 \\dots D }$ , where $m _ { i }$ is a fixed dimensional vector. In machine comprehensive tasks, $m _ { i }$ is the vector representation of each word in the doc by a bidirectional-RNN. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
747,
|
| 260 |
+
825,
|
| 261 |
+
790
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Attention: Attention vector $x _ { t }$ is generated based on the current internal state $s _ { t }$ and the external memory $M \\colon x _ { t } = f _ { a t t } \\bigl ( s _ { t } , M ; \\theta _ { x } \\bigr )$ ; ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
796,
|
| 271 |
+
823,
|
| 272 |
+
827
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "Termination Gate: Termination gate generates a stochastic random variable according to the current internal state; $t _ { t } \\sim p ( \\cdot | f _ { t g } ( s _ { t } ; \\theta _ { t g } \\bar { ) } ) )$ . $t _ { t }$ is a binary random variable. If $t _ { t }$ is true, the ReasoNet stops, and the answer module executes at time step $t$ ; otherwise the ReasoNet generates an attention vector $x _ { t + 1 }$ , and feed into the state network to update the next internal state $s _ { t + 1 }$ . ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
174,
|
| 281 |
+
833,
|
| 282 |
+
825,
|
| 283 |
+
888
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 2
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "text",
|
| 289 |
+
"text": "Answer: The action of answer module is triggered when the termination gate variable is true: $a _ { t } \\sim p ( \\cdot | f _ { a } ( s _ { t } ; \\theta _ { a } ) )$ . ",
|
| 290 |
+
"bbox": [
|
| 291 |
+
171,
|
| 292 |
+
895,
|
| 293 |
+
823,
|
| 294 |
+
925
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 2
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "image",
|
| 300 |
+
"img_path": "images/aef314f8cbc4976d7bc6a8375884e86178fcdf98f061da33c1227bf253c967d5.jpg",
|
| 301 |
+
"image_caption": [
|
| 302 |
+
"Figure 1: A ReasoNet Architecture. "
|
| 303 |
+
],
|
| 304 |
+
"image_footnote": [],
|
| 305 |
+
"bbox": [
|
| 306 |
+
254,
|
| 307 |
+
106,
|
| 308 |
+
745,
|
| 309 |
+
330
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "In Algorithm 1, we describe the stochastic inference process of a ReasoNet. The process can be considered as a Partially Observable Markov Decision Process (POMDP) (Kaelbling et al., 1998) in the reinforcement learning (RL) literature. The state sequence $s _ { 1 : T }$ is hidden and dynamic, controlled by an RNN sequence model. The ReasoNet performs an answer action $a _ { T }$ at the $T$ -th step, which implies that the termination gate variables $t _ { 1 : T } = ( t _ { 1 } = 0 , t _ { 2 } = 0 , . . . , t _ { T - 1 } = 0 , t _ { T } = 1 )$ . The ReasoNet learns a stochastic policy $\\pi ( ( t _ { t } , a _ { t } ) | s _ { t } ; \\theta )$ with parameters $\\theta$ to get a distribution over termination actions, to continue reading or to stop, and over answer actions if the model decides to stop at the current step. The termination step $T$ varies from instance to instance. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
173,
|
| 318 |
+
385,
|
| 319 |
+
825,
|
| 320 |
+
497
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "The parameters $\\theta$ of the ReasoNet are given by the parameters of the embedding matrices $W$ , attention network $\\theta _ { x }$ , the state RNN network $\\theta _ { s }$ , the answer action network $\\theta _ { a }$ , and the termination gate network $\\theta _ { t g }$ . The parameters $\\theta = \\{ W , \\theta _ { x } , \\theta _ { s } , \\theta _ { a } , \\theta _ { t g } \\}$ are trained by maximizing the total expect reward. The expected reward for an instance is defined as: ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
503,
|
| 330 |
+
825,
|
| 331 |
+
560
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "equation",
|
| 337 |
+
"img_path": "images/30f328f770fbf94c5ddb11730eb36d8b0e45083ace2e771da8eff9ae5bc7963a.jpg",
|
| 338 |
+
"text": "$$\nJ ( \\theta ) = \\mathbb { E } _ { \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) } \\left[ \\sum _ { t = 1 } ^ { T } r _ { t } \\right]\n$$",
|
| 339 |
+
"text_format": "latex",
|
| 340 |
+
"bbox": [
|
| 341 |
+
398,
|
| 342 |
+
577,
|
| 343 |
+
599,
|
| 344 |
+
621
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "The reward can only be received at the final termination step when an answer action $a _ { T }$ is performed. We define $r _ { T } = 1$ if $t _ { T } = 1$ and the answer is correct, and $r _ { T } = 0$ otherwise. The rewards on intermediate steps are zeros, $\\{ r _ { t } = 0 \\} _ { t = 1 \\dots T - 1 }$ . $J$ can be maximized by directly applying gradient based optimization methods. The gradient of $J$ is given by: ",
|
| 351 |
+
"bbox": [
|
| 352 |
+
173,
|
| 353 |
+
630,
|
| 354 |
+
826,
|
| 355 |
+
688
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "equation",
|
| 361 |
+
"img_path": "images/df6f74dc64393ac22e2eac0a133c8d648502a62b32bb179f4c5972f4b17b9841.jpg",
|
| 362 |
+
"text": "$$\n\\nabla _ { \\theta } J ( \\theta ) = \\mathbb { E } _ { \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) } \\left[ \\nabla _ { \\theta } \\mathrm { l o g } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) r _ { T } \\right]\n$$",
|
| 363 |
+
"text_format": "latex",
|
| 364 |
+
"bbox": [
|
| 365 |
+
339,
|
| 366 |
+
693,
|
| 367 |
+
663,
|
| 368 |
+
712
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 3
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "We apply the REINFORCE algorithm (Williams, 1992) to compute $\\nabla _ { \\boldsymbol { \\theta } } J ( \\boldsymbol { \\theta } )$ : ",
|
| 375 |
+
"bbox": [
|
| 376 |
+
174,
|
| 377 |
+
724,
|
| 378 |
+
676,
|
| 379 |
+
741
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "equation",
|
| 385 |
+
"img_path": "images/623f414be214a74574e542bdc1b4528fba4063b66efc679c8a6cf17ab1d2b5ad.jpg",
|
| 386 |
+
"text": "$$\n\\tilde { \\mathbf { L } } _ { \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) } \\left[ \\nabla _ { \\theta } \\mathrm { l o g } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) r _ { T } \\right] = \\sum _ { ( t _ { 1 : T } , a _ { T } ) \\in \\mathbb { A } ^ { \\dagger } } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) \\left[ \\nabla _ { \\theta } \\mathrm { l o g } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) ( r _ { T } - b _ { T } ) \\right]\n$$",
|
| 387 |
+
"text_format": "latex",
|
| 388 |
+
"bbox": [
|
| 389 |
+
181,
|
| 390 |
+
765,
|
| 391 |
+
825,
|
| 392 |
+
803
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "where $\\mathbb { A } ^ { \\dagger }$ is all the possible episodes, $T , t _ { 1 : T } , a _ { T }$ and $r _ { T }$ are the termination step, termination action, answer action, and reward, respectively, for the $( t _ { 1 : T } , a _ { T } )$ episode. $b _ { T }$ is called the reward baseline in the RL literature to lower variance (Sutton, 1984). It is common to select $b _ { T } = \\mathbb { E } _ { \\pi } \\left[ r _ { T } \\right]$ (Sutton et al., 1999), and can be updated via an online moving average approach : $b _ { T } = \\lambda b _ { T } + ( \\bar { 1 } - \\lambda ) r _ { T }$ . ",
|
| 399 |
+
"bbox": [
|
| 400 |
+
173,
|
| 401 |
+
818,
|
| 402 |
+
826,
|
| 403 |
+
876
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "However, we empirically find that above approach leads to slow convergence in training ReasoNets. Intuitively, the average baselines $\\{ b _ { T } ; T = 1 . . T _ { \\mathrm { m a x } } \\}$ are global variables independent of instances. It is hard for these baselines to capture the dynamic termination behavior of ReasoNets. In other words, ReasoNets may stop at different time steps for different instances. The adoption of a global variable without considering the dynamic variance in each instance is inappropriate. To resolve this weakness in traditional methods and account for the dynamic characteristic of ReasoNets, we propose an instance-based baseline method called “Contrastive Reward” (CR) to calculate $\\nabla _ { \\boldsymbol { \\theta } } J ( \\boldsymbol { \\theta } )$ . The basic idea of CR is to utilize an instance-based baseline assignment. We will elaborate its implementation details in Section 3.1. Empirical results show that the proposed reward schema has produced better results compared to the baseline approach. ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
174,
|
| 412 |
+
881,
|
| 413 |
+
825,
|
| 414 |
+
924
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "",
|
| 421 |
+
"bbox": [
|
| 422 |
+
174,
|
| 423 |
+
103,
|
| 424 |
+
825,
|
| 425 |
+
202
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 4
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "3.1 TRAINING DETAILS ",
|
| 432 |
+
"text_level": 1,
|
| 433 |
+
"bbox": [
|
| 434 |
+
176,
|
| 435 |
+
218,
|
| 436 |
+
352,
|
| 437 |
+
233
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "In the machine reading comprehension tasks, a training dataset can be simplified as a collection of triplets of query q, passage $\\mathbf { p }$ , and answer a. Say $\\left. q _ { n } , p _ { n } , a _ { n } \\right.$ is the $n$ -th training instance. ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
174,
|
| 446 |
+
244,
|
| 447 |
+
825,
|
| 448 |
+
273
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "The first step is to extract memory $M$ from $p _ { n }$ by mapping each symbolic in the passage to a contextual representation given by the concatenation of forward and backward RNN hidden states, i.e., $m _ { k } = [ \\bar { \\vec { p _ { n } } } ^ { k } , \\overleftarrow { \\vec { p _ { n } } } ^ { | p _ { n } | - k + 1 } ]$ , and extract initial state $s _ { 1 }$ from $q _ { n }$ by assigning $s _ { 1 } = [ \\overrightarrow { q _ { n } } ^ { | q _ { n } | } , \\overleftarrow { q _ { n } } ^ { 1 } ]$ Given $M$ and $s _ { 1 }$ for the $n$ -th training instance, a ReasoNet executes $| \\dot { \\mathbb { A } } ^ { \\dagger } |$ episodes, where all possible episodes $\\mathbb { A } ^ { \\dagger }$ can be enumerated by setting a maximum step. Each episode generates actions and a reward from the last step: h(t1:T , aT ), rT i(t1:T ,aT )∈A† . ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
173,
|
| 457 |
+
279,
|
| 458 |
+
826,
|
| 459 |
+
367
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "Therefore, the gradient of $J$ can be rewritten as: ",
|
| 466 |
+
"bbox": [
|
| 467 |
+
173,
|
| 468 |
+
371,
|
| 469 |
+
488,
|
| 470 |
+
386
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "equation",
|
| 476 |
+
"img_path": "images/5db686893161c65d946bf1b31b4c9f5855955cdb91d2c0b9563bc2289fcfe47a.jpg",
|
| 477 |
+
"text": "$$\n\\nabla _ { \\theta } J ( \\theta ) = \\sum _ { ( t _ { 1 : T } , a _ { T } ) \\in \\mathbb { A } ^ { \\dagger } } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) \\left[ \\nabla _ { \\theta } \\mathrm { l o g } \\pi ( t _ { 1 : T } , a _ { T } ; \\theta ) ( r _ { T } - b ) \\right]\n$$",
|
| 478 |
+
"text_format": "latex",
|
| 479 |
+
"bbox": [
|
| 480 |
+
274,
|
| 481 |
+
402,
|
| 482 |
+
723,
|
| 483 |
+
439
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "where the baseline $\\begin{array} { r } { b = \\sum _ { ( t _ { 1 : T } , a _ { T } ) \\in \\mathbb { A } ^ { \\dagger } } \\pi \\big ( t _ { 1 : T } , a _ { T } ; \\theta \\big ) r _ { T } } \\end{array}$ is the average reward on the $| \\mathbb { A } ^ { \\dagger } |$ episodes for the $n$ -th training instance. It allows different baselines for different training instances. This can be beneficial since the complexity of training instances varies significantly. Since the sum of the proposed rewards over $\\left| \\mathbb { A } ^ { \\dagger } \\right|$ episodes is zero, $\\sum _ { ( t _ { 1 : T } , a _ { T } ) \\in \\mathbb { A } ^ { \\dagger } } \\pi \\big ( \\hat { t _ { 1 : T } } , a _ { T } ; \\theta \\big ) \\big ( r _ { T } - b \\big ) = 0$ , we call it Contrastive Reward in this work. In experiments, we empirically find using $\\left( \\frac { r _ { T } } { b } - 1 \\right)$ in replace of $\\left( r _ { T } - b \\right)$ can lead to a faster convergence. Therefore, we adopt this approach to train ReasoNets in the experiments. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
450,
|
| 493 |
+
825,
|
| 494 |
+
555
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "4 EXPERIMENTS ",
|
| 501 |
+
"text_level": 1,
|
| 502 |
+
"bbox": [
|
| 503 |
+
176,
|
| 504 |
+
575,
|
| 505 |
+
326,
|
| 506 |
+
592
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "4.1 CNN AND DAILY MAIL DATASETS ",
|
| 513 |
+
"text_level": 1,
|
| 514 |
+
"bbox": [
|
| 515 |
+
174,
|
| 516 |
+
606,
|
| 517 |
+
455,
|
| 518 |
+
621
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "We evaluate the performance of ReasoNets on CNN and Daily Mail datasets.2 The detailed settings of the ReasoNet model are as follows. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
173,
|
| 527 |
+
632,
|
| 528 |
+
821,
|
| 529 |
+
661
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "Vocab Size: For training our ReasoNet, we keep the most frequent $| V | = 1 0 1 k$ words (not including 584 entities and 1 placeholder marker) in the CNN dataset, and $| V | = 1 5 1 k$ words (not including 530 entities and 1 placeholder marker) in the Daily Mail dataset. ",
|
| 536 |
+
"bbox": [
|
| 537 |
+
174,
|
| 538 |
+
667,
|
| 539 |
+
825,
|
| 540 |
+
710
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 4
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "Embedding Layer: We choose word embedding size $d \\ : = \\ : 3 0 0$ , and use the 300 dimensional pretrained Glove word embeddings (Pennington et al., 2014) for initialization. We also apply dropout with probability 0.2 to the embedding layer. ",
|
| 547 |
+
"bbox": [
|
| 548 |
+
176,
|
| 549 |
+
717,
|
| 550 |
+
823,
|
| 551 |
+
760
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 4
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "text",
|
| 557 |
+
"text": "Bi-GRU Encoder: We apply bi-directional GRU for encoding query and passage into vector representations. We set the number of hidden units to be 256 and 384 for the CNN and Daily Mail datasets, respectively. The recurrent weights of GRUs are initialized with random orthogonal matrices. The other weights in GRU cell are initialized from a uniform distribution between $- 0 . 0 1$ and 0.01. We use a shared GRU model for both query and passage. ",
|
| 558 |
+
"bbox": [
|
| 559 |
+
174,
|
| 560 |
+
766,
|
| 561 |
+
825,
|
| 562 |
+
837
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 4
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "Memory and Attention: The memory of the ReasoNet on CNN and Daily Mail dataset is composed of query memory and passage memory. $M = ( M ^ { q u e r y } , M ^ { d o c } )$ , where $M ^ { q u e r y }$ and $M ^ { d \\bar { o c } }$ are extracted from query bidirectional-GRU encoder and passage bidirectional-GRU encoder respectively. We choose projected cosine similarity function as the attention module. ",
|
| 569 |
+
"bbox": [
|
| 570 |
+
174,
|
| 571 |
+
843,
|
| 572 |
+
825,
|
| 573 |
+
900
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 4
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "Query: passenger @placeholder , 36 , died at the scene 1 1 ",
|
| 580 |
+
"text_level": 1,
|
| 581 |
+
"bbox": [
|
| 582 |
+
178,
|
| 583 |
+
102,
|
| 584 |
+
478,
|
| 585 |
+
119
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Passage: ( $@$ entity0 ) what was supposed to be a fantasy sports car ride at $@$ entity3 turned deadly when a @entity4 crashed into a guardrail . the crash took place sunday at the $@$ entity8 , which bills itself as a chance to drive your dream car on a racetrack . the @entity4 's passenger , 36 - year - old @entity14 of @entity15 , @entity16 , died at the scene ,3 $@$ entity13 said . the driver of the $@$ entity4 , 24 - year - old @entity18 of @entity19 , $@$ entity16 , lost control of the vehicle , the $@$ entity13 said . he was hospitalized with minor injuries . @entity24 , which operates the $@$ entity8 at @entity3 , released a statement sunday night about the crash . \" on behalf of everyone in the organization , it is with a very heavy heart that we extend our deepest sympathies to those involved in today 's tragic accident in @entity36 , \" the company said . @entity24 also operates the @entity3 -- a chance to drive or ride in $@$ entity39 race cars named for the winningest driver in the sport 's history . @entity0 's @entity43 and $@$ entity44 contributed to this report . ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
176,
|
| 594 |
+
122,
|
| 595 |
+
617,
|
| 596 |
+
295
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "table",
|
| 602 |
+
"img_path": "images/8c567ad13c16f62297f13251531bd2acfc9d6af35871b8227db656e2dea3a854.jpg",
|
| 603 |
+
"table_caption": [],
|
| 604 |
+
"table_footnote": [],
|
| 605 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Step</td><td rowspan=1 colspan=1>TerminationProbability</td><td rowspan=1 colspan=1>AttentionSum</td></tr><tr><td rowspan=2 colspan=1>12</td><td rowspan=1 colspan=1>0.0011</td><td rowspan=1 colspan=1>0.4916</td></tr><tr><td rowspan=1 colspan=1>0.5747</td><td rowspan=1 colspan=1>0.5486</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>0.9178</td><td rowspan=1 colspan=1>0.5577</td></tr></table>",
|
| 606 |
+
"bbox": [
|
| 607 |
+
612,
|
| 608 |
+
164,
|
| 609 |
+
821,
|
| 610 |
+
257
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Answer: @entity14 ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
176,
|
| 619 |
+
306,
|
| 620 |
+
282,
|
| 621 |
+
319
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "image",
|
| 627 |
+
"img_path": "images/59b38a0bbfad8e61b714d9d5b8ab2f98923ebd04389cfbc586f0afb98c0ab8da.jpg",
|
| 628 |
+
"image_caption": [
|
| 629 |
+
"Figure 2: Results of a test example 69e1f777e41bf67d5a22b7c69ae76f0ae873cf43.story from the CNN dataset. The numbers next to the underline bars indicate the rank of the attention scores. The corresponding termination probability and the sum of attention scores for the answer entity are shown in the table on the right. "
|
| 630 |
+
],
|
| 631 |
+
"image_footnote": [],
|
| 632 |
+
"bbox": [
|
| 633 |
+
351,
|
| 634 |
+
303,
|
| 635 |
+
557,
|
| 636 |
+
320
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "The attention score adoct,i on memory $m _ { i } ^ { d o c }$ given the state $s _ { t }$ is computed as follows: $a _ { t , i } ^ { d o c } ~ =$ sof $\\mathrm { t m a x } _ { i = 1 , \\dots , | M ^ { d o c } | } \\gamma \\cos ( W _ { 1 } ^ { d o c } m _ { i } ^ { d o c } , W _ { 2 } ^ { d o c } s _ { t } )$ , where $\\gamma$ is set to 10. $W _ { 1 } ^ { d o c }$ and $W _ { 2 } ^ { d o c }$ are weight vectors associated with $m _ { i } ^ { d o c }$ and $s _ { t }$ , respectively, and are joint trained in the ReasoNet. Thus, attention vector on passage is given by $\\begin{array} { r } { x _ { t } ^ { d o c } = \\sum _ { i } ^ { | M | } a _ { t , i } m _ { i } ^ { d o c } } \\end{array}$ . The final attention vector is the concatenation of the query attention vector and the passage attention vector $x _ { t } = ( x _ { t } ^ { q u e r y } , x _ { t } ^ { d o c } )$ = (xquet ry , xdoct ). The attention module is parameterized by $\\theta _ { x } = ( W _ { 1 } ^ { q u e \\hat { r } y } , \\bar { W _ { 2 } ^ { q u e r y } } , W _ { 1 } ^ { d o c } , W _ { 2 } ^ { d o c } )$ ; ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
416,
|
| 646 |
+
825,
|
| 647 |
+
513
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Internal State Controller: We choose GRU model as the internal state controller. The number of hidden units in the GRU state controller is 256 for CNN and 384 for Daily Mail. The initial state of the GRU controller is set to be the last-word of the query representation by a bidirectional-GRU encoder. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
173,
|
| 656 |
+
518,
|
| 657 |
+
825,
|
| 658 |
+
575
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Termination Module: We adopt a logistical regression to model the termination variable at each time step : $f _ { t g } ( s _ { t } ; \\theta _ { t g } ) = \\mathrm { s i g m o i d } ( \\bar { W _ { t g } } s _ { t } + b _ { t g } ) \\dot { ; } \\theta _ { t g } = ( \\bar { W _ { t g } } , b _ { t g } )$ ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
173,
|
| 667 |
+
582,
|
| 668 |
+
821,
|
| 669 |
+
612
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Answer Module: We apply a linear projection from GRU outputs and make predictions on the entity candidates. Following the settings in AS Reader (Kadlec et al., 2016), we sum up scores from the same candidate and make a prediction. Thus, AS Reader can be viewed as a special case of ReasoNets with $T _ { \\mathrm { m a x } } = 1$ . ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
617,
|
| 679 |
+
825,
|
| 680 |
+
674
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 5
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "Other Details: The maximum reasoning step, $T _ { \\mathrm { m a x } }$ is set to 5 in experiments on both CNN and Daily Mail datasets. We use ADAM optimizer (Kingma & Ba, 2015) for parameter optimization with an initial learning rate of 0.0005, $\\beta _ { 1 } = 0 . 9$ and $\\beta _ { 2 } = 0 . 9 9 9$ ; The absolute value of gradient on each parameter is clipped within 0.001. The batch size is 64 for both CNN and Daily Mail datasets. For each batch of the CNN and Daily Mail datasets we randomly reshuffle the assignment of named entities (Hermann et al., 2015). This forces the model to treat the named entities as semantically meaningless labels. In the prediction of test cases, we randomly reshuffle named entities up to 4 times, and report the averaged answer. Models are trained on GTX TitanX 12GB. It takes 7 hours per epoch to train on the Daily Mail dataset and 3 hours per epoch to train on the CNN dataset. The models are usually converged within 6 epochs on both CNN and Daily Mail datasets. ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
173,
|
| 689 |
+
680,
|
| 690 |
+
825,
|
| 691 |
+
819
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 5
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "Table 1 shows the performance of all the existing single model baselines and our proposed ReasoNet. By capturing multi-turn reasoning and learning to stop reading a paragraph, we have achieved the state-of-the-art results in both CNN and Daily Mail datasets. To further understand the inference process of the ReasoNet, Figure 2 shows a test example of the CNN dataset. The model initially focuses on wrong entities with low termination probability. In the second and third steps, the model focuses on the right clue with higher termination probability. Interestingly, we also find that query attention focuses on the placeholder token throughout all the steps. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
825,
|
| 701 |
+
825,
|
| 702 |
+
924
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 5
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "table",
|
| 708 |
+
"img_path": "images/67b3c6f3e0912a8573a6e0ed240bb05f9e460af2ba06df484e4a4cd394a764a0.jpg",
|
| 709 |
+
"table_caption": [
|
| 710 |
+
"Table 1: The performance of Reasoning Network on CNN and Daily Mail dataset. "
|
| 711 |
+
],
|
| 712 |
+
"table_footnote": [],
|
| 713 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">CNN</td><td colspan=\"2\">Daily Mail</td></tr><tr><td></td><td>valid</td><td>test</td><td>valid</td><td>test</td></tr><tr><td>Deep LSTMReader (Hermann etal.,2015)</td><td>55.0</td><td>57.0</td><td>63.3</td><td>62.2</td></tr><tr><td>Attentive Reader (Hermann et al., 2015)</td><td>61.6</td><td>63.0</td><td>70.5</td><td>69.0</td></tr><tr><td>MemNets (Hill et al.,2016)</td><td>63.4</td><td>66.8</td><td>-</td><td>=</td></tr><tr><td>ASReader (Kadlec et al., 2016)</td><td>68.6</td><td>69.5</td><td>75.0</td><td>73.9</td></tr><tr><td>Stanford AR (Chen et al.,2016)</td><td>72.2</td><td>72.4</td><td>76.9</td><td>75.8</td></tr><tr><td>DER Network (Kobayashi et al., 2016)</td><td>71.3</td><td>72.9</td><td>1</td><td>-</td></tr><tr><td>Iterative Attention Reader (Sordoni et al.,2016)</td><td>72.6</td><td>73.3</td><td>=</td><td>=</td></tr><tr><td>EpiReader (Trischler et al.,2016)</td><td>73.4</td><td>74.0</td><td>=</td><td>=</td></tr><tr><td>GA Reader (Dhingra et al.,2016)</td><td>73.0</td><td>73.8</td><td>76.7</td><td>75.7</td></tr><tr><td>AoA Reader (Cui et al., 2016)</td><td>73.1</td><td>74.4</td><td>=</td><td></td></tr><tr><td>ReasoNet</td><td>72.9</td><td>74.7</td><td>77.6</td><td>76.6</td></tr></table>",
|
| 714 |
+
"bbox": [
|
| 715 |
+
248,
|
| 716 |
+
127,
|
| 717 |
+
745,
|
| 718 |
+
306
|
| 719 |
+
],
|
| 720 |
+
"page_idx": 6
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"type": "table",
|
| 724 |
+
"img_path": "images/18dc6d01109907830d4cf572e73eb7f2c77179c41fd867a0f60dee9232800357.jpg",
|
| 725 |
+
"table_caption": [
|
| 726 |
+
"Table 2: Reachability statistics of the Graph Reachability dataset. "
|
| 727 |
+
],
|
| 728 |
+
"table_footnote": [],
|
| 729 |
+
"table_body": "<table><tr><td></td><td colspan=\"4\">Small Graph</td><td colspan=\"4\">Large Graph</td></tr><tr><td>Reachable Step</td><td>No Reach</td><td>1-3</td><td>4-6</td><td>7-9</td><td>No Reach</td><td>1-3</td><td>4-6</td><td>7-13</td></tr><tr><td>Train (%)</td><td>44.16</td><td>42.06</td><td>13.51</td><td>0.27</td><td>49.02</td><td>25.57</td><td>21.92</td><td>3.49</td></tr><tr><td>Test (%)</td><td>45.00</td><td>41.35</td><td>13.44</td><td>0.21</td><td>49.27</td><td>25.46</td><td>21.74</td><td>3.53</td></tr></table>",
|
| 730 |
+
"bbox": [
|
| 731 |
+
207,
|
| 732 |
+
348,
|
| 733 |
+
789,
|
| 734 |
+
415
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 6
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "4.2 GRAPH REACHABILITY TASK ",
|
| 741 |
+
"text_level": 1,
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
441,
|
| 745 |
+
419,
|
| 746 |
+
457
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 6
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "Recent analysis and results (Chen et al., 2016) on the cloze-style machine comprehension tasks have suggested some simple models without multi-turn reasoning can achieve reasonable performance. Based on these results, we construct a synthetic structured Graph Reachability dataset3 to evaluate longer range machine inference and reasoning capability, since we expect ReasoNets have the capability to handle long range relationships. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
468,
|
| 756 |
+
825,
|
| 757 |
+
539
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 6
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "We generate two synthetic datasets: a small graph dataset and a large graph dataset. In the small graph dataset, it contains $5 0 0 K$ small graphs, where each graph contains 9 nodes, and 16 direct edges to randomly connect pairs of nodes. The large graph dataset contains $5 0 0 K$ graphs, where each graph contains 18 nodes, and 32 random direct edges. Duplicated edges are removed. Table 2 shows the graph reachability statistics on the two datasets. ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
174,
|
| 766 |
+
546,
|
| 767 |
+
825,
|
| 768 |
+
616
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 6
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "In Table 3, we show examples of a small graph and a large graph in the synthetic dataset. Both graph and query are represented by a sequence of symbols. In the experiment, we use a 100-dimensional embedding vector for each symbol, and bidirectional-LSTM with 128 and 256 cells for query and graph embedding in the small and the large graph datasets, respectively. The last states of bidirectionalLSTM on query are concatenated to be the initial internal state $s _ { 1 } \\overline { { \\mathop { = } } } \\left[ \\overrightarrow { q } ^ { | q | } , \\overleftarrow { q } ^ { 1 } \\right]$ in the ReasoNet. Another bidirectional-LSTM on graph description maps each symbol $g ^ { i }$ to a contextual representation given by the concatenation of forward and backward LSTM hidden states $m _ { i } = [ \\vec { g } ^ { i } , \\overleftarrow { g } | \\dot { g } | - i + 1 ]$ . The final answer is either “Yes” or “No” and hence logistical regression is used as the answer module: $a _ { t } = \\sigma ( W _ { a } s _ { t } + b _ { a } )$ ; $\\theta _ { a } = ( W _ { a } , b _ { a } )$ . We apply another logistical regression as the termination gate module: $t _ { t } = \\sigma ( W _ { t g } s _ { t } + b _ { t g } )$ . The maximum reasoning step $T _ { \\mathrm { m a x } }$ is set to 15 and 25 for the small graph and large graph dataset, respectively. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
173,
|
| 777 |
+
622,
|
| 778 |
+
826,
|
| 779 |
+
779
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 6
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "We denote “ReasoNet” as the standard ReasoNet with termination gate, as described in Section 3.1. To study the effectiveness of the termination gate in ReasoNets, we remove the termination gate and use the prediction from the last state, $\\hat { a } = a _ { T _ { \\mathrm { m a x } } }$ $\\mathcal { T } _ { \\mathrm { m a x } }$ is the maximum reasoning step), denoted as “ReasoNet-Last”. To study the effectiveness of multi-turn reasoning, we choose “ReasoNet $- T _ { \\mathrm { m a x } } = 2 ^ { , , }$ , which only has single-turn reasoning. We compare ReasoNets with a two layer deep LSTM model (Hermann et al., 2015) with 128 hidden units, denoted as “Deep LSTM Reader”, as a baseline. Table 4 shows the performance of these models on the graph reachability dataset. Deep LSTM Reader achieves $9 0 . 9 2 \\%$ and $7 1 . 5 5 \\%$ accuracy in the small and large graph dataset, respectively, which indicates the graph reachibility task is not trivial. The results of ReasoNet $- T _ { \\mathrm { m a x } } = 2$ are comparable with the results of Deep LSTM Reader, since both Deep LSTM Reader and ReasoNet $- T _ { \\mathrm { m a x } } = 2$ perform single-turn reasoning. The ReasoNet-Last model achieves $1 0 0 \\%$ accuracy on the small graph dataset, while the ReasoNet-Last model achieves only $7 8 . 9 5 \\%$ accuracy on the large graph dataset, as the task becomes more challenging. Meanwhile, the ReasoNet model converges faster than the ReasoNet-Last model. The ReasoNet model converges in 20 epochs in the small graph dataset, and 40 epochs in the large graph dataset, while the ReasoNet-Last model converges around 40 epochs in the small graph dataset, and 70 epochs in the large graph dataset. The results suggest that the termination gate variable in the ReasoNet is helpful when training with sophisticated examples, and makes models converge faster. Both the ReasoNet and ReasoNet-Last models perform better than the ReasoNet $- T _ { \\mathrm { m a x } } = 2$ model, which demonstrates the importance of multi-turn reasoning. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
173,
|
| 788 |
+
785,
|
| 789 |
+
825,
|
| 790 |
+
896
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 6
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "table",
|
| 796 |
+
"img_path": "images/52e283742603be905aebaf4f3d3dad432a1023357f6ff1d4a4433b66944727f7.jpg",
|
| 797 |
+
"table_caption": [
|
| 798 |
+
"Table 3: Small and large random graph in the Graph Reachability dataset. Note that “ $A B ^ { \\prime }$ represents an edge connected from $A$ to $B$ and the $\\#$ symbol is used as a delimiter between different edges. "
|
| 799 |
+
],
|
| 800 |
+
"table_footnote": [],
|
| 801 |
+
"table_body": "<table><tr><td></td><td>Small Graph</td><td>Large Graph</td></tr><tr><td>Graph Description</td><td>0→0#0→2#1→→2#2→1# 3→2#3→3#3-6#37# 4→0#4→1#44#57# 6→0#6→1#7→0#</td><td>0→17#1→3#1→→14#1→6# 2→11#2→13#2→15#3→7# 5→0#5→7#6→10#6→5# 7→15#7-→7#8-→11#87# 10 →9#10→6#10→7#12→1# 12 →12#12→6#13-11#14→17# 14→14#15→10#16→2#17→4#</td></tr><tr><td>Query</td><td>7→4</td><td>17→7# 10→17</td></tr><tr><td>Answer</td><td>No</td><td>Yes</td></tr></table>",
|
| 802 |
+
"bbox": [
|
| 803 |
+
173,
|
| 804 |
+
155,
|
| 805 |
+
800,
|
| 806 |
+
315
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "table",
|
| 812 |
+
"img_path": "images/b48c3d747d0b78802ab00733a261621b3ba656ce41893ec1f1d2b615b32aa5f6.jpg",
|
| 813 |
+
"table_caption": [
|
| 814 |
+
"Table 4: The performance of Reasoning Network on the Graph Reachability dataset. "
|
| 815 |
+
],
|
| 816 |
+
"table_footnote": [],
|
| 817 |
+
"table_body": "<table><tr><td></td><td colspan=\"3\">Small Graph</td><td colspan=\"3\">Large Graph</td></tr><tr><td></td><td>ROC-AUC</td><td>PR-AUC</td><td>Accuracy</td><td>ROC-AUC</td><td>PR-AUC</td><td>Accuracy</td></tr><tr><td>Deep LSTM Reader</td><td>0.9619</td><td>0.9565</td><td>0.9092</td><td>0.7988</td><td>0.7887</td><td>0.7155</td></tr><tr><td>ReasoNet-Tmax = 2</td><td>0.9638</td><td>0.9677</td><td>0.8961</td><td>0.8477</td><td>0.8388</td><td>0.7607</td></tr><tr><td>ReasoNet-Last</td><td>1</td><td>1</td><td>1</td><td>0.8836</td><td>0.8742</td><td>0.7895</td></tr><tr><td>ReasoNet</td><td>1</td><td>1</td><td>1</td><td>0.9988</td><td>0.9989</td><td>0.9821</td></tr></table>",
|
| 818 |
+
"bbox": [
|
| 819 |
+
192,
|
| 820 |
+
357,
|
| 821 |
+
800,
|
| 822 |
+
449
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 7
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "",
|
| 829 |
+
"bbox": [
|
| 830 |
+
173,
|
| 831 |
+
476,
|
| 832 |
+
826,
|
| 833 |
+
642
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 7
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "To further understand the inference process in ReasoNets, Figures 3 and 4 show test examples of the large graph dataset. In Figure 3, we can observe that the model does not make a firm prediction till step 9. The highest attention word at each step shows the reasoning process of the model. Interestingly, the model starts from the end node (17), traverses backward till finding the starting node (10) in step 9, and makes a firm termination prediction. On the other hand, in Figure 4, the model learns to stop in step 2. In step 1, the model looks for neighbor nodes (12, 6, 16) to 4 and 9. Then, the model gives up in step 2 and predict “No\". All of these demonstrate the dynamic termination characteristic and potential reasoning capability of ReasoNets. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
173,
|
| 842 |
+
648,
|
| 843 |
+
825,
|
| 844 |
+
761
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 7
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "We show the distribution of termination steps in ReasoNets on the test set in Appendix A. The termination step is chosen with the maximum termination probability $\\begin{array} { r } { p ( k ) = t _ { k } \\prod _ { i = 1 } ^ { k - 1 } \\left( 1 - t _ { i } \\right) } \\end{array}$ , where $t _ { i }$ is the termination probability at step $i$ . ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
768,
|
| 854 |
+
826,
|
| 855 |
+
813
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 7
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "5 CONCLUSION ",
|
| 862 |
+
"text_level": 1,
|
| 863 |
+
"bbox": [
|
| 864 |
+
176,
|
| 865 |
+
835,
|
| 866 |
+
318,
|
| 867 |
+
852
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 7
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "In this paper, we propose ReasoNets that dynamically decide whether to continue or to terminate the inference process in machine comprehension tasks. Using reinforcement learning with the proposed contractive reward, our proposed model achieves the start-of-the-art results in machine comprehension datasets, including unstructured CNN and Daily Mail datasets, and a proposed structured Graph ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
174,
|
| 876 |
+
867,
|
| 877 |
+
825,
|
| 878 |
+
924
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 7
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "image",
|
| 884 |
+
"img_path": "images/828b0ab37652d632533e42c570b2fc01a99bda3e77251fac95aac51b54196208.jpg",
|
| 885 |
+
"image_caption": [
|
| 886 |
+
"Figure 3: An example of graph reachability result, given a query $^ { \\cdot } 1 0 1 7 ^ { \\cdot \\cdot }$ (Answer: Yes). The red circles highlight the nodes/edges which have the highest attention in each step. The corresponding termination probability and prediction results are shown in the table. The model terminates at step 10. "
|
| 887 |
+
],
|
| 888 |
+
"image_footnote": [],
|
| 889 |
+
"bbox": [
|
| 890 |
+
238,
|
| 891 |
+
102,
|
| 892 |
+
759,
|
| 893 |
+
371
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 8
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "image",
|
| 899 |
+
"img_path": "images/1b009fa598e45632dfae6caf3412153f62b648f633352ded1b11e14f26e05cef.jpg",
|
| 900 |
+
"image_caption": [
|
| 901 |
+
"Figure 4: An example of graph reachability result, given a query $\" 4 9 \"$ (Answer: No). The numbers next to the underline bars indicate the rank of the attention scores. The corresponding termination probability and prediction results are shown in the table. "
|
| 902 |
+
],
|
| 903 |
+
"image_footnote": [],
|
| 904 |
+
"bbox": [
|
| 905 |
+
240,
|
| 906 |
+
455,
|
| 907 |
+
759,
|
| 908 |
+
718
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 8
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Reachability dataset. For future work, ReasoNets can be generalized to other tasks that requires reasoning capability, such as question answering and knowledge graph inference. ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
173,
|
| 917 |
+
813,
|
| 918 |
+
823,
|
| 919 |
+
842
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 8
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 926 |
+
"text_level": 1,
|
| 927 |
+
"bbox": [
|
| 928 |
+
176,
|
| 929 |
+
866,
|
| 930 |
+
326,
|
| 931 |
+
878
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 8
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "We thank Ming-Wei Chang, Li Deng, Lihong Li, and Xiaodong Liu for their thoughtful feedback and discussions. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
173,
|
| 940 |
+
895,
|
| 941 |
+
823,
|
| 942 |
+
924
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 8
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "REFERENCES ",
|
| 949 |
+
"text_level": 1,
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
103,
|
| 953 |
+
287,
|
| 954 |
+
117
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 9
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of the International Conference on Learning Representations, 2015. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
174,
|
| 963 |
+
125,
|
| 964 |
+
823,
|
| 965 |
+
151
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 9
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Léon Bottou. From machine learning to machine reasoning. Machine Learning, 94(2):133–149, 2014. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
173,
|
| 974 |
+
159,
|
| 975 |
+
777,
|
| 976 |
+
174
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 9
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "Danqi Chen, Jason Bolton, and Christopher D Manning. A thorough examination of the CNN / Daily Mail reading comprehension task. In ACL, 2016. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
173,
|
| 985 |
+
181,
|
| 986 |
+
821,
|
| 987 |
+
208
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 9
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Yiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-over-attention neural networks for reading comprehension. CoRR, abs/1607.04423, 2016. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
173,
|
| 996 |
+
217,
|
| 997 |
+
823,
|
| 998 |
+
243
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 9
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Bhuwan Dhingra, Hanxiao Liu, William W. Cohen, and Ruslan Salakhutdinov. Gated-attention readers for text comprehension. CoRR, abs/1606.01549, 2016. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
171,
|
| 1007 |
+
252,
|
| 1008 |
+
823,
|
| 1009 |
+
279
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 9
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Karm Moritz Hermann, Tomáš Kociský, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and ˇ Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1693–1701, 2015. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
174,
|
| 1018 |
+
286,
|
| 1019 |
+
823,
|
| 1020 |
+
325
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 9
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The Goldilocks principle: Reading children’s books with explicit memory representations. In Proceedings of the International Conference on Learning Representations, 2016. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
173,
|
| 1029 |
+
334,
|
| 1030 |
+
823,
|
| 1031 |
+
373
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 9
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Rudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. arXiv:1603.01547v1 [cs.CL], 2016. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
169,
|
| 1040 |
+
381,
|
| 1041 |
+
823,
|
| 1042 |
+
409
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Leslie Pack Kaelbling, Michael L. Littman, and Anthony R. Cassandra. Planning and acting in partially observable stochastic domains. Artificial Intelligence, 101:99–134, 1998. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
416,
|
| 1052 |
+
823,
|
| 1053 |
+
444
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 9
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations, 2015. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
173,
|
| 1062 |
+
452,
|
| 1063 |
+
823,
|
| 1064 |
+
479
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Sosuke Kobayashi, Ran Tian, Naoaki Okazaki, and Kentaro Inui. Dynamic entity representation with maxpooling improves machine reading. In Proceedings of the North American Chapter of the Association for Computational Linguistics and Human Language Technologies (NAACL-HLT), 2016. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
486,
|
| 1074 |
+
823,
|
| 1075 |
+
526
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Ankit Kumar, Ozan Irsoy, Peter Ondruska, Mohit Iyyer, James Bradbury, Ishaan Gulrajani, Victor Zhong, Romain Paulus, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. In Proceedings of the International Conference on Machine Learning, 2016. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
534,
|
| 1085 |
+
821,
|
| 1086 |
+
574
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 9
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Volodymyr Mnih, Nicolas Heess, Alex Graves, et al. Recurrent models of visual attention. In Advances in Neural Information Processing Systems, pp. 2204–2212, 2014. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
174,
|
| 1095 |
+
582,
|
| 1096 |
+
823,
|
| 1097 |
+
609
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 9
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Rodrigo Nogueira and Kyunghyun Cho. Webnav: A new large-scale task for natural language based sequential decision making. In Advances in Neural Information Processing Systems, 2016. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
171,
|
| 1106 |
+
617,
|
| 1107 |
+
823,
|
| 1108 |
+
645
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 9
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In EMNLP, 2014. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
174,
|
| 1117 |
+
651,
|
| 1118 |
+
823,
|
| 1119 |
+
679
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 9
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. SQuAD: 100, $0 0 0 +$ questions for machine comprehension of text. In EMNLP, 2016. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
173,
|
| 1128 |
+
686,
|
| 1129 |
+
823,
|
| 1130 |
+
714
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 9
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Matthew Richardson, Christopher JC Burges, and Erin Renshaw. MCTest: A challenge dataset for the opendomain machine comprehension of text. In EMNLP, 2013. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
722,
|
| 1140 |
+
821,
|
| 1141 |
+
750
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 9
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Alessandro Sordoni, Phillip Bachman, and Yoshua Bengio. Iterative alternating neural attention for machine reading. CoRR, abs/1606.02245, 2016. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
173,
|
| 1150 |
+
757,
|
| 1151 |
+
823,
|
| 1152 |
+
784
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 9
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Sainbayar Sukhbaatar, Jason Weston, Rob Fergus, et al. End-to-end memory networks. In Advances in neural information processing systems, pp. 2440–2448, 2015. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
171,
|
| 1161 |
+
791,
|
| 1162 |
+
823,
|
| 1163 |
+
819
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 9
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Richard S. Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in Neural Information Processing Systems, 1999. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
174,
|
| 1172 |
+
827,
|
| 1173 |
+
823,
|
| 1174 |
+
866
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 9
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Richard Stuart Sutton. Temporal Credit Assignment in Reinforcement Learning. PhD thesis, 1984. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
173,
|
| 1183 |
+
875,
|
| 1184 |
+
753,
|
| 1185 |
+
888
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 9
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Adam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the EpiReader. In EMNLP, 2016. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
173,
|
| 1194 |
+
897,
|
| 1195 |
+
826,
|
| 1196 |
+
924
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 9
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Dirk Weissenborn. Separating answers from queries for neural reading comprehension. CoRR, abs/1607.03316, 2016. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
173,
|
| 1205 |
+
104,
|
| 1206 |
+
825,
|
| 1207 |
+
131
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 10
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3-4):229–256, 1992. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
176,
|
| 1216 |
+
140,
|
| 1217 |
+
823,
|
| 1218 |
+
165
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 10
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "A THE TERMINATION STEP DISTRIBUTION IN REASONETS ",
|
| 1225 |
+
"text_level": 1,
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
176,
|
| 1228 |
+
193,
|
| 1229 |
+
671,
|
| 1230 |
+
208
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "In this section, we present the termination step distribution of ReasoNets. Figure 5 and Figure 6 show the termination step distribution of ReasoNets in the CNN dataset and the graph reachability dataset, respectively. The distributions spread out across different steps and there are a large number of instances that terminate in the last step. We study the correlation between the termination steps and the complexity of test instances in Figure 7. We use Breadth-First Search (BFS) algorithm over the target graph given the query to analyze the complexity of test instances. For example, BFS-Step $= 2$ indicates that there are two intermediate nodes in the shortest reachability path. Test instances with larger BFS-Steps are more challenging. We denote ${ \\bf B } \\mathrm { F S - S t e p = - 1 }$ as there is no reachable path for the given query. Figure 7 shows that test instances with larger BFS-Steps require more reasoning steps. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
173,
|
| 1239 |
+
223,
|
| 1240 |
+
825,
|
| 1241 |
+
363
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "image",
|
| 1247 |
+
"img_path": "images/adcde0f9d5715d34527b5d7e8969cdd91ba5497d289bbec43ef5d78dfa4d27b9.jpg",
|
| 1248 |
+
"image_caption": [
|
| 1249 |
+
"Figure 5: The termination step distribution of a ReasoNet $T _ { m a x } = 5$ ) in the CNN dataset. "
|
| 1250 |
+
],
|
| 1251 |
+
"image_footnote": [],
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
310,
|
| 1254 |
+
382,
|
| 1255 |
+
686,
|
| 1256 |
+
573
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 10
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "image",
|
| 1262 |
+
"img_path": "images/5878c3f9906a18e1bb1f43a9acaf057c6babbb5ec0bf2c90c555091dc480302a.jpg",
|
| 1263 |
+
"image_caption": [
|
| 1264 |
+
"Figure 6: Termination step distribution of ReasoNets in the graph reachability dataset, where $T _ { m a x }$ is set to 15 and 25 in the small graph and large graph dataset, respectively. "
|
| 1265 |
+
],
|
| 1266 |
+
"image_footnote": [],
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
184,
|
| 1269 |
+
640,
|
| 1270 |
+
813,
|
| 1271 |
+
881
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 10
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "image",
|
| 1277 |
+
"img_path": "images/f59afdcdb6641db05b3f411dae89cf7fd4794c3030b12d3625992d0dfd6211b7.jpg",
|
| 1278 |
+
"image_caption": [
|
| 1279 |
+
"Figure 7: The correlation between BFS steps and ReasoNet termination steps in the graph reachability dataset, where $T _ { m a x }$ is set to 15 and 25 in the small graph and large graph dataset, respectively, and BFS-Step $\\ c = - 1$ denotes unreachable cases. The value indicates the number of instances in each case. "
|
| 1280 |
+
],
|
| 1281 |
+
"image_footnote": [],
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
183,
|
| 1284 |
+
396,
|
| 1285 |
+
805,
|
| 1286 |
+
575
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 11
|
| 1289 |
+
}
|
| 1290 |
+
]
|
parse/train/BkfbpsAcF7/BkfbpsAcF7.md
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# EXCESSIVE INVARIANCE CAUSES ADVERSARIAL VULNERABILITY
|
| 2 |
+
|
| 3 |
+
Jorn-Henrik Jacobsen ¨ 1∗, Jens Behrmann1,2, Richard Zemel1, Matthias Bethge3
|
| 4 |
+
|
| 5 |
+
1Vector Institute and University of Toronto 2University of Bremen, Center for Industrial Mathematics 3University of Tubingen ¨ ∗j.jacobsen@vectorinstitute.ai
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
Despite their impressive performance, deep neural networks exhibit striking failures on out-of-distribution inputs. One core idea of adversarial example research is to reveal neural network errors under such distribution shifts. We decompose these errors into two complementary sources: sensitivity and invariance. We show deep networks are not only too sensitive to task-irrelevant changes of their input, as is well-known from $\epsilon$ -adversarial examples, but are also too invariant to a wide range of task-relevant changes, thus making vast regions in input space vulnerable to adversarial attacks. We show such excessive invariance occurs across various tasks and architecture types. On MNIST and ImageNet one can manipulate the class-specific content of almost any image without changing the hidden activations. We identify an insufficiency of the standard cross-entropy loss as a reason for these failures. Further, we extend this objective based on an informationtheoretic analysis so it encourages the model to consider all task-dependent features in its decision. This provides the first approach tailored explicitly to overcome excessive invariance and resulting vulnerabilities.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
Top-1: Bullfrog Top-2:Acorn Top-3:Garter snake
|
| 15 |
+
Figure 1: All images shown cause a competitive ImageNet-trained network to output the exact same probabilities over all 1000 classes (logits shown above each image). The leftmost image is from the ImageNet validation set; all other images are constructed such that they match the non-class related information of images taken from other classes (for details see section 2.1). The excessive invariance revealed by this set of adversarial examples demonstrates that the logits contain only a small fraction of the information perceptually relevant to humans for discrimination between the classes.
|
| 16 |
+
|
| 17 |
+
Adversarial vulnerability is one of the most iconic failure cases of modern machine learning models (Szegedy et al., 2013) and a prime example of their weakness in out-of-distribution generalization. It is particularly striking that under i.i.d. settings deep networks show superhuman performance on many tasks (LeCun et al., 2015), while tiny targeted shifts of the input distribution can cause them to make unintuitive mistakes. The reason for these failures and how they may be avoided or at least mitigated is an active research area (Schmidt et al., 2018; Gilmer et al., 2018b; Bubeck et al., 2018).
|
| 18 |
+
|
| 19 |
+
So far, the study of adversarial examples has mostly been concerned with the setting of small perturbation, or $\epsilon$ -adversaries (Goodfellow et al., 2015; Madry et al., 2017; Raghunathan et al., 2018).
|
| 20 |
+
|
| 21 |
+
Perturbation-based adversarial examples are appealing because they allow to quantitatively measure notions of adversarial robustness (Brendel et al., 2018). However, recent work argued that the perturbation-based approach is unrealistically restrictive and called for the need of generalizing the concept of adversarial examples to the unrestricted case, including any input crafted to be misinterpreted by the learned model (Song et al., 2018; Brown et al., 2018). Yet, settings beyond $\epsilon$ -robustness are hard to formalize (Gilmer et al., 2018a).
|
| 22 |
+
|
| 23 |
+
We argue here for an alternative, complementary viewpoint on the problem of adversarial examples. Instead of focusing on transformations erroneously crossing the decision-boundary of classifiers, we focus on excessive invariance as a major cause for adversarial vulnerability. To this end, we introduce the concept of invariance-based adversarial examples and show that class-specific content of almost any input can be changed arbitrarily without changing activations of the network, as illustrated in figure 1 for ImageNet. This viewpoint opens up new directions to analyze and control crucial aspects underlying vulnerability to unrestricted adversarial examples.
|
| 24 |
+
|
| 25 |
+
The invariance perspective suggests that adversarial vulnerability is a consequence of narrow learning, yielding classifiers that rely only on few highly predictive features in their decisions. This has also been supported by the observation that deep networks strongly rely on spectral statistical regularities (Jo & Bengio, 2017), or stationary statistics (Gatys et al., 2017) to make their decisions, rather than more abstract features like shape and appearance. We hypothesize that a major reason for this excessive invariance can be understood from an information-theoretic viewpoint of crossentropy, which maximizes a bound on the mutual information between labels and representation, giving no incentive to explain all class-dependent aspects of the input. This may be desirable in some cases, but to achieve truly general understanding of a scene or an object, machine learning models have to learn to successfully separate essence from nuisance and subsequently generalize even under shifted input distributions.
|
| 26 |
+
|
| 27 |
+
Our contributions:
|
| 28 |
+
|
| 29 |
+
• We identify excessive invariance underlying striking failures in deep networks and formalize the connection to adversarial examples. We show invariance-based adversarial examples can be observed across various tasks and types of deep network architectures.
|
| 30 |
+
• We propose an invertible network architecture that gives explicit access to its decision space, enabling class-specific manipulations to images while leaving all dimensions of the representation seen by the final classifier invariant.
|
| 31 |
+
• From an information-theoretic viewpoint, we identify the cross-entropy objective as a major reason for the observed failures. Leveraging invertible networks, we propose an alternative objective that provably reduces excessive invariance and works well in practice.
|
| 32 |
+
|
| 33 |
+
# 2 TWO COMPLEMENTARY APPROACHES TO ADVERSARIAL EXAMPLES
|
| 34 |
+
|
| 35 |
+
In this section, we define pre-images and establish a link to adversarial examples.
|
| 36 |
+
|
| 37 |
+
Definition 1 (Pre-images / Invariance). Let $F : \mathbb { R } ^ { d } \mathbb { R } ^ { C }$ be a neural network, $F = f _ { L } \circ \cdot \cdot \cdot \circ f _ { 1 }$ with layers $f _ { i }$ and let $F _ { i }$ denote the network up to layer i. Further, let $D : \mathbb { R } ^ { d } \{ 1 , \dots , C \}$ be a classifier with $D = \arg \operatorname* { m a x } _ { k = 1 , \ldots , C } s o f t m a x ( F ( x ) ) _ { k }$ . Then, for input $\boldsymbol { x } \in \mathbb { R } ^ { d }$ , we define the following pre-images
|
| 38 |
+
|
| 39 |
+
(i) i-th Layer pre-image: $\{ x ^ { * } \in \mathbb { R } ^ { d } \mid F _ { i } ( x ^ { * } ) = F _ { i } ( x ) \}$ (ii) Logit pre-image: $\{ x ^ { * } \in \mathbb { R } ^ { d } \mid F ( x ^ { * } ) = F ( x ) \}$ (iii) Argmax pre-image: $\{ x ^ { * } \in \mathbb { R } ^ { d } \mid D ( x ^ { * } ) = D ( x ) \}$ , where $( i ) \subset ( i i ) \subset ( i i i )$ by the compositional nature of $D$ . Moreover, the (sub-)network is invariant to perturbations $\Delta x$ which satisfy $x ^ { * } = x + \Delta x$
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 2: Connection between (1) invariance-based (long pink arrow) and (2) perturbation-based adversarial examples (short orange arrow). Class distributions are shown in green and blue; dashed line is the decision-boundary of a classifier. All adversarial examples can be reached either by crossing the decision-boundary of the classifier via perturbations, or by moving within the pre-image of the classifier to mis-classified regions. The two viewpoints are complementary to one another and highlight that adversarial vulnerability is not only caused by excessive sensitivity to semantically meaningless perturbations, but also by excessive insensitivity to semantically meaningful transformations.
|
| 43 |
+
|
| 44 |
+
Non-trivial pre-images (pre-images containing more elements than input $x$ ) after the $i$ -th layer occur if the chain $f _ { i } \circ \cdots \circ f _ { 1 }$ is not injective, for instance due to subsampling or non-injective activation functions like ReLU (Behrmann et al., 2018a). This accumulated invariance can become problematic if not controlled properly, as we will show in the following.
|
| 45 |
+
|
| 46 |
+
We define perturbation-based adversarial examples by introducing the notion of an oracle (e.g., a human decision-maker or the unknown input-output function considered in learning theory):
|
| 47 |
+
|
| 48 |
+
Definition 2 (Perturbation-based Adversarial Examples). A Perturbation-based adversarial example $x ^ { * } \in \mathbb { R } ^ { d }$ of $x \in \mathbb { R } ^ { d }$ fulfills:
|
| 49 |
+
|
| 50 |
+
(i) Perturbation of decision: $D ( x ^ { * } ) \neq o ( x ^ { * } )$ and $D ( x ) \neq D ( x ^ { * } )$ , where $D : \mathbb { R } ^ { d } \{ 1 , \ldots , C \}$ is the classifier and $o : \mathbb { R } ^ { d } \{ 1 , . . . , C \}$ is the oracle.
|
| 51 |
+
|
| 52 |
+
(ii) Created by adversary: $x ^ { * } \in \mathbb { R } ^ { d }$ is created by an algorithm $\mathcal { A } : \mathbb { R } ^ { d } \mathbb { R } ^ { d }$ with $x \mapsto x ^ { * }$
|
| 53 |
+
|
| 54 |
+
Further, -bounded adversarial ex. $x ^ { * }$ of $x$ fulfill $\| x - x ^ { * } \| < \epsilon , \| \cdot \|$ a norm on $\mathbb { R } ^ { d }$ and $\epsilon > 0$ .
|
| 55 |
+
|
| 56 |
+
Usually, such examples are constructed as $\epsilon$ -bounded adversarial examples (Goodfellow et al., 2015). However, as our goal is to characterize general invariances of the network, we do not restrict ourselves to bounded perturbations.
|
| 57 |
+
|
| 58 |
+
Definition 3 (Invariance-based Adversarial Examples). Let $G$ denote the i-th layer, logits or the classifier (Definition 1) and let $x ^ { * } \neq x$ be in the $G$ pre-image of $x$ and and o an oracle (Definition 2). Then, an invariance-based adversarial example fulfills $o ( x ) \neq o ( x ^ { * } )$ , while $G ( x ) = G ( x ^ { * } )$ (and hence $D ( x ) = D ( x ^ { * } ) ,$ .
|
| 59 |
+
|
| 60 |
+
Intuitively, adversarial perturbations cause the output of the classifier to change while the oracle would still consider the new input $x ^ { * }$ as being from the original class. Hence in the context of $\epsilon$ - bounded perturbations, the classifier is too sensitive to task-irrelevant changes. On the other hand, movements in the pre-image leave the classifier invariant. If those movements induce a change in class as judged by the oracle, we call these invariance-based adversarial examples. In this case, however, the classifier is too insensitive to task-relevant changes. In conclusion, these two modes are complementary to each other, whereas both constitute failure modes of the learned classifier.
|
| 61 |
+
|
| 62 |
+
When not restricting to $\epsilon$ -perturbations, perturbation-based and invariance-based adversarial examples yield the same input $x ^ { * }$ via
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\begin{array} { r l } & { x ^ { * } = x _ { 1 } + \Delta x _ { 1 } , \quad D ( x ^ { * } ) \neq D ( x _ { 1 } ) , \quad o ( x ^ { * } ) = o ( x _ { 1 } ) } \\ & { x ^ { * } = x _ { 2 } + \Delta x _ { 2 } , \quad D ( x ^ { * } ) = D ( x _ { 2 } ) , \quad o ( x ^ { * } ) \neq o ( x _ { 2 } ) , } \end{array}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
with different reference points $x _ { 1 }$ and $x _ { 2 }$ , see Figure 2. Hence, the key difference is the change of reference, which allows us to approach these failure modes from different directions. To connect these failure modes with an intuitive understanding of variations in the data, we now introduce the notion of invariance to nuisance and semantic variations, see also (Achille & Soatto, 2018).
|
| 69 |
+
|
| 70 |
+
Definition 4 (Semantic/ Nuisance perturbation of an input). Let o be an oracle (Definition 2) and $\boldsymbol { x } \in \mathbb { R } ^ { d }$ . Then, a perturbation $\Delta x$ of an input $\boldsymbol { x } \in \mathbb { R } ^ { d }$ is called semantic, $i f o ( x ) \neq o ( x + \Delta x )$ and nuisance if $o ( x ) = o ( x + \Delta x )$ .
|
| 71 |
+
|
| 72 |
+
For example, such a nuisance perturbation could be a translation or occlusion in image classification. Further in Appendix A, we discuss the synthetic example called Adversarial Spheres from (Gilmer et al., 2018b), where nuisance and semantics can be explicitly formalized as rotation and norm scaling.
|
| 73 |
+
|
| 74 |
+
# 2.1 USING BIJECTIVE NETWORKS TO ANALYZE EXCESSIVE INVARIANCE
|
| 75 |
+
|
| 76 |
+
As invariance-based adversarial examples manifest themselves in changes which do not affect the output of the network $F$ , we need a generic approach that gives us access to the discarded nuisance variability. While feature nuisances are intractable to access for general architectures (see comment after Definition 1), invertible classifiers only remove nuisance variability in their final projection (Jacobsen et al., 2018). For $C < d$ , we denote the classifier as $D : \mathbb { R } ^ { d } \{ 1 , . . . , C \}$ . Our contributions in this section are: (1) Introduce an invertible architecture with a simplified readout structure, allowing to exactly visualize manipulations in the hidden-space, (2) Propose an analytic attack based on this architecture allowing to analyze its decision-making, (3) Reveal striking invariance-based vulnerability in competitive classifiers.
|
| 77 |
+
|
| 78 |
+
Bijective classifiers with simplified readout. We build deep networks that give access to their decision space by removing the final linear mapping onto the class probes in invertible RevNet-classifiers and call these networks fully invertible RevNets. The fully invertible RevNet classifier can be written as $\begin{array} { r l } { D _ { \theta } } & { { } = } \end{array}$ arg $\mathrm { m a x } _ { k = 1 , \ldots , C }$ sof tmax $( F _ { \theta } ( x ) _ { k } )$ , where $F _ { \theta }$ represents the bijective network. We denote $z = F _ { \theta } ( x )$ , $z _ { s } = z _ { 1 , . . . , C }$ as the logits (semantic variables) and $z _ { n } = z _ { C + 1 , \dots , d }$ as the nuisance variables ( $z _ { n }$ is not used for classification). In practice we choose the first C indices of the final $z$ tensor or apply a more sophiscticated DCT scheme (see appendix D) to set the subspace $z _ { s }$ , but other choices work as well. The architecture of the network is similar to iRevNets (Jacobsen et al., 2018) with some additional Glow components like actnorm (Kingma & Dhariwal, 2018), squeezing, dimension splitting and affine block structure (Dinh et al., 2017), see Figure 3 for a graphical description. As all components are common in the bijective network literature, we refer the reader to Appendix D for exact training and architecture details. Due to its simple readout structure, the resulting invertible network allows to qualitatively and quantitatively investigate the task-specific content in nuisance and logit variables. Despite this restriction, we achieve performance on par with commonly-used baselines on MNIST and ImageNet, see Table 1 and Appendix D.
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 3: The fully invertible RevNet, a hybrid of Glow and iRevNet with simple readout structure. $z _ { s }$ represents the logits and $z _ { n }$ the nuisance.
|
| 82 |
+
|
| 83 |
+
Table 1: The table shows error rates on the ILSVRC-2012 validation set of our proposed fully invertible RevNet compared to a VGG (Simonyan & Zisserman, 2014) and two ResNet (He et al., 2016) variants, as well as an iRevNet (Jacobsen et al., 2018) with a non-invertible final projection onto the logits. Our proposed fully invertible RevNet performs roughly on par with others.
|
| 84 |
+
|
| 85 |
+
<table><tr><td>% Error</td><td>fi-RevNet48(Ours)</td><td>VGG19</td><td>ResNet18</td><td>ResNet50</td><td>iRevNet300</td></tr><tr><td>ILSVRC2012 Val Top1</td><td>29.50</td><td>28.70</td><td>30.43</td><td>24.70</td><td>26.70</td></tr><tr><td>ILSVRC2012 Val Top5</td><td>11.30</td><td>9.90</td><td>10.80</td><td>7.89</td><td>1</td></tr></table>
|
| 86 |
+
|
| 87 |
+
Analytic attack. To analyze the trained models, we can sample elements from the logit pre-image by computing $x _ { m e t } = \dot { F } ^ { - 1 } ( z _ { s } , \tilde { z } _ { n } )$ , where $z _ { s }$ and $\tilde { z } _ { n }$ are taken from two different inputs. We term this heuristic metameric sampling. The samples would be from the true data distribution if the subspaces would be factorized as $P ( z _ { s } , z _ { n } ) = P ( z _ { s } ) P ( z _ { n } )$ . Experimentally we find that logit metamers are revealing adversarial subspaces and are visually close to natural images on ImageNet.
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
Figure 4: Left: Decision-boundaries in 2D subspace spanned by two random data points $x _ { 1 } , x _ { 2 }$ . Right: Decision-boundaries in 2D subspace spanned by random datapoint $x$ and metamer $x _ { m e t }$ .
|
| 91 |
+
|
| 92 |
+
Thus, metameric sampling gives us an analytic tool to inspect dependencies between semantic and nuisance variables without the need for expensive and approximate optimization procedures.
|
| 93 |
+
|
| 94 |
+
Attack on adversarial spheres. First, we evaluate our analytic attack on the synthetic spheres dataset, where the task is to classify samples as belonging to one out of two spheres with different radii. We choose the sphere dimensionality to be $d = 1 0 0$ and the radii: $R _ { 1 } = 1$ , $R _ { 2 } = 1 0$ . By training a fully-connected fully invertible RevNet, we obtain $100 \%$ accuracy. After training we visualize the decision-boundaries of the original classifier $D$ and a posthoc trained classifier on $z _ { n }$ (nuisance classifier), see Figure 4. We densely sample points in a 2D subspace, following Gilmer et al. (2018b), to visualize two cases: 1) the decision-boundary on a 2D plane spanned by two randomly chosen data points, 2) the decision-boundary spanned by metameric sample $x _ { m e t }$ and reference point $x$ . In the metameric sample subspace we identify excessive invariance of the classifier. Here, it is possible to move any point from the inner sphere to the outer sphere without changing the classifiers predictions. However, this is not possible for the classifier trained on $z _ { n }$ . Most notably, the visualized failure is not due to a lack of data seen during training, but rather due to excessive invariance of the original classifier $D$ on $z _ { s }$ . Thus, the nuisance classifier on $z _ { n }$ does not exhibit the same adversarial vulnerability in its subspace.
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+
Figure 5: Each column shows three images belonging together. Top row are source images from which we sample the logits, middle row are logit metamers and bottom row images from which we sample the nuisances. Top row and middle row have the same (approximately for ResNets, exactly for fully invertible RevNets) logit activations. Thus, it is possible to change the image content completely without changing the 10- and 1000-dimensional logit vectors respectively. This highlights a striking failure of classifiers to capture all task-dependent variability.
|
| 98 |
+
|
| 99 |
+
Attack on MNIST and ImageNet. After validating its potential to uncover adversarial subspaces, we apply metameric sampling to fully invertible RevNets trained on MNIST and Imagenet, see Figure 5. The result is striking, as the nuisance variables $z _ { n }$ are dominating the visual appearance of the logit metamers, making it possible to attach any semantic content to any logit activation pattern. Note that the entire 1000-dimensional feature vector containing probabilities over all ImageNet classses remains unchanged by any of the transformations we apply. To show our findings are not a particular property of bijective networks, we attack an ImageNet trained ResNet152 with a gradientbased version of our metameric attack, also known as feature adversaries (Sabour et al., 2016). The attack minimizes the mean squared error between a given set of logits from one image to another image (see appendix B for details). The attack shows the same failures for non-bijective models. This result highlights the general relevance of our finding and poses the question of the origin of this excessive invariance, which we will analyze in the following section.
|
| 100 |
+
|
| 101 |
+
# 3 OVERCOMING INSUFFICIENCY OF CROSSENTROPY-BASED INFORMATION-MAXIMIZATION
|
| 102 |
+
|
| 103 |
+
In this section we identify why the cross-entropy objective does not necessarily encourage to explain all task-dependent variations of the data and propose a way to fix this. As shown in figure 4, the nuisance classifier on $z _ { n }$ uses task-relevant information not captured by the logit classifier $D _ { \theta }$ on $z _ { s }$ (evident by its superior performance in the adversarial subspace).
|
| 104 |
+
|
| 105 |
+
We leverage the simple readout-structure of our invertible network and turn this observation into a formal explanation framework using information theory: Let $( x , y ) \sim \mathcal { D }$ with labels $y \in \{ 0 , 1 \} ^ { C }$ . Then the goal of a classifier can be stated as maximizing the mutual information (Cover & Thomas, 2006) between semantic features $z _ { s }$ (logits) extracted by network $F _ { \theta }$ and labels $y$ , denoted by $I ( y ; z _ { s } )$ .
|
| 106 |
+
|
| 107 |
+
Adversarial distribution shift. As the previously discussed failures required to modify input data from distribution $\mathcal { D }$ , we introduce the concept of an adversarial distribution shift $\mathcal { D } _ { A d v } \neq \mathcal { D }$ to formalize these modifications. Our first assumptions for $\mathcal { D } _ { A d v }$ is $I _ { \mathcal { D } _ { A d v } } ( z _ { n } ; y ) \ \le \ I _ { \mathcal { D } } ( z _ { n } ; y )$ . Intuitively, the nuisance variables $z _ { n }$ of our network do not become more informative about $y$ . Thus, the distribution shift may reduce the predictiveness of features encoded in $z _ { s }$ , but does not introduce or increase the predictive value of variations captured in $z _ { n }$ . Second, we assume $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } | z _ { n } ) \leq$ $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } )$ , which corresponds to positive or zero interaction information, see e.g. (Ghassami & Kiyavash, 2017). While the information in $z _ { s }$ and $z _ { n }$ can be redundant in this assumption, synergetic effects where conditioning on $z _ { n }$ increase the mutual information between $y$ and $z _ { s }$ are excluded.
|
| 108 |
+
|
| 109 |
+
Bijective networks $F _ { \theta }$ capture all variations by design which translates to information preservation $I ( y ; x ) = I ( y ; F _ { \theta } ( x ) )$ , see (Kraskov et al., 2004). Consider the reformulation
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
I ( y ; x ) = I ( y ; F _ { \theta } ( x ) ) = I ( y ; z _ { s } , z _ { n } ) = I ( y ; z _ { s } ) + I ( y ; z _ { n } | z _ { s } ) = I ( y ; z _ { n } ) + I ( y ; z _ { s } | z _ { n } )
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
by the chain rule of mutual information (Cover & Thomas, 2006), where $I ( y ; z _ { n } | z _ { s } )$ denotes the conditional mutual information. Most strikingly, equation 5 offers two ways forward:
|
| 116 |
+
|
| 117 |
+
1. Direct increase of $I ( y ; z _ { s } )$
|
| 118 |
+
2. Indirect increase of $I ( y ; z _ { s } | z _ { n } )$ via decreasing $I ( y ; z _ { n } )$ .
|
| 119 |
+
|
| 120 |
+
Usually in a classification task, only $I ( y ; z _ { s } )$ is increased actively via training a classifier. While this approach is sufficient in most cases, expressed via high accuracies on training and test data, it may fail under $\mathcal { D } _ { A d v }$ . This highlights why cross-entropy training may not be sufficient to overcome excessive semantic invariance. However, by leveraging the bijection $F _ { \theta }$ we can minimize the unused information $I ( y ; z _ { n } )$ using the intuition of a nuisance classifier.
|
| 121 |
+
|
| 122 |
+
Definition 5 (Independence cross-entropy loss). Let $F _ { \theta } : \mathbb { R } ^ { d } \mathbb { R } ^ { d }$ a bijective network with parameters $\theta \in \mathbb { R } ^ { p _ { 1 } }$ and $\tilde { F } _ { \theta } ( x ) = s o f t m a x ( F _ { \theta } ( x ) _ { 1 , . . . , C } )$ . Furthermore, let $D _ { \theta _ { n c } } : \mathbb { R } ^ { d - C } [ 0 , 1 ] ^ { C }$ be the nuisance classifier with $\theta _ { n c } \in \mathbb { R } ^ { p _ { 2 } }$ . Then, the independence cross-entropy loss is defined as:
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\operatorname* { m i n } _ { \theta } \operatorname* { m m a x } _ { \theta _ { n c } } \mathcal { L } _ { i C E } ( \theta , \theta _ { n c } ) = \underbrace { \sum _ { i = 1 } ^ { C } - y _ { i } \log \tilde { F } _ { \theta } ^ { z _ { s } } ( x ) } _ { = : \mathcal { L } _ { s C E } ( \theta ) } + \underbrace { \sum _ { i = 1 } ^ { C } y _ { i } \log D _ { \theta _ { n c } } ( F _ { \theta } ^ { z _ { n } } ( x ) ) _ { i } } _ { = : \mathcal { L } _ { n C E } ( \theta , \theta _ { n c } ) } .
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
The underlying principles of the nuisance classification loss $\mathcal { L } _ { n C E }$ can be understood using a variational lower bound on mutual information from Barber $\&$ Agakov (2003). In summary, the minimization is with respect to a lower bound on $I _ { \mathcal { D } } ( y ; z _ { n } )$ , while the maximization aims to tighten the bound (see Lemma 10 in Appendix C). By using these results, we now state the main result under the assumed distribution shift and successful minimization (proof in Appendix C.1):
|
| 129 |
+
|
| 130 |
+
Theorem 6 (Information $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } )$ maximal after distribution shift). Let $\mathcal { D } _ { A d v }$ denote the adversarial distribution and $\mathcal { D }$ the training distribution. Assume $I _ { \mathcal { D } } ( y ; z _ { n } ) = 0$ by minimizing $\mathcal { L } _ { i C E }$ and the distribution shift satisfies $I _ { \mathcal { D } _ { A d v } } ( z _ { n } ; y ) \le I _ { \mathcal { D } } ( z _ { n } ; y )$ and $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } | z _ { n } ) \le I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } )$ . Then,
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } ) = I _ { \mathcal { D } } ( y ; x ) .
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
Figure 6: Left: Mutual information under distribution $\mathcal { D } _ { t r a i n }$ , Right: Effect of distributional shift to $\mathcal { D } _ { A d v }$ . Each case under training with cross-entropy (CE) and independence cross-entropy (iCE). Under distribution $\mathcal { D }$ , the iCE-loss minimizes $I ( y ; z _ { n } )$ (Lemma 10, Appendix C), but has no effect as the CE-loss already maximizes $I ( y ; z _ { s } )$ . However under the shift to $\mathcal { D } _ { A d v }$ , the information $I ( y ; z _ { s } )$ decreases when training only under the CE-loss (orange arrow), while the iCE-loss induces $I ( y ; z _ { n } ) = 0$ and thus leaves $I ( y ; z _ { s } )$ unchanged (Theorem 6).
|
| 138 |
+
|
| 139 |
+
Thus, incorporating the nuisance classifier allows for the discussed indirect increase of $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } )$ under an adversarial distribution shift, visualized in Figure 6.
|
| 140 |
+
|
| 141 |
+
To aid stability and further encourage factorization of $z _ { s }$ and $z _ { n }$ in practice, we add a maximum likelihood term to our independence cross-entropy objective as
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\operatorname* { m i n } _ { \theta } \operatorname* { m a x } _ { \theta _ { n c } } \mathcal { L } ( \theta , \theta _ { n c } ) = \mathcal { L } _ { i C E } ( \theta , \theta _ { n c } ) - \underbrace { \sum _ { k = 1 } ^ { d - C } \log \big ( p _ { k } ( F _ { \theta } ^ { z _ { n } } ( x ) _ { k } ) | \mathsf { d e t } ( J _ { \theta } ^ { x } ) | \big ) } _ { = : \mathcal { L } _ { M L E _ { n } } ( \theta ) } ,
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
where $\operatorname* { d e t } ( J _ { \theta } ^ { x } )$ denotes the determinant of the Jacobian of $F _ { \theta } ( x )$ and $p _ { k } \sim \mathcal N ( \beta _ { k } , \gamma _ { k } )$ with $\beta _ { k } , \gamma _ { k }$ learned parameter. The log-determinant can be computed exactly in our model with negligible additional cost. Note, that optimizing $\mathcal { L } _ { M L E _ { n } }$ on the nuisance variables together with $\mathcal { L } _ { s C E }$ amounts to maximum-likelihood under a factorial prior (see Lemma 11 in Appendix C).
|
| 148 |
+
|
| 149 |
+
Just as in GANs the quality of the result relies on a tight bound provided by the nuisance classifier and convergence of the MLE term. Thus, it is important to analyze the success of the objective after training. We do this by applying our metameric sampling attack, but there are also other ways like evaluating a more powerful nuisance classifier after training.
|
| 150 |
+
|
| 151 |
+
# 4 APPLYING INDEPENDENCE CROSS-ENTROPY
|
| 152 |
+
|
| 153 |
+
In this section, we show that our proposed independence cross-entropy loss is effective in reducing invariance-based vulnerability in practice by comparing it to vanilla cross-entropy training in four aspects: (1) error on train and test set, (2) effect under distribution shift, perturbing nuisances via metameric sampling, (3) evaluate accuracy of a classifier on the nuisance variables to quantify the class-specific information in them and (4) on our newly introduced shiftMNIST, an augmented version of MNIST to benchmark adversarial distribution shifts according to Theorem 6.
|
| 154 |
+
|
| 155 |
+
For all experiments we use the same network architecture and settings, the only difference being the two additional loss terms as explained in Definition 5 and equation 6. In terms of test error of the logit classifier, both losses perform approximately on par, whereas the gap between train and test error vanishes for our proposed loss function, indicating less overfitting. For classification errors see Table 2 in appendix D.
|
| 156 |
+
|
| 157 |
+
Robustness under metameric sampling attack. To analyze if our proposed loss indeed leads to independence between $z _ { n }$ and labels $y$ , we attack it with our metameric sampling procedure. As we are only looking on data samples and not on samples from the model (factorized gaussian on nuisances), this attack should reveal if the network learned to trick the objective. In Figure 7 we show interpolations between original images and logit metamers in CE- and iCE-trained fully invertible RevNets. In particular, we are holding the activations $z _ { s }$ constant, while linearly interpolating nuisances $z _ { n }$ down the column. The CE-trained network allows us to transform any image into any class without changing the logits. However, when training with our proposed iCE, the picture changes fundamentally and interpolations in the pre-image only change the style of a digit, but not its semantic content. This shows our loss has the ability to overcome excessive task-related invariance and encourages the model to explain and separate all task-related variability of the input from the nuisances of the task.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 7: Samples $\tilde { x } = F ^ { - 1 } ( z _ { s } , \tilde { z } _ { n } )$ with logit activations $z _ { s }$ taken from original image and $\tilde { z } _ { n }$ obtained by linearly interpolating from the original nuisance $z _ { n }$ (first row) to the nuisance of a target example $z _ { n } ^ { * }$ (last row upper block). The used target example is shown at the bottom. When training with cross-entropy, virtually any image can be turned into any class without changing the logits $z _ { s }$ , illustrating strong vulnerability to invariance-based adversaries. Yet, training with independence cross-entropy solves the problem and interpolations between nuisances $z _ { n }$ and $z _ { n } ^ { * }$ preserve the semantic content of the image.
|
| 161 |
+
|
| 162 |
+
A classifier trained on the nuisance variables of the cross-entropy trained model performs even better than the logit classifier. Yet, a classifier on the nuisances of the independence cross-entropy trained model is performing poorly (Table 2 in appendix D). This indicates little class-specific information in the nuisances $z _ { n }$ , as intended by our objective function. Note also that this inability of the nuisance classifier to decode class-specific information is not due to it being hard to read out from $z _ { n }$ , as this would be revealed by the metameric sampling attack (see Figure 7).
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 8: shiftMNIST experiments. (a): Binary shiftMNIST, where the class is additionally encoded with a location-based binary code on the left border of the image (highlighted with red circles). The shifted adversarial test distribution does not have the binary class encoding. (b): Texture shiftMNIST, where the class is additionally encoded in background texture type. The texture-class coupling is randomized in the shifted adversarial test distribution. Right: Results of CE-trained ResNet, fully invertible RevNet and iCE-trained fully invertible RevNet. The CE-based models build excessive invariance with respect to the digit identity on $\mathcal { D } _ { t r a i n }$ and fail on $\mathcal { D } _ { A d v }$ . Difference denotes the largest improvement between CE-trained and iCE-trained model. The iCE model is more resilient to removing informative features, and reduces the error on $\mathcal { D } _ { A d v }$ up to $38 \%$ .
|
| 166 |
+
|
| 167 |
+
shiftMNIST: Benchmarking adversarial distribution shift. To further test the efficacy of our proposed independence cross-entropy, we introduce a simple, but challenging new dataset termed shiftMNIST to test classifiers under adversarial distribution shifts $\mathcal { D } _ { A d v }$ . The dataset is based on vanilla MNIST, augmented by introducing additional, highly predictive features at train time that are randomized or removed at test time. Randomization or removal ensures that there are no synergy effects between digits and planted features under $\mathcal { D } _ { A d v }$ . This setup allows us to reduce mutual information between category and the newly introduced feature in a targeted manner. (a) Binary shiftMNIST is vanilla MNIST augmented by coding the category for each digit into a single binary pixel scheme. The location of the binary pixel reveals the category of each image unambigiously, while only minimally altering the image’s appearance.
|
| 168 |
+
|
| 169 |
+
At test time, the binary code is not present and the network can not rely on it anymore. (b) Textured shiftMNIST introduces textured backgrounds for each digit category which are patches sampled from the describable texture dataset (Cimpoi et al., 2014).
|
| 170 |
+
|
| 171 |
+
At train time the same type of texture is underlayed each digit of the same category, while texture types across categories differ. At test time, the relationship is broken and texture backgrounds are paired with digits randomly, again minimizing the mutual information between background and label in a targeted manner. See Figure 8 for examples1.
|
| 172 |
+
|
| 173 |
+
It turns out that this task is indeed very hard for standard classifiers and their tendency to become excessively invariant to semantically meaningful features, as predicted by our theoretical analysis. When trained with cross-entropy, ResNets and fi-RevNets make zero errors on the train set, while having error rates of up to $87 \%$ on the shifted test set. This is striking, given that e.g. in binary shiftMNIST, only one single pixel is removed under $\mathcal { D } _ { A d v }$ , leaving the whole image almost unchanged. When applying our independence cross-entropy, the picture changes again. The errors made by the network improve by up to almost $38 \%$ on binary shiftMNIST and around $28 \%$ on textured shiftMNIST. This highlights the effectiveness of our proposed loss function and its ability to minimize catastrophic failure under severe distribution shifts exploiting excessive invariance.
|
| 174 |
+
|
| 175 |
+
# 5 RELATED WORK
|
| 176 |
+
|
| 177 |
+
Adversarial examples. Adversarial examples often include $\epsilon$ -norm restrictions (Szegedy et al., 2013), while (Gilmer et al., 2018a) argue for a broader definition to fully capture the implications for security. The $\epsilon$ -adversarial examples have also been extended to $\epsilon$ -feature adversaries (Sabour et al., 2016), which are equivalent to our approximate metameric sampling attack. Some works (Song et al., 2018; Fawzi et al., 2018) consider unrestricted adversarial examples, which are closely related to invariance-based adversarial vulnerability. The difference to human perception revealed by adversarial examples fundamentally questions which statistics deep networks use to base their decisions (Jo & Bengio, 2017; Tsipras et al., 2019).
|
| 178 |
+
|
| 179 |
+
Relationship between standard and bijective networks. We leverage recent advances in reversible (Gomez et al., 2017) and bijective networks (Jacobsen et al., 2018; Ardizzone et al., 2019; Kingma & Dhariwal, 2018) for our analysis. It has been shown that ResNets and iRevNets behave similarly on various levels of their representation on challenging tasks (Jacobsen et al., 2018) and that iRevNets as well as Glow-type networks are related to ResNets by the choice of dimension splitting applied in their residual blocks (Grathwohl et al., 2019). Perhaps unsurprisingly, given so many similarities, ResNets themselves have been shown to be provably bijective under mild conditions (Behrmann et al., 2018b). Further, excessive invariance of the type we discuss here has been shown to occur in non residual-type architectures as well (Gilmer et al., 2018b; Behrmann et al., 2018a). For instance, it has been observed that up to $60 \%$ of semantically meaningful input dimensions on the adversarial spheres problem are learned to be ignored, while retaining virtually perfect performance (Gilmer et al., 2018b). In summary, there is ample evidence that RevNet-type networks are closely related to ResNets, while providing a principled framework to study widely observed issues related to excessive invariance in deep learning in general and adversarial robustness in particular.
|
| 180 |
+
|
| 181 |
+
Information theory. The information-theoretic view has gained recent interest in machine learning due to the information bottleneck (Tishby & Zaslavsky, 2015; Shwartz-Ziv & Tishby, 2017; Alemi et al., 2017) and usage in generative modelling (Chen et al., 2016; Hjelm et al., 2019). As a consequence, the estimation of mutual information (Barber & Agakov, 2003; Alemi et al., 2018; Achille & Soatto, 2018; Belghazi et al., 2018) has attracted growing attention. The concept of group-wise independence between latent variables goes back to classical independent subspace analysis (Hyvarinen ¨ & Hoyer, 2000) and received attention in learning unbiased representations, e.g. see the Fair Variational Autoencoder (Louizos et al., 2015). Furthermore, extended cross-entropy losses via entropy terms (Pereyra et al., 2017) or minimizing predictability of variables (Schmidhuber, 1991) has been introduced for other applications. Our proposed loss also shows similarity to the GAN loss (Goodfellow et al., 2014). However, in our case there is no notion of real or fake samples, but exploring similarities in the optimization are a promising avenue for future work.
|
| 182 |
+
|
| 183 |
+
# 6 CONCLUSION
|
| 184 |
+
|
| 185 |
+
Failures of deep networks under distribution shift and their difficulty in out-of-distribution generalization are prime examples of the limitations in current machine learning models. The field of adversarial example research aims to close this gap from a robustness point of view. While a lot of work has studied $\epsilon$ -adversarial examples, recent trends extend the efforts towards the unrestricted case. However, adversarial examples with no restriction are hard to formalize beyond testing error. We introduce a reverse view on the problem to: (1) show that a major cause for adversarial vulnerability is excessive invariance to semantically meaningful variations, (2) demonstrate that this issue persists across tasks and architectures; and (3) make the control of invariance tractable via fully-invertible networks.
|
| 186 |
+
|
| 187 |
+
In summary, we demonstrated how a bijective network architecture enables us to identify large adversarial subspaces on multiple datasets like the adversarial spheres, MNIST and ImageNet. Afterwards, we formalized the distribution shifts causing such undesirable behavior via information theory. Using this framework, we find one of the major reasons is the insufficiency of the vanilla cross-entropy loss to learn semantic representations that capture all task-dependent variations in the input. We extend the loss function by components that explicitly encourage a split between semantically meaningful and nuisance features. Finally, we empirically show that this split can remove unwanted invariances by performing a set of targeted invariance-based distribution shift experiments.
|
| 188 |
+
|
| 189 |
+
# 7 ACKNOWLEDGEMENTS
|
| 190 |
+
|
| 191 |
+
We thank Ryota Tomioka for spotting a mistake in the proof for Theorem 6. We thank thank the anonymous reviewers, Ricky Chen, Will Grathwohl and Jesse Bettencourt for helpful comments on the manuscript. We gratefully acknowledge the financial support from the German Science Foundation for the CRC 1233 on ”Robust Vision” and RTG $2 2 2 4 \cdots 3$ : Parameter Identification - Analysis, Algorithms, Applications”
|
| 192 |
+
|
| 193 |
+
# REFERENCES
|
| 194 |
+
|
| 195 |
+
Mart´ın Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: a system for largescale machine learning. In OSDI, volume 16, pp. 265–283, 2016.
|
| 196 |
+
|
| 197 |
+
Alessandro Achille and Stefano Soatto. Emergence of invariance and disentanglement in deep representations. Journal of Machine Learning Research, 18, 2018.
|
| 198 |
+
|
| 199 |
+
Alexander A. Alemi, Ian Fischer, Joshua V. Dillon, and Kevin Murphy. Deep variational information bottleneck. International Conference on Lerning Representations, 2017.
|
| 200 |
+
|
| 201 |
+
Alexander A. Alemi, Ben Poole, Ian Fischer, Joshua V. Dillon, Rif A. Saurous, and Kevin Murphy. An information-theoretic analysis of deep latent-variable models. Proceedings of the 35th International Conference on Machine Learning, 2018.
|
| 202 |
+
|
| 203 |
+
Lynton Ardizzone, Jakob Kruse, Carsten Rother, and Ullrich Kthe. Analyzing inverse problems with invertible neural networks. In International Conference on Learning Representations, 2019.
|
| 204 |
+
|
| 205 |
+
David Barber and Felix Agakov. The im algorithm: A variational approach to information maximization. In Advances in Neural Information Processing Systemss, 2003.
|
| 206 |
+
|
| 207 |
+
Jens Behrmann, Soren Dittmer, Pascal Fernsel, and Peter Maaß. Analysis of invariance and robust- ¨ ness via invertibility of relu-networks. arXiv preprint arXiv:1806.09730, 2018a.
|
| 208 |
+
|
| 209 |
+
Jens Behrmann, David Duvenaud, and Jorn-Henrik Jacobsen. Invertible residual networks. ¨ arXiv preprint arXiv:1811.00995, 2018b.
|
| 210 |
+
|
| 211 |
+
Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeshwar, Sherjil Ozair, Yoshua Bengio, Devon Hjelm, and Aaron Courville. Mutual information neural estimation. In Proceedings of the 35th International Conference on Machine Learning, 2018.
|
| 212 |
+
|
| 213 |
+
Wieland Brendel, Jonas Rauber, Alexey Kurakin, Nicolas Papernot, Behar Veliqi, Marcel Salathe,´ Sharada $\mathrm { \bf P }$ Mohanty, and Matthias Bethge. Adversarial vision challenge. arXiv preprint arXiv:1808.01976, 2018.
|
| 214 |
+
|
| 215 |
+
Tom B. Brown, Nicholas Carlini, Chiyuan Zhang, Catherine Olsson, Paul Christiano, and Ian Goodfellow. Unrestricted adversarial examples. arXiv preprint arXiv:1809.08352, 2018.
|
| 216 |
+
|
| 217 |
+
Sebastien Bubeck, Eric Price, and Ilya Razenshteyn. Adversarial examples from computational ´ constraints. arXiv preprint arXiv:1805.10204, 2018.
|
| 218 |
+
|
| 219 |
+
Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in Neural Information Processing Systems. 2016.
|
| 220 |
+
|
| 221 |
+
M. Cimpoi, S. Maji, I. Kokkinos, S. Mohamed, , and A. Vedaldi. Describing textures in the wild. In Proceedings of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2014.
|
| 222 |
+
|
| 223 |
+
Thomas M. Cover and Joy A. Thomas. Elements of Information Theory (Wiley Series in Telecommunications and Signal Processing). Wiley-Interscience, New York, NY, USA, 2006. ISBN 0471241954.
|
| 224 |
+
|
| 225 |
+
Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real nvp. International Conference on Learning Representations, 2017.
|
| 226 |
+
|
| 227 |
+
Alhussein Fawzi, Hamza Fawzi, and Omar Fawzi. Adversarial vulnerability for any classifier. In Advances in Neural Information Processing Systems 31. 2018.
|
| 228 |
+
|
| 229 |
+
Leon A Gatys, Alexander S Ecker, and Matthias Bethge. Texture and art with deep neural networks. Current opinion in neurobiology, 46:178–186, 2017.
|
| 230 |
+
|
| 231 |
+
AmirEmad Ghassami and Negar Kiyavash. Interaction information for causal inference: The case of directed triangle. arXiv preprint arXiv:abs/1701.08868, 2017.
|
| 232 |
+
|
| 233 |
+
Justin Gilmer, Ryan P. Adams, Ian Goodfellow, David Andersen, and George E. Dahl. Motivating the rules of the game for adversarial example research. arXiv preprint arXiv:1807.06732, 2018a.
|
| 234 |
+
|
| 235 |
+
Justin Gilmer, Luke Metz, Fartash Faghri, Samuel S Schoenholz, Maithra Raghu, Martin Wattenberg, and Ian Goodfellow. Adversarial spheres. arXiv preprint arXiv:1801.02774, 2018b.
|
| 236 |
+
|
| 237 |
+
Aidan N Gomez, Mengye Ren, Raquel Urtasun, and Roger B Grosse. The reversible residual network: Backpropagation without storing activations. Advances in Neural Information Processing Systems, 2017.
|
| 238 |
+
|
| 239 |
+
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.
|
| 240 |
+
|
| 241 |
+
Ian Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. International Conference on Learning Representations, 2015.
|
| 242 |
+
|
| 243 |
+
Will Grathwohl, Ricky T. Q. Chen, Jesse Bettencourt, and David Duvenaud. Scalable reversible generative models with free-form continuous dynamics. In International Conference on Learning Representations, 2019.
|
| 244 |
+
|
| 245 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 246 |
+
|
| 247 |
+
Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Phil Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. In International Conference on Learning Representations, 2019.
|
| 248 |
+
|
| 249 |
+
Aapo Hyvarinen and Patrik Hoyer. Emergence of phase-and shift-invariant features by decomposi- ¨ tion of natural images into independent feature subspaces. Neural computation, 12(7):1705–1720, 2000.
|
| 250 |
+
|
| 251 |
+
Jorn-Henrik Jacobsen, Arnold W.M. Smeulders, and Edouard Oyallon. i-revnet: Deep invertible ¨ networks. In International Conference on Learning Representations, 2018.
|
| 252 |
+
|
| 253 |
+
Jason Jo and Yoshua Bengio. Measuring the tendency of cnns to learn surface statistical regularities. arXiv preprint arXiv:1711.11561, 2017.
|
| 254 |
+
|
| 255 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 256 |
+
|
| 257 |
+
Durk P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems 31. 2018.
|
| 258 |
+
|
| 259 |
+
Alexander Kraskov, Harald Stogbauer, and Peter Grassberger. Estimating mutual information. ¨ Physical Review E, 69, 2004.
|
| 260 |
+
|
| 261 |
+
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015.
|
| 262 |
+
|
| 263 |
+
Christos Louizos, Kevin Swersky, Yujia Li, Max Welling, and Richard S. Zemel. The variational fair autoencoder. arXiv preprint arXiv:abs/1511.00830, 2015.
|
| 264 |
+
|
| 265 |
+
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. International Conference on Learning Representations, 2017.
|
| 266 |
+
|
| 267 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
|
| 268 |
+
|
| 269 |
+
Gabriel Pereyra, George Tucker, Jan Chorowski, Lukasz Kaiser, and Geoffrey E. Hinton. Regularizing neural networks by penalizing confident output distributions. International Conference on Lerning Representations (workshop), 2017.
|
| 270 |
+
|
| 271 |
+
Aditi Raghunathan, Jacob Steinhardt, and Percy Liang. Certified defenses against adversarial examples. International Conference on Learning Representations, 2018.
|
| 272 |
+
|
| 273 |
+
Sara Sabour, Yanshuai Cao, Fartash Faghri, and David J Fleet. Adversarial manipulation of deep representations. International Conference on Learning Representations, 2016.
|
| 274 |
+
|
| 275 |
+
Jurgen Schmidhuber. Learning factorial codes by predictability minimization. Technical report, ¨ Dept. of Comp. Sci., University of Colorado at Boulder, 1991.
|
| 276 |
+
|
| 277 |
+
Ludwig Schmidt, Shibani Santurkar, Dimitris Tsipras, Kunal Talwar, and Aleksander Madry. Adversarially robust generalization requires more data. In Advances in Neural Information Processing Systems 31. 2018.
|
| 278 |
+
|
| 279 |
+
Ravid Shwartz-Ziv and Naftali Tishby. Opening the black box of deep neural networks via information. arXiv preprint arXiv:1703.00810, 2017.
|
| 280 |
+
|
| 281 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 282 |
+
|
| 283 |
+
Yang Song, Rui Shu, Nate Kushman, and Stefano Ermon. Constructing unrestricted adversarial examples with generative models. In Advances in Neural Information Processing Systems 31. 2018.
|
| 284 |
+
|
| 285 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
|
| 286 |
+
|
| 287 |
+
Naftali Tishby and Noga Zaslavsky. Deep learning and the information bottleneck principle. In Information Theory Workshop (ITW), 2015 IEEE, pp. 1–5. IEEE, 2015.
|
| 288 |
+
|
| 289 |
+
Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. In International Conference on Learning Representations, 2019.
|
| 290 |
+
|
| 291 |
+
# A SEMANTIC AND NUISANCE VARIATION ON ADVERSARIAL SPHERES
|
| 292 |
+
|
| 293 |
+
Example 7 (Semantic and nuisance on Adversarial Spheres (Gilmer et al., 2018b)). Consider classifying inputs $x$ from two classes given by radii $R _ { 1 }$ or $R _ { 2 }$ . Further, let $( r , \phi )$ denote the spherical coordinates of $x$ . Then, any perturbation $\Delta x _ { \mathrm { { \ell } } }$ , $x ^ { * } = x + \Delta x$ with $r ^ { * } \neq r$ is semantic. On the other hand, $i f r ^ { * } = r$ the perturbation is a nuisance with respect to the task of discriminating two spheres.
|
| 294 |
+
|
| 295 |
+
In this example, the max-margin classifier $\begin{array} { r } { D ( x ) = s i g n \left( \| x \| - \frac { R _ { 1 } + R _ { 2 } } { 2 } \right) } \end{array}$ is invariant to any nuisance perturbation, while being only sensitive to semantic perturbations. In summary, the transform to spherical coordinates allows to linearize semantic and nuisance perturbations. Using this notion, invariance-based adversarial examples can be attributed to perturbations of $x ^ { * } = x + \Delta x$ with following two properties
|
| 296 |
+
|
| 297 |
+
1. Perturbed sample $x ^ { * }$ stays in the pre-image $\{ x ^ { * } \in \mathbb { R } ^ { d } \mid D ( x ^ { * } ) = D ( x ) \}$ of the classifier
|
| 298 |
+
|
| 299 |
+
2. Perturbation $\Delta x$ is semantic, as $o ( x ) \neq o ( x + \Delta x )$ .
|
| 300 |
+
|
| 301 |
+
Thus, the failure of the classifier $D$ can be thought of a mis-alignment between its invariance (expressed through the pre-image) and the semantics of the data and task (expressed by the oracle).
|
| 302 |
+
|
| 303 |
+
Example 8 (Mis-aligned classifier on Adversarial Spheres). Consider the classifier
|
| 304 |
+
|
| 305 |
+
$$
|
| 306 |
+
D ( x ) = s i g n \left( \left\| x _ { 1 , \ldots , d - 1 } \right\| - { \frac { R _ { 1 } + R _ { 2 } } { 2 } } \right) ,
|
| 307 |
+
$$
|
| 308 |
+
|
| 309 |
+
which computes the norm of $x$ from its first $d - 1$ cartesian-coordinates. Then, $D$ is invariant to a semantic perturbation with $\Delta r = R _ { 2 } - R _ { 1 }$ if only changes in the last coordinate $x _ { d }$ are made.
|
| 310 |
+
|
| 311 |
+
We empirically evaluate the classifier in equation 7 on the spheres problem (10M/2M samples setting (Gilmer et al., 2018b)) and validate that it can reach perfect classification accuracy. However, by construction, perturbing the invariant dimension $x _ { d } ^ { * } = x _ { d } + \Delta x _ { d }$ allows us to move all samples from the inner sphere to the outer sphere. Thus, the accuracy of the classifier drops to chance level when evaluating its performance under such a distributional shift.
|
| 312 |
+
|
| 313 |
+
To conclude, this underlines how classifiers with optimal performance on finite samples can exhibit non-intuitive failure modes due to excessive invariance with respect to semantic variations.
|
| 314 |
+
|
| 315 |
+
# B APPROXIMATE GRADIENT-BASED METAMERIC SAMPLES
|
| 316 |
+
|
| 317 |
+
We use a standard Imagenet pre-trained Resnet-154 as provided by the torchvision package (Paszke et al., 2017) and choose a logit percept $\mathbf { y } = G ( \mathbf { x } )$ that can be based on any seed image. Then we optimize various images $\tilde { x }$ to be metameric to $\mathbf { x }$ by simply minimizing a mean squared error loss of the form:
|
| 318 |
+
|
| 319 |
+
$$
|
| 320 |
+
\mathcal { L } _ { \mathrm { M S E } } ( G ( x ) , G ( \tilde { x } ) ) = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } ( G ( x ) _ { k } - G ( \tilde { x } ) _ { k } ) ^ { 2 }
|
| 321 |
+
$$
|
| 322 |
+
|
| 323 |
+
in the 1000-dimensional semantic logit space via stochastic gradient descent. We optimize with Adam in Pytorch default settings and a learning rate of 0.01 for 3000 iterations. The optimization thus takes the form of an adversarial attack targeting all logit entries and with no norm restriction on the input distance. Note that our metameric sampling attack in bijective networks is the analytic reverse equivalent of this attack. It leads to the exact solution at the cost of one inverse pass instead of an approximate solution here at the cost of thousands of gradient steps.
|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
Figure 9: Here we show a batch of randomly sampled metamers from our ImageNet-trained fully invertible RevNet-48. The quality is generally similar, sometimes colored artifacts appear.
|
| 327 |
+
|
| 328 |
+
# C INFORMATION THEORY
|
| 329 |
+
|
| 330 |
+
Computing mutual information is often intractable as it requires the joint probability $p ( x , y )$ , see (Cover & Thomas, 2006) for an extensive treatment of information theory. However, following variational lower bound can be used for approximation, see (Barber & Agakov, 2003).
|
| 331 |
+
|
| 332 |
+
Lemma 9 (Variational lower bound on mutual information). Let $X , Y$ be random variables with conditional density $p ( y | x )$ . Further, let $q _ { \theta } ( y | x )$ be a variational density depending on parameter $\theta$ . Then, the lower bound
|
| 333 |
+
|
| 334 |
+
$$
|
| 335 |
+
\begin{array} { r l } & { I ( Y ; X ) = h ( Y ) - h ( Y \vert X ) = h ( Y ) + \mathbb { E } _ { X } \mathbb { E } _ { Y \vert X } \log q _ { \theta } ( y \vert x ) + \mathbb { E } _ { X } ( p ( y \vert x ) \parallel q _ { \theta } ( y \vert x ) ) } \\ & { \qquad \ge h ( Y ) + \mathbb { E } _ { X } \mathbb { E } _ { Y \vert X } \log q _ { \theta } ( y \vert x ) } \end{array}
|
| 336 |
+
$$
|
| 337 |
+
|
| 338 |
+
holds with equality if $p ( y | x ) = q _ { \theta } ( y | x )$ .
|
| 339 |
+
|
| 340 |
+
While above lower bound removes the need for the computation of $p ( y | x )$ , estimating the expectation $\mathbb { E } _ { Y \mid X }$ still requires sampling from it. Using this bound, we can now state the effect of the nuisance classifiation loss.
|
| 341 |
+
|
| 342 |
+
Lemma 10 (Effect of nuisance classifier). Define semantics as $z _ { s } = F _ { \theta } ( x ) _ { 1 , . . . , C }$ and nuisances as $z _ { n } = F _ { \theta } ( x ) _ { C + 1 , \dots , d } ,$ , where $( x , y ) \sim \mathcal { D }$ . Then, the nuisance classification loss yields
|
| 343 |
+
|
| 344 |
+
(i) Minimization of lower bound on $I _ { \mathcal { D } } ( y ; z _ { n } )$ : $\theta ^ { * } ~ = ~ \arg \operatorname* { m i n } _ { \theta } \mathcal { L } _ { n C E } ( \theta , \theta _ { n c } ^ { * } )$ minimizes $I _ { \theta _ { n c } ^ { * } } ( y ; z _ { n } )$ , where $I _ { \theta _ { n c } ^ { * } } ( y ; z _ { n } ) \le I _ { \mathcal { D } } ( y ; z _ { n } )$ and $\begin{array} { r } { \theta _ { n c } ^ { * } = \arg \operatorname* { m a x } _ { \theta _ { 2 } } \mathcal { L } _ { n C E } ( \theta , \theta _ { n c } ) } \end{array}$ .
|
| 345 |
+
|
| 346 |
+
(ii) Maximization to tighten bound on $I _ { \mathcal { D } } ( y ; z _ { n } )$ : Under a perfect model of the conditional density, $D _ { \theta _ { n c } ^ { * } } ( z _ { n } ) \stackrel { } { = } p ( y | z _ { n } ) .$ , it holds $I _ { \theta _ { n c } ^ { * } } ( y ; z _ { n } ) = I _ { \mathcal { D } } ( y ; z _ { n } )$ .
|
| 347 |
+
|
| 348 |
+
Proof. To proof above result, we need to draw the connection to the variational lower bound on mutual information from Lemma 9. Let the nuisance classifier $D _ { \theta _ { n c } } ( z _ { n } )$ model the variational posterior $q _ { \theta _ { n c } } ( y | z _ { n } )$ . Then we have the lower bound
|
| 349 |
+
|
| 350 |
+
$$
|
| 351 |
+
I ( y ; z _ { n } ) \geq h ( y ) + \mathbb { E } _ { z _ { n } } \mathbb { E } _ { y | z _ { n } } \log D _ { \theta _ { n c } } ( z _ { n } ) = : I _ { \theta _ { n c } } ( y ; z _ { n } ) .
|
| 352 |
+
$$
|
| 353 |
+
|
| 354 |
+
From Lemma 9 follows, that if $D _ { \theta _ { n c } } ( z _ { n } ) = p ( y | z _ { n } )$ , it holds $I ( y ; z _ { n } ) = I _ { \theta _ { n c } } ( y ; z _ { n } )$ . Hence, the nuisance classifier needs to model the conditional density perfectly.
|
| 355 |
+
|
| 356 |
+
Estimating this bound via Monte Carlo simulation requires sampling from the conditional density $p ( y | z _ { n } )$ . Following (Alemi et al., 2017), we have the Markov property $y x z _ { n }$ as labels $y$ interact with inputs $x$ and representation $z _ { n }$ interacts with inputs $x$ . Hence,
|
| 357 |
+
|
| 358 |
+
$$
|
| 359 |
+
\begin{array} { r l } { { p ( y | z _ { n } ) p ( z _ { n } ) = p ( y , z _ { n } ) } } \\ & { = \int _ { \mathcal X } p ( x , y , z _ { n } ) d x } \\ & { = \int _ { \mathcal X } p ( z _ { n } | x , y ) p ( y | x ) p ( x ) d x } \\ & { = \displaystyle \int _ { \mathcal X } p ( z _ { n } | x ) p ( y | x ) p ( x ) d x } \\ & { = \mathbb E _ { \alpha } [ p ( z _ { n } | x ) p ( y | x ) ] . } \end{array}
|
| 360 |
+
$$
|
| 361 |
+
|
| 362 |
+
Including above and assuming $F _ { \theta } ( x ) = z _ { n }$ to be a deterministic function, we have
|
| 363 |
+
|
| 364 |
+
$$
|
| 365 |
+
\begin{array} { r } { \mathbb { E } _ { z _ { n } } \mathbb { E } _ { y | z _ { n } } \log D _ { \theta _ { n c } } ( z _ { n } ) = \mathbb { E } _ { x } \mathbb { E } _ { y | x } \mathbb { E } _ { z _ { n } | x } \log D _ { \theta _ { n c } } ( z _ { n } ) = \mathbb { E } _ { x } \mathbb { E } _ { y | x } \log D _ { \theta _ { n c } } ( z _ { n } ) . } \end{array}
|
| 366 |
+
$$
|
| 367 |
+
|
| 368 |
+
Lemma 11 (Effect of MLE-term). Define semantics as $z _ { s } = F _ { \theta } ( x ) _ { 1 , . . . , C }$ and nuisances as $z _ { n } =$ $F _ { \theta } ( x ) _ { C + 1 , . . . , d }$ , where $( x , y ) \sim \mathcal { D }$ . Then, the MLE-term in equation $6$ together with cross-entropy on the semantics
|
| 369 |
+
|
| 370 |
+
$$
|
| 371 |
+
\theta ^ { * } = \arg \operatorname* { m i n } _ { \theta } \mathcal { L } _ { s C E } ( \theta ) + \mathcal { L } _ { M L E _ { n } } ( \theta )
|
| 372 |
+
$$
|
| 373 |
+
|
| 374 |
+
minimizes the mutual information $I ( z _ { s } ; z _ { n } )$
|
| 375 |
+
|
| 376 |
+
Proof. Let $\tilde { z } _ { s } = s o f t m a x ( z _ { s } )$ . Then minimizing the loss terms $\mathcal { L } _ { s C E }$ and $ { \mathcal { L } } _ { M L E _ { n } }$ is a maximum likelihood estimation under the factorial prior
|
| 377 |
+
|
| 378 |
+
$$
|
| 379 |
+
\begin{array} { c } { { p ( \tilde { z } _ { s } , z _ { n } ) = p ( \tilde { z } _ { s } ) p ( z _ { n } ) } } \\ { { \ } } \\ { { = C a t ( ( \tilde { z } _ { s } ) _ { 1 } , \ldots , ( \tilde { z } _ { s } ) _ { C } ) \displaystyle \prod _ { k = 1 } ^ { d - C } p _ { k } ( z _ { n } ) _ { k } , } } \end{array}
|
| 380 |
+
$$
|
| 381 |
+
|
| 382 |
+
where $C a t$ is a categorical distribution. As sof tmax is shift-invariant, $s o f t m a x ( x + c ) \ =$ $s o f t m a x ( x )$ , above factorial prior for $\tilde { z } _ { s }$ and $z _ { n }$ yields independence between logits $z _ { s }$ and $z _ { n }$ up to a constant $c$ . Finally note, the log term and summation in $\mathcal { L } _ { M L E _ { n } }$ and $\mathcal { L } _ { C E }$ is re-formulation for computational ease but does not change its minimizer as the logarithm is monotone. □
|
| 383 |
+
|
| 384 |
+
# C.1 PROOF OF THEOREM 6
|
| 385 |
+
|
| 386 |
+
From the assumptions follows $I _ { \mathcal { D } _ { A d v } } ( y ; z _ { n } ) = 0$ . Furthermore, we have the assumption
|
| 387 |
+
|
| 388 |
+
$$
|
| 389 |
+
I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } | z _ { n } ) \leq I _ { \mathcal { D } _ { A d v } } ( z _ { s } ; y ) ,
|
| 390 |
+
$$
|
| 391 |
+
|
| 392 |
+
excluding synergetic effects in the interaction information (Ghassami & Kiyavash, 2017). By information preservation under homeomorphisms (Kraskov et al., 2004) and the chain rule of mutual information (Cover & Thomas, 2006), we have
|
| 393 |
+
|
| 394 |
+
$$
|
| 395 |
+
\begin{array} { r l } & { I _ { \mathcal { D } _ { A d v } } ( y ; x ) = I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } , z _ { n } ) } \\ & { \qquad = I _ { \mathcal { D } _ { A d v } } ( y ; z _ { n } ) + I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } | z _ { n } ) } \\ & { \qquad \leq I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } ) . } \end{array}
|
| 396 |
+
$$
|
| 397 |
+
|
| 398 |
+
As $z _ { s } = F ( x ) _ { 1 , . . . , C }$ is obtained by the deterministic transform $F$ , by the data processing inequality (Cover & Thomas, 2006) we have the inequality $I _ { \mathcal { D } _ { A d v } } ( y ; x ) \ge I _ { \mathcal { D } _ { A d v } } ( y ; z _ { s } )$ . Thus, the claimed equality must hold.
|
| 399 |
+
|
| 400 |
+
# C.2 MUTUAL INFORMATION BOUNDED
|
| 401 |
+
|
| 402 |
+
Remark 12. Since our goal is to maximize the mutual information $I ( y ; z _ { s } )$ while minimizing $I ( y ; z _ { n } )$ , we need to ensure that this objective is well defined as mutual information can be unbounded from above for continuous random variables. However, due to the data processing inequality (Cover & Thomas, 2006) we have $I ( y ; z _ { n } ) = I ( y ; F _ { \theta } ( x ) ) \le I ( y ; x )$ . Hence, we have a fixed upper bound given by our data $( x , y )$ . Compared to (Belghazi et al., 2018) there is thus no need for gradient clipping or a switch to the bounded Jensen-Shannon divergence as in (Hjelm et al., 2019) is not necessary.
|
| 403 |
+
|
| 404 |
+
# D TRAINING AND ARCHITECTURAL DETAILS
|
| 405 |
+
|
| 406 |
+
All experiments were based on a fully invertible RevNet model with different hyperparameters for each dataset. For the spheres experiment we used Pytorch (Paszke et al., 2017) and for MNIST, as well as Imagenet Tensorflow (Abadi et al., 2016).
|
| 407 |
+
|
| 408 |
+
# D.1 SPHERES EXPERIMENTS
|
| 409 |
+
|
| 410 |
+
The network is a fully connected fully invertible RevNet. It has 4 RevNet-type ReLU bottleneck blocks with additive couplings and uses no batchnorm. We train it via cross-entropy and use the Adam optimizer (Kingma & Ba, 2014) with a learning rate of 0.0001 and otherwise default Pytorch settings. The nuisance classifier is a 3 layer ReLU network with 1000 hidden units per layer.
|
| 411 |
+
|
| 412 |
+
We choose the spheres to be 100-dimensional, with $R _ { 1 } = 1$ and $R _ { 2 } = 1 0$ , train on $5 0 0 \mathrm { k }$ samples for 10 epochs and then validate on another $1 0 0 \mathrm { k }$ holdout set. We achieve $100 \%$ train and validation accuracy for logit and nuisance classifier.
|
| 413 |
+
|
| 414 |
+
# D.2 MNIST EXPERIMENTS
|
| 415 |
+
|
| 416 |
+
We use a convolutional fully invertible RevNet with additional actnorm and invertible 1x1 convolutions between each layer as introduced in Kingma & Dhariwal (2018). The network has 3 stages, after which half of the variables are factored out and an invertible downsampling, or squeezing (Dinh et al., 2017; Jacobsen et al., 2018) is applied. The network has 16 RevNet blocks with batch norm per stage and 128 filters per layer. We also dequantize the inputs as is typically done in flow-based generative models.
|
| 417 |
+
|
| 418 |
+
The network is trained via Adamax (Kingma & Ba, 2014) with a base learning rate of 0.001 for 100 epochs and we multiply the it with a factor of 0.2 every 30 epochs and use a batch size of 64 and l2 weight decay of 1e-4. For training we compare vanilla cross-entropy training with our proposed independence cross-entropy loss. To have a more balanced loss signal, we normalize $\mathcal { L } _ { n C E }$ by the number of input dimensions it receives for the maximization step. The nuisance classifier is a fullyconnected 3 layer ReLU network with 512 units. As data-augmentation we use random shifts of 3 pixels. For classification errors of the different architectures we compare, see Table 2.
|
| 419 |
+
|
| 420 |
+
# D.3 IMAGENET EXPERIMENTS
|
| 421 |
+
|
| 422 |
+
We use a convolutional fully invertible RevNet with 4 stages, 4 RevNet blocks per stage and invertible downsampling after each stage, as well as two invertible downsamplings on the input of the network. The first three stages consist of additive and the last of affine coupling layers. After the final layer we apply an orthogonal 2D DCT type-II to all feature maps and read out the classes in the low-pass components of the transformation. This effectively gives us an invertible global average pooling and makes our network even more similar to ResNets, that always apply global average pooling on their final feature maps. We train the network with momentum SGD for 128 epochs, a batch size of 480 (distributed to 6 GPUs), a base learning rate of 0.1, which is reduced by a factor of 0.1 every 32 epochs. We apply momentum of 0.9 and l2 weight decay of 1e-4.
|
| 423 |
+
|
| 424 |
+
Table 2: Results comparing cross-entropy training (CE) with independence cross-entropy training (iCE) from Definition 5 and two architectures from the literature. The accuracy of the logit classifiers is on par for the CE and iCE networks, but the train error is higher for CE compared to test error, indicating less overfitting for iCE. Further, a classifier independently trained on the nuisance variables is able to reach even smaller error than on the logits for CE, but just $2 7 . 7 0 \%$ error for iCE, indicating that we have successfully removed most of the information of the label from the nuisance variables and fixed the problem of excessive invariance to semantically meaningful variability with no cost in test error.
|
| 425 |
+
|
| 426 |
+
<table><tr><td>MNIST</td><td>SOTA</td><td>LeNet</td><td>CE</td><td>iCE (ours)</td><td>CE</td><td>iCE (ours)</td></tr><tr><td>Readout</td><td>Logit</td><td>Logit</td><td>Logit</td><td>Logit</td><td>Nuisance</td><td>Nuisance</td></tr><tr><td>% Test Error</td><td>0.21</td><td>1.70</td><td>0.39</td><td>0.38</td><td>0.34</td><td>27.70</td></tr><tr><td>% Train Error</td><td>1</td><td>1</td><td>0.00</td><td>0.37</td><td>0.00</td><td>40.21</td></tr></table>
|
parse/train/BkfbpsAcF7/BkfbpsAcF7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/DAaaaqPv9-q/DAaaaqPv9-q.md
ADDED
|
@@ -0,0 +1,484 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SELF-SUPERVISED GRAPH-LEVEL REPRESENTATION LEARNING WITH LOCAL AND GLOBAL STRUCTURE
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
This paper focuses on unsupervised/self-supervised whole-graph representation learning, which is critical in many tasks including drug and material discovery. Current methods can effectively model the local structure between different graph instances, but they fail to discover the global semantic structure of the entire dataset. In this work, we propose a unified framework called Local-instance and Global-semantic Learning (GraphLoG) for self-supervised whole-graph representation learning. Specifically, besides preserving the local instance-level structure, GraphLoG leverages a nonparametric strategy to learn hierarchical prototypes of the data. These prototypes capture the semantic clusters in the latent space, and the number of prototypes can automatically adapt to different feature distributions. We evaluate GraphLoG by pre-training it on massive unlabeled graphs followed by fine-tuning on downstream tasks. Extensive experiments on both chemical and biological benchmark datasets demonstrate the effectiveness of our approach.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Learning informative representations of whole graphs is a fundamental problem in a variety of domains and tasks, such as molecule properties prediction in drug and material discovery (Gilmer et al., 2017; Wu et al., 2018), protein function forecast in biological networks (Alvarez & Yan, 2012; Jiang et al., 2017), and predicting the properties of circuits in circuit design (Zhang et al., 2019). Recently, Graph Neural Networks (GNNs) have attracted a surge of interest and showed the effectiveness in learning graph representations. These methods are usually trained in a supervised fashion, which requires a large number of labeled data. Nevertheless, in many scientific domains, labeled data are very limited and expensive to obtain. Therefore, it is becoming increasingly important to learn the representations of graphs in an unsupervised or self-supervised fashion.
|
| 12 |
+
|
| 13 |
+
Self-supervised learning has recently achieved profound success for both natural language processing, e.g. GPT (Radford et al., 2018) and BERT (Devlin et al., 2019), and image understanding, e.g. MoCo (He et al., 2019) and SimCLR (Chen et al., 2020). However, how to effectively learn the representations of graphs in a self-supervised way is still an open problem. Intuitively, a desirable graph representation should be able to preserve the local-instance structure, so that similar graphs are embedded close to each other and dissimilar ones stay far apart. In addition, the representations of a set of graphs should also reflect the global-semantic structure of the data, so that the graphs with similar semantic properties are compactly embedded, which benefits various downstream tasks, e.g. graph classification or regression. Such structure can be sufficiently captured by semantic clusters (Caron et al., 2018; Ji et al., 2019), especially in a hierarchical fashion (Li et al., 2020).
|
| 14 |
+
|
| 15 |
+
There are some recent works that learn graph representation in a self-supervised manner, such as local-global mutual information maximization (Velickovic et al., 2019; Sun et al., 2019), structuralsimilarity/context prediction (Navarin et al., 2018; Hu et al., 2019; You et al., 2020) and contrastive multi-view learning (Hassani & Ahmadi, 2020). However, all these methods are capable of modeling only the local structure between different graph instances but fail to discover the global-semantic structure. To address this shortcoming, we are seeking for an approach that is sufficient to model both the local and global structure of a given set of graphs.
|
| 16 |
+
|
| 17 |
+
To attain this goal, we propose a Local-instance and Global-semantic Learning (GraphLoG) framework for self-supervised graph representation learning. In specific, for preserving the local similarity between various graph instances, we first align the embeddings of correlated graphs/subgraphs1 by maximizing their mutual information. In this locally smooth embedding space, we further represent the distribution of different graph embeddings with hierarchical prototypes2 whose number is adaptively determined by the data in a nonparametric fashion. During training, these prototypes guide each graph to map to the semantically-similar feature cluster, and, simultaneously, the prototypes are maintained by online-updated graph embeddings. In this process, the global-semantic structure of the data is gradually discovered and refined. The whole model is pre-trained with a large number of unlabeled graphs, and then fine-tuned and evaluated on some downstream tasks.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Illustration of GraphLoG. (a) Correlated graphs are constrained to be adjacently embedded to pursue the local-instance structure of the data. (b) Hierarchical prototypes are employed to discover and refine the global-semantic structure of the data.
|
| 21 |
+
|
| 22 |
+
We summarize our contributions as follows:
|
| 23 |
+
|
| 24 |
+
• We contribute a unified framework called Local-instance and Global-semantic Learning (GraphLoG) for self-supervised graph representation learning, which is able to model the structure of a set of graphs both locally and globally.
|
| 25 |
+
We novelly propose to infer the global-semantic structure underlying the unlabeled graphs by learning hierarchical prototypes via a nonparametric strategy.
|
| 26 |
+
We empirically verify our framework’s superior performance on different GNN architectures through pre-training on a large-scale unlabeled dataset and fine-tuning on benchmark tasks in both the chemistry and biology domains.
|
| 27 |
+
|
| 28 |
+
# 2 PROBLEM DEFINITION AND PRELIMINARIES
|
| 29 |
+
|
| 30 |
+
# 2.1 PROBLEM DEFINITION
|
| 31 |
+
|
| 32 |
+
An ideal representation should preserve the local structure among the data instances. More specifically, we define it as follows:
|
| 33 |
+
|
| 34 |
+
Definition 1 (Local-instance Structure). The local-instance structure refers to the local pairwise similarity between different instances (Roweis & Saul, 2000; Belkin & Niyogi, 2002). To preserve the local-instance structure of graph-structured data, a pair of similar graphs/subgraphs, $\mathcal { G }$ and $\mathcal { G } ^ { \prime }$ , are expected to be mapped to the nearby positions of embedding space, as illustrated in Fig. 1(a), while the dissimilar pairs should be mapped to far apart.
|
| 35 |
+
|
| 36 |
+
The pursuit of local-instance structure is usually insufficient to capture the semantics underlying the entire dataset. It is therefore important to discover the global-semantic structure of the data, which is concretely defined as follows:
|
| 37 |
+
|
| 38 |
+
Definition 2 (Global-semantic Structure). A real-world dataset is usually distributed as different semantic clusters (Furnas et al., 2017; Ji et al., 2019). Therefore, we define the global-semantic structure of a dataset as the distribution of its semantic clusters, and each cluster is represented by a prototype (i.e. a representative cluster embedding). Since the semantics of a set of graphs can be structured in a hierarchical way (Ashburner et al., 2000; Chen et al., 2012), we represent the whole dataset with hierarchical prototypes. A detailed example can be seen in Fig. 1(b).
|
| 39 |
+
|
| 40 |
+
Problem Definition. For self-supervised graph representation learning, a set of unlabeled graphs $\mathbb { G } = \{ \mathcal { G } _ { 1 } , \mathcal { G } _ { 2 } , \cdot \cdot \cdot , \mathcal { G } _ { M } \}$ are given, and we aim to learn a low-dimensional vector $h _ { \mathcal { G } _ { i } } \ \in \ \bar { \mathbb { R } } ^ { \delta }$ for each graph $\mathcal { G } _ { i } \in \mathbb { G }$ under the guidance of the data itself. In specific, we expect the derived graph embeddings $\dot { \mathbf { H } } \in \mathbb { R } ^ { M \times \delta }$ follow both the local-instance and global-semantic structure.
|
| 41 |
+
|
| 42 |
+
# 2.2 PRELIMINARIES
|
| 43 |
+
|
| 44 |
+
Graph Neural Networks (GNNs). Given a graph $\mathcal { G } = ( \nu , \mathcal { E } )$ with node attributes $X _ { \mathcal { V } } = \{ X _ { v } | v \in$ $\nu \}$ and edge attributes $X _ { \mathcal { E } } = \{ X _ { u v } | ( u , v ) \in \mathcal { E } \}$ , a GNN aims to learn an embedding vector $h _ { v }$ for each node $v \in \nu$ and also a vector $h _ { \mathcal { G } }$ for the entire graph $\mathcal { G }$ . For an $L$ -layer GNN, a neighborhood aggregation scheme is performed to capture the $L$ -hop information surrounding each node. The $l$ -th layer of a GNN can be formalized as follows:
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
h _ { v } ^ { ( l ) } = \mathbf { C O M B I N E } ^ { ( l ) } \Big ( h _ { v } ^ { ( l - 1 ) } , \mathbf { A G G R E G A T E } ^ { ( l ) } \big ( \Big \{ \Big ( h _ { v } ^ { ( l - 1 ) } , h _ { u } ^ { ( l - 1 ) } , X _ { u v } \Big ) : u \in \mathcal { N } ( v ) \Big \} \Big ) \Big ) ,
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $\mathcal { N } ( v )$ is the neighborhood set of $v$ , $h _ { v } ^ { ( l ) }$ denotes the representation of node $v$ at the $l$ -th layer, and h(0)v i s initialized as the node attribute $X _ { v }$ . Since $h _ { v }$ summarizes the information of a patch centered around node $v$ , we will refer to $h _ { v }$ as patch embedding to underscore this point. The entire graph’s embedding can be derived by a permutation-invariant readout function:
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
h _ { \mathcal { G } } = \mathrm { R E A D O U T } \big ( \big \{ h _ { v } | v \in \mathcal { V } \big \} \big ) .
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
Mutual Information Estimation. Mutual information (MI) can measure both the linear and nonlinear dependency between two random variables. Some recent works (Belghazi et al., 2018; Hjelm et al., 2019) employed neural networks to estimate the lower bound of MI. Among which, InfoNCE loss (van den Oord et al., 2018) has been introduced to maximize a lower bound of MI by minimizing itself, and we also adopt it in this work for its simplicity and effectiveness. In practice, given a query $q$ , InfoNCE loss is optimized to score the positive sample $z _ { + }$ higher than a set of distractors $\{ z _ { i } \} _ { i = 1 } ^ { K }$
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\mathcal { L } _ { \mathrm { N C E } } \big ( q , z _ { + } , \{ z _ { i } \} _ { i = 1 } ^ { K } \big ) = - \log \frac { \exp \big ( T ( q , z _ { + } ) \big ) } { \exp \big ( T ( q , z _ { + } ) \big ) + \sum _ { i = 1 } ^ { K } \exp \big ( T ( q , z _ { i } ) \big ) } ,
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
where $T ( \cdot , \cdot )$ is a parameterized discriminator function which maps two representation vectors to a scalar value, whose architecture is detailed in Sec. 6.1.
|
| 63 |
+
|
| 64 |
+
Rival Penalized Competitive Learning (RPCL). The RPCL method (Xu et al., 1993) is a variant of classical competitive learning approaches, e.g. K-means clustering. Concretely, given a sample for update, RPCL-based clustering not only pulls the winning cluster center (i.e. the closest one) towards the sample, but also pushes the rival cluster center (i.e. the second closest one) away from the sample. We adopt this clustering algorithm for its strong capability of discovering feature clusters without specifying the number of clusters beforehand (i.e. in a nonparametric fashion), which is critical in the self-supervised learning scenarios where the number of semantic categories is not given.
|
| 65 |
+
|
| 66 |
+
# 3 LOCAL-INSTANCE AND GLOBAL-SEMANTIC LEARNING
|
| 67 |
+
|
| 68 |
+
# 3.1 LEARNING LOCAL-INSTANCE STRUCTURE OF GRAPH REPRESENTATIONS
|
| 69 |
+
|
| 70 |
+
We first define the correlated graphs that are expected to be embedded close to each other in the embedding space. Since the graphs from a dataset lie in a highly discrete space, it is hard to seek out the correlated counterpart of each graph from the dataset. To tackle this limitation, we propose to construct pairs of correlated graphs via the attribute masking strategy (Hu et al., 2019) which randomly masks a part of node/edge attributes in a graph (theoretical analysis is stated in Sec. A).
|
| 71 |
+
|
| 72 |
+
Through applying this technique to a randomly sampled mini-batch $B _ { \mathcal { G } } = \{ \mathcal { G } _ { j } = ( \nu _ { j } , \mathcal { E } _ { j } ) \} _ { j = 1 } ^ { N }$ with graphs, the correlated counterpart of each graph can be obtained, which forms another minibatch $\bar { B _ { \mathcal { G } } ^ { \prime } } = \{ \mathcal { G } _ { j } ^ { \prime } = ( \mathcal { V } _ { j } ^ { \prime } , \mathcal { E } _ { j } ^ { \prime } ) \} _ { j = 1 } ^ { N }$ $\mathcal { G } _ { j }$ and $\mathcal { G } _ { j } ^ { \prime }$ are deemed as a pair of correlated graphs). Taking both mini-batches as input, the corresponding patch and graph embeddings are derived as follows:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\begin{array} { r l } { h _ { \mathcal { V } _ { j } } = \{ h _ { v } | v \in \mathcal { V } _ { j } \} = \mathbf { G N N } ( X _ { \mathcal { V } _ { j } } , X _ { \mathcal { E } _ { j } } ) , \quad h _ { \mathcal { V } _ { j } ^ { \prime } } = \{ h _ { v } | v \in \mathcal { V } _ { j } ^ { \prime } \} = \mathbf { G N N } ( X _ { \mathcal { V } _ { j } ^ { \prime } } , X _ { \mathcal { E } _ { j } ^ { \prime } } ) , } & { } \\ { h _ { \mathcal { G } _ { j } } = \mathbf { R E A D O U T } ( h _ { \mathcal { V } _ { j } } ) , \quad h _ { \mathcal { G } _ { j } ^ { \prime } } = \mathbf { R E A D O U T } ( h _ { \mathcal { V } _ { j } ^ { \prime } } ) , } & { } \end{array}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
where $h _ { \mathcal { V } _ { j } } \ ( h _ { \mathcal { V } _ { j } ^ { \prime } } )$ is the set of patch embeddings for graph $\mathcal { G } _ { j }$ $( \mathcal { G } _ { j } ^ { \prime } )$ , and $h _ { \mathcal { G } _ { j } } \ ( h _ { \mathcal { G } _ { j } ^ { \prime } } )$ denotes the embedding of entire graph. With these ingredients, we design the learning objective for local-instance structure based on two desiderata: (1) similar subgraphs (i.e. patches) have similar feature representations; (2) graphs with a set of similar patches are embedded close to each other. To attain these goals, we propose to maximize the mutual information (i.e. minimize the InfoNCE loss) between correlated patches/graphs, which derives two constraints for the local-instance structure:
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\mathcal { L } _ { \mathrm { p a t c h } } = \frac { 1 } { \sum _ { j = 1 } ^ { N } | \mathcal { V } _ { j } ^ { \prime } | } \sum _ { j = 1 } ^ { N } \sum _ { v ^ { \prime } \in \mathcal { V } _ { j } ^ { \prime } } \sum _ { v \in \mathcal { V } _ { j } } \mathbb { 1 } _ { v v ^ { \prime } } \cdot \mathcal { L } _ { \mathrm { N C E } } \big ( h _ { v ^ { \prime } } , h _ { v } , \{ h _ { \tilde { v } } | \tilde { v } \in \mathcal { V } _ { j } , \tilde { v } \neq v \} \big ) ,
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\mathcal { L } _ { \mathrm { g r a p h } } = \frac { 1 } { N } \sum _ { j = 1 } ^ { N } \mathcal { L } _ { \mathrm { N C E } } \big ( h _ { \mathcal { G } _ { j } ^ { \prime } } , h _ { \mathcal { G } _ { j } } , \{ h _ { \mathcal { G } _ { k } } | 1 \leqslant k \leqslant N , k \neq j \} \big ) ,
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\mathcal { L } _ { \mathrm { l o c a l } } = \mathcal { L } _ { \mathrm { p a t c h } } + \mathcal { L } _ { \mathrm { g r a p h } } ,
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
where $\mathcal { L } _ { \mathrm { N C E } } ( \cdot , \cdot , \cdot )$ is the InfoNCE loss function defined in Eq. 3, and $\mathbb { 1 } _ { v v ^ { \prime } }$ denotes the indicator function judging whether $v$ and $v ^ { \prime }$ are the corresponding nodes in a pair of correlated graphs. Note that, masking node/edge attributes doesn’t change the topology of a graph, which makes it easy to determine these corresponding nodes in our method.
|
| 93 |
+
|
| 94 |
+
# 3.2 LEARNING GLOBAL-SEMANTIC STRUCTURE OF GRAPH REPRESENTATIONS
|
| 95 |
+
|
| 96 |
+
It is worth noticing that the graphs in a dataset may possess hierarchical semantic information. For example, drugs (i.e. molecular graphs) are represented by a five-level hierarchy in the Anatomical Therapeutic Chemical (ATC) classification system (Chen et al., 2012). Moreover, the biological functions of proteins (i.e. graphs of amino acid residues) can be organized in a hierarchical structure (e.g. Gene Ontology (Ashburner et al., 2000) and FunCat (Ruepp et al., 2004) protein functionaldefinition schemes).
|
| 97 |
+
|
| 98 |
+
Motivated by this fact, we propose the notion of hierarchical prototypes to describe the distributions of graph embeddings. These prototypes are structured as a set of trees (Fig. 1(b)), in which each node denotes a prototype (i.e. a representative embedding of feature cluster) and corresponds to an unique parent node unless it is at the top layer. Formally, the hierarchical prototypes can be represented as $\{ c _ { i } ^ { l } \} _ { i = 1 } ^ { M _ { l } } ~ ( l = 1 , 2 , \cdot \cdot \cdot , L _ { p } )$ , where $L _ { p }$ denotes the depth of hierarchical prototypes, and $M _ { l }$ is the number of prototypes at the -th layer. Except for the leaf nodes, each prototype possesses a set of child nodes, denoted as $\mathbb { C } ( c _ { i } ^ { l } )$ $\ 1 \leqslant i \leqslant M _ { l }$ , $l = 1 , 2 , \cdots , L _ { p } - 1 )$ . During training, the derivation of these variables can be divided into two stages, i.e. initialization and maintenance.
|
| 99 |
+
|
| 100 |
+
Initialization of hierarchical prototypes. In order to establish appropriate priors of graph embeddings, we first pre-train the GNN by minimizing $\mathcal { L } _ { \mathrm { l o c a l } }$ for one epoch and utilize it to extract the embeddings of all graphs in the training set, denoted as $\{ h g _ { i } \} _ { i = 1 } ^ { N _ { D } }$ ( $N _ { D }$ is the size of training i i=1 set). These embeddings are used to initialize the bottom layer prototypes (i.e. $\{ c _ { i } ^ { L _ { p } } \} _ { i = 1 } ^ { M _ { L _ { p } } } )$ via the
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\{ c _ { i } ^ { L _ { p } } \} _ { i = 1 } ^ { M _ { L _ { p } } } = \mathrm { R P C L } \big ( \{ h _ { \mathcal { G } _ { i } } \} _ { i = 1 } ^ { N _ { D } } \big ) ,
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
where $\operatorname { R P C L } ( \cdot )$ outputs the cluster centers that are assigned with at least one sample. After that, the prototypes of upper layers are initialized by iteratively applying RPCL-based clustering to the prototypes of the layer below:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\{ c _ { i } ^ { l } \} _ { i = 1 } ^ { M _ { l } } = \mathrm { R P C L } \big ( \{ c _ { i } ^ { l + 1 } \} _ { i = 1 } ^ { M _ { l + 1 } } \big ) , \quad l = 1 , 2 , \cdots , L _ { p } - 1 .
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
It is noteworthy that, in the initialization scheme, the number of prototypes is automatically adapted to the distribution of graph embeddings. As a result, this scheme is nonparametric and can adapt to different datasets without the prior knowledges about them.
|
| 113 |
+
|
| 114 |
+
Maintenance of hierarchical prototypes. In the training process, since the embedding of each graph is dynamically changing, we propose a strategy to maintain hierarchical prototypes with online updated graph embeddings. Concretely, under the guidance of a similarity measurement (e.g. cosine similarity in our implementation), the graph embeddings extracted from mini-batch $B _ { \mathcal { G } }$ are
|
| 115 |
+
|
| 116 |
+
Algorithm 1 Training procedure of Local-instance and Global-semantic Learning (GraphLoG).
|
| 117 |
+
|
| 118 |
+
Input: Training set $D = \{ \mathcal { G } _ { j } \} _ { j = 1 } ^ { N _ { D } }$ , the number of training iterations $N _ { T }$ , hierarchical prototypes’ depth $L _ { p }$ and exponential decay rate $\beta$ .
|
| 119 |
+
|
| 120 |
+
Output: The pre-trained GNN.
|
| 121 |
+
|
| 122 |
+
Initialize hierarchical prototypes $\{ c _ { i } ^ { l } \} _ { i = 1 } ^ { M _ { l } } ( l = 1 , 2 , \cdot \cdot \cdot , L _ { p } )$
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\begin{array} { r l } & { B _ { \mathcal { G } } ^ { \prime } \gets \mathrm { A t t r M a s k i n g } ( B _ { \mathcal { G } } ) } \\ & { h _ { \mathcal { V } _ { j } } , h _ { \mathcal { V } _ { j } ^ { \prime } } , h _ { \mathcal { G } _ { j } } , h _ { \mathcal { G } _ { j } ^ { \prime } } \gets \mathrm { E q s . } ( 4 , 5 ) ( j = 1 , 2 , \cdots , N ) } \\ & { \mathcal { L } _ { \mathrm { l o c a l } } , \mathcal { L } _ { \mathrm { g l o b a l } } \gets \mathrm { E q s . } ( 8 , 1 3 ) } \\ & { \theta _ { \mathrm { G N N } } \stackrel { } { \ } - \nabla _ { \theta _ { \mathrm { G N N } } } ( \mathcal { L } _ { \mathrm { l o c a l } } + \mathcal { L } _ { \mathrm { g l o b a l } } ) } \\ & { \theta _ { T } \stackrel { } { \cup } - \nabla _ { \theta _ { T } } ( \mathcal { L } _ { \mathrm { l o c a l } } + \mathcal { L } _ { \mathrm { g l o b a l } } ) } \\ & { \{ c _ { i } ^ { l } \} _ { i = 1 } ^ { M } \mathrm { E q s . } ( 1 1 , 1 2 ) ( l = 1 , 2 , \cdots , L _ { p } ) } \end{array}
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
divided into $M _ { L _ { p } }$ groups according to their most similar bottom layer prototype, and the mean graph embeddings are computed within each group, denoted as $\{ \widehat { c } _ { i } ^ { L _ { p } } \} _ { i = 1 } ^ { M _ { L _ { p } } }$ . These mean embeddings are bemployed to update bottom layer prototypes via an exponential moving average scheme:
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
c _ { i } ^ { L _ { p } } \gets \beta c _ { i } ^ { L _ { p } } + ( 1 - \beta ) \widehat { c } _ { i } ^ { L _ { p } } , \quad 1 \leqslant i \leqslant M _ { L _ { p } } ,
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where $\beta$ is the exponential decay rate. For the prototypes of upper layers, they are updated with the mean of their child prototypes in the corresponding tree:
|
| 135 |
+
|
| 136 |
+
$$
|
| 137 |
+
c _ { i } ^ { l } \gets \frac { 1 } { \left| \mathbb { C } ( c _ { i } ^ { l } ) \right| } \sum _ { \substack { c _ { k } ^ { l + 1 } \in \mathbb { C } ( c _ { i } ^ { l } ) } } c _ { k } ^ { l + 1 } , \quad 1 \leqslant i \leqslant M _ { l } , ~ l = 1 , 2 , \cdots , L _ { p } - 1 .
|
| 138 |
+
$$
|
| 139 |
+
|
| 140 |
+
Constraint for global-semantic structure. Now that the latent semantic structure of the data has been represented by hierarchical prototypes, we seek to constrain the distributions of graph embeddings with these prototypes. The major goal here is to map correlated graphs to the same set of feature clusters. In practice, according to cosine similarity, we first search for the prototypes most similar to the embedding of graph $\mathcal { G } _ { j }$ in each layer, denoted as $s ( \mathcal { G } _ { j } ) = \{ s _ { 1 } ( \mathcal { G } _ { j } ) , s _ { 2 } ( \mathcal { G } _ { j } ) , \cdots , s _ { L _ { p } } ( \mathcal { G } _ { j } ) \}$ . Note that, this search process follows the topology of hierarchical prototypes, which means that: $s _ { l + 1 } ( \mathcal { G } _ { j } ) \in \mathbb { C } ( s _ { l } ( \mathcal { G } _ { j } ) )$ (l = 1, 2, · · · , Lp − 1). Correspondingly, when using the embedding of the correlated graph $\mathcal { G } _ { j } ^ { \prime }$ for search, we expect an identical searching path, and such objective is pursued by maximizing the mutual information (i.e. minimizing the InfoNCE loss) between graph embedding $h _ { \mathcal { G } _ { j } ^ { \prime } }$ and the prototypes in $s ( \mathcal { G } _ { j } )$ :
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
\mathcal { L } _ { \mathrm { g l o b a l } } = \frac { 1 } { N \cdot L _ { p } } \sum _ { j = 1 } ^ { N } \sum _ { l = 1 } ^ { L _ { p } } \mathcal { L } _ { \mathrm { N C E } } \big ( h _ { \mathcal { G } _ { j } ^ { \prime } } , s _ { l } ( \mathcal { G } _ { j } ) , \{ c _ { i } ^ { l } | 1 \leqslant i \leqslant M _ { l } , c _ { i } ^ { l } \neq s _ { l } ( \mathcal { G } _ { j } ) \} \big ) .
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
Discussion. A recent work (Li et al., 2020) employed hierarchical prototypes for visual representation learning. The semantic hierarchy established in that work is derived from multiple times of clustering with different numbers of clusters, which relies on heuristically selected cluster numbers and fails to model the relations between the prototypes from different hierarchies. In contrast, our method is free from pre-defined cluster numbers, and a set of relational trees are constructed to embody the hierarchical relations between different prototypes.
|
| 147 |
+
|
| 148 |
+
# 3.3 MODEL OPTIMIZATION
|
| 149 |
+
|
| 150 |
+
The training procedure of Local-instance and Global-semantic Learning (GraphLoG) is summarized in Algorithm 1. Along training, using the online-updated graph embeddings, the constraints for local-instance and global-semantic structure are derived, and the hierarchical prototypes are maintained. In each iteration, the parameters of GNN and discriminator are optimized with gradient descent using the following objective:
|
| 151 |
+
|
| 152 |
+
$$
|
| 153 |
+
\operatorname* { m i n } _ { \mathrm { G N N } , T } \mathcal { L } _ { \mathrm { l o c a l } } + \mathcal { L } _ { \mathrm { g l o b a l } } .
|
| 154 |
+
$$
|
| 155 |
+
|
| 156 |
+
# 4 SUP-GRAPHLOG: A SUPERVISED BASELINE FOR LOCAL-INSTANCE ANDGLOBAL-SEMANTIC LEARNING
|
| 157 |
+
|
| 158 |
+
In order to verify the effectiveness of local-instance and global-semantic learning when it is directly applied to supervised downstream tasks, we propose a baseline model, named as sup-GraphLoG, which combines a plain GNN and the proposed hierarchical prototypes.
|
| 159 |
+
|
| 160 |
+
In the training phase, in order to establish appropriate local-instance structure of graph embeddings, the GNN is first pre-trained along with a linear classifier to perform graph classification on the training set. For the initialization of hierarchical prototypes, the number of bottom layer prototypes is set as the class number of the supervised task (e.g. $2 K _ { T }$ bottom layer prototypes for a task with $K _ { T }$ binary classification problems), and each bottom layer prototype is the mean embedding of all the training graphs belonging to the corresponding class. The upper layer prototypes are initialized as in Eq. 10. For maintenance, given a mini-batch of labeled graphs, each bottom layer prototype is updated by the mean embedding of all the graphs belonging to the corresponding class using an exponential moving average scheme as in Eq. 11, and the prototypes of upper layers are maintained following Eq. 12.
|
| 161 |
+
|
| 162 |
+
For constraining the global-semantic structure, compared with the top-down search in the selfsupervised model (Sec. 3.2), in this supervised setting, we first use the label of graph $\mathcal { G } _ { j }$ to randomly select a matched bottom layer prototype $s _ { L _ { p } } ( \mathcal { G } _ { j } )$ and then obtain the whole searching path $\dot { s } ( \mathcal { G } _ { j } ) = \{ s _ { 1 } ( \mathcal { G } _ { j } ) , s _ { 2 } ( \mathcal { G } _ { j } ) , \cdots , \overline { { s _ { L _ { p } } ( \mathcal { G } _ { j } ) } } \}$ from bottom to up. Based on this positive searching path, we randomly sample a negative path $s ^ { n } ( { \mathcal { G } } _ { j } ) = \{ s _ { 1 } ^ { n } ( { \bar { \mathcal { G } } } _ { j } ) , s _ { 2 } ^ { n } ( { \mathcal { G } } _ { j } ) , \cdot \cdot \cdot , s _ { L _ { p } } ^ { \bar { n } } ( { \mathcal { G } } _ { j } ) \}$ satisfying that graph $\mathcal { G } _ { j }$ does not belong to the corresponding class of $s _ { L _ { p } } ^ { n } ( \mathcal { G } _ { j } )$ , and $s _ { l } ^ { n } ( \mathcal { G } _ { j } ) \neq s _ { l } ( \mathcal { G } _ { j } )$ , $s _ { l + 1 } ^ { n } ( \mathcal { G } _ { j } ) \in \mathbb { C } ( s _ { l } ^ { n } ( \mathcal { G } _ { j } ) ) ( l = 1 , 2 , \cdot \cdot \cdot , L _ { p } - 1 )$ . It is expected that the embedding of graph $\mathcal { G } _ { j }$ is more similar with the prototypes on path $s ( \mathcal { G } _ { j } )$ than the ones on path $s ^ { n } ( { \mathcal { G } } _ { j } )$ , which defines the loss constraint on a mini-batch as follows:
|
| 163 |
+
|
| 164 |
+
$$
|
| 165 |
+
\mathcal { L } _ { \mathrm { g l o b a l } } ^ { \mathrm { s u p } } = \frac { 1 } { N \cdot L _ { p } } \sum _ { j = 1 } ^ { N } \sum _ { l = 1 } ^ { L _ { p } } \mathcal { L } _ { \mathrm { N C E } } \big ( h _ { \mathcal { G } _ { j } } , s _ { l } ( \mathcal { G } _ { j } ) , s _ { l } ^ { n } ( \mathcal { G } _ { j } ) \big ) .
|
| 166 |
+
$$
|
| 167 |
+
|
| 168 |
+
We further optimize the GNN by minimizing this loss, which refines the global-semantic structure in the embedding space.
|
| 169 |
+
|
| 170 |
+
In the inference phase, given an unlabeled graph, we first compute the similarity between its embedding and all the bottom layer prototypes via the cosine similarity function. After that, the taskspecific prediction is derived by comparing the similarity scores of the classes corresponding to these prototypes, in which the classes with larger scores serve as the prediction result.
|
| 171 |
+
|
| 172 |
+
# 5 RELATED WORK
|
| 173 |
+
|
| 174 |
+
Graph Neural Networks (GNNs). Recently, following the efforts of learning graph representations via optimizing random walk (Perozzi et al., 2014; Tang et al., 2015; Grover & Leskovec, 2016; Narayanan et al., 2017) or matrix factorization (Cao et al., 2015; Wang et al., 2016) objectives, GNNs are proposed to explicitly derive proximity-preserved feature vectors in a neighborhood aggregation manner. As suggested in Gilmer et al. (2017), the forward pass of most GNNs can be depicted in two phases, Message Passing and Readout phase, and various works (Kipf & Welling, 2017; Hamilton et al., 2017; Velickovic et al., 2018; Ying et al., 2018; Zhang et al., 2018; Xu et al., 2019) sought to improve the effectiveness of these two phases. Unlike these methods which are mainly trained in a supervised fashion, our approach aims for unsupervised/self-supervised learning for GNNs.
|
| 175 |
+
|
| 176 |
+
Self-supervised Learning for GNNs. There are some recent works that explored self-supervised graph representation learning with GNNs. Garc´ıa-Duran & Niepert ´ (2017) learned graph representations by embedding propagation, and Velickovic et al. (2019), Sun et al. (2019) and Hassani & Ahmadi (2020) achieved this goal through mutual information maximization. Also, some selfsupervised tasks, e.g. edge prediction (Kipf & Welling, 2016), context prediction (Hu et al., 2019; Rong et al., 2020a), graph partitioning (You et al., 2020) and edge/attribute generation (Hu et al., 2020), have been designed to acquire knowledges from unlabeled graphs. Nevertheless, all these methods are only able to model the local relations between different graph instances. The proposed framework seeks to discover both the local-instance and global-semantic structure of a set of graphs.
|
| 177 |
+
|
| 178 |
+
Self-supervised Semantic Learning. Clustering-based methods (Xie et al., 2016; Yang et al., 2016; 2017; Caron et al., 2018; Ji et al., 2019; Li et al., 2020) are commonly used to learn the semantic information of the data in a self-supervised fashion. Among which, DeepCluster (Caron et al., 2018) proved the strong transferability of the visual representations learnt by clustering prediction to various downstream visual tasks. Prototypical Contrastive Learning (Li et al., 2020) set a new stateof-the-art for unsupervised visual representation learning. These methods are mainly developed for images but not for graph-structured data. Furthermore, the hierarchical semantic structure of the data has been less explored in previous works.
|
| 179 |
+
|
| 180 |
+
# 6 EXPERIMENTS
|
| 181 |
+
|
| 182 |
+
# 6.1 EXPERIMENTAL SETUP
|
| 183 |
+
|
| 184 |
+
Pre-training details. Following Hu et al. (2019), we adopt a five-layer Graph Isomorphism Network (GIN) $\mathrm { { X u } }$ et al., 2019) with 300-dimensional hidden units and a mean pooling readout function for performance comparisons (Secs. 6.2 and 6.3). The discriminator for mutual information estimation is formalized as: $T ( x _ { 1 } , x _ { 2 } ) = g ( f ( x _ { 1 } ) , f ( x _ { 2 } ) )$ , where $f ( \cdot )$ is a projection function fitted by two linear layers and a ReLU nonlinearity between them, and $g ( \cdot , \cdot )$ is a similarity function (e.g. cosine similarity in our method). In all experiments, we use an Adam optimizer (Kingma & Ba, 2015) (learning rate: $1 \times 1 0 ^ { - 3 }$ , batch size: 512) to train the model for 20 epochs. Unless otherwise specified, the hierarchical prototypes’ depth $L _ { p }$ is set as 3, and the exponential decay rate $\beta$ is set as 0.95. For attribute masking, $30 \%$ node attributes in molecular graphs are masked, and $30 \%$ edge attributes in Protein-Protein Interaction (PPI) networks are masked. These hyperparameters are selected by the grid search on the validation sets of four downstream molecule datasets (i.e. BBBP, SIDER, ClinTox and BACE), and their sensitivity is analyzed in Secs. 6.4 and F.
|
| 185 |
+
|
| 186 |
+
Fine-tuning details. For fine-tuning on a downstream task, a linear classifier is appended on the top of pre-trained GNN, and an Adam optimizer (classifier’s learning rate: $1 \times 1 0 ^ { - 3 }$ , GNN’s learning rate: $1 \times 1 0 ^ { - 4 }$ , batch size: 32) is employed to train the model for 100 epochs. For sup-GraphLoG, the GNN is first trained along with a linear classifier for 50 epochs using an Adam optimizer (learning rate: $1 \times 1 0 ^ { - 3 }$ , batch size: 32), and it is then fine-tuned under the guidance of hierarchical prototypes by an Adam optimizer (learning rate: $1 \times 1 0 ^ { - 4 }$ , batch size: 32). All reported results are averaged over five independent runs under the same configuration. Our approach is implemented with PyTorch (Paszke et al., 2017), and the source code will be released for reproducibility.
|
| 187 |
+
|
| 188 |
+
Performance comparison. We compare the proposed method with existing self-supervised graph representation learning algorithms (i.e. EdgePred (Kipf & Welling, 2016), InfoGraph (Sun et al., 2019), AttrMasking (Hu et al., 2019), ContextPred (Hu et al., 2019) and GraphPartition (You et al., 2020)) to verify its effectiveness. Following the setting in Hu et al. (2019), after pre-training GNN models with self-supervised methods, a graph-level multi-task supervised pre-training is conducted to achieve more transferable graph representations, and the performance on downstream tasks is respectively evaluated before and after this graph-level supervised pre-training.
|
| 189 |
+
|
| 190 |
+
# 6.2 EXPERIMENTS ON CHEMISTRY DOMAIN
|
| 191 |
+
|
| 192 |
+
Datasets. For fair comparison, we use the same datasets as in Hu et al. (2019). In specific, a subset of ZINC15 database (Sterling & Irwin, 2015) with 2 million unlabeled molecules is employed for self-supervised pre-training, and a preprocessed ChEMBL dataset (Mayr et al., 2018) with 456K labeled molecules is used for graph-level supervised pre-training. Eight binary classification datasets contained in MoleculeNet (Wu et al., 2018) serve as downstream tasks.
|
| 193 |
+
|
| 194 |
+
Results. Tab. 1 reports the performance of proposed GraphLoG method compared with other works. Among all self-supervised learning strategies, our approach achieves the best performance on seven of eight tasks, and a $3 \%$ performance gain is obtained in terms of average ROC-AUC. After applying a subsequent graph-level supervised pre-training, our models’ performance is further promoted. In particular, a $2 . 9 \%$ increase is observed on the SIDER dataset. Also, the comparison between two supervised methods without self-supervised pre-training is presented in the table, the proposed supGraphLoG outperforms the vanilla GIN model with random initialization, which demonstrates the benefit of learning global-semantic structure. The training curves of eight downstream tasks are provided in Sec. G.
|
| 195 |
+
|
| 196 |
+
Table 1: Test ROC-AUC $( \% )$ on molecular property prediction benchmarks.
|
| 197 |
+
|
| 198 |
+
<table><tr><td>Methods</td><td>BBBP</td><td>Tox21</td><td>ToxCast</td><td>SIDER</td><td>ClinTox</td><td>MUV</td><td>HIV</td><td>BACE</td><td>Avg</td></tr><tr><td>Random</td><td>65.8±4.5</td><td>74.0±0.8</td><td></td><td></td><td></td><td>63.4±0.6 57.3±1.6 58.0±4.4 71.8± 2.5</td><td>75.3±1.9</td><td>70.1±5.4</td><td>67.0</td></tr><tr><td>sup-GraphLoG (ours)</td><td>71.1 ± 0.3</td><td>72.9±0.2</td><td>63.8 ± 0.1</td><td>61.4 ± 0.6</td><td>64.0 ±0.6</td><td>72.5± 1.0</td><td>76.7 ± 0.5</td><td>76.5 ± 1.1</td><td>69.9</td></tr><tr><td>EdgePred (2016)</td><td>67.3±2.4</td><td>76.0±0.6</td><td>64.1±0.6</td><td>60.4±0.7</td><td>64.1±3.7</td><td>74.1 ± 2.1</td><td>76.3±1.0</td><td>79.9±0.9</td><td>70.3</td></tr><tr><td>InfoGraph (2019)</td><td>68.2±0.7</td><td>75.5±0.6</td><td>63.1±0.3</td><td>59.4 ±1.0</td><td>70.5±1.8</td><td>75.6±1.2</td><td>77.6± 0.4</td><td>:78.9±1.1</td><td>71.1</td></tr><tr><td>AttrMasking (2019)</td><td>64.3± 2.8</td><td>76.7±0.4</td><td>64.2 ± 0.5</td><td>61.0±0.7</td><td>71.8± 4.1</td><td>74.7± 1.4</td><td>77.2 ± 1.1</td><td>79.3 ± 1.6</td><td>71.1</td></tr><tr><td>ContextPred (2019)</td><td>68.0±2.0</td><td>75.7±0.7</td><td>63.9±0.6</td><td>60.9±0.6</td><td>65.9±3.8</td><td>75.8±1.7</td><td>77.3 3±1.0</td><td>79.6 ± 1.2</td><td>70.9</td></tr><tr><td>GraphPartition (2020)</td><td>70.3±0.7</td><td>75.2±0.4</td><td>63.2±0.3</td><td>61.0±0.8</td><td>64.2±0.5</td><td>75.4±1.7</td><td>77.1±0.7</td><td>79.6 ±1.8</td><td>70.8</td></tr><tr><td>GraphLoG (ours)</td><td>73.9 ± 0.7</td><td>76.2 ± 0.2</td><td>64.2 ± 0.5</td><td>61.7 ± 1.2</td><td>78.6 ± 1.5</td><td>76.4± 1.0</td><td>78.2 ± 0.6</td><td>83.3±1.4</td><td>74.1</td></tr><tr><td>Supervised</td><td>68.3±0.7</td><td>77.0±0.3</td><td>64.4±0.4</td><td>62.1±0.5</td><td>57.2 ± 2.5</td><td>79.4 ± 1.3</td><td>74.4 ±1.2</td><td>76.0±1.0</td><td>70.0</td></tr><tr><td>EdgePred* (2016)</td><td>66.6±2.2</td><td>78.3 ±0.3</td><td>66.5± 0.3</td><td>63.3 ±0.9</td><td>70.9±4.6</td><td>78.5±2.4</td><td>77.5±0.8</td><td>79.1 ± 3.7</td><td>72.6</td></tr><tr><td>InfoGraph*(2019)</td><td>68.4±1.0</td><td>77.6±0.7</td><td>65.3±0.4</td><td>62.5±0.7</td><td>73.8±1.9</td><td>79.3 ±1.6</td><td>78.0±1.1</td><td>82.4 ±1.3</td><td>73.4</td></tr><tr><td>AttrMasking*(2019)</td><td>66.5 ± 2.5</td><td>77.9±0.4</td><td>65.1±0.3</td><td>63.9 ± 0.9</td><td>73.7± 2.8</td><td>81.2 ± 1.9</td><td>77.1 ± 1.2</td><td>80.3±0.9</td><td>73.2</td></tr><tr><td>ContextPred*(2019)</td><td>68.7 ±1.3</td><td>78.1±0.6</td><td>65.7±0.6</td><td>62.7±0.8</td><td>72.6 ±1.5</td><td>81.3 ± 2.1</td><td>79.9±0.7</td><td>84.5±0.7</td><td>74.2</td></tr><tr><td>GraphPartition* (2020)</td><td>71.1±0.5</td><td>77.4±0.4</td><td>64.2±0.1</td><td>63.4±0.2</td><td>72.9±0.4</td><td>78.2±0.7</td><td>78.6±0.4</td><td>80.4±0.2</td><td>73.3</td></tr><tr><td>GraphLoG*(ours)</td><td>74.0 ± 0.8</td><td>78.5±0.2</td><td>66.5± 0.5</td><td>64.6± 0.8</td><td>78.6± 0.7</td><td>79.5 ± 1.3</td><td>80.1± 0.7</td><td>85.1±0.9</td><td>75.9</td></tr></table>
|
| 199 |
+
|
| 200 |
+
“\*” denotes the model composed of a specific self-supervised pre-training and a subsequent graph-level supervised pre-training.
|
| 201 |
+
|
| 202 |
+
Table 2: Performance comparison and ablation study on biological function prediction benchmark.
|
| 203 |
+
(a) Test ROC-AUC $( \% )$ of different methods.
|
| 204 |
+
|
| 205 |
+
<table><tr><td>Methods</td><td>ROC-AUC (%)</td></tr><tr><td>Random sup-GraphLoG (ours)</td><td>64.8±1.0 67.6± 0.8</td></tr><tr><td>EdgePred (Kipf &Welling,2016)</td><td>70.5± 0.7</td></tr><tr><td>InfoGraph (Sun et al.,2019)</td><td>70.7 ± 0.5</td></tr><tr><td>AttrMasking (Hu et al.,2019)</td><td>70.5 ± 0.5</td></tr><tr><td>ContextPred (Hu et al.,2019)</td><td>69.9 ±0.3</td></tr><tr><td>GraphPartition (You et al.,2020)</td><td>71.0±0.2</td></tr><tr><td>GraphLoG (ours)</td><td>72.8 ±0.4</td></tr></table>
|
| 206 |
+
|
| 207 |
+
(b) Ablation study for different loss terms.
|
| 208 |
+
|
| 209 |
+
<table><tr><td>Lpatch</td><td>Lgraph</td><td>Lglobal</td><td>ROC-AUC (%)</td></tr><tr><td>√</td><td></td><td></td><td>70.6 ± 0.5</td></tr><tr><td></td><td>1</td><td>√</td><td>71.1 ± 0.7</td></tr><tr><td></td><td></td><td></td><td>71.4 ± 0.4</td></tr><tr><td>√</td><td>√</td><td></td><td>72.0±0.3</td></tr><tr><td>√</td><td></td><td>√</td><td>72.0±0.6</td></tr><tr><td></td><td>√</td><td>√</td><td>71.8±0.5</td></tr><tr><td>√</td><td>√</td><td>√</td><td>72.8 ±0.4</td></tr></table>
|
| 210 |
+
|
| 211 |
+
# 6.3 EXPERIMENTS ON BIOLOGY DOMAIN
|
| 212 |
+
|
| 213 |
+
Datasets. For biology domain, following the settings in Hu et al. (2019), 395K unlabeled protein ego-networks are utilized for self-supervised pre-training, and the prediction of 5000 coarsegrained biological functions on 88K labeled protein ego-networks serves as graph-level supervised pre-training. The downstream task is to predict 40 fine-grained biological functions of 8 species.
|
| 214 |
+
|
| 215 |
+
Results. In Tab. 2a, we report the test ROC-AUC of various self-supervised learning techniques, and more results on biology domain can be found in Sec. C. It can be observed that the proposed GraphLoG method outperforms existing approaches with a clear margin, i.e. a $1 . 8 \%$ performance gain. This result illustrates that the proposed scheme is beneficial to fine-grained downstream tasks. In addition, sup-GraphLoG is able to promote the performance of a plain GIN model by $2 . 8 \%$ on this biological downstream task.
|
| 216 |
+
|
| 217 |
+
# 6.4 ANALYSIS
|
| 218 |
+
|
| 219 |
+
Effect of different loss terms. In Tab. 2b, we analyze the effect of three loss terms on biological function prediction, and we continue using the GIN depicted in Sec. 6.1 in this experiment. When each loss is independently applied (1st, 2nd and 3rd row), the loss for global-semantic structure performs best, which probably benefits from its exploration of data’s semantic information. Through combining these losses, the full model (last row) achieves the best performance, which illustrates that the learning of local-instance and global-semantic structure are complementary to each other. We provide more ablation studies on different model components in Sec. E.
|
| 220 |
+
|
| 221 |
+
Results on different GNNs. Fig. 2(a) presents the effect of self-supervised pre-training on four kinds of GNNs, GCN (Kipf & Welling, 2017), GraphSAGE (Hamilton et al., 2017), GAT (Velickovic et al., 2018) and GIN (Xu et al., 2019). We can observe that the proposed GraphLoG scheme outperforms two existing methods, AttrMasking and ContextPred, on all configurations, and it avoids the performance decrease relative to random initialization baseline on GAT.
|
| 222 |
+
|
| 223 |
+

|
| 224 |
+
Figure 2: (a) Experimental results on different GNNs. (b)&(c) Sensitivity analysis of hierarchical prototypes’ depth $L _ { p }$ and exponential decay rate $\beta$ . (All results are reported on biology domain.)
|
| 225 |
+
|
| 226 |
+

|
| 227 |
+
Figure 3: The t-SNE (Maaten & Hinton, 2008) visualization of graph embeddings and hierarchical prototypes on ZINC15 database (i.e. the pre-training dataset for chemistry domain).
|
| 228 |
+
|
| 229 |
+
Sensitivity of hierarchical prototypes’ depth $L _ { p }$ . In this part, we discuss the selection of parameter $L _ { p }$ which controls the number of discovered semantic hierarchies. In Fig. 2(b), we plot model’s performance under different $L _ { p }$ values. It can be observed that deeper hierarchical prototypes (i.e. $L _ { p } \geqslant 3 _ { \mathrm { , } }$ ) achieve stable performance gain compared to the shallow ones (i.e. $L _ { p } \leqslant 2$ ).
|
| 230 |
+
|
| 231 |
+
Sensitivity of exponential decay rate $\beta$ . In this experiment, we evaluate our approach’s sensitivity to the parameter $\beta$ . Fig. 2(c) shows the test ROC-AUC on downstream task using different $\beta$ values. From the line chart, we can observe that the proposed model’s performance is not sensitive to $\beta$ , which makes the maintenance scheme of hierarchical prototypes easy to tune.
|
| 232 |
+
|
| 233 |
+
Visualization. In Fig. 3, we utilize t-SNE (Maaten & Hinton, 2008) to visualize the distributions of graph embeddings and hierarchical prototypes on ZINC15 dataset. Compared to the model with only ${ \mathcal { L } } _ { \mathrm { p a t c h } }$ constraint, some feature clusters are formed after constraining the relations between correlated graphs’ embeddings by ${ \mathcal { L } } _ { \mathrm { g r a p h } }$ . More obvious feature separation is achieved after applying $\mathcal { L } _ { \mathrm { g l o b a l } }$ , which illustrates its effectiveness on discovering the global-semantic structure of the data.
|
| 234 |
+
|
| 235 |
+
# 7 CONCLUSIONS AND FUTURE WORK
|
| 236 |
+
|
| 237 |
+
We devise a unified framework called Local-instance and Global-semantic Learning (GraphLoG) for self-supervised graph representation learning, which models the structure of a set of unlabeled graphs both locally and globally. In this framework, we novelly propose to learn hierarchical prototypes upon graph embeddings to infer the global-semantic structure in graphs. Using the benchmark datasets from both chemistry and biology domains, we empirically verify our method’s superior performance over state-of-the-art approaches on different GNN architectures.
|
| 238 |
+
|
| 239 |
+
Our future works will include exploring novel ways to construct correlated graphs, improving selfsupervised learning manners, unifying pre-training and fine-tuning, and extending our framework to other domains such as sociology, physics and material science.
|
| 240 |
+
|
| 241 |
+
# REFERENCES
|
| 242 |
+
|
| 243 |
+
Bijaya Adhikari, Yao Zhang, Naren Ramakrishnan, and B. Aditya Prakash. Sub2vec: Feature learning for subgraphs. In Advances in Knowledge Discovery and Data Mining, 2018.
|
| 244 |
+
|
| 245 |
+
Marco A. Alvarez and Changhui Yan. A new protein graph model for function prediction. Computational Biology and Chemistry, 37:6–10, 2012.
|
| 246 |
+
|
| 247 |
+
Michael Ashburner, Catherine A Ball, Judith A Blake, David Botstein, Heather Butler, J Michael Cherry, Allan P Davis, Kara Dolinski, Selina S Dwight, Janan T Eppig, et al. Gene ontology: tool for the unification of biology. Nature Genetics, 25(1):25–29, 2000.
|
| 248 |
+
|
| 249 |
+
Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeswar, Sherjil Ozair, Yoshua Bengio, R. Devon Hjelm, and Aaron C. Courville. Mutual information neural estimation. In International Conference on Machine Learning, 2018.
|
| 250 |
+
|
| 251 |
+
Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps and spectral techniques for embedding and clustering. In Advances in Neural Information Processing Systems, 2002.
|
| 252 |
+
|
| 253 |
+
Shaosheng Cao, Wei Lu, and Qiongkai Xu. Grarep: Learning graph representations with global structural information. In ACM International Conference on Information and Knowledge Management, 2015.
|
| 254 |
+
|
| 255 |
+
Mathilde Caron, Piotr Bojanowski, Armand Joulin, and Matthijs Douze. Deep clustering for unsupervised learning of visual features. In European Conference on Computer Vision, 2018.
|
| 256 |
+
|
| 257 |
+
Lei Chen, Wei-Ming Zeng, Yu-Dong Cai, Kai-Yan Feng, and Kuo-Chen Chou. Predicting anatomical therapeutic chemical (atc) classification of drugs by integrating chemical-chemical interactions and similarities. PloS one, 7(4):e35254, 2012.
|
| 258 |
+
|
| 259 |
+
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey E. Hinton. A simple framework for contrastive learning of visual representations. CoRR, abs/2002.05709, 2020.
|
| 260 |
+
|
| 261 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, 2019.
|
| 262 |
+
|
| 263 |
+
George W Furnas, Scott Deerwester, Susan T Durnais, Thomas K Landauer, Richard A Harshman, Lynn A Streeter, and Karen E Lochbaum. Information retrieval using a singular value decomposition model of latent semantic structure. In ACM SIGIR Forum, 2017.
|
| 264 |
+
|
| 265 |
+
Alberto Garc´ıa-Duran and Mathias Niepert. Learning graph representations with embedding propa- ´ gation. In Advances in Neural Information Processing Systems, 2017.
|
| 266 |
+
|
| 267 |
+
Thomas Gartner, Peter A. Flach, and Stefan Wrobel. On graph kernels: Hardness results and efficient ¨ alternatives. In Computational Learning Theory and Kernel Machines, 2003.
|
| 268 |
+
|
| 269 |
+
Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In International Conference on Machine Learning, 2017.
|
| 270 |
+
|
| 271 |
+
Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016.
|
| 272 |
+
|
| 273 |
+
Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In IEEE Conference on Computer Vision and Pattern Recognition, 2006.
|
| 274 |
+
|
| 275 |
+
William L. Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, 2017.
|
| 276 |
+
|
| 277 |
+
Kaveh Hassani and Amir Hosein Khas Ahmadi. Contrastive multi-view representation learning on graphs. In International Conference on Machine Learning, 2020.
|
| 278 |
+
|
| 279 |
+
Kaiming He, Haoqi Fan, Yuxin Wu, Saining Xie, and Ross B. Girshick. Momentum contrast for unsupervised visual representation learning. CoRR, abs/1911.05722, 2019.
|
| 280 |
+
|
| 281 |
+
R. Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Philip Bachman, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. In International Conference on Learning Representations, 2019.
|
| 282 |
+
|
| 283 |
+
Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay S. Pande, and Jure Leskovec. Pre-training graph neural networks. CoRR, abs/1905.12265, 2019.
|
| 284 |
+
|
| 285 |
+
Ziniu Hu, Yuxiao Dong, Kuansan Wang, Kai-Wei Chang, and Yizhou Sun. Gpt-gnn: Generative pre-training of graph neural networks. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2020.
|
| 286 |
+
|
| 287 |
+
Xu Ji, Andrea Vedaldi, and Joao F. Henriques. Invariant information clustering for unsupervised ˜ image classification and segmentation. In International Conference on Computer Vision, 2019.
|
| 288 |
+
|
| 289 |
+
Biaobin Jiang, Kyle Kloster, David F. Gleich, and Michael Gribskov. Aptrank: an adaptive pagerank model for protein function prediction on bi-relational graphs. Bioinformatics, 33(12):1829–1836, 2017.
|
| 290 |
+
|
| 291 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
|
| 292 |
+
|
| 293 |
+
Thomas N. Kipf and Max Welling. Variational graph auto-encoders. CoRR, abs/1611.07308, 2016.
|
| 294 |
+
|
| 295 |
+
Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017.
|
| 296 |
+
|
| 297 |
+
Johannes Klicpera, Stefan Weißenberger, and Stephan Gunnemann. Diffusion improves graph learn-¨ ing. In Advances in Neural Information Processing Systems, 2019.
|
| 298 |
+
|
| 299 |
+
Nils M. Kriege, Pierre-Louis Giscard, and Richard C. Wilson. On valid optimal assignment kernels and applications to graph classification. In Advances in Neural Information Processing Systems, 2016.
|
| 300 |
+
|
| 301 |
+
Junnan Li, Pan Zhou, Caiming Xiong, Richard Socher, and Steven C. H. Hoi. Prototypical contrastive learning of unsupervised representations. CoRR, abs/2005.04966, 2020.
|
| 302 |
+
|
| 303 |
+
Laurens Van Der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of Machine Learning Research, 9(2605):2579–2605, 2008.
|
| 304 |
+
|
| 305 |
+
Andreas Mayr, Gunter Klambauer, Thomas Unterthiner, Marvin Steijaert, J ¨ org K Wegner, Hugo ¨ Ceulemans, Djork-Arne Clevert, and Sepp Hochreiter. Large-scale comparison of machine learn- ´ ing methods for drug target prediction on chembl. Chemical science, 9(24):5441–5451, 2018.
|
| 306 |
+
|
| 307 |
+
Annamalai Narayanan, Mahinthan Chandramohan, Rajasekar Venkatesan, Lihui Chen, Yang Liu, and Shantanu Jaiswal. graph2vec: Learning distributed representations of graphs. CoRR, abs/1707.05005, 2017.
|
| 308 |
+
|
| 309 |
+
Nicolo Navarin, Dinh Van Tran, and Alessandro Sperduti. Pre-training graph neural networks with \` kernels. CoRR, abs/1811.06930, 2018.
|
| 310 |
+
|
| 311 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In Advances in Neural Information Processing Systems Workshop, 2017.
|
| 312 |
+
|
| 313 |
+
Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: online learning of social representations. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2014.
|
| 314 |
+
|
| 315 |
+
Jiezhong Qiu, Qibin Chen, Yuxiao Dong, Jing Zhang, Hongxia Yang, Ming Ding, Kuansan Wang, and Jie Tang. GCC: graph contrastive coding for graph neural network pre-training. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2020.
|
| 316 |
+
|
| 317 |
+
Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving language understanding by generative pre-training. 2018. URL https: //s3-us-west-2.amazonaws.com/openai-assets/research-covers/ language-unsupervised/language_understanding_paper.pdf.
|
| 318 |
+
|
| 319 |
+
Yu Rong, Yatao Bian, Tingyang Xu, Weiyang Xie, Ying Wei, Wenbing Huang, and Junzhou Huang. GROVER: self-supervised message passing transformer on large-scale molecular data. CoRR, abs/2007.02835, 2020a.
|
| 320 |
+
|
| 321 |
+
Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In International Conference on Learning Representations, 2020b.
|
| 322 |
+
|
| 323 |
+
Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. Science, 290(5500):2323–2326, 2000.
|
| 324 |
+
|
| 325 |
+
Andreas Ruepp, Alfred Zollner, Dieter Maier, Kaj Albermann, Jean Hani, Martin Mokrejs, Igor Tetko, Ulrich Guldener, Gertrud Mannhaupt, Martin M ¨ unsterk ¨ otter, et al. The funcat, a functional ¨ annotation scheme for systematic classification of proteins from whole genomes. Nucleic Acids Research, 32(18):5539–5545, 2004.
|
| 326 |
+
|
| 327 |
+
Teague Sterling and John J Irwin. Zinc 15–ligand discovery for everyone. Journal of Chemical Information and Modeling, 55(11):2324–2337, 2015.
|
| 328 |
+
|
| 329 |
+
Fan-Yun Sun, Jordan Hoffmann, and Jian Tang. Infograph: Unsupervised and semi-supervised graph-level representation learning via mutual information maximization. CoRR, abs/1908.01000, 2019.
|
| 330 |
+
|
| 331 |
+
Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. LINE: large-scale information network embedding. In International Conference on World Wide Web, 2015.
|
| 332 |
+
|
| 333 |
+
Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predic-¨ tive coding. CoRR, abs/1807.03748, 2018.
|
| 334 |
+
|
| 335 |
+
Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua \` Bengio. Graph attention networks. In International Conference on Learning Representations, 2018.
|
| 336 |
+
|
| 337 |
+
Petar Velickovic, William Fedus, William L. Hamilton, Pietro Lio, Yoshua Bengio, and R. Devon \` Hjelm. Deep graph infomax. In International Conference on Learning Representations, 2019.
|
| 338 |
+
|
| 339 |
+
Daixin Wang, Peng Cui, and Wenwu Zhu. Structural deep network embedding. In ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016.
|
| 340 |
+
|
| 341 |
+
Zhenqin Wu, Bharath Ramsundar, Evan N Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S Pappu, Karl Leswing, and Vijay Pande. Moleculenet: a benchmark for molecular machine learning. Chemical science, 9(2):513–530, 2018.
|
| 342 |
+
|
| 343 |
+
Junyuan Xie, Ross B. Girshick, and Ali Farhadi. Unsupervised deep embedding for clustering analysis. In International Conference on Machine Learning, 2016.
|
| 344 |
+
|
| 345 |
+
Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In International Conference on Learning Representations, 2019.
|
| 346 |
+
|
| 347 |
+
Lei Xu, Adam Krzyzak, and Erkki Oja. Rival penalized competitive learning for clustering analysis, rbf net, and curve detection. IEEE Transactions on Neural Networks, 4(4):636–649, 1993.
|
| 348 |
+
|
| 349 |
+
Pinar Yanardag and S. V. N. Vishwanathan. Deep graph kernels. In International Conference on Knowledge Discovery and Data Mining, 2015.
|
| 350 |
+
|
| 351 |
+
Bo Yang, Xiao Fu, Nicholas D. Sidiropoulos, and Mingyi Hong. Towards k-means-friendly spaces: Simultaneous deep learning and clustering. In International Conference on Machine Learning, 2017.
|
| 352 |
+
|
| 353 |
+
Jianwei Yang, Devi Parikh, and Dhruv Batra. Joint unsupervised learning of deep representations and image clusters. In IEEE Conference on Computer Vision and Pattern Recognition, 2016.
|
| 354 |
+
|
| 355 |
+
Zhitao Ying, Jiaxuan You, Christopher Morris, Xiang Ren, William L. Hamilton, and Jure Leskovec. Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, 2018.
|
| 356 |
+
|
| 357 |
+
Yuning You, Tianlong Chen, Zhangyang Wang, and Yang Shen. When does self-supervision help graph convolutional networks? In International Conference on Machine Learning, 2020.
|
| 358 |
+
|
| 359 |
+
Guo Zhang, Hao He, and Dina Katabi. Circuit-gnn: Graph neural networks for distributed circuit design. In International Conference on Machine Learning, 2019.
|
| 360 |
+
|
| 361 |
+
Muhan Zhang, Zhicheng Cui, Marion Neumann, and Yixin Chen. An end-to-end deep learning architecture for graph classification. In AAAI Conference on Artificial Intelligence, 2018.
|
| 362 |
+
|
| 363 |
+
# A THEORETICAL ANALYSIS OF CORRELATED GRAPH CONSTRUCTION
|
| 364 |
+
|
| 365 |
+
In our method, we choose the attribute masking (Hu et al., 2019) strategy to generate correlated graph pairs, which is widely used in recent self-supervised graph representation learning algorithms (Hu et al., 2019; 2020; Qiu et al., 2020). Since the graph structure has not been changed by the masking operation, the masked node attribute information can be partially recovered by its surrounding neighbors after being fed into a GNN. Therefore, the embeddings of correlated graph pairs can maintain a high degree of consistency in the feature space, which is desirable for the proposed GraphLoG model. We formally elucidate this point as follows.
|
| 366 |
+
|
| 367 |
+
Given an attributed graph $\mathcal { G } = ( \mathcal { V } , \mathcal { E } , X _ { \mathcal { V } } , X _ { \mathcal { E } } )$ $X \nu$ : node attributes, $X _ { \mathcal { E } }$ : edge attributes), we assume that its correlated graph $\mathcal { G } ^ { \prime } = ( \mathcal { V } , \mathcal { E } , X _ { \mathcal { V } } ^ { \prime } , X _ { \mathcal { E } } )$ is obtained by masking the attribute of a node $v$ , i.e. $X _ { \nu } ^ { \prime } \gets X _ { \nu - \{ v \} } \cup \{ X _ { v } ^ { m } \}$ .
|
| 368 |
+
|
| 369 |
+
Proposition 1. The $L$ -layer GNN can repair the lost information induced by attribute masking operation by $\mathcal { T } _ { \mathrm { r e p a i r } } \geqslant \dot { \mathcal { T } } \big ( X _ { v } , \{ X _ { \tilde { v } } | \tilde { v } \in \dot { \mathcal { N } } _ { v } ^ { L } \} \big )$ , where $\mathcal { T } ( \cdot , \cdot )$ denotes the mutual information, and $\mathcal { N } _ { v } ^ { L }$ is the $L$ -hop neighborhood set of $v$ .
|
| 370 |
+
|
| 371 |
+
Proof. Before information propagation by GNN, we define the lost information $\mathcal { T } _ { \mathrm { l o s t } }$ induced by attribute masking as the conditional entropy of graph $\mathcal { G }$ conditioned on its correlated graph $\mathcal { G } ^ { \prime }$ :
|
| 372 |
+
|
| 373 |
+
$$
|
| 374 |
+
\mathcal { T } _ { \mathrm { l o s t } } = \mathcal { H } ( \mathcal { G } | \mathcal { G } ^ { \prime } ) = \mathcal { H } ( X _ { v } ) .
|
| 375 |
+
$$
|
| 376 |
+
|
| 377 |
+
After the information propagation by GNN, we have:
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\tilde { \mathcal { T } } _ { \mathrm { l o s t } } = \mathcal { H } ( h _ { \mathcal { G } } | h _ { \mathcal { G } ^ { \prime } } ) = \mathcal { H } ( h _ { \mathcal { G } } ) - \mathcal { T } ( h _ { \mathcal { G } } , h _ { \mathcal { G } ^ { \prime } } ) ,
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
where $\tilde { \mathcal { T } } _ { \mathrm { l o s t } }$ is the information lost in the embedding of correlated graph $\mathcal { G } ^ { \prime }$ compared with the embedding of origin graph $\mathcal { G }$ .
|
| 384 |
+
|
| 385 |
+
According to the neighborhood aggregation scheme in GNN, we can derive:
|
| 386 |
+
|
| 387 |
+
$$
|
| 388 |
+
\mathcal { T } ( h _ { \mathcal { G } } , h _ { \mathcal { G } ^ { \prime } } ) = \mathcal { H } ( h _ { \mathcal { G } } ) - \mathcal { H } ( h _ { v } ) + \mathcal { T } \big ( X _ { v } , \{ X _ { \widetilde { v } } | \widetilde { v } \in \mathcal { N } _ { v } ^ { L } \} \big ) ,
|
| 389 |
+
$$
|
| 390 |
+
|
| 391 |
+
where $\mathcal { T } \big ( X _ { v } , \{ X _ { \tilde { v } } | \tilde { v } \in \mathcal { N } _ { v } ^ { L } \} \big )$ denotes the recovered information for the masked node $v$ from its $L$ -hop neighbors. Combining Eqs. 17 and 18 leads to:
|
| 392 |
+
|
| 393 |
+
$$
|
| 394 |
+
\tilde { \mathcal { T } } _ { \mathrm { l o s t } } = \mathcal { H } ( h _ { v } ) - \mathcal { T } \big ( \boldsymbol { X } _ { v } , \{ \boldsymbol { X } _ { \tilde { v } } | \tilde { v } \in \mathcal { N } _ { v } ^ { L } \} \big ) .
|
| 395 |
+
$$
|
| 396 |
+
|
| 397 |
+
We can derive the information repaired by GNN, $\mathcal { T } _ { \mathrm { r e p a i r } }$ , as:
|
| 398 |
+
|
| 399 |
+
$$
|
| 400 |
+
\mathcal { T } _ { \mathrm { r e p a i r } } = \mathcal { Z } _ { \mathrm { l o s t } } - \tilde { \mathcal { Z } } _ { \mathrm { l o s t } } = \mathcal { Z } \big ( X _ { v } , \{ X _ { \tilde { v } } | \tilde { v } \in \mathcal { N } _ { v } ^ { L } \} \big ) + \big ( \mathcal { H } ( X _ { v } ) - \mathcal { H } ( h _ { v } ) \big ) .
|
| 401 |
+
$$
|
| 402 |
+
|
| 403 |
+
Since $h _ { v }$ is the low-dimensional embedding of node attribute $X _ { v }$ , we can deduce that:
|
| 404 |
+
|
| 405 |
+
$$
|
| 406 |
+
\mathcal { H } ( X _ { v } ) \geqslant \mathcal { H } ( h _ { v } ) .
|
| 407 |
+
$$
|
| 408 |
+
|
| 409 |
+
Therefore, combining Eqs. 20 and 21, we can conclude:
|
| 410 |
+
|
| 411 |
+
$$
|
| 412 |
+
\mathcal { T } _ { \mathrm { r e p a i r } } \geqslant \mathcal { T } \big ( X _ { v } , \{ X _ { \tilde { v } } | \tilde { v } \in \mathcal { N } _ { v } ^ { L } \} \big ) .
|
| 413 |
+
$$
|
| 414 |
+
|
| 415 |
+
We also evaluate the GraphLoG model with different correlated graph construction strategies, and the experimental results can be found in Sec. E.1. It empirically shows that attribute masking is more reliable to our method.
|
| 416 |
+
|
| 417 |
+
# B MORE IMPLEMENTATION DETAILS
|
| 418 |
+
|
| 419 |
+
Attribute masking strategy. We add an extra dimension in the vector of node/edge attribute and set only that dimension as 1 when the corresponding node/edge is masked. Given a mini-batch of graphs, we mask the same proportion of node/edge attributes in each graph, and, for undirected graphs, the attributes on the both directions of an edge are masked/unmasked.
|
| 420 |
+
|
| 421 |
+
GNN architecture. All the GNNs in our experiments (i.e. GCN (Kipf & Welling, 2017), GraphSAGE (Hamilton et al., 2017), GAT (Velickovic et al., 2018) and GIN (Xu et al., 2019)) are with 5 layers, 300-dimensional hidden units and a mean pooling readout function. In addition, two attention heads are employed in each layer of the GAT model.
|
| 422 |
+
|
| 423 |
+
# C MORE RESULTS ON BIOLOGY DOMAIN
|
| 424 |
+
|
| 425 |
+
Table 3: Test ROC-AUC $( \% )$ on biological function prediction benchmark.
|
| 426 |
+
|
| 427 |
+
<table><tr><td>Methods</td><td>ROC-AUC (%)</td><td>Methods</td><td>ROC-AUC (%)</td></tr><tr><td>Random</td><td>64.8 ±1.0</td><td>Supervised</td><td>72.9 ± 0.5</td></tr><tr><td>EdgePred (Kipf & Welling,2016)</td><td>70.5± 0.7</td><td>EdgePred* (Kipf & Welling,2016)</td><td>73.1 ± 0.5</td></tr><tr><td>InfoGraph (Sun et al., 2019)</td><td>70.7± 0.5</td><td>InfoGraph* (Sun et al.,2019)</td><td>73.7± 0.4</td></tr><tr><td>AttrMasking (Hu et al., 2019)</td><td>70.5± 0.5</td><td>AttrMasking* (Hu et al.,2019)</td><td>74.2 ± 1.5</td></tr><tr><td>ContextPred (Hu et al.,2019)</td><td>69.9 ± 0.3</td><td>ContextPred*(Hu et al.,2019)</td><td>74.3 ± 0.6</td></tr><tr><td>GraphPartition (You et al.,2020)</td><td>71.0 ± 0.2</td><td>GraphPartition*(You et al.,2020)</td><td>73.5 ± 0.1</td></tr><tr><td>GraphLoG (ours)</td><td>72.8 ± 0.4</td><td>GraphLoG* (ours)</td><td>75.7 ± 0.6</td></tr></table>
|
| 428 |
+
|
| 429 |
+
“\*” denotes the model composed of a specific self-supervised pre-training and a subsequent graph-level supervised pre-training.
|
| 430 |
+
|
| 431 |
+
In Tab. 3, we report the performance of different approaches on the downstream task of biology domain, and the results before and after applying a subsequent graph-level supervised pre-training are respectively reported. It can be observed that the proposed GraphLoG method outperforms existing approaches with a clear margin under both settings, which illustrates the effectiveness of proposed learning scheme with and without the guidance of graph-level supervisory signal.
|
| 432 |
+
|
| 433 |
+
# D MORE RESULTS ON GRAPH CLASSIFICATION BENCHMARKS
|
| 434 |
+
|
| 435 |
+
Table 4: The 10-fold cross validation accuracy ( $\mathrm { m e a n } \pm \mathrm { s t d } \%$ ) of self-supervised methods on graph classification benchmarks.
|
| 436 |
+
|
| 437 |
+
<table><tr><td>Methods</td><td>MUTAG</td><td>PTC-MR</td><td>IMDB-Binary</td><td>IMDB-Multi Reddit-Binary</td><td></td></tr><tr><td>random walk (Gärtner et al., 2003)</td><td>83.7± 1.5</td><td>57.9 ± 1.3</td><td>50.7± 0.3</td><td>34.7±0.2</td><td>1</td></tr><tr><td>node2vec (Grover & Leskovec,2016)</td><td>72.6 ± 10.2</td><td>58.6±8.0</td><td></td><td></td><td>1</td></tr><tr><td>graph2vec (Narayanan et al., 2017)</td><td>83.2±9.6</td><td>60.2 ± 6.9</td><td>71.1 ± 0.5</td><td>50.4± 0.9</td><td>75.8± 1.0</td></tr><tr><td>sub2vec (Adhikari et al., 2018)</td><td>61.1 ± 15.8</td><td>60.0±6.4</td><td>55.3 ± 1.5</td><td>36.7±0.8</td><td>71.5 ± 0.4</td></tr><tr><td>InfoGraph (Sun et al.,2019)</td><td>89.0 ± 1.1</td><td>61.7 ± 1.4</td><td>73.0 ± 0.9</td><td>49.7± 0.5</td><td>82.5 ± 1.4</td></tr><tr><td>Contrastive (Hassani & Ahmadi, 2020)</td><td>89.7±1.1</td><td>62.5 ± 1.7</td><td>74.2 ± 0.7</td><td>51.2 ± 0.5</td><td>84.5± 0.6</td></tr><tr><td>GraphLoG (ours)</td><td>89.9 ± 1.5</td><td>63.8 ± 1.6</td><td>76.6 ± 4.2</td><td>53.0 ± 3.5</td><td>85.9 ± 2.9</td></tr></table>
|
| 438 |
+
|
| 439 |
+
Setups. In this experiment, we compare GraphLoG with six self-supervised graph representation learning methods, i.e. random walk (Gartner et al. ¨ , 2003), node2vec (Grover & Leskovec, 2016), graph2vec (Narayanan et al., 2017), sub2vec (Adhikari et al., 2018), InfoGraph (Sun et al., 2019) and Contrastive (Hassani & Ahmadi, 2020). We strictly follow the linear evaluation protocol in Sun et al. (2019) and report the mean accuracy of 10-fold cross validation. Five conventional graph classification benchmark datasets, i.e. MUTAG (Kriege et al., 2016), PTC (Kriege et al., 2016), IMDB-Binary (Yanardag & Vishwanathan, 2015), IMDB-Multi (Yanardag & Vishwanathan, 2015) and Reddit-Binary (Yanardag & Vishwanathan, 2015), are used for evaluation. The settings of network architecture, optimizer and training parameters follow those in Sec. 6.1.
|
| 440 |
+
|
| 441 |
+
Results. Tab. 4 presents the comparisons of self-supervised approaches on five graph classification benchmark datasets. The proposed GraphLoG model ranks the first place in every task, and, especially, it outperforms a recent contrastive-learning-based method (Hassani & Ahmadi, 2020), which demonstrates the effectiveness of learning local-instance and global-semantic structure.
|
| 442 |
+
|
| 443 |
+
# E MORE ABLATION STUDIES
|
| 444 |
+
|
| 445 |
+
# E.1 ABLATION STUDY ON CONSTRUCTING CORRELATED GRAPHS
|
| 446 |
+
|
| 447 |
+
In this part, we analyze three ways of constructing correlated graphs, i.e AttrMasking (Hu et al., 2019) (with $30 \%$ attribute masking rate), DropEdge (Rong et al., 2020b) (with $10 \%$ edges dropped) and GraphDiffusion (Klicpera et al., 2019) (with heat kernel to derive a denser adjacency matrix), and evaluate them under the proposed GraphLoG framework. As shown in the first segment of Tab. 5, the AttrMasking strategy outperforms other two techniques with a clear margin, which is mainly ascribed to the fact that, compared with dropping or adding edges, masking node attributes can preserve the matching degree of correlated graph pairs to a greater extent (referring to the theoretical analysis in Sec. A).
|
| 448 |
+
|
| 449 |
+
Table 5: Ablation study for three model components on biological function prediction benchmark.
|
| 450 |
+
|
| 451 |
+
<table><tr><td rowspan=1 colspan=1>Model Components</td><td rowspan=1 colspan=1>Methods</td><td rowspan=1 colspan=1>ROC-AUC (%)</td></tr><tr><td rowspan=1 colspan=1>Correlated Graph Construction</td><td rowspan=1 colspan=1>AttrMaskingDropEdgeGraphDiffusion</td><td rowspan=1 colspan=1>72.8±0.471.5 ± 0.570.4± 0.7</td></tr><tr><td rowspan=1 colspan=1>Loss Format</td><td rowspan=1 colspan=1>InfoNCEHinge Loss</td><td rowspan=1 colspan=1>72.8 ± 0.472.3± 0.8</td></tr><tr><td rowspan=1 colspan=1>Clustering Algorithm</td><td rowspan=1 colspan=1>K-meansRPCLAdaptive-RPCL</td><td rowspan=1 colspan=1>72.2 ± 0.372.8± 0.472.9 ± 0.3</td></tr></table>
|
| 452 |
+
|
| 453 |
+
# E.2 ABLATION STUDY ON LOSS FORMAT
|
| 454 |
+
|
| 455 |
+
We investigate the effect of two loss formats, InfoNCE loss (van den Oord et al., 2018) and hingeloss-based contrastive loss (Hadsell et al., 2006), on our model. The conventional contrastive loss uses one negative sample for each positive pair and is in a hinge loss form, while the InfoNCE loss employs a large number of negative samples and is in the form of softmax. We modify the loss format in Eqs. 6, 7 and 13 to conduct the comparison. According to the second segment of Tab. 5, the InfoNCE loss marginally improve model’s performance, and both losses can achieve superior performance under the GraphLoG framework.
|
| 456 |
+
|
| 457 |
+
# E.3 ABLATION STUDY ON CLUSTERING ALGORITHM
|
| 458 |
+
|
| 459 |
+
We employ three clustering algorithms to derive hierarchical prototypes in our method and evaluate their corresponding pre-trained models on downstream task. For $\mathbf { K }$ -means, in the prototype initialization stage, we perform clustering hierarchically as in Eqs. 9 and 10 and obtain three hierarchies of prototypes with fixed number $M _ { 1 } = 1 0$ , $M _ { 2 } = 3 0$ and $M _ { 3 } = 1 0 0$ for each hierarchy, respectively. Also, we design an adaptive variant of RPCL (Xu et al., 1993), named as Adaptive-RPCL, which is able to adjust the number of prototypes during training. Specifically, a counter is additionally maintained for each bottom layer prototype to record the number of iterations from the last time that the prototype is updated by graph embeddings. When a counter reaches threshold $\gamma = 1 0 0$ , the corresponding bottom layer prototype is removed, and an upper layer prototype is removed if all the bottom layer prototypes in its corresponding tree are eliminated.
|
| 460 |
+
|
| 461 |
+
In the third segment of Tab. 5, the performance on biological downstream task is reported for the pre-trained models using different clustering algorithms. It can be observed that two RPCL-based clustering methods marginally outperform K-means, and their performance is comparable with each other. These results illustrate that the proposed GraphLoG model is not too sensitive to the selection of clustering algorithm.
|
| 462 |
+
|
| 463 |
+
# E.4 ROBUSTNESS OF CLUSTERING ALGORITHM
|
| 464 |
+
|
| 465 |
+
In this experiment, we examine the robustness of RPCL clustering algorithm in the proposed GraphLoG model. Specifically, we conduct clustering-based hierarchical prototype initialization for six times and obtain six different self-supervised pre-training models based on distinct initialization. Fig. 4 plots the biological downstream task performance of these six models. We can observe that they perform comparably with each other, which demonstrates that the GraphLoG model is fairly robust to different clustering outputs.
|
| 466 |
+
|
| 467 |
+

|
| 468 |
+
Figure 4: Test ROC-AUC $( \% )$ of six models derived by different clustering results on biological downstream task.
|
| 469 |
+
|
| 470 |
+
# F SENSITIVITY ANALYSIS OF ATTRIBUTE MASKING
|
| 471 |
+
|
| 472 |
+

|
| 473 |
+
Figure 5: Sensitivity analysis of attribute masking rate on (a) molecular property prediction benchmarks, where the average test ROC-AUC $( \% )$ on eight downstream tasks is reported, and (b) biological function prediction benchmark.
|
| 474 |
+
|
| 475 |
+
Setups. When varying the attribute masking rate to evaluate its sensitivity, other hyperparameters are fixed as the values depicted in Sec. 6.1. In specific, the hierarchical prototypes’ depth $L _ { p }$ is set as 3, and the exponential decay rate $\beta$ equals to 0.95.
|
| 476 |
+
|
| 477 |
+
Results. In Fig. 5, we plot model’s performance on the downstream tasks of chemistry and biology domains under different masking rates. The highest test ROC-AUC is achieved when attribute masking rate is around $3 0 \%$ , which means that, under such settings, the constructed correlated graphs benefit the proposed learning scheme most.
|
| 478 |
+
|
| 479 |
+
# G TRAINING CURVES
|
| 480 |
+
|
| 481 |
+
In Fig. 6, we plot the training curves of four approaches, i.e. the random initialization baseline, context prediction (Hu et al., 2019), attribute masking (Hu et al., 2019) and the proposed GraphLoG method, on eight molecular property prediction tasks. From these line charts, we can observe that, through pre-training on a large-scale unlabeled dataset by GraphLoG, GNN model is able to converge at a higher ROC-AUC on the training set compared with other three methods.
|
| 482 |
+
|
| 483 |
+

|
| 484 |
+
Figure 6: Training curves of different methods on eight downstream tasks of chemistry domain. The ROC-AUC $( \% )$ on training set is recorded along the training process.
|
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJgExaVtwr/HJgExaVtwr.md
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DIVIDEMIX: LEARNING WITH NOISY LABELS AS SEMI-SUPERVISED LEARNING
|
| 2 |
+
|
| 3 |
+
Junnan Li, Richard Socher, Steven C.H. Hoi Salesforce Research {junnan.li,rsocher,shoi}@salesforce.com
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Deep neural networks are known to be annotation-hungry. Numerous efforts have been devoted to reducing the annotation cost when learning with deep networks. Two prominent directions include learning with noisy labels and semi-supervised learning by exploiting unlabeled data. In this work, we propose DivideMix, a novel framework for learning with noisy labels by leveraging semi-supervised learning techniques. In particular, DivideMix models the per-sample loss distribution with a mixture model to dynamically divide the training data into a labeled set with clean samples and an unlabeled set with noisy samples, and trains the model on both the labeled and unlabeled data in a semi-supervised manner. To avoid confirmation bias, we simultaneously train two diverged networks where each network uses the dataset division from the other network. During the semi-supervised training phase, we improve the MixMatch strategy by performing label co-refinement and label co-guessing on labeled and unlabeled samples, respectively. Experiments on multiple benchmark datasets demonstrate substantial improvements over state-of-the-art methods. Code is available at https://github.com/LiJunnan1992/DivideMix.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The remarkable success in training deep neural networks (DNNs) is largely attributed to the collection of large datasets with human annotated labels. However, it is extremely expensive and time-consuming to label extensive data with high-quality annotations. On the other hand, there exist alternative and inexpensive methods for mining large-scale data with labels, such as querying commercial search engines (Li et al., 2017a), downloading social media images with tags (Mahajan et al., 2018), leveraging machine-generated labels (Kuznetsova et al., 2018), or using a single annotator to label each sample (Tanno et al., 2019). These alternative methods inevitably yield samples with noisy labels. A recent study (Zhang et al., 2017) shows that DNNs can easily overfit to noisy labels and results in poor generalization performance.
|
| 12 |
+
|
| 13 |
+
Existing methods on learning with noisy labels (LNL) primarily take a loss correction approach. Some methods estimate the noise transition matrix and use it to correct the loss function (Patrini et al., 2017; Goldberger & Ben-Reuven, 2017). However, correctly estimating the noise transition matrix is challenging. Some methods leverage the predictions from DNNs to correct labels and modify the loss accordingly (Reed et al., 2015; Tanaka et al., 2018). These methods do not perform well under high noise ratio as the predictions from DNNs would dominate training and cause overfitting. To overcome this, Arazo et al. (2019) adopt MixUp (Zhang et al., 2018) augmentation. Another approach selects or reweights samples so that noisy samples contribute less to the loss (Jiang et al., 2018; Ren et al., 2018). A challenging issue is to design a reliable criteria to select clean samples. It has been shown that DNNs tend to learn simple patterns first before fitting label noise (Arpit et al., 2017). Therefore, many methods treat samples with small loss as clean ones (Jiang et al., 2018; Arazo et al., 2019). Among those methods, Co-teaching (Han et al., 2018) and Co-teaching $^ +$ (Yu et al., 2019) train two networks where each network selects small-loss samples in a mini-batch to train the other.
|
| 14 |
+
|
| 15 |
+
Another active area of research that also aims to reduce annotation cost is semi-supervised learning (SSL). In SSL, the training data consists of unlabeled samples in addition to the labeled samples. Significant progress has been made in leveraging unlabeled samples by enforcing the model to produce low entropy predictions on unlabeled data (Grandvalet & Bengio, 2004) or consistent predictions on perturbed input (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2019). Recently, Berthelot et al. (2019) propose MixMatch, which unifies several dominant SSL approaches in one framework and achieves state-of-the-art performance.
|
| 16 |
+
|
| 17 |
+
Despite the individual advances in LNL and SSL, their connection has been underexplored. In this work, we propose DivideMix, which addresses learning with label noise in a semi-supervised manner. Different from most existing LNL approaches, DivideMix discards the sample labels that are highly likely to be noisy, and leverages the noisy samples as unlabeled data to regularize the model from overfitting and improve generalization performance. The key contributions of this work are:
|
| 18 |
+
|
| 19 |
+
• We propose co-divide, which trains two networks simultaneously. For each network, we dynamically fit a Gaussian Mixture Model (GMM) on its per-sample loss distribution to divide the training samples into a labeled set and an unlabeled set. The divided data is then used to train the other network. Co-divide keeps the two networks diverged, so that they can filter different types of error and avoid confirmation bias in self-training. During SSL phase, we improve MixMatch with label co-refinement and co-guessing to account for label noise. For labeled samples, we refine their ground-truth labels using the network’s predictions guided by the GMM for the other network. For unlabeled samples, we use the ensemble of both networks to make reliable guesses for their labels. We experimentally show that DivideMix significantly advances state-of-the-art results on multiple benchmarks with different types and levels of label noise. We also provide extensive ablation study and qualitative results to examine the effect of different components.
|
| 20 |
+
|
| 21 |
+
# 2 RELATED WORK
|
| 22 |
+
|
| 23 |
+
# 2.1 LEARNING WITH NOISY LABELS
|
| 24 |
+
|
| 25 |
+
Most existing methods for training DNNs with noisy labels seek to correct the loss function. The correction can be categorized in two types. The first type treats all samples equally and correct loss either explicitly or implicitly through relabeling the noisy samples. For relabeling methods, the noisy samples are modeled with directed graphical models (Xiao et al., 2015), Conditional Random Fields (Vahdat, 2017), knowledge graph (Li et al., 2017b), or DNNs (Veit et al., 2017; Lee et al., 2018). However, they require access to a small set of clean samples. Recently, Tanaka et al. (2018) and Yi & Wu (2019) propose iterative methods which relabel samples using network predictions. For explicit loss correction. Reed et al. (2015) propose a bootstrapping method which modifies the loss with model predictions, and Ma et al. (2018) improve the bootstrapping method by exploiting the dimensionality of feature subspaces. Patrini et al. (2017) estimate the label corruption matrix for loss correction, and Hendrycks et al. (2018) improve the corruption matrix by using a clean set of data. The second type of correction focuses on reweighting training samples or separating clean and noisy samples, which results in correcting the loss function (Thulasidasan et al., 2019; Konstantinov & Lampert, 2019). A common method is to consider samples with smaller loss as clean ones (Shen & Sanghavi, 2019). Jiang et al. (2018) train a mentor network to guide a student network by assigning weights to samples. Ren et al. (2018) reweight samples based on their gradient directions. Chen et al. (2019) apply cross validation to identify clean samples. Arazo et al. (2019) calculate sample weights by modeling per-sample loss with a mixture model. Han et al. (2018) train two networks which select small-loss samples within each mini-batch to train each other, and Yu et al. (2019) improve it by updating the network on disagreement data to keep the two networks diverged.
|
| 26 |
+
|
| 27 |
+
Contrary to all aforementioned methods, our method discards the labels that are highly likely to be noisy, and utilize the noisy samples as unlabeled data to regularize training in a SSL manner. Ding et al. (2018) and Kong et al. (2019) have shown that SSL method is effective in LNL. However, their methods do not perform well under high levels of noise, whereas our method can better distinguish and utilize noisy samples. Besides leveraging SSL, our method also introduces other advantages. Compared to self-training methods (Jiang et al., 2018; Arazo et al., 2019), our method can avoid the confirmation bias problem (Tarvainen & Valpola, 2017) by training two networks to filter error for each other. Compared to Co-teaching (Han et al., 2018) and Co-teaching $^ +$ (Yu et al., 2019), our method is more robust to noise by enabling the two networks to teach each other implicitly at each epoch (co-divide) and explicitly at each mini-batch (label co-refinement and co-guessing).
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: DivideMix trains two networks (A and B) simultaneously. At each epoch, a network models its per-sample loss distribution with a GMM to divide the dataset into a labeled set (mostly clean) and an unlabeled set (mostly noisy), which is then used as training data for the other network (i.e. co-divide). At each mini-batch, a network performs semi-supervised training using an improved MixMatch method. We perform label co-refinement on the labeled samples and label co-guessing on the unlabeled samples.
|
| 31 |
+
|
| 32 |
+
# 2.2 SEMI-SUPERVISED LEARNING
|
| 33 |
+
|
| 34 |
+
SSL methods aim to improve the model’s performance by leveraging unlabeled data. Current state-of-the-art SSL methods mostly involve adding an additional loss term on unlabeled data to regularize training. The regularization falls into two classes: consistency regularization (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2019) enforces the model to produce consistent predictions on augmented input data; entropy minimization (Grandvalet & Bengio, 2004; Lee, 2013) encourages the model to give high-confidence predictions on unlabeled data. Recently, Berthelot et al. (2019) propose MixMatch, which unifies consistency regularization, entropy minimization, and the MixUp (Zhang et al., 2018) regularization into one framework.
|
| 35 |
+
|
| 36 |
+
# 3 METHOD
|
| 37 |
+
|
| 38 |
+
In this section, we introduce DivideMix, our proposed method for learning with noisy labels. An overview of the method is shown in Figure 1. To avoid confirmation bias of self-training where the model would accumulate its errors, we simultaneously train two networks to filter errors for each other through epoch-level implicit teaching and batch-level explicit teaching. At each epoch, we perform co-divide, where one network divides the noisy training dataset into a clean labeled set $( \mathcal { X } )$ and a noisy unlabeled set $( \mathcal { U } )$ , which are then used by the other network. At each mini-batch, one network utilizes both labeled and unlabeled samples to perform semi-supervised learning guided by the other network. Algorithm 1 delineates the full algorithm.
|
| 39 |
+
|
| 40 |
+
# 3.1 CO-DIVIDE BY LOSS MODELING
|
| 41 |
+
|
| 42 |
+
Deep networks tend to learn clean samples faster than noisy samples (Arpit et al., 2017), leading to lower loss for clean samples (Han et al., 2018; Chen et al., 2019). Following Arazo et al. (2019), we aim to find the probability of a sample being clean by fitting a mixture model to the per-sample loss distribution. Formally, let $\mathcal D = ( \dot { \mathcal X } , \mathcal y ) = \bar { \{ ( x _ { i } , y _ { i } ) \} } _ { i = 1 } ^ { \bar { N } }$ denote the training data, where $x _ { i }$ is an image and $y _ { i } \in \{ 0 , 1 \} ^ { C }$ is the one-hot label over $C$ classes. Given a model with parameters $\theta$ , the cross-entropy loss $\ell ( \theta )$ reflects how well the model fits the training samples:
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
\ell ( \theta ) = \left\{ \ell _ { i } \right\} _ { i = 1 } ^ { N } = \big \{ - \sum _ { c = 1 } ^ { C } y _ { i } ^ { c } \log ( \mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } } ( x _ { i } ; \theta ) ) \big \} _ { i = 1 } ^ { N } ,
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
where $\mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } }$ is the model’s output softmax probability for class $c$ .
|
| 49 |
+
|
| 50 |
+
Arazo et al. (2019) fit a two-component Beta Mixture Model (BMM) to the max-normalized loss $\ell$ to model the distribution of clean and noisy samples. However, we find that BMM tends to produce undesirable flat distributions and fails when the label noise is asymmetric. Instead, Gaussian Mixture Model (GMM) (Permuter et al., 2006) can better distinguish clean and noisy samples due to its flexibility in the sharpness of distribution. Therefore, we fit a two-component GMM to $\ell$ using the Expectation-Maximization algorithm. For each sample, its clean probability $w _ { i }$ is the posterior probability $p ( g | \ell _ { i } )$ , where $g$ is the Gaussian component with smaller mean (smaller loss).
|
| 51 |
+
|
| 52 |
+
We divide the training data into a labeled set and an unlabeled set by setting a threshold $\tau$ on $w _ { i }$ However, training a model using the data divided by itself could lead to confirmation bias (i.e. the model is prone to confirm its mistakes (Tarvainen & Valpola, 2017)), as noisy samples that are wrongly grouped into the labeled set would keep having lower loss due to the model overfitting to their labels. Therefore, we propose co-divide to avoid error accumulation. In co-divide, the GMM for one network is used to divide training data for the other network. The two networks are kept diverged from each other due to different (random) parameter initialization, different training data division, different (random) mini-batch sequence, and different training targets. Being diverged offers the two networks distinct abilities to filter different types of error, making the model more robust to noise.
|
| 53 |
+
|
| 54 |
+
Algorithm 1: DivideMix. Line 4-8: co-divide; Line 17-18: label co-refinement; Line 20: label co-guessing.
|
| 55 |
+
|
| 56 |
+
<table><tr><td rowspan="18">1 Input: 0(1) and θ(2),training dataset (X,V),clean probability threshold T, number of augmentations M, sharpening temperature T,unsupervised loss weight Xu,Beta distribution parameter α for MixMatch. 2 0(1),0(2) =WarmUp(X,V,0(1),0(2)) 3 whilee<MaxEpoch do W(2) = GMM(X,V,0(1)) 4 W(1) = GMM(X,V,0(2)) 5 for k = 1,2 do 6 x(k)={(xi,yi,Wi)|wi ≥ T,∀(xi,yi, Wi)∈(x,V,W(k))} uck)={xilwi<T,(xi,Wi)∈(x,W()} I/ unlabeled training set for 0(k) 8 for iter = 1 to num-iters do 9 From x(k),draw a mini-batch {(xb, yb,wb);b∈ (1,., B)} 10 FromU(k),draw a mini-batch {ub;b ∈(1,.., B)} 11 12 for b=1to B do 13 for m=1to M do xb,m = Augment(xb) I apply mth round of augmentation to xb 14 Ub,m = Augment(ub) Il apply mth round of augmentation to Ub 15 16 end 17 pb = M∑m Pmodel(@b,m;0(k)) ll average the predictions across augmentations of xb 18 yb = Wbyb+(1-Wb)pb / refine ground-truth label guided by the clean probability produced by the other network 19 yb = Sharpen(yb,T) // apply temperature sharpening to the refined label 20 qb = 2M ∑m (Pmodel(ub,m;0(1)) + Pmodel(ub,m;(2)) Il co-guessing: average the predictions from both networks across augmentations of ub 21 qb = Sharpen(qb,T) // apply temperature sharpening to the guessed label 22 end x={(xb,m, yb);b ∈(1,..,B),m ∈ (1,.,M)} 23 /augmentedlabeledmini-batch U={(ub,m,qb);b ∈(1,.,B),m ∈(1,.,M)} 24 I/augmentedunlabeledmini-batch</td></tr><tr><td>I/ standard training (with confidence penalty) I/ model per-sample loss with θ(1) to obtain clean proabability for θ(2) I// model per-sample loss with 0(2) to obtain clean proabability for 0(1) I/ train the two networks one by one I/ labeled training set for 0(k)</td></tr></table>
|
| 57 |
+
|
| 58 |
+
Confidence Penalty for Asymmetric Noise. For initial convergence of the algorithm, we need to “warm up” the model for a few epochs by training on all data using the standard cross-entropy loss. The warm up is effective for symmetric (i.e. uniformly random) label noise. However, for asymmetric (i.e. class-conditional) label noise, the network would quickly overfit to noise during warm up and produce over-confident (low entropy) predictions, which leads to most samples having near-zero normalized loss (see Figure 2a). In such cases, the GMM cannot effectively distinguish clean and noisy samples based on the loss distribution. To address this issue, we penalize confident predictions from the network by adding a negative entropy term, $- \mathcal { H }$ (Pereyra et al., 2017), to the cross-entropy loss during warm up. The entropy of a model’s prediction for an input $x$ is defined as:
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\mathcal { H } = - \sum _ { c } \mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } } ( { \boldsymbol x } ; \theta ) \log ( \mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } } ( { \boldsymbol x } ; \theta ) ) ,
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
By maximizing the entropy, $\ell$ becomes more evenly distributed (see Figure 2b) and easier to be modeled by the GMM. Furthermore, in Figure $2 \mathrm { c }$ we show $\ell$ when the model is trained with
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
Figure 2: Training on CIFAR-10 with $40 \%$ asymmetric noise, warm up for 10 epochs. (a) Standard training with cross-entropy loss causes the model to overfit and produce over-confident predictions, making $\ell$ difficult to be modeled by the GMM. (b) Adding a confidence penalty (negative entropy) during warm up leads to more evenly-distributed $\ell$ . (c) Training with DivideMix can effectively reduce the loss for clean samples while keeping the loss larger for most noisy samples.
|
| 68 |
+
|
| 69 |
+
DivideMix for 10 more epochs after warm up. The proposed method can significantly reduce the loss for clean samples while keeping the loss larger for most noisy samples.
|
| 70 |
+
|
| 71 |
+
# 3.2 MIXMATCH WITH LABEL CO-REFINEMENT AND CO-GUESSING
|
| 72 |
+
|
| 73 |
+
At each epoch, having divided the training data, we train the two networks one at a time while keeping the other one fixed. Given a mini-batch of labeled samples with their corresponding one-hot labels and clean probability, $\{ ( x _ { b } , y _ { b } , w _ { b } ) ; b \in ( 1 , . . . , B ) \}$ , and a mini-batch of unlabeled samples $\{ u _ { b } ; b \in ( 1 , . . . , \bar { B } ) \}$ , we exploit MixMatch (Berthelot et al., 2019) for SSL. MixMatch utilizes unlabeled data by merging consistency regularization (i.e. encourage the model to output same predictions on perturbed unlabeled data) and entropy minimization (i.e. encourage the model to output confident predictions on unlabeled data) with the MixUp (Zhang et al., 2018) augmentation (i.e. encourage the model to have linear behaviour between samples).
|
| 74 |
+
|
| 75 |
+
To account for label noise, we make two improvements to MixMatch which enable the two networks to teach each other. First, we perform label co-refinement for labeled samples by linearly combining the ground-truth label $y _ { b }$ with the network’s prediction $p _ { b }$ (averaged across multiple augmentations of $x _ { b }$ ), guided by the clean probability $w _ { b }$ produced by the other network:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\bar { y } _ { b } = w _ { b } y _ { b } + ( 1 - w _ { b } ) p _ { b } .
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
Then we apply a sharpening function on the refined label to reduce its temperature:
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\hat { y } _ { b } = \mathrm { S h a r p e n } ( \bar { y } _ { b } , T ) = { \bar { y } _ { b } ^ { c } } ^ { \frac { 1 } { T } } \bigg / \sum _ { c = 1 } ^ { C } { \bar { y } _ { b } ^ { c } } ^ { \frac { 1 } { T } } , \mathrm { ~ f o r } c = 1 , 2 , . . . , C .
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
Second, we use the ensemble of predictions from both networks to “co-guess” the labels for unlabeled samples (algorithm 1, line 20), which can produce more reliable guessed labels.
|
| 88 |
+
|
| 89 |
+
Having acquired $\hat { \mathcal X }$ (and $\hat { \mathcal { U } }$ ) which consists of multiple augmentations of labeled (unlabeled) samples and their refined (guessed) labels, we follow MixMatch to “mix” the data, where each sample is interpolated with another sample randomly chosen from the combined mini-batch of $\hat { \mathcal X }$ and $\hat { \mathcal { U } }$ . Specifically, for a pair of samples $( x _ { 1 } , x _ { 2 } )$ and their corresponding labels $( p _ { 1 } , p _ { 2 } )$ , the mixed $( x ^ { \prime } , p ^ { \prime } )$ is computed by:
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\begin{array} { r l } & { \lambda \sim \mathrm { B e t a } ( \alpha , \alpha ) , } \\ & { \lambda ^ { \prime } = \operatorname* { m a x } ( \lambda , 1 - \lambda ) , } \\ & { x ^ { \prime } = \lambda ^ { \prime } x _ { 1 } + ( 1 - \lambda ^ { \prime } ) x _ { 2 } , } \\ & { p ^ { \prime } = \lambda ^ { \prime } p _ { 1 } + ( 1 - \lambda ^ { \prime } ) p _ { 2 } . } \end{array}
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
MixMatch transforms $\hat { \mathcal X }$ and $\hat { \mathcal { U } }$ into $\mathcal { X } ^ { \prime }$ and $\mathcal { U } ^ { \prime }$ . Equation 6 ensures that $\mathcal { X } ^ { \prime }$ are “closer” to $\hat { \mathcal X }$ than $\hat { \mathcal { U } }$ The loss on $\mathcal { X } ^ { \prime }$ is the cross-entropy loss and the loss on $\mathcal { U } ^ { \prime }$ is the mean squared error:
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\begin{array} { l } { \mathcal { L } _ { \mathcal { X } } = - \displaystyle \frac { 1 } { | \mathcal { X } ^ { \prime } | } \sum _ { x , p \in \mathcal { X } ^ { \prime } } \sum _ { c } p _ { c } \log ( \mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } } ( x ; \theta ) ) , } \\ { \mathcal { L } _ { \mathcal { U } } = \displaystyle \frac { 1 } { | \mathcal { U } ^ { \prime } | } \sum _ { x , p \in \mathcal { U } ^ { \prime } } \| p - \mathrm { p } _ { \mathrm { m o d e l } } ( x ; \theta ) \| _ { 2 } ^ { 2 } . } \end{array}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
Under high levels of noise, the network would be encouraged to predict the same class to minimize the loss. To prevent assigning all samples to a single class, we apply the regularization term used by Tanaka et al. (2018) and Arazo et al. (2019), which uses a uniform prior distribution $\pi$ (i.e. $\pi _ { c } = 1 / C )$ ) to regularize the model’s average output across all samples in the mini-batch:
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\mathcal { L } _ { \mathrm { r e g } } = \sum _ { c } \pi _ { c } \log \left( \pi _ { c } \bigg / \frac { 1 } { | \mathcal { X } ^ { \prime } | + | \mathcal { U } ^ { \prime } | } \sum _ { \boldsymbol { x } \in \mathcal { X } ^ { \prime } + \mathcal { U } ^ { \prime } } \mathrm { p } _ { \mathrm { m o d e l } } ^ { \mathrm { c } } ( \boldsymbol { x } ; \boldsymbol { \theta } ) \right) .
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
Finally, the total loss is:
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\mathcal { L } = \mathcal { L } _ { \mathcal { X } } + \lambda _ { u } \mathcal { L } _ { \mathcal { U } } + \lambda _ { r } \mathcal { L } _ { \mathrm { r e g } } .
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
In our experiments, we set $\lambda _ { r }$ as 1 and use $\lambda _ { u }$ to control the strength of the unsupervised loss.
|
| 114 |
+
|
| 115 |
+
# 4 EXPERIMENTS
|
| 116 |
+
|
| 117 |
+
# 4.1 DATASETS AND IMPLEMENTATION DETAILS
|
| 118 |
+
|
| 119 |
+
We extensively validate our method on four benchmark datasets, namely CIFAR-10, CIFAR100 (Krizhevsky & Hinton, 2009), Clothing1M (Xiao et al., 2015), and WebVision (Li et al., 2017a). Both CIFAR-10 and CIFAR-100 contain 50K training images and 10K test images of size $3 2 \times 3 2$ . Following previous works (Tanaka et al., 2018; Li et al., 2019), we experiment with two types of label noise: symmetric and asymmetric. Symmetric noise is generated by randomly replacing the labels for a percentage of the training data with all possible labels. Note that there is another criterion for symmetric label noise injection where the true labels cannot be maintained (Jiang et al., 2018; Wang et al., 2018), for which we also report the results (Table 6 in Appendix). Asymmetric noise is designed to mimic the structure of real-world label noise, where labels are only replaced by similar classes (e.g. deer horse, $\mathrm { 1 o g c a t }$ ).
|
| 120 |
+
|
| 121 |
+
We use an 18-layer PreAct Resnet (He et al., 2016) and train it using SGD with a momentum of 0.9, a weight decay of 0.0005, and a batch size of 128. The network is trained for 300 epochs. We set the initial learning rate as 0.02, and reduce it by a factor of 10 after 150 epochs. The warm up period is 10 epochs for CIFAR-10 and 30 epochs for CIFAR-100. We find that most hyperparameters introduced by DivideMix do not need to be heavily tuned. For all CIFAR experiments, we use the same hyperparameters $M = 2$ , $T = 0 . 5$ , and $\alpha = 4$ . $\tau$ is set as 0.5 except for $5 0 \%$ noise ratio when it is set as 0.6. We choose $\lambda _ { u }$ from $\{ 0 , 2 5 , 5 0 , 1 5 0 \}$ using a small validation set.
|
| 122 |
+
|
| 123 |
+
Clothing1M and WebVision 1.0 are two large-scale datasets with real-world noisy labels. Clothing1M consists of 1 million training images collected from online shopping websites with labels generated from surrounding texts. We follow previous work (Li et al., 2019) and use ResNet-50 with ImageNet pretrained weights. WebVision contains 2.4 million images crawled from the web using the 1,000 concepts in ImageNet ILSVRC12. Following previous work (Chen et al., 2019), we compare baseline methods on the first 50 classes of the Google image subset using the inception-resnet v2 (Szegedy et al., 2017). The training details are delineated in Appendix B.
|
| 124 |
+
|
| 125 |
+
# 4.2 COMPARISON WITH STATE-OF-THE-ART METHODS
|
| 126 |
+
|
| 127 |
+
We compare DivideMix with multiple baselines using the same network architecture. Here we introduce some of the most recent state-of-the-art methods: Meta-Learning (Li et al., 2019) proposes a gradient based method to find model parameters that are more noise-tolerant; Joint-Optim (Tanaka et al., 2018) and P-correction (Yi & Wu, 2019) jointly optimize the sample labels and the network parameters; M-correction (Arazo et al., 2019) models sample loss with BMM and applies MixUp.
|
| 128 |
+
|
| 129 |
+
Table 1: Comparison with state-of-the-art methods in test accuracy $( \% )$ on CIFAR-10 and CIFAR-100 with symmetric noise. Methods marked by \* denote re-implementations based on public code.
|
| 130 |
+
|
| 131 |
+
<table><tr><td colspan="2">Dataset</td><td colspan="4">CIFAR-10 1</td><td colspan="4">CIFAR-100</td></tr><tr><td>Method/Noise ratio</td><td></td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td>Cross-Entropy</td><td>Best Last</td><td>86.8 82.7</td><td>79.4 57.9</td><td>62.9 26.1</td><td>42.7 16.8</td><td>62.0 61.8</td><td>46.7 37.3</td><td>19.9 8.8</td><td>10.1 3.5</td></tr><tr><td>Bootstrap (Reed et al., 2015)</td><td>Best Last</td><td>86.8 82.9</td><td>79.8 58.4</td><td>63.3 26.8</td><td>42.9 17.0</td><td>62.1 62.0</td><td>46.6 37.9</td><td>19.9 8.9</td><td>10.2 3.8</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>Best Last</td><td>86.8 83.1</td><td>79.8 59.4</td><td>63.3 26.2</td><td>42.9 18.8</td><td>61.5 61.4</td><td>46.6 37.3</td><td>19.9 9.0</td><td>10.2 3.4</td></tr><tr><td>Co-teaching+* (Yu et al., 2019)</td><td>Best Last</td><td>89.5 88.2</td><td>85.7 84.1</td><td>67.4 45.5</td><td>47.9 30.1</td><td>65.6 64.1</td><td>51.8 45.3</td><td>27.9 15.5</td><td>13.7 8.8</td></tr><tr><td>Mixup (Zhang et al., 2018)</td><td>Best Last</td><td>95.6 92.3</td><td>87.1 77.6</td><td>71.6 46.7</td><td>52.2 43.9</td><td>67.8 66.0</td><td>57.3 46.6</td><td>30.8 17.6</td><td>14.6 8.1</td></tr><tr><td>P-correction* (Yi & Wu,2019)</td><td>Best Last</td><td>92.4 92.0</td><td>89.1 88.7</td><td>77.5 76.5</td><td>58.9 58.2</td><td>69.4 68.1</td><td>57.5 56.4</td><td>31.1 20.7</td><td>15.3 8.8</td></tr><tr><td>Meta-Learning* (Li et al., 2019)</td><td>Best Last</td><td>92.9 92.0</td><td>89.3 88.8</td><td>77.4 76.1</td><td>58.7 58.3</td><td>68.5 67.7</td><td>59.2 58.0</td><td>42.4 40.1</td><td>19.5 14.3</td></tr><tr><td>M-correction (Arazo et al., 2019)</td><td>Best Last</td><td>94.0 93.8</td><td>92.0 91.9</td><td>86.8 86.6</td><td>69.1 68.7</td><td>73.9 73.4</td><td>66.1 65.4</td><td>48.2 47.6</td><td>24.3 20.5</td></tr><tr><td>DivideMix</td><td>Best Last</td><td>96.1 95.7</td><td>94.6 94.4</td><td>93.2 92.9</td><td>76.0 75.4</td><td>77.3 76.9</td><td>74.6 74.2</td><td>60.2 59.6</td><td>31.5 31.0</td></tr></table>
|
| 132 |
+
|
| 133 |
+
Note that none of these methods can consistently outperform others across different datasets. Mcorrection excels at symmetric noise, whereas Meta-Learning performs better for asymmetric noise.
|
| 134 |
+
|
| 135 |
+
Table 1 shows the results on CIFAR-10 and CIFAR-100 with different levels of symmetric label noise ranging from $2 0 \%$ to $9 0 \%$ . We report both the best test accuracy across all epochs and the averaged test accuracy over the last 10 epochs. DivideMix outperforms state-of-the-art methods by a large margin across all noise ratios. The improvement is substantial $\mathord { \sim } 1 0 \%$ in accuracy) for the more challenging CIFAR-100 with high noise ratios. Appendix A shows comparison with more methods in Table 6. The results on CIFAR-10 with asymmetric noise is shown in Table 2. We use $4 0 \%$ because certain classes become theoretically indistinguishable for asymmetric noise larger than $5 0 \%$ .
|
| 136 |
+
|
| 137 |
+
Table 2: Comparison with state-of-the-art methods in test accuracy $( \% )$ on CIFAR-10 with $40 \%$ asymmetric noise. We re-implement all methods under the same setting.
|
| 138 |
+
|
| 139 |
+
<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Best</td><td rowspan=1 colspan=1>Last</td></tr><tr><td rowspan=5 colspan=1>Cross-EntropyF-correction (Patrini et al.,2017)M-correction (Arazo et al., 2019)Iterative-CV (Chen et al.,2019)P-correction (Yi& Wu,2019)Joint-Optim (Tanaka et al., 2018)Meta-Learning (Li et al., 2019)</td><td rowspan=2 colspan=1>85.087.287.4</td><td rowspan=1 colspan=1>72.3</td></tr><tr><td rowspan=2 colspan=1>83.186.388.088.1</td></tr><tr><td rowspan=1 colspan=1>88.688.5</td></tr><tr><td rowspan=1 colspan=1>88.9</td><td rowspan=1 colspan=1>88.4</td></tr><tr><td rowspan=1 colspan=1>89.2</td><td rowspan=1 colspan=1>88.6</td></tr><tr><td rowspan=1 colspan=1>DivideMix</td><td rowspan=1 colspan=1>93.4</td><td rowspan=1 colspan=1>92.1</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Table 3 and Table 4 show the results on Clothing1M and WebVision, respectively. DivideMix consistently outperforms state-of-the-art methods across all datasets with different types of label noise. For WebVision, we achieve more than $12 \%$ improvement in top-1 accuracy.
|
| 142 |
+
|
| 143 |
+
Table 3: Comparison with state-of-the-art methods in test accuracy $( \% )$ on Clothing1M. Results for baselines are copied from original papers.
|
| 144 |
+
|
| 145 |
+
<table><tr><td>Method</td><td>Test Accuracy</td></tr><tr><td>Cross-Entropy</td><td>69.21</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>69.84</td></tr><tr><td>M-correction (Arazo et al., 2019)</td><td>71.00</td></tr><tr><td>Joint-Optim (Tanaka et al.,2018)</td><td>72.16</td></tr><tr><td>Meta-Cleaner (Zhang et al., 2019)</td><td>72.50</td></tr><tr><td>Meta-Learning (Li et al., 2019)</td><td>73.47</td></tr><tr><td>P-correction (Yi& Wu, 2019)</td><td>73.49</td></tr><tr><td>DivideMix</td><td>74.76</td></tr></table>
|
| 146 |
+
|
| 147 |
+
Table 4: Comparison with state-of-the-art methods trained on (mini) WebVision dataset. Numbers denote top-1 (top-5) accuracy $( \% )$ on the WebVision validation set and the ImageNet ILSVRC12 validation set. Results for baseline methods are copied from Chen et al. (2019).
|
| 148 |
+
|
| 149 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">WebVision</td><td colspan="2">ILSVRC12</td></tr><tr><td>top1</td><td>top5</td><td>top1</td><td>top5</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>61.12</td><td>82.68</td><td>57.36</td><td>82.36</td></tr><tr><td>Decoupling (Malach & Shalev-Shwartz,2017)</td><td>62.54</td><td>84.74</td><td>58.26</td><td>82.26</td></tr><tr><td>D2L (Ma et al., 2018)</td><td>62.68</td><td>84.00</td><td>57.80</td><td>81.36</td></tr><tr><td>MentorNet (Jiang et al., 2018)</td><td>63.00</td><td>81.40</td><td>57.80</td><td>79.92</td></tr><tr><td>Co-teaching (Han et al., 2018)</td><td>63.58</td><td>85.20</td><td>61.48</td><td>84.70</td></tr><tr><td>Iterative-CV (Chen et al.,2019)</td><td>65.24</td><td>85.34</td><td>61.60</td><td>84.98</td></tr><tr><td>DivideMix</td><td>77.32</td><td>91.64</td><td>75.20</td><td>90.84</td></tr></table>
|
| 150 |
+
|
| 151 |
+
# 4.3 ABLATION STUDY
|
| 152 |
+
|
| 153 |
+
We study the effect of removing different components to provide insights into what makes DivideMix successful. We analyze the results in Table 5 as follows. Appendix C contains additional explanations.
|
| 154 |
+
|
| 155 |
+
<table><tr><td colspan="2">Dataset</td><td colspan="5">CIFAR-10</td><td colspan="4">CIFAR-100</td></tr><tr><td colspan="2">Noise type</td><td colspan="4">Sym.</td><td>I Asym.I</td><td colspan="4">Sym.</td></tr><tr><td colspan="2">Methods/Noise ratio</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>40%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td>DivideMix</td><td>Best Last</td><td>96.1 95.7</td><td>94.6 94.4</td><td>93.2 92.9</td><td>76.0 75.4</td><td>93.4 92.1</td><td>77.3 76.9</td><td>74.6 74.2</td><td>60.2 59.6</td><td>31.5 31.0</td></tr><tr><td>DivideMix with 0(1) test</td><td>Best Last</td><td>95.2 95.0</td><td>94.2 93.7</td><td>93.0 92.4</td><td>75.5 74.2</td><td>92.7 91.4</td><td>75.2 74.8</td><td>72.8 72.1</td><td>58.3 57.6</td><td>29.9 29.2</td></tr><tr><td>DivideMix w/o co-training</td><td>Best Last</td><td>95.0 94.8</td><td>94.0 93.3</td><td>92.6 92.2</td><td>74.3 73.2</td><td>91.9 90.6</td><td>74.8 74.1</td><td>72.3 71.7</td><td>56.7 56.3</td><td>27.7 27.2</td></tr><tr><td>DivideMix w/o label refinement</td><td>Best Last</td><td>96.0 95.5</td><td>94.6 94.2</td><td>93.0 92.7</td><td>73.7 73.0</td><td>87.7 86.3</td><td>76.9 76.4</td><td>74.2 73.9</td><td>58.7 58.2</td><td>26.9 26.3</td></tr><tr><td>DivideMix w/o augmentation</td><td>Best Last</td><td>95.3 94.9</td><td>94.1 93.5</td><td>92.2 91.8</td><td>73.9 73.0</td><td>89.5 88.4</td><td>76.5 76.2</td><td>73.1 72.6</td><td>58.2 58.0</td><td>26.9 26.4</td></tr><tr><td>Divide and MixMatch</td><td>Best Last</td><td>94.1 93.5</td><td>92.8 92.3</td><td>89.7 89.1</td><td>70.1 68.6</td><td>86.5 85.2</td><td>73.7 72.4</td><td>70.5 69.7</td><td>55.3 53.9</td><td>25.0 23.7</td></tr></table>
|
| 156 |
+
|
| 157 |
+
Table 5: Ablation study results in terms of test accuracy $( \% )$ on CIFAR-10 and CIFAR-100.
|
| 158 |
+
|
| 159 |
+
• To study the effect of model ensemble during test, we use the prediction from a single model $\theta ^ { ( 1 ) }$ instead of averaging the predictions from both networks as in DivideMix. Note that the training process remains unchanged. The decrease in accuracy suggests that the ensemble of two diverged networks consistently yields better performance during inference.
|
| 160 |
+
|
| 161 |
+
• To study the effect of co-training, we train a single network using self-divide (i.e. divide the training data based on its own loss). The performance further decreases compared to $\theta ^ { ( 1 ) }$ .
|
| 162 |
+
|
| 163 |
+
• We find that both label refinement and input augmentation are beneficial for DivideMix.
|
| 164 |
+
• We combine self-divide with the original MixMatch as a naive baseline for using SLL in LNL.
|
| 165 |
+
|
| 166 |
+
Appendix A also introduces more in-depth studies in examining the robustness of our method to label noise, including the AUC for clean/noisy sample classification on CIFAR-10 training data, qualitative examples from Clothing1M where our method can effectively identify the noisy samples and leverage them as unlabeled data, and visualization results using t-SNE.
|
| 167 |
+
|
| 168 |
+
# 5 CONCLUSION
|
| 169 |
+
|
| 170 |
+
In this paper, we propose DivideMix for learning with noisy labels by leveraging SSL. Our method trains two networks simultaneously and achieves robustness to noise through dataset co-divide, label co-refinement and co-guessing. Through extensive experiments across multiple datasets, we show that DivideMix consistently exhibits substantial performance improvements compared to state-of-the-art methods. For future work, we are interested in incorporating additional ideas from SSL to LNL, and vice versa. Furthermore, we are also interested in adapting DivideMix to other domains such as NLP.
|
| 171 |
+
|
| 172 |
+
# REFERENCES
|
| 173 |
+
|
| 174 |
+
Eric Arazo, Diego Ortego, Paul Albert, Noel E. O’Connor, and Kevin McGuinness. Unsupervised label noise modeling and loss correction. In ICML, pp. 312–321, 2019.
|
| 175 |
+
|
| 176 |
+
Devansh Arpit, Stanislaw Jastrzkebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S. Kanwal, Tegan Maharaj, Asja Fischer, Aaron C. Courville, Yoshua Bengio, and Simon Lacoste-Julien. A closer look at memorization in deep networks. In ICML, pp. 233–242, 2017.
|
| 177 |
+
|
| 178 |
+
David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. NeurIPS, 2019.
|
| 179 |
+
|
| 180 |
+
Pengfei Chen, Benben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. In ICML, pp. 1062–1070, 2019.
|
| 181 |
+
|
| 182 |
+
Yifan Ding, Liqiang Wang, Deliang Fan, and Boqing Gong. A semi-supervised two-stage approach to learning from noisy labels. In WACV, pp. 1215–1224, 2018.
|
| 183 |
+
|
| 184 |
+
Jacob Goldberger and Ehud Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017.
|
| 185 |
+
|
| 186 |
+
Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. In NIPS, pp. 529–536, 2004.
|
| 187 |
+
|
| 188 |
+
Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor W. Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pp. 8536–8546, 2018.
|
| 189 |
+
|
| 190 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In ECCV, pp. 630–645, 2016.
|
| 191 |
+
|
| 192 |
+
Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, pp. 10477–10486, 2018.
|
| 193 |
+
|
| 194 |
+
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 ICML, pp. 2309–2318, 2018.
|
| 195 |
+
|
| 196 |
+
Kyeongbo Kong, Junggi Lee, Youngchul Kwak, Minsung Kang, Seong Gyun Kim, and Woo-Jin Song. Recycling: Semi-supervised learning with noisy labels in deep neural networks. IEEE Access, 7:66998–67005, 2019.
|
| 197 |
+
|
| 198 |
+
Nikola Konstantinov and Christoph Lampert. Robust learning from untrusted sources. In ICML, pp. 3488–3498, 2019.
|
| 199 |
+
|
| 200 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Mater’s thesis, University of Toronto, 2009.
|
| 201 |
+
|
| 202 |
+
Alina Kuznetsova, Hassan Rom, Neil Alldrin, Jasper Uijlings, Ivan Krasin, Jordi Pont-Tuset, Shahab Kamali, Stefan Popov, Matteo Malloci, Tom Duerig, and Vittorio Ferrari. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale. arXiv:1811.00982, 2018.
|
| 203 |
+
|
| 204 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017.
|
| 205 |
+
|
| 206 |
+
Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML Workshop on Challenges in Representation Learning, volume 3, pp. 2, 2013.
|
| 207 |
+
|
| 208 |
+
Kuang-Huei Lee, Xiaodong He, Lei Zhang, and Linjun Yang. Cleannet: Transfer learning for scalable image classifier training with label noise. In CVPR, pp. 5447–5456, 2018.
|
| 209 |
+
|
| 210 |
+
Junnan Li, Yongkang Wong, Qi Zhao, and Mohan S. Kankanhalli. Learning to learn from noisy labeled data. In CVPR, pp. 5051–5059, 2019.
|
| 211 |
+
|
| 212 |
+
Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv:1708.02862, 2017a.
|
| 213 |
+
|
| 214 |
+
Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pp. 1928–1936, 2017b.
|
| 215 |
+
|
| 216 |
+
Xingjun Ma, Yisen Wang, Michael E. Houle, Shuo Zhou, Sarah M. Erfani, Shu-Tao Xia, Sudanthi N. R. Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pp. 3361–3370, 2018.
|
| 217 |
+
|
| 218 |
+
Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of Machine Learning Research, 9:2579–2605, 2008.
|
| 219 |
+
|
| 220 |
+
Dhruv Mahajan, Ross B. Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In ECCV, pp. 185–201, 2018.
|
| 221 |
+
|
| 222 |
+
Eran Malach and Shai Shalev-Shwartz. Decoupling “when to update” from “how to update”. In NIPS, pp. 960–970, 2017.
|
| 223 |
+
|
| 224 |
+
Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: A regularization method for supervised and semi-supervised learning. IEEE Trans. Pattern Anal. Mach. Intell., 41(8):1979–1993, 2019.
|
| 225 |
+
|
| 226 |
+
Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pp. 2233–2241, 2017.
|
| 227 |
+
|
| 228 |
+
Gabriel Pereyra, George Tucker, Jan Chorowski, Lukasz Kaiser, and Geoffrey E. Hinton. Regularizing neural networks by penalizing confident output distributions. In ICLR Workshop, 2017.
|
| 229 |
+
|
| 230 |
+
Haim H. Permuter, Joseph M. Francos, and Ian Jermyn. A study of gaussian mixture models of color and texture features for image classification and segmentation. Pattern Recognition, 39(4): 695���706, 2006.
|
| 231 |
+
|
| 232 |
+
Scott E. Reed, Honglak Lee, Dragomir Anguelov, Christian Szegedy, Dumitru Erhan, and Andrew Rabinovich. Training deep neural networks on noisy labels with bootstrapping. In ICLR, 2015.
|
| 233 |
+
|
| 234 |
+
Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pp. 4331–4340, 2018.
|
| 235 |
+
|
| 236 |
+
Yanyao Shen and Sujay Sanghavi. Learning with bad training data via iterative trimmed loss minimization. In ICML, pp. 5739–5748, 2019.
|
| 237 |
+
|
| 238 |
+
Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander A. Alemi. Inception-v4, inception-resnet and the impact of residual connections on learning. In AAAI, pp. 4278–4284, 2017.
|
| 239 |
+
|
| 240 |
+
Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, pp. 5552–5560, 2018.
|
| 241 |
+
|
| 242 |
+
Ryutaro Tanno, Ardavan Saeedi, Swami Sankaranarayanan, Daniel C. Alexander, and Nathan Silberman. Learning from noisy labels by regularized estimation of annotator confusion. In CVPR, 2019.
|
| 243 |
+
|
| 244 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NIPS, pp. 1195–1204, 2017.
|
| 245 |
+
|
| 246 |
+
Sunil Thulasidasan, Tanmoy Bhattacharya, Jeff A. Bilmes, Gopinath Chennupati, and Jamal MohdYusof. Combating label noise in deep learning using abstention. In ICML, pp. 6234–6243, 2019.
|
| 247 |
+
|
| 248 |
+
Arash Vahdat. Toward robustness against label noise in training deep discriminative neural networks. In NIPS, pp. 5601–5610, 2017.
|
| 249 |
+
|
| 250 |
+
Andreas Veit, Neil Alldrin, Gal Chechik, Ivan Krasin, Abhinav Gupta, and Serge J. Belongie. Learning from noisy large-scale datasets with minimal supervision. In CVPR, pp. 6575–6583, 2017.
|
| 251 |
+
|
| 252 |
+
Yisen Wang, Weiyang Liu, Xingjun Ma, James Bailey, Hongyuan Zha, Le Song, and Shu-Tao Xia. Iterative learning with open-set noisy labels. In CVPR, pp. 8688–8696, 2018.
|
| 253 |
+
|
| 254 |
+
Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pp. 2691–2699, 2015.
|
| 255 |
+
|
| 256 |
+
Kun Yi and Jianxin Wu. Probabilistic end-to-end noise correction for learning with noisy labels. In CVPR, 2019.
|
| 257 |
+
|
| 258 |
+
Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W. Tsang, and Masashi Sugiyama. How does disagreement help generalization against label corruption? In ICML, pp. 7164–7173, 2019.
|
| 259 |
+
|
| 260 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017.
|
| 261 |
+
|
| 262 |
+
Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical ´ risk minimization. In ICLR, 2018.
|
| 263 |
+
|
| 264 |
+
Weihe Zhang, Yali Wang, and Yu Qiao. Metacleaner: Learning to hallucinate clean representations for noisy-labeled visual recognition. In CVPR, 2019.
|
| 265 |
+
|
| 266 |
+
# APPENDIX A ADDITIONAL EXPERIMENT RESULTS
|
| 267 |
+
|
| 268 |
+
In Table 6, we compare DivideMix with previous methods under the symmetric noise setting where true labels cannot be maintained. DivideMix significantly outperforms previous methods which use deeper or wider network architectures.
|
| 269 |
+
|
| 270 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Architecture</td><td colspan="4">CIFAR-10</td><td colspan="4">I CIFAR-100</td></tr><tr><td>20%</td><td>40%</td><td>60%</td><td>80%</td><td>20%</td><td>40%</td><td>60%</td><td>80%</td></tr><tr><td>MentorNet (Jiang et al.,2018)</td><td>WRN-101</td><td>92.0</td><td>89.0</td><td>1</td><td>49.0</td><td>73.0</td><td>68.0</td><td>1</td><td>35.0</td></tr><tr><td>D2L (Ma et al.,2018)</td><td>CNN-12/RN-44</td><td>85.1</td><td>83.4</td><td>72.8</td><td>1</td><td>62.2</td><td>52.0</td><td>42.3</td><td>-</td></tr><tr><td>Reweight (Ren et al.,2018)</td><td>WRN-28</td><td>86.9</td><td>1</td><td>1</td><td>-</td><td>61.3</td><td>1</td><td>1</td><td>-</td></tr><tr><td>Abstention (Thulasidasan et al.,2019)</td><td>WRN-28</td><td>93.4</td><td>90.9</td><td>87.6</td><td>70.8</td><td>75.8</td><td>68.2</td><td>59.4</td><td>34.1</td></tr><tr><td>DivideMix</td><td>PRN-18</td><td>96.2</td><td>94.9</td><td>94.3</td><td>79.8</td><td>77.2</td><td>75.2</td><td>72.0</td><td>60.0</td></tr></table>
|
| 271 |
+
|
| 272 |
+
Table 6: Comparison with state-of-the-art methods in test accuracy $( \% )$ on CIFAR-10 and CIFAR-100 with symmetric noise. Numbers are copied from original papers. Key: WRN (Wide ResNet), PRN (PreActivation ResNet). DivideMix outperforms previous methods that use deeper/wider networks.
|
| 273 |
+
|
| 274 |
+
In Figure 3, we show the Area Under a Curve (AUC) for clean/noisy sample classification on CIFAR10 training data from one of the GMMs during the first 100 epochs. Our method can effectively separate clean and noisy samples as training proceeds, even for high noise ratio.
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
Figure 3: Area Under a Curve for clean/noisy image classification on CIFAR-10 training samples. Our method can effectively filter out the noisy samples and leverage them as unlabeled data.
|
| 278 |
+
|
| 279 |
+
In Figure 4, we show example images in Clothing1M identified by our method as noisy samples. Our method achieves noise filtering by discarding the noisy labels (shown in red) and using the co-guessed labels (shown in blue) to regularize training.
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Figure 4: Clothing1M images identified as noisy samples by our method. Ground-truth labels are shown above in red and the co-guessed labels are shown below in blue.
|
| 283 |
+
|
| 284 |
+
In Figure 5, we visualize the features of training images using t-SNE (Maaten & Hinton, 2008). The model is trained using DivideMix for 200 epochs on CIFAR-10 with $80 \%$ label noise. The embeddings form 10 distinct clusters corresponding to the true class labels, not the noisy training labels, which demonstrates our method’s robustness to label noise.
|
| 285 |
+
|
| 286 |
+

|
| 287 |
+
Figure 5: T-SNE of training images after training the model using DivideMix for 200 epochs on CIFAR-10 with $80 \%$ label noise. Different colors indicate (a) noisy training labels or (b) true labels. DivideMix is able to learn the true class distribution of the training data despite the label noise.
|
| 288 |
+
|
| 289 |
+
# APPENDIX B ADDITIONAL TRAINING DETAILS
|
| 290 |
+
|
| 291 |
+
For CIFAR experiments, the only hyperparameter that we tune on a per-experiment basis is the unsupervised loss weight $\lambda _ { u }$ . Table 7 shows the value that we use. A larger $\lambda _ { u }$ is required for stronger regularization under high noise ratios or with more classes.
|
| 292 |
+
|
| 293 |
+
For both Clothing1M and WebVision, we use the same set of hyperparameters $M = 2$ , $T = 0 . 5$ , $\tau = 0 . 5$ , $\lambda _ { u } = 0$ , $\alpha = 0 . 5$ , and train the network using SGD with a momentum of 0.9, a weight decay of 0.001, and a batch size of 32. The warm up period is 1 epoch. For Clothing1M, we train the network for 80 epochs. The initial learning rate is set as 0.002 and reduced by a factor of 10 after 40 epochs. For each epoch, we sample $1 0 0 0 \mathrm { { m i n i } }$ -batches from the training data while ensuring the labels (noisy) are balanced. For WebVision, we train the network for 100 epochs. The initial learning rate is set as 0.01 and reduced by a factor of 10 after 50 epochs.
|
| 294 |
+
|
| 295 |
+
Table 7: Unsupervised loss weight $\lambda _ { u }$ for CIFAR experiments. Higher noise ratio requires stronger regularization from unlabeled samples.
|
| 296 |
+
|
| 297 |
+
<table><tr><td rowspan="2">Hyperparameter</td><td colspan="5">CIFAR-10</td><td colspan="4">CIFAR-100</td></tr><tr><td>Asym. 40%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>I 20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td></td><td>0</td><td>0</td><td>25</td><td>25</td><td>50</td><td>25</td><td>150</td><td>150</td><td>150</td></tr></table>
|
| 298 |
+
|
| 299 |
+
# APPENDIX C ADDITIONAL EXPLANATIONS FOR ABLATION STUDY
|
| 300 |
+
|
| 301 |
+
Here we clarify some details for the baseline methods in the ablation study. First, DivideMix w/o co-training still has dataset division, label refinement and label guessing, but performed by the same model. Thus, the performance drop (especially for CIFAR-100 with high noise ratio) suggests the disadvantage of self-training. Second, label refinement is important for high noise ratio because more noisy samples would be mistakenly divided into the labeled set. Third, augmentation improves performance through both producing more reliable predictions and achieving consistency regularization. In addition, same as Berthelot et al. (2019), we also find that temperature sharpening is essential for our method to perform well.
|
| 302 |
+
|
| 303 |
+
# APPENDIX D TRAINING TIME ANALYSIS
|
| 304 |
+
|
| 305 |
+
We analyse the training time of DivideMix to understand its efficiency. In Table 8, we compare the total training time of DivideMix on CIFAR-10 with several state-of-the-art methods, using a single Nvidia V100 GPU. DivideMix is slower than Co-teaching $^ +$ (Yu et al., 2019), but faster than P-correction (Yi & Wu, 2019) and Meta-Learning (Li et al., 2019) which involve multiple training iterations. In Table 9, we also break down the computation time for each operation in DivideMix.
|
| 306 |
+
|
| 307 |
+
<table><tr><td>Co-teaching+*|P-correction丨Meta-Learning</td><td></td><td></td><td>DivideMix</td></tr><tr><td>4.3 h</td><td>6.0h</td><td>8.6h</td><td>5.2h</td></tr></table>
|
| 308 |
+
|
| 309 |
+
Table 8: Comparison of total training time (hours) on CIFAR-10.
|
| 310 |
+
|
| 311 |
+
<table><tr><td></td><td></td><td>Co-Divide (Alg.1,line 4-8)|Data MixMatch (Alg.1,line 12-24)|Forward-Backward (Alg.1,line 25-27)</td></tr><tr><td>17.2 s</td><td>16.0 s</td><td>12.5 s</td></tr></table>
|
| 312 |
+
|
| 313 |
+
Table 9: Computation time (seconds) per-epoch for each operation in DivideMix during training.
|
parse/train/HJgExaVtwr/HJgExaVtwr_content_list.json
ADDED
|
@@ -0,0 +1,1634 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 8 |
+
98,
|
| 9 |
+
818,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Junnan Li, Richard Socher, Steven C.H. Hoi Salesforce Research {junnan.li,rsocher,shoi}@salesforce.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
169,
|
| 20 |
+
563,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
248,
|
| 32 |
+
544,
|
| 33 |
+
263
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Deep neural networks are known to be annotation-hungry. Numerous efforts have been devoted to reducing the annotation cost when learning with deep networks. Two prominent directions include learning with noisy labels and semi-supervised learning by exploiting unlabeled data. In this work, we propose DivideMix, a novel framework for learning with noisy labels by leveraging semi-supervised learning techniques. In particular, DivideMix models the per-sample loss distribution with a mixture model to dynamically divide the training data into a labeled set with clean samples and an unlabeled set with noisy samples, and trains the model on both the labeled and unlabeled data in a semi-supervised manner. To avoid confirmation bias, we simultaneously train two diverged networks where each network uses the dataset division from the other network. During the semi-supervised training phase, we improve the MixMatch strategy by performing label co-refinement and label co-guessing on labeled and unlabeled samples, respectively. Experiments on multiple benchmark datasets demonstrate substantial improvements over state-of-the-art methods. Code is available at https://github.com/LiJunnan1992/DivideMix. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
281,
|
| 43 |
+
766,
|
| 44 |
+
501
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
530,
|
| 55 |
+
336,
|
| 56 |
+
546
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "The remarkable success in training deep neural networks (DNNs) is largely attributed to the collection of large datasets with human annotated labels. However, it is extremely expensive and time-consuming to label extensive data with high-quality annotations. On the other hand, there exist alternative and inexpensive methods for mining large-scale data with labels, such as querying commercial search engines (Li et al., 2017a), downloading social media images with tags (Mahajan et al., 2018), leveraging machine-generated labels (Kuznetsova et al., 2018), or using a single annotator to label each sample (Tanno et al., 2019). These alternative methods inevitably yield samples with noisy labels. A recent study (Zhang et al., 2017) shows that DNNs can easily overfit to noisy labels and results in poor generalization performance. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
561,
|
| 66 |
+
825,
|
| 67 |
+
686
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Existing methods on learning with noisy labels (LNL) primarily take a loss correction approach. Some methods estimate the noise transition matrix and use it to correct the loss function (Patrini et al., 2017; Goldberger & Ben-Reuven, 2017). However, correctly estimating the noise transition matrix is challenging. Some methods leverage the predictions from DNNs to correct labels and modify the loss accordingly (Reed et al., 2015; Tanaka et al., 2018). These methods do not perform well under high noise ratio as the predictions from DNNs would dominate training and cause overfitting. To overcome this, Arazo et al. (2019) adopt MixUp (Zhang et al., 2018) augmentation. Another approach selects or reweights samples so that noisy samples contribute less to the loss (Jiang et al., 2018; Ren et al., 2018). A challenging issue is to design a reliable criteria to select clean samples. It has been shown that DNNs tend to learn simple patterns first before fitting label noise (Arpit et al., 2017). Therefore, many methods treat samples with small loss as clean ones (Jiang et al., 2018; Arazo et al., 2019). Among those methods, Co-teaching (Han et al., 2018) and Co-teaching $^ +$ (Yu et al., 2019) train two networks where each network selects small-loss samples in a mini-batch to train the other. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
694,
|
| 77 |
+
825,
|
| 78 |
+
875
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Another active area of research that also aims to reduce annotation cost is semi-supervised learning (SSL). In SSL, the training data consists of unlabeled samples in addition to the labeled samples. Significant progress has been made in leveraging unlabeled samples by enforcing the model to produce low entropy predictions on unlabeled data (Grandvalet & Bengio, 2004) or consistent predictions on perturbed input (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2019). Recently, Berthelot et al. (2019) propose MixMatch, which unifies several dominant SSL approaches in one framework and achieves state-of-the-art performance. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
882,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
159
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Despite the individual advances in LNL and SSL, their connection has been underexplored. In this work, we propose DivideMix, which addresses learning with label noise in a semi-supervised manner. Different from most existing LNL approaches, DivideMix discards the sample labels that are highly likely to be noisy, and leverages the noisy samples as unlabeled data to regularize the model from overfitting and improve generalization performance. The key contributions of this work are: ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
166,
|
| 110 |
+
825,
|
| 111 |
+
236
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "• We propose co-divide, which trains two networks simultaneously. For each network, we dynamically fit a Gaussian Mixture Model (GMM) on its per-sample loss distribution to divide the training samples into a labeled set and an unlabeled set. The divided data is then used to train the other network. Co-divide keeps the two networks diverged, so that they can filter different types of error and avoid confirmation bias in self-training. During SSL phase, we improve MixMatch with label co-refinement and co-guessing to account for label noise. For labeled samples, we refine their ground-truth labels using the network’s predictions guided by the GMM for the other network. For unlabeled samples, we use the ensemble of both networks to make reliable guesses for their labels. We experimentally show that DivideMix significantly advances state-of-the-art results on multiple benchmarks with different types and levels of label noise. We also provide extensive ablation study and qualitative results to examine the effect of different components. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
215,
|
| 120 |
+
243,
|
| 121 |
+
825,
|
| 122 |
+
416
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
439,
|
| 133 |
+
344,
|
| 134 |
+
455
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "2.1 LEARNING WITH NOISY LABELS ",
|
| 141 |
+
"text_level": 1,
|
| 142 |
+
"bbox": [
|
| 143 |
+
176,
|
| 144 |
+
473,
|
| 145 |
+
441,
|
| 146 |
+
488
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "Most existing methods for training DNNs with noisy labels seek to correct the loss function. The correction can be categorized in two types. The first type treats all samples equally and correct loss either explicitly or implicitly through relabeling the noisy samples. For relabeling methods, the noisy samples are modeled with directed graphical models (Xiao et al., 2015), Conditional Random Fields (Vahdat, 2017), knowledge graph (Li et al., 2017b), or DNNs (Veit et al., 2017; Lee et al., 2018). However, they require access to a small set of clean samples. Recently, Tanaka et al. (2018) and Yi & Wu (2019) propose iterative methods which relabel samples using network predictions. For explicit loss correction. Reed et al. (2015) propose a bootstrapping method which modifies the loss with model predictions, and Ma et al. (2018) improve the bootstrapping method by exploiting the dimensionality of feature subspaces. Patrini et al. (2017) estimate the label corruption matrix for loss correction, and Hendrycks et al. (2018) improve the corruption matrix by using a clean set of data. The second type of correction focuses on reweighting training samples or separating clean and noisy samples, which results in correcting the loss function (Thulasidasan et al., 2019; Konstantinov & Lampert, 2019). A common method is to consider samples with smaller loss as clean ones (Shen & Sanghavi, 2019). Jiang et al. (2018) train a mentor network to guide a student network by assigning weights to samples. Ren et al. (2018) reweight samples based on their gradient directions. Chen et al. (2019) apply cross validation to identify clean samples. Arazo et al. (2019) calculate sample weights by modeling per-sample loss with a mixture model. Han et al. (2018) train two networks which select small-loss samples within each mini-batch to train each other, and Yu et al. (2019) improve it by updating the network on disagreement data to keep the two networks diverged. ",
|
| 153 |
+
"bbox": [
|
| 154 |
+
173,
|
| 155 |
+
501,
|
| 156 |
+
825,
|
| 157 |
+
777
|
| 158 |
+
],
|
| 159 |
+
"page_idx": 1
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"type": "text",
|
| 163 |
+
"text": "Contrary to all aforementioned methods, our method discards the labels that are highly likely to be noisy, and utilize the noisy samples as unlabeled data to regularize training in a SSL manner. Ding et al. (2018) and Kong et al. (2019) have shown that SSL method is effective in LNL. However, their methods do not perform well under high levels of noise, whereas our method can better distinguish and utilize noisy samples. Besides leveraging SSL, our method also introduces other advantages. Compared to self-training methods (Jiang et al., 2018; Arazo et al., 2019), our method can avoid the confirmation bias problem (Tarvainen & Valpola, 2017) by training two networks to filter error for each other. Compared to Co-teaching (Han et al., 2018) and Co-teaching $^ +$ (Yu et al., 2019), our method is more robust to noise by enabling the two networks to teach each other implicitly at each epoch (co-divide) and explicitly at each mini-batch (label co-refinement and co-guessing). ",
|
| 164 |
+
"bbox": [
|
| 165 |
+
174,
|
| 166 |
+
785,
|
| 167 |
+
825,
|
| 168 |
+
924
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "image",
|
| 174 |
+
"img_path": "images/a67a30a4e81a352859b3682687cd3a281448848f5d56340f469951f6cf837e0b.jpg",
|
| 175 |
+
"image_caption": [
|
| 176 |
+
"Figure 1: DivideMix trains two networks (A and B) simultaneously. At each epoch, a network models its per-sample loss distribution with a GMM to divide the dataset into a labeled set (mostly clean) and an unlabeled set (mostly noisy), which is then used as training data for the other network (i.e. co-divide). At each mini-batch, a network performs semi-supervised training using an improved MixMatch method. We perform label co-refinement on the labeled samples and label co-guessing on the unlabeled samples. "
|
| 177 |
+
],
|
| 178 |
+
"image_footnote": [],
|
| 179 |
+
"bbox": [
|
| 180 |
+
202,
|
| 181 |
+
99,
|
| 182 |
+
787,
|
| 183 |
+
202
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "2.2 SEMI-SUPERVISED LEARNING ",
|
| 190 |
+
"text_level": 1,
|
| 191 |
+
"bbox": [
|
| 192 |
+
176,
|
| 193 |
+
296,
|
| 194 |
+
421,
|
| 195 |
+
310
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "SSL methods aim to improve the model’s performance by leveraging unlabeled data. Current state-of-the-art SSL methods mostly involve adding an additional loss term on unlabeled data to regularize training. The regularization falls into two classes: consistency regularization (Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2019) enforces the model to produce consistent predictions on augmented input data; entropy minimization (Grandvalet & Bengio, 2004; Lee, 2013) encourages the model to give high-confidence predictions on unlabeled data. Recently, Berthelot et al. (2019) propose MixMatch, which unifies consistency regularization, entropy minimization, and the MixUp (Zhang et al., 2018) regularization into one framework. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
174,
|
| 204 |
+
321,
|
| 205 |
+
826,
|
| 206 |
+
434
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "3 METHOD ",
|
| 213 |
+
"text_level": 1,
|
| 214 |
+
"bbox": [
|
| 215 |
+
174,
|
| 216 |
+
453,
|
| 217 |
+
282,
|
| 218 |
+
469
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "In this section, we introduce DivideMix, our proposed method for learning with noisy labels. An overview of the method is shown in Figure 1. To avoid confirmation bias of self-training where the model would accumulate its errors, we simultaneously train two networks to filter errors for each other through epoch-level implicit teaching and batch-level explicit teaching. At each epoch, we perform co-divide, where one network divides the noisy training dataset into a clean labeled set $( \\mathcal { X } )$ and a noisy unlabeled set $( \\mathcal { U } )$ , which are then used by the other network. At each mini-batch, one network utilizes both labeled and unlabeled samples to perform semi-supervised learning guided by the other network. Algorithm 1 delineates the full algorithm. ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
173,
|
| 227 |
+
483,
|
| 228 |
+
825,
|
| 229 |
+
595
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "3.1 CO-DIVIDE BY LOSS MODELING ",
|
| 236 |
+
"text_level": 1,
|
| 237 |
+
"bbox": [
|
| 238 |
+
176,
|
| 239 |
+
611,
|
| 240 |
+
442,
|
| 241 |
+
626
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "Deep networks tend to learn clean samples faster than noisy samples (Arpit et al., 2017), leading to lower loss for clean samples (Han et al., 2018; Chen et al., 2019). Following Arazo et al. (2019), we aim to find the probability of a sample being clean by fitting a mixture model to the per-sample loss distribution. Formally, let $\\mathcal D = ( \\dot { \\mathcal X } , \\mathcal y ) = \\bar { \\{ ( x _ { i } , y _ { i } ) \\} } _ { i = 1 } ^ { \\bar { N } }$ denote the training data, where $x _ { i }$ is an image and $y _ { i } \\in \\{ 0 , 1 \\} ^ { C }$ is the one-hot label over $C$ classes. Given a model with parameters $\\theta$ , the cross-entropy loss $\\ell ( \\theta )$ reflects how well the model fits the training samples: ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
174,
|
| 250 |
+
637,
|
| 251 |
+
826,
|
| 252 |
+
722
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "equation",
|
| 258 |
+
"img_path": "images/e5ceb5cbb72e40ae62652296ba0e15bdd57826ba89f029947f1892409e6cabd1.jpg",
|
| 259 |
+
"text": "$$\n\\ell ( \\theta ) = \\left\\{ \\ell _ { i } \\right\\} _ { i = 1 } ^ { N } = \\big \\{ - \\sum _ { c = 1 } ^ { C } y _ { i } ^ { c } \\log ( \\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } } ( x _ { i } ; \\theta ) ) \\big \\} _ { i = 1 } ^ { N } ,\n$$",
|
| 260 |
+
"text_format": "latex",
|
| 261 |
+
"bbox": [
|
| 262 |
+
318,
|
| 263 |
+
724,
|
| 264 |
+
678,
|
| 265 |
+
767
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "where $\\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } }$ is the model’s output softmax probability for class $c$ . ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
173,
|
| 274 |
+
770,
|
| 275 |
+
606,
|
| 276 |
+
785
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "Arazo et al. (2019) fit a two-component Beta Mixture Model (BMM) to the max-normalized loss $\\ell$ to model the distribution of clean and noisy samples. However, we find that BMM tends to produce undesirable flat distributions and fails when the label noise is asymmetric. Instead, Gaussian Mixture Model (GMM) (Permuter et al., 2006) can better distinguish clean and noisy samples due to its flexibility in the sharpness of distribution. Therefore, we fit a two-component GMM to $\\ell$ using the Expectation-Maximization algorithm. For each sample, its clean probability $w _ { i }$ is the posterior probability $p ( g | \\ell _ { i } )$ , where $g$ is the Gaussian component with smaller mean (smaller loss). ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
790,
|
| 286 |
+
825,
|
| 287 |
+
890
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "We divide the training data into a labeled set and an unlabeled set by setting a threshold $\\tau$ on $w _ { i }$ However, training a model using the data divided by itself could lead to confirmation bias (i.e. the model is prone to confirm its mistakes (Tarvainen & Valpola, 2017)), as noisy samples that are wrongly grouped into the labeled set would keep having lower loss due to the model overfitting to their labels. Therefore, we propose co-divide to avoid error accumulation. In co-divide, the GMM for one network is used to divide training data for the other network. The two networks are kept diverged from each other due to different (random) parameter initialization, different training data division, different (random) mini-batch sequence, and different training targets. Being diverged offers the two networks distinct abilities to filter different types of error, making the model more robust to noise. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
173,
|
| 296 |
+
895,
|
| 297 |
+
823,
|
| 298 |
+
924
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "table",
|
| 304 |
+
"img_path": "images/4e2ce29a44debd04f96e18d88fc0b23e81023203bf1a7ac45689558fe5fc36ef.jpg",
|
| 305 |
+
"table_caption": [
|
| 306 |
+
"Algorithm 1: DivideMix. Line 4-8: co-divide; Line 17-18: label co-refinement; Line 20: label co-guessing. "
|
| 307 |
+
],
|
| 308 |
+
"table_footnote": [],
|
| 309 |
+
"table_body": "<table><tr><td rowspan=\"18\">1 Input: 0(1) and θ(2),training dataset (X,V),clean probability threshold T, number of augmentations M, sharpening temperature T,unsupervised loss weight Xu,Beta distribution parameter α for MixMatch. 2 0(1),0(2) =WarmUp(X,V,0(1),0(2)) 3 whilee<MaxEpoch do W(2) = GMM(X,V,0(1)) 4 W(1) = GMM(X,V,0(2)) 5 for k = 1,2 do 6 x(k)={(xi,yi,Wi)|wi ≥ T,∀(xi,yi, Wi)∈(x,V,W(k))} uck)={xilwi<T,(xi,Wi)∈(x,W()} I/ unlabeled training set for 0(k) 8 for iter = 1 to num-iters do 9 From x(k),draw a mini-batch {(xb, yb,wb);b∈ (1,., B)} 10 FromU(k),draw a mini-batch {ub;b ∈(1,.., B)} 11 12 for b=1to B do 13 for m=1to M do xb,m = Augment(xb) I apply mth round of augmentation to xb 14 Ub,m = Augment(ub) Il apply mth round of augmentation to Ub 15 16 end 17 pb = M∑m Pmodel(@b,m;0(k)) ll average the predictions across augmentations of xb 18 yb = Wbyb+(1-Wb)pb / refine ground-truth label guided by the clean probability produced by the other network 19 yb = Sharpen(yb,T) // apply temperature sharpening to the refined label 20 qb = 2M ∑m (Pmodel(ub,m;0(1)) + Pmodel(ub,m;(2)) Il co-guessing: average the predictions from both networks across augmentations of ub 21 qb = Sharpen(qb,T) // apply temperature sharpening to the guessed label 22 end x={(xb,m, yb);b ∈(1,..,B),m ∈ (1,.,M)} 23 /augmentedlabeledmini-batch U={(ub,m,qb);b ∈(1,.,B),m ∈(1,.,M)} 24 I/augmentedunlabeledmini-batch</td></tr><tr><td>I/ standard training (with confidence penalty) I/ model per-sample loss with θ(1) to obtain clean proabability for θ(2) I// model per-sample loss with 0(2) to obtain clean proabability for 0(1) I/ train the two networks one by one I/ labeled training set for 0(k)</td></tr></table>",
|
| 310 |
+
"bbox": [
|
| 311 |
+
151,
|
| 312 |
+
118,
|
| 313 |
+
833,
|
| 314 |
+
595
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "text",
|
| 320 |
+
"text": "",
|
| 321 |
+
"bbox": [
|
| 322 |
+
173,
|
| 323 |
+
625,
|
| 324 |
+
825,
|
| 325 |
+
723
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 3
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "Confidence Penalty for Asymmetric Noise. For initial convergence of the algorithm, we need to “warm up” the model for a few epochs by training on all data using the standard cross-entropy loss. The warm up is effective for symmetric (i.e. uniformly random) label noise. However, for asymmetric (i.e. class-conditional) label noise, the network would quickly overfit to noise during warm up and produce over-confident (low entropy) predictions, which leads to most samples having near-zero normalized loss (see Figure 2a). In such cases, the GMM cannot effectively distinguish clean and noisy samples based on the loss distribution. To address this issue, we penalize confident predictions from the network by adding a negative entropy term, $- \\mathcal { H }$ (Pereyra et al., 2017), to the cross-entropy loss during warm up. The entropy of a model’s prediction for an input $x$ is defined as: ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
173,
|
| 334 |
+
729,
|
| 335 |
+
825,
|
| 336 |
+
856
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 3
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "equation",
|
| 342 |
+
"img_path": "images/833933b04987ab910ce9d352112bab0f64d6b3c56dfc159f2f80b31da2b47083.jpg",
|
| 343 |
+
"text": "$$\n\\mathcal { H } = - \\sum _ { c } \\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } } ( { \\boldsymbol x } ; \\theta ) \\log ( \\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } } ( { \\boldsymbol x } ; \\theta ) ) ,\n$$",
|
| 344 |
+
"text_format": "latex",
|
| 345 |
+
"bbox": [
|
| 346 |
+
356,
|
| 347 |
+
859,
|
| 348 |
+
640,
|
| 349 |
+
892
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 3
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "By maximizing the entropy, $\\ell$ becomes more evenly distributed (see Figure 2b) and easier to be modeled by the GMM. Furthermore, in Figure $2 \\mathrm { c }$ we show $\\ell$ when the model is trained with ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
173,
|
| 358 |
+
895,
|
| 359 |
+
823,
|
| 360 |
+
924
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 3
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "image",
|
| 366 |
+
"img_path": "images/a06b0f0d146c0e8fb255b1fbdb2183f97e00c7fdd53ec56c742e21ea9e8896aa.jpg",
|
| 367 |
+
"image_caption": [
|
| 368 |
+
"Figure 2: Training on CIFAR-10 with $40 \\%$ asymmetric noise, warm up for 10 epochs. (a) Standard training with cross-entropy loss causes the model to overfit and produce over-confident predictions, making $\\ell$ difficult to be modeled by the GMM. (b) Adding a confidence penalty (negative entropy) during warm up leads to more evenly-distributed $\\ell$ . (c) Training with DivideMix can effectively reduce the loss for clean samples while keeping the loss larger for most noisy samples. "
|
| 369 |
+
],
|
| 370 |
+
"image_footnote": [],
|
| 371 |
+
"bbox": [
|
| 372 |
+
176,
|
| 373 |
+
103,
|
| 374 |
+
816,
|
| 375 |
+
258
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 4
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "DivideMix for 10 more epochs after warm up. The proposed method can significantly reduce the loss for clean samples while keeping the loss larger for most noisy samples. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
174,
|
| 384 |
+
358,
|
| 385 |
+
821,
|
| 386 |
+
387
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 4
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "3.2 MIXMATCH WITH LABEL CO-REFINEMENT AND CO-GUESSING",
|
| 393 |
+
"text_level": 1,
|
| 394 |
+
"bbox": [
|
| 395 |
+
176,
|
| 396 |
+
409,
|
| 397 |
+
656,
|
| 398 |
+
422
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "At each epoch, having divided the training data, we train the two networks one at a time while keeping the other one fixed. Given a mini-batch of labeled samples with their corresponding one-hot labels and clean probability, $\\{ ( x _ { b } , y _ { b } , w _ { b } ) ; b \\in ( 1 , . . . , B ) \\}$ , and a mini-batch of unlabeled samples $\\{ u _ { b } ; b \\in ( 1 , . . . , \\bar { B } ) \\}$ , we exploit MixMatch (Berthelot et al., 2019) for SSL. MixMatch utilizes unlabeled data by merging consistency regularization (i.e. encourage the model to output same predictions on perturbed unlabeled data) and entropy minimization (i.e. encourage the model to output confident predictions on unlabeled data) with the MixUp (Zhang et al., 2018) augmentation (i.e. encourage the model to have linear behaviour between samples). ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
173,
|
| 407 |
+
435,
|
| 408 |
+
825,
|
| 409 |
+
549
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 4
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "To account for label noise, we make two improvements to MixMatch which enable the two networks to teach each other. First, we perform label co-refinement for labeled samples by linearly combining the ground-truth label $y _ { b }$ with the network’s prediction $p _ { b }$ (averaged across multiple augmentations of $x _ { b }$ ), guided by the clean probability $w _ { b }$ produced by the other network: ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
174,
|
| 418 |
+
554,
|
| 419 |
+
825,
|
| 420 |
+
611
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 4
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "equation",
|
| 426 |
+
"img_path": "images/7d8beda8a792f12c3a531f3025555af44d89d692d3493eccf43a84e3d8e7a990.jpg",
|
| 427 |
+
"text": "$$\n\\bar { y } _ { b } = w _ { b } y _ { b } + ( 1 - w _ { b } ) p _ { b } .\n$$",
|
| 428 |
+
"text_format": "latex",
|
| 429 |
+
"bbox": [
|
| 430 |
+
413,
|
| 431 |
+
622,
|
| 432 |
+
584,
|
| 433 |
+
640
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Then we apply a sharpening function on the refined label to reduce its temperature: ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
173,
|
| 442 |
+
657,
|
| 443 |
+
717,
|
| 444 |
+
672
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "equation",
|
| 450 |
+
"img_path": "images/81073b78a9b2fb895b85689405431c27322aa7ebdfb7b5e12a38f1e4ad685cbb.jpg",
|
| 451 |
+
"text": "$$\n\\hat { y } _ { b } = \\mathrm { S h a r p e n } ( \\bar { y } _ { b } , T ) = { \\bar { y } _ { b } ^ { c } } ^ { \\frac { 1 } { T } } \\bigg / \\sum _ { c = 1 } ^ { C } { \\bar { y } _ { b } ^ { c } } ^ { \\frac { 1 } { T } } , \\mathrm { ~ f o r } c = 1 , 2 , . . . , C .\n$$",
|
| 452 |
+
"text_format": "latex",
|
| 453 |
+
"bbox": [
|
| 454 |
+
312,
|
| 455 |
+
684,
|
| 456 |
+
686,
|
| 457 |
+
723
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "Second, we use the ensemble of predictions from both networks to “co-guess” the labels for unlabeled samples (algorithm 1, line 20), which can produce more reliable guessed labels. ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
176,
|
| 466 |
+
733,
|
| 467 |
+
821,
|
| 468 |
+
762
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 4
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "Having acquired $\\hat { \\mathcal X }$ (and $\\hat { \\mathcal { U } }$ ) which consists of multiple augmentations of labeled (unlabeled) samples and their refined (guessed) labels, we follow MixMatch to “mix” the data, where each sample is interpolated with another sample randomly chosen from the combined mini-batch of $\\hat { \\mathcal X }$ and $\\hat { \\mathcal { U } }$ . Specifically, for a pair of samples $( x _ { 1 } , x _ { 2 } )$ and their corresponding labels $( p _ { 1 } , p _ { 2 } )$ , the mixed $( x ^ { \\prime } , p ^ { \\prime } )$ is computed by: ",
|
| 475 |
+
"bbox": [
|
| 476 |
+
174,
|
| 477 |
+
770,
|
| 478 |
+
825,
|
| 479 |
+
839
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 4
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "equation",
|
| 485 |
+
"img_path": "images/3389117c0334befb06dec3ebb0dc695d87ca7007b0078986cef8de6f00d02979.jpg",
|
| 486 |
+
"text": "$$\n\\begin{array} { r l } & { \\lambda \\sim \\mathrm { B e t a } ( \\alpha , \\alpha ) , } \\\\ & { \\lambda ^ { \\prime } = \\operatorname* { m a x } ( \\lambda , 1 - \\lambda ) , } \\\\ & { x ^ { \\prime } = \\lambda ^ { \\prime } x _ { 1 } + ( 1 - \\lambda ^ { \\prime } ) x _ { 2 } , } \\\\ & { p ^ { \\prime } = \\lambda ^ { \\prime } p _ { 1 } + ( 1 - \\lambda ^ { \\prime } ) p _ { 2 } . } \\end{array}\n$$",
|
| 487 |
+
"text_format": "latex",
|
| 488 |
+
"bbox": [
|
| 489 |
+
423,
|
| 490 |
+
848,
|
| 491 |
+
575,
|
| 492 |
+
924
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 4
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "MixMatch transforms $\\hat { \\mathcal X }$ and $\\hat { \\mathcal { U } }$ into $\\mathcal { X } ^ { \\prime }$ and $\\mathcal { U } ^ { \\prime }$ . Equation 6 ensures that $\\mathcal { X } ^ { \\prime }$ are “closer” to $\\hat { \\mathcal X }$ than $\\hat { \\mathcal { U } }$ The loss on $\\mathcal { X } ^ { \\prime }$ is the cross-entropy loss and the loss on $\\mathcal { U } ^ { \\prime }$ is the mean squared error: ",
|
| 499 |
+
"bbox": [
|
| 500 |
+
173,
|
| 501 |
+
102,
|
| 502 |
+
825,
|
| 503 |
+
131
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 5
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "equation",
|
| 509 |
+
"img_path": "images/5347751a765c1637b78edd3f9cacebfa96464ac7f4f84e42a725c7205191699b.jpg",
|
| 510 |
+
"text": "$$\n\\begin{array} { l } { \\mathcal { L } _ { \\mathcal { X } } = - \\displaystyle \\frac { 1 } { | \\mathcal { X } ^ { \\prime } | } \\sum _ { x , p \\in \\mathcal { X } ^ { \\prime } } \\sum _ { c } p _ { c } \\log ( \\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } } ( x ; \\theta ) ) , } \\\\ { \\mathcal { L } _ { \\mathcal { U } } = \\displaystyle \\frac { 1 } { | \\mathcal { U } ^ { \\prime } | } \\sum _ { x , p \\in \\mathcal { U } ^ { \\prime } } \\| p - \\mathrm { p } _ { \\mathrm { m o d e l } } ( x ; \\theta ) \\| _ { 2 } ^ { 2 } . } \\end{array}\n$$",
|
| 511 |
+
"text_format": "latex",
|
| 512 |
+
"bbox": [
|
| 513 |
+
357,
|
| 514 |
+
136,
|
| 515 |
+
638,
|
| 516 |
+
208
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 5
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "Under high levels of noise, the network would be encouraged to predict the same class to minimize the loss. To prevent assigning all samples to a single class, we apply the regularization term used by Tanaka et al. (2018) and Arazo et al. (2019), which uses a uniform prior distribution $\\pi$ (i.e. $\\pi _ { c } = 1 / C )$ ) to regularize the model’s average output across all samples in the mini-batch: ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
174,
|
| 525 |
+
219,
|
| 526 |
+
823,
|
| 527 |
+
276
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 5
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "equation",
|
| 533 |
+
"img_path": "images/fc8c285624f0d6d136fc9c54151515d9e9d103651e83757d5a61881fb3b1ac82.jpg",
|
| 534 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { r e g } } = \\sum _ { c } \\pi _ { c } \\log \\left( \\pi _ { c } \\bigg / \\frac { 1 } { | \\mathcal { X } ^ { \\prime } | + | \\mathcal { U } ^ { \\prime } | } \\sum _ { \\boldsymbol { x } \\in \\mathcal { X } ^ { \\prime } + \\mathcal { U } ^ { \\prime } } \\mathrm { p } _ { \\mathrm { m o d e l } } ^ { \\mathrm { c } } ( \\boldsymbol { x } ; \\boldsymbol { \\theta } ) \\right) .\n$$",
|
| 535 |
+
"text_format": "latex",
|
| 536 |
+
"bbox": [
|
| 537 |
+
308,
|
| 538 |
+
281,
|
| 539 |
+
689,
|
| 540 |
+
327
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 5
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "Finally, the total loss is: ",
|
| 547 |
+
"bbox": [
|
| 548 |
+
174,
|
| 549 |
+
339,
|
| 550 |
+
331,
|
| 551 |
+
353
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 5
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "equation",
|
| 557 |
+
"img_path": "images/835caf651d5b0f425b86c809ff47a7cbb532816c8d8c1b781c02836fcf1f4d46.jpg",
|
| 558 |
+
"text": "$$\n\\mathcal { L } = \\mathcal { L } _ { \\mathcal { X } } + \\lambda _ { u } \\mathcal { L } _ { \\mathcal { U } } + \\lambda _ { r } \\mathcal { L } _ { \\mathrm { r e g } } .\n$$",
|
| 559 |
+
"text_format": "latex",
|
| 560 |
+
"bbox": [
|
| 561 |
+
403,
|
| 562 |
+
353,
|
| 563 |
+
594,
|
| 564 |
+
369
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 5
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "In our experiments, we set $\\lambda _ { r }$ as 1 and use $\\lambda _ { u }$ to control the strength of the unsupervised loss. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
169,
|
| 573 |
+
371,
|
| 574 |
+
787,
|
| 575 |
+
386
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "4 EXPERIMENTS ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
176,
|
| 585 |
+
406,
|
| 586 |
+
326,
|
| 587 |
+
422
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "4.1 DATASETS AND IMPLEMENTATION DETAILS ",
|
| 594 |
+
"text_level": 1,
|
| 595 |
+
"bbox": [
|
| 596 |
+
174,
|
| 597 |
+
436,
|
| 598 |
+
517,
|
| 599 |
+
452
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 5
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "We extensively validate our method on four benchmark datasets, namely CIFAR-10, CIFAR100 (Krizhevsky & Hinton, 2009), Clothing1M (Xiao et al., 2015), and WebVision (Li et al., 2017a). Both CIFAR-10 and CIFAR-100 contain 50K training images and 10K test images of size $3 2 \\times 3 2$ . Following previous works (Tanaka et al., 2018; Li et al., 2019), we experiment with two types of label noise: symmetric and asymmetric. Symmetric noise is generated by randomly replacing the labels for a percentage of the training data with all possible labels. Note that there is another criterion for symmetric label noise injection where the true labels cannot be maintained (Jiang et al., 2018; Wang et al., 2018), for which we also report the results (Table 6 in Appendix). Asymmetric noise is designed to mimic the structure of real-world label noise, where labels are only replaced by similar classes (e.g. deer horse, $\\mathrm { 1 o g c a t }$ ). ",
|
| 606 |
+
"bbox": [
|
| 607 |
+
174,
|
| 608 |
+
462,
|
| 609 |
+
826,
|
| 610 |
+
602
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "We use an 18-layer PreAct Resnet (He et al., 2016) and train it using SGD with a momentum of 0.9, a weight decay of 0.0005, and a batch size of 128. The network is trained for 300 epochs. We set the initial learning rate as 0.02, and reduce it by a factor of 10 after 150 epochs. The warm up period is 10 epochs for CIFAR-10 and 30 epochs for CIFAR-100. We find that most hyperparameters introduced by DivideMix do not need to be heavily tuned. For all CIFAR experiments, we use the same hyperparameters $M = 2$ , $T = 0 . 5$ , and $\\alpha = 4$ . $\\tau$ is set as 0.5 except for $5 0 \\%$ noise ratio when it is set as 0.6. We choose $\\lambda _ { u }$ from $\\{ 0 , 2 5 , 5 0 , 1 5 0 \\}$ using a small validation set. ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
174,
|
| 619 |
+
608,
|
| 620 |
+
825,
|
| 621 |
+
707
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "Clothing1M and WebVision 1.0 are two large-scale datasets with real-world noisy labels. Clothing1M consists of 1 million training images collected from online shopping websites with labels generated from surrounding texts. We follow previous work (Li et al., 2019) and use ResNet-50 with ImageNet pretrained weights. WebVision contains 2.4 million images crawled from the web using the 1,000 concepts in ImageNet ILSVRC12. Following previous work (Chen et al., 2019), we compare baseline methods on the first 50 classes of the Google image subset using the inception-resnet v2 (Szegedy et al., 2017). The training details are delineated in Appendix B. ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
174,
|
| 630 |
+
713,
|
| 631 |
+
825,
|
| 632 |
+
811
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "4.2 COMPARISON WITH STATE-OF-THE-ART METHODS ",
|
| 639 |
+
"text_level": 1,
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
828,
|
| 643 |
+
566,
|
| 644 |
+
842
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "We compare DivideMix with multiple baselines using the same network architecture. Here we introduce some of the most recent state-of-the-art methods: Meta-Learning (Li et al., 2019) proposes a gradient based method to find model parameters that are more noise-tolerant; Joint-Optim (Tanaka et al., 2018) and P-correction (Yi & Wu, 2019) jointly optimize the sample labels and the network parameters; M-correction (Arazo et al., 2019) models sample loss with BMM and applies MixUp. ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
853,
|
| 654 |
+
825,
|
| 655 |
+
924
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "table",
|
| 661 |
+
"img_path": "images/5242e14238fcd3653947be2deccb5dcdf634cbaa20f6aa7d6b972065b9e2bd60.jpg",
|
| 662 |
+
"table_caption": [
|
| 663 |
+
"Table 1: Comparison with state-of-the-art methods in test accuracy $( \\% )$ on CIFAR-10 and CIFAR-100 with symmetric noise. Methods marked by \\* denote re-implementations based on public code. "
|
| 664 |
+
],
|
| 665 |
+
"table_footnote": [],
|
| 666 |
+
"table_body": "<table><tr><td colspan=\"2\">Dataset</td><td colspan=\"4\">CIFAR-10 1</td><td colspan=\"4\">CIFAR-100</td></tr><tr><td>Method/Noise ratio</td><td></td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td>Cross-Entropy</td><td>Best Last</td><td>86.8 82.7</td><td>79.4 57.9</td><td>62.9 26.1</td><td>42.7 16.8</td><td>62.0 61.8</td><td>46.7 37.3</td><td>19.9 8.8</td><td>10.1 3.5</td></tr><tr><td>Bootstrap (Reed et al., 2015)</td><td>Best Last</td><td>86.8 82.9</td><td>79.8 58.4</td><td>63.3 26.8</td><td>42.9 17.0</td><td>62.1 62.0</td><td>46.6 37.9</td><td>19.9 8.9</td><td>10.2 3.8</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>Best Last</td><td>86.8 83.1</td><td>79.8 59.4</td><td>63.3 26.2</td><td>42.9 18.8</td><td>61.5 61.4</td><td>46.6 37.3</td><td>19.9 9.0</td><td>10.2 3.4</td></tr><tr><td>Co-teaching+* (Yu et al., 2019)</td><td>Best Last</td><td>89.5 88.2</td><td>85.7 84.1</td><td>67.4 45.5</td><td>47.9 30.1</td><td>65.6 64.1</td><td>51.8 45.3</td><td>27.9 15.5</td><td>13.7 8.8</td></tr><tr><td>Mixup (Zhang et al., 2018)</td><td>Best Last</td><td>95.6 92.3</td><td>87.1 77.6</td><td>71.6 46.7</td><td>52.2 43.9</td><td>67.8 66.0</td><td>57.3 46.6</td><td>30.8 17.6</td><td>14.6 8.1</td></tr><tr><td>P-correction* (Yi & Wu,2019)</td><td>Best Last</td><td>92.4 92.0</td><td>89.1 88.7</td><td>77.5 76.5</td><td>58.9 58.2</td><td>69.4 68.1</td><td>57.5 56.4</td><td>31.1 20.7</td><td>15.3 8.8</td></tr><tr><td>Meta-Learning* (Li et al., 2019)</td><td>Best Last</td><td>92.9 92.0</td><td>89.3 88.8</td><td>77.4 76.1</td><td>58.7 58.3</td><td>68.5 67.7</td><td>59.2 58.0</td><td>42.4 40.1</td><td>19.5 14.3</td></tr><tr><td>M-correction (Arazo et al., 2019)</td><td>Best Last</td><td>94.0 93.8</td><td>92.0 91.9</td><td>86.8 86.6</td><td>69.1 68.7</td><td>73.9 73.4</td><td>66.1 65.4</td><td>48.2 47.6</td><td>24.3 20.5</td></tr><tr><td>DivideMix</td><td>Best Last</td><td>96.1 95.7</td><td>94.6 94.4</td><td>93.2 92.9</td><td>76.0 75.4</td><td>77.3 76.9</td><td>74.6 74.2</td><td>60.2 59.6</td><td>31.5 31.0</td></tr></table>",
|
| 667 |
+
"bbox": [
|
| 668 |
+
214,
|
| 669 |
+
102,
|
| 670 |
+
782,
|
| 671 |
+
425
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "Note that none of these methods can consistently outperform others across different datasets. Mcorrection excels at symmetric noise, whereas Meta-Learning performs better for asymmetric noise. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
176,
|
| 680 |
+
508,
|
| 681 |
+
823,
|
| 682 |
+
537
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "Table 1 shows the results on CIFAR-10 and CIFAR-100 with different levels of symmetric label noise ranging from $2 0 \\%$ to $9 0 \\%$ . We report both the best test accuracy across all epochs and the averaged test accuracy over the last 10 epochs. DivideMix outperforms state-of-the-art methods by a large margin across all noise ratios. The improvement is substantial $\\mathord { \\sim } 1 0 \\%$ in accuracy) for the more challenging CIFAR-100 with high noise ratios. Appendix A shows comparison with more methods in Table 6. The results on CIFAR-10 with asymmetric noise is shown in Table 2. We use $4 0 \\%$ because certain classes become theoretically indistinguishable for asymmetric noise larger than $5 0 \\%$ . ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
173,
|
| 691 |
+
544,
|
| 692 |
+
825,
|
| 693 |
+
642
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 6
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "table",
|
| 699 |
+
"img_path": "images/73a65fc92a28d8057383a4de40d710e5bcf8e2ed68747a3a0451d17ba8bef640.jpg",
|
| 700 |
+
"table_caption": [
|
| 701 |
+
"Table 2: Comparison with state-of-the-art methods in test accuracy $( \\% )$ on CIFAR-10 with $40 \\%$ asymmetric noise. We re-implement all methods under the same setting. "
|
| 702 |
+
],
|
| 703 |
+
"table_footnote": [],
|
| 704 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Method</td><td rowspan=1 colspan=1>Best</td><td rowspan=1 colspan=1>Last</td></tr><tr><td rowspan=5 colspan=1>Cross-EntropyF-correction (Patrini et al.,2017)M-correction (Arazo et al., 2019)Iterative-CV (Chen et al.,2019)P-correction (Yi& Wu,2019)Joint-Optim (Tanaka et al., 2018)Meta-Learning (Li et al., 2019)</td><td rowspan=2 colspan=1>85.087.287.4</td><td rowspan=1 colspan=1>72.3</td></tr><tr><td rowspan=2 colspan=1>83.186.388.088.1</td></tr><tr><td rowspan=1 colspan=1>88.688.5</td></tr><tr><td rowspan=1 colspan=1>88.9</td><td rowspan=1 colspan=1>88.4</td></tr><tr><td rowspan=1 colspan=1>89.2</td><td rowspan=1 colspan=1>88.6</td></tr><tr><td rowspan=1 colspan=1>DivideMix</td><td rowspan=1 colspan=1>93.4</td><td rowspan=1 colspan=1>92.1</td></tr></table>",
|
| 705 |
+
"bbox": [
|
| 706 |
+
343,
|
| 707 |
+
672,
|
| 708 |
+
655,
|
| 709 |
+
809
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 6
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "Table 3 and Table 4 show the results on Clothing1M and WebVision, respectively. DivideMix consistently outperforms state-of-the-art methods across all datasets with different types of label noise. For WebVision, we achieve more than $12 \\%$ improvement in top-1 accuracy. ",
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
881,
|
| 719 |
+
825,
|
| 720 |
+
924
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 6
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "table",
|
| 726 |
+
"img_path": "images/e5e7af623c6766a1addac489ef4df53b9010c794c0ec209735a71781edde1f71.jpg",
|
| 727 |
+
"table_caption": [
|
| 728 |
+
"Table 3: Comparison with state-of-the-art methods in test accuracy $( \\% )$ on Clothing1M. Results for baselines are copied from original papers. "
|
| 729 |
+
],
|
| 730 |
+
"table_footnote": [],
|
| 731 |
+
"table_body": "<table><tr><td>Method</td><td>Test Accuracy</td></tr><tr><td>Cross-Entropy</td><td>69.21</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>69.84</td></tr><tr><td>M-correction (Arazo et al., 2019)</td><td>71.00</td></tr><tr><td>Joint-Optim (Tanaka et al.,2018)</td><td>72.16</td></tr><tr><td>Meta-Cleaner (Zhang et al., 2019)</td><td>72.50</td></tr><tr><td>Meta-Learning (Li et al., 2019)</td><td>73.47</td></tr><tr><td>P-correction (Yi& Wu, 2019)</td><td>73.49</td></tr><tr><td>DivideMix</td><td>74.76</td></tr></table>",
|
| 732 |
+
"bbox": [
|
| 733 |
+
334,
|
| 734 |
+
101,
|
| 735 |
+
663,
|
| 736 |
+
236
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 7
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "table",
|
| 742 |
+
"img_path": "images/11d20d3a1f46de7c35d9f0dcd31c3acbba863287ab4169d22242ec16e3b987a8.jpg",
|
| 743 |
+
"table_caption": [
|
| 744 |
+
"Table 4: Comparison with state-of-the-art methods trained on (mini) WebVision dataset. Numbers denote top-1 (top-5) accuracy $( \\% )$ on the WebVision validation set and the ImageNet ILSVRC12 validation set. Results for baseline methods are copied from Chen et al. (2019). "
|
| 745 |
+
],
|
| 746 |
+
"table_footnote": [],
|
| 747 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"2\">WebVision</td><td colspan=\"2\">ILSVRC12</td></tr><tr><td>top1</td><td>top5</td><td>top1</td><td>top5</td></tr><tr><td>F-correction (Patrini et al., 2017)</td><td>61.12</td><td>82.68</td><td>57.36</td><td>82.36</td></tr><tr><td>Decoupling (Malach & Shalev-Shwartz,2017)</td><td>62.54</td><td>84.74</td><td>58.26</td><td>82.26</td></tr><tr><td>D2L (Ma et al., 2018)</td><td>62.68</td><td>84.00</td><td>57.80</td><td>81.36</td></tr><tr><td>MentorNet (Jiang et al., 2018)</td><td>63.00</td><td>81.40</td><td>57.80</td><td>79.92</td></tr><tr><td>Co-teaching (Han et al., 2018)</td><td>63.58</td><td>85.20</td><td>61.48</td><td>84.70</td></tr><tr><td>Iterative-CV (Chen et al.,2019)</td><td>65.24</td><td>85.34</td><td>61.60</td><td>84.98</td></tr><tr><td>DivideMix</td><td>77.32</td><td>91.64</td><td>75.20</td><td>90.84</td></tr></table>",
|
| 748 |
+
"bbox": [
|
| 749 |
+
241,
|
| 750 |
+
290,
|
| 751 |
+
754,
|
| 752 |
+
433
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 7
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "4.3 ABLATION STUDY ",
|
| 759 |
+
"text_level": 1,
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
512,
|
| 763 |
+
341,
|
| 764 |
+
526
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 7
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"img_path": "images/4f0e73f48fc64a2af3e39772c33248cf4e324b889c78e78dcb92408f7d47c1d7.jpg",
|
| 771 |
+
"table_caption": [
|
| 772 |
+
"We study the effect of removing different components to provide insights into what makes DivideMix successful. We analyze the results in Table 5 as follows. Appendix C contains additional explanations. "
|
| 773 |
+
],
|
| 774 |
+
"table_footnote": [
|
| 775 |
+
"Table 5: Ablation study results in terms of test accuracy $( \\% )$ on CIFAR-10 and CIFAR-100. "
|
| 776 |
+
],
|
| 777 |
+
"table_body": "<table><tr><td colspan=\"2\">Dataset</td><td colspan=\"5\">CIFAR-10</td><td colspan=\"4\">CIFAR-100</td></tr><tr><td colspan=\"2\">Noise type</td><td colspan=\"4\">Sym.</td><td>I Asym.I</td><td colspan=\"4\">Sym.</td></tr><tr><td colspan=\"2\">Methods/Noise ratio</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>40%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td>DivideMix</td><td>Best Last</td><td>96.1 95.7</td><td>94.6 94.4</td><td>93.2 92.9</td><td>76.0 75.4</td><td>93.4 92.1</td><td>77.3 76.9</td><td>74.6 74.2</td><td>60.2 59.6</td><td>31.5 31.0</td></tr><tr><td>DivideMix with 0(1) test</td><td>Best Last</td><td>95.2 95.0</td><td>94.2 93.7</td><td>93.0 92.4</td><td>75.5 74.2</td><td>92.7 91.4</td><td>75.2 74.8</td><td>72.8 72.1</td><td>58.3 57.6</td><td>29.9 29.2</td></tr><tr><td>DivideMix w/o co-training</td><td>Best Last</td><td>95.0 94.8</td><td>94.0 93.3</td><td>92.6 92.2</td><td>74.3 73.2</td><td>91.9 90.6</td><td>74.8 74.1</td><td>72.3 71.7</td><td>56.7 56.3</td><td>27.7 27.2</td></tr><tr><td>DivideMix w/o label refinement</td><td>Best Last</td><td>96.0 95.5</td><td>94.6 94.2</td><td>93.0 92.7</td><td>73.7 73.0</td><td>87.7 86.3</td><td>76.9 76.4</td><td>74.2 73.9</td><td>58.7 58.2</td><td>26.9 26.3</td></tr><tr><td>DivideMix w/o augmentation</td><td>Best Last</td><td>95.3 94.9</td><td>94.1 93.5</td><td>92.2 91.8</td><td>73.9 73.0</td><td>89.5 88.4</td><td>76.5 76.2</td><td>73.1 72.6</td><td>58.2 58.0</td><td>26.9 26.4</td></tr><tr><td>Divide and MixMatch</td><td>Best Last</td><td>94.1 93.5</td><td>92.8 92.3</td><td>89.7 89.1</td><td>70.1 68.6</td><td>86.5 85.2</td><td>73.7 72.4</td><td>70.5 69.7</td><td>55.3 53.9</td><td>25.0 23.7</td></tr></table>",
|
| 778 |
+
"bbox": [
|
| 779 |
+
174,
|
| 780 |
+
580,
|
| 781 |
+
823,
|
| 782 |
+
792
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 7
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "• To study the effect of model ensemble during test, we use the prediction from a single model $\\theta ^ { ( 1 ) }$ instead of averaging the predictions from both networks as in DivideMix. Note that the training process remains unchanged. The decrease in accuracy suggests that the ensemble of two diverged networks consistently yields better performance during inference. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
174,
|
| 791 |
+
835,
|
| 792 |
+
825,
|
| 793 |
+
892
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "• To study the effect of co-training, we train a single network using self-divide (i.e. divide the training data based on its own loss). The performance further decreases compared to $\\theta ^ { ( 1 ) }$ . ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
174,
|
| 802 |
+
893,
|
| 803 |
+
821,
|
| 804 |
+
924
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 7
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "• We find that both label refinement and input augmentation are beneficial for DivideMix. \n• We combine self-divide with the original MixMatch as a naive baseline for using SLL in LNL. ",
|
| 811 |
+
"bbox": [
|
| 812 |
+
173,
|
| 813 |
+
103,
|
| 814 |
+
813,
|
| 815 |
+
133
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 8
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "Appendix A also introduces more in-depth studies in examining the robustness of our method to label noise, including the AUC for clean/noisy sample classification on CIFAR-10 training data, qualitative examples from Clothing1M where our method can effectively identify the noisy samples and leverage them as unlabeled data, and visualization results using t-SNE. ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
142,
|
| 825 |
+
823,
|
| 826 |
+
199
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "5 CONCLUSION ",
|
| 833 |
+
"text_level": 1,
|
| 834 |
+
"bbox": [
|
| 835 |
+
176,
|
| 836 |
+
219,
|
| 837 |
+
318,
|
| 838 |
+
236
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 8
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "In this paper, we propose DivideMix for learning with noisy labels by leveraging SSL. Our method trains two networks simultaneously and achieves robustness to noise through dataset co-divide, label co-refinement and co-guessing. Through extensive experiments across multiple datasets, we show that DivideMix consistently exhibits substantial performance improvements compared to state-of-the-art methods. For future work, we are interested in incorporating additional ideas from SSL to LNL, and vice versa. Furthermore, we are also interested in adapting DivideMix to other domains such as NLP. ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
174,
|
| 847 |
+
251,
|
| 848 |
+
825,
|
| 849 |
+
335
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 8
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "REFERENCES ",
|
| 856 |
+
"text_level": 1,
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
356,
|
| 860 |
+
285,
|
| 861 |
+
371
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 8
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Eric Arazo, Diego Ortego, Paul Albert, Noel E. O’Connor, and Kevin McGuinness. Unsupervised label noise modeling and loss correction. In ICML, pp. 312–321, 2019. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
173,
|
| 870 |
+
380,
|
| 871 |
+
825,
|
| 872 |
+
409
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Devansh Arpit, Stanislaw Jastrzkebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S. Kanwal, Tegan Maharaj, Asja Fischer, Aaron C. Courville, Yoshua Bengio, and Simon Lacoste-Julien. A closer look at memorization in deep networks. In ICML, pp. 233–242, 2017. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
176,
|
| 881 |
+
417,
|
| 882 |
+
823,
|
| 883 |
+
460
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 8
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "David Berthelot, Nicholas Carlini, Ian J. Goodfellow, Nicolas Papernot, Avital Oliver, and Colin Raffel. Mixmatch: A holistic approach to semi-supervised learning. NeurIPS, 2019. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
174,
|
| 892 |
+
469,
|
| 893 |
+
823,
|
| 894 |
+
500
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 8
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "Pengfei Chen, Benben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. In ICML, pp. 1062–1070, 2019. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
173,
|
| 903 |
+
508,
|
| 904 |
+
821,
|
| 905 |
+
537
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 8
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "Yifan Ding, Liqiang Wang, Deliang Fan, and Boqing Gong. A semi-supervised two-stage approach to learning from noisy labels. In WACV, pp. 1215–1224, 2018. ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
546,
|
| 915 |
+
823,
|
| 916 |
+
575
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 8
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Jacob Goldberger and Ehud Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
174,
|
| 925 |
+
585,
|
| 926 |
+
823,
|
| 927 |
+
613
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 8
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. In NIPS, pp. 529–536, 2004. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
174,
|
| 936 |
+
622,
|
| 937 |
+
825,
|
| 938 |
+
652
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 8
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor W. Tsang, and Masashi Sugiyama. Co-teaching: Robust training of deep neural networks with extremely noisy labels. In NeurIPS, pp. 8536–8546, 2018. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
176,
|
| 947 |
+
661,
|
| 948 |
+
823,
|
| 949 |
+
704
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 8
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In ECCV, pp. 630–645, 2016. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
173,
|
| 958 |
+
713,
|
| 959 |
+
825,
|
| 960 |
+
743
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "Dan Hendrycks, Mantas Mazeika, Duncan Wilson, and Kevin Gimpel. Using trusted data to train deep networks on labels corrupted by severe noise. In NeurIPS, pp. 10477–10486, 2018. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
171,
|
| 969 |
+
752,
|
| 970 |
+
823,
|
| 971 |
+
781
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "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 ICML, pp. 2309–2318, 2018. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
174,
|
| 980 |
+
790,
|
| 981 |
+
825,
|
| 982 |
+
833
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "Kyeongbo Kong, Junggi Lee, Youngchul Kwak, Minsung Kang, Seong Gyun Kim, and Woo-Jin Song. Recycling: Semi-supervised learning with noisy labels in deep neural networks. IEEE Access, 7:66998–67005, 2019. ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
176,
|
| 991 |
+
843,
|
| 992 |
+
823,
|
| 993 |
+
886
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 8
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Nikola Konstantinov and Christoph Lampert. Robust learning from untrusted sources. In ICML, pp. 3488–3498, 2019. ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
173,
|
| 1002 |
+
895,
|
| 1003 |
+
823,
|
| 1004 |
+
924
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 8
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Mater’s thesis, University of Toronto, 2009. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
171,
|
| 1013 |
+
103,
|
| 1014 |
+
823,
|
| 1015 |
+
132
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 9
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Alina Kuznetsova, Hassan Rom, Neil Alldrin, Jasper Uijlings, Ivan Krasin, Jordi Pont-Tuset, Shahab Kamali, Stefan Popov, Matteo Malloci, Tom Duerig, and Vittorio Ferrari. The open images dataset v4: Unified image classification, object detection, and visual relationship detection at scale. arXiv:1811.00982, 2018. ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
174,
|
| 1024 |
+
142,
|
| 1025 |
+
826,
|
| 1026 |
+
198
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 9
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In ICLR, 2017. ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
171,
|
| 1035 |
+
208,
|
| 1036 |
+
808,
|
| 1037 |
+
224
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 9
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML Workshop on Challenges in Representation Learning, volume 3, pp. 2, 2013. ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
174,
|
| 1046 |
+
232,
|
| 1047 |
+
826,
|
| 1048 |
+
275
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 9
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "Kuang-Huei Lee, Xiaodong He, Lei Zhang, and Linjun Yang. Cleannet: Transfer learning for scalable image classifier training with label noise. In CVPR, pp. 5447–5456, 2018. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
173,
|
| 1057 |
+
285,
|
| 1058 |
+
823,
|
| 1059 |
+
314
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 9
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Junnan Li, Yongkang Wong, Qi Zhao, and Mohan S. Kankanhalli. Learning to learn from noisy labeled data. In CVPR, pp. 5051–5059, 2019. ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
173,
|
| 1068 |
+
324,
|
| 1069 |
+
823,
|
| 1070 |
+
353
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 9
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv:1708.02862, 2017a. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
174,
|
| 1079 |
+
362,
|
| 1080 |
+
825,
|
| 1081 |
+
392
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 9
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "Yuncheng Li, Jianchao Yang, Yale Song, Liangliang Cao, Jiebo Luo, and Li-Jia Li. Learning from noisy labels with distillation. In ICCV, pp. 1928–1936, 2017b. ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
171,
|
| 1090 |
+
400,
|
| 1091 |
+
823,
|
| 1092 |
+
431
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 9
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "Xingjun Ma, Yisen Wang, Michael E. Houle, Shuo Zhou, Sarah M. Erfani, Shu-Tao Xia, Sudanthi N. R. Wijewickrema, and James Bailey. Dimensionality-driven learning with noisy labels. In ICML, pp. 3361–3370, 2018. ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
176,
|
| 1101 |
+
439,
|
| 1102 |
+
825,
|
| 1103 |
+
482
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 9
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of Machine Learning Research, 9:2579–2605, 2008. ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
171,
|
| 1112 |
+
492,
|
| 1113 |
+
823,
|
| 1114 |
+
521
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 9
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Dhruv Mahajan, Ross B. Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In ECCV, pp. 185–201, 2018. ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
174,
|
| 1123 |
+
531,
|
| 1124 |
+
825,
|
| 1125 |
+
574
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 9
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "Eran Malach and Shai Shalev-Shwartz. Decoupling “when to update” from “how to update”. In NIPS, pp. 960–970, 2017. ",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
174,
|
| 1134 |
+
583,
|
| 1135 |
+
823,
|
| 1136 |
+
612
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 9
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: A regularization method for supervised and semi-supervised learning. IEEE Trans. Pattern Anal. Mach. Intell., 41(8):1979–1993, 2019. ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
174,
|
| 1145 |
+
621,
|
| 1146 |
+
826,
|
| 1147 |
+
665
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 9
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "Giorgio Patrini, Alessandro Rozza, Aditya Krishna Menon, Richard Nock, and Lizhen Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, pp. 2233–2241, 2017. ",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
173,
|
| 1156 |
+
674,
|
| 1157 |
+
826,
|
| 1158 |
+
717
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 9
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Gabriel Pereyra, George Tucker, Jan Chorowski, Lukasz Kaiser, and Geoffrey E. Hinton. Regularizing neural networks by penalizing confident output distributions. In ICLR Workshop, 2017. ",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
171,
|
| 1167 |
+
727,
|
| 1168 |
+
823,
|
| 1169 |
+
756
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 9
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "Haim H. Permuter, Joseph M. Francos, and Ian Jermyn. A study of gaussian mixture models of color and texture features for image classification and segmentation. Pattern Recognition, 39(4): 695–706, 2006. ",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
171,
|
| 1178 |
+
765,
|
| 1179 |
+
825,
|
| 1180 |
+
808
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 9
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "Scott E. Reed, Honglak Lee, Dragomir Anguelov, Christian Szegedy, Dumitru Erhan, and Andrew Rabinovich. Training deep neural networks on noisy labels with bootstrapping. In ICLR, 2015. ",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
171,
|
| 1189 |
+
818,
|
| 1190 |
+
825,
|
| 1191 |
+
847
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 9
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In ICML, pp. 4331–4340, 2018. ",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
173,
|
| 1200 |
+
856,
|
| 1201 |
+
823,
|
| 1202 |
+
886
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 9
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "Yanyao Shen and Sujay Sanghavi. Learning with bad training data via iterative trimmed loss minimization. In ICML, pp. 5739–5748, 2019. ",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
174,
|
| 1211 |
+
895,
|
| 1212 |
+
821,
|
| 1213 |
+
924
|
| 1214 |
+
],
|
| 1215 |
+
"page_idx": 9
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"type": "text",
|
| 1219 |
+
"text": "Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander A. Alemi. Inception-v4, inception-resnet and the impact of residual connections on learning. In AAAI, pp. 4278–4284, 2017. ",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
176,
|
| 1222 |
+
103,
|
| 1223 |
+
823,
|
| 1224 |
+
146
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 10
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "text",
|
| 1230 |
+
"text": "Daiki Tanaka, Daiki Ikami, Toshihiko Yamasaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, pp. 5552–5560, 2018. ",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
173,
|
| 1233 |
+
155,
|
| 1234 |
+
823,
|
| 1235 |
+
184
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 10
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"type": "text",
|
| 1241 |
+
"text": "Ryutaro Tanno, Ardavan Saeedi, Swami Sankaranarayanan, Daniel C. Alexander, and Nathan Silberman. Learning from noisy labels by regularized estimation of annotator confusion. In CVPR, 2019. ",
|
| 1242 |
+
"bbox": [
|
| 1243 |
+
176,
|
| 1244 |
+
193,
|
| 1245 |
+
823,
|
| 1246 |
+
234
|
| 1247 |
+
],
|
| 1248 |
+
"page_idx": 10
|
| 1249 |
+
},
|
| 1250 |
+
{
|
| 1251 |
+
"type": "text",
|
| 1252 |
+
"text": "Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In NIPS, pp. 1195–1204, 2017. ",
|
| 1253 |
+
"bbox": [
|
| 1254 |
+
173,
|
| 1255 |
+
244,
|
| 1256 |
+
823,
|
| 1257 |
+
273
|
| 1258 |
+
],
|
| 1259 |
+
"page_idx": 10
|
| 1260 |
+
},
|
| 1261 |
+
{
|
| 1262 |
+
"type": "text",
|
| 1263 |
+
"text": "Sunil Thulasidasan, Tanmoy Bhattacharya, Jeff A. Bilmes, Gopinath Chennupati, and Jamal MohdYusof. Combating label noise in deep learning using abstention. In ICML, pp. 6234–6243, 2019. ",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
174,
|
| 1266 |
+
281,
|
| 1267 |
+
826,
|
| 1268 |
+
324
|
| 1269 |
+
],
|
| 1270 |
+
"page_idx": 10
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"type": "text",
|
| 1274 |
+
"text": "Arash Vahdat. Toward robustness against label noise in training deep discriminative neural networks. In NIPS, pp. 5601–5610, 2017. ",
|
| 1275 |
+
"bbox": [
|
| 1276 |
+
173,
|
| 1277 |
+
333,
|
| 1278 |
+
823,
|
| 1279 |
+
363
|
| 1280 |
+
],
|
| 1281 |
+
"page_idx": 10
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"type": "text",
|
| 1285 |
+
"text": "Andreas Veit, Neil Alldrin, Gal Chechik, Ivan Krasin, Abhinav Gupta, and Serge J. Belongie. Learning from noisy large-scale datasets with minimal supervision. In CVPR, pp. 6575–6583, 2017. ",
|
| 1286 |
+
"bbox": [
|
| 1287 |
+
174,
|
| 1288 |
+
371,
|
| 1289 |
+
826,
|
| 1290 |
+
412
|
| 1291 |
+
],
|
| 1292 |
+
"page_idx": 10
|
| 1293 |
+
},
|
| 1294 |
+
{
|
| 1295 |
+
"type": "text",
|
| 1296 |
+
"text": "Yisen Wang, Weiyang Liu, Xingjun Ma, James Bailey, Hongyuan Zha, Le Song, and Shu-Tao Xia. Iterative learning with open-set noisy labels. In CVPR, pp. 8688–8696, 2018. ",
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
174,
|
| 1299 |
+
422,
|
| 1300 |
+
823,
|
| 1301 |
+
452
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 10
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "text",
|
| 1307 |
+
"text": "Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pp. 2691–2699, 2015. ",
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
174,
|
| 1310 |
+
460,
|
| 1311 |
+
823,
|
| 1312 |
+
489
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 10
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "Kun Yi and Jianxin Wu. Probabilistic end-to-end noise correction for learning with noisy labels. In CVPR, 2019. ",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
176,
|
| 1321 |
+
498,
|
| 1322 |
+
825,
|
| 1323 |
+
526
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 10
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, Ivor W. Tsang, and Masashi Sugiyama. How does disagreement help generalization against label corruption? In ICML, pp. 7164–7173, 2019. ",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
173,
|
| 1332 |
+
536,
|
| 1333 |
+
823,
|
| 1334 |
+
565
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 10
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In ICLR, 2017. ",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
173,
|
| 1343 |
+
574,
|
| 1344 |
+
823,
|
| 1345 |
+
603
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 10
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical ´ risk minimization. In ICLR, 2018. ",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
173,
|
| 1354 |
+
611,
|
| 1355 |
+
823,
|
| 1356 |
+
641
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 10
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "text",
|
| 1362 |
+
"text": "Weihe Zhang, Yali Wang, and Yu Qiao. Metacleaner: Learning to hallucinate clean representations for noisy-labeled visual recognition. In CVPR, 2019. ",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
173,
|
| 1365 |
+
648,
|
| 1366 |
+
823,
|
| 1367 |
+
679
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 10
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"type": "text",
|
| 1373 |
+
"text": "APPENDIX A ADDITIONAL EXPERIMENT RESULTS ",
|
| 1374 |
+
"text_level": 1,
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
174,
|
| 1377 |
+
103,
|
| 1378 |
+
558,
|
| 1379 |
+
118
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "In Table 6, we compare DivideMix with previous methods under the symmetric noise setting where true labels cannot be maintained. DivideMix significantly outperforms previous methods which use deeper or wider network architectures. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
136,
|
| 1389 |
+
825,
|
| 1390 |
+
178
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "table",
|
| 1396 |
+
"img_path": "images/e5e49ffa584abd15a1b668c6e88091409843b1617bd57185a2d83097793bda8d.jpg",
|
| 1397 |
+
"table_caption": [],
|
| 1398 |
+
"table_footnote": [],
|
| 1399 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Architecture</td><td colspan=\"4\">CIFAR-10</td><td colspan=\"4\">I CIFAR-100</td></tr><tr><td>20%</td><td>40%</td><td>60%</td><td>80%</td><td>20%</td><td>40%</td><td>60%</td><td>80%</td></tr><tr><td>MentorNet (Jiang et al.,2018)</td><td>WRN-101</td><td>92.0</td><td>89.0</td><td>1</td><td>49.0</td><td>73.0</td><td>68.0</td><td>1</td><td>35.0</td></tr><tr><td>D2L (Ma et al.,2018)</td><td>CNN-12/RN-44</td><td>85.1</td><td>83.4</td><td>72.8</td><td>1</td><td>62.2</td><td>52.0</td><td>42.3</td><td>-</td></tr><tr><td>Reweight (Ren et al.,2018)</td><td>WRN-28</td><td>86.9</td><td>1</td><td>1</td><td>-</td><td>61.3</td><td>1</td><td>1</td><td>-</td></tr><tr><td>Abstention (Thulasidasan et al.,2019)</td><td>WRN-28</td><td>93.4</td><td>90.9</td><td>87.6</td><td>70.8</td><td>75.8</td><td>68.2</td><td>59.4</td><td>34.1</td></tr><tr><td>DivideMix</td><td>PRN-18</td><td>96.2</td><td>94.9</td><td>94.3</td><td>79.8</td><td>77.2</td><td>75.2</td><td>72.0</td><td>60.0</td></tr></table>",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
174,
|
| 1402 |
+
194,
|
| 1403 |
+
821,
|
| 1404 |
+
318
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 11
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Table 6: Comparison with state-of-the-art methods in test accuracy $( \\% )$ on CIFAR-10 and CIFAR-100 with symmetric noise. Numbers are copied from original papers. Key: WRN (Wide ResNet), PRN (PreActivation ResNet). DivideMix outperforms previous methods that use deeper/wider networks. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
176,
|
| 1413 |
+
328,
|
| 1414 |
+
825,
|
| 1415 |
+
371
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 11
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "In Figure 3, we show the Area Under a Curve (AUC) for clean/noisy sample classification on CIFAR10 training data from one of the GMMs during the first 100 epochs. Our method can effectively separate clean and noisy samples as training proceeds, even for high noise ratio. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
173,
|
| 1424 |
+
388,
|
| 1425 |
+
826,
|
| 1426 |
+
433
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 11
|
| 1429 |
+
},
|
| 1430 |
+
{
|
| 1431 |
+
"type": "image",
|
| 1432 |
+
"img_path": "images/bcb55372fcaed61efff0227dc6c6de49ae78ac01fb4da87ef1bd0b38a9b1efca.jpg",
|
| 1433 |
+
"image_caption": [
|
| 1434 |
+
"Figure 3: Area Under a Curve for clean/noisy image classification on CIFAR-10 training samples. Our method can effectively filter out the noisy samples and leverage them as unlabeled data. "
|
| 1435 |
+
],
|
| 1436 |
+
"image_footnote": [],
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
289,
|
| 1439 |
+
454,
|
| 1440 |
+
700,
|
| 1441 |
+
664
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 11
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"text": "In Figure 4, we show example images in Clothing1M identified by our method as noisy samples. Our method achieves noise filtering by discarding the noisy labels (shown in red) and using the co-guessed labels (shown in blue) to regularize training. ",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
173,
|
| 1450 |
+
715,
|
| 1451 |
+
823,
|
| 1452 |
+
758
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 11
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "image",
|
| 1458 |
+
"img_path": "images/ef853d5909df4b7d178349eb6a60a79f51528ec2d16aa6131d951fb850dda7d2.jpg",
|
| 1459 |
+
"image_caption": [
|
| 1460 |
+
"Figure 4: Clothing1M images identified as noisy samples by our method. Ground-truth labels are shown above in red and the co-guessed labels are shown below in blue. "
|
| 1461 |
+
],
|
| 1462 |
+
"image_footnote": [],
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
179,
|
| 1465 |
+
775,
|
| 1466 |
+
818,
|
| 1467 |
+
888
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "In Figure 5, we visualize the features of training images using t-SNE (Maaten & Hinton, 2008). The model is trained using DivideMix for 200 epochs on CIFAR-10 with $80 \\%$ label noise. The embeddings form 10 distinct clusters corresponding to the true class labels, not the noisy training labels, which demonstrates our method’s robustness to label noise. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
174,
|
| 1476 |
+
103,
|
| 1477 |
+
825,
|
| 1478 |
+
159
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 12
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "image",
|
| 1484 |
+
"img_path": "images/698cb0a2f655f9563e0202a89cf2bbf53bd5df66057821d0f10b8d528c14484a.jpg",
|
| 1485 |
+
"image_caption": [
|
| 1486 |
+
"Figure 5: T-SNE of training images after training the model using DivideMix for 200 epochs on CIFAR-10 with $80 \\%$ label noise. Different colors indicate (a) noisy training labels or (b) true labels. DivideMix is able to learn the true class distribution of the training data despite the label noise. "
|
| 1487 |
+
],
|
| 1488 |
+
"image_footnote": [],
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
205,
|
| 1491 |
+
183,
|
| 1492 |
+
795,
|
| 1493 |
+
345
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 12
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "APPENDIX B ADDITIONAL TRAINING DETAILS ",
|
| 1500 |
+
"text_level": 1,
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
176,
|
| 1503 |
+
436,
|
| 1504 |
+
534,
|
| 1505 |
+
452
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 12
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "For CIFAR experiments, the only hyperparameter that we tune on a per-experiment basis is the unsupervised loss weight $\\lambda _ { u }$ . Table 7 shows the value that we use. A larger $\\lambda _ { u }$ is required for stronger regularization under high noise ratios or with more classes. ",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
174,
|
| 1514 |
+
472,
|
| 1515 |
+
825,
|
| 1516 |
+
513
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 12
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "For both Clothing1M and WebVision, we use the same set of hyperparameters $M = 2$ , $T = 0 . 5$ , $\\tau = 0 . 5$ , $\\lambda _ { u } = 0$ , $\\alpha = 0 . 5$ , and train the network using SGD with a momentum of 0.9, a weight decay of 0.001, and a batch size of 32. The warm up period is 1 epoch. For Clothing1M, we train the network for 80 epochs. The initial learning rate is set as 0.002 and reduced by a factor of 10 after 40 epochs. For each epoch, we sample $1 0 0 0 \\mathrm { { m i n i } }$ -batches from the training data while ensuring the labels (noisy) are balanced. For WebVision, we train the network for 100 epochs. The initial learning rate is set as 0.01 and reduced by a factor of 10 after 50 epochs. ",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
174,
|
| 1525 |
+
520,
|
| 1526 |
+
825,
|
| 1527 |
+
619
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 12
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "table",
|
| 1533 |
+
"img_path": "images/63205127d28a5df62be19d820e005ee318490695cc789fc5cb7af4234ab8990e.jpg",
|
| 1534 |
+
"table_caption": [
|
| 1535 |
+
"Table 7: Unsupervised loss weight $\\lambda _ { u }$ for CIFAR experiments. Higher noise ratio requires stronger regularization from unlabeled samples. "
|
| 1536 |
+
],
|
| 1537 |
+
"table_footnote": [],
|
| 1538 |
+
"table_body": "<table><tr><td rowspan=\"2\">Hyperparameter</td><td colspan=\"5\">CIFAR-10</td><td colspan=\"4\">CIFAR-100</td></tr><tr><td>Asym. 40%</td><td>20%</td><td>50%</td><td>80%</td><td>90%</td><td>I 20%</td><td>50%</td><td>80%</td><td>90%</td></tr><tr><td></td><td>0</td><td>0</td><td>25</td><td>25</td><td>50</td><td>25</td><td>150</td><td>150</td><td>150</td></tr></table>",
|
| 1539 |
+
"bbox": [
|
| 1540 |
+
204,
|
| 1541 |
+
638,
|
| 1542 |
+
794,
|
| 1543 |
+
698
|
| 1544 |
+
],
|
| 1545 |
+
"page_idx": 12
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"type": "text",
|
| 1549 |
+
"text": "APPENDIX C ADDITIONAL EXPLANATIONS FOR ABLATION STUDY ",
|
| 1550 |
+
"text_level": 1,
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
176,
|
| 1553 |
+
777,
|
| 1554 |
+
666,
|
| 1555 |
+
792
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 12
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "Here we clarify some details for the baseline methods in the ablation study. First, DivideMix w/o co-training still has dataset division, label refinement and label guessing, but performed by the same model. Thus, the performance drop (especially for CIFAR-100 with high noise ratio) suggests the disadvantage of self-training. Second, label refinement is important for high noise ratio because more noisy samples would be mistakenly divided into the labeled set. Third, augmentation improves performance through both producing more reliable predictions and achieving consistency regularization. In addition, same as Berthelot et al. (2019), we also find that temperature sharpening is essential for our method to perform well. ",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
174,
|
| 1564 |
+
811,
|
| 1565 |
+
825,
|
| 1566 |
+
924
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 12
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "APPENDIX D TRAINING TIME ANALYSIS ",
|
| 1573 |
+
"text_level": 1,
|
| 1574 |
+
"bbox": [
|
| 1575 |
+
176,
|
| 1576 |
+
102,
|
| 1577 |
+
490,
|
| 1578 |
+
118
|
| 1579 |
+
],
|
| 1580 |
+
"page_idx": 13
|
| 1581 |
+
},
|
| 1582 |
+
{
|
| 1583 |
+
"type": "text",
|
| 1584 |
+
"text": "We analyse the training time of DivideMix to understand its efficiency. In Table 8, we compare the total training time of DivideMix on CIFAR-10 with several state-of-the-art methods, using a single Nvidia V100 GPU. DivideMix is slower than Co-teaching $^ +$ (Yu et al., 2019), but faster than P-correction (Yi & Wu, 2019) and Meta-Learning (Li et al., 2019) which involve multiple training iterations. In Table 9, we also break down the computation time for each operation in DivideMix. ",
|
| 1585 |
+
"bbox": [
|
| 1586 |
+
173,
|
| 1587 |
+
132,
|
| 1588 |
+
825,
|
| 1589 |
+
204
|
| 1590 |
+
],
|
| 1591 |
+
"page_idx": 13
|
| 1592 |
+
},
|
| 1593 |
+
{
|
| 1594 |
+
"type": "table",
|
| 1595 |
+
"img_path": "images/c7a71e927b83fc62c14eda5712ef98d0c6f800a187051588b0234f83321755cf.jpg",
|
| 1596 |
+
"table_caption": [],
|
| 1597 |
+
"table_footnote": [],
|
| 1598 |
+
"table_body": "<table><tr><td>Co-teaching+*|P-correction丨Meta-Learning</td><td></td><td></td><td>DivideMix</td></tr><tr><td>4.3 h</td><td>6.0h</td><td>8.6h</td><td>5.2h</td></tr></table>",
|
| 1599 |
+
"bbox": [
|
| 1600 |
+
297,
|
| 1601 |
+
217,
|
| 1602 |
+
700,
|
| 1603 |
+
257
|
| 1604 |
+
],
|
| 1605 |
+
"page_idx": 13
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"type": "table",
|
| 1609 |
+
"img_path": "images/f374c2ef21fb96dbca04d9d72a3e9584ba31f1e364fa96cbb47327d1baaeb4ff.jpg",
|
| 1610 |
+
"table_caption": [
|
| 1611 |
+
"Table 8: Comparison of total training time (hours) on CIFAR-10. "
|
| 1612 |
+
],
|
| 1613 |
+
"table_footnote": [],
|
| 1614 |
+
"table_body": "<table><tr><td></td><td></td><td>Co-Divide (Alg.1,line 4-8)|Data MixMatch (Alg.1,line 12-24)|Forward-Backward (Alg.1,line 25-27)</td></tr><tr><td>17.2 s</td><td>16.0 s</td><td>12.5 s</td></tr></table>",
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
179,
|
| 1617 |
+
304,
|
| 1618 |
+
816,
|
| 1619 |
+
345
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 13
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "text",
|
| 1625 |
+
"text": "Table 9: Computation time (seconds) per-epoch for each operation in DivideMix during training. ",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
176,
|
| 1628 |
+
354,
|
| 1629 |
+
816,
|
| 1630 |
+
371
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 13
|
| 1633 |
+
}
|
| 1634 |
+
]
|
parse/train/HJgExaVtwr/HJgExaVtwr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJgExaVtwr/HJgExaVtwr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkekl0NFPr/Hkekl0NFPr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkekl0NFPr/Hkekl0NFPr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygrAR4tPS/HygrAR4tPS.md
ADDED
|
@@ -0,0 +1,617 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ON EMPIRICAL COMPARISONS OF OPTIMIZERS FOR DEEP LEARNING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Selecting an optimizer is a central step in the contemporary deep learning pipeline. In this paper, we demonstrate the sensitivity of optimizer comparisons to the hyperparameter tuning protocol. Our findings suggest that the hyperparameter search space may be the single most important factor explaining the rankings obtained by recent empirical comparisons in the literature. In fact, we show that these results can be contradicted when hyperparameter search spaces are changed. As tuning effort grows without bound, more general optimizers should never underperform the ones they can approximate (i.e., Adam should never perform worse than momentum), but recent attempts to compare optimizers either assume these inclusion relationships are not practically relevant or restrict the hyperparameters in ways that break the inclusions. In our experiments, we find that inclusion relationships between optimizers matter in practice and always predict optimizer comparisons. In particular, we find that the popular adaptive gradient methods never underperform momentum or gradient descent. We also report practical tips around tuning often ignored hyperparameters of adaptive gradient methods and raise concerns about fairly benchmarking optimizers for neural network training.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The optimization algorithm chosen by a deep learning practitioner determines the training speed and the final predictive performance of their model. To date, there is no theory that adequately explains how to make this choice. Instead, our community relies on empirical studies (Wilson et al., 2017) and benchmarking (Schneider et al., 2019). Indeed, it is the de facto standard that papers introducing new optimizers report extensive comparisons across a large number of workloads. Therefore, to maximize scientific progress, we must have confidence in our ability to make empirical comparisons between optimization algorithms.
|
| 12 |
+
|
| 13 |
+
Although there is no theory guiding us when comparing optimizers, the popular first-order optimizers form a natural inclusion hierarchy. For example, ADAM (Kingma and Ba, 2015) and RMSPROP (Tieleman and Hinton, 2012) can approximately simulate MOMENTUM (Polyak, 1964) if the $\epsilon$ term in the denominator of their parameter updates is allowed to grow very large. However, these relationships may not matter in practice. For example, the settings of ADAM’s hyperparameters that allow it to match the performance of MOMENTUM may be too difficult to find (for instance, they may be infinite).
|
| 14 |
+
|
| 15 |
+
In this paper, we demonstrate two important and interrelated points about empirical comparisons of neural network optimizers. First, we show that inclusion relationships between optimizers actually matter in practice; in our experiments, more general optimizers never underperform special cases. Despite conventional wisdom (Wilson et al., 2017; Balles and Hennig, 2017), we find that when carefully tuned, ADAM and other adaptive gradient methods never underperform MOMENTUM or SGD. Second, we demonstrate the sensitivity of optimizer comparisons to the hyperparameter tuning protocol. By comparing to previous experimental evaluations, we show how easy it is to change optimizer rankings on a given workload (model and dataset pair) by changing the hyperparameter tuning protocol, with optimizer rankings stabilizing according to inclusion relationships as we spend more and more effort tuning. Our findings raise serious questions about the practical relevance of conclusions drawn from these sorts of empirical comparisons.
|
| 16 |
+
|
| 17 |
+
The remainder of this paper is structured as follows. In Section 2, we review related work, focusing on papers that make explicit claims about optimizer comparisons in deep learning and application papers that provide evidence about the tuning protocols of practitioners. We develop our definition of first-order optimizers in Section 3 along with a notion of inclusion relationships between optimizers. We present our experimental results in Section 4. Despite thorny methodological issues over how to avoid biases in comparisons due to search spaces that favor one optimizer over another, we believe that our experimental methodology is an acceptable compromise and has substantial practical relevance. Among other results, we show that the inclusion hierarchy of update rules is almost entirely predictive of optimizer comparisons. In particular, NADAM (Dozat, 2016) achieves the best top-1 validation accuracy on ResNet-50 on ImageNet in our experiments. The $7 7 . 1 \%$ we obtain with NADAM, although not as good as the $7 7 . 6 \%$ obtained using learned data augmentation by Cubuk et al. (2018), is better than the best existing published results using any of the more standard pre-processing pipelines $7 6 . 5 \%$ , due to Goyal et al. (2017) using MOMENTUM).
|
| 18 |
+
|
| 19 |
+
# 2 BACKGROUND AND RELATED WORK
|
| 20 |
+
|
| 21 |
+
Our work was inspired by the recent studies of neural network optimizers by Wilson et al. (2017) and Schneider et al. (2019). Wilson et al. (2017) constructed a simple classification problem in which adaptive gradient methods (e.g. ADAM) converge to provably worse solutions than standard gradient methods. However, crucially, their analysis ignored the $\epsilon$ parameter in the denominator of some adaptive gradient methods. Wilson et al. (2017) also presented experiments in which ADAM produced worse validation accuracy than SGD across all deep learning workloads considered. However, they only tuned over the learning rate and learning rate decay scheme in their experiments, leaving all other parameters of ADAM at fixed default values. Despite these findings, adaptive gradient methods continue to be popular since the work of Wilson et al. (2017). Schneider et al. (2019) presented a benchmark suite (DEEPOBS) for deep learning optimizers and reported that there was no single best optimizer across the workloads they considered. Yet Schneider et al. (2019) only tuned the learning rate of each optimizer and left all other hyperparameters at some fixed default values.
|
| 22 |
+
|
| 23 |
+
As we discuss in Section 4.3, the choices of hyperparameter tuning protocols in Wilson et al. (2017) and Schneider et al. (2019) may be the most important factor preventing their results from being relevant to practical choices about which optimizer to use. Hyperparameter tuning is a crucial step of the deep learning pipeline (Bergstra and Bengio, 2012; Snoek et al., 2012; Sutskever et al., 2013; Smith, 2018), so it is critical for papers studying optimizers to match as closely as possible the tuning protocols of an ideal practitioner. Yet, tuning protocols often differ between works studying neural network optimizers and works concerned with training neural networks to solve specific problems.
|
| 24 |
+
|
| 25 |
+
Recent papers that study or introduce optimization algorithms tend to compare to ADAM and RMSPROP without tuning their respective $\epsilon$ hyperparameters, presumably to simplify their experiments. It is standard to leave $\epsilon$ at the common default value of $1 0 ^ { - 8 }$ for ADAM and $1 0 ^ { - 1 0 ^ { - } }$ for RMSPROP (Tieleman and Hinton, 2012; Kingma and Ba, 2015; Dozat, 2016; Balles and Hennig, 2017; Loshchilov and Hutter, 2017; Zou and Shen, 2018; Ma and Yarats, 2018; Bernstein et al., 2018; Chen et al., 2019; Zou et al., 2019). Others do not even report the value of $\epsilon$ used (Balles and Hennig, 2017; Zhang and Mitliagkas, 2017; Keskar and Socher, 2017; Chen et al., 2018; Zhou et al., 2018; Aitchison, 2018; Reddi et al., 2019; Luo et al., 2019). There are exceptions. Zaheer et al. (2018) and Liu et al. (2019) considered $\epsilon$ values orders of magnitude larger than the standard default. However, the experiments in both papers gave only a limited consideration to $\epsilon$ , testing at most two values while tuning ADAM. De et al. (2018) is the only work we found that considered a broad range of values for $\epsilon$ . Both Zaheer et al. (2018) and De et al. (2018) found that non-default values of $\epsilon$ outperformed the default.
|
| 26 |
+
|
| 27 |
+
While it is also extremely common in applications to use a default value of $\epsilon$ , some notable papers tuned $\epsilon$ and selected values up to eight orders of magnitude away from the common defaults. Szegedy et al. (2016) used $\epsilon = 1$ for RMSPROP; Liu et al. (2019) reported that their results were sensitive to $\epsilon$ and set $\epsilon = 1 0 ^ { - 6 }$ for ADAM; Tan et al. (2019) and Tan and Le (2019) set $\epsilon = 1 0 ^ { - 3 }$ for RMSPROP, the latter achieving state-of-the-art ImageNet top-1 accuracy. In reinforcement learning, Hessel et al. (2017) set $\epsilon = 1 . 5 \times 1 0 ^ { - 4 }$ .
|
| 28 |
+
|
| 29 |
+
Despite being introduced solely to prevent division by zero1 , ADAM’s $\epsilon$ can be interpreted in ways that suggest the optimal choice is problem-dependent. If ADAM is interpreted as an empirical, diagonal approximation to natural gradient descent (Kingma and Ba, 2015), $\epsilon$ can be viewed as a multi-purpose damping term whose role is to improve the conditioning of the Fisher, in analogy to the approximate second-order method considered by Becker and Le Cun (1988). We can also view $\epsilon$ as setting a trust region radius (Martens and Grosse, 2015; Adolphs et al., 2019) and controlling an interpolation between momentum and diagonal natural gradient descent, by either diminishing or increasing the effect of $v _ { t }$ on the update direction. Under either interpretation, the best value for $\epsilon$ will be problem-dependent and likely benefit from tuning.
|
| 30 |
+
|
| 31 |
+
# 3 WHAT IS AN OPTIMIZER?
|
| 32 |
+
|
| 33 |
+
Optimization algorithms are typically defined by their update rule, which is controlled by hyperparameters that determine its behavior (e.g. the learning rate). Consider a differentiable loss function $\ell : { \mathbb { R } ^ { d } } \to { \mathbb { R } }$ whose vector of first partial derivatives is given by $\nabla \ell ( \theta )$ (more generally, $\nabla \ell ( \theta )$ might be a stochastic estimate of the true gradient). In our context, $\ell$ represents the loss function computed over an entire dataset by a neural network and $\theta \in \mathbb { R } ^ { d }$ represents the vector of model parameters. The optimization problem is to find a point that (at least locally) minimizes $\ell$ . First-order iterative methods for this problem (Nesterov, 2018) construct a sequence $\theta _ { t }$ of iterates converging to a local minimum $\theta _ { \star }$ using queries to $\ell$ and $\nabla \ell$ . The sequence $\theta _ { t }$ is constructed by an update rule $\mathcal { M }$ , which determines the next iterate $\theta _ { t + 1 }$ from the history $H _ { t }$ of previous iterates along with their function and gradient values, $H _ { t } = \{ \boldsymbol { \theta _ { s } } , \boldsymbol { \nabla } \ell ( \boldsymbol { \theta _ { s } } ) , \ell ( \boldsymbol { \theta _ { s } } ) \} _ { s = 0 } ^ { t }$ , and a setting of hyperparameters $\phi : \mathbb { N } \to \mathbb { R } ^ { n }$ . Given an initial parameter value $\theta _ { 0 } \in \mathbb { R } ^ { d }$ , the sequence of points visited by an optimizer with update rule $\mathcal { M }$ is given by,
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
\theta _ { t + 1 } = \mathcal { M } ( H _ { t } , \phi _ { t } ) .
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
The stochastic gradient descent algorithm (SGD; Robbins and Monro, 1951) is one of the simplest such methods used for training neural networks. SGD is initialized with $\theta _ { 0 } \in \mathbb { R } ^ { d }$ , and its hyperparameter is a learning rate schedule $\eta : \mathbb { N } \to ( 0 , \infty )$ . The SGD update rule is given by $\dot { \mathrm { S G D } } \bar { ( } H _ { t } , \eta _ { t } ) = \theta _ { t } - \eta _ { t } \nabla \bar { \ell } ( \theta _ { t } )$ . The MOMENTUM method due to Polyak (1964) generalizes the SGD method by linearly combining the gradient direction with a constant multiple of the previous parameter update. Its hyperparameters are a learning rate schedule $\eta : \mathbb { N } \ \overset { \cdot } { } \ ( 0 , \infty )$ and a momentum parameter $\gamma \in [ 0 , \infty )$ ,
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\begin{array} { r } { \mathbf { M o M E N T U M } ( H _ { t } , \eta _ { t } , \gamma ) = \theta _ { t } - \eta _ { t } \nabla \ell ( \theta _ { t } ) + \gamma ( \theta _ { t } - \theta _ { t - 1 } ) . } \end{array}
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
There has been an explosion of novel first-order methods in deep learning, all of which fall into this standard first-order scheme. In Table 1 we list the first-order update rules considered in this paper.
|
| 46 |
+
|
| 47 |
+
The difference between optimizers is entirely captured by the choice of update rule $\mathcal { M }$ and hyperparameters $\phi$ . Since the roles of optimizer hyperparameters on neural network loss functions are not well-understood, most practitioners tune a subset of the hyperparameters to maximize performance over a validation set, while leaving some hyperparameters at fixed default values. The choice of which hyperparameters to tune determines an effective family of update rules, and this family is the critical object from a practitioners perspective. Thus, in analogy to (overloaded) function declarations in $\mathrm { C } { + } { + }$ , we define an optimizer by an update rule “signature,” the update rule name together with the free hyperparameter arguments. For example, in this definition $\mathbf { M O M E N T U M } \left( \cdot , \eta _ { t } , \gamma \right)$ is not the same optimizer as MOMENTUM $( \cdot , \eta _ { t } , 0 . 9 )$ , because the latter has two free hyperparameters while the former only has one. ADAM with the default $\epsilon$ is “different” from ADAM with tuned $\epsilon$ .
|
| 48 |
+
|
| 49 |
+
# 3.1 THE TAXONOMY OF FIRST-ORDER METHODS
|
| 50 |
+
|
| 51 |
+
The basic observation of this section is that some optimizers can approximately simulate others (i.e., optimizer A might be able to approximately simulate the trajectory of optimizer B for any particular setting of B’s hyperparameters). This is important knowledge because, as a hyperparameter tuning protocol approaches optimality, a more expressive optimizer can never underperform any of its specializations. To capture the concept of one optimizer approximating another, we define the following inclusion relationship between optimizers.
|
| 52 |
+
|
| 53 |
+
Table 1: Update rules considered in this work. SGD is due to Robbins and Monro (1951), MOMENTUM to Polyak (1964), NESTEROV to Nesterov (1983), RMSPROP to Tieleman and Hinton (2012), and NADAM to Dozat (2016). All operations are taken component-wise for vectors. In particular, for $\boldsymbol { x } \in \mathbb { R } ^ { d }$ , $x ^ { 2 }$ is a component-wise power function.
|
| 54 |
+
|
| 55 |
+
<table><tr><td>SGD(Ht, nt)</td><td>ADAM(Ht,αt, β1, β2,∈)</td></tr><tr><td>0t+1=0t-ntVl(0t)</td><td>mo = 0,vo = 0</td></tr><tr><td>MOMENTUM(Ht, ηt, γ)</td><td>mt+1 = βimt +(1- βi)Vl(0t)</td></tr><tr><td>vo =0</td><td>Ut+1 = β2Ut +(1- β2)Vl(0t)²</td></tr><tr><td>Ut+1 = γUt +Vl(0t)</td><td>√1-β+1 bt+1</td></tr><tr><td>0t+1=0t-ntUt+1</td><td>1-β+1 mt+1</td></tr><tr><td>NESTEROV(Ht, nt,γ)</td><td>0t+1=0t-αt -bt+1 VUt+1+∈</td></tr><tr><td>vo=0 Ut+1= γUt + Vl(0t)</td><td>NADAM(Ht,αt, β1, β2,∈)</td></tr><tr><td>0t+1=0t-nt(γUt+1+Vl(0t))</td><td>mo = 0,vo = 0</td></tr><tr><td></td><td>mt+1= βimt+(1- βi)Vl(0t)</td></tr><tr><td>RMSPROP(Ht,It, γ, p,∈) Uo = 1,mo = 0</td><td>Ut+1 = β2Ut+(1-β2)Vl(0t)²</td></tr><tr><td>Ut+1 = pvt +(1- p)Vl(0t)²</td><td>V1-+1</td></tr><tr><td>mt mt+1 =γmt + Ve(0t)</td><td>bt+1 1-βt+1</td></tr><tr><td>√Ut+1+e</td><td>βimt+1+(1-βi)Vl(0t) 0t+1=0t-αt</td></tr><tr><td>0t+1=0t-mt+1</td><td>-bt+1 √Ut+1+E</td></tr></table>
|
| 56 |
+
|
| 57 |
+
Definition 1 (Inclusion relationship). Let $\mathcal { M } , \mathcal { N }$ be update rules for use in a first-order optimization method. $\mathcal { M }$ is a subset or specialization of $\mathcal { N }$ , if for all $\phi : \mathbb { N } \to \mathbb { R } ^ { n }$ , there exists a sequence $\psi ^ { i } : \mathbb { N } \mathbb { R } ^ { m }$ , such that for all $t \in [ 0 , \infty )$ and histories $H _ { t }$ ,
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\operatorname* { l i m } _ { i \to \infty } \mathcal { N } ( H _ { t } , \psi _ { t } ^ { i } ) = \mathcal { M } ( H _ { t } , \phi _ { t } )
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
This is denoted ${ \mathcal { M } } \subseteq { \mathcal { N } }$ , with equality $\mathcal { M } = \mathcal { N }$ iff ${ \mathcal { M } } \subseteq { \mathcal { N } }$ and $\mathcal { N } \subseteq \mathcal { M }$ .
|
| 64 |
+
|
| 65 |
+
Evidently SGD $\subseteq$ MOMENTUM, since $\mathrm { S G D } ( H _ { t } , \eta _ { t } ) \ = \ \mathrm { M o M E N T U M } ( H _ { t } , \eta _ { t } , 0 )$ . Many wellknown optimizers fall naturally into this taxonomy. In particular, we consider RMSPROP with momentum (Tieleman and Hinton, 2012), ADAM (Kingma and Ba, 2015) and NADAM (Dozat, 2016) (see Table 1) and show the following inclusions in the appendix.
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\begin{array} { l } { { \mathrm { S G D } } \subseteq { \mathrm { M O M E N T U M } } \subseteq { \mathrm { R M S P R O P } } } \\ { { \mathrm { S G D } } \subseteq { \mathrm { M O M E N T U M } } \subseteq { \mathrm { A D A M } } } \\ { { \mathrm { S G D } } \subseteq { \mathrm { N E S T E R O V } } \subseteq { \mathrm { N A D A M } } } \end{array}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
Note, some of these inclusions make use of the flexibility of hyperparameter schedules (dependence of $\psi ^ { i }$ on $t$ ). In particular, to approximate MOMENTUM with ADAM, one needs to choose a learning rate schedule that accounts for ADAM’s bias correction.
|
| 72 |
+
|
| 73 |
+
If two optimizers have an inclusion relationship, the more general optimizer can never be worse with respect to any metric of interest, provided the hyperparameters are sufficiently tuned to optimize that metric. Optimally-tuned MOMENTUM cannot underperform optimally-tuned SGD, because setting $\gamma = 0$ in MOMENTUM recovers SGD. However, optimizers with more hyperparameters might be more expensive to tune, so we should have a theoretical or experimental reason for using (or creating) a more general optimizer. For example, MOMENTUM improves local convergence rates over SGD on twice-differentiable functions that are smooth and strongly convex (Polyak, 1964), and
|
| 74 |
+
|
| 75 |
+
NESTEROV has globally optimal convergence rates within the class of smooth and strongly convex functions (Nesterov, 1983; 2018).
|
| 76 |
+
|
| 77 |
+
At first glance, the taxonomy of optimizer inclusions appears to resolve many optimizer comparison questions. However, for a deep learning practitioner, there is no guarantee that the inclusion hierarchy is at all meaningful in practice. For example, the hyperparameters that allow ADAM to match or outperform MOMENTUM might not be easily accessible. They might exist only in the limit of very large values, or be so difficult to find that only practitioners with huge computational budgets can hope to discover them. Indeed, empirical studies and conventional wisdom hold that the inclusion hierarchy does not predict optimizer performance for many practical workloads (Wilson et al., 2017; Balles and Hennig, 2017; Schneider et al., 2019). Either these experimental investigations are too limited or the taxonomy of this section is of limited practical interest and provides no guidance about which optimizer to use on a real workload. In the following section we attempt to answer this question experimentally, and show that these inclusion relationships are meaningful in practice.
|
| 78 |
+
|
| 79 |
+
# 4 EXPERIMENTS
|
| 80 |
+
|
| 81 |
+
An empirical comparison of optimizers should aim to inform a careful practitioner. Accordingly, we model our protocol on a practitioner that is allowed to vary all optimization hyperparameters for each optimizer (e.g. $\alpha _ { t }$ , $\beta _ { 1 }$ , $\beta _ { 2 }$ , $\epsilon$ for ADAM) in addition to a parameterized learning rate decay schedule, in contrast to studies that fix a subset of the optimization hyperparameters to their default values (e.g. Wilson et al., 2017; Schneider et al., 2019). There is no standard method for selecting the values of these hyperparameters, but most practitioners tune at least a subset of the optimization hyperparameters by running a set of trials to maximize performance over the validation set. In our experiments, we run tens to hundreds of individual trials per workload. Given the variety of workloads we consider, this trial budget covers a wide range of computational budgets.
|
| 82 |
+
|
| 83 |
+
Selecting the hyperparameter search space for each optimizer is a key methodological choice for any empirical comparison of optimizers. Prior studies have attempted to treat each optimizer fairly by using the same search space for all optimizers (e.g. Wilson et al., 2017; Schneider et al., 2019). However, this requires the assumption that similarly-named hyperparameters should take similar values between optimizers, which is not always true. For example, MOMENTUM and NESTEROV both have similar-looking momentum and learning rate hyperparameters, but NESTEROV tolerates larger values of its momentum hyperparameter (Sutskever et al., 2013), so any fixed search space will likely be more favorable for one of the two. The situation worsens with less closely related optimizers, and designing a search space that is equally appropriate for optimizers with incommensurate hyperparameters is almost impossible. Despite coming with its own set of challenges, it is most informative to compare optimizers assuming the practitioner is allowed to tune hyperparameters for different optimizers independently by way of optimizer-specific search spaces.
|
| 84 |
+
|
| 85 |
+
In our experiments, we chose the search space for each optimizer by running an initial set of experiments over a relatively large search space. In a typical case, we ran a single set of initial trials per optimizer to select the final search space. However, in some cases we chose the initial search space poorly, so we ran another set of experiments to select the final search space. The effort required to choose each search space cannot simply be quantified by the number of initial trials; the provenance of each search space is difficult to trace exactly. In some cases, our search spaces were informed by published results or prior experience with particular models and optimizers. We note that this is true of all search spaces in the literature: they are hard-won treasures that tend to be refined over many experiments and across many workloads, representing the sum total of our community’s experience. We validated our search spaces by checking that that the optimal hyperparameter values were away from the search space boundaries for all optimizers in all experiments (see Figure 5 in Appendix E). We provide our final search spaces for all experiments in Appendix D. The fact that our final error rates compare favorably to prior published results – including reaching state-of-the-art for our particular configuration of ResNet-50 on ImageNet (see Section 4.2) – supports our claim that our methodology is highly competitive with expert tuning procedures.
|
| 86 |
+
|
| 87 |
+
Table 2: Summary of workloads used in experiments.
|
| 88 |
+
|
| 89 |
+
<table><tr><td>Task</td><td>Evaluation metric</td><td>Model</td><td>Dataset</td><td>Target error</td><td>Batch size</td><td>Budget</td></tr><tr><td rowspan="5">Image classification</td><td rowspan="5">Classification</td><td>Simple CNN</td><td>Fashion MNIST</td><td>6.6%</td><td>256</td><td>10k steps</td></tr><tr><td>ResNet-32</td><td>CIFAR-10</td><td>7%</td><td>256</td><td>50k steps</td></tr><tr><td>CNN</td><td>CIFAR-100</td><td>二</td><td>256</td><td>350 epochs</td></tr><tr><td>VGG-16</td><td>CIFAR-10</td><td>1</td><td>128</td><td>250 epochs</td></tr><tr><td>ResNet-50</td><td>ImageNet</td><td>24%</td><td>1024</td><td>150k steps</td></tr><tr><td rowspan="2">Language modeling</td><td>Classification error</td><td>LSTM</td><td>War and Peace</td><td>1</td><td>50</td><td>200 epochs</td></tr><tr><td>Cross entropy</td><td>Transformer</td><td>LM1B</td><td>3.45</td><td>256</td><td>750k steps</td></tr></table>
|
| 90 |
+
|
| 91 |
+
# 4.1 OVERVIEW OF WORKLOADS AND EXPERIMENTAL DETAILS
|
| 92 |
+
|
| 93 |
+
We investigated the relative performance of optimizers across a variety of image classification and language modeling tasks. For image classification, we trained a simple convolutional neural network (Simple CNN) on Fashion MNIST (Xiao et al., 2017); ResNet-32 (He et al., 2016a) on CIFAR-10 (Krizhevsky, 2009); a CNN on CIFAR-100; VGG-16 (Simonyan and Zisserman, 2014) on CIFAR10; and ResNet-50 on ImageNet (Russakovsky et al., 2015). For language modeling, we trained a 2-layer LSTM model (Hochreiter and Schmidhuber, 1997) on Tolstoy’s War and Peace; and Transformer (Vaswani et al., 2017) on LM1B (Chelba et al., 2014). We used a linear learning rate decay schedule parameterized the same way as Shallue et al. (2019) for all workloads. We used a fixed batch size and a fixed budget of training steps for each workload independent of the optimizer. Table 2 summarizes these workloads and Appendix B provides the full details.
|
| 94 |
+
|
| 95 |
+
Given a hypercube-shaped search space, our tuning protocol sought to model a practitioner with a fixed budget of trials trying to achieve the best outcome using tens of feasible trials (10, 50, or 100 depending on the workload).2 A feasible trial is any trial that achieves finite training loss. We used quasi-random uniform search (Bousquet et al., 2017), and continued the search until we obtained a fixed number of feasible trials. From those trials we considered two statistics. The first, in order to characterize the best outcome, is a metric of interest (e.g. test accuracy) corresponding to the trial achieving the optimum of some other metric (e.g. validation accuracy). The second, in order to characterize the speed of training, is the number of steps required to reach a fixed validation target conditional on at least one trial in the search having reached that target. We chose the target for each workload based on initial experiments and known values from the literature (see Table 2). We estimated means and uncertainties using the bootstrap procedure described in Appendix C.
|
| 96 |
+
|
| 97 |
+
# 4.2 INCLUSION RELATIONSHIPS MATTER IN PRACTICE
|
| 98 |
+
|
| 99 |
+
Figure 1 shows the final predictive performance of six optimizers on four different workloads after tuning hyperparameters to minimize validation error. Regardless of whether we compare final validation error or test error, the inclusion relationships hold in all cases – a more general optimizer never underperforms any of its specializations within the error bars. Similar results hold for training error (see Figure 9 in Appendix E). Training speed is also an important consideration, and Figure 2 demonstrates that the inclusion relationships also hold within error bars when we compare the number of steps required to reach a target validation error. Moreover, these results confirming the relevance of optimizer inclusion relationships do not depend on the exact step budgets or error targets we chose (see Figure 10 in Appendix E), although large changes to these values would require new experiments.
|
| 100 |
+
|
| 101 |
+

|
| 102 |
+
Figure 1: The relative performance of optimizers is consistent with the inclusion relationships, regardless of whether we compare final validation error (top) or test error (bottom). For all workloads, we tuned the hyperparameters of each optimizer separately, and selected the trial that achieved the lowest final validation error.
|
| 103 |
+
|
| 104 |
+

|
| 105 |
+
Figure 2: The relative training speed of optimizers is consistent with the inclusion relationships. We measured (idealized) training speed as the number of training steps required to reach a target validation error (see Table 2 for the error targets).
|
| 106 |
+
|
| 107 |
+
Of course, just because a more general optimizer is no worse than any of its specializations doesn’t mean the choice of optimizer makes a large difference on all workloads. For some workloads in Figures 1 and 2, all optimizers perform about the same, while other workloads have a clear ranking or even dramatic differences. For example, the choice of optimizer seems to make little difference for ResNet-32 on CIFAR-10; all optimizers achieve similar predictive performance and training speed. On the other hand, Transformer on LM1B exhibits a clear ranking in terms of predictive performance and training speed. For this workload, ADAM needs roughly half the steps that MOMENTUM requires to reach our target error, and, although not shown in Figure 2, roughly six times fewer steps to get the same result as SGD. These differences are clearly significant enough to matter to a practitioner, and highlight the practical importance of choosing the right optimizer for some workloads.
|
| 108 |
+
|
| 109 |
+
The most general optimizers we considered were RMSPROP, ADAM, and NADAM, which do not include each other as special cases, and whose relative performance is not predicted by inclusion relationships. Across the workloads we considered, none of these optimizers emerged as the clear winner, although ADAM and NADAM generally seemed to have an edge over RMSPROP. For all of these optimizers, we sometimes had to set the $\epsilon$ parameter orders of magnitude larger than the default value in order to get good results. In particular, we achieved a validation accuracy of $7 7 . 1 \%$ for ResNet-50 on ImageNet using NADAM with $\epsilon = 9 4 7 5$ , a result that exceeds the $7 6 . 5 \%$ achieved by Goyal et al. (2017) using MOMENTUM. Across just these 4 workloads, the range of the optimal values of the $\epsilon$ parameter spanned 10 orders of magnitude. Faced with this reality, a practitioner might reasonably doubt their ability to find a value near the optimum. However, we found that we could reasonably expect to find a suitable value with only tens of trials. When tuning $\epsilon$ for ADAM or NADAM over a large range, we found it more efficient to search over $( \epsilon , \alpha _ { 0 } / \epsilon )$ instead of $( \epsilon , \alpha _ { 0 } )$ ; see Appendix $\mathrm { D }$ for more details.
|
| 110 |
+
|
| 111 |
+

|
| 112 |
+
Figure 3: Tuning more hyperparameters removes the differences in test error between optimizers observed by Wilson et al. (2017). Tuning a subset of optimizer hyperparameters and the initial learning rate is sufficient to equalize performance between all optimizers (left). More extensive hyperparameter tuning in our setup, including the learning rate schedule, improves results for all optimizers and still does not produce any differences between optimizer performances (right).
|
| 113 |
+
|
| 114 |
+
# 4.3 RECONCILING DISAGREEMENTS WITH PREVIOUS WORK
|
| 115 |
+
|
| 116 |
+
In order to confirm that differences in hyperparameter tuning protocols explain the differences between our conclusions and those of Wilson et al. (2017) and Schneider et al. (2019), we reproduced a representative subset of their results and then inverted, or at least collapsed, the ranking over optimizers just by expanding the hyperparameter search space.
|
| 117 |
+
|
| 118 |
+
The left pane of Figure 3 shows our experiments on VGG on CIFAR-10 using code released by Wilson et al. (2017). When we match their protocol and perform their grid search over the initial learning rate and no other tuning, we reproduce their original result showing worse test error for RMSPROP and ADAM. However, when we tune the momentum parameter and $\epsilon$ with random search, all four optimizers reach nearly identical test error rates.3 With our learning rate schedule search space, merely tuning the learning rate schedule was enough to make all optimizers reach the same test error within error bars. When we additionally tuned the optimization hyperparameters and weight decay in our setup we also get similar results for all optimizers, removing any evidence the inclusion relationships might be violated in practice.
|
| 119 |
+
|
| 120 |
+
Figure 4 shows our results with different tuning protocols for a CNN on CIFAR-100 and an LSTM language model trained on War and Peace to match the experiments in Schneider et al. (2019). As reported by Schneider et al. (2019), if we only tune the learning rate without tuning the decay schedule or other optimizer hyperparameters, ADAM does worse than MOMENTUM for the CNN and SGD performs slightly better than ADAM and MOMENTUM on the War and Peace dataset, although Schneider et al. (2019) found a larger advantage for SGD. However, once we tune the all the optimizer hyperparameters, ADAM does better than MOMENTUM which does better than SGD, as predicted by the inclusion relationships.
|
| 121 |
+
|
| 122 |
+
We conclude that the reason both Schneider et al. (2019) and Wilson et al. (2017) observed a ranking that, at first glance, contradicts the inclusion relationships is because they were not tuning enough of the hyperparameters. If we recast their results in our terminology where ADAM with default $\epsilon$ is a different optimizer than ADAM with $\epsilon$ tuned then there is no contradiction with our results and it becomes clear immediately that they do not consider the most interesting form of ADAM for practitioners.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
Figure 4: Tuning more hyperparameters changes optimizer rankings from Schneider et al. (2019) to rankings that are consistent with the inclusion relationships. The leftmost columns for each workload reproduce the rankings from Schneider et al. (2019), while the remaining columns tune over increasingly general search spaces. All columns use our random search tuning protocol.
|
| 126 |
+
|
| 127 |
+
# 5 CONCLUSIONS
|
| 128 |
+
|
| 129 |
+
Inspired by the recent efforts of Wilson et al. (2017) and Schneider et al. (2019), we set out to provide a detailed empirical characterization of the optimizer selection process in deep learning. Our central finding is that inclusion relationships between optimizers are meaningful in practice. When tuning all available hyperparameters under a realistic protocol at scales common in deep learning, we find that more general optimizers never underperform their special cases. In particular, we found that RMSPROP, ADAM, and NADAM never underperformed SGD, NESTEROV, or MOMENTUM under our most exhaustive tuning protocol. We did not find consistent trends when comparing optimizers that could not approximate each other. We also found workloads for which there was not a statistically significant separation in the optimizer ranking.
|
| 130 |
+
|
| 131 |
+
Our experiments have some important limitations and we should be careful not to overgeneralize from our results. The first major caveat is that we did not measure the effects of varying the batch size. Recent empirical work (Shallue et al., 2019; Zhang et al., 2019) has shown that increasing the batch size can increase the gaps between training times for different optimizers, with the gap from SGD to MOMENTUM (Shallue et al., 2019) and from MOMENTUM to ADAM (Zhang et al., 2019) increasing with the batch size. Nevertheless, we strongly suspect that the inclusion relations would be predictive at any batch size under a tuning protocol similar to the one we used. The second important caveat of our results is that they inevitably depend on the tuning protocol and workloads that we considered. Although we made every attempt to conduct realistic experiments, we should only expect our detailed findings to hold for similar workloads under similar protocols, namely uniform quasi-random tuning for tens to hundreds of trials, over hypercube search spaces, and with our specific learning rate schedule parameterization. Nevertheless, these caveats reinforce our central point: all empirical comparisons of neural network optimizers depend heavily on the hyperparameter tuning protocol, perhaps far more than we are used to with comparisons between model architectures.
|
| 132 |
+
|
| 133 |
+
If we were to extract “best practices” from our findings, then we suggest the following. If we can afford tens or more runs of our code, we should tune all of the hyperparameters of the popular adaptive gradient methods. Just because two hyperparameters have a similar role in two different update rules doesn’t mean they should take similar values— optimization hyperparameters tend to be coupled and the optimal value for one may depend on how the others are set. Our results also confirm that the optimal value of Adam’s $\epsilon$ is problem-dependent, so the onus is on empirical studies that fix $\epsilon = 1 0 ^ { - 8 }$ to defend that choice. Finally, we should be skeptical of empirical comparisons of optimizers in papers, especially if an optimizer underperforms any of its specializations. When we do inevitably compare optimizers, we should report search spaces and highlight decisions about what hyperparameters were tuned when interpreting results.
|
| 134 |
+
|
| 135 |
+
REFERENCES
|
| 136 |
+
Leonard Adolphs, Jonas Kohler, and Aurelien Lucchi. Ellipsoidal trust region methods and the marginal value of Hessian information for neural network training. arXiv preprint arXiv:1905.09201, 2019.
|
| 137 |
+
Laurence Aitchison. A unified theory of adaptive stochastic gradient descent as Bayesian filtering. arXiv preprint arXiv:1807.07540, 2018.
|
| 138 |
+
Lukas Balles and Philipp Hennig. Dissecting Adam: The sign, magnitude and variance of stochastic gradients. arXiv e-prints, art. arXiv:1705.07774, May 2017.
|
| 139 |
+
S Becker and Y Le Cun. Improving the convergence of the backpropagation learning with second order methods. Morgan Koufmann, San Mateo, CA, 1988.
|
| 140 |
+
James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(Feb):281–305, 2012.
|
| 141 |
+
Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, and Anima Anandkumar. signSGD: Compressed optimisation for non-convex problems. arXiv preprint arXiv:1802.04434, 2018.
|
| 142 |
+
Olivier Bousquet, Sylvain Gelly, Karol Kurach, Olivier Teytaud, and Damien Vincent. Critical hyper-parameters: no random, no cry. arXiv preprint arXiv:1706.03200, 2017.
|
| 143 |
+
Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. One billion word benchmark for measuring progress in statistical language modeling. In Conference of the International Speech Communication Association, 2014.
|
| 144 |
+
Jing Chen, Liu Zhao, Xue Qiao, and Yang Fu. NAMSG: An efficient method for training neural networks. arXiv preprint arXiv:1905.01422, 2019.
|
| 145 |
+
Xiangyi Chen, Sijia Liu, Ruoyu Sun, and Mingyi Hong. On the convergence of a class of Adam-type algorithms for non-convex optimization. arXiv preprint arXiv:1808.02941, 2018.
|
| 146 |
+
Ekin D Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V Le. Autoaugment: Learning augmentation policies from data. In Conference on Computer Vision and Pattern Recognition, 2018.
|
| 147 |
+
Soham De, Anirbit Mukherjee, and Enayat Ullah. Convergence guarantees for RMSProp and ADAM in non-convex optimization and an empirical comparison to Nesterov acceleration. arXiv preprint arXiv:1807.06766, 2018.
|
| 148 |
+
Timothy Dozat. Incorporating Nesterov momentum into Adam. In ICLR Workshops, 2016.
|
| 149 |
+
Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An- ´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
|
| 150 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Conference on Computer Vision and Pattern Recognition, pages 770–778. IEEE, 2016a.
|
| 151 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision, pages 630–645. Springer, 2016b.
|
| 152 |
+
M Hessel, J Modayil, and H van Hasselt. Rainbow: Combining improvements in deep reinforcement learning. 2017. arXiv preprint arXiv:1710.02298, 2017.
|
| 153 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 9(8): 1735–1780, 1997.
|
| 154 |
+
Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: closing the generalization gap in large batch training of neural networks. In Advances in Neural Information Processing Systems, pages 1731–1741, 2017.
|
| 155 |
+
|
| 156 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning, pages 448– 456, 2015.
|
| 157 |
+
|
| 158 |
+
Nitish Shirish Keskar and Richard Socher. Improving generalization performance by switching from Adam to SGD. arXiv preprint arXiv:1712.07628, 2017.
|
| 159 |
+
|
| 160 |
+
Diederik P Kingma and Jimmy Ba. Adam: a method for stochastic optimization. In ICLR, 2015.
|
| 161 |
+
|
| 162 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. URL http://www.cs.toronto.edu/˜kriz/ learning-features-2009-TR.pdf.
|
| 163 |
+
|
| 164 |
+
Liyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen, Xiaodong Liu, Jianfeng Gao, and Jiawei Han. On the variance of the adaptive learning rate and beyond. arXiv preprint arXiv:1908.03265, 2019.
|
| 165 |
+
|
| 166 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. RoBERTa: a robustly optimized BERT pretraining approach. arXiv e-prints, art. arXiv:1907.11692, Jul 2019.
|
| 167 |
+
|
| 168 |
+
Ilya Loshchilov and Frank Hutter. Fixing weight decay regularization in Adam. arXiv preprint arXiv:1711.05101, 2017.
|
| 169 |
+
|
| 170 |
+
Liangchen Luo, Yuanhao Xiong, Yan Liu, and Xu Sun. Adaptive gradient methods with dynamic bound of learning rate. arXiv preprint arXiv:1902.09843, 2019.
|
| 171 |
+
|
| 172 |
+
Jerry Ma and Denis Yarats. Quasi-hyperbolic momentum and Adam for deep learning. arXiv preprint arXiv:1810.06801, 2018.
|
| 173 |
+
|
| 174 |
+
James Martens and Roger Grosse. Optimizing neural networks with Kronecker-factored approximate curvature. arXiv preprint arXiv:1503.05671, page 58, 2015.
|
| 175 |
+
|
| 176 |
+
Yurii Nesterov. Lectures on convex optimization, volume 137. Springer, 2018.
|
| 177 |
+
|
| 178 |
+
Yurii E Nesterov. A method for solving the convex programming problem with convergence rate $\mathrm { O } ( 1 / \mathrm { k } ^ { 2 } )$ . In Dokl. akad. nauk Sssr, volume 269, pages 543–547, 1983.
|
| 179 |
+
|
| 180 |
+
Boris T Polyak. Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics, 4(5):1–17, 1964.
|
| 181 |
+
|
| 182 |
+
Sashank J Reddi, Satyen Kale, and Sanjiv Kumar. On the convergence of Adam and beyond. In ICLR, 2019.
|
| 183 |
+
|
| 184 |
+
Herbert Robbins and Sutton Monro. A stochastic approximation method. The Annals of Mathematical Statistics, 22(3):400–407, 1951.
|
| 185 |
+
|
| 186 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. ImageNet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015.
|
| 187 |
+
|
| 188 |
+
Frank Schneider, Lukas Balles, and Philipp Hennig. DeepOBS: a deep learning optimizer benchmark suite. arXiv preprint arXiv:1903.05499, 2019.
|
| 189 |
+
|
| 190 |
+
Christopher J. Shallue, Jaehoon Lee, Joseph Antognini, Jascha Sohl-Dickstein, Roy Frostig, and George E. Dahl. Measuring the effects of data parallelism on neural network training. Journal of Machine Learning Research, 20(112):1–49, 2019.
|
| 191 |
+
|
| 192 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 193 |
+
|
| 194 |
+
Leslie N. Smith. A disciplined approach to neural network hyper-parameters: Part 1 – learning rate, batch size, momentum, and weight decay. arXiv e-prints, art. arXiv:1803.09820, Mar 2018.
|
| 195 |
+
|
| 196 |
+
Jasper Snoek, Hugo Larochelle, and Ryan P. Adams. Practical Bayesian optimization of machine learning algorithms. In Proceedings of the 25th International Conference on Neural Information Processing Systems - Volume 2, NIPS’12, pages 2951–2959, USA, 2012. Curran Associates Inc.
|
| 197 |
+
|
| 198 |
+
Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmiller. Striving for simplicity: the all convolutional net. arXiv preprint arXiv:1412.6806, 2014.
|
| 199 |
+
|
| 200 |
+
Ilya Sutskever, James Martens, George Dahl, and Geoffrey Hinton. On the importance of initialization and momentum in deep learning. In ICML, 2013.
|
| 201 |
+
|
| 202 |
+
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, pages 2818–2826, 2016.
|
| 203 |
+
|
| 204 |
+
Mingxing Tan and Quoc V Le. Efficientnet: Rethinking model scaling for convolutional neural networks. arXiv preprint arXiv:1905.11946, 2019.
|
| 205 |
+
|
| 206 |
+
Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, Mark Sandler, Andrew Howard, and Quoc V Le. Mnasnet: Platform-aware neural architecture search for mobile. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2820–2828, 2019.
|
| 207 |
+
|
| 208 |
+
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.
|
| 209 |
+
|
| 210 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, pages 5998–6008, 2017.
|
| 211 |
+
|
| 212 |
+
Ashia C Wilson, Rebecca Roelofs, Mitchell Stern, Nati Srebro, and Benjamin Recht. The marginal value of adaptive gradient methods in machine learning. In Advances in Neural Information Processing Systems 30, pages 4148–4158. Curran Associates, Inc., 2017.
|
| 213 |
+
|
| 214 |
+
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 215 |
+
|
| 216 |
+
Manzil Zaheer, Sashank Reddi, Devendra Sachan, Satyen Kale, and Sanjiv Kumar. Adaptive methods for nonconvex optimization. In Advances in Neural Information Processing Systems 31, pages 9793–9803. Curran Associates, Inc., 2018.
|
| 217 |
+
|
| 218 |
+
Guodong Zhang, Lala Li, Zachary Nado, James Martens, Sushant Sachdeva, George E. Dahl, Christopher J. Shallue, and Roger Grosse. Which algorithmic choices matter at which batch sizes? insights from a noisy quadratic model. arXiv e-prints, art. arXiv:1907.04164, Jul 2019.
|
| 219 |
+
|
| 220 |
+
Jian Zhang and Ioannis Mitliagkas. Yellowfin and the art of momentum tuning. arXiv preprint arXiv:1706.03471, 2017.
|
| 221 |
+
|
| 222 |
+
Zhiming Zhou, Qingru Zhang, Guansong Lu, Hongwei Wang, Weinan Zhang, and Yong Yu. Adashift: Decorrelation and convergence of adaptive learning rate methods. arXiv preprint arXiv:1810.00143, 2018.
|
| 223 |
+
|
| 224 |
+
Fangyu Zou and Li Shen. On the convergence of weighted AdaGrad with momentum for training deep neural networks. arXiv preprint arXiv:1808.03408, 2018.
|
| 225 |
+
|
| 226 |
+
Fangyu Zou, Li Shen, Zequn Jie, Weizhong Zhang, and Wei Liu. A sufficient condition for convergences of Adam and RMSProp. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 11127–11135, 2019.
|
| 227 |
+
|
| 228 |
+
# A OPTIMIZER INCLUSIONS
|
| 229 |
+
|
| 230 |
+
Table 1 summarizes the update rules for the optimizers we consider in this work. We assume update rules as implemented in TensorFlow r1.15. RMSPROP includes momentum. Here we prove the their inclusion relationships, see Definition 1.
|
| 231 |
+
|
| 232 |
+
# MOMENTUM can exactly implement SGD
|
| 233 |
+
|
| 234 |
+
MOMENTUM $\left( I _ { t } , \eta _ { t } , 0 \right) = \mathbf { S } \mathbf { G } \mathbf { D } ( I _ { t } , \eta _ { t } )$ , so SGD ⊆ MOMENTUM.
|
| 235 |
+
|
| 236 |
+
# NESTEROV can exactly implement SGD
|
| 237 |
+
|
| 238 |
+
NESTEROV $\left( I _ { t } , \eta _ { t } , 0 \right) = \mathbf { S } \mathbf { G } \mathbf { D } ( I _ { t } , \eta _ { t } )$ , so $\mathrm { S G D } \subseteq \mathrm { N E S T E R O V } .$
|
| 239 |
+
|
| 240 |
+
# RMSPROP with momentum can exactly implement MOMENTUM
|
| 241 |
+
|
| 242 |
+
Consider RMSPROP $( I _ { t } , \eta _ { t } , \gamma , \rho = 1 , \epsilon = 0 )$ , so that
|
| 243 |
+
|
| 244 |
+
$$
|
| 245 |
+
\begin{array} { r l } & { m _ { t + 1 } = \gamma m _ { t } + \eta _ { t } \nabla \ell ( \theta _ { t } ) , } \\ & { \theta _ { t + 1 } = \theta _ { t } - m _ { t + 1 } . } \end{array}
|
| 246 |
+
$$
|
| 247 |
+
|
| 248 |
+
This is equivalent to MOMENTUM, since
|
| 249 |
+
|
| 250 |
+
$$
|
| 251 |
+
m _ { t + 1 } ^ { ( \mathrm { R M S P R O P } ) } \equiv \eta _ { t } v _ { t + 1 } ^ { ( \mathrm { M o M E N T U M } ) } .
|
| 252 |
+
$$
|
| 253 |
+
|
| 254 |
+
Thus $\mathrm { R M S P R O P } ( I _ { t } , \eta _ { t } , \gamma , 1 , 0 ) = \mathbf { M O M E N T U M } ( I _ { t } , \eta _ { t } , \gamma )$ , so MOMENTUM $\subseteq$ RMSPROP.
|
| 255 |
+
|
| 256 |
+
# RMSTEROV can exactly implement NESTEROV
|
| 257 |
+
|
| 258 |
+
Consider RMSTEROV $( I _ { t } , \eta _ { t } , \gamma , \rho = 1 , \epsilon = 0 )$ , so that
|
| 259 |
+
|
| 260 |
+
$$
|
| 261 |
+
\begin{array} { r l } & { m _ { t + 1 } = \gamma m _ { t } + \eta _ { t } \nabla \ell ( \theta _ { t } ) , } \\ & { \theta _ { t + 1 } = \theta _ { t } - [ \gamma m _ { t + 1 } + \eta _ { t } \nabla \ell ( \theta _ { t } ) ] \ . } \end{array}
|
| 262 |
+
$$
|
| 263 |
+
|
| 264 |
+
This is equivalent to MOMENTUM, since
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
m _ { t + 1 } ^ { ( \mathrm { R M S P R o P } ) } \equiv \eta _ { t } v _ { t + 1 } ^ { ( \mathrm { N E S T E R O V } ) } .
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
Thus RMSTERO $\begin{array} { r } { \mathsf { V } \left( I _ { t } , \eta _ { t } , \gamma , 1 , 0 \right) = \mathbf { M O M E N T U M } \left( I _ { t } , \eta _ { t } , \gamma \right) } \end{array}$ , so MOMENTUM $\subseteq$ RMSTEROV.
|
| 271 |
+
|
| 272 |
+
# ADAM can approximate MOMENTUM for large $\epsilon$
|
| 273 |
+
|
| 274 |
+
Consider $\mathrm { A D A M } ( I _ { t } , \alpha _ { t } = \epsilon \eta _ { t } ( 1 - \gamma ^ { t } ) , \beta _ { 1 } = \gamma , \beta _ { 2 } = 0 , \epsilon ) ,$ so that
|
| 275 |
+
|
| 276 |
+
$$
|
| 277 |
+
\begin{array} { l } { m _ { t + 1 } = \gamma m _ { t } + ( 1 - \gamma ) \nabla \ell ( \theta _ { t } ) , } \\ { \theta _ { t + 1 } = \theta _ { t } - \displaystyle \frac { \eta _ { t } } { ( 1 - \gamma ) } \left[ \frac { m _ { t + 1 } } { | \nabla \ell ( \theta _ { t } ) | / \epsilon + 1 } \right] . } \end{array}
|
| 278 |
+
$$
|
| 279 |
+
|
| 280 |
+
If $\epsilon$ is large, so that $| \nabla \ell ( \theta _ { t } ) | / \epsilon \ll 1$ , then
|
| 281 |
+
|
| 282 |
+
$$
|
| 283 |
+
\begin{array} { l } { { m _ { t + 1 } = \gamma m _ { t } + ( 1 - \gamma ) \nabla \ell ( \theta _ { t } ) , } } \\ { { \theta _ { t + 1 } = \theta _ { t } - \eta _ { t } \displaystyle \frac { m _ { t + 1 } } { 1 - \gamma } . } } \end{array}
|
| 284 |
+
$$
|
| 285 |
+
|
| 286 |
+
This is equivalent to MOMENTUM, since
|
| 287 |
+
|
| 288 |
+
$$
|
| 289 |
+
m _ { t } ^ { ( \mathrm { A D A M } ) } \equiv \left( 1 - \gamma \right) v _ { t } ^ { ( \mathrm { M o M E N T U M } ) } .
|
| 290 |
+
$$
|
| 291 |
+
|
| 292 |
+
Thus $\begin{array} { r } { \operatorname* { l i m } _ { \epsilon \to \infty } \mathrm { A D A M } \big ( I _ { t } , \epsilon \eta _ { t } \big ( 1 - \gamma ^ { t } \big ) , \gamma , 0 , \epsilon \big ) = \mathbf { M O M E N T U M } \big ( I _ { t } , \eta _ { t } , \gamma \big ) , } \end{array}$ so MOMENTUM $\subseteq$ ADAM
|
| 293 |
+
|
| 294 |
+
# NADAM can approximate NESTEROV for large $\epsilon$
|
| 295 |
+
|
| 296 |
+
Consider NADAM $\mathrm { t } \big ( I _ { t } , \alpha _ { t } = \epsilon \eta _ { t } ( 1 - \gamma ^ { t } ) , \beta _ { 1 } = \gamma , \beta _ { 2 } = 0 , \epsilon \big )$ , so that
|
| 297 |
+
|
| 298 |
+
$$
|
| 299 |
+
\begin{array} { l } { m _ { t + 1 } = \gamma m _ { t } + ( 1 - \gamma ) \nabla \ell ( \theta _ { t } ) , } \\ { \theta _ { t + 1 } = \theta _ { t } - \displaystyle \frac { \eta _ { t } } { ( 1 - \gamma ) } \left[ \frac { \gamma m _ { t + 1 } + ( 1 - \gamma ) \nabla \ell ( \theta _ { t } ) } { | \nabla \ell ( \theta _ { t } ) | / \epsilon + 1 } \right] . } \end{array}
|
| 300 |
+
$$
|
| 301 |
+
|
| 302 |
+
If $\epsilon$ is large, so that $| \nabla \ell ( \theta _ { t } ) | / \epsilon \ll 1$ , then
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\begin{array} { r l } & { m _ { t + 1 } = \gamma m _ { t } + ( 1 - \gamma ) \nabla \ell ( \theta _ { t } ) , } \\ & { \theta _ { t + 1 } = \theta _ { t } - \eta _ { t } \left[ \frac { \gamma m _ { t + 1 } } { 1 - \gamma } + \nabla \ell ( \theta _ { t } ) \right] . } \end{array}
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
This is equivalent to NESTEROV, since
|
| 309 |
+
|
| 310 |
+
$$
|
| 311 |
+
m _ { t } ^ { ( \mathrm { N A D A M } ) } \equiv \left( 1 - \gamma \right) v _ { t } ^ { ( \mathrm { N E S T E R O V } ) }
|
| 312 |
+
$$
|
| 313 |
+
|
| 314 |
+
Thus $\begin{array} { l l l } { \operatorname* { l i m } _ { \epsilon \to \infty } \mathrm { N A D A M } ( I _ { t } , \epsilon \eta _ { t } ( 1 - \gamma ^ { t } ) , \gamma , 0 , \epsilon ) } & { = } & { \mathrm { N E S T E R O V } ( I _ { t } , \eta _ { t } , \gamma ) } \end{array}$ , so NESTEROV ⊆ NADAM.
|
| 315 |
+
|
| 316 |
+
# B WORKLOAD DETAILS
|
| 317 |
+
|
| 318 |
+
This section details the datasets and models summarized in Table 2.
|
| 319 |
+
|
| 320 |
+
# B.1 DATASET DESCRIPTIONS
|
| 321 |
+
|
| 322 |
+
For Fashion MNIST, CIFAR-10, ImageNet, and LM1B, our setup was identical to Shallue et al. (2019) except for the image pre-processing details described below. For War and Peace, our setup was identical to the “Tolstoi” dataset of Schneider et al. (2019).
|
| 323 |
+
|
| 324 |
+
CIFAR-10/100: We pre-processed images by subtracting the average value across all pixels and channels and dividing by the standard deviation.4 For experiments with the ResNet-32 and CNN models, we followed the standard data augmentation scheme used in He et al. (2016a): 4 pixels padded on each side with single random crop from padded image or its horizontal reflection. We did not use random cropping for experiments with VGG for consistency with Wilson et al. (2017).
|
| 325 |
+
|
| 326 |
+
ImageNet: We augmented images at training time by resizing each image, taking a random crop of $2 2 4 \times 2 2 4$ pixels, randomly horizontally reflecting the cropped images, and randomly distorting the image colors. At evaluation time, we performed a single central crop of $2 2 4 \times 2 2 4$ pixels. In both training and evaluation, we then subtracted the global mean RGB value from each pixel using the values computed by Simonyan and Zisserman (2014).5
|
| 327 |
+
|
| 328 |
+
# B.2 MODEL DESCRIPTIONS
|
| 329 |
+
|
| 330 |
+
Simple CNN is identical to the base model described in Shallue et al. (2019). It consists of 2 convolutional layers with max pooling followed by 1 fully connected layer. The convolutional layers use $5 \times 5$ filters with stride 1, “same” padding, and ReLU activation function. Max pooling uses a $2 \times 2$ window with stride 2. Convolutional layers have 32 and 64 filters each and the fully connected layer has 1024 units. It does not use batch normalization.
|
| 331 |
+
|
| 332 |
+
CNN is the “All-CNN-C” model from Springenberg et al. (2014), as used in Schneider et al. (2019). The model consists of 3 convolutional layer blocks with max pooling. The convolutional layers use $5 \times 5$ filters with stride 1, “same” padding, and ReLU activation function. Max pooling uses a $2 \times 2$ window with stride 2. Convolutional layer blocks have 96, 192 and 192 filters each. As in Schneider et al. (2019), we used $L _ { 2 }$ regularization of $5 \times 1 0 ^ { - 4 }$ .
|
| 333 |
+
|
| 334 |
+
ResNet is described in He et al. (2016a). We used the improved residual block described in He et al. (2016b). We used batch normalization (Ioffe and Szegedy, 2015) with exponential moving average (EMA) decay of 0.997 for ResNet-32, and ghost batch normalization (Hoffer et al., 2017) with ghost batch size of 32 and EMA decay of 0.9 for ResNet-50.
|
| 335 |
+
|
| 336 |
+
VGG is based on “model C” from Simonyan and Zisserman (2014). It consists of 13 convolutional layers followed by 3 fully connected hidden layers. We followed the modification used by Wilson et al. (2017) with batch normalization layers.
|
| 337 |
+
|
| 338 |
+
LSTM is a two hidden-layer LSTM model (Hochreiter and Schmidhuber, 1997) identical to the model used in Schneider et al. (2019). It uses 128 embedding dimensions and 128 hidden units.
|
| 339 |
+
|
| 340 |
+
Transformer is the “base” model described in (Vaswani et al., 2017). We used it as an autoregressive language model by applying the decoder directly to the sequence of word embeddings for each sentence. Unlike the default implementation, we removed dropout regularization and used separate weight matrices for the input embedding layer and the pre-softmax linear transformation, as we observed these choices led to better performing models.
|
| 341 |
+
|
| 342 |
+
# C ESTIMATING TRIAL OUTCOMES VIA BOOTSTRAP
|
| 343 |
+
|
| 344 |
+
Our tuning protocol corresponds to running trials with quasi-random hyperparameter values sampled uniformly from the search space until $K$ feasible trials are obtained, with $K$ depending on the workload. We then select the best trial, based on our statistic of interest, over those $K$ trials.
|
| 345 |
+
|
| 346 |
+
We used the following bootstrap procedure to estimate means and uncertainties of our tuning protocol. We ran $N > K$ trials, with $N$ depending on the workload. Then, for each bootstrap sample, we resampled the dataset of $N$ trials with replacement and computed our statistic on the first $K$ trials of the resampled dataset. We collected 100 such bootstrap samples each time, and from those computed the means, $5 ^ { \mathrm { t h } }$ percentiles, and $9 5 ^ { \mathrm { t h } }$ percentiles of the bootstrap distribution. We used this procedure to generate the means and error bars for each plot.
|
| 347 |
+
|
| 348 |
+
Simple CNN on Fashion MNIST used $( K , N ) \ = \ ( 1 0 0 , 5 0 0 )$ ; ResNet-32 on CIFAR-100 used $( K , \mathbf { \bar { \cal { N } } } ) = ( 1 0 0 , 5 0 0 )$ ; ResNet-50 on ImageNet used $( K , N ) = ( 5 0 , 2 5 0 )$ ; Transformer on LM1B used $( K , N ) = ( 5 0 , 1 0 0 )$ ; VGG on CIFAR-10 with our code used $( K , N ) = ( 5 0 , 2 5 0 )$ for tuning the learning rate schedule and $( K , N ) = ( 1 0 0 , 5 0 0 )$ for tuning the learning rate schedule, $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon \}$ , and $L _ { 2 }$ regularization; CNN on CIFAR-10 used $( K , N ) = ( 1 0 0 , 5 0 0 )$ ; LSTM on War and Peace used $( K , \bar { N } ) = ( 1 0 , 5 0 )$ for tuning just the learning rate and $( K , N ) \stackrel { } { = } ( 1 0 0 , 5 0 0 )$ for tuning the learning rate schedule and $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon \}$ .
|
| 349 |
+
|
| 350 |
+
The sole exceptions to this bootstrap procedure are the two left panels of Figure 3, for which we used a similar procedure to Wilson et al. (2017) to ensure comparability. For each optimizer, we selected the trial that minimized validation error in our final search space and ran the same hyperparameter values 5 times, reporting the mean, minimum, and maximum test error over those 5 runs in Figure 3. This is slightly different to Wilson et al. (2017), who chose the trial that minimized training error and reported validation error. When tuning the learning rate and $\{ \gamma , \epsilon \}$ , we used 24 trials per optimizer in the initial search space (which we used to select the final search space), and 16 trials per optimizer in the final search space.
|
| 351 |
+
|
| 352 |
+
# D HYPERPARAMETER SEARCH SPACES
|
| 353 |
+
|
| 354 |
+
When tuning hyperparameters over a large range, we found that our search could sometimes be made more efficient if we parametrized the search space in a way that decorrelated the axes of the space. For example, with MOMENTUM and NESTEROV we observed a clear relationship between the initial learning rate $\eta _ { 0 }$ and the momentum parameter $\gamma$ ; smaller values of $\eta _ { 0 }$ require larger values of $\gamma$ for good performance, and vice versa. Indeed, Shallue et al. (2019) suggested that these optimizers are governed by the “effective learning rate” $\eta _ { \mathrm { e f f } } = \eta _ { 0 } / ( 1 - \gamma )$ , and inspired by this, we found that searching over $( \eta _ { 0 } , \eta _ { \mathrm { e f f } } )$ instead of $( \eta _ { 0 } , \gamma )$ usually led to a more efficient hyperparameter search. Similarly, with ADAM and NADAM we observed a relationship between the initial learning rate $\alpha _ { 0 }$ and the $\epsilon$ parameter; larger values of $\alpha _ { 0 }$ require larger values of $\epsilon$ for good performance, and vice versa. This is not surprising given the analysis in Appendix A that showed that, for large $\epsilon$ , $\alpha _ { 0 } / \epsilon$ is analogous to the effective learning rate of ADAM and NADAM. We found that searching over $( \epsilon , \alpha _ { 0 } / \epsilon \bar { ) }$ was usually more efficient than searching over $( \epsilon , \alpha _ { 0 } )$ . We used these techniques in a subset of our experiments.
|
| 355 |
+
|
| 356 |
+
Below we report the search spaces used for our experiments. We include both the initial search spaces used to refine the search spaces, and the final spaces used to generate the plots. When only one search space was used, we denote the initial space as final. $\eta _ { 0 } , \alpha _ { 0 } , 1 - \gamma , 1 - \beta _ { 1 } , 1 - \beta _ { 2 } , \epsilon$ $\epsilon$ and combinations thereof are always tuned on a log scale. The number of samples from each search space is specified in Appendix C.
|
| 357 |
+
|
| 358 |
+
# D.1 CNN ON FASHION MNIST
|
| 359 |
+
|
| 360 |
+
We used linear learning rate decay for all experiments. We tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor within $\{ 1 0 ^ { - 3 } , \dot { 1 } 0 ^ { - 2 } , 1 \dot { 0 } ^ { - 1 } \}$ . We did not use $L _ { 2 }$ regularization or weight decay.
|
| 361 |
+
|
| 362 |
+
Table 3: SGD
|
| 363 |
+
|
| 364 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,102]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,101]</td></tr></table>
|
| 365 |
+
|
| 366 |
+
Table 4: MOMENTUM
|
| 367 |
+
|
| 368 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-γ</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,102]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-5,101]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr></table>
|
| 369 |
+
|
| 370 |
+
Table 5: NESTEROV
|
| 371 |
+
|
| 372 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-γ</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,102]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr></table>
|
| 373 |
+
|
| 374 |
+
Table 6: RMSPROP
|
| 375 |
+
|
| 376 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>1-p</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-5,101]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-5,1]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-10,10-5]</td></tr></table>
|
| 377 |
+
|
| 378 |
+
Table 7: ADAM
|
| 379 |
+
|
| 380 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-3,5 × 10-1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-9,10-5]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-5,10-1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-10,10-5]</td></tr></table>
|
| 381 |
+
|
| 382 |
+
Table 8: NADAM
|
| 383 |
+
|
| 384 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>0/e</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-10,1010]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-6,10-2]</td></tr></table>
|
| 385 |
+
|
| 386 |
+
# D.2 RESNET-32 ON CIFAR-10
|
| 387 |
+
|
| 388 |
+
We used linear learning rate decay for all experiments. We tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor $f$ within the values shown in the tables below. $\lambda _ { L _ { 2 } }$ denotes the $L _ { 2 }$ regularization coefficient.
|
| 389 |
+
|
| 390 |
+
Table 9: SGD
|
| 391 |
+
|
| 392 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,102]</td><td rowspan=1 colspan=1>{10-5,10-4,10-3,10-2}{</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr></table>
|
| 393 |
+
|
| 394 |
+
Table 10: MOMENTUM
|
| 395 |
+
|
| 396 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,102]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>{10-5,10-4,10-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-3,10-²,10-1}</td></tr></table>
|
| 397 |
+
|
| 398 |
+
Table 11: NESTEROV
|
| 399 |
+
|
| 400 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,102]</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>10-4</td><td rowspan=1 colspan=1>{10-3,10-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>{10-5,10-4,10-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr></table>
|
| 401 |
+
|
| 402 |
+
Table 12: RMSPROP
|
| 403 |
+
|
| 404 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-~</td><td rowspan=1 colspan=1>1-p</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-5,101]</td><td rowspan=1 colspan=1>10-4</td><td rowspan=1 colspan=1>{10-3,10-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-5,101]</td><td rowspan=1 colspan=1>{10-5,10-410-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-310-2,10-1}</td></tr></table>
|
| 405 |
+
|
| 406 |
+
Table 13: ADAM
|
| 407 |
+
|
| 408 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-3,5 × 10-1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-9,10-5]</td><td rowspan=1 colspan=1>10-4</td><td rowspan=1 colspan=1>{10-3,10-210-1</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-3,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-5,101]</td><td rowspan=1 colspan=1>{10-5,10-410-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-310-2,10-1}</td></tr></table>
|
| 409 |
+
|
| 410 |
+
Table 14: NADAM
|
| 411 |
+
|
| 412 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>a0/e</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>1-β2</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入L2</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>{10-5,10-410-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-310-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-²,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[1,104]</td><td rowspan=1 colspan=1>{10-5,10-410-3,10-2}</td><td rowspan=1 colspan=1>{10-4,10-310-²,10-1}</td></tr></table>
|
| 413 |
+
|
| 414 |
+
# D.3 RESNET-50 ON IMAGENET
|
| 415 |
+
|
| 416 |
+
We used linear learning rate decay for all experiments. We tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor $f$ within the values shown in the tables below. $\lambda _ { \mathrm { w d } }$ denotes the weight decay coefficient and $\tau$ denotes the label smoothing coefficient.
|
| 417 |
+
|
| 418 |
+
Table 15: SGD
|
| 419 |
+
|
| 420 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,101]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>{0,10-²,10-1}</td><td rowspan=1 colspan=1>{0,10-2,10-1}{10-4,10-3,10-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[1,102]</td><td rowspan=1 colspan=1>[10-4,10-3]</td><td rowspan=1 colspan=1>10-1</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr></table>
|
| 421 |
+
|
| 422 |
+
Table 16: MOMENTUM
|
| 423 |
+
|
| 424 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>{0,10-2,10-1}</td><td rowspan=1 colspan=1>{0,10-2,10-1]{10-4,10-3,10-2,10-1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,10-3]</td><td rowspan=1 colspan=1>10-2</td><td rowspan=1 colspan=1>{10-4,10-3,10-²,10-1}</td></tr></table>
|
| 425 |
+
|
| 426 |
+
Table 17: NESTEROV
|
| 427 |
+
|
| 428 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>{0,10-2,10-1}</td><td rowspan=1 colspan=1>10-3</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-3]</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>{10-4,10-3,10-²,10-1}</td></tr></table>
|
| 429 |
+
|
| 430 |
+
Table 18: RMSPROP
|
| 431 |
+
|
| 432 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no/e</td><td rowspan=1 colspan=1>1-~</td><td rowspan=1 colspan=1>1-p</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>0.1</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>{0,10-2,10-1}</td><td rowspan=1 colspan=1>10-3</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>0.1</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-8,10-3]</td><td rowspan=1 colspan=1>[10-4,10-3]</td><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>{10-4,10-310-2,10-1}</td></tr></table>
|
| 433 |
+
|
| 434 |
+
Table 19: ADAM
|
| 435 |
+
|
| 436 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao/e</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[1,102]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[1,104]</td><td rowspan=1 colspan=1>[10-5,10-3]</td><td rowspan=1 colspan=1>{0,10-2,10-1}</td><td rowspan=1 colspan=1>10-3</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[1,102]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-²,102]</td><td rowspan=1 colspan=1>10-4</td><td rowspan=1 colspan=1>10-1</td><td rowspan=1 colspan=1>{10-4,10-310-2,10-1}</td></tr></table>
|
| 437 |
+
|
| 438 |
+
Table 20: NADAM
|
| 439 |
+
|
| 440 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>a0/∈</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入wd</td><td rowspan=1 colspan=1>T</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-1,103]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-2,1010]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>{0,10-2,10-1}</td><td rowspan=1 colspan=1>10-3</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[1,102]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[103,107]</td><td rowspan=1 colspan=1>10-4</td><td rowspan=1 colspan=1>10-1</td><td rowspan=1 colspan=1>10-3</td></tr></table>
|
| 441 |
+
|
| 442 |
+
# D.4 TRANSFORMER ON LM1B
|
| 443 |
+
|
| 444 |
+
We used linear learning rate decay for all experiments. We tuned the number of decay steps within $[ 0 . 5 , 1 . 0 ]$ times the number of training steps and the learning rate decay factor within $\{ 1 0 ^ { - 4 } , \dot { 1 } 0 ^ { - 3 } , 1 \dot { 0 } ^ { - 2 } , 1 0 ^ { - 1 } , 1 \}$ .
|
| 445 |
+
|
| 446 |
+
Table 21: SGD
|
| 447 |
+
|
| 448 |
+
<table><tr><td></td><td>mo</td></tr><tr><td>final</td><td>[10-4,10-1]</td></tr></table>
|
| 449 |
+
|
| 450 |
+
Table 22: MOMENTUM
|
| 451 |
+
|
| 452 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-~</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr></table>
|
| 453 |
+
|
| 454 |
+
Table 23: NESTEROV
|
| 455 |
+
|
| 456 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-4,1]</td></tr></table>
|
| 457 |
+
|
| 458 |
+
Table 24: RMSPROP
|
| 459 |
+
|
| 460 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>1-p</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,101]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-12,1010]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-6,10-2]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-7,10-1]</td></tr></table>
|
| 461 |
+
|
| 462 |
+
Table 25: ADAM
|
| 463 |
+
|
| 464 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β2</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>[10-3,5×10-1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-9,10-5]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,10-2]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-1]</td><td rowspan=1 colspan=1>[10-7,10-2]</td></tr></table>
|
| 465 |
+
|
| 466 |
+
Table 26: NADAM
|
| 467 |
+
|
| 468 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-1]</td><td rowspan=1 colspan=1>[10-9,10-5]</td></tr></table>
|
| 469 |
+
|
| 470 |
+
# D.5 VGG ON CIFAR-10 USING CODE FROM WILSON ET AL. (2017)
|
| 471 |
+
|
| 472 |
+
# D.5.1 GRID SEARCH OVER LEARNING RATE
|
| 473 |
+
|
| 474 |
+
We tuned over the same grid of initial learning rate values for each optimizer as Wilson et al. (2017). As in Wilson et al. (2017), we decayed the initial learning rate by a factor of 0.5 every 25 epochs and used a fixed $L _ { 2 }$ regularization coefficient of 0.0005.
|
| 475 |
+
|
| 476 |
+
# D.5.2 TUNING LEARNING RATE & $\{ \gamma , \epsilon \}$
|
| 477 |
+
|
| 478 |
+
We used our quasi-random tuning protocol to tune over the initial learning rate, MOMENTUM’s $\gamma$ , RMSPROP’s $\epsilon$ , and ADAM’s $\epsilon$ . As in Wilson et al. (2017), we decayed the initial learning rate by a factor of 0.5 every 25 epochs and used a fixed $L _ { 2 }$ regularization coefficient of 0.0005.
|
| 479 |
+
|
| 480 |
+
Table 27: SGD
|
| 481 |
+
|
| 482 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,101]</td></tr></table>
|
| 483 |
+
|
| 484 |
+
Table 28: MOMENTUM
|
| 485 |
+
|
| 486 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>1-γ</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-3,1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,101]</td><td rowspan=1 colspan=1>[10-1,1]</td></tr></table>
|
| 487 |
+
|
| 488 |
+
Table 29: RMSPROP
|
| 489 |
+
|
| 490 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>ao/</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>[10-2,104]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,102]</td><td rowspan=1 colspan=1>[10-1,101]</td></tr></table>
|
| 491 |
+
|
| 492 |
+
Table 30: ADAM
|
| 493 |
+
|
| 494 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>a0/e</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>[10-2,104]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[106,1010]</td><td rowspan=1 colspan=1>[10-1,101]</td></tr></table>
|
| 495 |
+
|
| 496 |
+
# D.6 VGG ON CIFAR-10 USING OUR CODE
|
| 497 |
+
|
| 498 |
+
We used linear learning rate decay for all experiments. We tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor within $\{ 1 0 ^ { - 4 } , \dot { 1 } 0 ^ { - 3 } , 1 \dot { 0 } ^ { - 2 } , 1 0 ^ { - 1 } \}$ .
|
| 499 |
+
|
| 500 |
+
# D.6.1 TUNING LEARNING RATE SCHEDULE
|
| 501 |
+
|
| 502 |
+
We fixed all optimizer hyperparameters excluding the learning rate to match those specified in Wilson et al. (2017). As in Wilson et al. (2017), we used a fixed $L _ { 2 }$ regularization coefficient of 0.0005.
|
| 503 |
+
|
| 504 |
+
Table 31: Learning rate search ranges.
|
| 505 |
+
|
| 506 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo (SGD)</td><td rowspan=1 colspan=1>no (MOMENTUM)</td><td rowspan=1 colspan=1>mo (RMSPROP)</td><td rowspan=1 colspan=1>αo (ADAM)</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,101]</td><td rowspan=1 colspan=1>[10-3,101]</td><td rowspan=1 colspan=1>[10-5,10-1]</td><td rowspan=1 colspan=1>[10-5,10-1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>1.0</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,10-2]</td><td rowspan=1 colspan=1>[10-5,10-1]</td></tr></table>
|
| 507 |
+
|
| 508 |
+
D.6.2 TUNING LEARNING RATE SCHEDULE & $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon , \lambda _ { L _ { 2 } } \}$
|
| 509 |
+
Table 32: SGD
|
| 510 |
+
|
| 511 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>no</td><td rowspan=1 colspan=1>入L2</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,101]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-3,10-1]</td></tr></table>
|
| 512 |
+
|
| 513 |
+
Table 33: MOMENTUM
|
| 514 |
+
|
| 515 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-2</td><td rowspan=1 colspan=1>入L2</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-1,1]</td><td rowspan=1 colspan=1>[10-3,10-1]</td></tr></table>
|
| 516 |
+
|
| 517 |
+
Table 34: RMSPROP
|
| 518 |
+
|
| 519 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao/</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>1-p</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入L2</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-1,1]</td><td rowspan=1 colspan=1>[10-3,10-2]</td><td rowspan=1 colspan=1>[102,106]</td><td rowspan=1 colspan=1>[10-3,10-1]</td></tr></table>
|
| 520 |
+
|
| 521 |
+
Table 35: ADAM
|
| 522 |
+
|
| 523 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>a0/e</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>入L2</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-2,101]</td><td rowspan=1 colspan=1>[10-1,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[106,1010]</td><td rowspan=1 colspan=1>[10-3,10-1]</td></tr></table>
|
| 524 |
+
|
| 525 |
+
# D.7 CNN ON CIFAR-100
|
| 526 |
+
|
| 527 |
+
# D.7.1 TUNING CONSTANT LEARNING RATE
|
| 528 |
+
|
| 529 |
+
We fixed all optimizer hyperparameters excluding the learning rate to match those specified in Schneider et al. (2019).
|
| 530 |
+
|
| 531 |
+
Table 36: Learning rate search ranges.
|
| 532 |
+
|
| 533 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>n (SGD)</td><td rowspan=1 colspan=1>η (MOMENTUM)</td><td rowspan=1 colspan=1>α (ADAM)</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,1]</td><td rowspan=1 colspan=1>[10-3,10-2]</td><td rowspan=1 colspan=1>[10-4,10-3]</td></tr></table>
|
| 534 |
+
|
| 535 |
+
# D.7.2 TUNING LEARNING RATE SCHEDULE
|
| 536 |
+
|
| 537 |
+
We used linear learning rate decay, and tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor within $\{ 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , \dot { 1 0 } ^ { - 2 } , 1 0 ^ { - 1 } \}$ .
|
| 538 |
+
|
| 539 |
+
Table 37: Learning rate search ranges.
|
| 540 |
+
|
| 541 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo (SGD)</td><td rowspan=1 colspan=1>n0 (MOMENTUM)</td><td rowspan=1 colspan=1>αo (ADAM)</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,1]</td><td rowspan=1 colspan=1>[10-3,10-1]</td><td rowspan=1 colspan=1>[10-4,10-3]</td></tr></table>
|
| 542 |
+
|
| 543 |
+
# D.7.3 TUNING CONSTANT LEARNING RATE & $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon \}$
|
| 544 |
+
|
| 545 |
+
For SGD, we reused the results from Appendix D.7.1, since there were no additional hyperparameters to tune.
|
| 546 |
+
|
| 547 |
+
Table 38: MOMENTUM
|
| 548 |
+
|
| 549 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>m</td><td rowspan=1 colspan=1>1-</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-3,1]</td></tr></table>
|
| 550 |
+
|
| 551 |
+
Table 39: ADAM
|
| 552 |
+
|
| 553 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>α/e</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β2</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,10-2]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-10,10-10]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,10-1]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10²,106]</td></tr></table>
|
| 554 |
+
|
| 555 |
+
# D.7.4 TUNING LEARNING RATE SCHEDULE & $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon \}$
|
| 556 |
+
|
| 557 |
+
We used linear learning rate decay, and tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor within $\{ 1 0 ^ { - 4 } , 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , \hat { 1 0 } ^ { - 1 } \}$ . For SGD, we reused the results from Appendix D.7.2, since there were no additional hyperparameters to tune.
|
| 558 |
+
|
| 559 |
+
Table 40: MOMENTUM
|
| 560 |
+
|
| 561 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-2</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-2,1]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-3,10-1]</td><td rowspan=1 colspan=1>[10-3,10-1]</td></tr></table>
|
| 562 |
+
|
| 563 |
+
Table 41: ADAM
|
| 564 |
+
|
| 565 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>a0/e</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>1-β2</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-1,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10²,106]</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,101]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>[10²,106]</td></tr></table>
|
| 566 |
+
|
| 567 |
+
# D.8 LSTM ON WAR AND PEACE
|
| 568 |
+
|
| 569 |
+
D.8.1 TUNING CONSTANT LEARNING RATE
|
| 570 |
+
|
| 571 |
+
Table 42: SGD
|
| 572 |
+
|
| 573 |
+
<table><tr><td></td><td>m</td></tr><tr><td>final</td><td>[10-2,101]</td></tr></table>
|
| 574 |
+
|
| 575 |
+
Table 43: MOMENTUM
|
| 576 |
+
|
| 577 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>n</td><td rowspan=1 colspan=1>1-Y</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>0.99</td></tr></table>
|
| 578 |
+
|
| 579 |
+
Table 44: ADAM
|
| 580 |
+
|
| 581 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>α/e</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β</td><td rowspan=1 colspan=1>E</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-5,10-2]</td><td rowspan=1 colspan=1>0.9</td><td rowspan=1 colspan=1>0.999</td><td rowspan=1 colspan=1>10-8</td></tr></table>
|
| 582 |
+
|
| 583 |
+
# D.8.2 TUNING LEARNING RATE SCHEDULE & $\{ \gamma , \beta _ { 1 } , \beta _ { 2 } , \epsilon \}$
|
| 584 |
+
|
| 585 |
+
We used linear learning rate decay, and tuned the number of decay steps within [0.5, 1.0] times the number of training steps and the learning rate decay factor $f$ within the values shown in the tables below.
|
| 586 |
+
|
| 587 |
+
Table 45: SGD
|
| 588 |
+
|
| 589 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>m</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-3,101]{</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[1,101]</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr></table>
|
| 590 |
+
|
| 591 |
+
Table 46: MOMENTUM
|
| 592 |
+
|
| 593 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>mo</td><td rowspan=1 colspan=1>1-γ</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-4,1]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>{10-4,10-3,10-²,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[10-1,101]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>{10-4,10-3,10-²,10-1}</td></tr></table>
|
| 594 |
+
|
| 595 |
+
Table 47: ADAM
|
| 596 |
+
|
| 597 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>ao/e</td><td rowspan=1 colspan=1>1-β1</td><td rowspan=1 colspan=1>1-β2</td><td rowspan=1 colspan=1>E</td><td rowspan=1 colspan=1>f</td></tr><tr><td rowspan=1 colspan=1>initial</td><td rowspan=1 colspan=1>[10-2,104]</td><td rowspan=1 colspan=1>[10-3,1]</td><td rowspan=1 colspan=1>[10-4,10-1]</td><td rowspan=1 colspan=1>[10-10,1010]</td><td rowspan=1 colspan=1>{10-4,10-3,10-2,10-1}</td></tr><tr><td rowspan=1 colspan=1>final</td><td rowspan=1 colspan=1>[1,102]</td><td rowspan=1 colspan=1>[10-2,1]</td><td rowspan=1 colspan=1>0.999</td><td rowspan=1 colspan=1>[1,104]</td><td rowspan=1 colspan=1>10-3</td></tr></table>
|
| 598 |
+
|
| 599 |
+
# CNN on CIFAR-100 with Momentum
|
| 600 |
+
|
| 601 |
+

|
| 602 |
+
Figure 5: Example plot of final validation error projected onto the axes of the hyperparameter space. We consider this search space to be appropriate because the optimal values are away from the search space boundaries.
|
| 603 |
+
|
| 604 |
+

|
| 605 |
+
Figure 6: Validation performance of the best trial mostly converges with as few as $2 ^ { 4 }$ hyperparameter tuning trials for Transformer on LM1B. Shaded regions indicate $5 ^ { \mathrm { t h } }$ and $9 5 ^ { \mathrm { t h } }$ percentiles estimated with bootstrap sampling (see Appendix C). The search spaces can be found in Appendix D.4.
|
| 606 |
+
|
| 607 |
+

|
| 608 |
+
Figure 7: Validation performance of the best trial mostly converges with as few as $2 ^ { 4 }$ hyperparameter tuning trials for ResNet-50 in ImageNet. Shaded regions indicate $5 ^ { \mathrm { t h } }$ and $9 5 ^ { \mathrm { t h } }$ percentile estimated with bootstrap sampling (see Appendix C). The search spaces can be found in D.3.
|
| 609 |
+
|
| 610 |
+

|
| 611 |
+
Figure 8: Test performance of the best trial mostly converges with as few as $2 ^ { 3 }$ hyperparameter tuning trials for a 2-layer LSTM on War and Peace. Shaded regions indicate $5 ^ { \mathrm { t h } }$ and ${ \dot { 9 } } { \dot { 5 } } ^ { \mathrm { t h } }$ percentile estimated with bootstrap sampling (see Appendix C). The search spaces can be found in D.8.2.
|
| 612 |
+
|
| 613 |
+

|
| 614 |
+
Figure 9: The relative performance of optimizers is consistent with the inclusion relationships when we select for lowest training loss. Note that SGD, ADAM, and NADAM for ResNet-50 on ImageNet used label smoothing in their final search spaces (see Section D.3), which makes their loss values incommensurate with the other optimizers. This is because their final search spaces were optimized to minimize validation error—if we had optimized their search spaces to minimize training error instead, we would not have used label smoothing, and we expect their training loss values would be consistent with the inclusion relationships.
|
| 615 |
+
|
| 616 |
+

|
| 617 |
+
Figure 10: Our results confirming the relevance of optimizer inclusion relationships do not depend on the exact step budgets or error targets we chose.
|
parse/train/HygrAR4tPS/HygrAR4tPS_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygrAR4tPS/HygrAR4tPS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygrAR4tPS/HygrAR4tPS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1erHoR5t7/S1erHoR5t7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1erHoR5t7/S1erHoR5t7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SylVJTNKDr/SylVJTNKDr.md
ADDED
|
@@ -0,0 +1,368 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ENTROPY MINIMIZATION IN EMERGENT LANGUAGES
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
There is a growing interest in studying the languages emerging when neural agents are jointly trained to solve tasks requiring communication through a discrete channel. We investigate here the information-theoretic complexity of such languages, focusing on the basic two-agent, one-exchange setup. We find that, under common training procedures, the emergent languages are subject to an entropy minimization pressure that has also been detected in human language, whereby the mutual information between the communicating agent’s inputs and the messages is minimized, within the range afforded by the need for successful communication. This pressure is amplified as we increase communication channel discreteness. Further, we observe that stronger discrete-channel-driven entropy minimization leads to representations with increased robustness to overfitting and adversarial attacks. We conclude by discussing the implications of our findings for the study of natural and artificial communication systems.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
There has recently been much interest in the analysis of the communication systems arising when deep network agents that interact to accomplish a goal are allowed to exchange language-like discrete messages (Lazaridou et al., 2016; Havrylov & Titov, 2017; Choi et al., 2018; Lazaridou et al., 2018). Understanding the emergent protocol is important if we want to eventually develop agents capable of interacting with each other and with us through language (Mikolov et al., 2016; Chevalier-Boisvert et al., 2019). The pursuit might also provide comparative evidence about how core properties of human language itself have evolved (Kirby, 2002; Hurford, 2014; Graesser et al., 2019). While earlier studies reported ways in which deep agent protocols radically depart from human language (Kottur et al., 2017; Bouchacourt & Baroni, 2018; Chaabouni et al., 2019; Lowe et al., 2019), we show here that emergent communication shares an important property of the latter, namely a tendency towards entropy minimization.
|
| 12 |
+
|
| 13 |
+
Converging evidence indicates that efficiency pressures are at work in language and other biological communication systems (Ferrer i Cancho et al., 2013; Gibson et al., 2019). One particular aspect of communicative efficiency, that has been robustly observed across many semantic domains, is a tendency to minimize lexicon entropy, to the extent allowed by the counteracting need for accuracy (Zaslavsky et al., 2018; 2019). For example, while most languages distinguish grandmothers from grandfathers, very few have separate words for mother- and father-side grandmothers, as the latter distinction would make communication only slightly more accurate at the cost of an increase in lexicon complexity (Kemp & Regier, 2012). We show here, in two separate games designed to precisely measure such property, that the protocol evolved by interacting deep agents is subject to the same complexity minimization pressure.
|
| 14 |
+
|
| 15 |
+
Entropy minimization in natural language has been connected to the Information Bottleneck principle (Tishby et al., 1999). In turn, complexity reduction due to the Information Bottleneck provides a beneficial regularization effect on the learned representations (Fischer, 2019; Alemi et al., 2016; Achille & Soatto, 2018a;b). It is difficult to experimentally verify the presence of such effect in human languages, but we can look for it in our emergent language simulations. We confirm that, when relaxing channel discreteness, the entropy minimization property no longer holds, and the system becomes less robust against overfitting and adversarial noise.
|
| 16 |
+
|
| 17 |
+
# 2 GENERAL FRAMEWORK
|
| 18 |
+
|
| 19 |
+
We establish our results in the context of signaling games (Lewis, 1969), as introduced to the current language emergence literature by Lazaridou et al. (2016) and adopted in several later studies (Havrylov & Titov, 2017; Bouchacourt & Baroni, 2018; Lazaridou et al., 2018). There are two agents, Sender and Receiver, provided with individual inputs at the beginning of each episode. Sender sends a single message to Receiver, and Receiver has to perform an action based on its own input and the received message. Importantly, there is no direct supervision on the message protocol. We consider agents that are deterministic functions of their inputs (after training).
|
| 20 |
+
|
| 21 |
+
As an example, consider the task of communicating a $n$ -bit number, sampled uniformly at random from $0 . . . 2 \sp n - 1$ . The full number is shown to Sender, and its $k$ $0 \leq k \leq n \}$ least-significant bits are also revealed to Receiver. Receiver has to output the full number, based on the message from Sender and its own input. Would the Sender transmit the entire number through its message? In this case, the protocol would be “complex,” encoding $n$ bits. Alternatively, Sender could only encode the bits that Receiver does not know, and let Receiver fill in the rest by itself. This emergent protocol would be “simple,” encoding less information about the number. We find experimentally that, once the agents are successfully trained to jointly solve the task, the emergent protocol minimizes the entropy of the messages or, equivalently in our setup, the mutual information between Sender’s input and messages. In other words, the agents consistently approximate the simplest successful protocol (in the current example, the one transmitting $\approx n - k$ bits).
|
| 22 |
+
|
| 23 |
+
After training, we can connect the entropies of Sender and Receiver inputs $i _ { s }$ and $i _ { r }$ , messages $m = { \mathit { S } } ( i _ { s } )$ , Receiver’s output (the chosen action) $\pmb { o } = R ( \pmb { m } , \pmb { i } _ { r } )$ , and ground-truth outputs $\imath$ by using standard inequalities (Cover & Thomas, 2012):
|
| 24 |
+
|
| 25 |
+
$$
|
| 26 |
+
H ( i _ { s } ) \geq H ( S ( i _ { s } ) ) = H ( m ) \geq H ( m | i _ { r } ) \geq H ( R ( m , i _ { r } ) | i _ { r } ) = H ( o | i _ { r } ) \approx H ( l | i _ { r } )
|
| 27 |
+
$$
|
| 28 |
+
|
| 29 |
+
(Note that, since agents are deterministic after training, $H ( \pmb { { m } } ) = I ( \pmb { { i } } _ { s } ; \pmb { { m } } )$ . We can then use these quantities interchangeably.) Our empirical measurements indicate that the entropy of the messages $_ { \mathbf { \nabla } } \mathbf { m }$ in the emergent protocol tends to approach the lower bound: $H ( { \pmb m } ) \bar { H ( { \pmb l } | { \pmb i } _ { r } ) }$ , even if the upper-bound $H ( i _ { s } )$ is far.
|
| 30 |
+
|
| 31 |
+
In our experiments, we observe that when the amount of information that Receiver needs is reduced, without changing other parameters, the emergent protocol becomes simpler (lower entropy). In other words, the emergent protocol adapts to minimize the information that passes through it.
|
| 32 |
+
|
| 33 |
+
We will release the code for our experiments upon acceptance.
|
| 34 |
+
|
| 35 |
+
# 3 METHODOLOGY
|
| 36 |
+
|
| 37 |
+
# 3.1 GAMES
|
| 38 |
+
|
| 39 |
+
We study two signaling games. In Guess Number, the agents are trained to recover an integerrepresenting vector with uniform Bernoulli-distributed components. This simple setup gives us full control over the amount of information needed to solve the task. The second game, Image Classification, uses more naturalistic data, as the agents are jointly trained to classify pairs of hand-written MNIST digits (LeCun et al., 1998b).
|
| 40 |
+
|
| 41 |
+
Guess Number We draw an 8-bit integer $z$ , $0 \leq z \leq 2 5 5$ uniformly at random, by sampling its 8 bits independently from the uniform Bernoulli distribution. All bits are revealed to Sender as a 8-dimensional binary vector $i _ { s }$ . The last $k$ bits are revealed to Receiver $0 \leq k \leq 8 $ ) as its input $i _ { r }$ . Sender outputs a single-symbol message $_ { \mathbf { \nabla } } \mathbf { m }$ to Receiver. In turn, Receiver outputs a vector $^ o$ that recovers all the bits of $z$ and should be equal to $i _ { s }$ .
|
| 42 |
+
|
| 43 |
+
In this game, Sender has a linear layer that maps the input vector $i _ { s }$ to a hidden representation of size 10, followed by a leaky ReLU activation. Next is a linear layer followed by a softmax over the vocabulary. Receiver linearly maps both its input $i _ { r }$ and the message to 10-dimensional vectors, concatenates them, applies a fully connected layer with output size 20, followed by a leaky ReLU. Finally, another linear layer and a sigmoid nonlinearity are applied. When training with REINFORCE and the Stochastic Computation graph approach (see Section 3.2), we increase the hidden layer sizes threefold, as this leads to more robust convergence.
|
| 44 |
+
|
| 45 |
+
Image Classification In this game, the agents are jointly trained to classify 28x56 images of two MNIST digits, stacked side-by-side (more details in Appendix). Unlike Guess Number, Receiver has no side input. Instead, we control the informational complexity of Receiver’s task by controlling the size of its output space, i.e., the number of labels we assign to the images. To do so, we group all two-digit sequences 00..99 into $N _ { l } \in \{ 2 , 4 , 1 0 , 2 0 , 2 5 , 5 0 , 1 0 0 \}$ equally-sized classes.
|
| 46 |
+
|
| 47 |
+
In Sender, input images are embedded a LeNet-1 instance (LeCun et al., 1990) into 400-dimensional vectors. These embedded vectors are passed to a fully connected layer, followed by a softmax selecting a vocabulary symbol. Receiver embeds the received messages into 400-dimensional vectors, passed to a fully connected layer with a softmax activation returning the class probabilities.
|
| 48 |
+
|
| 49 |
+
We report hyperparameter grids in Appendix. In the following experiments, we fix vocabulary to 1024 symbols (experiments with other vocabulary sizes, multi-symbol messages, and larger architectures are reported in Appendix). No parts of the agents are pre-trained or shared. The optimized loss depends on the gradient estimation method used (see Section 3.2). We denote it $\mathcal { L } ( o , l )$ , and it is a function of Receiver’s output $^ o$ and the ground-truth output $\imath$ . When training in Guess Number with REINFORCE, we use a $_ { 0 / 1 }$ loss: the agents get 0 only if all bits of $z$ were correctly recovered. When training with Gumbel-Softmax relaxation or the Stochastic Computation Graph approach, we use binary cross-entropy (Guess Number) and negative log-likelihood (Image Classification).
|
| 50 |
+
|
| 51 |
+
# 3.2 TRAINING WITH DISCRETE CHANNEL
|
| 52 |
+
|
| 53 |
+
Training to communicate with discrete messages is non-trivial, as we cannot back-propagate through the messages. Current language emergence work mostly uses Gumbel-Softmax relaxation (e.g. (Havrylov & Titov, 2017)) or REINFORCE (e.g. (Lazaridou et al., 2016)) to get gradient estimates. We also explore the Stochastic Computation Graph optimization approach. We plug the obtained gradient estimates into the Adam optimizer (Kingma & Ba, 2014).
|
| 54 |
+
|
| 55 |
+
Gumbel-Softmax relaxation Samples from the Gumbel-Softmax (Maddison et al., 2016; Jang et al., 2016) distribution (a) are reperameterizable, hence allow gradient-based training, and (b) approximate samples from the corresponding Categorical distribution. To get a sample that approximates an $n$ -dimensional Categorical distribution with probabilities $p _ { i }$ , we draw $n$ i.i.d. samples $g _ { i }$ from Gumbel(0,1) and use them to calculate a vector $\textbf { { y } }$ with components:
|
| 56 |
+
|
| 57 |
+
$$
|
| 58 |
+
y _ { i } = \frac { e x p \left[ ( g _ { i } + \log p _ { i } ) / \tau \right] } { \sum _ { j } e x p \left[ ( g _ { j } + \log p _ { j } ) / \tau \right] }
|
| 59 |
+
$$
|
| 60 |
+
|
| 61 |
+
where $\tau$ is the temperature hyperparameter. As $\tau$ tends to 0, the samples $\textbf { { y } }$ get closer to one-hot samples; as $\tau \to + \infty$ , the components $y _ { i }$ become uniform. During training, we use these relaxed samples as messages from Sender, making the entire Sender/Receiver setup differentiable.
|
| 62 |
+
|
| 63 |
+
REINFORCE by Williams (1992) is a standard reinforcement learning algorithm. In our setup, it estimates the gradient of the expectation of the loss $\mathcal { L } ( o , l )$ w.r.t. the parameter vector $\pmb \theta$ as follows:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\mathbb { E } _ { i _ { s } , i _ { r } } \mathbb { E } _ { m \sim S ( i _ { s } ) , o \sim R ( m , i _ { r } ) } \left[ ( \mathcal { L } ( o ; l ) - b ) \nabla _ { \theta } \log P _ { \theta } ( m , o ) \right]
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
The expectations are estimated by sampling $_ { m }$ from Sender and, after that, sampling $^ o$ from Receiver. We use the running mean baseline $b$ (Greensmith et al., 2004; Williams, 1992) as a control variate. We adopt the common trick to add an entropy regularization term (Williams & Peng, 1991; Mnih et al., 2016) that favors higher entropy. We impose entropy regularization on the outputs of the agents with coefficients $\lambda _ { s }$ (Sender) and $\lambda _ { r }$ (Receiver).
|
| 70 |
+
|
| 71 |
+
Stochastic Computation Graph In our setup, the gradient estimate approach of Schulman et al. (2015) reduces to computing the gradient of the following surrogate function:
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\mathbb { E } _ { i _ { s } , i _ { r } } \mathbb { E } _ { m \sim S ( i _ { s } ) } \left[ \mathcal { L } ( o ; l ) + s t o p \_ g r a d i e n t \left( \mathcal { L } ( o ; l ) - b \right) \log P _ { \theta } ( m ) \right]
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
Here, we do not sample Receiver actions: Its parameter gradients are obtained with standard backpropagation (the first term in Eq. 4). Sender’s messages are sampled, and its gradient are calculated akin to REINFORCE (the second term in Eq. 4). As in REINFORCE, we apply entropy-favoring regularization on Sender’s output (with coefficient $\lambda _ { s }$ ) and use the mean baseline $b$ .
|
| 78 |
+
|
| 79 |
+
Role of entropy regularization As we mentioned above, when training with REINFORCE and Stochastic Computation Graph, we include a (standard) entropy regularization term in the loss which explicitly maximizes entropy of Sender’s output. Clearly, this term is at odds with the entropy minimization effect we observe. In our experiments, we found that high values of $\lambda _ { s }$ prevent communication success; on the other hand, small non-zero $\lambda _ { s }$ is crucial for successful training. In Section 4 we investigate the effect of $\lambda _ { s }$ on entropy minimization.
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
Figure 1: Guess Number: entropy of the messages $_ { \mathbf { \nabla } } \mathbf { m } _ { \mathbf { \nabla } }$ . Shaded regions mark standard deviation.
|
| 83 |
+
|
| 84 |
+
# 3.3 EXPERIMENTAL PROTOCOL
|
| 85 |
+
|
| 86 |
+
In Guess Number, we use all $2 ^ { 8 }$ possible inputs for training, early stopping and analysis. In Image Classification, we train on random image pairs from the MNIST training data, and use image pairs from the MNIST held-out set for validation. We select the runs that achieved a high level of performance (training accuracy above 0.99 for Guess Number and validation accuracy above 0.98 for Image Classification), thus studying typical agent behavior provided they succeeded at the game.
|
| 87 |
+
|
| 88 |
+
At test time, we select the Sender’s message symbol greedily, hence the messages are discrete and Sender represents a (deterministic) function $S$ of its input $i _ { s }$ , $m = S ( i )$ . Calculating the entropy $H ( m )$ of the distribution of discrete messages $_ { \mathbf { \nabla } } \mathbf { m }$ is straightforward. In Guess Number, we enumerate all 256 possible values of $z$ as inputs, save the messages from Sender and calculate entropy $H ( m )$ For Image Classification, we sample image pairs from the MNIST hold-out set.
|
| 89 |
+
|
| 90 |
+
The upper bound on $H ( m )$ is as follow: $H _ { m a x } = 8$ bits (bounded by $H ( i _ { s } ) )$ in Guess Number, and $H _ { m a x } = 1 0$ bits (bounded by vocabulary size) in Image Classification. Its lower bound is equal to $H _ { m i n } = H ( l | i _ { r } ) = 8 - k$ bits for Guess number. In Image Classification, communication can only succeed if $H ( m )$ is not less than $H ( l )$ , i.e., $H _ { m i n } = H ( l ) = \log _ { 2 } N _ { l }$ , with $N _ { l }$ the number of equally-sized classes we split the images into.
|
| 91 |
+
|
| 92 |
+
# 4 EXPERIMENTS
|
| 93 |
+
|
| 94 |
+
# 4.1 ENTROPY MINIMIZATION
|
| 95 |
+
|
| 96 |
+
Guess Number In Figure 1, the horizontal axes span the number of bits of $z$ that Receiver lacks, $8 - k$ . The vertical axis reports the information content of the protocol, measured by messages entropy
|
| 97 |
+
|
| 98 |
+

|
| 99 |
+
Figure 2: Image Classification: entropy of the messages $_ { m }$ in function of log number of target classes, $N _ { l }$ . Shaded regions mark standard deviation.
|
| 100 |
+
|
| 101 |
+
$H ( m )$ . Each integer on the horizontal axis corresponds to a game configuration, and for each such configuration we aggregate multiple (successful) runs with different hyperparameters and random seeds. $H _ { m i n }$ indicates the minimal amount of bits Sender has to send in a particular configuration for the task to be solvable. The upper bound (not shown) is $H _ { m a x } = 8$ bits.
|
| 102 |
+
|
| 103 |
+
Consider first the configurations where Receiver’s input is insufficient to answer correctly (at least one binary digit hidden, $k \leq 7 ,$ ). From Figure 1a, we observe that the transmitted information is strictly monotonically increasing with the number of binary digits hidden from Receiver. Thus, even if Sender sees the very same input in all configurations, a more nuanced protocol is only developed when it is necessary. Moreover, the entropy $H ( m )$ (equivalently: the transmitted information) stays close to the lower bound. This entropy minimization property holds for all the considered training approaches across all configurations.
|
| 104 |
+
|
| 105 |
+
Consider next the configuration where Receiver is getting the whole integer $z$ as its input $k = 8$ , the leftmost configuration in Figure 1, corresponding to 0 on $\mathbf { X }$ axis). Based on the observations above, one would expect that the protocol would approach zero entropy in this case (as no information needs to be transmitted). However, the measurements indicate that the protocol is encoding considerably more information. It turns out that this information is entirely ignored by Receiver. To demonstrate this, we fed all possible distinct inputs to Sender, retrieved the corresponding messages, and shuffled them to destroy any information about the inputs they might carry. The shuffled messages were then passed to Receiver alongside with its own (un-shuffled) inputs. The overall performance was not affected by this manipulation, confirming the hypothesis that Receiver ignores messages. We conclude that in this case there is no apparent entropy minimization pressure on Sender simply because there is no communication. The full experiment is reported in Appendix.
|
| 106 |
+
|
| 107 |
+
We further consider the effect of various hyperparameters. In Figure 1b, we split the results obtained with Gumbel-Softmax by relaxation temperature. As discussed in Section 3.2, lower temperatures more closely approximate discrete communication, hence providing a convenient control of the level of discreteness imposed during training (recall that at test time we select the symbol greedily). The figure shows that lower temperatures consistently lead to lower $H ( m )$ values. This implies that, as we increase the “level of discreteness” at training, we get stronger entropy minimization pressures.
|
| 108 |
+
|
| 109 |
+
In Figures 1c & 1d, we report $H ( m )$ when training with Stochastic Graph Optimization and REINFORCE across degrees of entropy regularization. We report curves corresponding to $\lambda _ { s }$ values1 which converged in more than three configurations. With REINFORCE, we see a weak tendency for a higher $\lambda _ { s }$ to trigger higher entropy in the protocol (only violated at $\lambda _ { s } = 0 . 5$ ). However, message entropy stays generally close to the lower bound even in presence of strong exploration, which favors higher entropy in Sender’s output distribution.
|
| 110 |
+
|
| 111 |
+
Image Classification As the models are more complex, we only had consistent success when training with Gumbel-Softmax. In Figure 2a we aggregate all successful runs. The information encoded by the protocol grows as Receiver’s output requires more information. However, in all configurations, the transmitted information stays well below the 10-bit upper bound and tends to be close to $H _ { m i n }$
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
Figure 3: Learning in presence of random labels. GS (SM) indicates models trained with GumbelSoftmax (Softmax) channel. Linear are models with the channel removed.
|
| 115 |
+
|
| 116 |
+
A natural interpretation is that Sender prefers to take charge of image classification and directly pass information about the output label, rather than sending along a presumably more information-heavy description of the input. In Figure 2b, we split the runs by temperature. Again, we see that lower temperatures consistently lead to stronger entropy minimization pressures.
|
| 117 |
+
|
| 118 |
+
Summarizing, when communicating through a discrete channel, there is consistent pressure for the emergent protocol to encode as little information as necessary. This holds across games, training methods and hyperparameters. When training with Gumbel-Softmax, temperature controls the strength of this pressure, confirming the relation between entropy minimization and discreteness.
|
| 119 |
+
|
| 120 |
+
# 4.2 REPRESENTATION DISCRETENESS AND ROBUSTNESS
|
| 121 |
+
|
| 122 |
+
The entropy minimization effect we established in Section 4.1 indicates that a discrete representation will only store as much information as necessary to solve the task. This emergent behavior respects the “information bottleneck” principle (Tishby et al., 1999; Achille & Soatto, 2018a). The fact that lower training-time temperatures in Gumbel-Softmax optimization correlate with both higher discreteness and a tighter bottleneck (see Section 4.1) makes us further conjecture that discreteness is causally connected to the emergent bottleneck.
|
| 123 |
+
|
| 124 |
+
Interestingly, the same information-bottleneck principle has also been claimed to govern entropy minimization in natural language (Zaslavsky et al., 2018; 2019). The information-bottleneck effects in neural agents and natural language might be due to the same cause, namely discreteness of the communication. Further, we hypothesize that the emergent discrete information-bottleneck might have useful properties, since existing (continuous) architectures that explicitly impose a bottleneck pressure to provide a form of beneficial regularization are more robust to overfitting (Fischer, 2019) and adversarial attacks (Alemi et al., 2016; Fischer, 2019). We test here whether the expected regularization properties also emerge in our computational simulations (without any explicit pressure imposed through the cost function), and whether they are correlated with the degree of discreteness of the communication channel. If this connection exists, this also suggests that discreteness might be “beneficial” to human languages for the same reasons.
|
| 125 |
+
|
| 126 |
+
To assess our hypotheses, we consider the Image Classification game $N _ { l } = 1 0 $ ) in presence of randomly-shuffled training labels (the test set is untouched) (Zhang et al., 2016). This task allows us to explore whether the discrete communication bottleneck is associated to robustness to overfitting, and whether the latter depends on the level of discreteness (controlled by the temperature $\tau$ of the Gumbel-Softmax relaxation).2
|
| 127 |
+
|
| 128 |
+
We use the same architecture as before. The agents are trained with Gumbel-Softmax relaxation. However, for practicality, we do not switch to fully discrete communication at test time, only removing the noise component, thus effectively reducing Sender’s output to softmax with temperature. We refer to this architecture as GS.
|
| 129 |
+
|
| 130 |
+
We also consider two baseline architectures without relaxed discrete channel. In Linear, the fully connected output layer of Sender is directly connected to the linear embedding input of Receiver. Softmax (SM) places a softmax activation (with temperature) after Sender’s output layer and passes the result to Receiver. At test time, SM coincides with GS with the same temperature, but there was no discrete-sampling approximation during SM training.
|
| 131 |
+
|
| 132 |
+
We vary temperature and proportion of training examples with shuffled labels. We use temperatures $\tau = 1 . 0$ and $\tau = 1 0 . 0$ (the agents reach a test accuracy of 0.98 when trained with these temperatures on the original training set). SM with $\tau = 1 . 0$ and $\tau = 1 0 . 0$ behave similarly, hence we only report SM with $\tau = 1 . 0$ .
|
| 133 |
+
|
| 134 |
+
In Figure 3a we report training accuracy when all labels are shuffled. Linear and SM fit the random labels almost perfectly within the first 150 epochs. With $\tau = 1 0 . 0$ , GS achieves 0.8 accuracy within 200 epochs. When GS with $\tau = 1 . 0$ is considered, the agents only start to improve over random guessing after 150 epochs, and accuracy is well below 0.2 after 200 epochs. As expected, test set performance is at chance level (Figure 3b). In the next experiment, we shuffle labels for a randomly selected half of the training instances. Train and test accuracies are shown in Figures 3c and 3d, respectively. All models initially fit the true-label examples (train accuracy $\approx 0 . 5$ , test accuracy $\approx 0 . 9 7 ,$ ). With more training, the baselines and GS with $\tau = 1 0 . 0$ start (over)fitting the randomly labeled examples, too: train accuracy grows, while test accuracy falls. In contrast, GS with $\tau = 1 . 0$ does not fit random labels, and its test accuracy stays high. Note that SM patterns with Linear and high-temperature GS, showing that the training-time discretization noise in GS is instrumental for robustness to over-fitting.
|
| 135 |
+
|
| 136 |
+
We interpret the results as follows. To fully exploit their joint capacity for “successful” over-fitting, the agents need to coordinate label memorization. This requires passing large amounts of information through the channel. With a low temperature (more closely approximating a discrete channel), this is hard, due to stronger entropy minimization pressure. To test the hypothesis, we ran an experiment where all labels are shuffled and a layer of size $4 0 0 { \bf x } 4 0 0$ is either added to Sender (just before the channel) or to Receiver (just after the channel). We predict that, with higher $\tau$ (less discrete, less entropy minimization pressure), the training curves will be close, as the extra capacity can be used for memorization equally easy in both cases. With lower $\tau$ (better discrete approximation, more pressure), the accuracy curves will be more distant, as the extra capacity can only be successfully exploited for memorization when placed before the channel. Figures 3e & 3f borne out the prediction.
|
| 137 |
+
|
| 138 |
+
These experiments showed that increased channel discreteness makes it harder to pass large amounts of information through, and leads to increased robustness against overfitting. This supports our hypotheses that discreteness brings about a bottleneck that in turn has some beneficial properties, which might ultimately provide a motivation for why an emergent communication system should evolve towards discreteness.
|
| 139 |
+
|
| 140 |
+
# 5 RELATED WORK
|
| 141 |
+
|
| 142 |
+
We briefly reviewed studies of emergent deep agent communication and entropy minimization in human language in the introduction. We are not aware of earlier work that looks for this property in emergent communication, although Evtimova et al. (2018) used information theory to study protocol development during learning, and, closer to us, Kågebäck et al. (2018) studied the effect of explicitly adding a complexity minimization term to the cost function on an emergent color-naming system.
|
| 143 |
+
|
| 144 |
+
Discrete representations are explored in many places (e.g., van den Oord et al., 2017; Jang et al., 2016; Rolfe, 2016). However, these works focus on ways to learn discrete representations, rather than analyzing the properties of representations that are independently emerging on the side. Furthermore, our study also extends to the agents communicating with variable-length messages, produced and consumed by GRU (Cho et al., 2014) and Transformer (Vaswani et al., 2017) cells (see Appendix C.3). The sequential setup is specific to language, clearly distinguished from the settings studied in generic sparse-representation work.
|
| 145 |
+
|
| 146 |
+
Other studies, inspired by the informational bottleneck principle, control the complexity of neural representations by regulating their information content (Strouse & Schwab, 2017; Fischer, 2019; Alemi et al., 2016; Achille & Soatto, 2018a;b). While they externally impose the bottleneck, we observe that it is an intrinsic feature when learning to communicate through a discrete channel.
|
| 147 |
+
|
| 148 |
+
# 6 DISCUSSION
|
| 149 |
+
|
| 150 |
+
Entropy minimization is pervasive in human language, where it constitutes a specific facet of the more general pressure towards communication efficiency. We found that the same property consistently characterizes the protocol emerging in simulations where two neural networks learn to solve a task jointly through a discrete communication code.
|
| 151 |
+
|
| 152 |
+
In a comparative perspective, our results suggest that entropy minimization is a general property of discrete communication systems, independent of specific biological constraints humans are subject to. In particular, our analysis tentatively establishes a link between this property and the inherent difficulty of encoding information in discrete form (cf. the effect of adding a layer before or after the communication bottleneck in the overfitting experiment above).
|
| 153 |
+
|
| 154 |
+
Exploring entropy minimization in computational simulations provides a flexibility we lack when studying humans. For example, we uncovered here initial evidence that the communication bottleneck is acting as a good regularizer, making the joint agent system more robust to noise. This leads to an intriguing conjecture on the origin of language. Its discrete nature is often traced back to the fact that it allows us to produce an infinite number of expressions by combining a finite set of primitives (e.g., Berwick & Chomsky, 2016). However, it is far from clear that the need to communicate an infinite number of concepts could have provided the initial pressure to develop a discrete code. More probably, once such code independently emerged, it laid the conditions to develop an infinitely expressive language (Bickerton, 2014; Collier et al., 2014). Our work suggests that, because of its inherent regularizing effect, discrete coding is advantageous already when communication is about a limited number of concepts, providing an alternative explanation for its origin.
|
| 155 |
+
|
| 156 |
+
In the future, we would like to study more continuous domains, such as color maps, where perfect accuracy is not easily attainable, nor desirable. Will the networks find an accuracy/complexity trade-off similar to those attested in human languages? Will other core language properties claimed to be related to this trade-off, such as Zipfian frequency distributions (Ferrer i Cancho & Díaz-Guilera, 2007), concurrently emerge? We would also like to compare the performance of human subjects equipped with novel continuous vs. discrete communication protocols, adopting the methods of experimental semiotics (Galantucci, 2009). We expect discrete protocols to favor generalization and robustness.
|
| 157 |
+
|
| 158 |
+
Our results have implications for the efforts to evolve agents interacting with each other and with humans through a discrete channel. First, because of entropy minimization, we should not expect the agents to develop a richer protocol than the simplest one that will ensure accurate communication. For example, Bouchacourt & Baroni (2018) found that agents trained to discriminate pairs of natural images depicting instances of about 500 high-level categories, such as cats and dogs, developed a lexicon that does not denote such categories, but low-level properties of the image themselves. This makes sense from an entropy-minimization perspective, as talking about the 500 high-level categories demands $\log _ { 2 } 5 0 0$ bits of information, whereas many low-level strategies (e.g., discriminating average pixel intensity in the images) will only require transmitting a few bits. To have agents developing rich linguistic protocols, we must face them with varied challenges that truly demand them.
|
| 159 |
+
|
| 160 |
+
Second, the focus on a discrete protocol is typically motivated by the goal to develop machines eventually able to communicate with humans. Indeed, discrete messages are not required in multiagent scenarios where no human in the loop is foreseen (Sukhbaatar et al., 2016). Our results suggest that, long before agents reach the level of complexity necessary to converse with humans, there are independent reasons to encourage discreteness, as it provides a source of robustness in a noisy world. An exciting direction for future applied work will be to test, in more practical settings, the effectiveness of discrete communication as a general form of representation learning.
|
| 161 |
+
|
| 162 |
+
# REFERENCES
|
| 163 |
+
|
| 164 |
+
Alessandro Achille and Stefano Soatto. Information dropout: Learning optimal representations through noisy computation. IEEE TPAMI, 40(12):2897–2905, 2018a.
|
| 165 |
+
|
| 166 |
+
Alessandro Achille and Stefano Soatto. Emergence of invariance and disentanglement in deep representations. The Journal of Machine Learning Research, 19(1):1947–1980, 2018b.
|
| 167 |
+
|
| 168 |
+
Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. arXiv preprint arXiv:1612.00410, 2016.
|
| 169 |
+
|
| 170 |
+
Robert Berwick and Noam Chomsky. Why Only Us: Language and Evolution. MIT Press, Cambridge, MA, 2016.
|
| 171 |
+
|
| 172 |
+
Derek Bickerton. More than Nature Needs: Language, Mind, and Evolution. Harvard University Press, Cambridge, MA, 2014.
|
| 173 |
+
|
| 174 |
+
Diane Bouchacourt and Marco Baroni. How agents see things: On visual representations in an emergent language game. In EMNLP, 2018.
|
| 175 |
+
|
| 176 |
+
Nicholas Carlini and David Wagner. Defensive distillation is not robust to adversarial examples. arXiv preprint arXiv:1607.04311, 2016.
|
| 177 |
+
|
| 178 |
+
Rahma Chaabouni, Eugene Kharitonov, Emmanuel Dupoux, and Marco Baroni. Anti-efficient encoding in emergent communication. In Proceedings of NeurIPS, Vancouver, Canada, 2019. In press.
|
| 179 |
+
|
| 180 |
+
Maxime Chevalier-Boisvert, Dzmitry Bahdanau, Salem Lahlou, Lucas Willems, Chitwan Saharia, Thien Huu Nguyen, and Yoshua Bengio. BabyAI: A platform to study the sample efficiency of grounded language learning. In Proceedings of ICLR, New Orleans, LA, 2019. Published online: https://openreview.net/group?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ ICLR.cc/2019/conference.
|
| 181 |
+
|
| 182 |
+
Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014.
|
| 183 |
+
|
| 184 |
+
Edward Choi, Angeliki Lazaridou, and Nando de Freitas. Compositional obverter communication learning from raw visual input. arXiv preprint arXiv:1804.02341, 2018.
|
| 185 |
+
|
| 186 |
+
Katie Collier, Balthasar Bickel, Carel van Schaik, Marta Manser, and Simon Townsend. Language evolution: Syntax before phonology? Proceedings of the Royal Society B: Biological Sciences, 281(1788):1–7, 2014.
|
| 187 |
+
|
| 188 |
+
Thomas M Cover and Joy A Thomas. Elements of Information Theory. John Wiley & Sons, 2012.
|
| 189 |
+
|
| 190 |
+
Katrina Evtimova, Andrew Drozdov, Douwe Kiela, and Kyunghyun Cho. Emergent communication in a multi-modal, multi-step referential game. In Proceedings of ICLR Conference Track, Vancouver, Canada, 2018. Published online: https://openreview.net/group?id ${ . } = { }$ ICLR.cc/ 2018/Conference.
|
| 191 |
+
|
| 192 |
+
Ramon Ferrer i Cancho and Albert Díaz-Guilera. The global minima of the communicative energy of natural communication systems. Journal of Statistical Mechanics: Theory and Experiment, 2007 (06):P06009, 2007.
|
| 193 |
+
|
| 194 |
+
Ramon Ferrer i Cancho, Antoni Hernández-Fernández, David Lusseau, Govindasamy Agoramoorthy, Minna Hsu, and Stuart Semple. Compression as a universal principle of animal behavior. Cognitive Science, 37(8):1565–1578, 2013.
|
| 195 |
+
|
| 196 |
+
Ian Fischer. The conditional entropy bottleneck, 2019. URL https://openreview.net/ forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } =$ rkVOXhAqY7.
|
| 197 |
+
|
| 198 |
+
Bruno Galantucci. Experimental semiotics: A new approach for studying communication as a form of joint action. Topics in Cognitive Science, 1(2):393–410, 2009.
|
| 199 |
+
|
| 200 |
+
Edward Gibson, Richard Futrell Steven Piantadosi, Isabelle Dautriche, Kyle Mahowald, Leon Bergen, and Roger Levy. How efficiency shapes human language. Trends in Cognitive Science, 2019. In press.
|
| 201 |
+
|
| 202 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
|
| 203 |
+
|
| 204 |
+
Laura Graesser, Kyunghyun Cho, and Douwe Kiela. Emergent linguistic phenomena in multi-agent communication games. https://arxiv.org/abs/1901.08706, 2019.
|
| 205 |
+
|
| 206 |
+
Evan Greensmith, Peter L Bartlett, and Jonathan Baxter. Variance reduction techniques for gradient estimates in reinforcement learning. JMLR, 5(Nov):1471–1530, 2004.
|
| 207 |
+
|
| 208 |
+
Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: Learning to communicate with sequences of symbols. In NIPS, 2017.
|
| 209 |
+
|
| 210 |
+
James Hurford. The Origins of Language. Oxford University Press, Oxford, UK, 2014.
|
| 211 |
+
|
| 212 |
+
Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with Gumbel-Softmax. arXiv preprint arXiv:1611.01144, 2016.
|
| 213 |
+
|
| 214 |
+
Mikael Kågebäck, Devdatt Dubhashi, and Asad Sayeed. DeepColor: Reinforcement learning optimizes information efficiency and well-formedness in color name partitioning. In Proceedings of CogSci, pp. 1895–1900, Austin, TX, 2018.
|
| 215 |
+
|
| 216 |
+
Charles Kemp and Terry Regier. Kinship categories across languages reflect general communicative principles. Science, 336(6084):1049–1054, 2012.
|
| 217 |
+
|
| 218 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 219 |
+
|
| 220 |
+
Simon Kirby. Natural language from artificial life. Artificial life, 8(2):185–215, 2002.
|
| 221 |
+
|
| 222 |
+
Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge’naturally’in multi-agent dialog. arXiv preprint arXiv:1706.08502, 2017.
|
| 223 |
+
|
| 224 |
+
Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. arXiv preprint arXiv:1612.07182, 2016.
|
| 225 |
+
|
| 226 |
+
Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic communication from referential games with symbolic and pixel input. arXiv preprint arXiv:1804.03984, 2018.
|
| 227 |
+
|
| 228 |
+
Yann LeCun, Bernhard E Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne E Hubbard, and Lawrence D Jackel. Handwritten digit recognition with a back-propagation network. In NIPS, 1990.
|
| 229 |
+
|
| 230 |
+
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998a.
|
| 231 |
+
|
| 232 |
+
Yann LeCun, Léon Bottou, Yoshua Bengio, Patrick Haffner, et al. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998b.
|
| 233 |
+
|
| 234 |
+
David Lewis. Convention harvard university press. Cambridge, MA, 1969.
|
| 235 |
+
|
| 236 |
+
Ryan Lowe, Jakob Foerster, Y-Lan Boureau, Joelle Pineau, and Yann Dauphin. On the pitfalls of measuring emergent communication. In Proceedings of AAMAS, pp. 693–701, Montreal, Canada, 2019.
|
| 237 |
+
|
| 238 |
+
Chris J Maddison, Andriy Mnih, and Yee Whye Teh. The concrete distribution: A continuous relaxation of discrete random variables. arXiv preprint arXiv:1611.00712, 2016.
|
| 239 |
+
|
| 240 |
+
Tomas Mikolov, Armand Joulin, and Marco Baroni. A roadmap towards machine intelligence. In International Conference on Intelligent Text Processing and Computational Linguistics, pp. 29–61. Springer, 2016.
|
| 241 |
+
|
| 242 |
+
Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In ICML, 2016.
|
| 243 |
+
|
| 244 |
+
Jason Tyler Rolfe. Discrete variational autoencoders. arXiv preprint arXiv:1609.02200, 2016.
|
| 245 |
+
|
| 246 |
+
John Schulman, Nicolas Heess, Theophane Weber, and Pieter Abbeel. Gradient estimation using stochastic computation graphs. In NIPS, 2015.
|
| 247 |
+
|
| 248 |
+
DJ Strouse and David J Schwab. The deterministic information bottleneck. Neural computation, 29 (6):1611–1630, 2017.
|
| 249 |
+
|
| 250 |
+
Sainbayar Sukhbaatar, Arthur Szlam, and Rob Fergus. Learning multiagent communication with backpropagation. In NIPS. 2016.
|
| 251 |
+
|
| 252 |
+
N. Tishby, F. Pereira, and W. Bialek. The information bottleneck method. In Proceedings of the 37th Annual Allerton Conference on Communication, Control and Computing. University of Illinois Press, 1999.
|
| 253 |
+
|
| 254 |
+
Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. In NIPS, 2017.
|
| 255 |
+
|
| 256 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Proceedings of NIPS, pp. 5998–6008, Long Beach, CA, 2017.
|
| 257 |
+
|
| 258 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992.
|
| 259 |
+
|
| 260 |
+
Ronald J Williams and Jing Peng. Function optimization using connectionist reinforcement learning algorithms. Connection Science, 3(3):241–268, 1991.
|
| 261 |
+
|
| 262 |
+
Noga Zaslavsky, Charles Kemp, Terry Regier, and Naftali Tishby. Efficient compression in color naming and its evolution. Proceedings of the National Academy of Sciences, 115(31):7937–7942, 2018.
|
| 263 |
+
|
| 264 |
+
Noga Zaslavsky, Terry Regier, Naftali Tishby, and Charles Kemp. Semantic categories of artifacts and animals reflect efficient coding. In Proceedings of CogSci, pp. 1254–1260, Montreal, Canada, 2019.
|
| 265 |
+
|
| 266 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
Figure 4: Robustness to adversarial examples: higher accuracy given fixed $\epsilon$ implies more robustness.
|
| 270 |
+
|
| 271 |
+

|
| 272 |
+
Figure 5: Guess Number: Receiver’s dependence on messages, measured as performance drop under message intervention.
|
| 273 |
+
|
| 274 |
+
# A ROBUSTNESS TO ADVERSARIAL ATTACKS
|
| 275 |
+
|
| 276 |
+
In this Section, we study robustness of the agents equipped with a relaxed discrete channel against adversarial attacks. We use the same architectures as in Section 4.2 of the main paper. Specifically, by GS we indicate the architecture where agents are trained with Gumbel-Softmax relaxation, which at test-time is replaced by (noiseless) softmax with the same temperature. SM is an architecture where the communication channel is replaced by a Softmax layer with temperature. The Linear baseline has no “channel”: the output of Sender is directly plugged as input to the Receiver.
|
| 277 |
+
|
| 278 |
+
We train agents with different random seeds and implement white-box attacks on the trained models, varying temperature $\tau$ and the allowed perturbation norm, $\epsilon$ . We use the standard Fast Gradient Sign Method (FGSM) of Goodfellow et al. (2014). The original image $i _ { s }$ is perturbed to $i _ { s } ^ { * }$ along the direction that maximizes the loss of Receiver’s output $\pmb { o } = R \big ( S ( i _ { s } ) \big )$ w.r.t. ground-truth class $\imath$ :
|
| 279 |
+
|
| 280 |
+
$$
|
| 281 |
+
i _ { s } ^ { * } = c l i p \left[ i _ { s } + \epsilon \cdot s i g n \left[ \nabla _ { i _ { s } } \mathcal { L } ( o , l ) \right] , 0 , 1 \right]
|
| 282 |
+
$$
|
| 283 |
+
|
| 284 |
+
where $\epsilon$ controls the $L _ { \infty }$ norm of the perturbation. Under an attack with a fixed $\epsilon$ , a more robust method would have a smaller accuracy drop. To avoid numerical stability issues akin to those reported by Carlini & Wagner (2016), all computations are done in 64-bit floats.
|
| 285 |
+
|
| 286 |
+
As earlier in Section 4.2, we observed that SM behaves similarly with different temperatures (we experimented with $\tau \in \{ 0 . 1 , 1 . 0 , 1 0 . 0 \} )$ , we report only results with $\tau = 1 . 0$ . Figure 4a shows that, as the relaxation temperature decreases, the accuracy drop also decreases. The highest robustness is achieved with $\tau = 0 . 1$ . Comparison with the baselines (Figure 4b) confirms that relaxed discrete training with $\tau = 0 . 1$ improves robustness. However, this robustness comes at the cost of harder training: 2 out of 5 random seeds did not reach the desired performance level (0.98) after 200 epochs.
|
| 287 |
+
|
| 288 |
+
# B HOW MUCH DOES RECEIVER RELY ON MESSAGES IN GUESS NUMBER?
|
| 289 |
+
|
| 290 |
+
We supplement the experiments of Section 3 of the main text by studying the degree to which Receiver relies on messages in Guess Number. In particular, we show that when Receiver has the full input $( i _ { s } = i _ { r }$ ), it ignores the messages.
|
| 291 |
+
|
| 292 |
+
We measure the degree to which Receiver relies on the messages from Sender by constructing a setup where we break communication, but still let Receiver rely on its own input. More precisely, we first enumerate all test inputs for Sender $i _ { s }$ and Receiver $i _ { r }$ . We obtain messages that correspond to Sender’s inputs, and shuffle them. Next, we feed the shuffled messages alongside Receiver’s own (un-shuffled) inputs and compute accuracy, as a measure of Receiver’s dependence on the messages. This procedure preserves the marginal distribution of the Receiver input messages, but destroys all the information Sender transmits.
|
| 293 |
+
|
| 294 |
+
Without messages, Receiver, given $k$ input bits, can only reach an accuracy of $2 ^ { 8 - k }$ . In Figure 5, we report results aggregated by training method. Receiver is extremely close to the accuracy’s higher bound in all configurations. Moreover, when Receiver gets the entire input, the drop in accuracy after shuffling is tiny, proving that Receiver’s reliance on the message is minimal in that setting.
|
| 295 |
+
|
| 296 |
+
# C INFLUENCE OF ARCHITECTURE CHOICES
|
| 297 |
+
|
| 298 |
+
# C.1 DOES VOCABULARY SIZE AFFECT THE RESULTS?
|
| 299 |
+
|
| 300 |
+
We repeat the same experiments as in Section 3 of the main text while varying vocabulary size. Note that, to make Guess Number solvable across each configuration, the vocabulary has to contain at least 256 symbols. Similarly, for Image Classification, vocabulary size must be of at least 100. We tried vocabulary sizes of 256, 1024, 4096 for Guess Number, and 512, 1024, 2048 for Image Classification. The results are reported in Figures 6 (Guess Number) and 7 (Image Classification). We observe that there is little qualitative variation over vocabulary size, hence the conclusions we had in Section 3 of the main paper are robust to variations of this parameter.
|
| 301 |
+
|
| 302 |
+
# C.2 DOES RECEIVER’S CAPACITY AFFECT THE RESULTS?
|
| 303 |
+
|
| 304 |
+
One potential confounding variable is the capacity of Receiver. Indeed, if Receiver is very simple, then, for the task to be solved, Sender would have to calculate the answer itself and feed it to Receiver. To investigate this, we repeat the Image Classification experiment from Section 4 of the main paper while controlling the power of Receiver’s architecture: we put two additional fully-connected 400x400 hidden layers between the input embedding and the output layer, while in Section 4, Receiver had a single hidden layer.
|
| 305 |
+
|
| 306 |
+
In Figure 8 we compare the results obtained with these two variations of Receiver. The reported entropy minimization effect holds: even in presence of additional layers, the entropy of messages $H ( m )$ is far from the upper-bound $H _ { m a x } = 1 0$ bits and closely follows the lower bound, $H _ { m i n } =$ $\log _ { 2 } N _ { l }$ . Thus, again, a more nuanced protocol only appears when it is needed. Finally, we see that results for both architectures are close, although in three out of seven task setups (the number of classes $N _ { l }$ is 2, 10, and 20) a deeper model results in a slightly higher entropy of the protocol, on average. Overall, we conclude that Receiver’s capacity does not play a major role in the entropy minimization effect and the latter also takes place with a more powerful Receiver.
|
| 307 |
+
|
| 308 |
+
# C.3 WHAT IF COMMUNICATION TAKES PLACE THROUGH SEQUENCES OF SYMBOLS?
|
| 309 |
+
|
| 310 |
+
We also experiment with Guess Number in a setup where the agents communicate via variable-length messages. The general architecture of the agents is same as in Section 3.1, however the output of Sender is used as the initial hidden state of a GRU cell (Cho et al., 2014). In turn, this GRU is unrolled to generate the message. The message is produced until the GRU outputs a special $< e o s >$ token or until the maximal length is reached. In the latter case, ${ < } e o s { > }$ is appended to the message. The produced message is consumed by a Receiver’s GRU unit and the hidden state corresponding to ${ < } e o s { > }$ is used by Receiver as input to further processing. We use the Stochastic Computation Graph estimator as described in Section 3.2, as it provided fastest convergence.
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
Figure 6: Guess Number: Entropy of the messages $_ { m }$ , depending on vocabulary size, training method, and relaxation temperature $\tau$ (when trained with Gumbel-Softmax) or Sender’s entropy regularization coefficient $\lambda _ { s }$ . Shaded regions mark standard deviation.
|
| 314 |
+
|
| 315 |
+
We consider the entire variable-length message as the realization of a random variable $_ { m }$ when calculating the entropy of the messages, $H ( m )$ . The results are reported in Figure 9, arranged in function of maximal message length and vocabulary size. As before, we aggregate the successful runs according to the entropy regularization coefficient $\lambda _ { s }$ applied to Sender’s output layer.
|
| 316 |
+
|
| 317 |
+
From Figure 9 we observe that the results are in line with those obtained in the one-symbol scenario. Entropy minimization still holds: a more nuanced (high-entropy) protocol only develops when more digits are hidden from Receiver, which hence requires more information to perform the task. The approximation to the lower bound is however less tight as the overall number of possible messages grows (higher maximum length and/or vocabulary size). There is also a weak tendency for lower $\lambda _ { s }$ to encourage a tighter bottleneck.
|
| 318 |
+
|
| 319 |
+
In preliminary experiments, we have similar results when the variable-length communication is performed via Transformer cells (Vaswani et al., 2017) instead of GRUs (not reported here).
|
| 320 |
+
|
| 321 |
+
# D TWO-DIGIT MNIST DATASET
|
| 322 |
+
|
| 323 |
+
As discussed in Section 3, to ensure high output informational complexity in the Image Classification task, we use a two-digit variant of the MNIST dataset (LeCun et al., 1998a). We construct it as follows. When iterating over the original MNIST dataset, we take a batch $b$ and (a) select the first $| b | / 2$ and last $| b | / 2$ images, refer to them as $b _ { 1 }$ and $b _ { 2 }$ , respectively; (b) create a new batch where the ith image from $b _ { 1 }$ is placed to the left of the ith image from $b _ { 2 }$ and then vice versa. As a result, we obtain a new stream of images, where each MNIST digit is seen twice, on the left and on the right side. Note that not all possible pairwise combinations of the original images are generated (there are $6 0 0 0 0 ^ { 2 }$ of those in the training set alone) and the exact combinations change across epochs. As labels, we use the depicted two-digit number modulo $N _ { l }$ , where $N _ { l }$ is the required number of classes. All pixels are scaled into [0, 1]. We use the same process to generate training and test sets, based on the training and test images of the original MNIST dataset, respectively.
|
| 324 |
+
|
| 325 |
+

|
| 326 |
+
Figure 7: Image Classification: entropy of the messages $H ( m )$ across vocabulary sizes. Successful runs are pooled together. Shaded regions mark standard deviation.
|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
Figure 8: Image Classification: entropy of the messages $H ( m )$ across Receiver model sizes. Successful runs are pooled together. Shaded regions mark standard deviation.
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
Figure 9: Guess Number: Entropy of the emergent protocol when communication is performed with variable-length messages. Shaded regions mark standard deviation.
|
| 333 |
+
|
| 334 |
+
# E HYPERPARAMETERS
|
| 335 |
+
|
| 336 |
+
In our experiments, we used the following hyperparameter grids.
|
| 337 |
+
|
| 338 |
+
Guess Number (Gumbel-Softmax) Vocab. size: [256, 1024, 4096]; temperature, $\tau$ : [0.5, 0.75, 1.0, 1.25, 1.5]; learning rate: [0.001, 0.0001]; max. number of epochs: 250; random seeds: [0, 1, 2, 3]; batch size: 8; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8].
|
| 339 |
+
|
| 340 |
+
Guess Number (REINFORCE) Vocab. size: [256, 1024, 4096]; Sender entropy regularization coef., $\lambda _ { s }$ : [0.01, 0.05, 0.025, 0.1, 0.5, 1.0]; Receiver entropy regularization coef., $\lambda _ { r }$ : [0.01, 0.1, 0.5, 1.0]; learning rate: [0.0001, 0.001, 0.01]; max. number of epochs: 1000; random seeds: [0, 1, 2, 3]; batch size: 2048; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8].
|
| 341 |
+
|
| 342 |
+
Guess Number (Stochastic Computation Graph approach): Vocab. size: [256, 1024, 4096]; Sender entropy regularization coef., $\lambda _ { s }$ : [0.01, 0.025, 0.05, 0.075, 0.1, 0.25]; learning rate: [0.0001, 0.001]; max. number of epochs: 1000; random seeds: [0, 1, 2, 3]; batch size: 2048; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8].
|
| 343 |
+
|
| 344 |
+
Image Classification experiments Vocab. size: [512, 1024, 2048]; temperature, $\tau$ : [0.5, 0.75, 1.0, 1.5, 2.0]; learning rate: [0.01, 0.001, 0.0001], max. number of epochs: 100; random seeds: [0, 1, 2]; batch size: 32; early stopping thr.: 0.98; number of classes: [2, 4, 10, 20, 25, 50, 100].
|
| 345 |
+
|
| 346 |
+
Fitting random labels experiments Vocab. size: 1024; temperature, $\tau { } .$ : [1.0, 10.0]; learning rate: 1e-4, max. number of epochs: 200; random seeds: [0, 1, 2, 3, 4]; batch size: 32; early stopping thr.: $\infty$ ; prob. of label corruption: [0.0, 0.5, 1.0].
|
| 347 |
+
|
| 348 |
+
Adversarial attack experiments Vocab. size: 1024; temperature, $\tau$ : [0.1, 1.0, 10.0]; learning rate: 1e-4, max. number of epochs: 200; random seeds: [0, 1, 2, 3, 4]; batch size: 32; early stopping thr.: 0.98.
|
| 349 |
+
|
| 350 |
+
# F EVOLUTION OF MESSAGE ENTROPY DURING TRAINING
|
| 351 |
+
|
| 352 |
+
In this Section, we aim to gain additional insight into development of the communication protocol by measuring its entropy during training. We concentrate on Guess Number and use the same experimental runs summarized in Figure 1 of the main text.
|
| 353 |
+
|
| 354 |
+
For each game configuration (that is, number of bits hidden from Receiver), we randomly select one successful run and plot the evolution of Sender message entropy and accuracy over training epochs.3 We also plot entropy and accuracy curves for a randomly selected failed run, to verify to what extent entropy development depends on task success.
|
| 355 |
+
|
| 356 |
+
We report results for runs where training was performed with Gumbel-Softmax relaxation and with the Stochastic Graph Computation approach in Figures 10 and 11, respectively. The reported entropy and accuracy values are calculated in evaluation mode, where Sender’s output is selected greedily, without sampling. A higher entropy of such deterministic Sender indicates that the latter can encode more information about inputs in its messages.
|
| 357 |
+
|
| 358 |
+
From these results, we firstly observe that the initial entropy of Sender’s messages (before training) can be both higher than required for communication success (Figures 10a and 11a) and lower (the rest). When it starts higher than needed, it generally falls closer to the minimum level required for the solution. When the initial value is low, it increases during training. The failed runs can have message entropy above (Figures 10a, 10b & 11a) and below (e.g. Figures 10c, 10d & 11d) successful runs, suggesting that there is no systematic relation between degree of entropy and task success.
|
| 359 |
+
|
| 360 |
+
The fact that the entropy can be reduced with no decrease in accuracy or even with accuracy growth (e.g. Figure 10a, red line, epochs 5..30) indicates that the tendency to discover new messages (increasing entropy) is counter-balanced by the complexity of mutual coordination with Receiver when entropy is larger. In our interpretation, it is this interplay that serves as a source of the natural bottleneck.
|
| 361 |
+
|
| 362 |
+
Finally, while in some runs the entropy is effectively increased w.r.t. its initialization level, the resulting protocol’s entropy is at, or slightly above the lower bound of what the task allows. In this sense, we argue that the reported effect can be correctly denoted as a “minimization” result.
|
| 363 |
+
|
| 364 |
+

|
| 365 |
+
Figure 10: Evolution of $H ( m )$ over training epochs. Gumbel Softmax-based optimization, Guess Number. For each game configuration, specified by the number of bits Receiver lacks, we sample one successful (black line) and one failed (red line) training trajectory. The blue line marks $H _ { m i n }$ , minimal entropy for a successful solution.
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
Figure 11: Evolution of $H ( m )$ over training epochs. Stochastic Computation Graph-based optimization, Guess Number. For each game configuration, specified by the number of bits Receiver lacks, we sample one successful (black line) and one failed (red line) training trajectory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": "text",
|
| 4 |
+
"text": "ENTROPY MINIMIZATION IN EMERGENT LANGUAGES ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
818,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
400,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
209,
|
| 32 |
+
544,
|
| 33 |
+
226
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "There is a growing interest in studying the languages emerging when neural agents are jointly trained to solve tasks requiring communication through a discrete channel. We investigate here the information-theoretic complexity of such languages, focusing on the basic two-agent, one-exchange setup. We find that, under common training procedures, the emergent languages are subject to an entropy minimization pressure that has also been detected in human language, whereby the mutual information between the communicating agent’s inputs and the messages is minimized, within the range afforded by the need for successful communication. This pressure is amplified as we increase communication channel discreteness. Further, we observe that stronger discrete-channel-driven entropy minimization leads to representations with increased robustness to overfitting and adversarial attacks. We conclude by discussing the implications of our findings for the study of natural and artificial communication systems. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
250,
|
| 43 |
+
766,
|
| 44 |
+
430
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
481,
|
| 55 |
+
334,
|
| 56 |
+
496
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "There has recently been much interest in the analysis of the communication systems arising when deep network agents that interact to accomplish a goal are allowed to exchange language-like discrete messages (Lazaridou et al., 2016; Havrylov & Titov, 2017; Choi et al., 2018; Lazaridou et al., 2018). Understanding the emergent protocol is important if we want to eventually develop agents capable of interacting with each other and with us through language (Mikolov et al., 2016; Chevalier-Boisvert et al., 2019). The pursuit might also provide comparative evidence about how core properties of human language itself have evolved (Kirby, 2002; Hurford, 2014; Graesser et al., 2019). While earlier studies reported ways in which deep agent protocols radically depart from human language (Kottur et al., 2017; Bouchacourt & Baroni, 2018; Chaabouni et al., 2019; Lowe et al., 2019), we show here that emergent communication shares an important property of the latter, namely a tendency towards entropy minimization. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
520,
|
| 66 |
+
825,
|
| 67 |
+
672
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Converging evidence indicates that efficiency pressures are at work in language and other biological communication systems (Ferrer i Cancho et al., 2013; Gibson et al., 2019). One particular aspect of communicative efficiency, that has been robustly observed across many semantic domains, is a tendency to minimize lexicon entropy, to the extent allowed by the counteracting need for accuracy (Zaslavsky et al., 2018; 2019). For example, while most languages distinguish grandmothers from grandfathers, very few have separate words for mother- and father-side grandmothers, as the latter distinction would make communication only slightly more accurate at the cost of an increase in lexicon complexity (Kemp & Regier, 2012). We show here, in two separate games designed to precisely measure such property, that the protocol evolved by interacting deep agents is subject to the same complexity minimization pressure. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
680,
|
| 77 |
+
825,
|
| 78 |
+
819
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Entropy minimization in natural language has been connected to the Information Bottleneck principle (Tishby et al., 1999). In turn, complexity reduction due to the Information Bottleneck provides a beneficial regularization effect on the learned representations (Fischer, 2019; Alemi et al., 2016; Achille & Soatto, 2018a;b). It is difficult to experimentally verify the presence of such effect in human languages, but we can look for it in our emergent language simulations. We confirm that, when relaxing channel discreteness, the entropy minimization property no longer holds, and the system becomes less robust against overfitting and adversarial noise. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
827,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "2 GENERAL FRAMEWORK ",
|
| 96 |
+
"text_level": 1,
|
| 97 |
+
"bbox": [
|
| 98 |
+
176,
|
| 99 |
+
102,
|
| 100 |
+
403,
|
| 101 |
+
117
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 1
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "We establish our results in the context of signaling games (Lewis, 1969), as introduced to the current language emergence literature by Lazaridou et al. (2016) and adopted in several later studies (Havrylov & Titov, 2017; Bouchacourt & Baroni, 2018; Lazaridou et al., 2018). There are two agents, Sender and Receiver, provided with individual inputs at the beginning of each episode. Sender sends a single message to Receiver, and Receiver has to perform an action based on its own input and the received message. Importantly, there is no direct supervision on the message protocol. We consider agents that are deterministic functions of their inputs (after training). ",
|
| 108 |
+
"bbox": [
|
| 109 |
+
174,
|
| 110 |
+
132,
|
| 111 |
+
825,
|
| 112 |
+
231
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 1
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "As an example, consider the task of communicating a $n$ -bit number, sampled uniformly at random from $0 . . . 2 \\sp n - 1$ . The full number is shown to Sender, and its $k$ $0 \\leq k \\leq n \\}$ least-significant bits are also revealed to Receiver. Receiver has to output the full number, based on the message from Sender and its own input. Would the Sender transmit the entire number through its message? In this case, the protocol would be “complex,” encoding $n$ bits. Alternatively, Sender could only encode the bits that Receiver does not know, and let Receiver fill in the rest by itself. This emergent protocol would be “simple,” encoding less information about the number. We find experimentally that, once the agents are successfully trained to jointly solve the task, the emergent protocol minimizes the entropy of the messages or, equivalently in our setup, the mutual information between Sender’s input and messages. In other words, the agents consistently approximate the simplest successful protocol (in the current example, the one transmitting $\\approx n - k$ bits). ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
173,
|
| 121 |
+
237,
|
| 122 |
+
825,
|
| 123 |
+
391
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "After training, we can connect the entropies of Sender and Receiver inputs $i _ { s }$ and $i _ { r }$ , messages $m = { \\mathit { S } } ( i _ { s } )$ , Receiver’s output (the chosen action) $\\pmb { o } = R ( \\pmb { m } , \\pmb { i } _ { r } )$ , and ground-truth outputs $\\imath$ by using standard inequalities (Cover & Thomas, 2012): ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
397,
|
| 133 |
+
825,
|
| 134 |
+
440
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "equation",
|
| 140 |
+
"img_path": "images/6a0907ebacd5cebe03d1160c09076deb5b35abdf4ac99b2d357565cf4551a20a.jpg",
|
| 141 |
+
"text": "$$\nH ( i _ { s } ) \\geq H ( S ( i _ { s } ) ) = H ( m ) \\geq H ( m | i _ { r } ) \\geq H ( R ( m , i _ { r } ) | i _ { r } ) = H ( o | i _ { r } ) \\approx H ( l | i _ { r } )\n$$",
|
| 142 |
+
"text_format": "latex",
|
| 143 |
+
"bbox": [
|
| 144 |
+
217,
|
| 145 |
+
445,
|
| 146 |
+
781,
|
| 147 |
+
463
|
| 148 |
+
],
|
| 149 |
+
"page_idx": 1
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"type": "text",
|
| 153 |
+
"text": "(Note that, since agents are deterministic after training, $H ( \\pmb { { m } } ) = I ( \\pmb { { i } } _ { s } ; \\pmb { { m } } )$ . We can then use these quantities interchangeably.) Our empirical measurements indicate that the entropy of the messages $_ { \\mathbf { \\nabla } } \\mathbf { m }$ in the emergent protocol tends to approach the lower bound: $H ( { \\pmb m } ) \\bar { H ( { \\pmb l } | { \\pmb i } _ { r } ) }$ , even if the upper-bound $H ( i _ { s } )$ is far. ",
|
| 154 |
+
"bbox": [
|
| 155 |
+
174,
|
| 156 |
+
468,
|
| 157 |
+
825,
|
| 158 |
+
525
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "In our experiments, we observe that when the amount of information that Receiver needs is reduced, without changing other parameters, the emergent protocol becomes simpler (lower entropy). In other words, the emergent protocol adapts to minimize the information that passes through it. ",
|
| 165 |
+
"bbox": [
|
| 166 |
+
174,
|
| 167 |
+
531,
|
| 168 |
+
825,
|
| 169 |
+
574
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "We will release the code for our experiments upon acceptance. ",
|
| 176 |
+
"bbox": [
|
| 177 |
+
173,
|
| 178 |
+
580,
|
| 179 |
+
581,
|
| 180 |
+
595
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "3 METHODOLOGY ",
|
| 187 |
+
"text_level": 1,
|
| 188 |
+
"bbox": [
|
| 189 |
+
176,
|
| 190 |
+
614,
|
| 191 |
+
341,
|
| 192 |
+
632
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "3.1 GAMES ",
|
| 199 |
+
"text_level": 1,
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
646,
|
| 203 |
+
266,
|
| 204 |
+
661
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "We study two signaling games. In Guess Number, the agents are trained to recover an integerrepresenting vector with uniform Bernoulli-distributed components. This simple setup gives us full control over the amount of information needed to solve the task. The second game, Image Classification, uses more naturalistic data, as the agents are jointly trained to classify pairs of hand-written MNIST digits (LeCun et al., 1998b). ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
672,
|
| 214 |
+
825,
|
| 215 |
+
742
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Guess Number We draw an 8-bit integer $z$ , $0 \\leq z \\leq 2 5 5$ uniformly at random, by sampling its 8 bits independently from the uniform Bernoulli distribution. All bits are revealed to Sender as a 8-dimensional binary vector $i _ { s }$ . The last $k$ bits are revealed to Receiver $0 \\leq k \\leq 8 $ ) as its input $i _ { r }$ . Sender outputs a single-symbol message $_ { \\mathbf { \\nabla } } \\mathbf { m }$ to Receiver. In turn, Receiver outputs a vector $^ o$ that recovers all the bits of $z$ and should be equal to $i _ { s }$ . ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
750,
|
| 225 |
+
825,
|
| 226 |
+
819
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "In this game, Sender has a linear layer that maps the input vector $i _ { s }$ to a hidden representation of size 10, followed by a leaky ReLU activation. Next is a linear layer followed by a softmax over the vocabulary. Receiver linearly maps both its input $i _ { r }$ and the message to 10-dimensional vectors, concatenates them, applies a fully connected layer with output size 20, followed by a leaky ReLU. Finally, another linear layer and a sigmoid nonlinearity are applied. When training with REINFORCE and the Stochastic Computation graph approach (see Section 3.2), we increase the hidden layer sizes threefold, as this leads to more robust convergence. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
174,
|
| 235 |
+
825,
|
| 236 |
+
825,
|
| 237 |
+
924
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 1
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "Image Classification In this game, the agents are jointly trained to classify 28x56 images of two MNIST digits, stacked side-by-side (more details in Appendix). Unlike Guess Number, Receiver has no side input. Instead, we control the informational complexity of Receiver’s task by controlling the size of its output space, i.e., the number of labels we assign to the images. To do so, we group all two-digit sequences 00..99 into $N _ { l } \\in \\{ 2 , 4 , 1 0 , 2 0 , 2 5 , 5 0 , 1 0 0 \\}$ equally-sized classes. ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
103,
|
| 247 |
+
825,
|
| 248 |
+
174
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "In Sender, input images are embedded a LeNet-1 instance (LeCun et al., 1990) into 400-dimensional vectors. These embedded vectors are passed to a fully connected layer, followed by a softmax selecting a vocabulary symbol. Receiver embeds the received messages into 400-dimensional vectors, passed to a fully connected layer with a softmax activation returning the class probabilities. ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
180,
|
| 258 |
+
825,
|
| 259 |
+
236
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "We report hyperparameter grids in Appendix. In the following experiments, we fix vocabulary to 1024 symbols (experiments with other vocabulary sizes, multi-symbol messages, and larger architectures are reported in Appendix). No parts of the agents are pre-trained or shared. The optimized loss depends on the gradient estimation method used (see Section 3.2). We denote it $\\mathcal { L } ( o , l )$ , and it is a function of Receiver’s output $^ o$ and the ground-truth output $\\imath$ . When training in Guess Number with REINFORCE, we use a $_ { 0 / 1 }$ loss: the agents get 0 only if all bits of $z$ were correctly recovered. When training with Gumbel-Softmax relaxation or the Stochastic Computation Graph approach, we use binary cross-entropy (Guess Number) and negative log-likelihood (Image Classification). ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
174,
|
| 268 |
+
242,
|
| 269 |
+
825,
|
| 270 |
+
354
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "3.2 TRAINING WITH DISCRETE CHANNEL ",
|
| 277 |
+
"text_level": 1,
|
| 278 |
+
"bbox": [
|
| 279 |
+
176,
|
| 280 |
+
372,
|
| 281 |
+
470,
|
| 282 |
+
386
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "Training to communicate with discrete messages is non-trivial, as we cannot back-propagate through the messages. Current language emergence work mostly uses Gumbel-Softmax relaxation (e.g. (Havrylov & Titov, 2017)) or REINFORCE (e.g. (Lazaridou et al., 2016)) to get gradient estimates. We also explore the Stochastic Computation Graph optimization approach. We plug the obtained gradient estimates into the Adam optimizer (Kingma & Ba, 2014). ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
174,
|
| 291 |
+
397,
|
| 292 |
+
825,
|
| 293 |
+
467
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "Gumbel-Softmax relaxation Samples from the Gumbel-Softmax (Maddison et al., 2016; Jang et al., 2016) distribution (a) are reperameterizable, hence allow gradient-based training, and (b) approximate samples from the corresponding Categorical distribution. To get a sample that approximates an $n$ -dimensional Categorical distribution with probabilities $p _ { i }$ , we draw $n$ i.i.d. samples $g _ { i }$ from Gumbel(0,1) and use them to calculate a vector $\\textbf { { y } }$ with components: ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
173,
|
| 302 |
+
473,
|
| 303 |
+
825,
|
| 304 |
+
544
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "equation",
|
| 310 |
+
"img_path": "images/306bc4067206ac6d23e91e49d3c008ec1b09de44dae0838c906a6fb28a308493.jpg",
|
| 311 |
+
"text": "$$\ny _ { i } = \\frac { e x p \\left[ ( g _ { i } + \\log p _ { i } ) / \\tau \\right] } { \\sum _ { j } e x p \\left[ ( g _ { j } + \\log p _ { j } ) / \\tau \\right] }\n$$",
|
| 312 |
+
"text_format": "latex",
|
| 313 |
+
"bbox": [
|
| 314 |
+
392,
|
| 315 |
+
549,
|
| 316 |
+
606,
|
| 317 |
+
587
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 2
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "where $\\tau$ is the temperature hyperparameter. As $\\tau$ tends to 0, the samples $\\textbf { { y } }$ get closer to one-hot samples; as $\\tau \\to + \\infty$ , the components $y _ { i }$ become uniform. During training, we use these relaxed samples as messages from Sender, making the entire Sender/Receiver setup differentiable. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
173,
|
| 326 |
+
592,
|
| 327 |
+
825,
|
| 328 |
+
633
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "REINFORCE by Williams (1992) is a standard reinforcement learning algorithm. In our setup, it estimates the gradient of the expectation of the loss $\\mathcal { L } ( o , l )$ w.r.t. the parameter vector $\\pmb \\theta$ as follows: ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
171,
|
| 337 |
+
640,
|
| 338 |
+
823,
|
| 339 |
+
670
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 2
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "equation",
|
| 345 |
+
"img_path": "images/cab360000e4c7229b2765f51b658063552c9b6aac7e197301548927f11ce7b6f.jpg",
|
| 346 |
+
"text": "$$\n\\mathbb { E } _ { i _ { s } , i _ { r } } \\mathbb { E } _ { m \\sim S ( i _ { s } ) , o \\sim R ( m , i _ { r } ) } \\left[ ( \\mathcal { L } ( o ; l ) - b ) \\nabla _ { \\theta } \\log P _ { \\theta } ( m , o ) \\right]\n$$",
|
| 347 |
+
"text_format": "latex",
|
| 348 |
+
"bbox": [
|
| 349 |
+
303,
|
| 350 |
+
675,
|
| 351 |
+
694,
|
| 352 |
+
694
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "The expectations are estimated by sampling $_ { m }$ from Sender and, after that, sampling $^ o$ from Receiver. We use the running mean baseline $b$ (Greensmith et al., 2004; Williams, 1992) as a control variate. We adopt the common trick to add an entropy regularization term (Williams & Peng, 1991; Mnih et al., 2016) that favors higher entropy. We impose entropy regularization on the outputs of the agents with coefficients $\\lambda _ { s }$ (Sender) and $\\lambda _ { r }$ (Receiver). ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
173,
|
| 361 |
+
698,
|
| 362 |
+
826,
|
| 363 |
+
768
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "Stochastic Computation Graph In our setup, the gradient estimate approach of Schulman et al. (2015) reduces to computing the gradient of the following surrogate function: ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
173,
|
| 372 |
+
775,
|
| 373 |
+
825,
|
| 374 |
+
803
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 2
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "equation",
|
| 380 |
+
"img_path": "images/fd2763b852e1d7e3733c618c258a0059c8b0927c4cce57d6b0a674ccc6735f6b.jpg",
|
| 381 |
+
"text": "$$\n\\mathbb { E } _ { i _ { s } , i _ { r } } \\mathbb { E } _ { m \\sim S ( i _ { s } ) } \\left[ \\mathcal { L } ( o ; l ) + s t o p \\_ g r a d i e n t \\left( \\mathcal { L } ( o ; l ) - b \\right) \\log P _ { \\theta } ( m ) \\right]\n$$",
|
| 382 |
+
"text_format": "latex",
|
| 383 |
+
"bbox": [
|
| 384 |
+
272,
|
| 385 |
+
809,
|
| 386 |
+
723,
|
| 387 |
+
828
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "Here, we do not sample Receiver actions: Its parameter gradients are obtained with standard backpropagation (the first term in Eq. 4). Sender’s messages are sampled, and its gradient are calculated akin to REINFORCE (the second term in Eq. 4). As in REINFORCE, we apply entropy-favoring regularization on Sender’s output (with coefficient $\\lambda _ { s }$ ) and use the mean baseline $b$ . ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
832,
|
| 397 |
+
825,
|
| 398 |
+
888
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 2
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "Role of entropy regularization As we mentioned above, when training with REINFORCE and Stochastic Computation Graph, we include a (standard) entropy regularization term in the loss which explicitly maximizes entropy of Sender’s output. Clearly, this term is at odds with the entropy minimization effect we observe. In our experiments, we found that high values of $\\lambda _ { s }$ prevent communication success; on the other hand, small non-zero $\\lambda _ { s }$ is crucial for successful training. In Section 4 we investigate the effect of $\\lambda _ { s }$ on entropy minimization. ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
173,
|
| 407 |
+
895,
|
| 408 |
+
823,
|
| 409 |
+
924
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 2
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "image",
|
| 415 |
+
"img_path": "images/7bf01b11262fe43d461e678755c7da46c1502316eb31e2937253de79c4f47923.jpg",
|
| 416 |
+
"image_caption": [
|
| 417 |
+
"Figure 1: Guess Number: entropy of the messages $_ { \\mathbf { \\nabla } } \\mathbf { m } _ { \\mathbf { \\nabla } }$ . Shaded regions mark standard deviation. "
|
| 418 |
+
],
|
| 419 |
+
"image_footnote": [],
|
| 420 |
+
"bbox": [
|
| 421 |
+
248,
|
| 422 |
+
114,
|
| 423 |
+
736,
|
| 424 |
+
443
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "",
|
| 431 |
+
"bbox": [
|
| 432 |
+
174,
|
| 433 |
+
491,
|
| 434 |
+
825,
|
| 435 |
+
546
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "3.3 EXPERIMENTAL PROTOCOL ",
|
| 442 |
+
"text_level": 1,
|
| 443 |
+
"bbox": [
|
| 444 |
+
176,
|
| 445 |
+
565,
|
| 446 |
+
401,
|
| 447 |
+
579
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "In Guess Number, we use all $2 ^ { 8 }$ possible inputs for training, early stopping and analysis. In Image Classification, we train on random image pairs from the MNIST training data, and use image pairs from the MNIST held-out set for validation. We select the runs that achieved a high level of performance (training accuracy above 0.99 for Guess Number and validation accuracy above 0.98 for Image Classification), thus studying typical agent behavior provided they succeeded at the game. ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
174,
|
| 456 |
+
592,
|
| 457 |
+
825,
|
| 458 |
+
661
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "At test time, we select the Sender’s message symbol greedily, hence the messages are discrete and Sender represents a (deterministic) function $S$ of its input $i _ { s }$ , $m = S ( i )$ . Calculating the entropy $H ( m )$ of the distribution of discrete messages $_ { \\mathbf { \\nabla } } \\mathbf { m }$ is straightforward. In Guess Number, we enumerate all 256 possible values of $z$ as inputs, save the messages from Sender and calculate entropy $H ( m )$ For Image Classification, we sample image pairs from the MNIST hold-out set. ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
669,
|
| 468 |
+
825,
|
| 469 |
+
738
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "The upper bound on $H ( m )$ is as follow: $H _ { m a x } = 8$ bits (bounded by $H ( i _ { s } ) )$ in Guess Number, and $H _ { m a x } = 1 0$ bits (bounded by vocabulary size) in Image Classification. Its lower bound is equal to $H _ { m i n } = H ( l | i _ { r } ) = 8 - k$ bits for Guess number. In Image Classification, communication can only succeed if $H ( m )$ is not less than $H ( l )$ , i.e., $H _ { m i n } = H ( l ) = \\log _ { 2 } N _ { l }$ , with $N _ { l }$ the number of equally-sized classes we split the images into. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
174,
|
| 478 |
+
744,
|
| 479 |
+
825,
|
| 480 |
+
815
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "4 EXPERIMENTS ",
|
| 487 |
+
"text_level": 1,
|
| 488 |
+
"bbox": [
|
| 489 |
+
176,
|
| 490 |
+
837,
|
| 491 |
+
326,
|
| 492 |
+
853
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 3
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "text",
|
| 498 |
+
"text": "4.1 ENTROPY MINIMIZATION ",
|
| 499 |
+
"text_level": 1,
|
| 500 |
+
"bbox": [
|
| 501 |
+
174,
|
| 502 |
+
868,
|
| 503 |
+
388,
|
| 504 |
+
883
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 3
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "Guess Number In Figure 1, the horizontal axes span the number of bits of $z$ that Receiver lacks, $8 - k$ . The vertical axis reports the information content of the protocol, measured by messages entropy ",
|
| 511 |
+
"bbox": [
|
| 512 |
+
173,
|
| 513 |
+
895,
|
| 514 |
+
825,
|
| 515 |
+
924
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 3
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "image",
|
| 521 |
+
"img_path": "images/17264c5bd247f11740017af7d8f364cd642984e0b43cb1f2fa16e76d6dc93c85.jpg",
|
| 522 |
+
"image_caption": [
|
| 523 |
+
"Figure 2: Image Classification: entropy of the messages $_ { m }$ in function of log number of target classes, $N _ { l }$ . Shaded regions mark standard deviation. "
|
| 524 |
+
],
|
| 525 |
+
"image_footnote": [],
|
| 526 |
+
"bbox": [
|
| 527 |
+
248,
|
| 528 |
+
116,
|
| 529 |
+
738,
|
| 530 |
+
272
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 4
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "$H ( m )$ . Each integer on the horizontal axis corresponds to a game configuration, and for each such configuration we aggregate multiple (successful) runs with different hyperparameters and random seeds. $H _ { m i n }$ indicates the minimal amount of bits Sender has to send in a particular configuration for the task to be solvable. The upper bound (not shown) is $H _ { m a x } = 8$ bits. ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
174,
|
| 539 |
+
321,
|
| 540 |
+
825,
|
| 541 |
+
378
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "Consider first the configurations where Receiver’s input is insufficient to answer correctly (at least one binary digit hidden, $k \\leq 7 ,$ ). From Figure 1a, we observe that the transmitted information is strictly monotonically increasing with the number of binary digits hidden from Receiver. Thus, even if Sender sees the very same input in all configurations, a more nuanced protocol is only developed when it is necessary. Moreover, the entropy $H ( m )$ (equivalently: the transmitted information) stays close to the lower bound. This entropy minimization property holds for all the considered training approaches across all configurations. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
385,
|
| 551 |
+
825,
|
| 552 |
+
482
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Consider next the configuration where Receiver is getting the whole integer $z$ as its input $k = 8$ , the leftmost configuration in Figure 1, corresponding to 0 on $\\mathbf { X }$ axis). Based on the observations above, one would expect that the protocol would approach zero entropy in this case (as no information needs to be transmitted). However, the measurements indicate that the protocol is encoding considerably more information. It turns out that this information is entirely ignored by Receiver. To demonstrate this, we fed all possible distinct inputs to Sender, retrieved the corresponding messages, and shuffled them to destroy any information about the inputs they might carry. The shuffled messages were then passed to Receiver alongside with its own (un-shuffled) inputs. The overall performance was not affected by this manipulation, confirming the hypothesis that Receiver ignores messages. We conclude that in this case there is no apparent entropy minimization pressure on Sender simply because there is no communication. The full experiment is reported in Appendix. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
489,
|
| 562 |
+
825,
|
| 563 |
+
642
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 4
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "We further consider the effect of various hyperparameters. In Figure 1b, we split the results obtained with Gumbel-Softmax by relaxation temperature. As discussed in Section 3.2, lower temperatures more closely approximate discrete communication, hence providing a convenient control of the level of discreteness imposed during training (recall that at test time we select the symbol greedily). The figure shows that lower temperatures consistently lead to lower $H ( m )$ values. This implies that, as we increase the “level of discreteness” at training, we get stronger entropy minimization pressures. ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
173,
|
| 572 |
+
648,
|
| 573 |
+
825,
|
| 574 |
+
733
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 4
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "In Figures 1c & 1d, we report $H ( m )$ when training with Stochastic Graph Optimization and REINFORCE across degrees of entropy regularization. We report curves corresponding to $\\lambda _ { s }$ values1 which converged in more than three configurations. With REINFORCE, we see a weak tendency for a higher $\\lambda _ { s }$ to trigger higher entropy in the protocol (only violated at $\\lambda _ { s } = 0 . 5$ ). However, message entropy stays generally close to the lower bound even in presence of strong exploration, which favors higher entropy in Sender’s output distribution. ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
173,
|
| 583 |
+
739,
|
| 584 |
+
825,
|
| 585 |
+
823
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 4
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Image Classification As the models are more complex, we only had consistent success when training with Gumbel-Softmax. In Figure 2a we aggregate all successful runs. The information encoded by the protocol grows as Receiver’s output requires more information. However, in all configurations, the transmitted information stays well below the 10-bit upper bound and tends to be close to $H _ { m i n }$ ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
174,
|
| 594 |
+
830,
|
| 595 |
+
825,
|
| 596 |
+
886
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 4
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "image",
|
| 602 |
+
"img_path": "images/6fa8e7b9ba43e806e95fc16fc1116f453973a8f37add915cf0b2443524f00517.jpg",
|
| 603 |
+
"image_caption": [
|
| 604 |
+
"Figure 3: Learning in presence of random labels. GS (SM) indicates models trained with GumbelSoftmax (Softmax) channel. Linear are models with the channel removed. "
|
| 605 |
+
],
|
| 606 |
+
"image_footnote": [],
|
| 607 |
+
"bbox": [
|
| 608 |
+
238,
|
| 609 |
+
106,
|
| 610 |
+
743,
|
| 611 |
+
590
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "A natural interpretation is that Sender prefers to take charge of image classification and directly pass information about the output label, rather than sending along a presumably more information-heavy description of the input. In Figure 2b, we split the runs by temperature. Again, we see that lower temperatures consistently lead to stronger entropy minimization pressures. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
659,
|
| 621 |
+
825,
|
| 622 |
+
714
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "Summarizing, when communicating through a discrete channel, there is consistent pressure for the emergent protocol to encode as little information as necessary. This holds across games, training methods and hyperparameters. When training with Gumbel-Softmax, temperature controls the strength of this pressure, confirming the relation between entropy minimization and discreteness. ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
174,
|
| 631 |
+
722,
|
| 632 |
+
825,
|
| 633 |
+
777
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "4.2 REPRESENTATION DISCRETENESS AND ROBUSTNESS ",
|
| 640 |
+
"text_level": 1,
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
809,
|
| 644 |
+
576,
|
| 645 |
+
823
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "The entropy minimization effect we established in Section 4.1 indicates that a discrete representation will only store as much information as necessary to solve the task. This emergent behavior respects the “information bottleneck” principle (Tishby et al., 1999; Achille & Soatto, 2018a). The fact that lower training-time temperatures in Gumbel-Softmax optimization correlate with both higher discreteness and a tighter bottleneck (see Section 4.1) makes us further conjecture that discreteness is causally connected to the emergent bottleneck. ",
|
| 652 |
+
"bbox": [
|
| 653 |
+
174,
|
| 654 |
+
839,
|
| 655 |
+
825,
|
| 656 |
+
922
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 5
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "Interestingly, the same information-bottleneck principle has also been claimed to govern entropy minimization in natural language (Zaslavsky et al., 2018; 2019). The information-bottleneck effects in neural agents and natural language might be due to the same cause, namely discreteness of the communication. Further, we hypothesize that the emergent discrete information-bottleneck might have useful properties, since existing (continuous) architectures that explicitly impose a bottleneck pressure to provide a form of beneficial regularization are more robust to overfitting (Fischer, 2019) and adversarial attacks (Alemi et al., 2016; Fischer, 2019). We test here whether the expected regularization properties also emerge in our computational simulations (without any explicit pressure imposed through the cost function), and whether they are correlated with the degree of discreteness of the communication channel. If this connection exists, this also suggests that discreteness might be “beneficial” to human languages for the same reasons. ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
103,
|
| 666 |
+
825,
|
| 667 |
+
256
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 6
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "To assess our hypotheses, we consider the Image Classification game $N _ { l } = 1 0 $ ) in presence of randomly-shuffled training labels (the test set is untouched) (Zhang et al., 2016). This task allows us to explore whether the discrete communication bottleneck is associated to robustness to overfitting, and whether the latter depends on the level of discreteness (controlled by the temperature $\\tau$ of the Gumbel-Softmax relaxation).2 ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
263,
|
| 677 |
+
825,
|
| 678 |
+
333
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 6
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "We use the same architecture as before. The agents are trained with Gumbel-Softmax relaxation. However, for practicality, we do not switch to fully discrete communication at test time, only removing the noise component, thus effectively reducing Sender’s output to softmax with temperature. We refer to this architecture as GS. ",
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
340,
|
| 688 |
+
825,
|
| 689 |
+
395
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "We also consider two baseline architectures without relaxed discrete channel. In Linear, the fully connected output layer of Sender is directly connected to the linear embedding input of Receiver. Softmax (SM) places a softmax activation (with temperature) after Sender’s output layer and passes the result to Receiver. At test time, SM coincides with GS with the same temperature, but there was no discrete-sampling approximation during SM training. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
174,
|
| 698 |
+
402,
|
| 699 |
+
825,
|
| 700 |
+
473
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "We vary temperature and proportion of training examples with shuffled labels. We use temperatures $\\tau = 1 . 0$ and $\\tau = 1 0 . 0$ (the agents reach a test accuracy of 0.98 when trained with these temperatures on the original training set). SM with $\\tau = 1 . 0$ and $\\tau = 1 0 . 0$ behave similarly, hence we only report SM with $\\tau = 1 . 0$ . ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
479,
|
| 710 |
+
825,
|
| 711 |
+
535
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "In Figure 3a we report training accuracy when all labels are shuffled. Linear and SM fit the random labels almost perfectly within the first 150 epochs. With $\\tau = 1 0 . 0$ , GS achieves 0.8 accuracy within 200 epochs. When GS with $\\tau = 1 . 0$ is considered, the agents only start to improve over random guessing after 150 epochs, and accuracy is well below 0.2 after 200 epochs. As expected, test set performance is at chance level (Figure 3b). In the next experiment, we shuffle labels for a randomly selected half of the training instances. Train and test accuracies are shown in Figures 3c and 3d, respectively. All models initially fit the true-label examples (train accuracy $\\approx 0 . 5$ , test accuracy $\\approx 0 . 9 7 ,$ ). With more training, the baselines and GS with $\\tau = 1 0 . 0$ start (over)fitting the randomly labeled examples, too: train accuracy grows, while test accuracy falls. In contrast, GS with $\\tau = 1 . 0$ does not fit random labels, and its test accuracy stays high. Note that SM patterns with Linear and high-temperature GS, showing that the training-time discretization noise in GS is instrumental for robustness to over-fitting. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
542,
|
| 721 |
+
825,
|
| 722 |
+
709
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "We interpret the results as follows. To fully exploit their joint capacity for “successful” over-fitting, the agents need to coordinate label memorization. This requires passing large amounts of information through the channel. With a low temperature (more closely approximating a discrete channel), this is hard, due to stronger entropy minimization pressure. To test the hypothesis, we ran an experiment where all labels are shuffled and a layer of size $4 0 0 { \\bf x } 4 0 0$ is either added to Sender (just before the channel) or to Receiver (just after the channel). We predict that, with higher $\\tau$ (less discrete, less entropy minimization pressure), the training curves will be close, as the extra capacity can be used for memorization equally easy in both cases. With lower $\\tau$ (better discrete approximation, more pressure), the accuracy curves will be more distant, as the extra capacity can only be successfully exploited for memorization when placed before the channel. Figures 3e & 3f borne out the prediction. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
174,
|
| 731 |
+
715,
|
| 732 |
+
825,
|
| 733 |
+
856
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 6
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "These experiments showed that increased channel discreteness makes it harder to pass large amounts of information through, and leads to increased robustness against overfitting. This supports our hypotheses that discreteness brings about a bottleneck that in turn has some beneficial properties, which might ultimately provide a motivation for why an emergent communication system should evolve towards discreteness. ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
174,
|
| 742 |
+
103,
|
| 743 |
+
825,
|
| 744 |
+
172
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 7
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "5 RELATED WORK ",
|
| 751 |
+
"text_level": 1,
|
| 752 |
+
"bbox": [
|
| 753 |
+
176,
|
| 754 |
+
193,
|
| 755 |
+
344,
|
| 756 |
+
209
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 7
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "We briefly reviewed studies of emergent deep agent communication and entropy minimization in human language in the introduction. We are not aware of earlier work that looks for this property in emergent communication, although Evtimova et al. (2018) used information theory to study protocol development during learning, and, closer to us, Kågebäck et al. (2018) studied the effect of explicitly adding a complexity minimization term to the cost function on an emergent color-naming system. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
174,
|
| 765 |
+
224,
|
| 766 |
+
825,
|
| 767 |
+
294
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 7
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Discrete representations are explored in many places (e.g., van den Oord et al., 2017; Jang et al., 2016; Rolfe, 2016). However, these works focus on ways to learn discrete representations, rather than analyzing the properties of representations that are independently emerging on the side. Furthermore, our study also extends to the agents communicating with variable-length messages, produced and consumed by GRU (Cho et al., 2014) and Transformer (Vaswani et al., 2017) cells (see Appendix C.3). The sequential setup is specific to language, clearly distinguished from the settings studied in generic sparse-representation work. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
301,
|
| 777 |
+
825,
|
| 778 |
+
398
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "Other studies, inspired by the informational bottleneck principle, control the complexity of neural representations by regulating their information content (Strouse & Schwab, 2017; Fischer, 2019; Alemi et al., 2016; Achille & Soatto, 2018a;b). While they externally impose the bottleneck, we observe that it is an intrinsic feature when learning to communicate through a discrete channel. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
174,
|
| 787 |
+
406,
|
| 788 |
+
825,
|
| 789 |
+
462
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "6 DISCUSSION ",
|
| 796 |
+
"text_level": 1,
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
482,
|
| 800 |
+
310,
|
| 801 |
+
497
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 7
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Entropy minimization is pervasive in human language, where it constitutes a specific facet of the more general pressure towards communication efficiency. We found that the same property consistently characterizes the protocol emerging in simulations where two neural networks learn to solve a task jointly through a discrete communication code. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
513,
|
| 811 |
+
825,
|
| 812 |
+
568
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 7
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "In a comparative perspective, our results suggest that entropy minimization is a general property of discrete communication systems, independent of specific biological constraints humans are subject to. In particular, our analysis tentatively establishes a link between this property and the inherent difficulty of encoding information in discrete form (cf. the effect of adding a layer before or after the communication bottleneck in the overfitting experiment above). ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
575,
|
| 822 |
+
825,
|
| 823 |
+
645
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 7
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "Exploring entropy minimization in computational simulations provides a flexibility we lack when studying humans. For example, we uncovered here initial evidence that the communication bottleneck is acting as a good regularizer, making the joint agent system more robust to noise. This leads to an intriguing conjecture on the origin of language. Its discrete nature is often traced back to the fact that it allows us to produce an infinite number of expressions by combining a finite set of primitives (e.g., Berwick & Chomsky, 2016). However, it is far from clear that the need to communicate an infinite number of concepts could have provided the initial pressure to develop a discrete code. More probably, once such code independently emerged, it laid the conditions to develop an infinitely expressive language (Bickerton, 2014; Collier et al., 2014). Our work suggests that, because of its inherent regularizing effect, discrete coding is advantageous already when communication is about a limited number of concepts, providing an alternative explanation for its origin. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
652,
|
| 833 |
+
825,
|
| 834 |
+
805
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 7
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "In the future, we would like to study more continuous domains, such as color maps, where perfect accuracy is not easily attainable, nor desirable. Will the networks find an accuracy/complexity trade-off similar to those attested in human languages? Will other core language properties claimed to be related to this trade-off, such as Zipfian frequency distributions (Ferrer i Cancho & Díaz-Guilera, 2007), concurrently emerge? We would also like to compare the performance of human subjects equipped with novel continuous vs. discrete communication protocols, adopting the methods of experimental semiotics (Galantucci, 2009). We expect discrete protocols to favor generalization and robustness. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
813,
|
| 844 |
+
825,
|
| 845 |
+
924
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Our results have implications for the efforts to evolve agents interacting with each other and with humans through a discrete channel. First, because of entropy minimization, we should not expect the agents to develop a richer protocol than the simplest one that will ensure accurate communication. For example, Bouchacourt & Baroni (2018) found that agents trained to discriminate pairs of natural images depicting instances of about 500 high-level categories, such as cats and dogs, developed a lexicon that does not denote such categories, but low-level properties of the image themselves. This makes sense from an entropy-minimization perspective, as talking about the 500 high-level categories demands $\\log _ { 2 } 5 0 0$ bits of information, whereas many low-level strategies (e.g., discriminating average pixel intensity in the images) will only require transmitting a few bits. To have agents developing rich linguistic protocols, we must face them with varied challenges that truly demand them. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
103,
|
| 855 |
+
825,
|
| 856 |
+
242
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "Second, the focus on a discrete protocol is typically motivated by the goal to develop machines eventually able to communicate with humans. Indeed, discrete messages are not required in multiagent scenarios where no human in the loop is foreseen (Sukhbaatar et al., 2016). Our results suggest that, long before agents reach the level of complexity necessary to converse with humans, there are independent reasons to encourage discreteness, as it provides a source of robustness in a noisy world. An exciting direction for future applied work will be to test, in more practical settings, the effectiveness of discrete communication as a general form of representation learning. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
174,
|
| 865 |
+
250,
|
| 866 |
+
825,
|
| 867 |
+
347
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "REFERENCES ",
|
| 874 |
+
"text_level": 1,
|
| 875 |
+
"bbox": [
|
| 876 |
+
176,
|
| 877 |
+
368,
|
| 878 |
+
285,
|
| 879 |
+
383
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 8
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "Alessandro Achille and Stefano Soatto. Information dropout: Learning optimal representations through noisy computation. IEEE TPAMI, 40(12):2897–2905, 2018a. ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
391,
|
| 889 |
+
823,
|
| 890 |
+
420
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 8
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "Alessandro Achille and Stefano Soatto. Emergence of invariance and disentanglement in deep representations. The Journal of Machine Learning Research, 19(1):1947–1980, 2018b. ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
174,
|
| 899 |
+
428,
|
| 900 |
+
823,
|
| 901 |
+
458
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. arXiv preprint arXiv:1612.00410, 2016. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
173,
|
| 910 |
+
465,
|
| 911 |
+
823,
|
| 912 |
+
494
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Robert Berwick and Noam Chomsky. Why Only Us: Language and Evolution. MIT Press, Cambridge, MA, 2016. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
502,
|
| 922 |
+
825,
|
| 923 |
+
532
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "Derek Bickerton. More than Nature Needs: Language, Mind, and Evolution. Harvard University Press, Cambridge, MA, 2014. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
176,
|
| 932 |
+
540,
|
| 933 |
+
825,
|
| 934 |
+
569
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 8
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Diane Bouchacourt and Marco Baroni. How agents see things: On visual representations in an emergent language game. In EMNLP, 2018. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
171,
|
| 943 |
+
577,
|
| 944 |
+
825,
|
| 945 |
+
607
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "Nicholas Carlini and David Wagner. Defensive distillation is not robust to adversarial examples. arXiv preprint arXiv:1607.04311, 2016. ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
169,
|
| 954 |
+
614,
|
| 955 |
+
825,
|
| 956 |
+
645
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 8
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "Rahma Chaabouni, Eugene Kharitonov, Emmanuel Dupoux, and Marco Baroni. Anti-efficient encoding in emergent communication. In Proceedings of NeurIPS, Vancouver, Canada, 2019. In press. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
176,
|
| 965 |
+
652,
|
| 966 |
+
823,
|
| 967 |
+
695
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 8
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Maxime Chevalier-Boisvert, Dzmitry Bahdanau, Salem Lahlou, Lucas Willems, Chitwan Saharia, Thien Huu Nguyen, and Yoshua Bengio. BabyAI: A platform to study the sample efficiency of grounded language learning. In Proceedings of ICLR, New Orleans, LA, 2019. Published online: https://openreview.net/group?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ ICLR.cc/2019/conference. ",
|
| 974 |
+
"bbox": [
|
| 975 |
+
173,
|
| 976 |
+
704,
|
| 977 |
+
825,
|
| 978 |
+
761
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
174,
|
| 987 |
+
768,
|
| 988 |
+
823,
|
| 989 |
+
811
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 8
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "Edward Choi, Angeliki Lazaridou, and Nando de Freitas. Compositional obverter communication learning from raw visual input. arXiv preprint arXiv:1804.02341, 2018. ",
|
| 996 |
+
"bbox": [
|
| 997 |
+
173,
|
| 998 |
+
819,
|
| 999 |
+
823,
|
| 1000 |
+
849
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 8
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "Katie Collier, Balthasar Bickel, Carel van Schaik, Marta Manser, and Simon Townsend. Language evolution: Syntax before phonology? Proceedings of the Royal Society B: Biological Sciences, 281(1788):1–7, 2014. ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
174,
|
| 1009 |
+
858,
|
| 1010 |
+
823,
|
| 1011 |
+
900
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 8
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "text",
|
| 1017 |
+
"text": "Thomas M Cover and Joy A Thomas. Elements of Information Theory. John Wiley & Sons, 2012. ",
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
171,
|
| 1020 |
+
909,
|
| 1021 |
+
816,
|
| 1022 |
+
924
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "Katrina Evtimova, Andrew Drozdov, Douwe Kiela, and Kyunghyun Cho. Emergent communication in a multi-modal, multi-step referential game. In Proceedings of ICLR Conference Track, Vancouver, Canada, 2018. Published online: https://openreview.net/group?id ${ . } = { }$ ICLR.cc/ 2018/Conference. ",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
174,
|
| 1031 |
+
103,
|
| 1032 |
+
826,
|
| 1033 |
+
159
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 9
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "Ramon Ferrer i Cancho and Albert Díaz-Guilera. The global minima of the communicative energy of natural communication systems. Journal of Statistical Mechanics: Theory and Experiment, 2007 (06):P06009, 2007. ",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
174,
|
| 1042 |
+
167,
|
| 1043 |
+
825,
|
| 1044 |
+
210
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 9
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "Ramon Ferrer i Cancho, Antoni Hernández-Fernández, David Lusseau, Govindasamy Agoramoorthy, Minna Hsu, and Stuart Semple. Compression as a universal principle of animal behavior. Cognitive Science, 37(8):1565–1578, 2013. ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
173,
|
| 1053 |
+
219,
|
| 1054 |
+
826,
|
| 1055 |
+
262
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 9
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "Ian Fischer. The conditional entropy bottleneck, 2019. URL https://openreview.net/ forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ rkVOXhAqY7. ",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
171,
|
| 1064 |
+
270,
|
| 1065 |
+
823,
|
| 1066 |
+
299
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 9
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "Bruno Galantucci. Experimental semiotics: A new approach for studying communication as a form of joint action. Topics in Cognitive Science, 1(2):393–410, 2009. ",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
176,
|
| 1075 |
+
308,
|
| 1076 |
+
821,
|
| 1077 |
+
337
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 9
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "Edward Gibson, Richard Futrell Steven Piantadosi, Isabelle Dautriche, Kyle Mahowald, Leon Bergen, and Roger Levy. How efficiency shapes human language. Trends in Cognitive Science, 2019. In press. ",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
173,
|
| 1086 |
+
344,
|
| 1087 |
+
826,
|
| 1088 |
+
388
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 9
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
173,
|
| 1097 |
+
396,
|
| 1098 |
+
823,
|
| 1099 |
+
425
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 9
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "Laura Graesser, Kyunghyun Cho, and Douwe Kiela. Emergent linguistic phenomena in multi-agent communication games. https://arxiv.org/abs/1901.08706, 2019. ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
174,
|
| 1108 |
+
433,
|
| 1109 |
+
821,
|
| 1110 |
+
463
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 9
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "Evan Greensmith, Peter L Bartlett, and Jonathan Baxter. Variance reduction techniques for gradient estimates in reinforcement learning. JMLR, 5(Nov):1471–1530, 2004. ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
174,
|
| 1119 |
+
470,
|
| 1120 |
+
823,
|
| 1121 |
+
500
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 9
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: Learning to communicate with sequences of symbols. In NIPS, 2017. ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
174,
|
| 1130 |
+
508,
|
| 1131 |
+
823,
|
| 1132 |
+
537
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 9
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "James Hurford. The Origins of Language. Oxford University Press, Oxford, UK, 2014. ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
173,
|
| 1141 |
+
545,
|
| 1142 |
+
745,
|
| 1143 |
+
561
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 9
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with Gumbel-Softmax. arXiv preprint arXiv:1611.01144, 2016. ",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
173,
|
| 1152 |
+
569,
|
| 1153 |
+
820,
|
| 1154 |
+
598
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 9
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "Mikael Kågebäck, Devdatt Dubhashi, and Asad Sayeed. DeepColor: Reinforcement learning optimizes information efficiency and well-formedness in color name partitioning. In Proceedings of CogSci, pp. 1895–1900, Austin, TX, 2018. ",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
174,
|
| 1163 |
+
606,
|
| 1164 |
+
825,
|
| 1165 |
+
648
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 9
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "Charles Kemp and Terry Regier. Kinship categories across languages reflect general communicative principles. Science, 336(6084):1049–1054, 2012. ",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
174,
|
| 1174 |
+
657,
|
| 1175 |
+
821,
|
| 1176 |
+
686
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 9
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
174,
|
| 1185 |
+
694,
|
| 1186 |
+
825,
|
| 1187 |
+
723
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 9
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "Simon Kirby. Natural language from artificial life. Artificial life, 8(2):185–215, 2002. ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
171,
|
| 1196 |
+
731,
|
| 1197 |
+
738,
|
| 1198 |
+
747
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 9
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge’naturally’in multi-agent dialog. arXiv preprint arXiv:1706.08502, 2017. ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
171,
|
| 1207 |
+
756,
|
| 1208 |
+
823,
|
| 1209 |
+
785
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 9
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. arXiv preprint arXiv:1612.07182, 2016. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
169,
|
| 1218 |
+
792,
|
| 1219 |
+
823,
|
| 1220 |
+
821
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 9
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Angeliki Lazaridou, Karl Moritz Hermann, Karl Tuyls, and Stephen Clark. Emergence of linguistic communication from referential games with symbolic and pixel input. arXiv preprint arXiv:1804.03984, 2018. ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
173,
|
| 1229 |
+
830,
|
| 1230 |
+
823,
|
| 1231 |
+
872
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 9
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Yann LeCun, Bernhard E Boser, John S Denker, Donnie Henderson, Richard E Howard, Wayne E Hubbard, and Lawrence D Jackel. Handwritten digit recognition with a back-propagation network. In NIPS, 1990. ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
176,
|
| 1240 |
+
881,
|
| 1241 |
+
825,
|
| 1242 |
+
924
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 9
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998a. ",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
171,
|
| 1251 |
+
103,
|
| 1252 |
+
823,
|
| 1253 |
+
132
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 10
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "Yann LeCun, Léon Bottou, Yoshua Bengio, Patrick Haffner, et al. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998b. ",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
174,
|
| 1262 |
+
142,
|
| 1263 |
+
823,
|
| 1264 |
+
172
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 10
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "David Lewis. Convention harvard university press. Cambridge, MA, 1969. ",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
176,
|
| 1273 |
+
183,
|
| 1274 |
+
663,
|
| 1275 |
+
198
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 10
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "Ryan Lowe, Jakob Foerster, Y-Lan Boureau, Joelle Pineau, and Yann Dauphin. On the pitfalls of measuring emergent communication. In Proceedings of AAMAS, pp. 693–701, Montreal, Canada, 2019. ",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
174,
|
| 1284 |
+
208,
|
| 1285 |
+
826,
|
| 1286 |
+
251
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 10
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "Chris J Maddison, Andriy Mnih, and Yee Whye Teh. The concrete distribution: A continuous relaxation of discrete random variables. arXiv preprint arXiv:1611.00712, 2016. ",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
173,
|
| 1295 |
+
262,
|
| 1296 |
+
821,
|
| 1297 |
+
291
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 10
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "Tomas Mikolov, Armand Joulin, and Marco Baroni. A roadmap towards machine intelligence. In International Conference on Intelligent Text Processing and Computational Linguistics, pp. 29–61. Springer, 2016. ",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
176,
|
| 1306 |
+
301,
|
| 1307 |
+
821,
|
| 1308 |
+
344
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 10
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In ICML, 2016. ",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
174,
|
| 1317 |
+
354,
|
| 1318 |
+
825,
|
| 1319 |
+
398
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 10
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "Jason Tyler Rolfe. Discrete variational autoencoders. arXiv preprint arXiv:1609.02200, 2016. ",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
169,
|
| 1328 |
+
409,
|
| 1329 |
+
789,
|
| 1330 |
+
425
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 10
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "text",
|
| 1336 |
+
"text": "John Schulman, Nicolas Heess, Theophane Weber, and Pieter Abbeel. Gradient estimation using stochastic computation graphs. In NIPS, 2015. ",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
174,
|
| 1339 |
+
434,
|
| 1340 |
+
823,
|
| 1341 |
+
464
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 10
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "DJ Strouse and David J Schwab. The deterministic information bottleneck. Neural computation, 29 (6):1611–1630, 2017. ",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
173,
|
| 1350 |
+
474,
|
| 1351 |
+
825,
|
| 1352 |
+
503
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 10
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "Sainbayar Sukhbaatar, Arthur Szlam, and Rob Fergus. Learning multiagent communication with backpropagation. In NIPS. 2016. ",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
171,
|
| 1361 |
+
513,
|
| 1362 |
+
823,
|
| 1363 |
+
542
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 10
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "N. Tishby, F. Pereira, and W. Bialek. The information bottleneck method. In Proceedings of the 37th Annual Allerton Conference on Communication, Control and Computing. University of Illinois Press, 1999. ",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
174,
|
| 1372 |
+
554,
|
| 1373 |
+
823,
|
| 1374 |
+
597
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 10
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. In NIPS, 2017. ",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
173,
|
| 1383 |
+
607,
|
| 1384 |
+
823,
|
| 1385 |
+
637
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 10
|
| 1388 |
+
},
|
| 1389 |
+
{
|
| 1390 |
+
"type": "text",
|
| 1391 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Proceedings of NIPS, pp. 5998–6008, Long Beach, CA, 2017. ",
|
| 1392 |
+
"bbox": [
|
| 1393 |
+
174,
|
| 1394 |
+
647,
|
| 1395 |
+
826,
|
| 1396 |
+
690
|
| 1397 |
+
],
|
| 1398 |
+
"page_idx": 10
|
| 1399 |
+
},
|
| 1400 |
+
{
|
| 1401 |
+
"type": "text",
|
| 1402 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. ",
|
| 1403 |
+
"bbox": [
|
| 1404 |
+
169,
|
| 1405 |
+
702,
|
| 1406 |
+
823,
|
| 1407 |
+
731
|
| 1408 |
+
],
|
| 1409 |
+
"page_idx": 10
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"type": "text",
|
| 1413 |
+
"text": "Ronald J Williams and Jing Peng. Function optimization using connectionist reinforcement learning algorithms. Connection Science, 3(3):241–268, 1991. ",
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
171,
|
| 1416 |
+
741,
|
| 1417 |
+
823,
|
| 1418 |
+
770
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 10
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "Noga Zaslavsky, Charles Kemp, Terry Regier, and Naftali Tishby. Efficient compression in color naming and its evolution. Proceedings of the National Academy of Sciences, 115(31):7937–7942, 2018. ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
173,
|
| 1427 |
+
780,
|
| 1428 |
+
826,
|
| 1429 |
+
823
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 10
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "Noga Zaslavsky, Terry Regier, Naftali Tishby, and Charles Kemp. Semantic categories of artifacts and animals reflect efficient coding. In Proceedings of CogSci, pp. 1254–1260, Montreal, Canada, 2019. ",
|
| 1436 |
+
"bbox": [
|
| 1437 |
+
174,
|
| 1438 |
+
834,
|
| 1439 |
+
826,
|
| 1440 |
+
876
|
| 1441 |
+
],
|
| 1442 |
+
"page_idx": 10
|
| 1443 |
+
},
|
| 1444 |
+
{
|
| 1445 |
+
"type": "text",
|
| 1446 |
+
"text": "Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. ",
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
174,
|
| 1449 |
+
887,
|
| 1450 |
+
825,
|
| 1451 |
+
917
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 10
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "image",
|
| 1457 |
+
"img_path": "images/2e19b1010d43d3c12875a93c74cec80b63ff24122260fae0268ff3fb167820d5.jpg",
|
| 1458 |
+
"image_caption": [
|
| 1459 |
+
"Figure 4: Robustness to adversarial examples: higher accuracy given fixed $\\epsilon$ implies more robustness. "
|
| 1460 |
+
],
|
| 1461 |
+
"image_footnote": [],
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
241,
|
| 1464 |
+
113,
|
| 1465 |
+
736,
|
| 1466 |
+
260
|
| 1467 |
+
],
|
| 1468 |
+
"page_idx": 11
|
| 1469 |
+
},
|
| 1470 |
+
{
|
| 1471 |
+
"type": "image",
|
| 1472 |
+
"img_path": "images/8e91081d64406159c83cb9042cdb5a174448d618f5f343dc2a39f5d144c8d6dd.jpg",
|
| 1473 |
+
"image_caption": [
|
| 1474 |
+
"Figure 5: Guess Number: Receiver’s dependence on messages, measured as performance drop under message intervention. "
|
| 1475 |
+
],
|
| 1476 |
+
"image_footnote": [],
|
| 1477 |
+
"bbox": [
|
| 1478 |
+
341,
|
| 1479 |
+
328,
|
| 1480 |
+
630,
|
| 1481 |
+
483
|
| 1482 |
+
],
|
| 1483 |
+
"page_idx": 11
|
| 1484 |
+
},
|
| 1485 |
+
{
|
| 1486 |
+
"type": "text",
|
| 1487 |
+
"text": "A ROBUSTNESS TO ADVERSARIAL ATTACKS ",
|
| 1488 |
+
"text_level": 1,
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
174,
|
| 1491 |
+
558,
|
| 1492 |
+
555,
|
| 1493 |
+
573
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 11
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "In this Section, we study robustness of the agents equipped with a relaxed discrete channel against adversarial attacks. We use the same architectures as in Section 4.2 of the main paper. Specifically, by GS we indicate the architecture where agents are trained with Gumbel-Softmax relaxation, which at test-time is replaced by (noiseless) softmax with the same temperature. SM is an architecture where the communication channel is replaced by a Softmax layer with temperature. The Linear baseline has no “channel”: the output of Sender is directly plugged as input to the Receiver. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
173,
|
| 1502 |
+
594,
|
| 1503 |
+
825,
|
| 1504 |
+
679
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 11
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "We train agents with different random seeds and implement white-box attacks on the trained models, varying temperature $\\tau$ and the allowed perturbation norm, $\\epsilon$ . We use the standard Fast Gradient Sign Method (FGSM) of Goodfellow et al. (2014). The original image $i _ { s }$ is perturbed to $i _ { s } ^ { * }$ along the direction that maximizes the loss of Receiver’s output $\\pmb { o } = R \\big ( S ( i _ { s } ) \\big )$ w.r.t. ground-truth class $\\imath$ : ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
174,
|
| 1513 |
+
685,
|
| 1514 |
+
825,
|
| 1515 |
+
742
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 11
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "equation",
|
| 1521 |
+
"img_path": "images/b87e8b8074018fe2234a3db1269e1cd7da74a41761101d08cfbb54ea709af41b.jpg",
|
| 1522 |
+
"text": "$$\ni _ { s } ^ { * } = c l i p \\left[ i _ { s } + \\epsilon \\cdot s i g n \\left[ \\nabla _ { i _ { s } } \\mathcal { L } ( o , l ) \\right] , 0 , 1 \\right]\n$$",
|
| 1523 |
+
"text_format": "latex",
|
| 1524 |
+
"bbox": [
|
| 1525 |
+
357,
|
| 1526 |
+
757,
|
| 1527 |
+
638,
|
| 1528 |
+
775
|
| 1529 |
+
],
|
| 1530 |
+
"page_idx": 11
|
| 1531 |
+
},
|
| 1532 |
+
{
|
| 1533 |
+
"type": "text",
|
| 1534 |
+
"text": "where $\\epsilon$ controls the $L _ { \\infty }$ norm of the perturbation. Under an attack with a fixed $\\epsilon$ , a more robust method would have a smaller accuracy drop. To avoid numerical stability issues akin to those reported by Carlini & Wagner (2016), all computations are done in 64-bit floats. ",
|
| 1535 |
+
"bbox": [
|
| 1536 |
+
173,
|
| 1537 |
+
790,
|
| 1538 |
+
825,
|
| 1539 |
+
833
|
| 1540 |
+
],
|
| 1541 |
+
"page_idx": 11
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"type": "text",
|
| 1545 |
+
"text": "As earlier in Section 4.2, we observed that SM behaves similarly with different temperatures (we experimented with $\\tau \\in \\{ 0 . 1 , 1 . 0 , 1 0 . 0 \\} )$ , we report only results with $\\tau = 1 . 0$ . Figure 4a shows that, as the relaxation temperature decreases, the accuracy drop also decreases. The highest robustness is achieved with $\\tau = 0 . 1$ . Comparison with the baselines (Figure 4b) confirms that relaxed discrete training with $\\tau = 0 . 1$ improves robustness. However, this robustness comes at the cost of harder training: 2 out of 5 random seeds did not reach the desired performance level (0.98) after 200 epochs. ",
|
| 1546 |
+
"bbox": [
|
| 1547 |
+
173,
|
| 1548 |
+
839,
|
| 1549 |
+
825,
|
| 1550 |
+
924
|
| 1551 |
+
],
|
| 1552 |
+
"page_idx": 11
|
| 1553 |
+
},
|
| 1554 |
+
{
|
| 1555 |
+
"type": "text",
|
| 1556 |
+
"text": "B HOW MUCH DOES RECEIVER RELY ON MESSAGES IN GUESS NUMBER? ",
|
| 1557 |
+
"text_level": 1,
|
| 1558 |
+
"bbox": [
|
| 1559 |
+
171,
|
| 1560 |
+
102,
|
| 1561 |
+
795,
|
| 1562 |
+
117
|
| 1563 |
+
],
|
| 1564 |
+
"page_idx": 12
|
| 1565 |
+
},
|
| 1566 |
+
{
|
| 1567 |
+
"type": "text",
|
| 1568 |
+
"text": "We supplement the experiments of Section 3 of the main text by studying the degree to which Receiver relies on messages in Guess Number. In particular, we show that when Receiver has the full input $( i _ { s } = i _ { r }$ ), it ignores the messages. ",
|
| 1569 |
+
"bbox": [
|
| 1570 |
+
174,
|
| 1571 |
+
133,
|
| 1572 |
+
823,
|
| 1573 |
+
176
|
| 1574 |
+
],
|
| 1575 |
+
"page_idx": 12
|
| 1576 |
+
},
|
| 1577 |
+
{
|
| 1578 |
+
"type": "text",
|
| 1579 |
+
"text": "We measure the degree to which Receiver relies on the messages from Sender by constructing a setup where we break communication, but still let Receiver rely on its own input. More precisely, we first enumerate all test inputs for Sender $i _ { s }$ and Receiver $i _ { r }$ . We obtain messages that correspond to Sender’s inputs, and shuffle them. Next, we feed the shuffled messages alongside Receiver’s own (un-shuffled) inputs and compute accuracy, as a measure of Receiver’s dependence on the messages. This procedure preserves the marginal distribution of the Receiver input messages, but destroys all the information Sender transmits. ",
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
174,
|
| 1582 |
+
183,
|
| 1583 |
+
825,
|
| 1584 |
+
280
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 12
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "text",
|
| 1590 |
+
"text": "Without messages, Receiver, given $k$ input bits, can only reach an accuracy of $2 ^ { 8 - k }$ . In Figure 5, we report results aggregated by training method. Receiver is extremely close to the accuracy’s higher bound in all configurations. Moreover, when Receiver gets the entire input, the drop in accuracy after shuffling is tiny, proving that Receiver’s reliance on the message is minimal in that setting. ",
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
176,
|
| 1593 |
+
287,
|
| 1594 |
+
825,
|
| 1595 |
+
343
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 12
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "text",
|
| 1601 |
+
"text": "C INFLUENCE OF ARCHITECTURE CHOICES ",
|
| 1602 |
+
"text_level": 1,
|
| 1603 |
+
"bbox": [
|
| 1604 |
+
174,
|
| 1605 |
+
366,
|
| 1606 |
+
545,
|
| 1607 |
+
381
|
| 1608 |
+
],
|
| 1609 |
+
"page_idx": 12
|
| 1610 |
+
},
|
| 1611 |
+
{
|
| 1612 |
+
"type": "text",
|
| 1613 |
+
"text": "C.1 DOES VOCABULARY SIZE AFFECT THE RESULTS? ",
|
| 1614 |
+
"text_level": 1,
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
174,
|
| 1617 |
+
397,
|
| 1618 |
+
553,
|
| 1619 |
+
411
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 12
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "text",
|
| 1625 |
+
"text": "We repeat the same experiments as in Section 3 of the main text while varying vocabulary size. Note that, to make Guess Number solvable across each configuration, the vocabulary has to contain at least 256 symbols. Similarly, for Image Classification, vocabulary size must be of at least 100. We tried vocabulary sizes of 256, 1024, 4096 for Guess Number, and 512, 1024, 2048 for Image Classification. The results are reported in Figures 6 (Guess Number) and 7 (Image Classification). We observe that there is little qualitative variation over vocabulary size, hence the conclusions we had in Section 3 of the main paper are robust to variations of this parameter. ",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
174,
|
| 1628 |
+
422,
|
| 1629 |
+
825,
|
| 1630 |
+
521
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 12
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "text",
|
| 1636 |
+
"text": "C.2 DOES RECEIVER’S CAPACITY AFFECT THE RESULTS? ",
|
| 1637 |
+
"text_level": 1,
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
174,
|
| 1640 |
+
540,
|
| 1641 |
+
583,
|
| 1642 |
+
554
|
| 1643 |
+
],
|
| 1644 |
+
"page_idx": 12
|
| 1645 |
+
},
|
| 1646 |
+
{
|
| 1647 |
+
"type": "text",
|
| 1648 |
+
"text": "One potential confounding variable is the capacity of Receiver. Indeed, if Receiver is very simple, then, for the task to be solved, Sender would have to calculate the answer itself and feed it to Receiver. To investigate this, we repeat the Image Classification experiment from Section 4 of the main paper while controlling the power of Receiver’s architecture: we put two additional fully-connected 400x400 hidden layers between the input embedding and the output layer, while in Section 4, Receiver had a single hidden layer. ",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
174,
|
| 1651 |
+
565,
|
| 1652 |
+
825,
|
| 1653 |
+
648
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 12
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "text",
|
| 1659 |
+
"text": "In Figure 8 we compare the results obtained with these two variations of Receiver. The reported entropy minimization effect holds: even in presence of additional layers, the entropy of messages $H ( m )$ is far from the upper-bound $H _ { m a x } = 1 0$ bits and closely follows the lower bound, $H _ { m i n } =$ $\\log _ { 2 } N _ { l }$ . Thus, again, a more nuanced protocol only appears when it is needed. Finally, we see that results for both architectures are close, although in three out of seven task setups (the number of classes $N _ { l }$ is 2, 10, and 20) a deeper model results in a slightly higher entropy of the protocol, on average. Overall, we conclude that Receiver’s capacity does not play a major role in the entropy minimization effect and the latter also takes place with a more powerful Receiver. ",
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
174,
|
| 1662 |
+
656,
|
| 1663 |
+
825,
|
| 1664 |
+
767
|
| 1665 |
+
],
|
| 1666 |
+
"page_idx": 12
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"type": "text",
|
| 1670 |
+
"text": "C.3 WHAT IF COMMUNICATION TAKES PLACE THROUGH SEQUENCES OF SYMBOLS? ",
|
| 1671 |
+
"text_level": 1,
|
| 1672 |
+
"bbox": [
|
| 1673 |
+
173,
|
| 1674 |
+
786,
|
| 1675 |
+
763,
|
| 1676 |
+
800
|
| 1677 |
+
],
|
| 1678 |
+
"page_idx": 12
|
| 1679 |
+
},
|
| 1680 |
+
{
|
| 1681 |
+
"type": "text",
|
| 1682 |
+
"text": "We also experiment with Guess Number in a setup where the agents communicate via variable-length messages. The general architecture of the agents is same as in Section 3.1, however the output of Sender is used as the initial hidden state of a GRU cell (Cho et al., 2014). In turn, this GRU is unrolled to generate the message. The message is produced until the GRU outputs a special $< e o s >$ token or until the maximal length is reached. In the latter case, ${ < } e o s { > }$ is appended to the message. The produced message is consumed by a Receiver’s GRU unit and the hidden state corresponding to ${ < } e o s { > }$ is used by Receiver as input to further processing. We use the Stochastic Computation Graph estimator as described in Section 3.2, as it provided fastest convergence. ",
|
| 1683 |
+
"bbox": [
|
| 1684 |
+
174,
|
| 1685 |
+
811,
|
| 1686 |
+
825,
|
| 1687 |
+
924
|
| 1688 |
+
],
|
| 1689 |
+
"page_idx": 12
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "image",
|
| 1693 |
+
"img_path": "images/880a1381c927999dfa608b78060d21b3fbfc22c630e00fdd9526dd473345df65.jpg",
|
| 1694 |
+
"image_caption": [
|
| 1695 |
+
"Figure 6: Guess Number: Entropy of the messages $_ { m }$ , depending on vocabulary size, training method, and relaxation temperature $\\tau$ (when trained with Gumbel-Softmax) or Sender’s entropy regularization coefficient $\\lambda _ { s }$ . Shaded regions mark standard deviation. "
|
| 1696 |
+
],
|
| 1697 |
+
"image_footnote": [],
|
| 1698 |
+
"bbox": [
|
| 1699 |
+
183,
|
| 1700 |
+
109,
|
| 1701 |
+
803,
|
| 1702 |
+
558
|
| 1703 |
+
],
|
| 1704 |
+
"page_idx": 13
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"type": "text",
|
| 1708 |
+
"text": "We consider the entire variable-length message as the realization of a random variable $_ { m }$ when calculating the entropy of the messages, $H ( m )$ . The results are reported in Figure 9, arranged in function of maximal message length and vocabulary size. As before, we aggregate the successful runs according to the entropy regularization coefficient $\\lambda _ { s }$ applied to Sender’s output layer. ",
|
| 1709 |
+
"bbox": [
|
| 1710 |
+
174,
|
| 1711 |
+
640,
|
| 1712 |
+
825,
|
| 1713 |
+
696
|
| 1714 |
+
],
|
| 1715 |
+
"page_idx": 13
|
| 1716 |
+
},
|
| 1717 |
+
{
|
| 1718 |
+
"type": "text",
|
| 1719 |
+
"text": "From Figure 9 we observe that the results are in line with those obtained in the one-symbol scenario. Entropy minimization still holds: a more nuanced (high-entropy) protocol only develops when more digits are hidden from Receiver, which hence requires more information to perform the task. The approximation to the lower bound is however less tight as the overall number of possible messages grows (higher maximum length and/or vocabulary size). There is also a weak tendency for lower $\\lambda _ { s }$ to encourage a tighter bottleneck. ",
|
| 1720 |
+
"bbox": [
|
| 1721 |
+
174,
|
| 1722 |
+
703,
|
| 1723 |
+
825,
|
| 1724 |
+
787
|
| 1725 |
+
],
|
| 1726 |
+
"page_idx": 13
|
| 1727 |
+
},
|
| 1728 |
+
{
|
| 1729 |
+
"type": "text",
|
| 1730 |
+
"text": "In preliminary experiments, we have similar results when the variable-length communication is performed via Transformer cells (Vaswani et al., 2017) instead of GRUs (not reported here). ",
|
| 1731 |
+
"bbox": [
|
| 1732 |
+
173,
|
| 1733 |
+
794,
|
| 1734 |
+
823,
|
| 1735 |
+
821
|
| 1736 |
+
],
|
| 1737 |
+
"page_idx": 13
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"type": "text",
|
| 1741 |
+
"text": "D TWO-DIGIT MNIST DATASET ",
|
| 1742 |
+
"text_level": 1,
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
176,
|
| 1745 |
+
847,
|
| 1746 |
+
455,
|
| 1747 |
+
863
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 13
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "As discussed in Section 3, to ensure high output informational complexity in the Image Classification task, we use a two-digit variant of the MNIST dataset (LeCun et al., 1998a). We construct it as follows. When iterating over the original MNIST dataset, we take a batch $b$ and (a) select the first $| b | / 2$ and last $| b | / 2$ images, refer to them as $b _ { 1 }$ and $b _ { 2 }$ , respectively; (b) create a new batch where the ith image from $b _ { 1 }$ is placed to the left of the ith image from $b _ { 2 }$ and then vice versa. As a result, we obtain a new stream of images, where each MNIST digit is seen twice, on the left and on the right side. Note that not all possible pairwise combinations of the original images are generated (there are $6 0 0 0 0 ^ { 2 }$ of those in the training set alone) and the exact combinations change across epochs. As labels, we use the depicted two-digit number modulo $N _ { l }$ , where $N _ { l }$ is the required number of classes. All pixels are scaled into [0, 1]. We use the same process to generate training and test sets, based on the training and test images of the original MNIST dataset, respectively. ",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
176,
|
| 1756 |
+
882,
|
| 1757 |
+
823,
|
| 1758 |
+
924
|
| 1759 |
+
],
|
| 1760 |
+
"page_idx": 13
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"type": "image",
|
| 1764 |
+
"img_path": "images/960a1cc8dface251f1f8f8ca8cd2aab06beb57b3185a545c72a677a3a41a7048.jpg",
|
| 1765 |
+
"image_caption": [
|
| 1766 |
+
"Figure 7: Image Classification: entropy of the messages $H ( m )$ across vocabulary sizes. Successful runs are pooled together. Shaded regions mark standard deviation. "
|
| 1767 |
+
],
|
| 1768 |
+
"image_footnote": [],
|
| 1769 |
+
"bbox": [
|
| 1770 |
+
184,
|
| 1771 |
+
117,
|
| 1772 |
+
802,
|
| 1773 |
+
241
|
| 1774 |
+
],
|
| 1775 |
+
"page_idx": 14
|
| 1776 |
+
},
|
| 1777 |
+
{
|
| 1778 |
+
"type": "image",
|
| 1779 |
+
"img_path": "images/bfe57e96396202bf263b1209a7444cb917cd4d4a12307438ffcc32e50e86db7c.jpg",
|
| 1780 |
+
"image_caption": [
|
| 1781 |
+
"Figure 8: Image Classification: entropy of the messages $H ( m )$ across Receiver model sizes. Successful runs are pooled together. Shaded regions mark standard deviation. "
|
| 1782 |
+
],
|
| 1783 |
+
"image_footnote": [],
|
| 1784 |
+
"bbox": [
|
| 1785 |
+
349,
|
| 1786 |
+
319,
|
| 1787 |
+
630,
|
| 1788 |
+
474
|
| 1789 |
+
],
|
| 1790 |
+
"page_idx": 14
|
| 1791 |
+
},
|
| 1792 |
+
{
|
| 1793 |
+
"type": "image",
|
| 1794 |
+
"img_path": "images/40a177662c62a29e55feb03cc83b7813716dd47d1ac6b5a694034a541ca214e4.jpg",
|
| 1795 |
+
"image_caption": [
|
| 1796 |
+
"Figure 9: Guess Number: Entropy of the emergent protocol when communication is performed with variable-length messages. Shaded regions mark standard deviation. "
|
| 1797 |
+
],
|
| 1798 |
+
"image_footnote": [],
|
| 1799 |
+
"bbox": [
|
| 1800 |
+
246,
|
| 1801 |
+
546,
|
| 1802 |
+
738,
|
| 1803 |
+
873
|
| 1804 |
+
],
|
| 1805 |
+
"page_idx": 14
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"type": "text",
|
| 1809 |
+
"text": "",
|
| 1810 |
+
"bbox": [
|
| 1811 |
+
174,
|
| 1812 |
+
103,
|
| 1813 |
+
825,
|
| 1814 |
+
215
|
| 1815 |
+
],
|
| 1816 |
+
"page_idx": 15
|
| 1817 |
+
},
|
| 1818 |
+
{
|
| 1819 |
+
"type": "text",
|
| 1820 |
+
"text": "E HYPERPARAMETERS ",
|
| 1821 |
+
"text_level": 1,
|
| 1822 |
+
"bbox": [
|
| 1823 |
+
176,
|
| 1824 |
+
236,
|
| 1825 |
+
379,
|
| 1826 |
+
251
|
| 1827 |
+
],
|
| 1828 |
+
"page_idx": 15
|
| 1829 |
+
},
|
| 1830 |
+
{
|
| 1831 |
+
"type": "text",
|
| 1832 |
+
"text": "In our experiments, we used the following hyperparameter grids. ",
|
| 1833 |
+
"bbox": [
|
| 1834 |
+
174,
|
| 1835 |
+
267,
|
| 1836 |
+
598,
|
| 1837 |
+
281
|
| 1838 |
+
],
|
| 1839 |
+
"page_idx": 15
|
| 1840 |
+
},
|
| 1841 |
+
{
|
| 1842 |
+
"type": "text",
|
| 1843 |
+
"text": "Guess Number (Gumbel-Softmax) Vocab. size: [256, 1024, 4096]; temperature, $\\tau$ : [0.5, 0.75, 1.0, 1.25, 1.5]; learning rate: [0.001, 0.0001]; max. number of epochs: 250; random seeds: [0, 1, 2, 3]; batch size: 8; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8]. ",
|
| 1844 |
+
"bbox": [
|
| 1845 |
+
176,
|
| 1846 |
+
287,
|
| 1847 |
+
825,
|
| 1848 |
+
330
|
| 1849 |
+
],
|
| 1850 |
+
"page_idx": 15
|
| 1851 |
+
},
|
| 1852 |
+
{
|
| 1853 |
+
"type": "text",
|
| 1854 |
+
"text": "Guess Number (REINFORCE) Vocab. size: [256, 1024, 4096]; Sender entropy regularization coef., $\\lambda _ { s }$ : [0.01, 0.05, 0.025, 0.1, 0.5, 1.0]; Receiver entropy regularization coef., $\\lambda _ { r }$ : [0.01, 0.1, 0.5, 1.0]; learning rate: [0.0001, 0.001, 0.01]; max. number of epochs: 1000; random seeds: [0, 1, 2, 3]; batch size: 2048; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8]. ",
|
| 1855 |
+
"bbox": [
|
| 1856 |
+
174,
|
| 1857 |
+
337,
|
| 1858 |
+
825,
|
| 1859 |
+
393
|
| 1860 |
+
],
|
| 1861 |
+
"page_idx": 15
|
| 1862 |
+
},
|
| 1863 |
+
{
|
| 1864 |
+
"type": "text",
|
| 1865 |
+
"text": "Guess Number (Stochastic Computation Graph approach): Vocab. size: [256, 1024, 4096]; Sender entropy regularization coef., $\\lambda _ { s }$ : [0.01, 0.025, 0.05, 0.075, 0.1, 0.25]; learning rate: [0.0001, 0.001]; max. number of epochs: 1000; random seeds: [0, 1, 2, 3]; batch size: 2048; early stopping thr.: 0.99; bits shown to Receiver: [0, 1, 2, 3, 4, 5, 6, 7, 8]. ",
|
| 1866 |
+
"bbox": [
|
| 1867 |
+
173,
|
| 1868 |
+
400,
|
| 1869 |
+
826,
|
| 1870 |
+
457
|
| 1871 |
+
],
|
| 1872 |
+
"page_idx": 15
|
| 1873 |
+
},
|
| 1874 |
+
{
|
| 1875 |
+
"type": "text",
|
| 1876 |
+
"text": "Image Classification experiments Vocab. size: [512, 1024, 2048]; temperature, $\\tau$ : [0.5, 0.75, 1.0, 1.5, 2.0]; learning rate: [0.01, 0.001, 0.0001], max. number of epochs: 100; random seeds: [0, 1, 2]; batch size: 32; early stopping thr.: 0.98; number of classes: [2, 4, 10, 20, 25, 50, 100]. ",
|
| 1877 |
+
"bbox": [
|
| 1878 |
+
173,
|
| 1879 |
+
463,
|
| 1880 |
+
825,
|
| 1881 |
+
506
|
| 1882 |
+
],
|
| 1883 |
+
"page_idx": 15
|
| 1884 |
+
},
|
| 1885 |
+
{
|
| 1886 |
+
"type": "text",
|
| 1887 |
+
"text": "Fitting random labels experiments Vocab. size: 1024; temperature, $\\tau { } .$ : [1.0, 10.0]; learning rate: 1e-4, max. number of epochs: 200; random seeds: [0, 1, 2, 3, 4]; batch size: 32; early stopping thr.: $\\infty$ ; prob. of label corruption: [0.0, 0.5, 1.0]. ",
|
| 1888 |
+
"bbox": [
|
| 1889 |
+
174,
|
| 1890 |
+
512,
|
| 1891 |
+
825,
|
| 1892 |
+
554
|
| 1893 |
+
],
|
| 1894 |
+
"page_idx": 15
|
| 1895 |
+
},
|
| 1896 |
+
{
|
| 1897 |
+
"type": "text",
|
| 1898 |
+
"text": "Adversarial attack experiments Vocab. size: 1024; temperature, $\\tau$ : [0.1, 1.0, 10.0]; learning rate: 1e-4, max. number of epochs: 200; random seeds: [0, 1, 2, 3, 4]; batch size: 32; early stopping thr.: 0.98. ",
|
| 1899 |
+
"bbox": [
|
| 1900 |
+
174,
|
| 1901 |
+
561,
|
| 1902 |
+
826,
|
| 1903 |
+
603
|
| 1904 |
+
],
|
| 1905 |
+
"page_idx": 15
|
| 1906 |
+
},
|
| 1907 |
+
{
|
| 1908 |
+
"type": "text",
|
| 1909 |
+
"text": "F EVOLUTION OF MESSAGE ENTROPY DURING TRAINING ",
|
| 1910 |
+
"text_level": 1,
|
| 1911 |
+
"bbox": [
|
| 1912 |
+
174,
|
| 1913 |
+
626,
|
| 1914 |
+
661,
|
| 1915 |
+
640
|
| 1916 |
+
],
|
| 1917 |
+
"page_idx": 15
|
| 1918 |
+
},
|
| 1919 |
+
{
|
| 1920 |
+
"type": "text",
|
| 1921 |
+
"text": "In this Section, we aim to gain additional insight into development of the communication protocol by measuring its entropy during training. We concentrate on Guess Number and use the same experimental runs summarized in Figure 1 of the main text. ",
|
| 1922 |
+
"bbox": [
|
| 1923 |
+
174,
|
| 1924 |
+
656,
|
| 1925 |
+
825,
|
| 1926 |
+
698
|
| 1927 |
+
],
|
| 1928 |
+
"page_idx": 15
|
| 1929 |
+
},
|
| 1930 |
+
{
|
| 1931 |
+
"type": "text",
|
| 1932 |
+
"text": "For each game configuration (that is, number of bits hidden from Receiver), we randomly select one successful run and plot the evolution of Sender message entropy and accuracy over training epochs.3 We also plot entropy and accuracy curves for a randomly selected failed run, to verify to what extent entropy development depends on task success. ",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
174,
|
| 1935 |
+
704,
|
| 1936 |
+
825,
|
| 1937 |
+
761
|
| 1938 |
+
],
|
| 1939 |
+
"page_idx": 15
|
| 1940 |
+
},
|
| 1941 |
+
{
|
| 1942 |
+
"type": "text",
|
| 1943 |
+
"text": "We report results for runs where training was performed with Gumbel-Softmax relaxation and with the Stochastic Graph Computation approach in Figures 10 and 11, respectively. The reported entropy and accuracy values are calculated in evaluation mode, where Sender’s output is selected greedily, without sampling. A higher entropy of such deterministic Sender indicates that the latter can encode more information about inputs in its messages. ",
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
174,
|
| 1946 |
+
767,
|
| 1947 |
+
825,
|
| 1948 |
+
838
|
| 1949 |
+
],
|
| 1950 |
+
"page_idx": 15
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"type": "text",
|
| 1954 |
+
"text": "From these results, we firstly observe that the initial entropy of Sender’s messages (before training) can be both higher than required for communication success (Figures 10a and 11a) and lower (the rest). When it starts higher than needed, it generally falls closer to the minimum level required for the solution. When the initial value is low, it increases during training. The failed runs can have message entropy above (Figures 10a, 10b & 11a) and below (e.g. Figures 10c, 10d & 11d) successful runs, suggesting that there is no systematic relation between degree of entropy and task success. ",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
174,
|
| 1957 |
+
844,
|
| 1958 |
+
825,
|
| 1959 |
+
887
|
| 1960 |
+
],
|
| 1961 |
+
"page_idx": 15
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"type": "text",
|
| 1965 |
+
"text": "",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
174,
|
| 1968 |
+
103,
|
| 1969 |
+
825,
|
| 1970 |
+
146
|
| 1971 |
+
],
|
| 1972 |
+
"page_idx": 16
|
| 1973 |
+
},
|
| 1974 |
+
{
|
| 1975 |
+
"type": "text",
|
| 1976 |
+
"text": "The fact that the entropy can be reduced with no decrease in accuracy or even with accuracy growth (e.g. Figure 10a, red line, epochs 5..30) indicates that the tendency to discover new messages (increasing entropy) is counter-balanced by the complexity of mutual coordination with Receiver when entropy is larger. In our interpretation, it is this interplay that serves as a source of the natural bottleneck. ",
|
| 1977 |
+
"bbox": [
|
| 1978 |
+
173,
|
| 1979 |
+
152,
|
| 1980 |
+
825,
|
| 1981 |
+
222
|
| 1982 |
+
],
|
| 1983 |
+
"page_idx": 16
|
| 1984 |
+
},
|
| 1985 |
+
{
|
| 1986 |
+
"type": "text",
|
| 1987 |
+
"text": "Finally, while in some runs the entropy is effectively increased w.r.t. its initialization level, the resulting protocol’s entropy is at, or slightly above the lower bound of what the task allows. In this sense, we argue that the reported effect can be correctly denoted as a “minimization” result. ",
|
| 1988 |
+
"bbox": [
|
| 1989 |
+
174,
|
| 1990 |
+
229,
|
| 1991 |
+
825,
|
| 1992 |
+
272
|
| 1993 |
+
],
|
| 1994 |
+
"page_idx": 16
|
| 1995 |
+
},
|
| 1996 |
+
{
|
| 1997 |
+
"type": "image",
|
| 1998 |
+
"img_path": "images/ec673b2b4b5c6f3a8028c0d4d329bebe77be350d900efebd2016ce16aad210b3.jpg",
|
| 1999 |
+
"image_caption": [
|
| 2000 |
+
"Figure 10: Evolution of $H ( m )$ over training epochs. Gumbel Softmax-based optimization, Guess Number. For each game configuration, specified by the number of bits Receiver lacks, we sample one successful (black line) and one failed (red line) training trajectory. The blue line marks $H _ { m i n }$ , minimal entropy for a successful solution. "
|
| 2001 |
+
],
|
| 2002 |
+
"image_footnote": [],
|
| 2003 |
+
"bbox": [
|
| 2004 |
+
223,
|
| 2005 |
+
75,
|
| 2006 |
+
761,
|
| 2007 |
+
852
|
| 2008 |
+
],
|
| 2009 |
+
"page_idx": 17
|
| 2010 |
+
},
|
| 2011 |
+
{
|
| 2012 |
+
"type": "image",
|
| 2013 |
+
"img_path": "images/88e877bacfe4f92d5898e1513423df0cef7e71b5ecb42210d345e73c1dfd650a.jpg",
|
| 2014 |
+
"image_caption": [
|
| 2015 |
+
"Figure 11: Evolution of $H ( m )$ over training epochs. Stochastic Computation Graph-based optimization, Guess Number. For each game configuration, specified by the number of bits Receiver lacks, we sample one successful (black line) and one failed (red line) training trajectory. The blue line marks $H _ { m i n }$ , minimal entropy for a successful solution. "
|
| 2016 |
+
],
|
| 2017 |
+
"image_footnote": [],
|
| 2018 |
+
"bbox": [
|
| 2019 |
+
223,
|
| 2020 |
+
90,
|
| 2021 |
+
759,
|
| 2022 |
+
848
|
| 2023 |
+
],
|
| 2024 |
+
"page_idx": 18
|
| 2025 |
+
}
|
| 2026 |
+
]
|
parse/train/SylVJTNKDr/SylVJTNKDr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SylVJTNKDr/SylVJTNKDr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/TMUR2ovJfjE/TMUR2ovJfjE.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb.md
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Learning Human Pose Estimation Features with Convolutional Networks
|
| 2 |
+
|
| 3 |
+
Arjun Jain New York University ajain@nyu.edu
|
| 4 |
+
|
| 5 |
+
Jonathan Tompson New York University tompson@cims.nyu.edu
|
| 6 |
+
|
| 7 |
+
Mykhaylo Andriluka MPI Saarbruecken andriluk@mpi-inf.mpg.de
|
| 8 |
+
|
| 9 |
+
Graham W. Taylor University of Guelph gwtaylor@uoguelph.ca
|
| 10 |
+
|
| 11 |
+
Christoph Bregler New York University chris.bregler@nyu.edu
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
This paper introduces a new architecture for human pose estimation using a multilayer convolutional network architecture and a modified learning technique that learns low-level features and a higher-level weak spatial model. Unconstrained human pose estimation is one of the hardest problems in computer vision, and our new architecture and learning schema shows improvement over the current stateof-the-art. The main contribution of this paper is showing, for the first time, that a specific variation of deep learning is able to meet the performance, and in many cases outperform, existing traditional architectures on this task. The paper also discusses several lessons learned while researching alternatives, most notably, that it is possible to learn strong low-level feature detectors on regions that might only cover a few pixels in the image. Higher-level spatial models improve somewhat the overall result, but to a much lesser extent than expected. Many researchers previously argued that the kinematic structure and top-down information are crucial for this domain, but with our purely bottom-up, and weak spatial model, we improve on other more complicated architectures that currently produce the best results. This echos what many other researchers, like those in the speech recognition, object recognition, and other domains have experienced [26].
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database.
|
| 19 |
+
|
| 20 |
+
# 1 Introduction
|
| 21 |
+
|
| 22 |
+
One of the hardest tasks in computer vision is determining the high degree-of-freedom configuration of a human body with all its limbs, complex self-occlusion, self-similar parts, and large variations due to clothing, body-type, lighting, and many other factors. The most challenging scenario for this problem is from a monocular RGB image and with no prior assumptions made using motion models, pose models, background models, or any other common heuristics that current state-of-theart systems utilize. Finding a face in frontal or side view is relatively simple, but determining the exact location of body parts such as hands, elbows, shoulders, hips, knees and feet, each of which sometimes only occupy a few pixels in the image in front of an arbitrary cluttered background, is significantly harder.
|
| 23 |
+
|
| 24 |
+
The best performing pose estimation methods, including those based on deformable part models, typically are based on body part detectors. Such body part detectors commonly consist of multiple stages of processing. The first stage of processing in a typical pipeline consists of extracting sets of low-level features such as SIFT [25], HoG [11], or other filters that describe orientation statistics in local image patches. Next, these features are pooled over local spatial regions and sometimes across multiple scales to reduce the size of the representation and also develop local shift/scale invariance. Finally, the aggregate features are mapped to a vector, which is then either input to 1) a standard classifier such as a support vector machine (SVM) or 2) the next stage of processing (e.g. assembling the parts into a whole). Much work is devoted to engineering the system to produce a vector representation that is sensitive to class (e.g. head, hands, torso) while remaining invariant to the various nuisance factors (lighting, viewpoint, scale, etc.)
|
| 25 |
+
|
| 26 |
+
An alternative approach is representation learning: relying on the data instead of feature engineering, to learn a good representation that is invariant to nuisance factors. For a recent review, see [6]. It is common to learn multiple layers of representation, which is referred to as deep learning. Several such techniques have used unsupervised or semi-supervised learning to extract multi-layer domain-specific invariant representations, however, it is purely supervised techniques that have won several recent challenges by large margins, including ImageNet LSVRC 2012 and 2013 [23, 51]. These end-to-end learning systems have capitalized on advances in computing hardware (notably GPUs), larger datasets like ImageNet, and algorithmic advances (specifically gradient-based training methods and regularization).
|
| 27 |
+
|
| 28 |
+
While these methods are now proven in generic object recognition, their use in pose estimation has been limited. Part of the challenge in making end-to-end learning work for human pose estimation is related to the nonrigid structure of the body, the necessity for precision (deep recognition systems often throw away precise location information through pooling), and the complex, multi-modal nature of pose.
|
| 29 |
+
|
| 30 |
+
In this paper, we present the first end-to-end learning approach for full-body human pose estimation. While our approach is based on convolutional networks (convnets) [24], we want to stress that the na¨ıve implementation of applying this model “off-the-shelf” will not work. Therefore, the contribution of this work is in both a model that outperforms state of the art deformable part models (DPMs) on a modern, challenging dataset, and also an analysis of what is needed to make convnets work in human pose estimation. In particular, we present a two-stage filtering approach whereby the response maps of convnet part detectors are denoised by a second process informed by the part hierarchy.
|
| 31 |
+
|
| 32 |
+
# 2 Related Work
|
| 33 |
+
|
| 34 |
+
Detecting people and their pose has been investigated for decades. Many early techniques rely on sliding-window part detectors based on hand-crafted or learned features or silhouette extraction techniques applied to controlled recording conditions. Examples include [14, 49, 5, 30]. We refer to [35] for a complete survey of this era. More recently, several new approaches have been proposed that are applied to unconstrained domains. In such domains, good performance has been achieved with so-called “bag of features” followed by regression-based, nearest neighbor or SVM-based architectures. Examples include “shape-context” edge-based histograms from the human body [28, 1] or just silhouette features [19]. Shakhnarovich et al. [39] learn a parameter sensitive hash function to perform example-based pose estimation. Many relevant techniques have also been applied to hand tracking such as [48]. A more general survey of the large field of hand tracking can be found in [12].
|
| 35 |
+
|
| 36 |
+
Many techniques have been proposed that extract, learn, or reason over entire body features. Some use a combination of local detectors and structural reasoning (see [36] for coarse tracking and [10] for person-dependent tracking). In a similar spirit, more general techniques using pictorial structures [2, 3, 17, 37, 33, 34], “poselets” [9], and other part-models [16, 50] have received increased attention. We will focus on these techniques and their latest incarnations in the following sections.
|
| 37 |
+
|
| 38 |
+
Further examples come from the HumanEva dataset competitions [41], or approaches that use higher-resolution shape models such as SCAPE [4] and further extensions [20, 8]. These differ from our domain in that the images considered are of higher quality and less cluttered. Also many of these techniques work on images from a single camera, but need video sequence input (not single images) to achieve impressive results [42, 52].
|
| 39 |
+
|
| 40 |
+
As an example of a technique that works for single images against cluttered backgrounds, Shotton et al.’s Kinect based body part detector [40] uses a random forest of decision trees trained on synthetic depth data to create simple body part detectors. In the proposed work, we also adopt simple partbased detectors, however, we focus on a different learning strategy.
|
| 41 |
+
|
| 42 |
+
There are a number of successful end-to-end representation learning techniques which perform pose estimation on a limited subset of body parts or body poses. One of the earliest examples of this type was Nowlan and Platt’s convolutional neural network hand tracker [30], which tracked a single hand. Osadchy et al. applied a convolutional network to simultaneously detect and estimate the pitch, yaw and roll of a face [31]. Taylor et al. [44] trained a convolutional neural network to learn an embedding in which images of people in similar pose lie nearby. They used a subset of body parts, namely, the head and hand locations to learn the “gist” of a pose, and resorted to nearest-neighbour matching rather than explicitly modeling pose. Perhaps most relevant to our work is Taylor et al.’s work on tracking people in video [45], augmenting a particle filter with a structured prior over human pose and dynamics based on learning representations. While they estimated a posterior over the whole body (60 joint angles), their experiments were limited to the HumanEva dataset [41], which was collected in a controlled laboratory setting. The datasets we consider in our experiments are truly poses “in the wild”, though we do not consider dynamics.
|
| 43 |
+
|
| 44 |
+
A factor limiting earlier methods from tacking full pose-estimation with end-to-end learning methods, in particular deep networks, was the limited amount of labeled data. Such techniques, with millions or more parameters, require more data than structured techniques that have more a priori knowledge, such as DPMs. We attack this issue on two fronts. First, directly, by using larger labeled training sets which have become available in the past year or two, such as FLIC [38]. Second, indirectly, by better exploiting the data we have. The annotations provided by typical pose estimation datasets contain much richer information compared to the class labels in object recognition datasets In particular, we show that the relationships among parts contained in these annotations can be used to build better detectors.
|
| 45 |
+
|
| 46 |
+
# 3 Model
|
| 47 |
+
|
| 48 |
+
To perform pose estimation with a convolutional network architecture [24] (convnet), the most obvious approach would be to map the image input directly to a vector coding the articulated pose: i.e. the type of labels found in pose datasets. The convnet output would represent the unbounded 2-D or 3-D positions of joints, or alternatively a hierarchy of joint angles. However, we found that this worked very poorly. One issue is that pooling, while useful for improving translation invariance during object recognition, destroys precise spatial information which is necessary to accurately predict pose. Convnets that produce segmentation maps, for example, avoid pooling completely [47, 13]. Another issue is that the direct mapping from input space to kinematic body pose coefficients is highly non-linear and not one-to-one. However, even if we took this route, there is a deeper issue with attempting to map directly to a representation of full body pose. Valid poses represent a much lower-dimensional manifold in the high-dimensional space in which they are captured. It seems troublesome to make a discriminative network map to a space in which the majority of configurations do not represent valid poses. In other words, it makes sense to restrict the net’s output to a much smaller class of valid configurations.
|
| 49 |
+
|
| 50 |
+
Rather than perform multiple-output regression using a single convnet to learn pose coefficients directly, we found that training multiple convnets to perform independent binary body-part classification, with one network per feature, resulted in improved performance on our dataset. These convnets are applied as sliding windows to overlapping regions of the input, and map a window of pixels to a single binary output: the presence or absence of that body part. The result of applying the convnet is a response-map indicating the confidence of the body part at that location. This lets us use much smaller convnets, and retain the advantages of pooling, at the expense of having to maintain a separate set of parameters for each body part. Of course, a series of independent part detectors cannot enforce consistency in pose in the same way as a structured output model, which produces valid full-body configurations. In the following sections, we first describe in detail the convolutional network architecture and then a method of enforcing pose consistency using parent-child relationships.
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
Figure 2: The convolutional network architecture used in our experiments.
|
| 54 |
+
|
| 55 |
+
# 3.1 Convolutional Network Architecture
|
| 56 |
+
|
| 57 |
+
The lowest level of our two-stage feature detection pipeline is based on a standard convnet architecture, an overview of which is shown in Figure 2. Convnets, like their fully-connected, deep neural network counterparts, perform end-to-end feature learning and are trained with the back-propagation algorithm. However, they differ in a number of respects, most notably local connectivity, weight sharing, and local pooling. The first two properties significantly reduce the number of free parameters, and reduce the need to learn repeated feature detectors at different locations of the input. The third property makes the learned representation invariant to small translations of the input.
|
| 58 |
+
|
| 59 |
+
The convnet pipeline shown in Figure 2 starts with a $6 4 \times 6 4$ pixel RGB input patch which has been local contrast normalized (LCN) [22] to emphasize geometric discontinuities and improve generalization performance [32]. The LCN layer is comprised of a $9 \times 9$ pixel local subtractive normalization, followed by a $9 \times 9$ local divisive normalization. The input is then processed by three convolution and subsampling layers, which use rectified linear units (ReLUs) [18] and max-pooling.
|
| 60 |
+
|
| 61 |
+
As expected, we found that internal pooling layers help to a) reduce computational complexity1 and b) improve classification tolerance to small input image translations. Unfortunately, pooling also results in a loss of spatial precision. Since the target application for this convnet was offline (rather than real-time) body-pose detection, and since we found that with sufficient training exemplars, invariance to input translations can be learned, we choose to use only 2 stages of $2 \times 2$ pooling (where the total image downsampling rate is $4 \times 4$ ).
|
| 62 |
+
|
| 63 |
+
Following the three stages of convolution and subsampling, the top-level pooled map is flattened to a vector and processed by three fully connected layers, analogous to those used in deep neural networks. Each of these output stages is composed of a linear matrix-vector multiplication with learned bias, followed by a point-wise non-linearity (ReLU). The output layer has a single logistic unit, representing the probability of the body part being present in that patch.
|
| 64 |
+
|
| 65 |
+
To train the convnet, we performed standard batch stochastic gradient descent. From the training set images, we set aside a validation set to tune the network hyper-parameters, such as number and size of features, learning rate, momentum coefficient, etc. We used Nesterov momentum [43] as well as RMSPROP [46] to accelerate learning and we used L2 regularization and dropout [21] on the input to each of the fully-connected linear stages to reduce over-fitting the restricted-size training set.
|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
Figure 3: Spatial Model Connectivity with Spatial Priors
|
| 69 |
+
|
| 70 |
+
# 3.2 Enforcing Global Pose Consistency with a Spatial Model
|
| 71 |
+
|
| 72 |
+
When applied to the validation set, the raw output of the network presented in Section 3.1 produces many false-positives. We believe this is due to two factors: 1) the small image context as input to the convnet $6 4 \times 6 4$ pixels or approximately $5 \%$ of the input image area) does not give the model enough contextual information to perform anatomically consistent joint position inference and 2) the training set size is limited. We therefore use a higher-level spatial model with simple body-pose priors to remove strong outliers from the convnet output. We do not expect this model to improve the performance of poses that are close to the ground truth labels (within 10 pixels for instance), but rather it functions as a post processing step to de-emphasize anatomically impossible poses due to strong outliers.
|
| 73 |
+
|
| 74 |
+
The inter-node connectivity of our simple spatial model is displayed in Figure 3. It consists of a linear chain of kinematic 2D nodes for a single side of the human body. Throughout our experiments we used the left shoulder, elbow and wrist; however we could have used the right side joints without loss of generality (since detection of the right body parts simply requires a horizontal mirror of the input image). For each node in the chain, our convnet detector generates response-map unary distributions $p _ { \mathrm { f a c } } \left( x \right)$ , $p _ { \mathrm { s h o } } \left( x \right)$ , $p _ { \mathrm { e l b } } \left( x \right)$ , $p _ { \mathrm { w r i } } \left( x \right)$ over the dense pixel positions $x$ , for the face, shoulder, elbow and wrist joints respectively. For the remainder of this section, all distributions are assumed to be a function over the pixel position, and so the $x$ notation will be dropped. The output of our spatial model will produce filtered response maps: $\hat { p } _ { \mathrm { f a c } }$ , $\hat { p } _ { \mathrm { s h o } }$ , $\hat { p } _ { \mathrm { e l b } }$ , and $\hat { p } _ { \mathrm { w r i } }$ .
|
| 75 |
+
|
| 76 |
+
The body part priors for a pair of joints $( a , b )$ , $p _ { a \mid b = \vec { 0 } }$ , are calculated by creating a histogram of joint $a$ locations over the training set, given that the adjacent joint $b$ is located at the image center $\boldsymbol { x } = \vec { 0 }$ ). The histograms are then smoothed (using a gaussian filter) and normalized. The learned priors for $p _ { \mathrm { s h o } | \mathrm { f a c } = \vec { 0 } }$ , $p _ { \mathrm { e l b | s h o = } } \vec { 0 }$ , and $p _ { \mathrm { w r i l e l b { = } } \vec { 0 } }$ are shown in Figure 4. Note that due to symmetry, the prior for $p _ { \mathrm { e l b | w r i = } } \vec { 0 }$ is a $1 8 0 ^ { \circ }$ rotation of $p _ { \mathrm { w r i l e l b { = } } \vec { 0 } }$ (as is the case of other adjacent pairs). Rather than assume a simple Gaussian distribution for modeling pairwise interactions of adjacent nodes, as is standard in many parts-based detector implementations, we have found that the these non-parametric spatial priors lead to improved detection performance.
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 4: Part priors for left body parts
|
| 80 |
+
|
| 81 |
+
Given the full set of prior conditional distributions and the convnet unary distributions, we can now construct the filtered distribution for each part by using an approach that is analogous to the sumproduct belief propagation algorithm. For body part $i$ , with a set of neighbouring nodes $U$ , the final distribution is defined as:
|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
Figure 5: Global prior for the face: $h _ { \mathrm { f a c } }$
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\hat { p } _ { i } \propto { p _ { i } } ^ { \lambda } \prod _ { u \in U } \left( p _ { i | u = \vec { 0 } } * p _ { u } \right)
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $\lambda$ is a mixing parameter and controls the confidence of each joint’s unary distribution towards its final filtered distribution (we used $\lambda = 1$ for our experiments). The final joint distribution is therefore a product of the unary distribution for that joint, as well as the beliefs from neighbouring nodes (as with standard sum-product belief propagation). In log space, the above product for the shoulder joint becomes:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\begin{array} { r } { \log \left( \hat { p } _ { \mathrm { s h o } } \right) \propto \lambda \log \left( p _ { \mathrm { s h o } } \right) + \log \left( p _ { \mathrm { s h o } | \mathrm { f a c } = \vec { 0 } } * p _ { \mathrm { f a c } } \right) + \log \left( p _ { \mathrm { s h o } | \mathrm { e l b } = \vec { 0 } } * p _ { \mathrm { e l b } } \right) } \end{array}
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
We also perform an equivalent computation for the elbow and wrist joints. The face joint is treated as a special case. Empirically, we found that incorporating image evidence from the shoulder joint to the filtered face distribution resulted in poor performance. This is likely due to the fact that the convnet does a very good job of localizing the face position, and so incorporating noisy evidence from the shoulder detector actually increases uncertainty. Instead, we use a global position prior for the face, $h _ { \mathrm { f a c } }$ , which is obtained by learning a location histogram over the face positions in the training set images, as shown in Figure 5. In log space, the output distribution for the face is then given by:
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\log \left( \hat { p } _ { \mathrm { f a c } } \right) \propto \lambda ~ \log \left( p _ { \mathrm { f a c } } \right) + \log \left( h _ { \mathrm { f a c } } \right)
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
Lastly, since the learned neural network convolution features and the spatial priors are not explicitly invariant to scale, we must run the convnet and spatial model on images at multiple scales at test time, and then use the most likely joint location across those scales as the final joint location. For datasets containing examples with multiple persons (known a priori), we use non-maximal suppression [29] to find multiple local maxima across the filtered response-maps from each scale, and we then take the top $n$ most likely joint candidates from each person in the scene.
|
| 103 |
+
|
| 104 |
+
# 4 Results
|
| 105 |
+
|
| 106 |
+
We evaluated our architecture on the FLIC [38] dataset, which is comprised of 5003 still RGB images taken from an assortment of Hollywood movies. Each frame in the dataset contains at least one person in a frontal pose (facing the camera), and each frame was processed by Amazon Mechanical Turk to obtain ground truth labels for the joint positions of the upper body of a single person. The FLIC dataset is very challenging for state-of-the-art pose estimation methodologies because the poses are unconstrained, body parts are often occluded, and clothing and background are not consistent.
|
| 107 |
+
|
| 108 |
+
We use 3987 training images from the dataset, which we also mirror horizontally to obtain a total of $3 9 8 7 \times 2 = 7 9 7 4$ examples. Since the training images are not at the same scale, we also manually annotate the bounding box for the head in these training set images, and bring them to canonical scale. Further, we crop them to $3 2 0 \times 2 4 0$ such that the center of the shoulder annotations lies at (160 px, $8 0 \ \mathrm { p x }$ ). We do not perform this image normalization at test time. Following the methodology of Felzenszwalb et al. [15], at test time we run our model on images with only one person (351 images of the 1016 test examples). As stated in Section 3, the model is run on 6 different input image scales and we then use the joint location with highest confidence across those scales as the final location.
|
| 109 |
+
|
| 110 |
+
For training the convnet we use Theano [7], which provides a Python-based framework for efficient GPU processing and symbolic differentiation of complex compound functions. To reduce GPU memory usage while training, we cache only 100 mini-batches on the GPU; this allows us to use larger convnet models and keep all training data on a single GPU. As part of this framework, our system has two main threads of execution: 1) a training function which runs on the GPU evaluating the batched-SGD updates, and 2) a data dispatch function which preprocesses the data on the CPU and transfers it on the GPU when thread 1) is finished processing the $1 0 0 \ \mathrm { m i n i }$ batches. Training each convnet on an NVIDIA TITAN GPU takes $1 . 9 \mathrm { m s }$ per patch (fprop $+ \mathrm { b p r o p } ) = 4 1 \mathrm { m i n }$ total. We test on a cpu cluster with 5000 nodes. Testing takes: 0.49sec per image $( 0 . 9 4 \mathrm { x \ s c a l e } ) = 2 . 8 \mathrm { m i n }$ total. NMS and spatial model take negligible time.
|
| 111 |
+
|
| 112 |
+
For testing, because of the shared nature of weights for all windows in each image, we convolve the learned filters with the full image instead of individual windows. This dramatically reduces the time to perform forward propagation on the full test set.
|
| 113 |
+
|
| 114 |
+
# 4.1 Evaluation
|
| 115 |
+
|
| 116 |
+
To evaluate our model on the FLIC dataset we use a measure of accuracy suggested by Sapp et al. [38]: for a given joint precision radius we report the percentage of joints in the test set correct within the radius threshold (where distance is defined as 2D Euclidean distance in pixels). In Figure 4.1 we evaluate this performance measure on the the wrist, elbow and shoulder joints. We also compare our detector to the DPM [15] and MODEC [38] architectures. Note that we use the same subset of 351 images when testing all detectors.
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
Figure 6: Comparison of Detector Performance on the Test set
|
| 120 |
+
|
| 121 |
+
Figure 4.1 shows that our architecture out-performs or is equal to the MODEC and DPM detectors for all three body parts. For the wrist and elbow joints our simple spatial model improves joint localization for approximately $5 \%$ of the test set cases (at a 5 pixel threshold), which enables us to outperform all other detectors. However, for the shoulder joint our spatial model actual decreases the joint location accuracy for large thresholds. This is likely due to the poor performance of the convnet on the elbow.
|
| 122 |
+
|
| 123 |
+
As expected, the spatial model cannot improve the joint accuracy of points that are already close to the correct value, however it is never-the-less successful in removing outliers for the wrist and elbow joints. Figure 4.1 is an example where a strong false positive results in an incorrect part location before the spatial model is applied, which is subsequently removed after applying our spatial model.
|
| 124 |
+
|
| 125 |
+
# 5 Conclusion
|
| 126 |
+
|
| 127 |
+
We have shown successfully how to improve the state-of-the-art on one of the most complex computer vision tasks: unconstrained human pose estimation. Convnets are impressive low-level feature detectors, which when combined with a global position prior is able to outperform much more complex and popular models. We explored many different higher level structural models with the aim to further improve the results, but the most generic higher level spatial model achieved the best results. As mentioned in the introduction, this is counter-intuitive to common belief for human kinematic structures, but it mirrors results in other domains. For instance in speech recognition, researchers observed, if the learned transition probabilities (higher level structure) are reset to equal probabilities, the recognition performance, now mainly driven by the emission probabilities does not reduce significantly [27]. Other domains are discussed in more detail by [26].
|
| 128 |
+
|
| 129 |
+

|
| 130 |
+
Figure 7: Impact of Our Spatial Model: Red cross is MODEC, Blue cross is before our Spatial Model, Green cross is after our Spatial Model
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 8: Failure cases: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database.
|
| 134 |
+
|
| 135 |
+
We expect to obtain further improvement by enlarging the training set with a new pose-based warping technique that we are currently investigating. Furthermore, we are also currently experimenting with multi-resolution input representations, that take a larger spatial context into account.
|
| 136 |
+
|
| 137 |
+
# 6 Acknowledgements
|
| 138 |
+
|
| 139 |
+
This research was funded in part by the Office of Naval Research ONR Award N000141210327 and by a Google award.
|
| 140 |
+
|
| 141 |
+
# References
|
| 142 |
+
|
| 143 |
+
[1] A. Agarwal, B. Triggs, I. Rhone-Alpes, and F. Montbonnot. Recovering 3D human pose from monocular images. IEEE Transactions on Pattern Analysis and Machine Intelligence, 28(1):44–58, 2006. 2
|
| 144 |
+
[2] M. Andriluka, S. Roth, and B. Schiele. Pictorial structures revisited: People detection and articulated pose estimation. In CVPR, 2009. 2
|
| 145 |
+
[3] M. Andriluka, S. Roth, and B. Schiele. Monocular 3d pose estimation and tracking by detection. In Computer Vision and Pattern Recognition (CVPR), 2010 IEEE Conference on, pages 623–630. IEEE, 2010. 2 [4] D. Anguelov, P. Srinivasan, D. Koller, S. Thrun, J. Rodgers, and J. Davis. Scape: shape completion and animation of people. In ACM Transactions on Graphics (TOG), volume 24, pages 408–416. ACM, 2005.
|
| 146 |
+
3 [5] V. Athitsos, J. Alon, S. Sclaroff, and G. Kollios. Boostmap: A method for efficient approximate similarity rankings. CVPR, 2004. 2 [6] Y. Bengio, A. C. Courville, and P. Vincent. Representation learning: A review and new perspectives. Technical report, University of Montreal, 2012. 2 [7] J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pascanu, G. Desjardins, J. Turian, D. Warde-Farley, and Y. Bengio. Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for Scientific Computing Conference (SciPy), June 2010. Oral Presentation. 7 [8] M. Black, D. Hirshberg, M. Loper, E. Rachlin, and A. Weiss. Co-registration – simultaneous alignment and modeling of articulated 3D shapes. European patent application EP12187467.1 and US Provisional Application, Oct. 2012. 3 [9] L. Bourdev and J. Malik. Poselets: Body part detectors trained using 3d human pose annotations. In ICCV, sep 2009. 2 [10] P. Buehler, A. Zisserman, and M. Everingham. Learning sign language by watching TV (using weakly aligned subtitles). CVPR, 2009. 2 [11] N. Dalal and B. Triggs. Histograms of oriented gradients for human detection. In Computer Vision and Pattern Recognition, 2005. CVPR 2005. IEEE Computer Society Conference on, volume 1, pages
|
| 147 |
+
886–893. IEEE, 2005. 2 [12] A. Erol, G. Bebis, M. Nicolescu, R. D. Boyle, and X. Twombly. Vision-based hand pose estimation: A review. Computer Vision and Image Understanding, 108(1):52–73, 2007. 2 [13] C. Farabet, C. Couprie, L. Najman, and Y. LeCun. Scene parsing with multiscale feature learning, purity trees, and optimal covers. In ICML, 2012. 3 [14] A. Farhadi, D. Forsyth, and R. White. Transfer Learning in Sign language. In CVPR, 2007. 2 [15] P. Felzenszwalb, D. McAllester, and D. Ramanan. A discriminatively trained, multiscale, deformable part model. In CVPR, 2008. 6, 7 [16] P. F. Felzenszwalb, R. B. Girshick, D. McAllester, and D. Ramanan. Object detection with discriminatively trained part-based models. PAMI’10. 2 [17] V. Ferrari, M. Marin-Jimenez, and A. Zisserman. Pose search: Retrieving people using their pose. In CVPR, 2009. 2
|
| 148 |
+
[18] X. Glorot, A. Bordes, and Y. Bengio. Deep sparse rectifier networks. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics. JMLR W&CP Volume, volume 15, pages 315–323, 2011. 4
|
| 149 |
+
[19] K. Grauman, G. Shakhnarovich, and T. Darrell. Inferring 3d structure with a statistical image-based shape model. In ICCV, pages 641–648, 2003. 2
|
| 150 |
+
[20] N. Hasler, C. Stoll, M. Sunkel, B. Rosenhahn, and H.-P. Seidel. A statistical model of human pose and body shape. In P. Dutr’e and M. Stamminger, editors, Computer Graphics Forum (Proc. Eurographics 2008), volume 2, Munich, Germany, Mar. 2009. 3
|
| 151 |
+
[21] G. E. Hinton, N. Srivastava, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012. 4
|
| 152 |
+
[22] K. Jarrett, K. Kavukcuoglu, M. Ranzato, and Y. LeCun. What is the best multi-stage architecture for object recognition? In Computer Vision, 2009 IEEE 12th International Conference on, pages 2146–2153, Sept 2009. 4
|
| 153 |
+
[23] A. Krizhevsky, I. Sutskever, and G. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems 25, pages 1106–1114, 2012. 2
|
| 154 |
+
[24] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proc. IEEE, 86(11):2278–2324, 1998. 2, 3
|
| 155 |
+
[25] D. G. Lowe. Object recognition from local scale-invariant features. In Computer vision, 1999. The proceedings of the seventh IEEE international conference on, volume 2, pages 1150–1157. Ieee, 1999. 2
|
| 156 |
+
[26] A. Lucchi, Y. Li, X. Boix, K. Smith, and P. Fua. Are spatial and global constraints really necessary for segmentation? In Computer Vision (ICCV), 2011 IEEE International Conference on, pages 9–16. IEEE, 2011. 1, 8
|
| 157 |
+
[27] N. Morgan. personal communication. 8
|
| 158 |
+
[28] G. Mori and J. Malik. Estimating human body configurations using shape context matching. ECCV, 2002. 2
|
| 159 |
+
[29] A. Neubeck and L. Van Gool. Efficient non-maximum suppression. In Proceedings of the 18th International Conference on Pattern Recognition - Volume 03, ICPR ’06, pages 850–855, Washington, DC, USA, 2006. IEEE Computer Society. 6
|
| 160 |
+
[30] S. J. Nowlan and J. C. Platt. A convolutional neural network hand tracker. Advances in Neural Information Processing Systems, pages 901–908, 1995. 2, 3
|
| 161 |
+
[31] M. Osadchy, Y. L. Cun, and M. L. Miller. Synergistic face detection and pose estimation with energybased models. The Journal of Machine Learning Research, 8:1197–1215, 2007. 3
|
| 162 |
+
[32] N. Pinto, D. D. Cox, and J. J. DiCarlo. Why is real-world visual object recognition hard? PLoS computational biology, 4(1):e27, 2008. 4
|
| 163 |
+
[33] L. Pishchulin, A. Jain, M. Andriluka, T. Thormaehlen, and B. Schiele. Articulated people detection and pose estimation: Reshaping the future. In CVPR’12. 2
|
| 164 |
+
[34] L. Pishchulin, A. Jain, C. Wojek, T. Thormaehlen, and B. Schiele. In good shape: Robust people detection based on appearance and shape. In BMVC’11. 2
|
| 165 |
+
[35] R. Poppe. Vision-based human motion analysis: An overview. Computer Vision and Image Understanding, 108(1-2):4–18, 2007. 2
|
| 166 |
+
[36] D. Ramanan, D. Forsyth, and A. Zisserman. Strike a pose: Tracking people by finding stylized poses. In CVPR, 2005. 2
|
| 167 |
+
[37] B. Sapp, C. Jordan, and B.Taskar. Adaptive pose priors for pictorial structures. In CVPR, 2010. 2
|
| 168 |
+
[38] B. Sapp and B. Taskar. Multimodal decomposable models for human pose estimation. In CVPR’13. 1, 3, 6, 7, 8, 9
|
| 169 |
+
[39] G. Shakhnarovich, P. Viola, and T. Darrell. Fast pose estimation with parameter-sensitive hashing. In ICCV, pages 750–759, 2003. 2
|
| 170 |
+
[40] J. Shotton, T. Sharp, A. Kipman, A. Fitzgibbon, M. Finocchio, A. Blake, M. Cook, and R. Moore. Realtime human pose recognition in parts from single depth images. Communications of the ACM, 56(1):116– 124, 2013. 3
|
| 171 |
+
[41] L. Sigal, A. Balan, and B. M. J. HumanEva: Synchronized video and motion capture dataset and baseline algorithm for evaluation of articulated human motion. IJCV, 87(1/2):4–27, 2010. 3
|
| 172 |
+
[42] C. Stoll, N. Hasler, J. Gall, H. Seidel, and C. Theobalt. Fast articulated motion tracking using a sums of gaussians body model. In Computer Vision (ICCV), 2011 IEEE International Conference on, pages 951–958. IEEE, 2011. 3
|
| 173 |
+
[43] I. Sutskever, J. Martens, G. Dahl, and G. Hinton. On the importance of initialization and momentum in deep learning. 4
|
| 174 |
+
[44] G. Taylor, R. Fergus, I. Spiro, G. Williams, and C. Bregler. Pose-sensitive embedding by nonlinear NCA regression. In Advances in Neural Information Processing Systems 23 (NIPS), pages 2280–2288, 2010. 3
|
| 175 |
+
[45] G. Taylor, L. Sigal, D. Fleet, and G. Hinton. Dynamical binary latent variable models for 3d human pose tracking. In Proc. of the 23rd IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), 2010. 3
|
| 176 |
+
[46] 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. 4
|
| 177 |
+
[47] S. C. Turaga, J. F. Murray, V. Jain, F. Roth, M. Helmstaedter, K. Briggman, W. Denk, and H. S. Seung. Convolutional networks can learn to generate affinity graphs for image segmentation. Neural Computation, 22:511–538, 2010. 3
|
| 178 |
+
[48] R. Y. Wang and J. Popovic. Real-time hand-tracking with a color glove. In ´ ACM Transactions on Graphics (TOG), volume 28, page 63. ACM, 2009. 2
|
| 179 |
+
[49] C. Wren, A. Azarbayejani, T. Darrell, and A. Pentland. Pfinder: Real-time tracking of the human body. IEEE Transactions on Pattern Analysis and Machine Intelligence, 19(7):780–785, 1997. 2
|
| 180 |
+
[50] Y. Yang and D. Ramanan. Articulated pose estimation with flexible mixtures-of-parts. In Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on, pages 1385–1392. IEEE, 2011. 2
|
| 181 |
+
[51] M. D. Zeiler and R. Fergus. Visualizing and understanding convolutional neural networks. arXiv preprint arXiv:1311.2901, 2013. 2
|
| 182 |
+
[52] S. Zuffi, J. Romero, C. Schmid, and M. J. Black. Estimating human pose with flowing puppets. 3
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 9: Success cases: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database.
|
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_content_list.json
ADDED
|
@@ -0,0 +1,859 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Learning Human Pose Estimation Features with Convolutional Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
207,
|
| 8 |
+
133,
|
| 9 |
+
790,
|
| 10 |
+
185
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Arjun Jain New York University ajain@nyu.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
200,
|
| 19 |
+
234,
|
| 20 |
+
341,
|
| 21 |
+
276
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Jonathan Tompson New York University tompson@cims.nyu.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
375,
|
| 30 |
+
234,
|
| 31 |
+
557,
|
| 32 |
+
276
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Mykhaylo Andriluka MPI Saarbruecken andriluk@mpi-inf.mpg.de ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
591,
|
| 41 |
+
234,
|
| 42 |
+
797,
|
| 43 |
+
276
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Graham W. Taylor University of Guelph gwtaylor@uoguelph.ca ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
290,
|
| 52 |
+
279,
|
| 53 |
+
468,
|
| 54 |
+
320
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Christoph Bregler New York University chris.bregler@nyu.edu ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
519,
|
| 63 |
+
279,
|
| 64 |
+
707,
|
| 65 |
+
319
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
354,
|
| 76 |
+
535,
|
| 77 |
+
371
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "This paper introduces a new architecture for human pose estimation using a multilayer convolutional network architecture and a modified learning technique that learns low-level features and a higher-level weak spatial model. Unconstrained human pose estimation is one of the hardest problems in computer vision, and our new architecture and learning schema shows improvement over the current stateof-the-art. The main contribution of this paper is showing, for the first time, that a specific variation of deep learning is able to meet the performance, and in many cases outperform, existing traditional architectures on this task. The paper also discusses several lessons learned while researching alternatives, most notably, that it is possible to learn strong low-level feature detectors on regions that might only cover a few pixels in the image. Higher-level spatial models improve somewhat the overall result, but to a much lesser extent than expected. Many researchers previously argued that the kinematic structure and top-down information are crucial for this domain, but with our purely bottom-up, and weak spatial model, we improve on other more complicated architectures that currently produce the best results. This echos what many other researchers, like those in the speech recognition, object recognition, and other domains have experienced [26]. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
232,
|
| 86 |
+
386,
|
| 87 |
+
766,
|
| 88 |
+
622
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "image",
|
| 94 |
+
"img_path": "images/9c14247104c73dc1d4734f534db3640f451ff31bbb03df6711e6f09004866cf0.jpg",
|
| 95 |
+
"image_caption": [
|
| 96 |
+
"Figure 1: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database. "
|
| 97 |
+
],
|
| 98 |
+
"image_footnote": [],
|
| 99 |
+
"bbox": [
|
| 100 |
+
176,
|
| 101 |
+
643,
|
| 102 |
+
821,
|
| 103 |
+
734
|
| 104 |
+
],
|
| 105 |
+
"page_idx": 0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"type": "text",
|
| 109 |
+
"text": "1 Introduction ",
|
| 110 |
+
"text_level": 1,
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
809,
|
| 114 |
+
310,
|
| 115 |
+
825
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "One of the hardest tasks in computer vision is determining the high degree-of-freedom configuration of a human body with all its limbs, complex self-occlusion, self-similar parts, and large variations due to clothing, body-type, lighting, and many other factors. The most challenging scenario for this problem is from a monocular RGB image and with no prior assumptions made using motion models, pose models, background models, or any other common heuristics that current state-of-theart systems utilize. Finding a face in frontal or side view is relatively simple, but determining the exact location of body parts such as hands, elbows, shoulders, hips, knees and feet, each of which sometimes only occupy a few pixels in the image in front of an arbitrary cluttered background, is significantly harder. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
840,
|
| 125 |
+
825,
|
| 126 |
+
924
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
176,
|
| 135 |
+
103,
|
| 136 |
+
821,
|
| 137 |
+
145
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "The best performing pose estimation methods, including those based on deformable part models, typically are based on body part detectors. Such body part detectors commonly consist of multiple stages of processing. The first stage of processing in a typical pipeline consists of extracting sets of low-level features such as SIFT [25], HoG [11], or other filters that describe orientation statistics in local image patches. Next, these features are pooled over local spatial regions and sometimes across multiple scales to reduce the size of the representation and also develop local shift/scale invariance. Finally, the aggregate features are mapped to a vector, which is then either input to 1) a standard classifier such as a support vector machine (SVM) or 2) the next stage of processing (e.g. assembling the parts into a whole). Much work is devoted to engineering the system to produce a vector representation that is sensitive to class (e.g. head, hands, torso) while remaining invariant to the various nuisance factors (lighting, viewpoint, scale, etc.) ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
154,
|
| 147 |
+
825,
|
| 148 |
+
305
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "An alternative approach is representation learning: relying on the data instead of feature engineering, to learn a good representation that is invariant to nuisance factors. For a recent review, see [6]. It is common to learn multiple layers of representation, which is referred to as deep learning. Several such techniques have used unsupervised or semi-supervised learning to extract multi-layer domain-specific invariant representations, however, it is purely supervised techniques that have won several recent challenges by large margins, including ImageNet LSVRC 2012 and 2013 [23, 51]. These end-to-end learning systems have capitalized on advances in computing hardware (notably GPUs), larger datasets like ImageNet, and algorithmic advances (specifically gradient-based training methods and regularization). ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
313,
|
| 158 |
+
825,
|
| 159 |
+
438
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "While these methods are now proven in generic object recognition, their use in pose estimation has been limited. Part of the challenge in making end-to-end learning work for human pose estimation is related to the nonrigid structure of the body, the necessity for precision (deep recognition systems often throw away precise location information through pooling), and the complex, multi-modal nature of pose. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
444,
|
| 169 |
+
823,
|
| 170 |
+
513
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "In this paper, we present the first end-to-end learning approach for full-body human pose estimation. While our approach is based on convolutional networks (convnets) [24], we want to stress that the na¨ıve implementation of applying this model “off-the-shelf” will not work. Therefore, the contribution of this work is in both a model that outperforms state of the art deformable part models (DPMs) on a modern, challenging dataset, and also an analysis of what is needed to make convnets work in human pose estimation. In particular, we present a two-stage filtering approach whereby the response maps of convnet part detectors are denoised by a second process informed by the part hierarchy. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
521,
|
| 180 |
+
825,
|
| 181 |
+
632
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "2 Related Work ",
|
| 188 |
+
"text_level": 1,
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
666,
|
| 192 |
+
321,
|
| 193 |
+
684
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Detecting people and their pose has been investigated for decades. Many early techniques rely on sliding-window part detectors based on hand-crafted or learned features or silhouette extraction techniques applied to controlled recording conditions. Examples include [14, 49, 5, 30]. We refer to [35] for a complete survey of this era. More recently, several new approaches have been proposed that are applied to unconstrained domains. In such domains, good performance has been achieved with so-called “bag of features” followed by regression-based, nearest neighbor or SVM-based architectures. Examples include “shape-context” edge-based histograms from the human body [28, 1] or just silhouette features [19]. Shakhnarovich et al. [39] learn a parameter sensitive hash function to perform example-based pose estimation. Many relevant techniques have also been applied to hand tracking such as [48]. A more general survey of the large field of hand tracking can be found in [12]. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
708,
|
| 203 |
+
825,
|
| 204 |
+
847
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Many techniques have been proposed that extract, learn, or reason over entire body features. Some use a combination of local detectors and structural reasoning (see [36] for coarse tracking and [10] for person-dependent tracking). In a similar spirit, more general techniques using pictorial structures [2, 3, 17, 37, 33, 34], “poselets” [9], and other part-models [16, 50] have received increased attention. We will focus on these techniques and their latest incarnations in the following sections. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
854,
|
| 214 |
+
823,
|
| 215 |
+
924
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Further examples come from the HumanEva dataset competitions [41], or approaches that use higher-resolution shape models such as SCAPE [4] and further extensions [20, 8]. These differ from our domain in that the images considered are of higher quality and less cluttered. Also many of these techniques work on images from a single camera, but need video sequence input (not single images) to achieve impressive results [42, 52]. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
103,
|
| 225 |
+
823,
|
| 226 |
+
174
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "As an example of a technique that works for single images against cluttered backgrounds, Shotton et al.’s Kinect based body part detector [40] uses a random forest of decision trees trained on synthetic depth data to create simple body part detectors. In the proposed work, we also adopt simple partbased detectors, however, we focus on a different learning strategy. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
174,
|
| 235 |
+
180,
|
| 236 |
+
823,
|
| 237 |
+
236
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "There are a number of successful end-to-end representation learning techniques which perform pose estimation on a limited subset of body parts or body poses. One of the earliest examples of this type was Nowlan and Platt’s convolutional neural network hand tracker [30], which tracked a single hand. Osadchy et al. applied a convolutional network to simultaneously detect and estimate the pitch, yaw and roll of a face [31]. Taylor et al. [44] trained a convolutional neural network to learn an embedding in which images of people in similar pose lie nearby. They used a subset of body parts, namely, the head and hand locations to learn the “gist” of a pose, and resorted to nearest-neighbour matching rather than explicitly modeling pose. Perhaps most relevant to our work is Taylor et al.’s work on tracking people in video [45], augmenting a particle filter with a structured prior over human pose and dynamics based on learning representations. While they estimated a posterior over the whole body (60 joint angles), their experiments were limited to the HumanEva dataset [41], which was collected in a controlled laboratory setting. The datasets we consider in our experiments are truly poses “in the wild”, though we do not consider dynamics. ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
243,
|
| 247 |
+
825,
|
| 248 |
+
424
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "A factor limiting earlier methods from tacking full pose-estimation with end-to-end learning methods, in particular deep networks, was the limited amount of labeled data. Such techniques, with millions or more parameters, require more data than structured techniques that have more a priori knowledge, such as DPMs. We attack this issue on two fronts. First, directly, by using larger labeled training sets which have become available in the past year or two, such as FLIC [38]. Second, indirectly, by better exploiting the data we have. The annotations provided by typical pose estimation datasets contain much richer information compared to the class labels in object recognition datasets In particular, we show that the relationships among parts contained in these annotations can be used to build better detectors. ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
431,
|
| 258 |
+
825,
|
| 259 |
+
556
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "3 Model ",
|
| 266 |
+
"text_level": 1,
|
| 267 |
+
"bbox": [
|
| 268 |
+
174,
|
| 269 |
+
578,
|
| 270 |
+
258,
|
| 271 |
+
594
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "To perform pose estimation with a convolutional network architecture [24] (convnet), the most obvious approach would be to map the image input directly to a vector coding the articulated pose: i.e. the type of labels found in pose datasets. The convnet output would represent the unbounded 2-D or 3-D positions of joints, or alternatively a hierarchy of joint angles. However, we found that this worked very poorly. One issue is that pooling, while useful for improving translation invariance during object recognition, destroys precise spatial information which is necessary to accurately predict pose. Convnets that produce segmentation maps, for example, avoid pooling completely [47, 13]. Another issue is that the direct mapping from input space to kinematic body pose coefficients is highly non-linear and not one-to-one. However, even if we took this route, there is a deeper issue with attempting to map directly to a representation of full body pose. Valid poses represent a much lower-dimensional manifold in the high-dimensional space in which they are captured. It seems troublesome to make a discriminative network map to a space in which the majority of configurations do not represent valid poses. In other words, it makes sense to restrict the net’s output to a much smaller class of valid configurations. ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
611,
|
| 281 |
+
825,
|
| 282 |
+
804
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "text",
|
| 288 |
+
"text": "Rather than perform multiple-output regression using a single convnet to learn pose coefficients directly, we found that training multiple convnets to perform independent binary body-part classification, with one network per feature, resulted in improved performance on our dataset. These convnets are applied as sliding windows to overlapping regions of the input, and map a window of pixels to a single binary output: the presence or absence of that body part. The result of applying the convnet is a response-map indicating the confidence of the body part at that location. This lets us use much smaller convnets, and retain the advantages of pooling, at the expense of having to maintain a separate set of parameters for each body part. Of course, a series of independent part detectors cannot enforce consistency in pose in the same way as a structured output model, which produces valid full-body configurations. In the following sections, we first describe in detail the convolutional network architecture and then a method of enforcing pose consistency using parent-child relationships. ",
|
| 289 |
+
"bbox": [
|
| 290 |
+
174,
|
| 291 |
+
813,
|
| 292 |
+
823,
|
| 293 |
+
924
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "image",
|
| 299 |
+
"img_path": "images/0c57a43c96117a1f22c399c632755454928706adc26fa15333cd335d6768f45a.jpg",
|
| 300 |
+
"image_caption": [
|
| 301 |
+
"Figure 2: The convolutional network architecture used in our experiments. "
|
| 302 |
+
],
|
| 303 |
+
"image_footnote": [],
|
| 304 |
+
"bbox": [
|
| 305 |
+
176,
|
| 306 |
+
98,
|
| 307 |
+
823,
|
| 308 |
+
252
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
316,
|
| 318 |
+
825,
|
| 319 |
+
372
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "3.1 Convolutional Network Architecture ",
|
| 326 |
+
"text_level": 1,
|
| 327 |
+
"bbox": [
|
| 328 |
+
176,
|
| 329 |
+
401,
|
| 330 |
+
467,
|
| 331 |
+
416
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "The lowest level of our two-stage feature detection pipeline is based on a standard convnet architecture, an overview of which is shown in Figure 2. Convnets, like their fully-connected, deep neural network counterparts, perform end-to-end feature learning and are trained with the back-propagation algorithm. However, they differ in a number of respects, most notably local connectivity, weight sharing, and local pooling. The first two properties significantly reduce the number of free parameters, and reduce the need to learn repeated feature detectors at different locations of the input. The third property makes the learned representation invariant to small translations of the input. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
434,
|
| 341 |
+
825,
|
| 342 |
+
531
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "The convnet pipeline shown in Figure 2 starts with a $6 4 \\times 6 4$ pixel RGB input patch which has been local contrast normalized (LCN) [22] to emphasize geometric discontinuities and improve generalization performance [32]. The LCN layer is comprised of a $9 \\times 9$ pixel local subtractive normalization, followed by a $9 \\times 9$ local divisive normalization. The input is then processed by three convolution and subsampling layers, which use rectified linear units (ReLUs) [18] and max-pooling. ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
537,
|
| 352 |
+
823,
|
| 353 |
+
608
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "As expected, we found that internal pooling layers help to a) reduce computational complexity1 and b) improve classification tolerance to small input image translations. Unfortunately, pooling also results in a loss of spatial precision. Since the target application for this convnet was offline (rather than real-time) body-pose detection, and since we found that with sufficient training exemplars, invariance to input translations can be learned, we choose to use only 2 stages of $2 \\times 2$ pooling (where the total image downsampling rate is $4 \\times 4$ ). ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
174,
|
| 362 |
+
614,
|
| 363 |
+
825,
|
| 364 |
+
698
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "Following the three stages of convolution and subsampling, the top-level pooled map is flattened to a vector and processed by three fully connected layers, analogous to those used in deep neural networks. Each of these output stages is composed of a linear matrix-vector multiplication with learned bias, followed by a point-wise non-linearity (ReLU). The output layer has a single logistic unit, representing the probability of the body part being present in that patch. ",
|
| 371 |
+
"bbox": [
|
| 372 |
+
174,
|
| 373 |
+
705,
|
| 374 |
+
825,
|
| 375 |
+
775
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "To train the convnet, we performed standard batch stochastic gradient descent. From the training set images, we set aside a validation set to tune the network hyper-parameters, such as number and size of features, learning rate, momentum coefficient, etc. We used Nesterov momentum [43] as well as RMSPROP [46] to accelerate learning and we used L2 regularization and dropout [21] on the input to each of the fully-connected linear stages to reduce over-fitting the restricted-size training set. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
173,
|
| 384 |
+
781,
|
| 385 |
+
825,
|
| 386 |
+
852
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "image",
|
| 392 |
+
"img_path": "images/b897c3b4b74b20fbf081a67ec1f554fb1ec63a45784f14ca28d6610bc592eff5.jpg",
|
| 393 |
+
"image_caption": [
|
| 394 |
+
"Figure 3: Spatial Model Connectivity with Spatial Priors "
|
| 395 |
+
],
|
| 396 |
+
"image_footnote": [],
|
| 397 |
+
"bbox": [
|
| 398 |
+
303,
|
| 399 |
+
0,
|
| 400 |
+
696,
|
| 401 |
+
175
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 4
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "3.2 Enforcing Global Pose Consistency with a Spatial Model ",
|
| 408 |
+
"text_level": 1,
|
| 409 |
+
"bbox": [
|
| 410 |
+
173,
|
| 411 |
+
229,
|
| 412 |
+
604,
|
| 413 |
+
246
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "When applied to the validation set, the raw output of the network presented in Section 3.1 produces many false-positives. We believe this is due to two factors: 1) the small image context as input to the convnet $6 4 \\times 6 4$ pixels or approximately $5 \\%$ of the input image area) does not give the model enough contextual information to perform anatomically consistent joint position inference and 2) the training set size is limited. We therefore use a higher-level spatial model with simple body-pose priors to remove strong outliers from the convnet output. We do not expect this model to improve the performance of poses that are close to the ground truth labels (within 10 pixels for instance), but rather it functions as a post processing step to de-emphasize anatomically impossible poses due to strong outliers. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
173,
|
| 422 |
+
257,
|
| 423 |
+
825,
|
| 424 |
+
382
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 4
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "The inter-node connectivity of our simple spatial model is displayed in Figure 3. It consists of a linear chain of kinematic 2D nodes for a single side of the human body. Throughout our experiments we used the left shoulder, elbow and wrist; however we could have used the right side joints without loss of generality (since detection of the right body parts simply requires a horizontal mirror of the input image). For each node in the chain, our convnet detector generates response-map unary distributions $p _ { \\mathrm { f a c } } \\left( x \\right)$ , $p _ { \\mathrm { s h o } } \\left( x \\right)$ , $p _ { \\mathrm { e l b } } \\left( x \\right)$ , $p _ { \\mathrm { w r i } } \\left( x \\right)$ over the dense pixel positions $x$ , for the face, shoulder, elbow and wrist joints respectively. For the remainder of this section, all distributions are assumed to be a function over the pixel position, and so the $x$ notation will be dropped. The output of our spatial model will produce filtered response maps: $\\hat { p } _ { \\mathrm { f a c } }$ , $\\hat { p } _ { \\mathrm { s h o } }$ , $\\hat { p } _ { \\mathrm { e l b } }$ , and $\\hat { p } _ { \\mathrm { w r i } }$ . ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
173,
|
| 433 |
+
390,
|
| 434 |
+
825,
|
| 435 |
+
516
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "The body part priors for a pair of joints $( a , b )$ , $p _ { a \\mid b = \\vec { 0 } }$ , are calculated by creating a histogram of joint $a$ locations over the training set, given that the adjacent joint $b$ is located at the image center $\\boldsymbol { x } = \\vec { 0 }$ ). The histograms are then smoothed (using a gaussian filter) and normalized. The learned priors for $p _ { \\mathrm { s h o } | \\mathrm { f a c } = \\vec { 0 } }$ , $p _ { \\mathrm { e l b | s h o = } } \\vec { 0 }$ , and $p _ { \\mathrm { w r i l e l b { = } } \\vec { 0 } }$ are shown in Figure 4. Note that due to symmetry, the prior for $p _ { \\mathrm { e l b | w r i = } } \\vec { 0 }$ is a $1 8 0 ^ { \\circ }$ rotation of $p _ { \\mathrm { w r i l e l b { = } } \\vec { 0 } }$ (as is the case of other adjacent pairs). Rather than assume a simple Gaussian distribution for modeling pairwise interactions of adjacent nodes, as is standard in many parts-based detector implementations, we have found that the these non-parametric spatial priors lead to improved detection performance. ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
173,
|
| 444 |
+
521,
|
| 445 |
+
825,
|
| 446 |
+
643
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "image",
|
| 452 |
+
"img_path": "images/b8f2a8dcb8c6bf47b5ff5f98798ab05770c71c336c282ef2b649e04771ee00c3.jpg",
|
| 453 |
+
"image_caption": [
|
| 454 |
+
"Figure 4: Part priors for left body parts "
|
| 455 |
+
],
|
| 456 |
+
"image_footnote": [],
|
| 457 |
+
"bbox": [
|
| 458 |
+
183,
|
| 459 |
+
657,
|
| 460 |
+
808,
|
| 461 |
+
827
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "Given the full set of prior conditional distributions and the convnet unary distributions, we can now construct the filtered distribution for each part by using an approach that is analogous to the sumproduct belief propagation algorithm. For body part $i$ , with a set of neighbouring nodes $U$ , the final distribution is defined as: ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
174,
|
| 470 |
+
867,
|
| 471 |
+
825,
|
| 472 |
+
922
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "image",
|
| 478 |
+
"img_path": "images/0adef6ef0b207b617c98fd4d726ef18c3945dee5dddf6ba7e3bc85554f07b216.jpg",
|
| 479 |
+
"image_caption": [
|
| 480 |
+
"Figure 5: Global prior for the face: $h _ { \\mathrm { f a c } }$ "
|
| 481 |
+
],
|
| 482 |
+
"image_footnote": [],
|
| 483 |
+
"bbox": [
|
| 484 |
+
397,
|
| 485 |
+
1,
|
| 486 |
+
602,
|
| 487 |
+
210
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 5
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "equation",
|
| 493 |
+
"img_path": "images/ed34fd0128048dcca404fdcbcb0002c532dd35a76a62c3e0adda011d2088c08f.jpg",
|
| 494 |
+
"text": "$$\n\\hat { p } _ { i } \\propto { p _ { i } } ^ { \\lambda } \\prod _ { u \\in U } \\left( p _ { i | u = \\vec { 0 } } * p _ { u } \\right)\n$$",
|
| 495 |
+
"text_format": "latex",
|
| 496 |
+
"bbox": [
|
| 497 |
+
401,
|
| 498 |
+
272,
|
| 499 |
+
596,
|
| 500 |
+
308
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 5
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "where $\\lambda$ is a mixing parameter and controls the confidence of each joint’s unary distribution towards its final filtered distribution (we used $\\lambda = 1$ for our experiments). The final joint distribution is therefore a product of the unary distribution for that joint, as well as the beliefs from neighbouring nodes (as with standard sum-product belief propagation). In log space, the above product for the shoulder joint becomes: ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
174,
|
| 509 |
+
318,
|
| 510 |
+
825,
|
| 511 |
+
387
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 5
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "equation",
|
| 517 |
+
"img_path": "images/c4c802c58142144be9090167ae8d87441ca40d489a7f33b1bb80e37d1708cd69.jpg",
|
| 518 |
+
"text": "$$\n\\begin{array} { r } { \\log \\left( \\hat { p } _ { \\mathrm { s h o } } \\right) \\propto \\lambda \\log \\left( p _ { \\mathrm { s h o } } \\right) + \\log \\left( p _ { \\mathrm { s h o } | \\mathrm { f a c } = \\vec { 0 } } * p _ { \\mathrm { f a c } } \\right) + \\log \\left( p _ { \\mathrm { s h o } | \\mathrm { e l b } = \\vec { 0 } } * p _ { \\mathrm { e l b } } \\right) } \\end{array}\n$$",
|
| 519 |
+
"text_format": "latex",
|
| 520 |
+
"bbox": [
|
| 521 |
+
253,
|
| 522 |
+
405,
|
| 523 |
+
745,
|
| 524 |
+
431
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 5
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "We also perform an equivalent computation for the elbow and wrist joints. The face joint is treated as a special case. Empirically, we found that incorporating image evidence from the shoulder joint to the filtered face distribution resulted in poor performance. This is likely due to the fact that the convnet does a very good job of localizing the face position, and so incorporating noisy evidence from the shoulder detector actually increases uncertainty. Instead, we use a global position prior for the face, $h _ { \\mathrm { f a c } }$ , which is obtained by learning a location histogram over the face positions in the training set images, as shown in Figure 5. In log space, the output distribution for the face is then given by: ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
173,
|
| 533 |
+
440,
|
| 534 |
+
825,
|
| 535 |
+
553
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "equation",
|
| 541 |
+
"img_path": "images/93993bbf2b6d2a78bb818a8e6e2b550712a4539f33579f9f275e466925dcc684.jpg",
|
| 542 |
+
"text": "$$\n\\log \\left( \\hat { p } _ { \\mathrm { f a c } } \\right) \\propto \\lambda ~ \\log \\left( p _ { \\mathrm { f a c } } \\right) + \\log \\left( h _ { \\mathrm { f a c } } \\right)\n$$",
|
| 543 |
+
"text_format": "latex",
|
| 544 |
+
"bbox": [
|
| 545 |
+
379,
|
| 546 |
+
571,
|
| 547 |
+
620,
|
| 548 |
+
590
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "Lastly, since the learned neural network convolution features and the spatial priors are not explicitly invariant to scale, we must run the convnet and spatial model on images at multiple scales at test time, and then use the most likely joint location across those scales as the final joint location. For datasets containing examples with multiple persons (known a priori), we use non-maximal suppression [29] to find multiple local maxima across the filtered response-maps from each scale, and we then take the top $n$ most likely joint candidates from each person in the scene. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
173,
|
| 557 |
+
599,
|
| 558 |
+
825,
|
| 559 |
+
684
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "4 Results ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
704,
|
| 570 |
+
266,
|
| 571 |
+
720
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 5
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "We evaluated our architecture on the FLIC [38] dataset, which is comprised of 5003 still RGB images taken from an assortment of Hollywood movies. Each frame in the dataset contains at least one person in a frontal pose (facing the camera), and each frame was processed by Amazon Mechanical Turk to obtain ground truth labels for the joint positions of the upper body of a single person. The FLIC dataset is very challenging for state-of-the-art pose estimation methodologies because the poses are unconstrained, body parts are often occluded, and clothing and background are not consistent. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
734,
|
| 581 |
+
825,
|
| 582 |
+
833
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "We use 3987 training images from the dataset, which we also mirror horizontally to obtain a total of $3 9 8 7 \\times 2 = 7 9 7 4$ examples. Since the training images are not at the same scale, we also manually annotate the bounding box for the head in these training set images, and bring them to canonical scale. Further, we crop them to $3 2 0 \\times 2 4 0$ such that the center of the shoulder annotations lies at (160 px, $8 0 \\ \\mathrm { p x }$ ). We do not perform this image normalization at test time. Following the methodology of Felzenszwalb et al. [15], at test time we run our model on images with only one person (351 images of the 1016 test examples). As stated in Section 3, the model is run on 6 different input image scales and we then use the joint location with highest confidence across those scales as the final location. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
839,
|
| 592 |
+
825,
|
| 593 |
+
924
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 5
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "",
|
| 600 |
+
"bbox": [
|
| 601 |
+
173,
|
| 602 |
+
103,
|
| 603 |
+
823,
|
| 604 |
+
132
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 6
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "text",
|
| 610 |
+
"text": "For training the convnet we use Theano [7], which provides a Python-based framework for efficient GPU processing and symbolic differentiation of complex compound functions. To reduce GPU memory usage while training, we cache only 100 mini-batches on the GPU; this allows us to use larger convnet models and keep all training data on a single GPU. As part of this framework, our system has two main threads of execution: 1) a training function which runs on the GPU evaluating the batched-SGD updates, and 2) a data dispatch function which preprocesses the data on the CPU and transfers it on the GPU when thread 1) is finished processing the $1 0 0 \\ \\mathrm { m i n i }$ batches. Training each convnet on an NVIDIA TITAN GPU takes $1 . 9 \\mathrm { m s }$ per patch (fprop $+ \\mathrm { b p r o p } ) = 4 1 \\mathrm { m i n }$ total. We test on a cpu cluster with 5000 nodes. Testing takes: 0.49sec per image $( 0 . 9 4 \\mathrm { x \\ s c a l e } ) = 2 . 8 \\mathrm { m i n }$ total. NMS and spatial model take negligible time. ",
|
| 611 |
+
"bbox": [
|
| 612 |
+
174,
|
| 613 |
+
138,
|
| 614 |
+
825,
|
| 615 |
+
279
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 6
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "For testing, because of the shared nature of weights for all windows in each image, we convolve the learned filters with the full image instead of individual windows. This dramatically reduces the time to perform forward propagation on the full test set. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
174,
|
| 624 |
+
285,
|
| 625 |
+
825,
|
| 626 |
+
327
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 6
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "4.1 Evaluation ",
|
| 633 |
+
"text_level": 1,
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
343,
|
| 637 |
+
289,
|
| 638 |
+
358
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "To evaluate our model on the FLIC dataset we use a measure of accuracy suggested by Sapp et al. [38]: for a given joint precision radius we report the percentage of joints in the test set correct within the radius threshold (where distance is defined as 2D Euclidean distance in pixels). In Figure 4.1 we evaluate this performance measure on the the wrist, elbow and shoulder joints. We also compare our detector to the DPM [15] and MODEC [38] architectures. Note that we use the same subset of 351 images when testing all detectors. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
173,
|
| 647 |
+
369,
|
| 648 |
+
825,
|
| 649 |
+
454
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "image",
|
| 655 |
+
"img_path": "images/1343c8190857b623a1191eb1705e348829d55f24f85c6caf1aab64957b8739c7.jpg",
|
| 656 |
+
"image_caption": [
|
| 657 |
+
"Figure 6: Comparison of Detector Performance on the Test set "
|
| 658 |
+
],
|
| 659 |
+
"image_footnote": [],
|
| 660 |
+
"bbox": [
|
| 661 |
+
184,
|
| 662 |
+
468,
|
| 663 |
+
808,
|
| 664 |
+
628
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "Figure 4.1 shows that our architecture out-performs or is equal to the MODEC and DPM detectors for all three body parts. For the wrist and elbow joints our simple spatial model improves joint localization for approximately $5 \\%$ of the test set cases (at a 5 pixel threshold), which enables us to outperform all other detectors. However, for the shoulder joint our spatial model actual decreases the joint location accuracy for large thresholds. This is likely due to the poor performance of the convnet on the elbow. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
173,
|
| 673 |
+
670,
|
| 674 |
+
825,
|
| 675 |
+
752
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "As expected, the spatial model cannot improve the joint accuracy of points that are already close to the correct value, however it is never-the-less successful in removing outliers for the wrist and elbow joints. Figure 4.1 is an example where a strong false positive results in an incorrect part location before the spatial model is applied, which is subsequently removed after applying our spatial model. ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
174,
|
| 684 |
+
760,
|
| 685 |
+
823,
|
| 686 |
+
816
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "5 Conclusion ",
|
| 693 |
+
"text_level": 1,
|
| 694 |
+
"bbox": [
|
| 695 |
+
174,
|
| 696 |
+
835,
|
| 697 |
+
299,
|
| 698 |
+
853
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 6
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "We have shown successfully how to improve the state-of-the-art on one of the most complex computer vision tasks: unconstrained human pose estimation. Convnets are impressive low-level feature detectors, which when combined with a global position prior is able to outperform much more complex and popular models. We explored many different higher level structural models with the aim to further improve the results, but the most generic higher level spatial model achieved the best results. As mentioned in the introduction, this is counter-intuitive to common belief for human kinematic structures, but it mirrors results in other domains. For instance in speech recognition, researchers observed, if the learned transition probabilities (higher level structure) are reset to equal probabilities, the recognition performance, now mainly driven by the emission probabilities does not reduce significantly [27]. Other domains are discussed in more detail by [26]. ",
|
| 705 |
+
"bbox": [
|
| 706 |
+
174,
|
| 707 |
+
867,
|
| 708 |
+
823,
|
| 709 |
+
924
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 6
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "image",
|
| 715 |
+
"img_path": "images/d1edd0ce185d7d5c2edbace1e927b7ac102d505bbad2d0a84e0493ca61841f62.jpg",
|
| 716 |
+
"image_caption": [
|
| 717 |
+
"Figure 7: Impact of Our Spatial Model: Red cross is MODEC, Blue cross is before our Spatial Model, Green cross is after our Spatial Model "
|
| 718 |
+
],
|
| 719 |
+
"image_footnote": [],
|
| 720 |
+
"bbox": [
|
| 721 |
+
184,
|
| 722 |
+
101,
|
| 723 |
+
823,
|
| 724 |
+
303
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 7
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "image",
|
| 730 |
+
"img_path": "images/fa85f684e5afbef1fc69264f2c8501eb54e04d30d6b0d2daf508b2d9a1fcf7ff.jpg",
|
| 731 |
+
"image_caption": [
|
| 732 |
+
"Figure 8: Failure cases: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database. "
|
| 733 |
+
],
|
| 734 |
+
"image_footnote": [],
|
| 735 |
+
"bbox": [
|
| 736 |
+
178,
|
| 737 |
+
366,
|
| 738 |
+
821,
|
| 739 |
+
489
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 7
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "",
|
| 746 |
+
"bbox": [
|
| 747 |
+
174,
|
| 748 |
+
568,
|
| 749 |
+
825,
|
| 750 |
+
651
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 7
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "We expect to obtain further improvement by enlarging the training set with a new pose-based warping technique that we are currently investigating. Furthermore, we are also currently experimenting with multi-resolution input representations, that take a larger spatial context into account. ",
|
| 757 |
+
"bbox": [
|
| 758 |
+
176,
|
| 759 |
+
659,
|
| 760 |
+
825,
|
| 761 |
+
700
|
| 762 |
+
],
|
| 763 |
+
"page_idx": 7
|
| 764 |
+
},
|
| 765 |
+
{
|
| 766 |
+
"type": "text",
|
| 767 |
+
"text": "6 Acknowledgements ",
|
| 768 |
+
"text_level": 1,
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
723,
|
| 772 |
+
367,
|
| 773 |
+
739
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 7
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "This research was funded in part by the Office of Naval Research ONR Award N000141210327 and by a Google award. ",
|
| 780 |
+
"bbox": [
|
| 781 |
+
171,
|
| 782 |
+
753,
|
| 783 |
+
825,
|
| 784 |
+
782
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 7
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "References ",
|
| 791 |
+
"text_level": 1,
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
803,
|
| 795 |
+
266,
|
| 796 |
+
819
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 7
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "[1] A. Agarwal, B. Triggs, I. Rhone-Alpes, and F. Montbonnot. Recovering 3D human pose from monocular images. IEEE Transactions on Pattern Analysis and Machine Intelligence, 28(1):44–58, 2006. 2 \n[2] M. Andriluka, S. Roth, and B. Schiele. Pictorial structures revisited: People detection and articulated pose estimation. In CVPR, 2009. 2 \n[3] M. Andriluka, S. Roth, and B. Schiele. Monocular 3d pose estimation and tracking by detection. In Computer Vision and Pattern Recognition (CVPR), 2010 IEEE Conference on, pages 623–630. IEEE, 2010. 2 [4] D. Anguelov, P. Srinivasan, D. Koller, S. Thrun, J. Rodgers, and J. Davis. Scape: shape completion and animation of people. In ACM Transactions on Graphics (TOG), volume 24, pages 408–416. ACM, 2005. \n3 [5] V. Athitsos, J. Alon, S. Sclaroff, and G. Kollios. Boostmap: A method for efficient approximate similarity rankings. CVPR, 2004. 2 [6] Y. Bengio, A. C. Courville, and P. Vincent. Representation learning: A review and new perspectives. Technical report, University of Montreal, 2012. 2 [7] J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pascanu, G. Desjardins, J. Turian, D. Warde-Farley, and Y. Bengio. Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for Scientific Computing Conference (SciPy), June 2010. Oral Presentation. 7 [8] M. Black, D. Hirshberg, M. Loper, E. Rachlin, and A. Weiss. Co-registration – simultaneous alignment and modeling of articulated 3D shapes. European patent application EP12187467.1 and US Provisional Application, Oct. 2012. 3 [9] L. Bourdev and J. Malik. Poselets: Body part detectors trained using 3d human pose annotations. In ICCV, sep 2009. 2 [10] P. Buehler, A. Zisserman, and M. Everingham. Learning sign language by watching TV (using weakly aligned subtitles). CVPR, 2009. 2 [11] N. Dalal and B. Triggs. Histograms of oriented gradients for human detection. In Computer Vision and Pattern Recognition, 2005. CVPR 2005. IEEE Computer Society Conference on, volume 1, pages \n886–893. IEEE, 2005. 2 [12] A. Erol, G. Bebis, M. Nicolescu, R. D. Boyle, and X. Twombly. Vision-based hand pose estimation: A review. Computer Vision and Image Understanding, 108(1):52–73, 2007. 2 [13] C. Farabet, C. Couprie, L. Najman, and Y. LeCun. Scene parsing with multiscale feature learning, purity trees, and optimal covers. In ICML, 2012. 3 [14] A. Farhadi, D. Forsyth, and R. White. Transfer Learning in Sign language. In CVPR, 2007. 2 [15] P. Felzenszwalb, D. McAllester, and D. Ramanan. A discriminatively trained, multiscale, deformable part model. In CVPR, 2008. 6, 7 [16] P. F. Felzenszwalb, R. B. Girshick, D. McAllester, and D. Ramanan. Object detection with discriminatively trained part-based models. PAMI’10. 2 [17] V. Ferrari, M. Marin-Jimenez, and A. Zisserman. Pose search: Retrieving people using their pose. In CVPR, 2009. 2 \n[18] X. Glorot, A. Bordes, and Y. Bengio. Deep sparse rectifier networks. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics. JMLR W&CP Volume, volume 15, pages 315–323, 2011. 4 \n[19] K. Grauman, G. Shakhnarovich, and T. Darrell. Inferring 3d structure with a statistical image-based shape model. In ICCV, pages 641–648, 2003. 2 \n[20] N. Hasler, C. Stoll, M. Sunkel, B. Rosenhahn, and H.-P. Seidel. A statistical model of human pose and body shape. In P. Dutr’e and M. Stamminger, editors, Computer Graphics Forum (Proc. Eurographics 2008), volume 2, Munich, Germany, Mar. 2009. 3 \n[21] G. E. Hinton, N. Srivastava, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012. 4 \n[22] K. Jarrett, K. Kavukcuoglu, M. Ranzato, and Y. LeCun. What is the best multi-stage architecture for object recognition? In Computer Vision, 2009 IEEE 12th International Conference on, pages 2146–2153, Sept 2009. 4 \n[23] A. Krizhevsky, I. Sutskever, and G. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems 25, pages 1106–1114, 2012. 2 \n[24] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proc. IEEE, 86(11):2278–2324, 1998. 2, 3 \n[25] D. G. Lowe. Object recognition from local scale-invariant features. In Computer vision, 1999. The proceedings of the seventh IEEE international conference on, volume 2, pages 1150–1157. Ieee, 1999. 2 \n[26] A. Lucchi, Y. Li, X. Boix, K. Smith, and P. Fua. Are spatial and global constraints really necessary for segmentation? In Computer Vision (ICCV), 2011 IEEE International Conference on, pages 9–16. IEEE, 2011. 1, 8 \n[27] N. Morgan. personal communication. 8 \n[28] G. Mori and J. Malik. Estimating human body configurations using shape context matching. ECCV, 2002. 2 \n[29] A. Neubeck and L. Van Gool. Efficient non-maximum suppression. In Proceedings of the 18th International Conference on Pattern Recognition - Volume 03, ICPR ’06, pages 850–855, Washington, DC, USA, 2006. IEEE Computer Society. 6 \n[30] S. J. Nowlan and J. C. Platt. A convolutional neural network hand tracker. Advances in Neural Information Processing Systems, pages 901–908, 1995. 2, 3 \n[31] M. Osadchy, Y. L. Cun, and M. L. Miller. Synergistic face detection and pose estimation with energybased models. The Journal of Machine Learning Research, 8:1197–1215, 2007. 3 \n[32] N. Pinto, D. D. Cox, and J. J. DiCarlo. Why is real-world visual object recognition hard? PLoS computational biology, 4(1):e27, 2008. 4 \n[33] L. Pishchulin, A. Jain, M. Andriluka, T. Thormaehlen, and B. Schiele. Articulated people detection and pose estimation: Reshaping the future. In CVPR’12. 2 \n[34] L. Pishchulin, A. Jain, C. Wojek, T. Thormaehlen, and B. Schiele. In good shape: Robust people detection based on appearance and shape. In BMVC’11. 2 \n[35] R. Poppe. Vision-based human motion analysis: An overview. Computer Vision and Image Understanding, 108(1-2):4–18, 2007. 2 \n[36] D. Ramanan, D. Forsyth, and A. Zisserman. Strike a pose: Tracking people by finding stylized poses. In CVPR, 2005. 2 \n[37] B. Sapp, C. Jordan, and B.Taskar. Adaptive pose priors for pictorial structures. In CVPR, 2010. 2 \n[38] B. Sapp and B. Taskar. Multimodal decomposable models for human pose estimation. In CVPR’13. 1, 3, 6, 7, 8, 9 \n[39] G. Shakhnarovich, P. Viola, and T. Darrell. Fast pose estimation with parameter-sensitive hashing. In ICCV, pages 750–759, 2003. 2 \n[40] J. Shotton, T. Sharp, A. Kipman, A. Fitzgibbon, M. Finocchio, A. Blake, M. Cook, and R. Moore. Realtime human pose recognition in parts from single depth images. Communications of the ACM, 56(1):116– 124, 2013. 3 \n[41] L. Sigal, A. Balan, and B. M. J. HumanEva: Synchronized video and motion capture dataset and baseline algorithm for evaluation of articulated human motion. IJCV, 87(1/2):4–27, 2010. 3 \n[42] C. Stoll, N. Hasler, J. Gall, H. Seidel, and C. Theobalt. Fast articulated motion tracking using a sums of gaussians body model. In Computer Vision (ICCV), 2011 IEEE International Conference on, pages 951–958. IEEE, 2011. 3 \n[43] I. Sutskever, J. Martens, G. Dahl, and G. Hinton. On the importance of initialization and momentum in deep learning. 4 \n[44] G. Taylor, R. Fergus, I. Spiro, G. Williams, and C. Bregler. Pose-sensitive embedding by nonlinear NCA regression. In Advances in Neural Information Processing Systems 23 (NIPS), pages 2280–2288, 2010. 3 \n[45] G. Taylor, L. Sigal, D. Fleet, and G. Hinton. Dynamical binary latent variable models for 3d human pose tracking. In Proc. of the 23rd IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), 2010. 3 \n[46] 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. 4 \n[47] S. C. Turaga, J. F. Murray, V. Jain, F. Roth, M. Helmstaedter, K. Briggman, W. Denk, and H. S. Seung. Convolutional networks can learn to generate affinity graphs for image segmentation. Neural Computation, 22:511–538, 2010. 3 \n[48] R. Y. Wang and J. Popovic. Real-time hand-tracking with a color glove. In ´ ACM Transactions on Graphics (TOG), volume 28, page 63. ACM, 2009. 2 \n[49] C. Wren, A. Azarbayejani, T. Darrell, and A. Pentland. Pfinder: Real-time tracking of the human body. IEEE Transactions on Pattern Analysis and Machine Intelligence, 19(7):780–785, 1997. 2 \n[50] Y. Yang and D. Ramanan. Articulated pose estimation with flexible mixtures-of-parts. In Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on, pages 1385–1392. IEEE, 2011. 2 \n[51] M. D. Zeiler and R. Fergus. Visualizing and understanding convolutional neural networks. arXiv preprint arXiv:1311.2901, 2013. 2 \n[52] S. Zuffi, J. Romero, C. Schmid, and M. J. Black. Estimating human pose with flowing puppets. 3 ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
179,
|
| 805 |
+
830,
|
| 806 |
+
825,
|
| 807 |
+
922
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 7
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "image",
|
| 813 |
+
"img_path": "images/6dd19421889f64764d36d3e84dcebe6cc876021aa96dad892c44b2b09c4b050c.jpg",
|
| 814 |
+
"image_caption": [
|
| 815 |
+
"Figure 9: Success cases: The green cross is our new technique’s wrist locator, the red cross is the state-of-the-art CVPR13 MODEC detector [38] on the FLIC database. "
|
| 816 |
+
],
|
| 817 |
+
"image_footnote": [],
|
| 818 |
+
"bbox": [
|
| 819 |
+
176,
|
| 820 |
+
103,
|
| 821 |
+
821,
|
| 822 |
+
444
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 8
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "",
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
520,
|
| 832 |
+
826,
|
| 833 |
+
922
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 8
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "",
|
| 840 |
+
"bbox": [
|
| 841 |
+
171,
|
| 842 |
+
94,
|
| 843 |
+
828,
|
| 844 |
+
924
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 9
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "",
|
| 851 |
+
"bbox": [
|
| 852 |
+
171,
|
| 853 |
+
104,
|
| 854 |
+
826,
|
| 855 |
+
291
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 10
|
| 858 |
+
}
|
| 859 |
+
]
|
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJgsskrFwH/rJgsskrFwH.md
ADDED
|
@@ -0,0 +1,353 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 6 |
+
|
| 7 |
+
Jakob Uszkoreit Google Research usz@google.com
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
Due to the statistical complexity of video, the high degree of inherent stochasticity, and the sheer amount of data, generating natural video remains a challenging task. State-of-the-art video generation models often attempt to address these issues by combining sometimes complex, usually video-specific neural network architectures, latent variable models, adversarial training and a range of other methods. Despite their often high complexity, these approaches still fall short of generating high quality video continuations outside of narrow domains and often struggle with fidelity. In contrast, we show that conceptually simple autoregressive video generation models based on a three-dimensional self-attention mechanism achieve competitive results across multiple metrics on popular benchmark datasets, for which they produce continuations of high fidelity and realism. We also present results from training our models on Kinetics, a large scale action recognition dataset comprised of YouTube videos exhibiting phenomena such as camera movement, complex object interactions and diverse human movement. While modeling these phenomena consistently remains elusive, we hope that our results, which include occasional realistic continuations encourage further research on comparatively complex, large scale datasets such as Kinetics.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Generative modeling of video holds promise for applications such as content creation, forecasting, transfer learning and model-based reinforcement learning (Srivastava et al., 2015; Carl Vondrick, 2016; Oh et al., 2015; Kaiser et al., 2019). While recently there has been a lot of progress on generative models for text, audio and images, video generation remains challenging. To some extent this is simply due to the large amount of data that needs to be produced. Autoregressive models suffer from this particularly in their generation speed. On the other hand, they have a number of desirable attributes, such as their conceptual simplicity and tractable likelihood, which enables straightforward evaluation of their ability to model the entire data distribution.
|
| 16 |
+
|
| 17 |
+
Moreover, recent results on image generation by Menick & Kalchbrenner (2019) show that pixellevel autoregressive models are capable of generating images with high fidelity. These findings motivate the question of how far one can push such autoregressive models in the more general task of video generation when scaling recent advances in neural architectures to modern hardware accelerators.
|
| 18 |
+
|
| 19 |
+
In this work, we introduce a generalization of the Transformer architecture of Vaswani et al. (2017) using three-dimensional, block-local self-attention. In contrast to the block-local attention mechanism of Parmar et al. (2018), our formulation can be implemented efficiently on Tensor Processing Units, or TPUs (Jouppi et al., 2017). To further reduce the memory footprint, we combine this with a three-dimensional generalization of methods from Menick & Kalchbrenner (2019), who generate images as sequences of smaller, sub-scaled image slices.
|
| 20 |
+
|
| 21 |
+
Together, these techniques allow us to efficiently model videos as 3D volumes instead of sequences of still image frames, with direct interactions between representations of pixels across the spatial and temporal dimensions.
|
| 22 |
+
|
| 23 |
+
We obtain strong results on popular benchmarks (Section 4.2, Appendix A) and produce high fidelity video continuations on the BAIR robot pushing dataset (Ebert et al., 2017) exhibiting plausible object interactions. Furthermore, our model achieves an almost $50 \%$ reduction in perplexity compared to prior work on autoregressive models on another robot pushing dataset.
|
| 24 |
+
|
| 25 |
+
Finally, we apply our models to down-sampled videos from the Kinetics-600 dataset (Carreira et al., 2018) (Section 4.3). While modeling the full range of Kinetics-600 videos still poses a major challenge, we see encouraging video continuations for a more limited subset, namely cooking videos. These feature camera movement, complex object interactions and still cover diverse subjects.
|
| 26 |
+
|
| 27 |
+
We hope that these initial results will encourage future video generation work to evaluate models on more challenging datasets such as Kinetics.
|
| 28 |
+
|
| 29 |
+
# 2 RELATED WORK
|
| 30 |
+
|
| 31 |
+
Our setup is closely related to that of Kalchbrenner et al. (2016), who extend work on pixel-level autoregressive image generation (van den Oord et al., 2016b;a) to videos. However, whereas they model the temporal and spatial dimensions separately with dilated convolutions and convolutional LSTMs, respectively, our model is conceptually simpler in that we do not make any distinction between temporal and spatial dimensions and instead rely almost entirely on multi-head self-attention (Vaswani et al., 2017) within the 3D video volume. For comparability, we provide results on Moving MNIST and another robot pushing dataset (Finn et al., 2016a) on which our model achieves an almost $50 \%$ reduction in perplexity (see Appendix A).
|
| 32 |
+
|
| 33 |
+
One major drawback of autoregressive models is their notoriously slow generation speed. However, we believe that further research into (partially) parallelizing sampling (Stern et al., 2018) and future hardware accelerators will help alleviate this issue and eventually make autoregressive modeling a viable solution even for extremely high-dimensional data such as videos.
|
| 34 |
+
|
| 35 |
+
To reduce the generally quadratic space complexity of the self-attention mechanism, we use blocklocal self-attention, generalizing the image generation approaches of Parmar et al. (2018) and Chen et al. (2018) to 3D volumes. In concurrent work, Child et al. (2019) instead use sparse attention after linearizing images to a sequence of pixels.
|
| 36 |
+
|
| 37 |
+
To further reduce memory requirements, we generalize sub-scaling (Menick & Kalchbrenner, 2019) to video. An alternative approach is optionally hierarchical multi-scale generation, which has recently been explored for both image generation (Reed et al., 2017; De Fauw et al., 2019) as well as video generation (Mathieu et al., 2016).
|
| 38 |
+
|
| 39 |
+
Earlier work on video generation mostly focused on deterministic approaches (Srivastava et al., 2015; Carl Vondrick, 2016; Xingjian et al., 2015; Liu et al., 2017; Jia et al., 2016), which fail to capture the high degree of stochasticity inherent in video. In response, a popular research direction has been that of generative latent-variable video models. In contrast to pixel-level autoregressive models, these posit an underlying latent process in tandem with the observed pixel values. Work in this category includes variants of variational autoencoders (Babaeizadeh et al., 2018; Denton & Fergus, 2018). To address the issues inherent in these models, most notably the tendency to generate blurry outputs possibly due to restricted modeling power, inadequate prior distributions, or optimization of a lower bound in place of the true likelihood, various directions have been explored, including the use of adversarial objectives (Mathieu et al., 2016; Vondrick et al., 2016; Lee et al., 2018), hierarchical latent-variables (Castrejon et al., 2019), or flow-based models (Kumar et al., ´ 2019). All of these approaches admit significantly faster generation. However, in the adversarial case, they tend to only focus on a subset of the modes in the empirical distribution while flowbased models struggle with limited modeling power even when using a large number of layers and parameters.
|
| 40 |
+
|
| 41 |
+
A large fraction of earlier work on video generation has encoded specific intuitions about videos, such as explicit modeling of motion (Finn et al., 2016b; Denton & Fergus, 2018) or generation of optical flow (Patr ˘ aucean et al., 2016). The conceptual simplicity of our model, however, is more in ˘ line with recent approaches to video classification that process videos by means of 3D convolutions (Carreira & Zisserman, 2017; Xie et al., 2018) or, similar to this work, spatiotemporal self-attention (Girdhar et al., 2018).
|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
Figure 1: Top: Illustration of the subscale video transformer architecture and process flow. We incrementally generate $s = 4 \cdot 2 \cdot 2 = 1 6$ video slices. The video slices and their respective generation order are derived from subscaling. In each iteration, we first process the partially padded video (illustrated for slice index $( 1 , 0 , 1 )$ , black means padding and gray means already generated or visible) by an encoder, the output of which is used as conditioning for decoding the current video slice. After generating a slice we replace the respective padding in the video with the generated output and repeat the process for the next slice. Bottom: Subscaling in 3D (best viewed in color). The 3D volume is evenly divided by a given subscale factor, here $\textbf { \textit { s } } = \ ( 4 , 2 , 2 )$ , and the respective slices are extracted. The whole volume is generated by incrementally predicting the individual, much smaller slices, starting at slice ${ \pmb x } _ { ( 0 , 0 , 0 ) }$ (yellow), followed by ${ \pmb x } _ { ( 0 , 0 , 1 ) }$ (green), $\pmb { x } _ { ( 0 , 1 , 0 ) }$ (red), etc., in rasterscan order.
|
| 45 |
+
|
| 46 |
+
# 3 VIDEO TRANSFORMER
|
| 47 |
+
|
| 48 |
+
We generalize the one-dimensional Transformer (Vaswani et al., 2017) to explicitly model videos represented as three-dimensional spatiotemporal volumes, without resorting to sequential linearization of the positions in the volume (Child et al., 2019). This allows for maintaining spatial neighborhoods around positions, which is important as the large number of individual positions to be predicted in a video requires limiting the receptive field of the self-attention mechanism to a neighborhood around every position to avoid the quadratic blow-up in memory consumption of naive fully-connected attention.
|
| 49 |
+
|
| 50 |
+
We model the distribution $p ( { \pmb x } )$ over videos $\pmb { x } \in \mathbb { R } ^ { T \times H \times W \times N _ { c } }$ — with time, height, width and channel dimensions, respectively — by means of a pixel-channel level autoregressive factorization.1 That is, the joint distribution over pixels is factorized into a product of channel intensities for all $N _ { c }$ channels, for each of the $N _ { p } = T \cdot H \cdot W$ pixels, with respect to an ordering $\pi$ over pixels:
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
p ( \pmb { x } ) = \prod _ { i = 0 } ^ { N _ { p } - 1 } \prod _ { k = 0 } ^ { N _ { c } - 1 } p ( \pmb { x } _ { \pi ( i ) } ^ { k } | \pmb { x } _ { \pi ( < i ) } , \pmb { x } _ { \pi ( i ) } ^ { < k } ) .
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
The ordering $\pi$ is given by a combination of a subscale- and raster-scan ordering, as detailed in 3.2.
|
| 57 |
+
|
| 58 |
+
# 3.1 BLOCK-LOCAL SELF-ATTENTION
|
| 59 |
+
|
| 60 |
+
The attention mechanism of the original Transformer lets each element in a set of $N _ { p }$ elements connect to every other element, via the fully-connected weighted adjacency (attention) matrix $A \in$ $\mathbb { R } ^ { N _ { p } \times N _ { p } }$ , with $A _ { i j }$ representing attention weights from element $i$ to element $j$ . Because $A$ grows quadratically with the number of elements it becomes prohibitively large for objects such as videos, which typically consist of hundreds of thousands of pixels or more. Therefore, similar in spirit to Parmar et al. (2018), we propose to use local self-attention by dividing a video into much smaller non-overlapping sub-volumes, or $3 D$ blocks. We then apply self-attention separately within each block. This approach is conceptually simple and amenable to highly efficient implementation on
|
| 61 |
+
|
| 62 |
+
TPUs, which enables us to scale our models substantially while maintaining a comparatively high training speed with only a modest sacrifice in expressive power.
|
| 63 |
+
|
| 64 |
+
The Video Transformer consists of multiple stacked self-attention layers. Each layer divides the overall video volume of shape $( T , H , W )$ into smaller blocks of shape $( t , h , w )$ of length $n _ { p } = t \cdot h$ · $w$ , and performs attention within each block independently. Given a (flattened) block representation $z \in \mathbb { R } ^ { n _ { p } \times d }$ of hidden size $d$ as input, this amounts to:
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r l r } & { [ \boldsymbol { q } , \boldsymbol { k } , \boldsymbol { v } ] = \mathrm { l a y e r n o r m } ( \boldsymbol { z } ) W _ { q k v } \quad } & { \boldsymbol { q } , \boldsymbol { k } , \boldsymbol { v } \in \mathbb { R } ^ { n _ { p } \times d _ { a } } , W _ { q k v } \in \mathbb { R } ^ { d \times 3 d _ { a } } , } \\ & { \qquad \boldsymbol { A } = \mathrm { s o f t m a x } \left( \boldsymbol { q } \boldsymbol { k } ^ { \top } / \sqrt { d _ { a } } + \boldsymbol { B } \right) \quad } & { \boldsymbol { A } , \boldsymbol { B } \in \mathbb { R } ^ { n _ { p } \times n _ { p } } , } \\ & { \mathrm { a t t e n t i o n } ( \boldsymbol { z } ) = \boldsymbol { A } \boldsymbol { v } . } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
The input is first projected to query, key and value representations (Eq. 2). The attention matrix $A$ is then formed as the scaled dot-product between all query-key pairs adding a relative position bias $B$ (Parikh et al., 2016) (Eq. 3). The bias $B _ { i j }$ is defined as the sum of per-dimension relative distance biases between element $i$ and $j$ , along each of the time- and spatial dimensions. Finally, the values are aggregated with respect to the attention weights (Eq. 4).
|
| 71 |
+
|
| 72 |
+
Following Vaswani et al. (2017), we concatenate the output of $n _ { a }$ parallel attention heads in each layer and project the result by a linear transformation (Eq. 5) before applying a residual connection. Finally, the output of the multi-head self-attention layer is passed through another dense layer with ReLU activation, followed by a final linear transformation and a residual connection (Eq. 6):
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\begin{array} { r l r } & { \tilde { z } = [ \mathrm { a t t e n t i o n } _ { 1 } ( z ) ; \cdots ; \mathrm { a t t e n t i o n } _ { n _ { a } } ( z ) ] W _ { p } + z \qquad } & { \quad } & { W _ { p } \in \mathbb { R } ^ { ( n _ { a } \cdot d _ { a } ) \times d } , } \\ & { z ^ { \prime } = \mathrm { r e l u } ( \mathrm { l a y e r n o r m } ( \tilde { z } ) T _ { 1 } ) T _ { 2 } + \tilde { z } } & { \quad } & { T _ { 1 } , T _ { 2 } \in \mathbb { R } ^ { d \times d } , } \end{array}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
where overloading notation, attention $( z )$ denotes the blockwise application of self-attention to $_ { z }$ . Similar to Baevski & Auli (2019), we found that applying layer normalization before each block, rather than after each block as proposed by Vaswani et al. (2017), improves training.
|
| 79 |
+
|
| 80 |
+
Connectivity. Operating on 3D sub-volumes (blocks) of videos means that there is no direct information exchange between blocks. However, this can be addressed by varying the block sizes between each layer. To achieve this, we define blocks that stretch over the entire extent of at least a single dimension in each layer. Following this procedure, we can effectively connect all pixel positions in the encoder, but due to masking some dependencies are missed in the decoder. However, in our experiments these did not produce any visible, systematic artifacts. We discuss missing dependencies and potential remedies in Appendix C.
|
| 81 |
+
|
| 82 |
+
Efficiency. Running block-local self-attention is very efficient in practice as the cost of splitting videos into blocks is negligible. The approach of Parmar et al. (2018) uses overlapping 2D image blocks in each layer. We found this prohibitive as the required data copying is comparatively expensive. To avoid the need for overlaps to connect pixels across blocks, we simply vary block sizes between layers, which is highly efficient and, as our results show, works well in practice.
|
| 83 |
+
|
| 84 |
+
# 3.2 SPATIOTEMPORAL SUBSCALING
|
| 85 |
+
|
| 86 |
+
Menick & Kalchbrenner (2019) recently proposed generating images as a sequence of subscaled image slices. We similarly define a subscale factor $\boldsymbol { s } = \left( s _ { t } , s _ { h } , s _ { w } \right)$ which divides a video into $s = \overline { { ( \boldsymbol { s } _ { t } \cdot \boldsymbol { s } _ { h } \cdot \boldsymbol { s } _ { w } ) } }$ sub-sampled videos (slices), each of resolution $( T / s _ { t } , H / s _ { h } , W / s _ { w } )$ , as depicted in the bottom part of Figure 1. The slices are generated in order according to their respective offsets, such that we first generate slice $\pmb { x } _ { ( 0 , 0 , 0 ) }$ , then $\pmb { x } _ { ( 0 , 0 , 1 ) }$ , up until slice $\pmb { x } _ { ( s _ { t } - 1 , s _ { h } - 1 , s _ { w } - 1 ) }$ . Generating all slices one at a time in this way drastically reduces the number of pixels in memory to $N _ { p } / s$ , which enables scaling our architectures by a factor of $s$ . Each slice is internally generated according to the raster-scan order. In the following we explain how slices are generated and how they are conditioned on already decoded slices. An overview is illustrated in the upper part of Figure 1.
|
| 87 |
+
|
| 88 |
+
Slice Encoder. The current slice $\pmb { x } _ { ( a , b , c ) }$ is generated conditioned on the encoded pixels from preceding slices as follows. First, we create a partially masked video, where only the pixels of preceding slices $\pmb { x } _ { < ( a , b , c ) }$ are visible. The partially masked video is then embedded by concatenating the onehot encoding of the discretized pixel intensities of each channel. Subsequently, a 3D convolution with kernel size $\pmb { k } = ( k _ { 1 } , k _ { 2 } , k _ { 3 } )$ and stride $\pmb { s }$ (the sub-scaling factor) results in an encoded video of resolution $( T / s _ { t } , H / s _ { h } , W / s _ { w } )$ . We apply convolution padding depending on the current slice index $( a , b , c )$ . In particular, we pad with $( \lfloor k _ { 1 } / 2 \rfloor - a , \lfloor k _ { 2 } / 2 \rfloor - b , \lfloor k _ { 3 } / 2 \rfloor - c )$ , which “centers” the convolution kernel on the pixels of the current slice. Finally, we add positional embeddings for each axis, as well as embeddings for the current slice index $( a , b , c )$ , to the output of this strided convolution. The result is an initial encoder representation $\begin{array} { r } { z _ { ( a , b , c ) } ^ { 0 } \in \mathbb { R } ^ { T / s _ { t } \times H / s _ { h } \times W / s _ { w } \times d _ { e } } } \end{array}$ , where $d _ { e }$ is the embedding size. We can optionally condition on auxiliary information, such as per-frame action values of a robot arm, by concatenating this information to the initial encoder representation.
|
| 89 |
+
|
| 90 |
+
This representation is further transformed by a linear projection to hidden size $d$ , before being fed as input to a stack of terized by a different $L$ block-local self-attention layers as described in ock size and number of attention heads. The res $\ S 3 . 1$ . Each lg output $\dot { z } _ { ( a , b , c ) } ^ { L }$ arame-is used as conditional input to the subscale slice decoder, which generates the pixels of the current slice $( a , b , c )$ .
|
| 91 |
+
|
| 92 |
+
Slice Decoder. The pixel values of the current slice $\pmb { x } _ { ( a , b , c ) }$ are predicted conditioned on the encoder representation $z _ { ( a , b , c ) } ^ { L }$ . The decoder is almost identical to the encoder in structure, except for the use of masking in the decoder as defined by the generation order. First, we embed $\pmb { x } _ { ( a , b , c ) }$ by summing $N _ { c }$ channel embeddings of size $d _ { e }$ at every pixel, before applying a $3 \mathrm { x } 3 \mathrm { x } 3 $ masked convolution (van den Oord et al., 2016a) on the embedded pixels, effectively representing each pixel by its already generated, immediate neighbors. Similar to the encoder, we add positional embeddings for the space- and time dimensions to the ouresults in an initial decoder representation $\mathbf { \dot { y } } _ { ( a , b , c ) } ^ { 0 } \in \mathbb { R } ^ { T / s _ { t } \times H / s _ { h } \times W / s _ { w } \times d }$ As in the encoder, this.
|
| 93 |
+
|
| 94 |
+
To condition on the encoder state, a linear projection of $z _ { ( a , b , c ) } ^ { L }$ is added to $\pmb { y } _ { ( a , b , c ) } ^ { 0 }$ and the resulting representation is fed through a stack of block-local self-attention layers, with masking, to produce a state $\pmb { y } _ { ( a , b , c ) } ^ { L }$ on which the final channel predictions are conditioned.
|
| 95 |
+
|
| 96 |
+
# 3.3 CHANNEL PREDICTION & LOSS FUNCTION.
|
| 97 |
+
|
| 98 |
+
The per-pixel channel intensities $\pmb { x } _ { ( a , b , c ) } ^ { k }$ (we omit the slice index $( a , b , c )$ in the following) for each channel $k \ < \ N _ { c }$ are predicted by MLPs with a single hidden layer (Eq. 8), conditioned on the flattened final decoder state $\pmb { y } ^ { L } \in \mathbb { R } ^ { n _ { p } \times d }$ — which is itself conditioned on $z _ { ( a , b , c ) } ^ { L }$ and hence on prior slices $\pmb { x } _ { < ( a , b , c ) }$ — as well as the preceding channels $( { \pmb x } ^ { j } ) _ { j = 1 \dots k - 1 }$ for each pixel, encoded as one-hot vectors. Finally, the per video slice loss is defined as the negative log-likelihood as in Eq. 9:
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\begin{array} { r l r } & { \boldsymbol { u } ^ { k } = \left[ \mathrm { l a y e r n o r m } \left( \boldsymbol { y } ^ { L } \right) ; \mathrm { o n e h o t } \left( \boldsymbol { x } ^ { 1 } \right) ; \cdots ; \mathrm { o n e h o t } \left( \boldsymbol { x } ^ { k - 1 } \right) \right] \boldsymbol { U } _ { k } , } & \\ & { p \left( x _ { i } ^ { k } | \boldsymbol { x } _ { i } ^ { < k } , \boldsymbol { x } _ { < i } \right) = \mathrm { s o f t m a x } \left( \mathrm { r e l u } ( \boldsymbol { u } _ { i } ^ { k } ) \boldsymbol { P } \right) , } & { \boldsymbol { P } \in \mathbb { R } ^ { d \times N _ { v } } , \quad \boldsymbol { U } _ { k } \in \mathbb { R } ^ { ( d + ( k - 1 ) \cdot N _ { v } ) \times d } , } \\ & { \boldsymbol { \mathcal { L } } ( \boldsymbol { x } ) = - \displaystyle \sum _ { i = 0 } ^ { n _ { p } - 1 } \sum _ { k = 0 } ^ { N _ { c } - 1 } \ln p ( x _ { i } ^ { k } | \boldsymbol { x } _ { i } ^ { < k } , \boldsymbol { x } _ { < i } ) . } & \end{array}
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
We found that splitting the color channel values of the videos into coarse and fine bits helps slightly in terms of performance. Specifically, we split the $3 \times 8$ -bit RGB channels into $6 \times 4$ -bit channels ( $N _ { c } = 6$ , $N _ { v } = 1 6$ ), such that the coarse bits of all three channels are predicted before the fine bits. Furthermore, splitting channels this way at the input level considerably lowers memory footprint when encoding videos as onehot vectors on TPUs.
|
| 105 |
+
|
| 106 |
+
# 4 EXPERIMENTS
|
| 107 |
+
|
| 108 |
+
Below, we provide details on the model variants considered, our training setup and the evaluation metrics used. We focus our evaluation on the BAIR Robot Pushing and Kinetics datasets. Additional results on Moving MNIST and another robot pushing dataset are provided in Appendix A for reference. Sample videos strips of each model and dataset can be found in Appendix F and sample videos at https://bit.ly/2Zb017f.
|
| 109 |
+
|
| 110 |
+
# 4.1 MODELS & SETUP
|
| 111 |
+
|
| 112 |
+
Unless specified otherwise, we model video slices of 4 frames with a spatial resolution of $3 2 \mathbf { x } 3 2$ . Both the encoder and decoder consist of 8 layers and have a nearly identical structure, except for the use of masking in the decoder, as described in Section 3.2. We apply block-local self-attention with the following block sizes $( t , h , w )$ . Layers 1-4: (4, 8, 4); (4, 4, 8); (1, 32, 4); and (1, 4, 32). Intuitively, layers 1 and 2 are responsible for gathering temporal information whereas layers 3 and 4 gather spatial information of the entire frame. Layer 3 has access to the entire height and layer 4 to the entire width of a frame. The remaining 4 layers have the same block sizes, but in reverse order. However, as discussed in Appendix B, this particular choice of block size ordering is not crucial. There are $n _ { a } = 8$ attention heads, each with hidden size $d _ { a } = 1 2 8$ . Our base models are trained with embedding size $d _ { e } = 1 2 8$ and hidden size of $d = 5 1 2$ (46M parameters). Based on ablations in Appendix B, we observed that increasing the hidden dimension is preferable to using deeper networks. Hence, we increase the hidden size to $d = 2 0 4 8$ and use $n _ { a } = 1 6$ instead of 8 heads for the last 4 encoder/decoder layers in our large models (373M parameters).
|
| 113 |
+
|
| 114 |
+
Models. To assess the effect of subscaling, we explore the following variants. These differ mainly in the subscaling factor $\pmb { s }$ as well as the context kernel size $\boldsymbol { k }$ , defaulting to $k = s$ :
|
| 115 |
+
|
| 116 |
+
Spatiotemporal Subscaling. The subscale video transformer with full spatiotemporal subscaling applies subscaling in every dimension. For instance, a $1 6 \mathrm { x } 6 4 \mathrm { x } 6 4$ video is subscaled by factors $s = ( 4 , 2 , 2 )$ to 16 slices of $4 \mathbf { x } 3 2 \mathbf { x } 3 2$ .
|
| 117 |
+
|
| 118 |
+
Spatial Subscaling. This model uses no temporal subscaling and only subscales individual frames to a resolution of $3 2 \mathbf { x } 3 2$ . For instance, a $4 \mathrm { x } 6 4 \mathrm { x } 6 4$ video is subscaled by factors $s = ( 1 , 2 , 2 )$ to 4 slices of $4 \mathbf { x } 3 2 \mathbf { x } 3 2$ .
|
| 119 |
+
|
| 120 |
+
Single Frame. This model uses no subscaling. Instead, we here model an entire single frame at a time, conditioned only on the previous three frames to limit memory consumption. The model uses no actual subscaling. Instead, one can imagine a $1 6 \mathrm { x } 6 4 \mathrm { x } 6 4$ video to be subscaled by factors $\pmb { s } = ( 1 6 , 1 , 1 )$ to 16 slices of $1 \mathrm { x } 6 4 \mathrm { x } 6 4$ frames. The context kernel size is $\pmb { k } = ( 6 , 1 , 1 )$ which means that we merely condition on a context of 3 past frames, as the current and future frames are always masked when the temporal subscaling factor equals the full video length. Self-attention blocks are adapted as follows: Layers 1-4: (1, 8, 16); (1, 16, 8); (1, 2, 64); (1, 64, 2). For the remaining 4 layers we use the same blocks, again in reverse order.
|
| 121 |
+
|
| 122 |
+
Training. All models are trained with RMSProp (Tieleman & Hinton, 2012) with a fixed learning rate of $2 \cdot 1 0 ^ { - 5 }$ , decay of 0.95 and momentum of 0.9. We use a batch size of 64 video slices, if not stated otherwise, and shuffle the slices to avoid having all slices in a batch correspond to the same video. The smaller models are trained for 300K steps and the larger ones for 1M steps. No explicit regularization is applied as we could not observe any form of over-fitting. Videos longer than the training resolution are cropped randomly in time to the defined training length. If not stated otherwise, models are conditioned on the first frame during training, which is achieved by masking the loss corresponding to this frame. In preliminary experiments, this gave a minor improvement over computing the training loss across all frames.
|
| 123 |
+
|
| 124 |
+
Intrinsic Evaluation. Most results are reported as bits per dimension (bits/dim), the average negative $\log _ { 2 }$ -probability assigned by the model per (RGB) channel, averaged across all pixels in the video. This corresponds directly to the loss optimized by the model. In all experiments, we condition (prime) on a specified number of initial frames. The log-probabilities corresponding to these frames are excluded from this average.
|
| 125 |
+
|
| 126 |
+
Extrinsic Evaluation. Prior work mainly reported results on the peak signal-to-noise ratio (PSNR) and mean-structural similarity (SSIM) metrics (Wang et al., 2004b). However, these metrics were developed for images and have serious flaws when applied to videos (Wang et al., $2 0 0 4 \mathrm { a }$ ; Wang & Li, 2007; Zhang et al., 2018; Lee et al., 2018). Conceptually, PSNR has a strong preference for blurry videos as it is based on pixel-level mean squared error. Similarly, SSIM does not correlate well with perceptual quality either. For instance, variational autoencoders show very strong performance on this metric despite producing blurry videos (Lee et al., 2018). Hence, we focus on the Frechet Video ´ Distance (FVD), which was recently proposed by Unterthiner et al. (2018) as a qualitative metric sensitive to visual quality, temporal coherence and diversity of samples. This is the spatiotemporal counterpart to the Frechet Inception Distance (Heusel et al., 2017), replacing the ImageNet-trained ´
|
| 127 |
+
|
| 128 |
+
Table 1: Quantitative results on BAIR Robot Pushing (left) and Kinetics (right).
|
| 129 |
+
|
| 130 |
+
<table><tr><td>Models</td><td>Bits/dim</td><td>FVD</td><td>FVD (Avg)</td></tr><tr><td>Single Frame</td><td>1.49</td><td>104±4</td><td>99±2</td></tr><tr><td>Spatial Sub.</td><td>1.57</td><td>111±4</td><td>108±1</td></tr><tr><td>Spatiotemp. Sub.</td><td>1.53</td><td>106±3</td><td>106±2</td></tr><tr><td>Spatiotemp. Sub. (L)</td><td>1.35</td><td>94±2</td><td>96±2</td></tr><tr><td>SV2P[1]+</td><td>1</td><td>263</td><td>1</td></tr><tr><td>SAVP [2]t</td><td>1</td><td>116t</td><td></td></tr><tr><td>VideoFlow [3]</td><td>1.87</td><td>1</td><td></td></tr></table>
|
| 131 |
+
|
| 132 |
+
(a) BAIR Robot Pushing. Bits/dim averaged across 15 subsequent frames when priming with 1 initial frame, FVD and unrolled average FVD scores. Best results in bold. $^ { \dagger }$ Results from Unterthiner et al. (2018). ‡ Results are not strictly comparable (see text for details). [1] Babaeizadeh et al. (2018), [2] Lee et al. (2018), [3] Kumar et al. (2019).
|
| 133 |
+
|
| 134 |
+
<table><tr><td>Models</td><td>Bits/dim</td><td>FVD</td><td>FVD (Avg)</td></tr><tr><td>Single Frame</td><td>1.40</td><td>243±6</td><td>413±11</td></tr><tr><td>Spatial Sub.</td><td>1.47</td><td>263±6</td><td>450±15</td></tr><tr><td>Spatiotemp. Sub.</td><td>1.49</td><td>195±7</td><td>375±11</td></tr><tr><td>Single frame (L)</td><td>1.14</td><td>207±8</td><td>353±13</td></tr><tr><td>Spatiotemp. Sub. (L)</td><td>1.19</td><td>170±5</td><td>316±12</td></tr></table>
|
| 135 |
+
|
| 136 |
+
(b) Kinetics. Bits/dim averaged across 15 subsequent frames when priming with 1 initial frame, FVD and unrolled average FVD scores when priming with 5 frames. Best results in bold.
|
| 137 |
+
|
| 138 |
+
Inception network of the latter with an I3D Network trained on Kinetics. Despite sharing the known drawbacks of FID (Binkowski et al., 2018), FVD has shown to correlate much stronger with human ´ raters compared to both PSNR and SSIM (Unterthiner et al., 2018). We report the FVD of the first 16 frames, as well as the “unrolled” average FVD across all contiguous subsequences of 16 frames. In each case, we report the mean and standard deviation of 20 trials.
|
| 139 |
+
|
| 140 |
+
Sampling time. Sampling from autoregressive models is notoriously slow. However, because our decoders are not very deep (8 layers) we are able to sample a batch of four 30x64x64 videos in acceptable time (approx. 8 minutes) with our large models on a Nvidia Tesla V100. Though this might still be impractical we argue that further advances in parallel sampling strategies (Stern et al., 2018) and future hardware will alleviate this disadvantage significantly.
|
| 141 |
+
|
| 142 |
+
# 4.2 BAIR ROBOT PUSHING
|
| 143 |
+
|
| 144 |
+
BAIR Robot Pushing (Ebert et al., 2017) shows a robotic arm pushing and grasping objects in a box. It consists of roughly 40K training- and 256 test videos. We prime on the first frame for training and evaluation.
|
| 145 |
+
|
| 146 |
+
Empirical Results. All variants of the Video Transformer achieve strong results compared to prior work in terms of both intrinsic and extrinsic metrics. From Table 1a, we see that the small models already reduce the perplexity in terms of bits/dim by almost $20 \%$ compared to the recently proposed VideoFlow model (Kumar et al., 2019) with our large model (L) reducing perplexity even further to a $2 5 \%$ improvement. Similar to Menick & Kalchbrenner (2019), we find that subscaling can have a slightly negative effect on bits/dim. In terms of perceptual quality, every incarnation of our model obtains a lower (better) FVD score compared to all models evaluated by Unterthiner et al. (2018), which notably includes adversarial networks with no guarantees of covering the full empirical distribution. These results are not strictly comparable, since prior work has used longer priming sequences of two (Babaeizadeh et al., 2018; Lee et al., 2018) or three (Kumar et al., 2019) frames, whereas our models (to our disadvantage) see a single prime frame. Note that we sample with temperature 0.9 for the extrinsic metrics as we observed improved qualitative results at this temperature on the validation set. This corresponds to a mild form of mode dropping and is common practice to improve sampling quality. For fair comparison we also tweaked the “temperature” of SAVP by scaling the variance of its normal distribution when sampling. This, however, did not result in any improvements for FVD.
|
| 147 |
+
|
| 148 |
+
Further results on an earlier version of robot pushing (Finn et al., 2016a) and Moving MNIST (Srivastava et al., 2015) can be found in Appendix A for brevity. In summary, like Kalchbrenner et al. (2016), we match the lower bound on Moving MNIST while obtaining an almost $50 \%$ reduction in bits/dim on robotic pushing which demonstrates the superiority of our models against prior work on autoregressive video modeling.
|
| 149 |
+
|
| 150 |
+
Qualitative Observations. All variants of our model reach similar quantitative results on these benchmarks and we observe no immediate differences in fidelity. However, there are some notable differences. First, whereas the spatiotemporal subscaling model is able to capture temporal dependencies across up to 16 frames (given subscaling in time by a factor four), the remaining models can only capture dependencies across four frames. This can, for example, result in deformation of occluded objects (e.g., Figure 4 of the Appendix). However, due to the simplicity of the benchmark datasets, this is not appropriately reflected in the metrics including better unrolled FVD curves for the single frame base model in Figure 2a. Second, we observe that lowering the sampling temperature from 1.0 to 0.9 consistently improves results. Notably, spatiotemporal subscaling seems more robust to sampling errors as its performance decays less when sampling with temperature 1.0 ( $1 2 2 { \pm } 4$ Avg. FVD) compared to the spatial subscaling $( 1 3 4 \pm 4 )$ and single frame models $( 1 5 3 \pm 7 )$ . We attribute this finding to the difference in generation order when spatiotemporal subscaling is employed as it predicts pixels over the entire extend of the 3D video volume early and thereby effectively anchors future predictions around these pixels. Finally, considering that our results on BAIR Robot Pushing in terms of FVD are on par with those between two ground-truth subsamples (Figure 4 of Unterthiner et al. (2018)), we may be approaching the limit of this benchmark. On the other hand, it could be that FVD suffers out-of-domain and is not sufficiently sensitive to longrange temporal dynamics, since it is trained to perform human action recognition, which is known to predominantly rely on local features (Carreira & Zisserman, 2017; Xie et al., 2018).
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 2: Unrolled FVD metrics on BAIR Robot Pushing (left) and Kinetics (right).
|
| 154 |
+
|
| 155 |
+
# 4.3 KINETICS
|
| 156 |
+
|
| 157 |
+
Moving from a constrained to a real world setting, we next apply our models to the Kinetics dataset (Kay et al., 2017), a large scale action-recognition dataset consisting of YouTube videos. Specifically, we use Kinetics-600, which contains roughly 400K training videos ranging over 600 action classes (Carreira et al., 2018). We center-crop and down-sample each frame to 64x64 with a width-3 Lanczos filter and anti-aliasing.
|
| 158 |
+
|
| 159 |
+
We introduce a slight change to our setup by using a separate decoder for the first slice $\pmb { x } _ { ( 0 , 0 , 0 ) }$ . This decoder can be twice as deep (16 instead of 8 layers) as the original subscale decoder, because it does not rely on any encoder. For all other slices we train a regular subscale model (8 layers in both encoder and decoder) as before. Using a separate first-slice decoder means that there is no wasted encoder computation on the first slice and that there are additional parameters. Furthermore, for our large models we scale the batch size to 256 by training in parallel on 128 TPU v3 instances for 1M steps.
|
| 160 |
+
|
| 161 |
+
Empirical Results. Results for our base models are shown in the upper part of Table 1b. In line with results on BAIR pushing, we find that the single frame model obtains better performance in terms of bits/dim. In contrast, we observe that the spatiotemporal subscaling model generates better and more robust video continuations which is reflected by its superior FVD scores. Our large models (L) show much stronger performance across the board (see lower half of Table 1b and Figures 2b), lowering the perplexity to 1.14 bits/dim for the single frame model. While the spatiotemporal subscaling model obtains slightly worse perplexity of 1.19 bits/dim, it improves FVD to 170. Despite its good performance on bits/dim, even with a temperature of 0.9, samples from the large single frame model are prone to instability and in many cases we observe color “explosions” (Figure 12 in the Appendix shows an example) which is reflected in its significantly higher FVD score. Although much less pronounced we observed such instability already when sampling with temperature 1.0 on BAIR pushing which clearly indicates the benefits of temporal subscaling for video generation.
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 3: Selected Kinetics continuations from a set of 128 videos and 16 samples which showcase a variety of natural, video-specific phenomena our model learns to generate. We used our large spatiotemporal subscaling model and prime generation with 5 frames (0-4) to include the first two frames in subscale order (0, 4). Samples are generated with temperature of 0.9. The examples depict frames 0, 5, 10 and 15.
|
| 165 |
+
|
| 166 |
+
Qualitative Observations. Figure 3 shows samples from a cooking subset of Kinetics that we describe in Appendix E. These are selected to showcase different aspects of real-world videos learned by the large spatiotemporal subscaling model. Figures 3a and 3c demonstrate the model’s ability to handle camera movement. We find that camera movement seems to be learned early in training, possibly since it is a major source of uncertainty. This requires transforming pixels correctly while hallucinating new pixels at the edges. Similarly, object movement resulting, for instance, in a change of perspective is predicted quite well (Figure 3b). Highly stochastic motion such as fire (Figure 3d) or steam is modeled surprisingly well. Videos in Kinetics sometimes contain scene changes and our model, too, occasionally generates videos with jumps to completely new scenes (Figure 3e). Motion of human fingers and faces seems challenging to model. Nevertheless, in a number of samples the model is able to generate somewhat believable continuations as can be seen in Figures 3g, 3h or 3i.
|
| 167 |
+
|
| 168 |
+
These selected examples show only a small subset of the interesting phenomena handled by the model and illustrate the sheer complexity involved in modeling this dataset. In Appendix F, we provide multiple samples, primed with the same initial frames to illustrate the diversity of the generated samples.
|
| 169 |
+
|
| 170 |
+
Limitations. While we obtained the occasional encouraging sampl, we would like to point out that the diversity of Kinetics still poses a major challenge. Failure modes range from freezing movement or object distortions to continuations that ”wash out” entirely after a few frames. We firmly beleive that yet larger datasets and/or models will be required to capture the complexity of even short clips from YouTube videos. With this work we merely provide an initial baseline, hoping to highlight both the potential and the enormous room for improvement.
|
| 171 |
+
|
| 172 |
+
# 5 CONCLUSION
|
| 173 |
+
|
| 174 |
+
We presented an autoregressive model of videos based almost entirely on a variant of block-local self-attention that can easily be implemented efficiently on TPUs. Combined with spatiotemporal subscaling, our models can be scaled up substantially while retaining the ability to capture longer range spatiotemporal dependencies.
|
| 175 |
+
|
| 176 |
+
Empirically, we obtain state-of-the-art results across a range of video generation benchmarks, while the scalability of our approach enables us to make an initial attempt at modeling videos of unusually high complexity and diversity as found in the Kinetics dataset. Our models occasionally generate encouraging continuations, especially on a subset of cooking videos, yet we find modeling the full range of such videos clearly remains a major challenge.
|
| 177 |
+
|
| 178 |
+
# ACKNOWLEDGEMENTS
|
| 179 |
+
|
| 180 |
+
This work benefited from numerous conversations with Nal Kalchbrenner, as well as discussions with Jacob Menick, Mohammad Taghi Saffar and Niki Parmar. We would also like to thank Chelsea Finn and Tom Kwiatkowski for thoughtful comments on an earlier draft.
|
| 181 |
+
|
| 182 |
+
# REFERENCES
|
| 183 |
+
|
| 184 |
+
Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H. Campbell, and Sergey Levine. Stochastic variational video prediction. ICLR, 2018.
|
| 185 |
+
Alexei Baevski and Michael Auli. Adaptive input representations for neural language modeling. In ICLR, 2019.
|
| 186 |
+
Mikołaj Binkowski, Dougal J. Sutherland, Michael Arbel, and Arthur Gretton. Demystifying MMD ´ GANs. In ICLR, 2018.
|
| 187 |
+
Antonio Torralba Carl Vondrick, Hamed Pirsiavash. Anticipating visual representations from unlabeled video. In CVPR, 2016.
|
| 188 |
+
Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics ˜ dataset. In CVPR, 2017.
|
| 189 |
+
Joao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short ˜ note about kinetics-600. arXiv, abs/1808.01340, 2018.
|
| 190 |
+
Llu´ıs Castrejon, Nicolas Ballas, and Aaron Courville. Improved conditional vrnns for video predic- ´ tion. arXiv, abs/1904.12165, 2019.
|
| 191 |
+
XI Chen, Nikhil Mishra, Mostafa Rohaninejad, and Pieter Abbeel. PixelSNAIL: An improved autoregressive generative model. In ICML, 2018.
|
| 192 |
+
Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. OpenAI Preprint, 2019.
|
| 193 |
+
Jeffrey De Fauw, Sander Dieleman, and Karen Simonyan. Hierarchical autoregressive image models with auxiliary decoders. In CVPR, 2019.
|
| 194 |
+
Emily Denton and Rob Fergus. Stochastic video generation with a learned prior. In ICML, 2018.
|
| 195 |
+
Frederik Ebert, Chelsea Finn, Alex Lee, and Sergey Levine. Self-supervised visual planning with temporal skip connections. In Conference on Robot Learning (CoRL), 2017.
|
| 196 |
+
Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In NIPS, 2016a.
|
| 197 |
+
Chelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In NIPS, 2016b.
|
| 198 |
+
Rohit Girdhar, Joao Carreira, Carl Doersch, and Andrew Zisserman. Video action transformer net- ˜ work. arXiv, abs/1812.02707, 2018.
|
| 199 |
+
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.
|
| 200 |
+
Xu Jia, Bert De Brabandere, Tinne Tuytelaars, and Luc V Gool. Dynamic filter networks. In Advances in Neural Information Processing Systems, 2016.
|
| 201 |
+
Norman P. Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, Rick Boyle, Pierre-luc Cantin, Clifford Chao, Chris Clark, Jeremy Coriell, Mike Daley, Matt Dau, Jeffrey Dean, Ben Gelb, Tara Vazir Ghaemmaghami, Rajendra Gottipati, William Gulland, Robert Hagmann, C. Richard Ho, Doug Hogberg, John Hu, Robert Hundt, Dan Hurt, Julian Ibarz, Aaron Jaffey, Alek Jaworski,
|
| 202 |
+
|
| 203 |
+
Alexander Kaplan, Harshit Khaitan, Daniel Killebrew, Andy Koch, Naveen Kumar, Steve Lacy, James Laudon, James Law, Diemthu Le, Chris Leary, Zhuyuan Liu, Kyle Lucke, Alan Lundin, Gordon MacKean, Adriana Maggiore, Maire Mahony, Kieran Miller, Rahul Nagarajan, Ravi Narayanaswami, Ray Ni, Kathy Nix, Thomas Norrie, Mark Omernick, Narayana Penukonda, Andy Phelps, Jonathan Ross, Matt Ross, Amir Salek, Emad Samadiani, Chris Severn, Gregory Sizikov, Matthew Snelham, Jed Souter, Dan Steinberg, Andy Swing, Mercedes Tan, Gregory Thorson, Bo Tian, Horia Toma, Erick Tuttle, Vijay Vasudevan, Richard Walter, Walter Wang, Eric Wilcox, and Doe Hyun Yoon. In-datacenter performance analysis of a tensor processing unit. In ISCA, 2017.
|
| 204 |
+
|
| 205 |
+
Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H. Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, Ryan Sepassi, George Tucker, and Henryk Michalewski. Model-based reinforcement learning for atari. arXiv, abs/1903.00374, 2019.
|
| 206 |
+
|
| 207 |
+
Nal Kalchbrenner, Aaron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex ¨ Graves, and Koray Kavukcuoglu. Video pixel networks. In ICML, 2016.
|
| 208 |
+
|
| 209 |
+
Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijaya- ˜ narasimhan, Fabio Viola, Tim Green, Trevor Back, Apostol Natsev, Mustafa Suleyman, and Andrew Zisserman. The kinetics human action video dataset. arXiv, abs/1705.06950, 2017.
|
| 210 |
+
|
| 211 |
+
Manoj Kumar, Mohammad Babaeizadeh, Dumitru Erhan, Chelsea Finn, Sergey Levine, Laurent Dinh, and Durk Kingma. Videoflow: A flow-based generative model for video. arXiv, abs/1903.01434, 2019.
|
| 212 |
+
|
| 213 |
+
Alex X. Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, and Sergey Levine. Stochastic adversarial video prediction. arXiv, abs/1804.01523, 2018.
|
| 214 |
+
|
| 215 |
+
Ziwei Liu, Raymond A Yeh, Xiaoou Tang, Yiming Liu, and Aseem Agarwala. Video frame synthesis using deep voxel flow. In ICCV, 2017.
|
| 216 |
+
|
| 217 |
+
Jiasen Lu, Caiming Xiong, Devi Parikh, and Richard Socher. Knowing when to look: Adaptive attention via a visual sentinel for image captioning. CVPR, 2017.
|
| 218 |
+
|
| 219 |
+
Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond ¨ mean square error. In ICLR, 2016.
|
| 220 |
+
|
| 221 |
+
Jacob Menick and Nal Kalchbrenner. Generating high fidelity images with subscale pixel networks and multidimensional upscaling. In ICLR, 2019.
|
| 222 |
+
|
| 223 |
+
Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In NIPS, 2015.
|
| 224 |
+
|
| 225 |
+
Ankur P. Parikh, Oscar Tackstr ¨ om, Dipanjan Das, and Jakob Uszkoreit. A decomposable attention ¨ model for natural language inference. In EMNLP, 2016.
|
| 226 |
+
|
| 227 |
+
Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, and Alexander Ku. Image transformer. In ICML, 2018.
|
| 228 |
+
|
| 229 |
+
Viorica Patr ˘ aucean, Ankur Handa, and Roberto Cipolla. Spatio-temporal video autoencoder with ˘ differentiable memory. In ICLR (Workshop track), 2016.
|
| 230 |
+
|
| 231 |
+
Scott Reed, Aaron van den Oord, Nal Kalchbrenner, Sergio G ¨ omez Colmenarejo, Ziyu Wang, Yutian ´ Chen, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. In ICML, 2017.
|
| 232 |
+
|
| 233 |
+
Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In ICML, 2015.
|
| 234 |
+
|
| 235 |
+
Mitchell Stern, Noam Shazeer, and Jakob Uszkoreit. Blockwise parallel decoding for deep autoregressive models. In NeurIPS, 2018.
|
| 236 |
+
|
| 237 |
+
Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop, coursera: Neural networks for machine learning. University of Toronto, Technical Report, 2012.
|
| 238 |
+
|
| 239 |
+
Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges. arXiv, abs/1812.01717, 2018.
|
| 240 |
+
|
| 241 |
+
Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Koray Kavukcuoglu, Oriol Vinyals, and ¨ Alex Graves. Conditional image generation with pixelcnn decoders. In NIPS, 2016a.
|
| 242 |
+
|
| 243 |
+
Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. ¨ In ICML, 2016b.
|
| 244 |
+
|
| 245 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017.
|
| 246 |
+
|
| 247 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In NIPS, 2016.
|
| 248 |
+
|
| 249 |
+
Jiheng Wang and Qiang Li. Video quality assessment using a statistical model of human visual speed perception. Journal of the Optical Society of America. A, Optics, image science, and vision, 24 12:B61–9, 2007.
|
| 250 |
+
|
| 251 |
+
Jiheng Wang, Ligang Lu, and Alan C. Bovik. Video quality assessment based on structural distortion measurement. Sig. Proc.: Image Comm., 19, 2004a.
|
| 252 |
+
|
| 253 |
+
Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli. Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4): 600–612, 2004b.
|
| 254 |
+
|
| 255 |
+
Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification. In ECCV, 2018.
|
| 256 |
+
|
| 257 |
+
SHI Xingjian, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-Kin Wong, and Wang-chun Woo. Convolutional lstm network: A machine learning approach for precipitation nowcasting. In NIPS, 2015.
|
| 258 |
+
|
| 259 |
+
Richard Zhang, Phillip Isola, Alexei Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018.
|
| 260 |
+
|
| 261 |
+

|
| 262 |
+
Figure 4: Samples (showing every 5th frame horizontally) illustrating occlusion effects on BAIR Robot Pushing. Models without temporal subscaling (rows 3-4) fail on occlusions, whereas the model with temporal subscaling (row 2) correctly maintains objects from the ground truth video (row 1). Notice the green ball deformation on rows 2 and 3 and the hallucinated green ball on the right edge of row 3, which are caused by missing temporal dependencies across the duration of occlusion.
|
| 263 |
+
|
| 264 |
+
Table 2: Moving MNIST. Nats per frame averaged across 10 subsequent frames when priming with 10 initial frames. Best results in bold. † The lower bound reported in (Kalchbrenner et al., 2016) is slightly higher than ours.
|
| 265 |
+
|
| 266 |
+
<table><tr><td>Models</td><td>Nats/Frame (↓)</td></tr><tr><td>Single Frame</td><td>86.2</td></tr><tr><td>Spatial Subscaling</td><td>91.8</td></tr><tr><td>Spatiotemporal Subscaling</td><td>90.0</td></tr><tr><td>VPN (Kalchbrenner et al., 2016)</td><td>87.6</td></tr><tr><td>Lower bound</td><td>85.1 (86.3)‡</td></tr></table>
|
| 267 |
+
|
| 268 |
+
# A FURTHER BENCHMARKS
|
| 269 |
+
|
| 270 |
+
# A.1 MOVING MNIST
|
| 271 |
+
|
| 272 |
+
Moving MNIST (Srivastava et al., 2015) consists of $1 0 0 \mathrm { K }$ training- and 10K validation/test videos of two handwritten digits from the MNIST benchmark that move deterministically across the frame, crossing each other and bouncing off the borders. The partial occlusion of crossing digits makes this dataset challenging. To be comparable with Kalchbrenner et al. (2016), we use the first ten frames as priming and predict the subsequent ten frames.
|
| 273 |
+
|
| 274 |
+
To allow direct comparison with Kalchbrenner et al. (2016), we change our loss to a “deterministic” loss (and derived nats-per-frame metric) which is defined as: $\begin{array} { r } { H ( \bar { z } , y ) = - \sum _ { i } z _ { i } \ln y _ { i } + ( 1 - } \end{array}$ $z _ { i } ) \ln ( 1 - y _ { i } )$ , where $z _ { i }$ are the gray-scale targets between 0.0 and 1.0, and $y _ { i }$ are the predicted scalar intensities.
|
| 275 |
+
|
| 276 |
+
From Table 2, we find that like Kalchbrenner et al. (2016) our single frame prediction model (i.e., no subscaling) virtually solves the task in the sense that it almost matches the lower bound of the loss. However, this is not true for our subscaling models. Employing spatial subscaling on this task gives aliasing artifacts that make it harder to predict future frames. Although this finding is limited to Moving MNIST, it suggests that spatial subscaling can potentially hurt generation.
|
| 277 |
+
|
| 278 |
+
Table 3: Ablation of hyper-parameter settings in terms of bits per dimension for models on 256 BAIR Robot Pushing validation videos. All models were primed on 1 frame and trained for 300K steps with a batch size of 64.
|
| 279 |
+
|
| 280 |
+
<table><tr><td colspan="2">Layers</td><td>Heads</td><td>Hidden size 1.65</td></tr><tr><td>4</td><td colspan="3">1.63 4 1.59 256</td></tr><tr><td>8</td><td colspan="3">1.55 8 1.55 512</td></tr><tr><td>16</td><td colspan="3">1.55 1.4816 1.51 1024 1.47</td></tr><tr><td>24</td><td colspan="3">1.4524 1.47 2048 1.40</td></tr></table>
|
| 281 |
+
|
| 282 |
+
# A.2 ROBOTIC PUSHING.
|
| 283 |
+
|
| 284 |
+
Robotic Pushing (Finn et al., 2016a) was used in prior work on autoregressive video generation (Kalchbrenner et al., 2016). The videos show a robotic arm pushing and grasping objects in a box and there are roughly 50K training videos and 1500 test videos with seen and novel objects, respectively. Following prior work, we use the initial two frames for priming and condition on the robot arm action for each frame as described in Section 3.2. We use the same setup as (Kalchbrenner et al., 2016) with videos of twenty frames down-sampled to 64x64 with a Lanczos filter and antialiasing.
|
| 285 |
+
|
| 286 |
+
We report results to compare with prior work on autoregressive video generation by Kalchbrenner et al. (2016), who achieve 0.92 bits/dim (0.64 nats/dim) with 2 frames of priming on each of the test splits (one with objects seen during training and one with novel objects). We trained a large (2048 dimensional) spatiotemporal subscaling model which achieves 0.51 bits/dim on the subset with seen objects and 0.47 bits/dim on the subset with new objects, which corresponds to an almost $50 \%$ reduction in perplexity.
|
| 287 |
+
|
| 288 |
+
# B HYPER-PARAMETER SWEEPS
|
| 289 |
+
|
| 290 |
+
Table 3 shows the impact of different architectural settings. We see that the hidden size has the biggest impact followed by the number of layers and heads. This is an interesting as well as important finding because increasing the hidden size (wider networks) requires more parallel compute which modern Deep Learning hardware excels at. Computation time grows sub-linear, memory linear and parameters partially quadratically. In contrast all of these aspects grow linearly with deep networks. For scaling up architectures depth is therefore not the preferred option as we suffer much more in terms of computation time while having less parameters.
|
| 291 |
+
|
| 292 |
+
In another experiment, we shuffle the arrangement of block sizes between layers and found that it did not really matter, that is, all results were within 0.01 bits/dim. However, our setup had the best overall performance.
|
| 293 |
+
|
| 294 |
+
Finally, we tried sampling temperature 0.9 and 1.0 only on the BAIR Robot Pushing validation set and found that temperature 0.9 consistently gave more robust predictions and better results on all extrinsic metrics.
|
| 295 |
+
|
| 296 |
+
# C CONNECTIVITY IN BLOCK-LOCAL SELF-ATTENTION
|
| 297 |
+
|
| 298 |
+
Blind Spots. Varying block sizes between layers in block-local self-attention can efficiently connect every pixel with every other pixel when no masking is employed. If masking is employed to respect the generation order (as in our slice decoder) block-local self attention produces “blind spots” which leads to independence assumptions. To exemplify these special cases, consider position $( 1 , 0 , 0 )$ , the top-left pixel of the second frame, and its direct predecessor in generation order $( 0 , h - 1 , w - 1 )$ , the bottom-right pixel of the first frame. The only way to establish a connection between these two positions is through a direct connection, because masking prevents any indirect connection. Thus, there has to be one layer in which both of these pixels are in the same block. This block must at least stretch over the entire extent of both width and height (i.e., the full frame) as well as at least 2 time steps. Running full self-attention in such blocks can easily become prohibitive for large $h$ and $w$ .
|
| 299 |
+
|
| 300 |
+
Remedies. There seems to be no simple solution that solves the problem of blind spots completely. However, we can make sure that local dependencies up to a certain distance are all covered by increasing the kernel size of the initial, masked convolution in the decoder. It is also possible to combine block-local self-attention with its dual form, dilated self-attention in $n$ dimensions which connects all pixels at the same relative position within their respective block with each other. Finally, we find that it is important to avoid blocks of small sizes in any dimension (e.g., 1). That means, even if we stretch a block to the full extent of one dimension it is important to define sizes at least larger than 1 on all other dimensions to limit the number of unconnected pixels.
|
| 301 |
+
|
| 302 |
+
On the other hand, the independence assumptions due to masking do not seem to produce any systematic, visible artifacts in our samples. We believe this to be an interesting finding by itself as it shows that there is potential for parallelizing autoregressive video generation by systematically exploring further independence assumptions.
|
| 303 |
+
|
| 304 |
+
# D ADDITIONAL FINDINGS
|
| 305 |
+
|
| 306 |
+
Below, we summarize some additional findings that may be of interest to some readers:
|
| 307 |
+
|
| 308 |
+
• We found that using blocks stretching across a single time-/row-/column- dimension, is substantially worse than using blocks that stretch at least to some extent in all directions. This is likely due to the fact that future masking in the decoder imposes strong independence assumptions in this case, as discussed in Appendix C. We found that RMSProp with momentum converges significantly faster than ADAM, which we tried with different learning rates and settings for $\beta _ { 1 }$ and $\beta _ { 2 }$ .
|
| 309 |
+
• We tried using continuous, rather than discretized one-hot, input channel representations, but this had an overall negative impact on both performance and sample quality.
|
| 310 |
+
• We experimented with a gating mechanism in Eq. 3, such that the attention matrix $A$ is masked elementwise with $( 1 - I )$ to allow for not attending to any element, similar to sentinel attention (Lu et al., 2017). However, this had no effect on generation quality.
|
| 311 |
+
|
| 312 |
+
# E KINETICS COOKING
|
| 313 |
+
|
| 314 |
+
We found that for many video-prefixes in Kinetics it is very hard for our model to predict continuations. For instance, main objects in the videos are too small or movement is too fast which results in very blurry frames or there is little to no movement at all. Figure 13 shows some examples. Therefore, we created a subset of cooking videos that we found to exhibit these problems to a lesser degree.
|
| 315 |
+
|
| 316 |
+
In particular we filtered videos whose label matched the following regular expression:
|
| 317 |
+
|
| 318 |
+
. $\star$ (baking|barbequing|breading|cooking|cutting|pancake|vegetables| meat|cake|sandwich|pizza|sushi|tea|peeling|fruit|eggs|salad).\*
|
| 319 |
+
|
| 320 |
+
Note that we still train on the full Kinetics training set and only use the cooking set to showcase samples in some cases.
|
| 321 |
+
|
| 322 |
+
# F SAMPLES
|
| 323 |
+
|
| 324 |
+
Figures 5-8 show samples from our spatiotemporal subscaling and large spatiotemporal subscaling models on BAIR Robot Pushing. Figures 5 and 6 illustrate the fidelity and realism of the generated samples, whereas Figures 7 and 8 illustrate the diversity of samples.
|
| 325 |
+
|
| 326 |
+
Figures 9-11 show samples from our spatiotemporal subscaling model on cooking videos for Kinetics-600, while Figure 12 depicts samples from the single frame model. In each case, we prime on 5 frames and sample the next 11 frames. Each figure shows 16 different samples from the same model. As can be seen, the model is able to generate diverse continuations while retaining fidelity. For the single frame model we observe strange color artifacts (exploding colors) which we attribute to the standard, raster-scan generation order of this model.
|
| 327 |
+
|
| 328 |
+

|
| 329 |
+
Figure 5: Samples of 30 future frames (showing every 4th frame) for 12 test videos with the spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing.
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
Figure 6: Samples of 30 future frames (showing every 4th frame) for 12 test videos with the large spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing.
|
| 333 |
+
|
| 334 |
+

|
| 335 |
+
Figure 7: 11 samples of 30 future frames (showing every 4th frame) for 1 test video (top row) with the spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing.
|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
Figure 8: 11 samples of 30 future frames (showing every 4th frame) for 1 test video (top row) with the large spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing.
|
| 339 |
+
|
| 340 |
+

|
| 341 |
+
Figure 9: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics.
|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
Figure 10: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics.
|
| 345 |
+
|
| 346 |
+

|
| 347 |
+
Figure 11: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics.
|
| 348 |
+
|
| 349 |
+

|
| 350 |
+
Figure 12: Samples of 11 future frames from the single frame model with 5 prime frames on 64x64 Kinetics exhibiting strange color artifacts.
|
| 351 |
+
|
| 352 |
+

|
| 353 |
+
Figure 13: Ground-truth (top) and 2 samples of 30 future frames (showing every 4th frame) demonstrating that random Kinetics videos do not always lend themselves as good prefixes for generating continuations.
|
parse/train/rJgsskrFwH/rJgsskrFwH_content_list.json
ADDED
|
@@ -0,0 +1,1823 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SCALING AUTOREGRESSIVE VIDEO MODELS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
714,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Dirk Weissenborn∗ Google Research diwe@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
145,
|
| 20 |
+
334,
|
| 21 |
+
188
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Oscar Tackstr¨ om¨ ∗† Sana Labs oscar@sanalabs.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
392,
|
| 30 |
+
143,
|
| 31 |
+
571,
|
| 32 |
+
186
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Jakob Uszkoreit Google Research usz@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
630,
|
| 41 |
+
145,
|
| 42 |
+
771,
|
| 43 |
+
188
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
452,
|
| 53 |
+
224,
|
| 54 |
+
544,
|
| 55 |
+
239
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Due to the statistical complexity of video, the high degree of inherent stochasticity, and the sheer amount of data, generating natural video remains a challenging task. State-of-the-art video generation models often attempt to address these issues by combining sometimes complex, usually video-specific neural network architectures, latent variable models, adversarial training and a range of other methods. Despite their often high complexity, these approaches still fall short of generating high quality video continuations outside of narrow domains and often struggle with fidelity. In contrast, we show that conceptually simple autoregressive video generation models based on a three-dimensional self-attention mechanism achieve competitive results across multiple metrics on popular benchmark datasets, for which they produce continuations of high fidelity and realism. We also present results from training our models on Kinetics, a large scale action recognition dataset comprised of YouTube videos exhibiting phenomena such as camera movement, complex object interactions and diverse human movement. While modeling these phenomena consistently remains elusive, we hope that our results, which include occasional realistic continuations encourage further research on comparatively complex, large scale datasets such as Kinetics. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
257,
|
| 65 |
+
764,
|
| 66 |
+
492
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
522,
|
| 77 |
+
334,
|
| 78 |
+
539
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Generative modeling of video holds promise for applications such as content creation, forecasting, transfer learning and model-based reinforcement learning (Srivastava et al., 2015; Carl Vondrick, 2016; Oh et al., 2015; Kaiser et al., 2019). While recently there has been a lot of progress on generative models for text, audio and images, video generation remains challenging. To some extent this is simply due to the large amount of data that needs to be produced. Autoregressive models suffer from this particularly in their generation speed. On the other hand, they have a number of desirable attributes, such as their conceptual simplicity and tractable likelihood, which enables straightforward evaluation of their ability to model the entire data distribution. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
555,
|
| 88 |
+
825,
|
| 89 |
+
666
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Moreover, recent results on image generation by Menick & Kalchbrenner (2019) show that pixellevel autoregressive models are capable of generating images with high fidelity. These findings motivate the question of how far one can push such autoregressive models in the more general task of video generation when scaling recent advances in neural architectures to modern hardware accelerators. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
674,
|
| 99 |
+
823,
|
| 100 |
+
743
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this work, we introduce a generalization of the Transformer architecture of Vaswani et al. (2017) using three-dimensional, block-local self-attention. In contrast to the block-local attention mechanism of Parmar et al. (2018), our formulation can be implemented efficiently on Tensor Processing Units, or TPUs (Jouppi et al., 2017). To further reduce the memory footprint, we combine this with a three-dimensional generalization of methods from Menick & Kalchbrenner (2019), who generate images as sequences of smaller, sub-scaled image slices. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
751,
|
| 110 |
+
823,
|
| 111 |
+
834
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Together, these techniques allow us to efficiently model videos as 3D volumes instead of sequences of still image frames, with direct interactions between representations of pixels across the spatial and temporal dimensions. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
176,
|
| 120 |
+
840,
|
| 121 |
+
823,
|
| 122 |
+
883
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "We obtain strong results on popular benchmarks (Section 4.2, Appendix A) and produce high fidelity video continuations on the BAIR robot pushing dataset (Ebert et al., 2017) exhibiting plausible object interactions. Furthermore, our model achieves an almost $50 \\%$ reduction in perplexity compared to prior work on autoregressive models on another robot pushing dataset. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
103,
|
| 132 |
+
823,
|
| 133 |
+
159
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Finally, we apply our models to down-sampled videos from the Kinetics-600 dataset (Carreira et al., 2018) (Section 4.3). While modeling the full range of Kinetics-600 videos still poses a major challenge, we see encouraging video continuations for a more limited subset, namely cooking videos. These feature camera movement, complex object interactions and still cover diverse subjects. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
166,
|
| 143 |
+
825,
|
| 144 |
+
222
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "We hope that these initial results will encourage future video generation work to evaluate models on more challenging datasets such as Kinetics. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
229,
|
| 154 |
+
821,
|
| 155 |
+
257
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "2 RELATED WORK ",
|
| 162 |
+
"text_level": 1,
|
| 163 |
+
"bbox": [
|
| 164 |
+
176,
|
| 165 |
+
282,
|
| 166 |
+
344,
|
| 167 |
+
299
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Our setup is closely related to that of Kalchbrenner et al. (2016), who extend work on pixel-level autoregressive image generation (van den Oord et al., 2016b;a) to videos. However, whereas they model the temporal and spatial dimensions separately with dilated convolutions and convolutional LSTMs, respectively, our model is conceptually simpler in that we do not make any distinction between temporal and spatial dimensions and instead rely almost entirely on multi-head self-attention (Vaswani et al., 2017) within the 3D video volume. For comparability, we provide results on Moving MNIST and another robot pushing dataset (Finn et al., 2016a) on which our model achieves an almost $50 \\%$ reduction in perplexity (see Appendix A). ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
318,
|
| 177 |
+
825,
|
| 178 |
+
429
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "One major drawback of autoregressive models is their notoriously slow generation speed. However, we believe that further research into (partially) parallelizing sampling (Stern et al., 2018) and future hardware accelerators will help alleviate this issue and eventually make autoregressive modeling a viable solution even for extremely high-dimensional data such as videos. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
176,
|
| 187 |
+
436,
|
| 188 |
+
825,
|
| 189 |
+
492
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "To reduce the generally quadratic space complexity of the self-attention mechanism, we use blocklocal self-attention, generalizing the image generation approaches of Parmar et al. (2018) and Chen et al. (2018) to 3D volumes. In concurrent work, Child et al. (2019) instead use sparse attention after linearizing images to a sequence of pixels. ",
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
498,
|
| 199 |
+
825,
|
| 200 |
+
555
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "To further reduce memory requirements, we generalize sub-scaling (Menick & Kalchbrenner, 2019) to video. An alternative approach is optionally hierarchical multi-scale generation, which has recently been explored for both image generation (Reed et al., 2017; De Fauw et al., 2019) as well as video generation (Mathieu et al., 2016). ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
176,
|
| 209 |
+
563,
|
| 210 |
+
823,
|
| 211 |
+
617
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "Earlier work on video generation mostly focused on deterministic approaches (Srivastava et al., 2015; Carl Vondrick, 2016; Xingjian et al., 2015; Liu et al., 2017; Jia et al., 2016), which fail to capture the high degree of stochasticity inherent in video. In response, a popular research direction has been that of generative latent-variable video models. In contrast to pixel-level autoregressive models, these posit an underlying latent process in tandem with the observed pixel values. Work in this category includes variants of variational autoencoders (Babaeizadeh et al., 2018; Denton & Fergus, 2018). To address the issues inherent in these models, most notably the tendency to generate blurry outputs possibly due to restricted modeling power, inadequate prior distributions, or optimization of a lower bound in place of the true likelihood, various directions have been explored, including the use of adversarial objectives (Mathieu et al., 2016; Vondrick et al., 2016; Lee et al., 2018), hierarchical latent-variables (Castrejon et al., 2019), or flow-based models (Kumar et al., ´ 2019). All of these approaches admit significantly faster generation. However, in the adversarial case, they tend to only focus on a subset of the modes in the empirical distribution while flowbased models struggle with limited modeling power even when using a large number of layers and parameters. ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
174,
|
| 220 |
+
625,
|
| 221 |
+
825,
|
| 222 |
+
833
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "A large fraction of earlier work on video generation has encoded specific intuitions about videos, such as explicit modeling of motion (Finn et al., 2016b; Denton & Fergus, 2018) or generation of optical flow (Patr ˘ aucean et al., 2016). The conceptual simplicity of our model, however, is more in ˘ line with recent approaches to video classification that process videos by means of 3D convolutions (Carreira & Zisserman, 2017; Xie et al., 2018) or, similar to this work, spatiotemporal self-attention (Girdhar et al., 2018). ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
174,
|
| 231 |
+
840,
|
| 232 |
+
825,
|
| 233 |
+
924
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "image",
|
| 239 |
+
"img_path": "images/fbd6814863fa9732b13133acc7273c882206a5ec97702b30f61c6560843ebffc.jpg",
|
| 240 |
+
"image_caption": [
|
| 241 |
+
"Figure 1: Top: Illustration of the subscale video transformer architecture and process flow. We incrementally generate $s = 4 \\cdot 2 \\cdot 2 = 1 6$ video slices. The video slices and their respective generation order are derived from subscaling. In each iteration, we first process the partially padded video (illustrated for slice index $( 1 , 0 , 1 )$ , black means padding and gray means already generated or visible) by an encoder, the output of which is used as conditioning for decoding the current video slice. After generating a slice we replace the respective padding in the video with the generated output and repeat the process for the next slice. Bottom: Subscaling in 3D (best viewed in color). The 3D volume is evenly divided by a given subscale factor, here $\\textbf { \\textit { s } } = \\ ( 4 , 2 , 2 )$ , and the respective slices are extracted. The whole volume is generated by incrementally predicting the individual, much smaller slices, starting at slice ${ \\pmb x } _ { ( 0 , 0 , 0 ) }$ (yellow), followed by ${ \\pmb x } _ { ( 0 , 0 , 1 ) }$ (green), $\\pmb { x } _ { ( 0 , 1 , 0 ) }$ (red), etc., in rasterscan order. "
|
| 242 |
+
],
|
| 243 |
+
"image_footnote": [],
|
| 244 |
+
"bbox": [
|
| 245 |
+
186,
|
| 246 |
+
102,
|
| 247 |
+
565,
|
| 248 |
+
420
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "3 VIDEO TRANSFORMER ",
|
| 255 |
+
"text_level": 1,
|
| 256 |
+
"bbox": [
|
| 257 |
+
176,
|
| 258 |
+
469,
|
| 259 |
+
397,
|
| 260 |
+
484
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "We generalize the one-dimensional Transformer (Vaswani et al., 2017) to explicitly model videos represented as three-dimensional spatiotemporal volumes, without resorting to sequential linearization of the positions in the volume (Child et al., 2019). This allows for maintaining spatial neighborhoods around positions, which is important as the large number of individual positions to be predicted in a video requires limiting the receptive field of the self-attention mechanism to a neighborhood around every position to avoid the quadratic blow-up in memory consumption of naive fully-connected attention. ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
173,
|
| 269 |
+
501,
|
| 270 |
+
825,
|
| 271 |
+
599
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "We model the distribution $p ( { \\pmb x } )$ over videos $\\pmb { x } \\in \\mathbb { R } ^ { T \\times H \\times W \\times N _ { c } }$ — with time, height, width and channel dimensions, respectively — by means of a pixel-channel level autoregressive factorization.1 That is, the joint distribution over pixels is factorized into a product of channel intensities for all $N _ { c }$ channels, for each of the $N _ { p } = T \\cdot H \\cdot W$ pixels, with respect to an ordering $\\pi$ over pixels: ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
174,
|
| 280 |
+
604,
|
| 281 |
+
825,
|
| 282 |
+
662
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "equation",
|
| 288 |
+
"img_path": "images/fa7c1edf488c479a89c2b21deb0c5bff0e2eba16501d14401e46d4be0063eebe.jpg",
|
| 289 |
+
"text": "$$\np ( \\pmb { x } ) = \\prod _ { i = 0 } ^ { N _ { p } - 1 } \\prod _ { k = 0 } ^ { N _ { c } - 1 } p ( \\pmb { x } _ { \\pi ( i ) } ^ { k } | \\pmb { x } _ { \\pi ( < i ) } , \\pmb { x } _ { \\pi ( i ) } ^ { < k } ) .\n$$",
|
| 290 |
+
"text_format": "latex",
|
| 291 |
+
"bbox": [
|
| 292 |
+
356,
|
| 293 |
+
671,
|
| 294 |
+
640,
|
| 295 |
+
718
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "The ordering $\\pi$ is given by a combination of a subscale- and raster-scan ordering, as detailed in 3.2. ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
171,
|
| 304 |
+
724,
|
| 305 |
+
823,
|
| 306 |
+
739
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "3.1 BLOCK-LOCAL SELF-ATTENTION ",
|
| 313 |
+
"text_level": 1,
|
| 314 |
+
"bbox": [
|
| 315 |
+
176,
|
| 316 |
+
757,
|
| 317 |
+
446,
|
| 318 |
+
772
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "The attention mechanism of the original Transformer lets each element in a set of $N _ { p }$ elements connect to every other element, via the fully-connected weighted adjacency (attention) matrix $A \\in$ $\\mathbb { R } ^ { N _ { p } \\times N _ { p } }$ , with $A _ { i j }$ representing attention weights from element $i$ to element $j$ . Because $A$ grows quadratically with the number of elements it becomes prohibitively large for objects such as videos, which typically consist of hundreds of thousands of pixels or more. Therefore, similar in spirit to Parmar et al. (2018), we propose to use local self-attention by dividing a video into much smaller non-overlapping sub-volumes, or $3 D$ blocks. We then apply self-attention separately within each block. This approach is conceptually simple and amenable to highly efficient implementation on ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
174,
|
| 327 |
+
784,
|
| 328 |
+
825,
|
| 329 |
+
897
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 2
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "TPUs, which enables us to scale our models substantially while maintaining a comparatively high training speed with only a modest sacrifice in expressive power. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
171,
|
| 338 |
+
103,
|
| 339 |
+
823,
|
| 340 |
+
132
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "The Video Transformer consists of multiple stacked self-attention layers. Each layer divides the overall video volume of shape $( T , H , W )$ into smaller blocks of shape $( t , h , w )$ of length $n _ { p } = t \\cdot h$ · $w$ , and performs attention within each block independently. Given a (flattened) block representation $z \\in \\mathbb { R } ^ { n _ { p } \\times d }$ of hidden size $d$ as input, this amounts to: ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
138,
|
| 350 |
+
825,
|
| 351 |
+
194
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"img_path": "images/0e4d9a84f0de966e8ce762ebeb244d53463883d307cb8905346f089887d9062d.jpg",
|
| 358 |
+
"text": "$$\n\\begin{array} { r l r } & { [ \\boldsymbol { q } , \\boldsymbol { k } , \\boldsymbol { v } ] = \\mathrm { l a y e r n o r m } ( \\boldsymbol { z } ) W _ { q k v } \\quad } & { \\boldsymbol { q } , \\boldsymbol { k } , \\boldsymbol { v } \\in \\mathbb { R } ^ { n _ { p } \\times d _ { a } } , W _ { q k v } \\in \\mathbb { R } ^ { d \\times 3 d _ { a } } , } \\\\ & { \\qquad \\boldsymbol { A } = \\mathrm { s o f t m a x } \\left( \\boldsymbol { q } \\boldsymbol { k } ^ { \\top } / \\sqrt { d _ { a } } + \\boldsymbol { B } \\right) \\quad } & { \\boldsymbol { A } , \\boldsymbol { B } \\in \\mathbb { R } ^ { n _ { p } \\times n _ { p } } , } \\\\ & { \\mathrm { a t t e n t i o n } ( \\boldsymbol { z } ) = \\boldsymbol { A } \\boldsymbol { v } . } \\end{array}\n$$",
|
| 359 |
+
"text_format": "latex",
|
| 360 |
+
"bbox": [
|
| 361 |
+
214,
|
| 362 |
+
200,
|
| 363 |
+
784,
|
| 364 |
+
267
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "The input is first projected to query, key and value representations (Eq. 2). The attention matrix $A$ is then formed as the scaled dot-product between all query-key pairs adding a relative position bias $B$ (Parikh et al., 2016) (Eq. 3). The bias $B _ { i j }$ is defined as the sum of per-dimension relative distance biases between element $i$ and $j$ , along each of the time- and spatial dimensions. Finally, the values are aggregated with respect to the attention weights (Eq. 4). ",
|
| 371 |
+
"bbox": [
|
| 372 |
+
173,
|
| 373 |
+
270,
|
| 374 |
+
825,
|
| 375 |
+
342
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "Following Vaswani et al. (2017), we concatenate the output of $n _ { a }$ parallel attention heads in each layer and project the result by a linear transformation (Eq. 5) before applying a residual connection. Finally, the output of the multi-head self-attention layer is passed through another dense layer with ReLU activation, followed by a final linear transformation and a residual connection (Eq. 6): ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
173,
|
| 384 |
+
347,
|
| 385 |
+
825,
|
| 386 |
+
404
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "equation",
|
| 392 |
+
"img_path": "images/a75855ee33193d2034da69648d4422abde6ff9d6dd7fb3799ff4f76c43ffaeeb.jpg",
|
| 393 |
+
"text": "$$\n\\begin{array} { r l r } & { \\tilde { z } = [ \\mathrm { a t t e n t i o n } _ { 1 } ( z ) ; \\cdots ; \\mathrm { a t t e n t i o n } _ { n _ { a } } ( z ) ] W _ { p } + z \\qquad } & { \\quad } & { W _ { p } \\in \\mathbb { R } ^ { ( n _ { a } \\cdot d _ { a } ) \\times d } , } \\\\ & { z ^ { \\prime } = \\mathrm { r e l u } ( \\mathrm { l a y e r n o r m } ( \\tilde { z } ) T _ { 1 } ) T _ { 2 } + \\tilde { z } } & { \\quad } & { T _ { 1 } , T _ { 2 } \\in \\mathbb { R } ^ { d \\times d } , } \\end{array}\n$$",
|
| 394 |
+
"text_format": "latex",
|
| 395 |
+
"bbox": [
|
| 396 |
+
236,
|
| 397 |
+
409,
|
| 398 |
+
759,
|
| 399 |
+
450
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 3
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "where overloading notation, attention $( z )$ denotes the blockwise application of self-attention to $_ { z }$ . Similar to Baevski & Auli (2019), we found that applying layer normalization before each block, rather than after each block as proposed by Vaswani et al. (2017), improves training. ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
176,
|
| 408 |
+
454,
|
| 409 |
+
826,
|
| 410 |
+
497
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "Connectivity. Operating on 3D sub-volumes (blocks) of videos means that there is no direct information exchange between blocks. However, this can be addressed by varying the block sizes between each layer. To achieve this, we define blocks that stretch over the entire extent of at least a single dimension in each layer. Following this procedure, we can effectively connect all pixel positions in the encoder, but due to masking some dependencies are missed in the decoder. However, in our experiments these did not produce any visible, systematic artifacts. We discuss missing dependencies and potential remedies in Appendix C. ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
173,
|
| 419 |
+
502,
|
| 420 |
+
825,
|
| 421 |
+
602
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "Efficiency. Running block-local self-attention is very efficient in practice as the cost of splitting videos into blocks is negligible. The approach of Parmar et al. (2018) uses overlapping 2D image blocks in each layer. We found this prohibitive as the required data copying is comparatively expensive. To avoid the need for overlaps to connect pixels across blocks, we simply vary block sizes between layers, which is highly efficient and, as our results show, works well in practice. ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
174,
|
| 430 |
+
607,
|
| 431 |
+
825,
|
| 432 |
+
678
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 3
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "3.2 SPATIOTEMPORAL SUBSCALING ",
|
| 439 |
+
"text_level": 1,
|
| 440 |
+
"bbox": [
|
| 441 |
+
176,
|
| 442 |
+
694,
|
| 443 |
+
434,
|
| 444 |
+
708
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 3
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "Menick & Kalchbrenner (2019) recently proposed generating images as a sequence of subscaled image slices. We similarly define a subscale factor $\\boldsymbol { s } = \\left( s _ { t } , s _ { h } , s _ { w } \\right)$ which divides a video into $s = \\overline { { ( \\boldsymbol { s } _ { t } \\cdot \\boldsymbol { s } _ { h } \\cdot \\boldsymbol { s } _ { w } ) } }$ sub-sampled videos (slices), each of resolution $( T / s _ { t } , H / s _ { h } , W / s _ { w } )$ , as depicted in the bottom part of Figure 1. The slices are generated in order according to their respective offsets, such that we first generate slice $\\pmb { x } _ { ( 0 , 0 , 0 ) }$ , then $\\pmb { x } _ { ( 0 , 0 , 1 ) }$ , up until slice $\\pmb { x } _ { ( s _ { t } - 1 , s _ { h } - 1 , s _ { w } - 1 ) }$ . Generating all slices one at a time in this way drastically reduces the number of pixels in memory to $N _ { p } / s$ , which enables scaling our architectures by a factor of $s$ . Each slice is internally generated according to the raster-scan order. In the following we explain how slices are generated and how they are conditioned on already decoded slices. An overview is illustrated in the upper part of Figure 1. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
719,
|
| 454 |
+
825,
|
| 455 |
+
847
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 3
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "Slice Encoder. The current slice $\\pmb { x } _ { ( a , b , c ) }$ is generated conditioned on the encoded pixels from preceding slices as follows. First, we create a partially masked video, where only the pixels of preceding slices $\\pmb { x } _ { < ( a , b , c ) }$ are visible. The partially masked video is then embedded by concatenating the onehot encoding of the discretized pixel intensities of each channel. Subsequently, a 3D convolution with kernel size $\\pmb { k } = ( k _ { 1 } , k _ { 2 } , k _ { 3 } )$ and stride $\\pmb { s }$ (the sub-scaling factor) results in an encoded video of resolution $( T / s _ { t } , H / s _ { h } , W / s _ { w } )$ . We apply convolution padding depending on the current slice index $( a , b , c )$ . In particular, we pad with $( \\lfloor k _ { 1 } / 2 \\rfloor - a , \\lfloor k _ { 2 } / 2 \\rfloor - b , \\lfloor k _ { 3 } / 2 \\rfloor - c )$ , which “centers” the convolution kernel on the pixels of the current slice. Finally, we add positional embeddings for each axis, as well as embeddings for the current slice index $( a , b , c )$ , to the output of this strided convolution. The result is an initial encoder representation $\\begin{array} { r } { z _ { ( a , b , c ) } ^ { 0 } \\in \\mathbb { R } ^ { T / s _ { t } \\times H / s _ { h } \\times W / s _ { w } \\times d _ { e } } } \\end{array}$ , where $d _ { e }$ is the embedding size. We can optionally condition on auxiliary information, such as per-frame action values of a robot arm, by concatenating this information to the initial encoder representation. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
174,
|
| 464 |
+
854,
|
| 465 |
+
823,
|
| 466 |
+
924
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "",
|
| 473 |
+
"bbox": [
|
| 474 |
+
173,
|
| 475 |
+
102,
|
| 476 |
+
825,
|
| 477 |
+
205
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "This representation is further transformed by a linear projection to hidden size $d$ , before being fed as input to a stack of terized by a different $L$ block-local self-attention layers as described in ock size and number of attention heads. The res $\\ S 3 . 1$ . Each lg output $\\dot { z } _ { ( a , b , c ) } ^ { L }$ arame-is used as conditional input to the subscale slice decoder, which generates the pixels of the current slice $( a , b , c )$ . ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
174,
|
| 486 |
+
212,
|
| 487 |
+
825,
|
| 488 |
+
285
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Slice Decoder. The pixel values of the current slice $\\pmb { x } _ { ( a , b , c ) }$ are predicted conditioned on the encoder representation $z _ { ( a , b , c ) } ^ { L }$ . The decoder is almost identical to the encoder in structure, except for the use of masking in the decoder as defined by the generation order. First, we embed $\\pmb { x } _ { ( a , b , c ) }$ by summing $N _ { c }$ channel embeddings of size $d _ { e }$ at every pixel, before applying a $3 \\mathrm { x } 3 \\mathrm { x } 3 $ masked convolution (van den Oord et al., 2016a) on the embedded pixels, effectively representing each pixel by its already generated, immediate neighbors. Similar to the encoder, we add positional embeddings for the space- and time dimensions to the ouresults in an initial decoder representation $\\mathbf { \\dot { y } } _ { ( a , b , c ) } ^ { 0 } \\in \\mathbb { R } ^ { T / s _ { t } \\times H / s _ { h } \\times W / s _ { w } \\times d }$ As in the encoder, this. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
173,
|
| 497 |
+
290,
|
| 498 |
+
825,
|
| 499 |
+
411
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "To condition on the encoder state, a linear projection of $z _ { ( a , b , c ) } ^ { L }$ is added to $\\pmb { y } _ { ( a , b , c ) } ^ { 0 }$ and the resulting representation is fed through a stack of block-local self-attention layers, with masking, to produce a state $\\pmb { y } _ { ( a , b , c ) } ^ { L }$ on which the final channel predictions are conditioned. ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
174,
|
| 508 |
+
419,
|
| 509 |
+
825,
|
| 510 |
+
465
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "3.3 CHANNEL PREDICTION & LOSS FUNCTION. ",
|
| 517 |
+
"text_level": 1,
|
| 518 |
+
"bbox": [
|
| 519 |
+
178,
|
| 520 |
+
491,
|
| 521 |
+
516,
|
| 522 |
+
506
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "The per-pixel channel intensities $\\pmb { x } _ { ( a , b , c ) } ^ { k }$ (we omit the slice index $( a , b , c )$ in the following) for each channel $k \\ < \\ N _ { c }$ are predicted by MLPs with a single hidden layer (Eq. 8), conditioned on the flattened final decoder state $\\pmb { y } ^ { L } \\in \\mathbb { R } ^ { n _ { p } \\times d }$ — which is itself conditioned on $z _ { ( a , b , c ) } ^ { L }$ and hence on prior slices $\\pmb { x } _ { < ( a , b , c ) }$ — as well as the preceding channels $( { \\pmb x } ^ { j } ) _ { j = 1 \\dots k - 1 }$ for each pixel, encoded as one-hot vectors. Finally, the per video slice loss is defined as the negative log-likelihood as in Eq. 9: ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
173,
|
| 531 |
+
520,
|
| 532 |
+
825,
|
| 533 |
+
598
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "equation",
|
| 539 |
+
"img_path": "images/f0dddf7079e4b267f08f1f66ce8c0590caf97f3d5551079aac775507d819cc7a.jpg",
|
| 540 |
+
"text": "$$\n\\begin{array} { r l r } & { \\boldsymbol { u } ^ { k } = \\left[ \\mathrm { l a y e r n o r m } \\left( \\boldsymbol { y } ^ { L } \\right) ; \\mathrm { o n e h o t } \\left( \\boldsymbol { x } ^ { 1 } \\right) ; \\cdots ; \\mathrm { o n e h o t } \\left( \\boldsymbol { x } ^ { k - 1 } \\right) \\right] \\boldsymbol { U } _ { k } , } & \\\\ & { p \\left( x _ { i } ^ { k } | \\boldsymbol { x } _ { i } ^ { < k } , \\boldsymbol { x } _ { < i } \\right) = \\mathrm { s o f t m a x } \\left( \\mathrm { r e l u } ( \\boldsymbol { u } _ { i } ^ { k } ) \\boldsymbol { P } \\right) , } & { \\boldsymbol { P } \\in \\mathbb { R } ^ { d \\times N _ { v } } , \\quad \\boldsymbol { U } _ { k } \\in \\mathbb { R } ^ { ( d + ( k - 1 ) \\cdot N _ { v } ) \\times d } , } \\\\ & { \\boldsymbol { \\mathcal { L } } ( \\boldsymbol { x } ) = - \\displaystyle \\sum _ { i = 0 } ^ { n _ { p } - 1 } \\sum _ { k = 0 } ^ { N _ { c } - 1 } \\ln p ( x _ { i } ^ { k } | \\boldsymbol { x } _ { i } ^ { < k } , \\boldsymbol { x } _ { < i } ) . } & \\end{array}\n$$",
|
| 541 |
+
"text_format": "latex",
|
| 542 |
+
"bbox": [
|
| 543 |
+
186,
|
| 544 |
+
609,
|
| 545 |
+
789,
|
| 546 |
+
699
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "We found that splitting the color channel values of the videos into coarse and fine bits helps slightly in terms of performance. Specifically, we split the $3 \\times 8$ -bit RGB channels into $6 \\times 4$ -bit channels ( $N _ { c } = 6$ , $N _ { v } = 1 6$ ), such that the coarse bits of all three channels are predicted before the fine bits. Furthermore, splitting channels this way at the input level considerably lowers memory footprint when encoding videos as onehot vectors on TPUs. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
718,
|
| 556 |
+
825,
|
| 557 |
+
789
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 4
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "4 EXPERIMENTS ",
|
| 564 |
+
"text_level": 1,
|
| 565 |
+
"bbox": [
|
| 566 |
+
174,
|
| 567 |
+
818,
|
| 568 |
+
326,
|
| 569 |
+
833
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "Below, we provide details on the model variants considered, our training setup and the evaluation metrics used. We focus our evaluation on the BAIR Robot Pushing and Kinetics datasets. Additional results on Moving MNIST and another robot pushing dataset are provided in Appendix A for reference. Sample videos strips of each model and dataset can be found in Appendix F and sample videos at https://bit.ly/2Zb017f. ",
|
| 576 |
+
"bbox": [
|
| 577 |
+
174,
|
| 578 |
+
853,
|
| 579 |
+
823,
|
| 580 |
+
924
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 4
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "4.1 MODELS & SETUP ",
|
| 587 |
+
"text_level": 1,
|
| 588 |
+
"bbox": [
|
| 589 |
+
174,
|
| 590 |
+
103,
|
| 591 |
+
343,
|
| 592 |
+
117
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 5
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Unless specified otherwise, we model video slices of 4 frames with a spatial resolution of $3 2 \\mathbf { x } 3 2$ . Both the encoder and decoder consist of 8 layers and have a nearly identical structure, except for the use of masking in the decoder, as described in Section 3.2. We apply block-local self-attention with the following block sizes $( t , h , w )$ . Layers 1-4: (4, 8, 4); (4, 4, 8); (1, 32, 4); and (1, 4, 32). Intuitively, layers 1 and 2 are responsible for gathering temporal information whereas layers 3 and 4 gather spatial information of the entire frame. Layer 3 has access to the entire height and layer 4 to the entire width of a frame. The remaining 4 layers have the same block sizes, but in reverse order. However, as discussed in Appendix B, this particular choice of block size ordering is not crucial. There are $n _ { a } = 8$ attention heads, each with hidden size $d _ { a } = 1 2 8$ . Our base models are trained with embedding size $d _ { e } = 1 2 8$ and hidden size of $d = 5 1 2$ (46M parameters). Based on ablations in Appendix B, we observed that increasing the hidden dimension is preferable to using deeper networks. Hence, we increase the hidden size to $d = 2 0 4 8$ and use $n _ { a } = 1 6$ instead of 8 heads for the last 4 encoder/decoder layers in our large models (373M parameters). ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
173,
|
| 601 |
+
137,
|
| 602 |
+
825,
|
| 603 |
+
318
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Models. To assess the effect of subscaling, we explore the following variants. These differ mainly in the subscaling factor $\\pmb { s }$ as well as the context kernel size $\\boldsymbol { k }$ , defaulting to $k = s$ : ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
324,
|
| 613 |
+
820,
|
| 614 |
+
352
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Spatiotemporal Subscaling. The subscale video transformer with full spatiotemporal subscaling applies subscaling in every dimension. For instance, a $1 6 \\mathrm { x } 6 4 \\mathrm { x } 6 4$ video is subscaled by factors $s = ( 4 , 2 , 2 )$ to 16 slices of $4 \\mathbf { x } 3 2 \\mathbf { x } 3 2$ . ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
359,
|
| 624 |
+
825,
|
| 625 |
+
401
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Spatial Subscaling. This model uses no temporal subscaling and only subscales individual frames to a resolution of $3 2 \\mathbf { x } 3 2$ . For instance, a $4 \\mathrm { x } 6 4 \\mathrm { x } 6 4$ video is subscaled by factors $s = ( 1 , 2 , 2 )$ to 4 slices of $4 \\mathbf { x } 3 2 \\mathbf { x } 3 2$ . ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
409,
|
| 635 |
+
825,
|
| 636 |
+
450
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "Single Frame. This model uses no subscaling. Instead, we here model an entire single frame at a time, conditioned only on the previous three frames to limit memory consumption. The model uses no actual subscaling. Instead, one can imagine a $1 6 \\mathrm { x } 6 4 \\mathrm { x } 6 4$ video to be subscaled by factors $\\pmb { s } = ( 1 6 , 1 , 1 )$ to 16 slices of $1 \\mathrm { x } 6 4 \\mathrm { x } 6 4$ frames. The context kernel size is $\\pmb { k } = ( 6 , 1 , 1 )$ which means that we merely condition on a context of 3 past frames, as the current and future frames are always masked when the temporal subscaling factor equals the full video length. Self-attention blocks are adapted as follows: Layers 1-4: (1, 8, 16); (1, 16, 8); (1, 2, 64); (1, 64, 2). For the remaining 4 layers we use the same blocks, again in reverse order. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
457,
|
| 646 |
+
823,
|
| 647 |
+
569
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Training. All models are trained with RMSProp (Tieleman & Hinton, 2012) with a fixed learning rate of $2 \\cdot 1 0 ^ { - 5 }$ , decay of 0.95 and momentum of 0.9. We use a batch size of 64 video slices, if not stated otherwise, and shuffle the slices to avoid having all slices in a batch correspond to the same video. The smaller models are trained for 300K steps and the larger ones for 1M steps. No explicit regularization is applied as we could not observe any form of over-fitting. Videos longer than the training resolution are cropped randomly in time to the defined training length. If not stated otherwise, models are conditioned on the first frame during training, which is achieved by masking the loss corresponding to this frame. In preliminary experiments, this gave a minor improvement over computing the training loss across all frames. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
173,
|
| 656 |
+
575,
|
| 657 |
+
825,
|
| 658 |
+
702
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Intrinsic Evaluation. Most results are reported as bits per dimension (bits/dim), the average negative $\\log _ { 2 }$ -probability assigned by the model per (RGB) channel, averaged across all pixels in the video. This corresponds directly to the loss optimized by the model. In all experiments, we condition (prime) on a specified number of initial frames. The log-probabilities corresponding to these frames are excluded from this average. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
708,
|
| 668 |
+
823,
|
| 669 |
+
777
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Extrinsic Evaluation. Prior work mainly reported results on the peak signal-to-noise ratio (PSNR) and mean-structural similarity (SSIM) metrics (Wang et al., 2004b). However, these metrics were developed for images and have serious flaws when applied to videos (Wang et al., $2 0 0 4 \\mathrm { a }$ ; Wang & Li, 2007; Zhang et al., 2018; Lee et al., 2018). Conceptually, PSNR has a strong preference for blurry videos as it is based on pixel-level mean squared error. Similarly, SSIM does not correlate well with perceptual quality either. For instance, variational autoencoders show very strong performance on this metric despite producing blurry videos (Lee et al., 2018). Hence, we focus on the Frechet Video ´ Distance (FVD), which was recently proposed by Unterthiner et al. (2018) as a qualitative metric sensitive to visual quality, temporal coherence and diversity of samples. This is the spatiotemporal counterpart to the Frechet Inception Distance (Heusel et al., 2017), replacing the ImageNet-trained ´ ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
785,
|
| 679 |
+
825,
|
| 680 |
+
924
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 5
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "table",
|
| 686 |
+
"img_path": "images/745add292a8c724b3174cc28b1b7b8e961f03659a9ea69bf4a85570638b276f2.jpg",
|
| 687 |
+
"table_caption": [
|
| 688 |
+
"Table 1: Quantitative results on BAIR Robot Pushing (left) and Kinetics (right). "
|
| 689 |
+
],
|
| 690 |
+
"table_footnote": [
|
| 691 |
+
"(a) BAIR Robot Pushing. Bits/dim averaged across 15 subsequent frames when priming with 1 initial frame, FVD and unrolled average FVD scores. Best results in bold. $^ { \\dagger }$ Results from Unterthiner et al. (2018). ‡ Results are not strictly comparable (see text for details). [1] Babaeizadeh et al. (2018), [2] Lee et al. (2018), [3] Kumar et al. (2019). "
|
| 692 |
+
],
|
| 693 |
+
"table_body": "<table><tr><td>Models</td><td>Bits/dim</td><td>FVD</td><td>FVD (Avg)</td></tr><tr><td>Single Frame</td><td>1.49</td><td>104±4</td><td>99±2</td></tr><tr><td>Spatial Sub.</td><td>1.57</td><td>111±4</td><td>108±1</td></tr><tr><td>Spatiotemp. Sub.</td><td>1.53</td><td>106±3</td><td>106±2</td></tr><tr><td>Spatiotemp. Sub. (L)</td><td>1.35</td><td>94±2</td><td>96±2</td></tr><tr><td>SV2P[1]+</td><td>1</td><td>263</td><td>1</td></tr><tr><td>SAVP [2]t</td><td>1</td><td>116t</td><td></td></tr><tr><td>VideoFlow [3]</td><td>1.87</td><td>1</td><td></td></tr></table>",
|
| 694 |
+
"bbox": [
|
| 695 |
+
178,
|
| 696 |
+
127,
|
| 697 |
+
482,
|
| 698 |
+
239
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 6
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "table",
|
| 704 |
+
"img_path": "images/31287c21cccf7bcc50ec19f38dc9df70e1d5d6fc768cbac1642ebe4be7c107c8.jpg",
|
| 705 |
+
"table_caption": [],
|
| 706 |
+
"table_footnote": [
|
| 707 |
+
"(b) Kinetics. Bits/dim averaged across 15 subsequent frames when priming with 1 initial frame, FVD and unrolled average FVD scores when priming with 5 frames. Best results in bold. "
|
| 708 |
+
],
|
| 709 |
+
"table_body": "<table><tr><td>Models</td><td>Bits/dim</td><td>FVD</td><td>FVD (Avg)</td></tr><tr><td>Single Frame</td><td>1.40</td><td>243±6</td><td>413±11</td></tr><tr><td>Spatial Sub.</td><td>1.47</td><td>263±6</td><td>450±15</td></tr><tr><td>Spatiotemp. Sub.</td><td>1.49</td><td>195±7</td><td>375±11</td></tr><tr><td>Single frame (L)</td><td>1.14</td><td>207±8</td><td>353±13</td></tr><tr><td>Spatiotemp. Sub. (L)</td><td>1.19</td><td>170±5</td><td>316±12</td></tr></table>",
|
| 710 |
+
"bbox": [
|
| 711 |
+
514,
|
| 712 |
+
142,
|
| 713 |
+
818,
|
| 714 |
+
224
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Inception network of the latter with an I3D Network trained on Kinetics. Despite sharing the known drawbacks of FID (Binkowski et al., 2018), FVD has shown to correlate much stronger with human ´ raters compared to both PSNR and SSIM (Unterthiner et al., 2018). We report the FVD of the first 16 frames, as well as the “unrolled” average FVD across all contiguous subsequences of 16 frames. In each case, we report the mean and standard deviation of 20 trials. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
337,
|
| 724 |
+
823,
|
| 725 |
+
406
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "Sampling time. Sampling from autoregressive models is notoriously slow. However, because our decoders are not very deep (8 layers) we are able to sample a batch of four 30x64x64 videos in acceptable time (approx. 8 minutes) with our large models on a Nvidia Tesla V100. Though this might still be impractical we argue that further advances in parallel sampling strategies (Stern et al., 2018) and future hardware will alleviate this disadvantage significantly. ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
414,
|
| 735 |
+
825,
|
| 736 |
+
483
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "4.2 BAIR ROBOT PUSHING ",
|
| 743 |
+
"text_level": 1,
|
| 744 |
+
"bbox": [
|
| 745 |
+
176,
|
| 746 |
+
501,
|
| 747 |
+
379,
|
| 748 |
+
515
|
| 749 |
+
],
|
| 750 |
+
"page_idx": 6
|
| 751 |
+
},
|
| 752 |
+
{
|
| 753 |
+
"type": "text",
|
| 754 |
+
"text": "BAIR Robot Pushing (Ebert et al., 2017) shows a robotic arm pushing and grasping objects in a box. It consists of roughly 40K training- and 256 test videos. We prime on the first frame for training and evaluation. ",
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
526,
|
| 758 |
+
825,
|
| 759 |
+
569
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 6
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "Empirical Results. All variants of the Video Transformer achieve strong results compared to prior work in terms of both intrinsic and extrinsic metrics. From Table 1a, we see that the small models already reduce the perplexity in terms of bits/dim by almost $20 \\%$ compared to the recently proposed VideoFlow model (Kumar et al., 2019) with our large model (L) reducing perplexity even further to a $2 5 \\%$ improvement. Similar to Menick & Kalchbrenner (2019), we find that subscaling can have a slightly negative effect on bits/dim. In terms of perceptual quality, every incarnation of our model obtains a lower (better) FVD score compared to all models evaluated by Unterthiner et al. (2018), which notably includes adversarial networks with no guarantees of covering the full empirical distribution. These results are not strictly comparable, since prior work has used longer priming sequences of two (Babaeizadeh et al., 2018; Lee et al., 2018) or three (Kumar et al., 2019) frames, whereas our models (to our disadvantage) see a single prime frame. Note that we sample with temperature 0.9 for the extrinsic metrics as we observed improved qualitative results at this temperature on the validation set. This corresponds to a mild form of mode dropping and is common practice to improve sampling quality. For fair comparison we also tweaked the “temperature” of SAVP by scaling the variance of its normal distribution when sampling. This, however, did not result in any improvements for FVD. ",
|
| 766 |
+
"bbox": [
|
| 767 |
+
173,
|
| 768 |
+
575,
|
| 769 |
+
825,
|
| 770 |
+
797
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 6
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "Further results on an earlier version of robot pushing (Finn et al., 2016a) and Moving MNIST (Srivastava et al., 2015) can be found in Appendix A for brevity. In summary, like Kalchbrenner et al. (2016), we match the lower bound on Moving MNIST while obtaining an almost $50 \\%$ reduction in bits/dim on robotic pushing which demonstrates the superiority of our models against prior work on autoregressive video modeling. ",
|
| 777 |
+
"bbox": [
|
| 778 |
+
174,
|
| 779 |
+
805,
|
| 780 |
+
823,
|
| 781 |
+
875
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 6
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "text",
|
| 787 |
+
"text": "Qualitative Observations. All variants of our model reach similar quantitative results on these benchmarks and we observe no immediate differences in fidelity. However, there are some notable differences. First, whereas the spatiotemporal subscaling model is able to capture temporal dependencies across up to 16 frames (given subscaling in time by a factor four), the remaining models can only capture dependencies across four frames. This can, for example, result in deformation of occluded objects (e.g., Figure 4 of the Appendix). However, due to the simplicity of the benchmark datasets, this is not appropriately reflected in the metrics including better unrolled FVD curves for the single frame base model in Figure 2a. Second, we observe that lowering the sampling temperature from 1.0 to 0.9 consistently improves results. Notably, spatiotemporal subscaling seems more robust to sampling errors as its performance decays less when sampling with temperature 1.0 ( $1 2 2 { \\pm } 4$ Avg. FVD) compared to the spatial subscaling $( 1 3 4 \\pm 4 )$ and single frame models $( 1 5 3 \\pm 7 )$ . We attribute this finding to the difference in generation order when spatiotemporal subscaling is employed as it predicts pixels over the entire extend of the 3D video volume early and thereby effectively anchors future predictions around these pixels. Finally, considering that our results on BAIR Robot Pushing in terms of FVD are on par with those between two ground-truth subsamples (Figure 4 of Unterthiner et al. (2018)), we may be approaching the limit of this benchmark. On the other hand, it could be that FVD suffers out-of-domain and is not sufficiently sensitive to longrange temporal dynamics, since it is trained to perform human action recognition, which is known to predominantly rely on local features (Carreira & Zisserman, 2017; Xie et al., 2018). ",
|
| 788 |
+
"bbox": [
|
| 789 |
+
176,
|
| 790 |
+
882,
|
| 791 |
+
823,
|
| 792 |
+
924
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 6
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "image",
|
| 798 |
+
"img_path": "images/dfa6ccf1b97621553902141f4626b3162f2ec6245a35eafcceb80526bf719de8.jpg",
|
| 799 |
+
"image_caption": [
|
| 800 |
+
"Figure 2: Unrolled FVD metrics on BAIR Robot Pushing (left) and Kinetics (right). "
|
| 801 |
+
],
|
| 802 |
+
"image_footnote": [],
|
| 803 |
+
"bbox": [
|
| 804 |
+
200,
|
| 805 |
+
104,
|
| 806 |
+
794,
|
| 807 |
+
238
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 7
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
297,
|
| 817 |
+
825,
|
| 818 |
+
520
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 7
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "4.3 KINETICS ",
|
| 825 |
+
"text_level": 1,
|
| 826 |
+
"bbox": [
|
| 827 |
+
174,
|
| 828 |
+
546,
|
| 829 |
+
282,
|
| 830 |
+
560
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 7
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "Moving from a constrained to a real world setting, we next apply our models to the Kinetics dataset (Kay et al., 2017), a large scale action-recognition dataset consisting of YouTube videos. Specifically, we use Kinetics-600, which contains roughly 400K training videos ranging over 600 action classes (Carreira et al., 2018). We center-crop and down-sample each frame to 64x64 with a width-3 Lanczos filter and anti-aliasing. ",
|
| 837 |
+
"bbox": [
|
| 838 |
+
174,
|
| 839 |
+
575,
|
| 840 |
+
823,
|
| 841 |
+
645
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 7
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "We introduce a slight change to our setup by using a separate decoder for the first slice $\\pmb { x } _ { ( 0 , 0 , 0 ) }$ . This decoder can be twice as deep (16 instead of 8 layers) as the original subscale decoder, because it does not rely on any encoder. For all other slices we train a regular subscale model (8 layers in both encoder and decoder) as before. Using a separate first-slice decoder means that there is no wasted encoder computation on the first slice and that there are additional parameters. Furthermore, for our large models we scale the batch size to 256 by training in parallel on 128 TPU v3 instances for 1M steps. ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
652,
|
| 851 |
+
825,
|
| 852 |
+
750
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 7
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "Empirical Results. Results for our base models are shown in the upper part of Table 1b. In line with results on BAIR pushing, we find that the single frame model obtains better performance in terms of bits/dim. In contrast, we observe that the spatiotemporal subscaling model generates better and more robust video continuations which is reflected by its superior FVD scores. Our large models (L) show much stronger performance across the board (see lower half of Table 1b and Figures 2b), lowering the perplexity to 1.14 bits/dim for the single frame model. While the spatiotemporal subscaling model obtains slightly worse perplexity of 1.19 bits/dim, it improves FVD to 170. Despite its good performance on bits/dim, even with a temperature of 0.9, samples from the large single frame model are prone to instability and in many cases we observe color “explosions” (Figure 12 in the Appendix shows an example) which is reflected in its significantly higher FVD score. Although much less pronounced we observed such instability already when sampling with temperature 1.0 on BAIR pushing which clearly indicates the benefits of temporal subscaling for video generation. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
173,
|
| 861 |
+
757,
|
| 862 |
+
825,
|
| 863 |
+
924
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 7
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "image",
|
| 869 |
+
"img_path": "images/085bae087f32ce532cec998a0c41eea2a6dce29429281a174e5f535139017b79.jpg",
|
| 870 |
+
"image_caption": [
|
| 871 |
+
"Figure 3: Selected Kinetics continuations from a set of 128 videos and 16 samples which showcase a variety of natural, video-specific phenomena our model learns to generate. We used our large spatiotemporal subscaling model and prime generation with 5 frames (0-4) to include the first two frames in subscale order (0, 4). Samples are generated with temperature of 0.9. The examples depict frames 0, 5, 10 and 15. "
|
| 872 |
+
],
|
| 873 |
+
"image_footnote": [],
|
| 874 |
+
"bbox": [
|
| 875 |
+
187,
|
| 876 |
+
102,
|
| 877 |
+
812,
|
| 878 |
+
281
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "Qualitative Observations. Figure 3 shows samples from a cooking subset of Kinetics that we describe in Appendix E. These are selected to showcase different aspects of real-world videos learned by the large spatiotemporal subscaling model. Figures 3a and 3c demonstrate the model’s ability to handle camera movement. We find that camera movement seems to be learned early in training, possibly since it is a major source of uncertainty. This requires transforming pixels correctly while hallucinating new pixels at the edges. Similarly, object movement resulting, for instance, in a change of perspective is predicted quite well (Figure 3b). Highly stochastic motion such as fire (Figure 3d) or steam is modeled surprisingly well. Videos in Kinetics sometimes contain scene changes and our model, too, occasionally generates videos with jumps to completely new scenes (Figure 3e). Motion of human fingers and faces seems challenging to model. Nevertheless, in a number of samples the model is able to generate somewhat believable continuations as can be seen in Figures 3g, 3h or 3i. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
392,
|
| 888 |
+
825,
|
| 889 |
+
546
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 8
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "These selected examples show only a small subset of the interesting phenomena handled by the model and illustrate the sheer complexity involved in modeling this dataset. In Appendix F, we provide multiple samples, primed with the same initial frames to illustrate the diversity of the generated samples. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
174,
|
| 898 |
+
553,
|
| 899 |
+
823,
|
| 900 |
+
608
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 8
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Limitations. While we obtained the occasional encouraging sampl, we would like to point out that the diversity of Kinetics still poses a major challenge. Failure modes range from freezing movement or object distortions to continuations that ”wash out” entirely after a few frames. We firmly beleive that yet larger datasets and/or models will be required to capture the complexity of even short clips from YouTube videos. With this work we merely provide an initial baseline, hoping to highlight both the potential and the enormous room for improvement. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
174,
|
| 909 |
+
616,
|
| 910 |
+
825,
|
| 911 |
+
699
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 8
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "5 CONCLUSION ",
|
| 918 |
+
"text_level": 1,
|
| 919 |
+
"bbox": [
|
| 920 |
+
176,
|
| 921 |
+
744,
|
| 922 |
+
318,
|
| 923 |
+
761
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "We presented an autoregressive model of videos based almost entirely on a variant of block-local self-attention that can easily be implemented efficiently on TPUs. Combined with spatiotemporal subscaling, our models can be scaled up substantially while retaining the ability to capture longer range spatiotemporal dependencies. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
174,
|
| 932 |
+
790,
|
| 933 |
+
825,
|
| 934 |
+
847
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 8
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "Empirically, we obtain state-of-the-art results across a range of video generation benchmarks, while the scalability of our approach enables us to make an initial attempt at modeling videos of unusually high complexity and diversity as found in the Kinetics dataset. Our models occasionally generate encouraging continuations, especially on a subset of cooking videos, yet we find modeling the full range of such videos clearly remains a major challenge. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
854,
|
| 944 |
+
823,
|
| 945 |
+
924
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 8
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 952 |
+
"text_level": 1,
|
| 953 |
+
"bbox": [
|
| 954 |
+
176,
|
| 955 |
+
103,
|
| 956 |
+
367,
|
| 957 |
+
117
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 9
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "This work benefited from numerous conversations with Nal Kalchbrenner, as well as discussions with Jacob Menick, Mohammad Taghi Saffar and Niki Parmar. We would also like to thank Chelsea Finn and Tom Kwiatkowski for thoughtful comments on an earlier draft. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
174,
|
| 966 |
+
132,
|
| 967 |
+
825,
|
| 968 |
+
175
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 9
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "REFERENCES ",
|
| 975 |
+
"text_level": 1,
|
| 976 |
+
"bbox": [
|
| 977 |
+
176,
|
| 978 |
+
196,
|
| 979 |
+
287,
|
| 980 |
+
212
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Mohammad Babaeizadeh, Chelsea Finn, Dumitru Erhan, Roy H. Campbell, and Sergey Levine. Stochastic variational video prediction. ICLR, 2018. \nAlexei Baevski and Michael Auli. Adaptive input representations for neural language modeling. In ICLR, 2019. \nMikołaj Binkowski, Dougal J. Sutherland, Michael Arbel, and Arthur Gretton. Demystifying MMD ´ GANs. In ICLR, 2018. \nAntonio Torralba Carl Vondrick, Hamed Pirsiavash. Anticipating visual representations from unlabeled video. In CVPR, 2016. \nJoao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics ˜ dataset. In CVPR, 2017. \nJoao Carreira, Eric Noland, Andras Banki-Horvath, Chloe Hillier, and Andrew Zisserman. A short ˜ note about kinetics-600. arXiv, abs/1808.01340, 2018. \nLlu´ıs Castrejon, Nicolas Ballas, and Aaron Courville. Improved conditional vrnns for video predic- ´ tion. arXiv, abs/1904.12165, 2019. \nXI Chen, Nikhil Mishra, Mostafa Rohaninejad, and Pieter Abbeel. PixelSNAIL: An improved autoregressive generative model. In ICML, 2018. \nRewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. OpenAI Preprint, 2019. \nJeffrey De Fauw, Sander Dieleman, and Karen Simonyan. Hierarchical autoregressive image models with auxiliary decoders. In CVPR, 2019. \nEmily Denton and Rob Fergus. Stochastic video generation with a learned prior. In ICML, 2018. \nFrederik Ebert, Chelsea Finn, Alex Lee, and Sergey Levine. Self-supervised visual planning with temporal skip connections. In Conference on Robot Learning (CoRL), 2017. \nChelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In NIPS, 2016a. \nChelsea Finn, Ian Goodfellow, and Sergey Levine. Unsupervised learning for physical interaction through video prediction. In NIPS, 2016b. \nRohit Girdhar, Joao Carreira, Carl Doersch, and Andrew Zisserman. Video action transformer net- ˜ work. arXiv, abs/1812.02707, 2018. \nMartin 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. \nXu Jia, Bert De Brabandere, Tinne Tuytelaars, and Luc V Gool. Dynamic filter networks. In Advances in Neural Information Processing Systems, 2016. \nNorman P. Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, Rick Boyle, Pierre-luc Cantin, Clifford Chao, Chris Clark, Jeremy Coriell, Mike Daley, Matt Dau, Jeffrey Dean, Ben Gelb, Tara Vazir Ghaemmaghami, Rajendra Gottipati, William Gulland, Robert Hagmann, C. Richard Ho, Doug Hogberg, John Hu, Robert Hundt, Dan Hurt, Julian Ibarz, Aaron Jaffey, Alek Jaworski, ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
171,
|
| 989 |
+
207,
|
| 990 |
+
828,
|
| 991 |
+
928
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 9
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Alexander Kaplan, Harshit Khaitan, Daniel Killebrew, Andy Koch, Naveen Kumar, Steve Lacy, James Laudon, James Law, Diemthu Le, Chris Leary, Zhuyuan Liu, Kyle Lucke, Alan Lundin, Gordon MacKean, Adriana Maggiore, Maire Mahony, Kieran Miller, Rahul Nagarajan, Ravi Narayanaswami, Ray Ni, Kathy Nix, Thomas Norrie, Mark Omernick, Narayana Penukonda, Andy Phelps, Jonathan Ross, Matt Ross, Amir Salek, Emad Samadiani, Chris Severn, Gregory Sizikov, Matthew Snelham, Jed Souter, Dan Steinberg, Andy Swing, Mercedes Tan, Gregory Thorson, Bo Tian, Horia Toma, Erick Tuttle, Vijay Vasudevan, Richard Walter, Walter Wang, Eric Wilcox, and Doe Hyun Yoon. In-datacenter performance analysis of a tensor processing unit. In ISCA, 2017. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
189,
|
| 1000 |
+
103,
|
| 1001 |
+
825,
|
| 1002 |
+
229
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H. Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, Ryan Sepassi, George Tucker, and Henryk Michalewski. Model-based reinforcement learning for atari. arXiv, abs/1903.00374, 2019. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
239,
|
| 1012 |
+
825,
|
| 1013 |
+
295
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Nal Kalchbrenner, Aaron van den Oord, Karen Simonyan, Ivo Danihelka, Oriol Vinyals, Alex ¨ Graves, and Koray Kavukcuoglu. Video pixel networks. In ICML, 2016. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
173,
|
| 1022 |
+
306,
|
| 1023 |
+
823,
|
| 1024 |
+
335
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 10
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Will Kay, Joao Carreira, Karen Simonyan, Brian Zhang, Chloe Hillier, Sudheendra Vijaya- ˜ narasimhan, Fabio Viola, Tim Green, Trevor Back, Apostol Natsev, Mustafa Suleyman, and Andrew Zisserman. The kinetics human action video dataset. arXiv, abs/1705.06950, 2017. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
344,
|
| 1034 |
+
825,
|
| 1035 |
+
387
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 10
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Manoj Kumar, Mohammad Babaeizadeh, Dumitru Erhan, Chelsea Finn, Sergey Levine, Laurent Dinh, and Durk Kingma. Videoflow: A flow-based generative model for video. arXiv, abs/1903.01434, 2019. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
173,
|
| 1044 |
+
398,
|
| 1045 |
+
825,
|
| 1046 |
+
440
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 10
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Alex X. Lee, Richard Zhang, Frederik Ebert, Pieter Abbeel, Chelsea Finn, and Sergey Levine. Stochastic adversarial video prediction. arXiv, abs/1804.01523, 2018. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
169,
|
| 1055 |
+
450,
|
| 1056 |
+
823,
|
| 1057 |
+
481
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 10
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Ziwei Liu, Raymond A Yeh, Xiaoou Tang, Yiming Liu, and Aseem Agarwala. Video frame synthesis using deep voxel flow. In ICCV, 2017. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
171,
|
| 1066 |
+
489,
|
| 1067 |
+
823,
|
| 1068 |
+
520
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 10
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Jiasen Lu, Caiming Xiong, Devi Parikh, and Richard Socher. Knowing when to look: Adaptive attention via a visual sentinel for image captioning. CVPR, 2017. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
169,
|
| 1077 |
+
529,
|
| 1078 |
+
823,
|
| 1079 |
+
559
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 10
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond ¨ mean square error. In ICLR, 2016. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
171,
|
| 1088 |
+
568,
|
| 1089 |
+
823,
|
| 1090 |
+
598
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 10
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Jacob Menick and Nal Kalchbrenner. Generating high fidelity images with subscale pixel networks and multidimensional upscaling. In ICLR, 2019. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
173,
|
| 1099 |
+
607,
|
| 1100 |
+
823,
|
| 1101 |
+
637
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 10
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Junhyuk Oh, Xiaoxiao Guo, Honglak Lee, Richard L Lewis, and Satinder Singh. Action-conditional video prediction using deep networks in atari games. In NIPS, 2015. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
171,
|
| 1110 |
+
646,
|
| 1111 |
+
823,
|
| 1112 |
+
676
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 10
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Ankur P. Parikh, Oscar Tackstr ¨ om, Dipanjan Das, and Jakob Uszkoreit. A decomposable attention ¨ model for natural language inference. In EMNLP, 2016. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
173,
|
| 1121 |
+
685,
|
| 1122 |
+
823,
|
| 1123 |
+
715
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 10
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, and Alexander Ku. Image transformer. In ICML, 2018. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
173,
|
| 1132 |
+
724,
|
| 1133 |
+
823,
|
| 1134 |
+
753
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 10
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Viorica Patr ˘ aucean, Ankur Handa, and Roberto Cipolla. Spatio-temporal video autoencoder with ˘ differentiable memory. In ICLR (Workshop track), 2016. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
171,
|
| 1143 |
+
763,
|
| 1144 |
+
823,
|
| 1145 |
+
792
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 10
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Scott Reed, Aaron van den Oord, Nal Kalchbrenner, Sergio G ¨ omez Colmenarejo, Ziyu Wang, Yutian ´ Chen, Dan Belov, and Nando de Freitas. Parallel multiscale autoregressive density estimation. In ICML, 2017. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
174,
|
| 1154 |
+
803,
|
| 1155 |
+
823,
|
| 1156 |
+
845
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Nitish Srivastava, Elman Mansimov, and Ruslan Salakhudinov. Unsupervised learning of video representations using lstms. In ICML, 2015. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
171,
|
| 1165 |
+
856,
|
| 1166 |
+
823,
|
| 1167 |
+
885
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Mitchell Stern, Noam Shazeer, and Jakob Uszkoreit. Blockwise parallel decoding for deep autoregressive models. In NeurIPS, 2018. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
173,
|
| 1176 |
+
895,
|
| 1177 |
+
820,
|
| 1178 |
+
924
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Tijmen Tieleman and Geoffrey Hinton. Lecture 6.5-rmsprop, coursera: Neural networks for machine learning. University of Toronto, Technical Report, 2012. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
171,
|
| 1187 |
+
103,
|
| 1188 |
+
823,
|
| 1189 |
+
132
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 11
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Thomas Unterthiner, Sjoerd van Steenkiste, Karol Kurach, Raphael Marinier, Marcin Michalski, and Sylvain Gelly. Towards accurate generative models of video: A new metric & challenges. arXiv, abs/1812.01717, 2018. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
176,
|
| 1198 |
+
140,
|
| 1199 |
+
823,
|
| 1200 |
+
184
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 11
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, Lasse Espeholt, Koray Kavukcuoglu, Oriol Vinyals, and ¨ Alex Graves. Conditional image generation with pixelcnn decoders. In NIPS, 2016a. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
193,
|
| 1210 |
+
825,
|
| 1211 |
+
222
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 11
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. ¨ In ICML, 2016b. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
173,
|
| 1220 |
+
229,
|
| 1221 |
+
823,
|
| 1222 |
+
258
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 11
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
171,
|
| 1231 |
+
268,
|
| 1232 |
+
823,
|
| 1233 |
+
296
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 11
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In NIPS, 2016. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
173,
|
| 1242 |
+
305,
|
| 1243 |
+
823,
|
| 1244 |
+
334
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 11
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Jiheng Wang and Qiang Li. Video quality assessment using a statistical model of human visual speed perception. Journal of the Optical Society of America. A, Optics, image science, and vision, 24 12:B61–9, 2007. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
173,
|
| 1253 |
+
343,
|
| 1254 |
+
823,
|
| 1255 |
+
386
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 11
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Jiheng Wang, Ligang Lu, and Alan C. Bovik. Video quality assessment based on structural distortion measurement. Sig. Proc.: Image Comm., 19, 2004a. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
395,
|
| 1265 |
+
823,
|
| 1266 |
+
424
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 11
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli. Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4): 600–612, 2004b. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
173,
|
| 1275 |
+
433,
|
| 1276 |
+
823,
|
| 1277 |
+
476
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 11
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Saining Xie, Chen Sun, Jonathan Huang, Zhuowen Tu, and Kevin Murphy. Rethinking spatiotemporal feature learning: Speed-accuracy trade-offs in video classification. In ECCV, 2018. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
173,
|
| 1286 |
+
484,
|
| 1287 |
+
821,
|
| 1288 |
+
513
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 11
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "SHI Xingjian, Zhourong Chen, Hao Wang, Dit-Yan Yeung, Wai-Kin Wong, and Wang-chun Woo. Convolutional lstm network: A machine learning approach for precipitation nowcasting. In NIPS, 2015. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
174,
|
| 1297 |
+
522,
|
| 1298 |
+
823,
|
| 1299 |
+
564
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 11
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Richard Zhang, Phillip Isola, Alexei Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
173,
|
| 1308 |
+
574,
|
| 1309 |
+
825,
|
| 1310 |
+
603
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 11
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "image",
|
| 1316 |
+
"img_path": "images/f85a708c118abdfbf1adf3d921f784deeaf29204e187183c06887a4dc761f6c6.jpg",
|
| 1317 |
+
"image_caption": [
|
| 1318 |
+
"Figure 4: Samples (showing every 5th frame horizontally) illustrating occlusion effects on BAIR Robot Pushing. Models without temporal subscaling (rows 3-4) fail on occlusions, whereas the model with temporal subscaling (row 2) correctly maintains objects from the ground truth video (row 1). Notice the green ball deformation on rows 2 and 3 and the hallucinated green ball on the right edge of row 3, which are caused by missing temporal dependencies across the duration of occlusion. "
|
| 1319 |
+
],
|
| 1320 |
+
"image_footnote": [],
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
174,
|
| 1323 |
+
102,
|
| 1324 |
+
825,
|
| 1325 |
+
392
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 12
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "table",
|
| 1331 |
+
"img_path": "images/5bab4680d76bf4fc559dea41d0793b6c72186458b9fd97e3d2bf9bba890d1c49.jpg",
|
| 1332 |
+
"table_caption": [
|
| 1333 |
+
"Table 2: Moving MNIST. Nats per frame averaged across 10 subsequent frames when priming with 10 initial frames. Best results in bold. † The lower bound reported in (Kalchbrenner et al., 2016) is slightly higher than ours. "
|
| 1334 |
+
],
|
| 1335 |
+
"table_footnote": [],
|
| 1336 |
+
"table_body": "<table><tr><td>Models</td><td>Nats/Frame (↓)</td></tr><tr><td>Single Frame</td><td>86.2</td></tr><tr><td>Spatial Subscaling</td><td>91.8</td></tr><tr><td>Spatiotemporal Subscaling</td><td>90.0</td></tr><tr><td>VPN (Kalchbrenner et al., 2016)</td><td>87.6</td></tr><tr><td>Lower bound</td><td>85.1 (86.3)‡</td></tr></table>",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
320,
|
| 1339 |
+
559,
|
| 1340 |
+
676,
|
| 1341 |
+
667
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 12
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "A FURTHER BENCHMARKS ",
|
| 1348 |
+
"text_level": 1,
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
176,
|
| 1351 |
+
694,
|
| 1352 |
+
413,
|
| 1353 |
+
710
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 12
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "A.1 MOVING MNIST ",
|
| 1360 |
+
"text_level": 1,
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
176,
|
| 1363 |
+
727,
|
| 1364 |
+
338,
|
| 1365 |
+
742
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 12
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Moving MNIST (Srivastava et al., 2015) consists of $1 0 0 \\mathrm { K }$ training- and 10K validation/test videos of two handwritten digits from the MNIST benchmark that move deterministically across the frame, crossing each other and bouncing off the borders. The partial occlusion of crossing digits makes this dataset challenging. To be comparable with Kalchbrenner et al. (2016), we use the first ten frames as priming and predict the subsequent ten frames. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
174,
|
| 1374 |
+
755,
|
| 1375 |
+
825,
|
| 1376 |
+
825
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 12
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "To allow direct comparison with Kalchbrenner et al. (2016), we change our loss to a “deterministic” loss (and derived nats-per-frame metric) which is defined as: $\\begin{array} { r } { H ( \\bar { z } , y ) = - \\sum _ { i } z _ { i } \\ln y _ { i } + ( 1 - } \\end{array}$ $z _ { i } ) \\ln ( 1 - y _ { i } )$ , where $z _ { i }$ are the gray-scale targets between 0.0 and 1.0, and $y _ { i }$ are the predicted scalar intensities. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
174,
|
| 1385 |
+
832,
|
| 1386 |
+
825,
|
| 1387 |
+
888
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 12
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "From Table 2, we find that like Kalchbrenner et al. (2016) our single frame prediction model (i.e., no subscaling) virtually solves the task in the sense that it almost matches the lower bound of the loss. However, this is not true for our subscaling models. Employing spatial subscaling on this task gives aliasing artifacts that make it harder to predict future frames. Although this finding is limited to Moving MNIST, it suggests that spatial subscaling can potentially hurt generation. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
174,
|
| 1396 |
+
895,
|
| 1397 |
+
823,
|
| 1398 |
+
924
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 12
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "table",
|
| 1404 |
+
"img_path": "images/7185609f1593fac483102e2a9a27e792a671ca781cb3b386a43b0f4252de8dae.jpg",
|
| 1405 |
+
"table_caption": [
|
| 1406 |
+
"Table 3: Ablation of hyper-parameter settings in terms of bits per dimension for models on 256 BAIR Robot Pushing validation videos. All models were primed on 1 frame and trained for 300K steps with a batch size of 64. "
|
| 1407 |
+
],
|
| 1408 |
+
"table_footnote": [],
|
| 1409 |
+
"table_body": "<table><tr><td colspan=\"2\">Layers</td><td>Heads</td><td>Hidden size 1.65</td></tr><tr><td>4</td><td colspan=\"3\">1.63 4 1.59 256</td></tr><tr><td>8</td><td colspan=\"3\">1.55 8 1.55 512</td></tr><tr><td>16</td><td colspan=\"3\">1.55 1.4816 1.51 1024 1.47</td></tr><tr><td>24</td><td colspan=\"3\">1.4524 1.47 2048 1.40</td></tr></table>",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
377,
|
| 1412 |
+
155,
|
| 1413 |
+
619,
|
| 1414 |
+
241
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 13
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
174,
|
| 1423 |
+
266,
|
| 1424 |
+
825,
|
| 1425 |
+
309
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 13
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "A.2 ROBOTIC PUSHING. ",
|
| 1432 |
+
"text_level": 1,
|
| 1433 |
+
"bbox": [
|
| 1434 |
+
176,
|
| 1435 |
+
325,
|
| 1436 |
+
352,
|
| 1437 |
+
339
|
| 1438 |
+
],
|
| 1439 |
+
"page_idx": 13
|
| 1440 |
+
},
|
| 1441 |
+
{
|
| 1442 |
+
"type": "text",
|
| 1443 |
+
"text": "Robotic Pushing (Finn et al., 2016a) was used in prior work on autoregressive video generation (Kalchbrenner et al., 2016). The videos show a robotic arm pushing and grasping objects in a box and there are roughly 50K training videos and 1500 test videos with seen and novel objects, respectively. Following prior work, we use the initial two frames for priming and condition on the robot arm action for each frame as described in Section 3.2. We use the same setup as (Kalchbrenner et al., 2016) with videos of twenty frames down-sampled to 64x64 with a Lanczos filter and antialiasing. ",
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
174,
|
| 1446 |
+
352,
|
| 1447 |
+
825,
|
| 1448 |
+
449
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 13
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "We report results to compare with prior work on autoregressive video generation by Kalchbrenner et al. (2016), who achieve 0.92 bits/dim (0.64 nats/dim) with 2 frames of priming on each of the test splits (one with objects seen during training and one with novel objects). We trained a large (2048 dimensional) spatiotemporal subscaling model which achieves 0.51 bits/dim on the subset with seen objects and 0.47 bits/dim on the subset with new objects, which corresponds to an almost $50 \\%$ reduction in perplexity. ",
|
| 1455 |
+
"bbox": [
|
| 1456 |
+
174,
|
| 1457 |
+
457,
|
| 1458 |
+
825,
|
| 1459 |
+
540
|
| 1460 |
+
],
|
| 1461 |
+
"page_idx": 13
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"type": "text",
|
| 1465 |
+
"text": "B HYPER-PARAMETER SWEEPS ",
|
| 1466 |
+
"text_level": 1,
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
176,
|
| 1469 |
+
560,
|
| 1470 |
+
450,
|
| 1471 |
+
577
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 13
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Table 3 shows the impact of different architectural settings. We see that the hidden size has the biggest impact followed by the number of layers and heads. This is an interesting as well as important finding because increasing the hidden size (wider networks) requires more parallel compute which modern Deep Learning hardware excels at. Computation time grows sub-linear, memory linear and parameters partially quadratically. In contrast all of these aspects grow linearly with deep networks. For scaling up architectures depth is therefore not the preferred option as we suffer much more in terms of computation time while having less parameters. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
592,
|
| 1481 |
+
825,
|
| 1482 |
+
690
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 13
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "In another experiment, we shuffle the arrangement of block sizes between layers and found that it did not really matter, that is, all results were within 0.01 bits/dim. However, our setup had the best overall performance. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
174,
|
| 1491 |
+
696,
|
| 1492 |
+
825,
|
| 1493 |
+
738
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 13
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Finally, we tried sampling temperature 0.9 and 1.0 only on the BAIR Robot Pushing validation set and found that temperature 0.9 consistently gave more robust predictions and better results on all extrinsic metrics. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
174,
|
| 1502 |
+
744,
|
| 1503 |
+
825,
|
| 1504 |
+
787
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 13
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "C CONNECTIVITY IN BLOCK-LOCAL SELF-ATTENTION ",
|
| 1511 |
+
"text_level": 1,
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
176,
|
| 1514 |
+
808,
|
| 1515 |
+
645,
|
| 1516 |
+
824
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 13
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "Blind Spots. Varying block sizes between layers in block-local self-attention can efficiently connect every pixel with every other pixel when no masking is employed. If masking is employed to respect the generation order (as in our slice decoder) block-local self attention produces “blind spots” which leads to independence assumptions. To exemplify these special cases, consider position $( 1 , 0 , 0 )$ , the top-left pixel of the second frame, and its direct predecessor in generation order $( 0 , h - 1 , w - 1 )$ , the bottom-right pixel of the first frame. The only way to establish a connection between these two positions is through a direct connection, because masking prevents any indirect connection. Thus, there has to be one layer in which both of these pixels are in the same block. This block must at least stretch over the entire extent of both width and height (i.e., the full frame) as well as at least 2 time steps. Running full self-attention in such blocks can easily become prohibitive for large $h$ and $w$ . ",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
174,
|
| 1525 |
+
839,
|
| 1526 |
+
825,
|
| 1527 |
+
924
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 13
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
174,
|
| 1536 |
+
103,
|
| 1537 |
+
823,
|
| 1538 |
+
172
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 14
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "text",
|
| 1544 |
+
"text": "Remedies. There seems to be no simple solution that solves the problem of blind spots completely. However, we can make sure that local dependencies up to a certain distance are all covered by increasing the kernel size of the initial, masked convolution in the decoder. It is also possible to combine block-local self-attention with its dual form, dilated self-attention in $n$ dimensions which connects all pixels at the same relative position within their respective block with each other. Finally, we find that it is important to avoid blocks of small sizes in any dimension (e.g., 1). That means, even if we stretch a block to the full extent of one dimension it is important to define sizes at least larger than 1 on all other dimensions to limit the number of unconnected pixels. ",
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
174,
|
| 1547 |
+
189,
|
| 1548 |
+
825,
|
| 1549 |
+
299
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 14
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "text",
|
| 1555 |
+
"text": "On the other hand, the independence assumptions due to masking do not seem to produce any systematic, visible artifacts in our samples. We believe this to be an interesting finding by itself as it shows that there is potential for parallelizing autoregressive video generation by systematically exploring further independence assumptions. ",
|
| 1556 |
+
"bbox": [
|
| 1557 |
+
174,
|
| 1558 |
+
306,
|
| 1559 |
+
823,
|
| 1560 |
+
363
|
| 1561 |
+
],
|
| 1562 |
+
"page_idx": 14
|
| 1563 |
+
},
|
| 1564 |
+
{
|
| 1565 |
+
"type": "text",
|
| 1566 |
+
"text": "D ADDITIONAL FINDINGS ",
|
| 1567 |
+
"text_level": 1,
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
176,
|
| 1570 |
+
382,
|
| 1571 |
+
406,
|
| 1572 |
+
398
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 14
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "Below, we summarize some additional findings that may be of interest to some readers: ",
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
171,
|
| 1581 |
+
414,
|
| 1582 |
+
743,
|
| 1583 |
+
429
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 14
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"type": "text",
|
| 1589 |
+
"text": "• We found that using blocks stretching across a single time-/row-/column- dimension, is substantially worse than using blocks that stretch at least to some extent in all directions. This is likely due to the fact that future masking in the decoder imposes strong independence assumptions in this case, as discussed in Appendix C. We found that RMSProp with momentum converges significantly faster than ADAM, which we tried with different learning rates and settings for $\\beta _ { 1 }$ and $\\beta _ { 2 }$ . \n• We tried using continuous, rather than discretized one-hot, input channel representations, but this had an overall negative impact on both performance and sample quality. \n• We experimented with a gating mechanism in Eq. 3, such that the attention matrix $A$ is masked elementwise with $( 1 - I )$ to allow for not attending to any element, similar to sentinel attention (Lu et al., 2017). However, this had no effect on generation quality. ",
|
| 1590 |
+
"bbox": [
|
| 1591 |
+
215,
|
| 1592 |
+
440,
|
| 1593 |
+
825,
|
| 1594 |
+
608
|
| 1595 |
+
],
|
| 1596 |
+
"page_idx": 14
|
| 1597 |
+
},
|
| 1598 |
+
{
|
| 1599 |
+
"type": "text",
|
| 1600 |
+
"text": "E KINETICS COOKING ",
|
| 1601 |
+
"text_level": 1,
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
174,
|
| 1604 |
+
626,
|
| 1605 |
+
377,
|
| 1606 |
+
643
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 14
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "text",
|
| 1612 |
+
"text": "We found that for many video-prefixes in Kinetics it is very hard for our model to predict continuations. For instance, main objects in the videos are too small or movement is too fast which results in very blurry frames or there is little to no movement at all. Figure 13 shows some examples. Therefore, we created a subset of cooking videos that we found to exhibit these problems to a lesser degree. ",
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
174,
|
| 1615 |
+
657,
|
| 1616 |
+
825,
|
| 1617 |
+
728
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 14
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "text",
|
| 1623 |
+
"text": "In particular we filtered videos whose label matched the following regular expression: ",
|
| 1624 |
+
"bbox": [
|
| 1625 |
+
174,
|
| 1626 |
+
734,
|
| 1627 |
+
735,
|
| 1628 |
+
750
|
| 1629 |
+
],
|
| 1630 |
+
"page_idx": 14
|
| 1631 |
+
},
|
| 1632 |
+
{
|
| 1633 |
+
"type": "text",
|
| 1634 |
+
"text": ". $\\star$ (baking|barbequing|breading|cooking|cutting|pancake|vegetables| meat|cake|sandwich|pizza|sushi|tea|peeling|fruit|eggs|salad).\\* ",
|
| 1635 |
+
"bbox": [
|
| 1636 |
+
176,
|
| 1637 |
+
762,
|
| 1638 |
+
813,
|
| 1639 |
+
790
|
| 1640 |
+
],
|
| 1641 |
+
"page_idx": 14
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"type": "text",
|
| 1645 |
+
"text": "Note that we still train on the full Kinetics training set and only use the cooking set to showcase samples in some cases. ",
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
171,
|
| 1648 |
+
801,
|
| 1649 |
+
823,
|
| 1650 |
+
830
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 14
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "text",
|
| 1656 |
+
"text": "F SAMPLES ",
|
| 1657 |
+
"text_level": 1,
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
174,
|
| 1660 |
+
851,
|
| 1661 |
+
285,
|
| 1662 |
+
866
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 14
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "Figures 5-8 show samples from our spatiotemporal subscaling and large spatiotemporal subscaling models on BAIR Robot Pushing. Figures 5 and 6 illustrate the fidelity and realism of the generated samples, whereas Figures 7 and 8 illustrate the diversity of samples. ",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
174,
|
| 1671 |
+
882,
|
| 1672 |
+
823,
|
| 1673 |
+
924
|
| 1674 |
+
],
|
| 1675 |
+
"page_idx": 14
|
| 1676 |
+
},
|
| 1677 |
+
{
|
| 1678 |
+
"type": "text",
|
| 1679 |
+
"text": "Figures 9-11 show samples from our spatiotemporal subscaling model on cooking videos for Kinetics-600, while Figure 12 depicts samples from the single frame model. In each case, we prime on 5 frames and sample the next 11 frames. Each figure shows 16 different samples from the same model. As can be seen, the model is able to generate diverse continuations while retaining fidelity. For the single frame model we observe strange color artifacts (exploding colors) which we attribute to the standard, raster-scan generation order of this model. ",
|
| 1680 |
+
"bbox": [
|
| 1681 |
+
173,
|
| 1682 |
+
103,
|
| 1683 |
+
825,
|
| 1684 |
+
188
|
| 1685 |
+
],
|
| 1686 |
+
"page_idx": 15
|
| 1687 |
+
},
|
| 1688 |
+
{
|
| 1689 |
+
"type": "image",
|
| 1690 |
+
"img_path": "images/1da4058c9504b3302e241acbb9fbea6a96582f105e85fc5a50ad10b08fa72b4a.jpg",
|
| 1691 |
+
"image_caption": [
|
| 1692 |
+
"Figure 5: Samples of 30 future frames (showing every 4th frame) for 12 test videos with the spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing. "
|
| 1693 |
+
],
|
| 1694 |
+
"image_footnote": [],
|
| 1695 |
+
"bbox": [
|
| 1696 |
+
174,
|
| 1697 |
+
150,
|
| 1698 |
+
823,
|
| 1699 |
+
832
|
| 1700 |
+
],
|
| 1701 |
+
"page_idx": 16
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"type": "image",
|
| 1705 |
+
"img_path": "images/61fed3cceb926177810e03032d2edf0e83a5ee6ebe8688b199292174070ad8fc.jpg",
|
| 1706 |
+
"image_caption": [
|
| 1707 |
+
"Figure 6: Samples of 30 future frames (showing every 4th frame) for 12 test videos with the large spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing. "
|
| 1708 |
+
],
|
| 1709 |
+
"image_footnote": [],
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
174,
|
| 1712 |
+
150,
|
| 1713 |
+
823,
|
| 1714 |
+
832
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 17
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "image",
|
| 1720 |
+
"img_path": "images/d30b988f5520416ac050282af99f11ea32ad7242a3646a76733791afa802c50a.jpg",
|
| 1721 |
+
"image_caption": [
|
| 1722 |
+
"Figure 7: 11 samples of 30 future frames (showing every 4th frame) for 1 test video (top row) with the spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing. "
|
| 1723 |
+
],
|
| 1724 |
+
"image_footnote": [],
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
246,
|
| 1727 |
+
143,
|
| 1728 |
+
823,
|
| 1729 |
+
825
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 18
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "image",
|
| 1735 |
+
"img_path": "images/2c3ad68584652166a78279a77193cea938e43256e30fb61d5ffdbc6238ddac65.jpg",
|
| 1736 |
+
"image_caption": [
|
| 1737 |
+
"Figure 8: 11 samples of 30 future frames (showing every 4th frame) for 1 test video (top row) with the large spatiotemporal subscaling model, using 1 prime frame and temperature 0.9 on BAIR Robot Pushing. "
|
| 1738 |
+
],
|
| 1739 |
+
"image_footnote": [],
|
| 1740 |
+
"bbox": [
|
| 1741 |
+
246,
|
| 1742 |
+
143,
|
| 1743 |
+
823,
|
| 1744 |
+
825
|
| 1745 |
+
],
|
| 1746 |
+
"page_idx": 19
|
| 1747 |
+
},
|
| 1748 |
+
{
|
| 1749 |
+
"type": "image",
|
| 1750 |
+
"img_path": "images/60eda85ed2c491d55a73e6d6cac2a0c2e777308f7cd59c29862db394849132b9.jpg",
|
| 1751 |
+
"image_caption": [
|
| 1752 |
+
"Figure 9: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics. "
|
| 1753 |
+
],
|
| 1754 |
+
"image_footnote": [],
|
| 1755 |
+
"bbox": [
|
| 1756 |
+
397,
|
| 1757 |
+
250,
|
| 1758 |
+
818,
|
| 1759 |
+
723
|
| 1760 |
+
],
|
| 1761 |
+
"page_idx": 20
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"type": "image",
|
| 1765 |
+
"img_path": "images/bd5e27408a3de0729b5402d95d24e82771f5e33f8e4038d972f1b6483b958e8f.jpg",
|
| 1766 |
+
"image_caption": [
|
| 1767 |
+
"Figure 10: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics. "
|
| 1768 |
+
],
|
| 1769 |
+
"image_footnote": [],
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
397,
|
| 1772 |
+
251,
|
| 1773 |
+
820,
|
| 1774 |
+
723
|
| 1775 |
+
],
|
| 1776 |
+
"page_idx": 21
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "image",
|
| 1780 |
+
"img_path": "images/c249bb000473202c4ddc516ad52809952700dd5c2c992681504816711af4c5f2.jpg",
|
| 1781 |
+
"image_caption": [
|
| 1782 |
+
"Figure 11: Samples of 11 future frames from the spatiotemporal subscaling model with 5 prime frames on 64x64 Kinetics. "
|
| 1783 |
+
],
|
| 1784 |
+
"image_footnote": [],
|
| 1785 |
+
"bbox": [
|
| 1786 |
+
397,
|
| 1787 |
+
251,
|
| 1788 |
+
818,
|
| 1789 |
+
723
|
| 1790 |
+
],
|
| 1791 |
+
"page_idx": 22
|
| 1792 |
+
},
|
| 1793 |
+
{
|
| 1794 |
+
"type": "image",
|
| 1795 |
+
"img_path": "images/4a130c065bd77737c167189965063fff68ac5665578b82002f122e4c571d2845.jpg",
|
| 1796 |
+
"image_caption": [
|
| 1797 |
+
"Figure 12: Samples of 11 future frames from the single frame model with 5 prime frames on 64x64 Kinetics exhibiting strange color artifacts. "
|
| 1798 |
+
],
|
| 1799 |
+
"image_footnote": [],
|
| 1800 |
+
"bbox": [
|
| 1801 |
+
397,
|
| 1802 |
+
111,
|
| 1803 |
+
818,
|
| 1804 |
+
587
|
| 1805 |
+
],
|
| 1806 |
+
"page_idx": 23
|
| 1807 |
+
},
|
| 1808 |
+
{
|
| 1809 |
+
"type": "image",
|
| 1810 |
+
"img_path": "images/378bd4d72631a6cf0342e15dca462a151a7e82f1836ab227d3bf2e7c1622be04.jpg",
|
| 1811 |
+
"image_caption": [
|
| 1812 |
+
"Figure 13: Ground-truth (top) and 2 samples of 30 future frames (showing every 4th frame) demonstrating that random Kinetics videos do not always lend themselves as good prefixes for generating continuations. "
|
| 1813 |
+
],
|
| 1814 |
+
"image_footnote": [],
|
| 1815 |
+
"bbox": [
|
| 1816 |
+
178,
|
| 1817 |
+
656,
|
| 1818 |
+
820,
|
| 1819 |
+
862
|
| 1820 |
+
],
|
| 1821 |
+
"page_idx": 23
|
| 1822 |
+
}
|
| 1823 |
+
]
|
parse/train/rJgsskrFwH/rJgsskrFwH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJgsskrFwH/rJgsskrFwH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkgHY0NYwr/rkgHY0NYwr.md
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DISCOVERING MOTOR PROGRAMS BY RECOMPOSING DEMONSTRATIONS
|
| 2 |
+
|
| 3 |
+
Tanmay Shankar Facebook AI Research tanmayshankar@fb.com
|
| 4 |
+
|
| 5 |
+
Shubham Tulsiani Facebook AI Research shubhtuls@fb.com
|
| 6 |
+
|
| 7 |
+
Lerrel Pinto Robotics Institute, CMU lerrelp@cs.cmu.edu
|
| 8 |
+
|
| 9 |
+
Abhinav Gupta Facebook AI Research gabhinav@fb.com
|
| 10 |
+
|
| 11 |
+
# ABSTRACT
|
| 12 |
+
|
| 13 |
+
In this paper, we present an approach to learn recomposable motor primitives across large-scale and diverse manipulation demonstrations. Current approaches to decomposing demonstrations into primitives often assume manually defined primitives and bypass the difficulty of discovering these primitives. On the other hand, approaches in primitive discovery put restrictive assumptions on the complexity of a primitive, which limit applicability to narrow tasks. Our approach attempts to circumvent these challenges by jointly learning both the underlying motor primitives and recomposing these primitives to form the original demonstration. Through constraints on both the parsimony of primitive decomposition and the simplicity of a given primitive, we are able to learn a diverse set of motor primitives, as well as a coherent latent representation for these primitives. We demonstrate, both qualitatively and quantitatively, that our learned primitives capture semantically meaningful aspects of a demonstration. This allows us to compose these primitives in a hierarchical reinforcement learning setup to efficiently solve robotic manipulation tasks like reaching and pushing.
|
| 14 |
+
|
| 15 |
+
# 1 INTRODUCTION
|
| 16 |
+
|
| 17 |
+
We have seen impressive progress over the recent years in learning based approaches to perform a plethora of manipulation tasks (Levine et al., 2016; Andrychowicz et al., 2018; Levine et al., 2018; Pinto & Gupta, 2016; Agrawal et al., 2016). However, these systems are typically task-centric savants – able to only execute a single task that they were trained for. This is because these systems, whether leveraging demonstrations or environmental rewards, attempt to learn each task tabula rasa, where low to high level motor behaviours, are all acquired from scratch in context of the specified task. In contrast, we humans are adept at a variety of basic manipulation skills e.g. picking, pushing, grasping etc., and can effortlessly perform these diverse tasks via a unified manipulation system.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Sample motor programs that emerge by discovering the space of motor programs from a diverse set of robot demonstration data in an unsupervised manner. These motor programs facilitate understanding the commonalities across various demonstrations, and accelerate learning for downstream tasks.
|
| 21 |
+
|
| 22 |
+
How can we step-away from the paradigm of learning task-centric savants, and move towards building similar unified manipulation systems? We can begin by not treating these tasks independently, but via instead exploiting the commonalities across them. One such commonality relates to the primitive actions executed to accomplish the tasks – while the high-level semantics of tasks may differ significantly, the low and mid-level motor programs across them are often shared e.g. to either pick or push an object, one must move the hand towards it. This concept of motor programs can be traced back to the work of Lashley, who noted that human motor movements consist of ‘orderly sequences’ that are not simply sequences of stimulus-response patterns. The term ‘motor programs’ is however better attributed to Keele (1968) as being representative of ‘muscle commands that execute a movement sequence uninfluenced by peripheral feedback’, though later works shifted the focus from muscle commands to the movement itself, while allowing for some feedback (Adams, 1971). More directly relevant to our motivation is Schmidt’s notion of ‘generalized’ motor programs (Schmidt, 1975) that can allow abstracting a class of movement patterns instead of a singular one. In this work, we present an approach to discover the shared space of (generalized) motor programs underlying a variety of tasks, and show that elements from this space can be composed to accomplish diverse tasks. Not only does this allow understanding the commonalities and shared structure across diverse skills, the discovered space of motor programs can provide a high-level abstraction using which new skills can be acquired quickly by simply learning the set of desired motor programs to compose.
|
| 23 |
+
|
| 24 |
+
We are not the first to advocate the use of such mid-level primitives for efficient learning or generalization, and there have been several reincarnations of this idea over the decades, from ‘operators’ in the classical STRIPS algorithm (Fikes & Nilsson, 1971), to ‘options’ (Sutton et al., 1999) or ‘primitives’ (Schaal et al., 2005) in modern usage. These previous approaches however assume a set of manually defined/programmed primitives and therefore bypass the difficulty of discovering them. While some attempts have been made to simultaneously learn the desired skill and the underlying primitives, learning both from scratch is difficult, and are therefore restricted to narrow tasks. Towards overcoming this difficulty, we observe that instead of learning the primitives from scratch in the context of a specific task, we can instead discover them using demonstrations of a diverse set of tasks. Concretely, by leveraging demonstrations for different skills e.g. pouring, grasping, opening etc., we discover the motor programs (or movement primitives) that occur across these.
|
| 25 |
+
|
| 26 |
+
We present an approach to discover movement primitives from a set of unstructured robot demonstration i.e. demonstrations without additional parsing or segmentation labels available. This is a challenging task as each demonstration is composed of a varying number of unknown primitives, and therefore the process of learning entails both, learning the space of primitives as well as understanding the available demonstrations in context of these. Our approach is based on the insight that an abstraction of a demonstrations into a sequence of motor programs or primitives, each of which correspond to an implied movement sequence, and must yield back the demonstration when the inferred primitives are ‘recomposed’. We build on this and formulate an unsupervised approach to jointly learn the space of movement primitives, as well as a parsing of the available demonstrations into a high-level sequence of these primitives.
|
| 27 |
+
|
| 28 |
+
We demonstrate that our method allows us to learn a primitive space that captures the shared motions required across diverse skills, and that these motor programs can be adapted and composed to further perform specific tasks. Furthermore, we show that these motor programs are semantically meaningful, and can be recombined to solved robotic tasks using reinforcement learning. Specifically, solving reaching and pushing tasks with reinforcement learning over the space of primitives achieves 2 orders of magnitude faster training than reinforcement learning in the low-level control space.
|
| 29 |
+
|
| 30 |
+
# 2 RELATED WORK
|
| 31 |
+
|
| 32 |
+
Our work is broadly related to several different lines of work which either learn task policies from demonstrations, or leverage known primitives for various applications, or learn primitives in context of known segments. While we discuss these relations in more detail below, we note that previous primitive based approaches either require: a) a known and fixed primitive space, or b) annotated segments each corresponding to a primitive. In contrast, we learn the space of primitives without requiring this segmentation annotation, and would like to emphasize that ours is the first work to do so for a diverse set of demonstrations spanning multiple tasks.
|
| 33 |
+
|
| 34 |
+
Learning from Demonstration: The field of learning from demonstrations (LfD) (Nicolescu & Mataric, 2003) has sought to learn to perform tasks from a set of demonstrated behaviors. A number of techniques exist to do so, including cloning the demonstrated behavior (Esmaili et al., 1995), fitting a parametric model to the demonstrations (Kober & Peters, 2009; Peters et al., 2013), or first segmenting the demonstrations and fitting a model to each of the resultant segments (Niekum et al., 2012; Krishnan et al., 2018; Murali et al., 2016; Meier et al., 2011). We point the reader to Argall et al. (2009) for a comprehensive overview of the field. Rather than directly learn to perform tasks, we use demonstrations to learn a diverse set of composable and reusable primitives, or motor-programs that may be used to perform a variety of downstream tasks.
|
| 35 |
+
|
| 36 |
+
Learning and Sequencing Motion Primitives: Several works (Kober & Peters, 2009; Peters et al., 2013) learn motion primitives from demonstrations using predetermined representations of skills such as Dynamic Movement Primitives (DMPs) (Schaal et al., 2005). A few other works have approached the problem from an optimization perspective (Dragan et al., 2015). Given these primitives, a question that arises is how to then sequence learned skills to perform downstream tasks. Several works have attempted to answer this question - (Neumann et al., 2014) builds a layered approach to adapt, select, and sequence DMPs. Konidaris et al. (2012); Konidaris & Barto (2009) segments demonstrations into sequences of skills, and also merge these skills into skill-trees. However, the predetermined representations of primitives adopted in these works can prove restrictive. In particular, it prevents learning arbitrarily expressive motions and adapting these motions to a generic downstream task. We seek to move away from these fixed representations of primitives, and instead learn representations of primitives along with the primitives themselves.
|
| 37 |
+
|
| 38 |
+
Latent Variable Models: The family of latent variable models (LVMs) provides us with fitting machinery to do so. Indeed, the success of LVMs in learning representations in deep learning has inspired several recent works (Co-Reyes et al., 2018; Kipf et al., 2019; Haarnoja et al., 2018; Lynch et al., 2019) to learn latent representations of trajectories. SeCTAR (Co-Reyes et al., 2018) builds a latent variable conditioned policy and model that are constrained to be consistent with one another, and uses the learned policies and model for hierarchical reinforcement learning. The CompILE framework (Kipf et al., 2019) seeks to learn variable length trajectory segments from demonstrations instead, and uses latent variables to represent these trajectory segments, but is evaluated in relatively low-dimensional domains. We adopt a similar perspective to these works and learn continuous latent variable representations (or abstractions) of trajectory segments.
|
| 39 |
+
|
| 40 |
+
Hierarchical RL and the Options Framework: The related field of hierarchical reinforcement learning (HRL) learns a layering of policies that each abstract away details of control of the policies of a lower level. The Options framework (Sutton et al., 1999) also learns similar temporal abstractions over sequences of atomic actions. While promising, its application has traditionally been restricted to simple domains due to the difficulty of jointly learning internal option policies along with a policy over those options. Recent works have managed to do so with only a reward function as feedback. The Option-Critic framework (Bacon et al., 2017) employs a policy-gradient formulation of options to do so, while the Option-Gradient (Smith et al., 2018) learns options in an off-policy manner. In contrast with most prior work in the options framework, (Daniel et al., 2016; Fox et al., 2017; Krishnan et al., 2017) learn options from a set of demonstrations, rather than in the RL setting. In similar spirit to these works, we too seek to learn abstractions from a given set of demonstrations, however unlike DDO (Fox et al., 2017), DDCO (Krishnan et al., 2017), and CompILE (Kipf et al., 2019), we can learn primitives beyond a discrete set of options in a relatively high dimensional domain.
|
| 41 |
+
|
| 42 |
+
Hierarchical representations of demonstrations: The idea of hierarchical task representations has permeated into LfD as well. In contrast to reasoning about demonstrations in a flat manner, one may also infer the hierarchical structure of tasks performed in demonstrations. A few recent works have striven to do so, by representing these tasks as programs (Xu et al., 2018; Sun et al., 2018), or as task graphs (Huang et al., 2019). Both Xu et al. (2018) and Huang et al. (2019) address generalizing to new instances of manipulation tasks in the low-shot regime by abstracting away low-level controls.
|
| 43 |
+
|
| 44 |
+
The idea of policy sketches, i.e. a sketch of the sub-tasks to be accomplished in a particular task, has become popular (Andreas et al., 2017; Shiarlis et al., 2018). Andreas et al. (2017) learn modular policies in the RL setting provided with such policy sketches. Shiarlis et al. (2018) provides a modular LfD framework based on this idea of policy sketches. While all of these works address learning policies at various levels from demonstrations, unlike our approach, they each assume access to heavy supervision over demonstrations to do so.
|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
Figure 2: An overview of our approach. Our abstraction network takes in an observed demonstration $\tau _ { o b s }$ and predict a sequence of latent variables $\{ z \}$ . These $\{ z \}$ are each decoded into their corresponding motor programs via the motor program network. We finally recompose these motor programs into the recomposed trajectory.
|
| 48 |
+
|
| 49 |
+
# 3 APPROACH
|
| 50 |
+
|
| 51 |
+
We seek to discover the space of motor programs directly from unstructured demonstrations in an unsupervised manner, and show that these can help understanding similarities across tasks as well as quickly quickly adapting to and solving new tasks. Building on ideas of Keele (1968) and Schmidt (1975), we define a motor program $M$ as a movement pattern that may be executed in and of itself, without access to sensory feedback. Concretely, a ‘movement sequence’ or a motor program $M$ is a sequence of robot joint configurations. Our goal is to learn the space of such movement patterns that are present across a diverse set of tasks. We do so via learning a ‘motor program network’ that maps elements $z \in R ^ { n }$ to corresponding movement sequences i.e. $\mathcal { M } : \boldsymbol { z } \longrightarrow M$ .
|
| 52 |
+
|
| 53 |
+
Given a set of $N$ unlabelled demonstrations $\{ \tau _ { i } \} _ { i = 1 , 2 , \dots , N }$ that consist of sequences of robot states $\{ s _ { 1 } , s _ { 2 } , . . . , s _ { T } \} \in S$ , our aim is to learn the shared space of motor programs via the motor program network $\mathcal { M }$ . However, as each demonstration $\tau _ { i }$ is unannotated, we do not apriori know what subsequences of the demonstration correspond to a distinct motor program. Therefore, to learn motor programs from these demonstrations, we need to simultaneously learn to understand the demonstrated trajectories in terms of composition of motor programs. Thus in addition to learning the network $\mathcal { M }$ , we also learn a mapping $\mathcal { A }$ from each demonstrated trajectory $\tau _ { i }$ to the underlying sequence of motor programs $\left\{ M _ { 1 } , M _ { 2 } , . . . , M _ { K } \right\}$ (and associated latent variables $\{ z _ { 1 } , z _ { 2 } , . . . , z _ { K } \} )$ executed during the span of the trajectory. We call this mapping $\mathcal { A } : \tau _ { i } \longrightarrow \{ M _ { 1 } , M _ { 2 } , . . . , M _ { K } \}$ the abstraction network, as it abstracts away the details of the trajectory into the set of motor programs (i.e., abstractions). Note that both the abstraction and motor program networks are learned using only a set of demonstrations from across diverse tasks.
|
| 54 |
+
|
| 55 |
+
# 3.1 PRIMITIVE DISCOVERY VIA RECOMPOSITION
|
| 56 |
+
|
| 57 |
+
Our central insight is that we can jointly learn the space of motor programs and the abstraction of the demonstration by enforcing that the implied ‘recomposition’ is faithful to the original demonstration. Concretely, an abstraction of a demonstration into a sequence of motor programs, each of which corresponds to an implied motion sequence, must yield back the original demonstration when the inferred motor programs are decoded and ‘recomposed’. We operationalize this insight to jointly train the motor program and abstraction networks from demonstrations.
|
| 58 |
+
|
| 59 |
+
Learning Overview and Objective: Our approach is outlined in Fig 2, where given an input demonstration trajectory $\tau _ { \mathrm { o b s } }$ , we use the abstraction network to predict a sequence of (a variable number of) latent codes $\left\{ z _ { k } \right\}$ . These are each decoded into corresponding sub-trajectories via the learned motor program network $\mathcal { M }$ .
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\{ z _ { k } \} = A ( \tau _ { o b s } ) ; ~ \bar { \tau } _ { k } = \mathcal { M } ( z _ { k } )
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
Given the decoding of the predicted motor programs, we can recompose these sub-trajectories to obtain a recomposed demonstration trajectory $\tau _ { r e c }$ , and penalize the discrepancy between the observed and the recomposed demonstrations. Denoting by $\oplus$ the concatenation operator, our loss for a given demonstration $\tau _ { o b s }$ is therefore characterized as:
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\tau _ { r e c } = \bar { \tau } _ { 1 } \oplus \bar { \tau } _ { 2 } \cdot \cdot \cdot \oplus \bar { \tau } _ { K } ; L ( \tau _ { o b s } ; { \mathcal { M } } , A ) = \Delta ( \tau _ { o b s } , \tau _ { r e c } )
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
As the trajectories $\tau _ { o b s }$ , $\tau _ { r e c }$ are possibly of different lengths, we use a pairwise matching cost between the two trajectories, where the optimal alignment is computed via dynamic time warping (Berndt &
|
| 72 |
+
|
| 73 |
+
Clifford, 1994). This provides us with a more robust cost measure that handles different prediction lengths, is invariant to minor velocity perturbations, and enables the model to discard regions of inactivity in the demonstrations. Given two trajectories $\tau _ { a } \equiv ( s _ { 1 } \cdots s _ { M } )$ , $\tau _ { b } \equiv ( s _ { 1 } \cdots s _ { N } )$ , and a distance metric $\delta$ over the state space, the discrepancy measure between trajectories can be defined as the matching cost for the optimal matching path $P$ among all possible valid matching paths $\mathcal { P }$ (i.e. paths satisfying monotonicity, continuity, and boundary conditions (Berndt & Clifford, 1994)):
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\Delta ( \tau _ { a } , \tau _ { b } ) = \operatorname* { m i n } _ { P \in \mathcal { P } } \sum _ { ( m , n ) \in P } \delta ( \tau _ { a } [ m ] , \tau _ { b } [ n ] )
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
As the recomposed trajectory comprises of distinct primitives, each of which implies a sequence of states, we sometimes observe discontinuities i.e. large state changes between the boundaries of these primitives. To prevent this, we additionally incorporate a smoothness loss $L _ { s m } ( \tau _ { r e c } )$ that penalizes the state change across consecutive time-steps if they are larger than a certain margin. Our overall objective, comprising of the reconstruction objective and the smoothness prior, can allow us to jointly learn the space of motor programs and the abstraction of trajectories in an unsupervised manner.
|
| 80 |
+
|
| 81 |
+
Network Architecture and Implementation Details. We parameterize our motor program network $\mathcal { M }$ and our abstraction network $\mathcal { A }$ as neural networks. In particular, the motor program network is a 4 layer LSTM (Graves et al., 2013) that takes a single 64 dimensional latent variable $z$ as input, and predicts a sequence of 16 dimensional states. For our abstraction network, we adopt the Transformer (Vaswani et al., 2017) architecture to take in a varying length 16 dimensional continuous joint angle trajectory $\tau$ as input, and predict a variable number of latent variables $\{ z \}$ , that correspond to the sequence of motor programs $\{ M \}$ executed during trajectory $\tau$ . We find the transformer architecture to be superior to LSTMs for processing long trajectories, due to its capacity to attend to parts of the trajectory as required.
|
| 82 |
+
|
| 83 |
+
Our abstraction network $\mathcal { A }$ predicts a varying number of primitives by additionally predicting a ‘continuation probability’ $p _ { k }$ after each motor program variable $z _ { k }$ . We then predict an additional primitive only if the sampled discrete variable from $p _ { k }$ is 1, and therefore also need to learn the prediction of these probabilities. While the loss function above can directly yield gradients to the predicted motor program encoding $z _ { k }$ via $\mathcal { M }$ , we use gradients using REINFORCE Williams (1992) (with $\Delta ( \tau _ { o b s } , \tau _ { r e c } ) + L _ { s m } ( \tau _ { r e c } )$ as negative reward) to learn prediction of $p _ { k }$ .
|
| 84 |
+
|
| 85 |
+
# 3.2 ENFORCING SIMPLICITY AND PARSIMONY
|
| 86 |
+
|
| 87 |
+
While the objective described so far can in principle allow us to jointly learn the space of motor programs and understand the demonstration trajectories as a composition of these, there are additional properties we would wish to enforce to the bias the learning towards more desirable solutions. As an example, our framework presented so far can allow a solution where each demonstration is a motor program by itself i.e. the abstraction network can learn to map each demonstration to a unique $z$ and the primitive decoder can then decode this back. However, this is not a suitable solution as the learned motor programs are not ‘simple’. On the other extreme, a very simple notion of a motor program is one that models each transition independently. However, this is again undesirable as this does not ‘abstract’ away the details of control or represent the demonstration as a smaller number of motor programs. Therefore, in addition to enforcing that the learned motor programs recompose the demonstrations, we also need to enforce simplicity and parsimony of these motor programs.
|
| 88 |
+
|
| 89 |
+
We incorporate these additional biases by adding priors in the objective or model space. To encourage the abstraction model to learn parsimonious abstractions of the input demonstrations, we penalize the number of motor primitives used to recompose the trajectory, by adding a small constant to the negative reward used to train the continuation probability $p _ { k }$ if the corresponding sample yielded an additional primitive. To enforce simplicity of motor primitives, we observe that the trajectories yielded by a classical planner (in our case, RRT-Connect) e.g. to go from an initial to final state are ‘simple’ and we therefore initialize the motor primitive network using the decoder of a pretrained autoencoder on random planner trajectories for (start, goal) state pairs. Note that this notion of ‘plannability’ as ‘simplicity’ is merely one plausible alternative, and alternate ones can be explored e.g. ‘linearity’ (Kroemer et al., 2015) or ‘predictability of motion’ (Wolpert & Kawato, 1998).
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
Figure 3: Visualization of the embedding of the latent representation of motor programs learned by our model (depicted on the left are the start configurations of each motor program, displayed at the corresponding position in the embedded space), and a set of sample primitives unrolled in time (depicted on the right). Each row corresponds to one primitive, annotated with semantic labels of what this motor primitive resembles.
|
| 93 |
+
|
| 94 |
+
# 4 EXPERIMENTS
|
| 95 |
+
|
| 96 |
+
We would like to ascertain how well our approach is capable of achieving our objective of successfully discovering and learning a good representation of the space of motor programs. Further, we seek to verify whether despite being learned in an unsupervised manner without semantic grounding, the learned primitive space is semantically meaningful. We would also like to evaluate how well they can be used to solve downstream RL tasks. We first provide a description of the data we wish to learn primitives from, followed by describing our quantitative and qualitative experiments towards verifying these three axes.
|
| 97 |
+
|
| 98 |
+
Dataset: We use the MIME dataset (Sharma et al., 2018) to train and evaluate our model. The dataset consists of over 8000 kinesthetic demonstrations of 20 tasks (such as pouring, pushing, bottle opening, stacking objects, etc.) collected on a real-world Baxter Robot. While the dataset has head and hand-mounted RGBD data, we use the Baxter joint angle trajectories to train our model. We consider a 16 dimensional space as our input and prediction space, consisting of 7 joints for each of the 2 arms, along with a scalar value for each gripper (we ignore torso and head joints). We emphasize this is a higher dimensional domain than most other related works consider. The gripper values are re-scaled to a $0 - 1$ range, while the joint angles are unnormalized. We temporally down-sample all joint angle data by a constant factor of 20 from the original data frequency of $1 0 0 \mathrm { H z }$ .
|
| 99 |
+
|
| 100 |
+
We randomly sample a train set of 5900 demonstrations from all 20 tasks, with a validation set of 1600 trajectories, and a held-out test set of 850 trajectories. To help evaluate the learned motor programs, we manually annotate a set of 60 test trajectories (3 trajectories from each task) with temporal segmentation annotations, as well as semantic labels of 10 primitives (such as reaching, twisting, pushing, etc.) that occur in these 60 trajectories. Note that these labels are purely for evaluation, our model does not have access to these annotations during training.
|
| 101 |
+
|
| 102 |
+
# 4.1 VISUALIZING THE SPACE OF PRIMITIVES
|
| 103 |
+
|
| 104 |
+
We would first like to evaluate the quality of the learned abstractions in and of themselves, i.e. Is our approach able to discover the space of motor programs, and learn a good representation of this space? We qualitatively answer this question by visualizing the latent representation space of motor primitives learned by our model. We first randomly sample a set of 500 trajectories unseen during training, then pass these trajectories through our model, and retrieve the predicted latent variables $\{ z \}$ for each of these trajectories and their corresponding movement sequences $\{ { \overline { { \tau } } } \}$ . We then embed the latent variables in a 2-dimensional space using T-SNE (van der Maaten & Hinton, 2008), and visualize the corresponding movement sequences at their corresponding position in this 2-D embedded space, as in Fig. 3. We provide a GIF version of Fig. 3 (and other visualizations) at https://sites.google.com/view/discovering-motor-programs/home.
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 4: Depiction of execution of the learned primitives on real world Baxter robot. Each row is a single primitive, while columns show progress of the primitive over time. Row 1 depicts a left handed reaching primitive, while row 2 shows a right handed returning primitive. More visualizations provided in supplementary material, and videos are provided in the webpage.
|
| 108 |
+
|
| 109 |
+
We observe that clusters of movement sequences emerge in this embedded space based on the relative motions executed during the course of these trajectory segments (similar latent variables correspond to similar movement sequences and vice versa). While these clusters are not explicitly semantically labelled by our approach, the motions in these clusters correlate highly with traditional notions of skills in robot manipulation, i.e. reaching motions (top and top-left clusters), returning motions (bottom cluster), bi-manual motions (visible to the bottom right of the left most cluster and the bottom of the right most cluster), etc. We visualize a few such primitives (reaching, twisting, grasping, bi-manual pulling, etc.) among these to the right of Fig. 3. This shows our model learns smooth mappings $\mathcal { M }$ and $\mathcal { A }$ , and is capable of discovering such primitives in an unsupervised manner without explicit temporal segmentation or semantic labels, which we believe is an encouraging result.
|
| 110 |
+
|
| 111 |
+
Interestingly, the model learns abstractions that pick up on the trend of the motion, rather than distinguishing between whether the left or right hand is used for the motion. This is particularly notable in the case of reaching and returning motions, where both left and right-handed reaching and returning motions appear alongside each other in their respective clusters in the embedded space.
|
| 112 |
+
|
| 113 |
+
# 4.1.1 EXECUTING PRIMITIVES ON A REAL ROBOT
|
| 114 |
+
|
| 115 |
+
We would ideally like the learned primitives from our model to be useful on a real Baxter robot platform, and be suitably smooth, feasible, and correspond to the motions executed in simulation (i.e. be largely unaffected by the noise of execution on a real robot). To verify whether our model is indeed able to learn such primitives, we execute a small set of learned primitives on a real Baxter robot, by feeding in the trajectory predicted by the model into a simple position controller. We visualize the results of this execution in Fig. 4, (see project webpage for videos). Despite not explicitly optimizing for feasibility or transfer to a real robot, the use of real-world Baxter data to train our model heavily biases the model towards primitives that are inherently feasible, relatively smooth and can be executed on a real robot without any subsequent modifications.
|
| 116 |
+
|
| 117 |
+
# 4.2 SEMANTIC SEGMENTATION TRANSFER USING LEARNED ABSTRACTIONS
|
| 118 |
+
|
| 119 |
+
As the ‘recomposed’ trajectory can be aligned to the original demonstration via sequence alignment, our predicted abstractions induce a partitioning of the demonstrated trajectory (corresponding to the aligned boundaries of the predicted primitives). We test whether the predicted abstraction and induced partitions are consistent across different demonstrations from the same task. To this end, we select 3 instances of the “Drop Object” task (Sharma et al., 2018) from the annotated test set, and retrieve the induced segmentations of the demonstration. We then visualize these segmentations and motor programs predicted for each of these 3 demonstrations as depicted in Fig. 5, along with the ground truth semantic labels of primitives for each of the demonstrations.
|
| 120 |
+
|
| 121 |
+
The alignment between a recomposed trajectory and the original demonstration also allows us to transfer semantic annotations from a demonstration to the predicted primitives, by simply copying labels from the demonstration to their aligned timepoints in the primitives. Therefore using our small set of annotated demonstrations, we can construct a small library of semantically annotated primitives. Given a novel, unseen demonstration, we can compute its predicted primitives and assign each a semantic label by copying the label of the nearest primitive from the library. This allows us to transfer semantic segmentations from our small annotated test set to unseen demonstrations. Our model’s transfer of semantic segmentation achieves label accuracy on the set of 30 held out trajectories (across all 20 tasks) of $58 \%$ , while a supervised LSTM baseline that predicts semantic labels from trajectories (trained on 30 annotated test trajectories) achieves $54 \%$ accuracy.
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 5: Visualization of consistent segmentations. Each row represents a different instance of a “Drop Objects” task from the MIME Dataset, while each column represents a time-step in the demonstration. White frames represent predicted segmentation points, while colored boxes represent ground truth semantic annotations. Red boxes are reaching primitives, blue boxes are grasping, orange boxes are placing, and green boxes are returning primitives. We see our model predicts 4 motor programs - reaching, grasping, placing the object a small distance away, and returning. This is consistent with the true semantic annotations of these demonstrations, and the overall sequence of primitives expected of the “Drop Box” task.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 6: RL training curves with and without motor programs. Solid lines denote mean success rate, while shaded region denotes $\pm 1$ standard deviation across 10 random seeds.
|
| 128 |
+
|
| 129 |
+
The consistency of our abstractions coupled with the ability to transfer semantic segmentations across demonstrations shows our model is capable of understanding commonalities across demonstrations, and is able to reason about various demonstrations in terms of motor programs shared across them, despite being trained in an unsupervised manner.
|
| 130 |
+
|
| 131 |
+
# 4.3 COMPOSING PRIMITIVES FOR HIERARCHICAL RL
|
| 132 |
+
|
| 133 |
+
One of our primary motivations for learning motor programs is that they can be composed together to solve downstream robotic tasks. To evaluate whether the motor programs learned by our model are indeed useful for such downstream tasks, we adopt a hierarchical reinforcement learning setup (as described in detail in the supplementary). For a given task, we train a policy to predict the sequence of motor programs to execute. Given the predicted latent representations, each motor program is decoded into its corresponding motion sequence using the previously learned motor program network. We retrieve a sequence of desired joint velocities from this motion sequence and use a joint velocity controller to execute these “low-level” actions on the robot. The motor program network and the joint velocity controller together serve as an “abstraction” of the low-level control that is executed on the robot. Hence, the policy must learn to predict motor programs that correspond to motion sequences useful for solving the task at hand.
|
| 134 |
+
|
| 135 |
+
As demonstrated in Fig. 6, training a policy using motor programs is several orders of magnitude more efficient than training with direct low-level actions. For the sparse reaching task, the motor program policy learns within 50 motor program queries, 2 orders of magnitude speedup in low-level control time-steps. For the sparse pushing task, the motor program policy learns within 1000 motor program queries, or a 2X speedup with respect to low-level control time-steps. We note that executing a motor program corresponds to 50 low level control steps (see appendix for details). However, as these motor programs are executed without environment feedback, the improvement in efficiency in terms of environment interactions is all the more significant.
|
| 136 |
+
|
| 137 |
+
# 5 CONCLUSION
|
| 138 |
+
|
| 139 |
+
We have presented an unsupervised approach to discover motor programs from a set of unstructured robot demonstrations. Through the insight that learned motor programs should recompose into the original demonstration while being simplistic, we discover a coherent and diverse latent space of primitives on the MIME (Sharma et al., 2018) dataset. We also observed that the learned primitives were semantically meaningful, and useful for efficiently learning downstream tasks in simulation. We hope that the contributions from our work enable learning and executing primitives in a plethora of real-world robotic tasks. It would also be interesting to leverage the learned motor programs in context of continual learning, to investigate how the discovered space can be adapted and expanded in context of novel robotic tasks.
|
| 140 |
+
|
| 141 |
+
# REFERENCES
|
| 142 |
+
|
| 143 |
+
Jack A Adams. A closed-loop theory of motor learning. Journal of motor behavior, 3(2):111–150, 1971.
|
| 144 |
+
|
| 145 |
+
Pulkit Agrawal, Ashvin V Nair, Pieter Abbeel, Jitendra Malik, and Sergey Levine. Learning to poke by poking: Experiential learning of intuitive physics. In NIPS, 2016.
|
| 146 |
+
|
| 147 |
+
Jacob Andreas, Dan Klein, and Sergey Levine. Modular multitask reinforcement learning with policy sketches. In ICML, 2017.
|
| 148 |
+
|
| 149 |
+
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 NIPS, 2017.
|
| 150 |
+
|
| 151 |
+
Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, Jonas Schneider, Josh Tobin Szymon Sidor, Peter Welinder, Lilian Weng, and Wojciech Zaremba. Learning dexterous in-hand manipulation. arXiv preprint arXiv:1808.00177, 2018.
|
| 152 |
+
|
| 153 |
+
Brenna D Argall, Sonia Chernova, Manuela Veloso, and Brett Browning. A survey of robot learning from demonstration. Robotics and autonomous systems, 2009.
|
| 154 |
+
|
| 155 |
+
Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In AAAI, 2017.
|
| 156 |
+
|
| 157 |
+
Donald J Berndt and James Clifford. Using dynamic time warping to find patterns in time series. In KDD workshop, 1994.
|
| 158 |
+
|
| 159 |
+
John D Co-Reyes, YuXuan Liu, Abhishek Gupta, Benjamin Eysenbach, Pieter Abbeel, and Sergey Levine. Self-consistent trajectory autoencoder: Hierarchical reinforcement learning with trajectory embeddings. arXiv preprint arXiv:1806.02813, 2018.
|
| 160 |
+
|
| 161 |
+
Christian Daniel, Herke Van Hoof, Jan Peters, and Gerhard Neumann. Probabilistic inference for determining options in reinforcement learning. Machine Learning, 2016.
|
| 162 |
+
|
| 163 |
+
Anca D Dragan, Katharina Muelling, J Andrew Bagnell, and Siddhartha S Srinivasa. Movement primitives via optimization. In ICRA, 2015.
|
| 164 |
+
|
| 165 |
+
Nasser Esmaili, Claude Sammut, and GM Shirazi. Behavioural cloning in control of a dynamic system. IEEE, 1995.
|
| 166 |
+
|
| 167 |
+
Richard E Fikes and Nils J Nilsson. Strips: A new approach to the application of theorem proving to problem solving. Artificial intelligence, 1971.
|
| 168 |
+
|
| 169 |
+
Roy Fox, Sanjay Krishnan, Ion Stoica, and Ken Goldberg. Multi-level discovery of deep options. arXiv preprint arXiv:1703.08294, 2017.
|
| 170 |
+
|
| 171 |
+
Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. IEEE, 2013.
|
| 172 |
+
|
| 173 |
+
Tuomas Haarnoja, Kristian Hartikainen, Pieter Abbeel, and Sergey Levine. Latent space policies for hierarchical reinforcement learning. arXiv preprint arXiv:1804.02808, 2018.
|
| 174 |
+
|
| 175 |
+
De-An Huang, Suraj Nair, Danfei Xu, Yuke Zhu, Animesh Garg, Li Fei-Fei, Silvio Savarese, and Juan Carlos Niebles. Neural task graphs: Generalizing to unseen tasks from a single video demonstration. In CVPR, 2019.
|
| 176 |
+
|
| 177 |
+
Steven W Keele. Movement control in skilled motor performance. Psychological bulletin, 70(6p1): 387, 1968.
|
| 178 |
+
|
| 179 |
+
Thomas Kipf, Yujia Li, Hanjun Dai, Vinicius Zambaldi, Alvaro Sanchez-Gonzalez, Edward Grefenstette, Pushmeet Kohli, and Peter Battaglia. Compile: Compositional imitation learning and execution. In ICML, 2019.
|
| 180 |
+
|
| 181 |
+
Jens Kober and Jan Peters. Learning motor primitives for robotics. In ICRA, 2009.
|
| 182 |
+
|
| 183 |
+
George Konidaris and Andrew Barto. Skill chaining: Skill discovery in continuous domains. In the Multidisciplinary Symposium on Reinforcement Learning, Montreal, Canada, 2009.
|
| 184 |
+
|
| 185 |
+
George Konidaris, Scott Kuindersma, Roderic Grupen, and Andrew Barto. Robot learning from demonstration by constructing skill trees. IJRR, 2012.
|
| 186 |
+
|
| 187 |
+
Sanjay Krishnan, Roy Fox, Ion Stoica, and Ken Goldberg. Ddco: Discovery of deep continuous options for robot learning from demonstrations. arXiv preprint arXiv:1710.05421, 2017.
|
| 188 |
+
|
| 189 |
+
Sanjay Krishnan, Animesh Garg, Sachin Patil, Colin Lea, Gregory Hager, Pieter Abbeel, and Ken Goldberg. Transition state clustering: Unsupervised surgical trajectory segmentation for robot learning. In RR. 2018.
|
| 190 |
+
|
| 191 |
+
Oliver Kroemer, Christian Daniel, Gerhard Neumann, Herke Van Hoof, and Jan Peters. Towards learning hierarchical skills for multi-phase manipulation tasks. In ICRA, 2015.
|
| 192 |
+
|
| 193 |
+
Karl Spencer Lashley. The problem of serial order in behavior, volume 21.
|
| 194 |
+
|
| 195 |
+
Sergey Levine, Chelsea Finn, Trevor Darrell, and Pieter Abbeel. End-to-end training of deep visuomotor policies. JMLR, 2016.
|
| 196 |
+
|
| 197 |
+
Sergey Levine, Peter Pastor, Alex Krizhevsky, Julian Ibarz, and Deirdre Quillen. Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection. IJRR, 2018.
|
| 198 |
+
|
| 199 |
+
Corey Lynch, Mohi Khansari, Ted Xiao, Vikash Kumar, Jonathan Tompson, Sergey Levine, and Pierre Sermanet. Learning latent plans from play. arXiv preprint arXiv:1903.01973, 2019.
|
| 200 |
+
|
| 201 |
+
Franziska Meier, Evangelos Theodorou, Freek Stulp, and Stefan Schaal. Movement segmentation using a primitive library. In 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2011.
|
| 202 |
+
|
| 203 |
+
Adithyavairavan Murali, Animesh Garg, Sanjay Krishnan, Florian T Pokorny, Pieter Abbeel, Trevor Darrell, and Ken Goldberg. Tsc-dl: Unsupervised trajectory segmentation of multi-modal surgical demonstrations with deep learning. In ICRA, 2016.
|
| 204 |
+
|
| 205 |
+
Gerhard Neumann, Christian Daniel, Alexandros Paraschos, Andras Kupcsik, and Jan Peters. Learning modular policies for robotics. Frontiers in computational neuroscience, 8:62, 2014.
|
| 206 |
+
|
| 207 |
+
Monica N Nicolescu and Maja J Mataric. Natural methods for robot task learning: Instructive demonstrations, generalization and practice. In AAMAS, 2003.
|
| 208 |
+
|
| 209 |
+
Scott Niekum, Sarah Osentoski, George Konidaris, and Andrew G Barto. Learning and generalization of complex tasks from unstructured demonstrations. IEEE, 2012.
|
| 210 |
+
|
| 211 |
+
Jan Peters, Jens Kober, Katharina Mülling, Oliver Krämer, and Gerhard Neumann. Towards robot skill learning: From simple skills to table tennis. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 627–631. Springer, 2013.
|
| 212 |
+
|
| 213 |
+
Lerrel Pinto and Abhinav Gupta. Supersizing self-supervision: Learning to grasp from $5 0 \mathrm { k }$ tries and 700 robot hours. In ICRA, 2016.
|
| 214 |
+
|
| 215 |
+
Stefan Schaal, Jan Peters, Jun Nakanishi, and Auke Ijspeert. Learning movement primitives. In RR, 2005.
|
| 216 |
+
|
| 217 |
+
Richard A Schmidt. A schema theory of discrete motor skill learning. Psychological review, 82(4): 225, 1975.
|
| 218 |
+
|
| 219 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
|
| 220 |
+
|
| 221 |
+
Pratyusha Sharma, Lekha Mohan, Lerrel Pinto, and Abhinav Gupta. Multiple interactions made easy (mime): Large scale demonstrations data for imitation. In CoRL, 2018.
|
| 222 |
+
|
| 223 |
+
Kyriacos Shiarlis, Markus Wulfmeier, Sasha Salter, Shimon Whiteson, and Ingmar Posner. Taco: Learning task decomposition via temporal alignment for control. arXiv preprint arXiv:1803.01840, 2018.
|
| 224 |
+
|
| 225 |
+
Matthew Smith, Herke Hoof, and Joelle Pineau. An inference-based policy gradient method for learning options. In ICML, 2018.
|
| 226 |
+
|
| 227 |
+
Shao-Hua Sun, Hyeonwoo Noh, Sriram Somasundaram, and Joseph Lim. Neural program synthesis from diverse demonstration videos. In ICML, 2018.
|
| 228 |
+
|
| 229 |
+
Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 1999.
|
| 230 |
+
|
| 231 |
+
L.J.P. van der Maaten and G.E. Hinton. Visualizing high-dimensional data using t-sne. 2008.
|
| 232 |
+
|
| 233 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. 2017. URL https://arxiv.org/ pdf/1706.03762.pdf.
|
| 234 |
+
|
| 235 |
+
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 1992.
|
| 236 |
+
|
| 237 |
+
Daniel M Wolpert and Mitsuo Kawato. Multiple paired forward and inverse models for motor control. Neural networks, 1998.
|
| 238 |
+
|
| 239 |
+
Danfei Xu, Suraj Nair, Yuke Zhu, Julian Gao, Animesh Garg, Li Fei-Fei, and Silvio Savarese. Neural task programming: Learning to generalize across hierarchical tasks. In ICRA, 2018.
|
| 240 |
+
|
| 241 |
+
# A APPENDIX
|
| 242 |
+
|
| 243 |
+
# A.1 EXECUTING PRIMITIVES ON A REAL ROBOT
|
| 244 |
+
|
| 245 |
+
We provide additional visualizations of primitives being executed on the real robot below. As mentioned in the main paper, dynamic GIFs of these visualizations may be found at https://sites.google.com/view/discovering-motor-programs/home.
|
| 246 |
+
|
| 247 |
+

|
| 248 |
+
Figure 7: Depiction of execution of additional learned primitives on real world Baxter robot. As in Fig. 4, each row is a single primitive, while columns show progress of the primitive over time. Row 1 depicts a left handed returning primitive, row 2 depicts a right handed pushing primitive, row 3 depicts a left handed pushing primitive (in a different configuration to the left handed one), and finally row 4 depicts a right handed twisting primitive.
|
| 249 |
+
|
| 250 |
+
Our results webpage https://sites.google.com/view/discovering-motor-programs/home also contains visualizations of predicted combinations of primitives being executed on the real robot (as well as in simulation), along with corresponding demonstrations for comparison. We note that both the individual primitives, as well as the combinations of primitives are executed quite smoothly and naturally, and lead to motions that correspond highly to the original demonstrations. This indicates such combinations of primitives can indeed be used towards downstream tasks on the real robot.
|
| 251 |
+
|
| 252 |
+
A.2 DETAILS OF HIERARCHICAL REINFORCEMENT LEARNING SETUP
|
| 253 |
+
|
| 254 |
+
For our hierarchical reinforcement learning experiments, we perform policy learning on two sparse reward (Andrychowicz et al., 2017) tasks on a simulated Baxter Robot: (a) Reaching, and (b) Pushing. For the reaching task, the robot’s end-effector needs to reach a specific location in space, while for the pushing task, the robot needs to push a block on the table to a specific location.
|
| 255 |
+
|
| 256 |
+
For Baxter-Reaching task, the goal is to get the right-hand’s end-effector to a pre-defined goal (x,y,z) state. The reward is a sparse reward with epsilon $\scriptstyle 1 = 0 . 0 5 \mathrm { m }$ ; So if the end-effector reaches within $5 \mathrm { c m }$ of the goal, it gets a reward of $+ 1$ , otherwise it gets a reward of 0. For Baxter-Push, the goal is to get a block (cube) to the desired goal with epsilon $= 0 . 0 5 \mathrm { m }$ . To do this, the robot needs to hit/push the block to the goal. There is no other dense reward to encourage the robot to hit the block.
|
| 257 |
+
|
| 258 |
+
We train both our motor program policy and the baseline control policy using Proximal Policy Optimization (Schulman et al., 2017). Note that the motor program policy outputs the latent representation $z$ . Each $z$ expands into a 10 length trajectory according the motor program network. To reach each of these trajectory states, a PD velocity controller is used for 5 time-steps. The baseline control policy directly outputs the velocity control action.
|
| 259 |
+
|
| 260 |
+
We note that our PPO baseline implements the same action for 10 timesteps, in a manner similar to frame-skipping, as is common in RL. We found that varying the number of timesteps frame-skipping was applied for did not have a significant effect on the performance of PPO.
|
parse/train/rkgHY0NYwr/rkgHY0NYwr_content_list.json
ADDED
|
@@ -0,0 +1,1449 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "DISCOVERING MOTOR PROGRAMS BY RECOMPOSING DEMONSTRATIONS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Tanmay Shankar Facebook AI Research tanmayshankar@fb.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
383,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Shubham Tulsiani Facebook AI Research shubhtuls@fb.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
516,
|
| 30 |
+
170,
|
| 31 |
+
676,
|
| 32 |
+
212
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Lerrel Pinto Robotics Institute, CMU lerrelp@cs.cmu.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
184,
|
| 41 |
+
233,
|
| 42 |
+
362,
|
| 43 |
+
275
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abhinav Gupta Facebook AI Research gabhinav@fb.com ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
521,
|
| 52 |
+
233,
|
| 53 |
+
671,
|
| 54 |
+
275
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "ABSTRACT ",
|
| 61 |
+
"text_level": 1,
|
| 62 |
+
"bbox": [
|
| 63 |
+
454,
|
| 64 |
+
311,
|
| 65 |
+
544,
|
| 66 |
+
327
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "In this paper, we present an approach to learn recomposable motor primitives across large-scale and diverse manipulation demonstrations. Current approaches to decomposing demonstrations into primitives often assume manually defined primitives and bypass the difficulty of discovering these primitives. On the other hand, approaches in primitive discovery put restrictive assumptions on the complexity of a primitive, which limit applicability to narrow tasks. Our approach attempts to circumvent these challenges by jointly learning both the underlying motor primitives and recomposing these primitives to form the original demonstration. Through constraints on both the parsimony of primitive decomposition and the simplicity of a given primitive, we are able to learn a diverse set of motor primitives, as well as a coherent latent representation for these primitives. We demonstrate, both qualitatively and quantitatively, that our learned primitives capture semantically meaningful aspects of a demonstration. This allows us to compose these primitives in a hierarchical reinforcement learning setup to efficiently solve robotic manipulation tasks like reaching and pushing. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
233,
|
| 75 |
+
344,
|
| 76 |
+
766,
|
| 77 |
+
551
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "1 INTRODUCTION ",
|
| 84 |
+
"text_level": 1,
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
580,
|
| 88 |
+
336,
|
| 89 |
+
597
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We have seen impressive progress over the recent years in learning based approaches to perform a plethora of manipulation tasks (Levine et al., 2016; Andrychowicz et al., 2018; Levine et al., 2018; Pinto & Gupta, 2016; Agrawal et al., 2016). However, these systems are typically task-centric savants – able to only execute a single task that they were trained for. This is because these systems, whether leveraging demonstrations or environmental rewards, attempt to learn each task tabula rasa, where low to high level motor behaviours, are all acquired from scratch in context of the specified task. In contrast, we humans are adept at a variety of basic manipulation skills e.g. picking, pushing, grasping etc., and can effortlessly perform these diverse tasks via a unified manipulation system. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
612,
|
| 99 |
+
825,
|
| 100 |
+
724
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/b5feeea84c9869e3d3f573006e584d2216ccc197dabf598ae72c0fa007cf45c7.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Sample motor programs that emerge by discovering the space of motor programs from a diverse set of robot demonstration data in an unsupervised manner. These motor programs facilitate understanding the commonalities across various demonstrations, and accelerate learning for downstream tasks. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
178,
|
| 113 |
+
741,
|
| 114 |
+
821,
|
| 115 |
+
829
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "How can we step-away from the paradigm of learning task-centric savants, and move towards building similar unified manipulation systems? We can begin by not treating these tasks independently, but via instead exploiting the commonalities across them. One such commonality relates to the primitive actions executed to accomplish the tasks – while the high-level semantics of tasks may differ significantly, the low and mid-level motor programs across them are often shared e.g. to either pick or push an object, one must move the hand towards it. This concept of motor programs can be traced back to the work of Lashley, who noted that human motor movements consist of ‘orderly sequences’ that are not simply sequences of stimulus-response patterns. The term ‘motor programs’ is however better attributed to Keele (1968) as being representative of ‘muscle commands that execute a movement sequence uninfluenced by peripheral feedback’, though later works shifted the focus from muscle commands to the movement itself, while allowing for some feedback (Adams, 1971). More directly relevant to our motivation is Schmidt’s notion of ‘generalized’ motor programs (Schmidt, 1975) that can allow abstracting a class of movement patterns instead of a singular one. In this work, we present an approach to discover the shared space of (generalized) motor programs underlying a variety of tasks, and show that elements from this space can be composed to accomplish diverse tasks. Not only does this allow understanding the commonalities and shared structure across diverse skills, the discovered space of motor programs can provide a high-level abstraction using which new skills can be acquired quickly by simply learning the set of desired motor programs to compose. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
895,
|
| 125 |
+
823,
|
| 126 |
+
924
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 0
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
104,
|
| 136 |
+
825,
|
| 137 |
+
325
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "We are not the first to advocate the use of such mid-level primitives for efficient learning or generalization, and there have been several reincarnations of this idea over the decades, from ‘operators’ in the classical STRIPS algorithm (Fikes & Nilsson, 1971), to ‘options’ (Sutton et al., 1999) or ‘primitives’ (Schaal et al., 2005) in modern usage. These previous approaches however assume a set of manually defined/programmed primitives and therefore bypass the difficulty of discovering them. While some attempts have been made to simultaneously learn the desired skill and the underlying primitives, learning both from scratch is difficult, and are therefore restricted to narrow tasks. Towards overcoming this difficulty, we observe that instead of learning the primitives from scratch in the context of a specific task, we can instead discover them using demonstrations of a diverse set of tasks. Concretely, by leveraging demonstrations for different skills e.g. pouring, grasping, opening etc., we discover the motor programs (or movement primitives) that occur across these. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
333,
|
| 147 |
+
825,
|
| 148 |
+
486
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "We present an approach to discover movement primitives from a set of unstructured robot demonstration i.e. demonstrations without additional parsing or segmentation labels available. This is a challenging task as each demonstration is composed of a varying number of unknown primitives, and therefore the process of learning entails both, learning the space of primitives as well as understanding the available demonstrations in context of these. Our approach is based on the insight that an abstraction of a demonstrations into a sequence of motor programs or primitives, each of which correspond to an implied movement sequence, and must yield back the demonstration when the inferred primitives are ‘recomposed’. We build on this and formulate an unsupervised approach to jointly learn the space of movement primitives, as well as a parsing of the available demonstrations into a high-level sequence of these primitives. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
492,
|
| 158 |
+
825,
|
| 159 |
+
631
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "We demonstrate that our method allows us to learn a primitive space that captures the shared motions required across diverse skills, and that these motor programs can be adapted and composed to further perform specific tasks. Furthermore, we show that these motor programs are semantically meaningful, and can be recombined to solved robotic tasks using reinforcement learning. Specifically, solving reaching and pushing tasks with reinforcement learning over the space of primitives achieves 2 orders of magnitude faster training than reinforcement learning in the low-level control space. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
638,
|
| 169 |
+
825,
|
| 170 |
+
722
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "2 RELATED WORK ",
|
| 177 |
+
"text_level": 1,
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
743,
|
| 181 |
+
344,
|
| 182 |
+
761
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Our work is broadly related to several different lines of work which either learn task policies from demonstrations, or leverage known primitives for various applications, or learn primitives in context of known segments. While we discuss these relations in more detail below, we note that previous primitive based approaches either require: a) a known and fixed primitive space, or b) annotated segments each corresponding to a primitive. In contrast, we learn the space of primitives without requiring this segmentation annotation, and would like to emphasize that ours is the first work to do so for a diverse set of demonstrations spanning multiple tasks. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
776,
|
| 192 |
+
825,
|
| 193 |
+
875
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Learning from Demonstration: The field of learning from demonstrations (LfD) (Nicolescu & Mataric, 2003) has sought to learn to perform tasks from a set of demonstrated behaviors. A number of techniques exist to do so, including cloning the demonstrated behavior (Esmaili et al., 1995), fitting a parametric model to the demonstrations (Kober & Peters, 2009; Peters et al., 2013), or first segmenting the demonstrations and fitting a model to each of the resultant segments (Niekum et al., 2012; Krishnan et al., 2018; Murali et al., 2016; Meier et al., 2011). We point the reader to Argall et al. (2009) for a comprehensive overview of the field. Rather than directly learn to perform tasks, we use demonstrations to learn a diverse set of composable and reusable primitives, or motor-programs that may be used to perform a variety of downstream tasks. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
176,
|
| 202 |
+
882,
|
| 203 |
+
825,
|
| 204 |
+
924
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "",
|
| 211 |
+
"bbox": [
|
| 212 |
+
174,
|
| 213 |
+
103,
|
| 214 |
+
825,
|
| 215 |
+
188
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "Learning and Sequencing Motion Primitives: Several works (Kober & Peters, 2009; Peters et al., 2013) learn motion primitives from demonstrations using predetermined representations of skills such as Dynamic Movement Primitives (DMPs) (Schaal et al., 2005). A few other works have approached the problem from an optimization perspective (Dragan et al., 2015). Given these primitives, a question that arises is how to then sequence learned skills to perform downstream tasks. Several works have attempted to answer this question - (Neumann et al., 2014) builds a layered approach to adapt, select, and sequence DMPs. Konidaris et al. (2012); Konidaris & Barto (2009) segments demonstrations into sequences of skills, and also merge these skills into skill-trees. However, the predetermined representations of primitives adopted in these works can prove restrictive. In particular, it prevents learning arbitrarily expressive motions and adapting these motions to a generic downstream task. We seek to move away from these fixed representations of primitives, and instead learn representations of primitives along with the primitives themselves. ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
174,
|
| 224 |
+
194,
|
| 225 |
+
825,
|
| 226 |
+
361
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "Latent Variable Models: The family of latent variable models (LVMs) provides us with fitting machinery to do so. Indeed, the success of LVMs in learning representations in deep learning has inspired several recent works (Co-Reyes et al., 2018; Kipf et al., 2019; Haarnoja et al., 2018; Lynch et al., 2019) to learn latent representations of trajectories. SeCTAR (Co-Reyes et al., 2018) builds a latent variable conditioned policy and model that are constrained to be consistent with one another, and uses the learned policies and model for hierarchical reinforcement learning. The CompILE framework (Kipf et al., 2019) seeks to learn variable length trajectory segments from demonstrations instead, and uses latent variables to represent these trajectory segments, but is evaluated in relatively low-dimensional domains. We adopt a similar perspective to these works and learn continuous latent variable representations (or abstractions) of trajectory segments. ",
|
| 233 |
+
"bbox": [
|
| 234 |
+
173,
|
| 235 |
+
367,
|
| 236 |
+
825,
|
| 237 |
+
507
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "Hierarchical RL and the Options Framework: The related field of hierarchical reinforcement learning (HRL) learns a layering of policies that each abstract away details of control of the policies of a lower level. The Options framework (Sutton et al., 1999) also learns similar temporal abstractions over sequences of atomic actions. While promising, its application has traditionally been restricted to simple domains due to the difficulty of jointly learning internal option policies along with a policy over those options. Recent works have managed to do so with only a reward function as feedback. The Option-Critic framework (Bacon et al., 2017) employs a policy-gradient formulation of options to do so, while the Option-Gradient (Smith et al., 2018) learns options in an off-policy manner. In contrast with most prior work in the options framework, (Daniel et al., 2016; Fox et al., 2017; Krishnan et al., 2017) learn options from a set of demonstrations, rather than in the RL setting. In similar spirit to these works, we too seek to learn abstractions from a given set of demonstrations, however unlike DDO (Fox et al., 2017), DDCO (Krishnan et al., 2017), and CompILE (Kipf et al., 2019), we can learn primitives beyond a discrete set of options in a relatively high dimensional domain. ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
173,
|
| 246 |
+
513,
|
| 247 |
+
825,
|
| 248 |
+
694
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "Hierarchical representations of demonstrations: The idea of hierarchical task representations has permeated into LfD as well. In contrast to reasoning about demonstrations in a flat manner, one may also infer the hierarchical structure of tasks performed in demonstrations. A few recent works have striven to do so, by representing these tasks as programs (Xu et al., 2018; Sun et al., 2018), or as task graphs (Huang et al., 2019). Both Xu et al. (2018) and Huang et al. (2019) address generalizing to new instances of manipulation tasks in the low-shot regime by abstracting away low-level controls. ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
174,
|
| 257 |
+
702,
|
| 258 |
+
825,
|
| 259 |
+
785
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "text",
|
| 265 |
+
"text": "The idea of policy sketches, i.e. a sketch of the sub-tasks to be accomplished in a particular task, has become popular (Andreas et al., 2017; Shiarlis et al., 2018). Andreas et al. (2017) learn modular policies in the RL setting provided with such policy sketches. Shiarlis et al. (2018) provides a modular LfD framework based on this idea of policy sketches. While all of these works address learning policies at various levels from demonstrations, unlike our approach, they each assume access to heavy supervision over demonstrations to do so. ",
|
| 266 |
+
"bbox": [
|
| 267 |
+
174,
|
| 268 |
+
791,
|
| 269 |
+
825,
|
| 270 |
+
875
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "image",
|
| 276 |
+
"img_path": "images/9c3d5e5cdfc94f10327df91a3b7379269d256c40ccd7551f868ee4a85134bc2b.jpg",
|
| 277 |
+
"image_caption": [
|
| 278 |
+
"Figure 2: An overview of our approach. Our abstraction network takes in an observed demonstration $\\tau _ { o b s }$ and predict a sequence of latent variables $\\{ z \\}$ . These $\\{ z \\}$ are each decoded into their corresponding motor programs via the motor program network. We finally recompose these motor programs into the recomposed trajectory. "
|
| 279 |
+
],
|
| 280 |
+
"image_footnote": [],
|
| 281 |
+
"bbox": [
|
| 282 |
+
181,
|
| 283 |
+
104,
|
| 284 |
+
816,
|
| 285 |
+
238
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 3
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "3 APPROACH",
|
| 292 |
+
"text_level": 1,
|
| 293 |
+
"bbox": [
|
| 294 |
+
174,
|
| 295 |
+
290,
|
| 296 |
+
299,
|
| 297 |
+
305
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "We seek to discover the space of motor programs directly from unstructured demonstrations in an unsupervised manner, and show that these can help understanding similarities across tasks as well as quickly quickly adapting to and solving new tasks. Building on ideas of Keele (1968) and Schmidt (1975), we define a motor program $M$ as a movement pattern that may be executed in and of itself, without access to sensory feedback. Concretely, a ‘movement sequence’ or a motor program $M$ is a sequence of robot joint configurations. Our goal is to learn the space of such movement patterns that are present across a diverse set of tasks. We do so via learning a ‘motor program network’ that maps elements $z \\in R ^ { n }$ to corresponding movement sequences i.e. $\\mathcal { M } : \\boldsymbol { z } \\longrightarrow M$ . ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
173,
|
| 306 |
+
320,
|
| 307 |
+
825,
|
| 308 |
+
433
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "Given a set of $N$ unlabelled demonstrations $\\{ \\tau _ { i } \\} _ { i = 1 , 2 , \\dots , N }$ that consist of sequences of robot states $\\{ s _ { 1 } , s _ { 2 } , . . . , s _ { T } \\} \\in S$ , our aim is to learn the shared space of motor programs via the motor program network $\\mathcal { M }$ . However, as each demonstration $\\tau _ { i }$ is unannotated, we do not apriori know what subsequences of the demonstration correspond to a distinct motor program. Therefore, to learn motor programs from these demonstrations, we need to simultaneously learn to understand the demonstrated trajectories in terms of composition of motor programs. Thus in addition to learning the network $\\mathcal { M }$ , we also learn a mapping $\\mathcal { A }$ from each demonstrated trajectory $\\tau _ { i }$ to the underlying sequence of motor programs $\\left\\{ M _ { 1 } , M _ { 2 } , . . . , M _ { K } \\right\\}$ (and associated latent variables $\\{ z _ { 1 } , z _ { 2 } , . . . , z _ { K } \\} )$ executed during the span of the trajectory. We call this mapping $\\mathcal { A } : \\tau _ { i } \\longrightarrow \\{ M _ { 1 } , M _ { 2 } , . . . , M _ { K } \\}$ the abstraction network, as it abstracts away the details of the trajectory into the set of motor programs (i.e., abstractions). Note that both the abstraction and motor program networks are learned using only a set of demonstrations from across diverse tasks. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
438,
|
| 318 |
+
825,
|
| 319 |
+
604
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "3.1 PRIMITIVE DISCOVERY VIA RECOMPOSITION ",
|
| 326 |
+
"text_level": 1,
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
621,
|
| 330 |
+
529,
|
| 331 |
+
636
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "Our central insight is that we can jointly learn the space of motor programs and the abstraction of the demonstration by enforcing that the implied ‘recomposition’ is faithful to the original demonstration. Concretely, an abstraction of a demonstration into a sequence of motor programs, each of which corresponds to an implied motion sequence, must yield back the original demonstration when the inferred motor programs are decoded and ‘recomposed’. We operationalize this insight to jointly train the motor program and abstraction networks from demonstrations. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
173,
|
| 340 |
+
647,
|
| 341 |
+
825,
|
| 342 |
+
731
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Learning Overview and Objective: Our approach is outlined in Fig 2, where given an input demonstration trajectory $\\tau _ { \\mathrm { o b s } }$ , we use the abstraction network to predict a sequence of (a variable number of) latent codes $\\left\\{ z _ { k } \\right\\}$ . These are each decoded into corresponding sub-trajectories via the learned motor program network $\\mathcal { M }$ . ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
738,
|
| 352 |
+
825,
|
| 353 |
+
794
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "equation",
|
| 359 |
+
"img_path": "images/2bf7269283e20c7dbbe47cac30c1cdfe0ce22f43c73f411c838acf55b5895b71.jpg",
|
| 360 |
+
"text": "$$\n\\{ z _ { k } \\} = A ( \\tau _ { o b s } ) ; ~ \\bar { \\tau } _ { k } = \\mathcal { M } ( z _ { k } )\n$$",
|
| 361 |
+
"text_format": "latex",
|
| 362 |
+
"bbox": [
|
| 363 |
+
392,
|
| 364 |
+
796,
|
| 365 |
+
606,
|
| 366 |
+
814
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "Given the decoding of the predicted motor programs, we can recompose these sub-trajectories to obtain a recomposed demonstration trajectory $\\tau _ { r e c }$ , and penalize the discrepancy between the observed and the recomposed demonstrations. Denoting by $\\oplus$ the concatenation operator, our loss for a given demonstration $\\tau _ { o b s }$ is therefore characterized as: ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
818,
|
| 376 |
+
825,
|
| 377 |
+
872
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"img_path": "images/9b8c172457088fb9968de1d7f5c510504b223546fcd523ae9e6ced416d1b2e52.jpg",
|
| 384 |
+
"text": "$$\n\\tau _ { r e c } = \\bar { \\tau } _ { 1 } \\oplus \\bar { \\tau } _ { 2 } \\cdot \\cdot \\cdot \\oplus \\bar { \\tau } _ { K } ; L ( \\tau _ { o b s } ; { \\mathcal { M } } , A ) = \\Delta ( \\tau _ { o b s } , \\tau _ { r e c } )\n$$",
|
| 385 |
+
"text_format": "latex",
|
| 386 |
+
"bbox": [
|
| 387 |
+
303,
|
| 388 |
+
876,
|
| 389 |
+
692,
|
| 390 |
+
892
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "As the trajectories $\\tau _ { o b s }$ , $\\tau _ { r e c }$ are possibly of different lengths, we use a pairwise matching cost between the two trajectories, where the optimal alignment is computed via dynamic time warping (Berndt & ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
173,
|
| 399 |
+
895,
|
| 400 |
+
828,
|
| 401 |
+
924
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "Clifford, 1994). This provides us with a more robust cost measure that handles different prediction lengths, is invariant to minor velocity perturbations, and enables the model to discard regions of inactivity in the demonstrations. Given two trajectories $\\tau _ { a } \\equiv ( s _ { 1 } \\cdots s _ { M } )$ , $\\tau _ { b } \\equiv ( s _ { 1 } \\cdots s _ { N } )$ , and a distance metric $\\delta$ over the state space, the discrepancy measure between trajectories can be defined as the matching cost for the optimal matching path $P$ among all possible valid matching paths $\\mathcal { P }$ (i.e. paths satisfying monotonicity, continuity, and boundary conditions (Berndt & Clifford, 1994)): ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
174,
|
| 410 |
+
103,
|
| 411 |
+
825,
|
| 412 |
+
188
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 4
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "equation",
|
| 418 |
+
"img_path": "images/9fcaac0f94c629223ae0df8c4ef30bfd0e914e3d1bcf1ab15dbffe8971b28e8d.jpg",
|
| 419 |
+
"text": "$$\n\\Delta ( \\tau _ { a } , \\tau _ { b } ) = \\operatorname* { m i n } _ { P \\in \\mathcal { P } } \\sum _ { ( m , n ) \\in P } \\delta ( \\tau _ { a } [ m ] , \\tau _ { b } [ n ] )\n$$",
|
| 420 |
+
"text_format": "latex",
|
| 421 |
+
"bbox": [
|
| 422 |
+
362,
|
| 423 |
+
204,
|
| 424 |
+
635,
|
| 425 |
+
241
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 4
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "As the recomposed trajectory comprises of distinct primitives, each of which implies a sequence of states, we sometimes observe discontinuities i.e. large state changes between the boundaries of these primitives. To prevent this, we additionally incorporate a smoothness loss $L _ { s m } ( \\tau _ { r e c } )$ that penalizes the state change across consecutive time-steps if they are larger than a certain margin. Our overall objective, comprising of the reconstruction objective and the smoothness prior, can allow us to jointly learn the space of motor programs and the abstraction of trajectories in an unsupervised manner. ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
174,
|
| 434 |
+
257,
|
| 435 |
+
825,
|
| 436 |
+
342
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 4
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "Network Architecture and Implementation Details. We parameterize our motor program network $\\mathcal { M }$ and our abstraction network $\\mathcal { A }$ as neural networks. In particular, the motor program network is a 4 layer LSTM (Graves et al., 2013) that takes a single 64 dimensional latent variable $z$ as input, and predicts a sequence of 16 dimensional states. For our abstraction network, we adopt the Transformer (Vaswani et al., 2017) architecture to take in a varying length 16 dimensional continuous joint angle trajectory $\\tau$ as input, and predict a variable number of latent variables $\\{ z \\}$ , that correspond to the sequence of motor programs $\\{ M \\}$ executed during trajectory $\\tau$ . We find the transformer architecture to be superior to LSTMs for processing long trajectories, due to its capacity to attend to parts of the trajectory as required. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
174,
|
| 445 |
+
348,
|
| 446 |
+
825,
|
| 447 |
+
474
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 4
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "Our abstraction network $\\mathcal { A }$ predicts a varying number of primitives by additionally predicting a ‘continuation probability’ $p _ { k }$ after each motor program variable $z _ { k }$ . We then predict an additional primitive only if the sampled discrete variable from $p _ { k }$ is 1, and therefore also need to learn the prediction of these probabilities. While the loss function above can directly yield gradients to the predicted motor program encoding $z _ { k }$ via $\\mathcal { M }$ , we use gradients using REINFORCE Williams (1992) (with $\\Delta ( \\tau _ { o b s } , \\tau _ { r e c } ) + L _ { s m } ( \\tau _ { r e c } )$ as negative reward) to learn prediction of $p _ { k }$ . ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
174,
|
| 456 |
+
481,
|
| 457 |
+
825,
|
| 458 |
+
565
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 4
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "3.2 ENFORCING SIMPLICITY AND PARSIMONY ",
|
| 465 |
+
"text_level": 1,
|
| 466 |
+
"bbox": [
|
| 467 |
+
174,
|
| 468 |
+
594,
|
| 469 |
+
509,
|
| 470 |
+
608
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "text",
|
| 476 |
+
"text": "While the objective described so far can in principle allow us to jointly learn the space of motor programs and understand the demonstration trajectories as a composition of these, there are additional properties we would wish to enforce to the bias the learning towards more desirable solutions. As an example, our framework presented so far can allow a solution where each demonstration is a motor program by itself i.e. the abstraction network can learn to map each demonstration to a unique $z$ and the primitive decoder can then decode this back. However, this is not a suitable solution as the learned motor programs are not ‘simple’. On the other extreme, a very simple notion of a motor program is one that models each transition independently. However, this is again undesirable as this does not ‘abstract’ away the details of control or represent the demonstration as a smaller number of motor programs. Therefore, in addition to enforcing that the learned motor programs recompose the demonstrations, we also need to enforce simplicity and parsimony of these motor programs. ",
|
| 477 |
+
"bbox": [
|
| 478 |
+
174,
|
| 479 |
+
625,
|
| 480 |
+
825,
|
| 481 |
+
777
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 4
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "text",
|
| 487 |
+
"text": "We incorporate these additional biases by adding priors in the objective or model space. To encourage the abstraction model to learn parsimonious abstractions of the input demonstrations, we penalize the number of motor primitives used to recompose the trajectory, by adding a small constant to the negative reward used to train the continuation probability $p _ { k }$ if the corresponding sample yielded an additional primitive. To enforce simplicity of motor primitives, we observe that the trajectories yielded by a classical planner (in our case, RRT-Connect) e.g. to go from an initial to final state are ‘simple’ and we therefore initialize the motor primitive network using the decoder of a pretrained autoencoder on random planner trajectories for (start, goal) state pairs. Note that this notion of ‘plannability’ as ‘simplicity’ is merely one plausible alternative, and alternate ones can be explored e.g. ‘linearity’ (Kroemer et al., 2015) or ‘predictability of motion’ (Wolpert & Kawato, 1998). ",
|
| 488 |
+
"bbox": [
|
| 489 |
+
173,
|
| 490 |
+
784,
|
| 491 |
+
825,
|
| 492 |
+
924
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 4
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "image",
|
| 498 |
+
"img_path": "images/1b4e964f97c73037c0014220c6b8bf5c59c637b3bf9b1f78c15f681200dad406.jpg",
|
| 499 |
+
"image_caption": [
|
| 500 |
+
"Figure 3: Visualization of the embedding of the latent representation of motor programs learned by our model (depicted on the left are the start configurations of each motor program, displayed at the corresponding position in the embedded space), and a set of sample primitives unrolled in time (depicted on the right). Each row corresponds to one primitive, annotated with semantic labels of what this motor primitive resembles. "
|
| 501 |
+
],
|
| 502 |
+
"image_footnote": [],
|
| 503 |
+
"bbox": [
|
| 504 |
+
191,
|
| 505 |
+
82,
|
| 506 |
+
820,
|
| 507 |
+
309
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 5
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "4 EXPERIMENTS ",
|
| 514 |
+
"text_level": 1,
|
| 515 |
+
"bbox": [
|
| 516 |
+
176,
|
| 517 |
+
381,
|
| 518 |
+
326,
|
| 519 |
+
397
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 5
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "We would like to ascertain how well our approach is capable of achieving our objective of successfully discovering and learning a good representation of the space of motor programs. Further, we seek to verify whether despite being learned in an unsupervised manner without semantic grounding, the learned primitive space is semantically meaningful. We would also like to evaluate how well they can be used to solve downstream RL tasks. We first provide a description of the data we wish to learn primitives from, followed by describing our quantitative and qualitative experiments towards verifying these three axes. ",
|
| 526 |
+
"bbox": [
|
| 527 |
+
174,
|
| 528 |
+
415,
|
| 529 |
+
825,
|
| 530 |
+
512
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 5
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "Dataset: We use the MIME dataset (Sharma et al., 2018) to train and evaluate our model. The dataset consists of over 8000 kinesthetic demonstrations of 20 tasks (such as pouring, pushing, bottle opening, stacking objects, etc.) collected on a real-world Baxter Robot. While the dataset has head and hand-mounted RGBD data, we use the Baxter joint angle trajectories to train our model. We consider a 16 dimensional space as our input and prediction space, consisting of 7 joints for each of the 2 arms, along with a scalar value for each gripper (we ignore torso and head joints). We emphasize this is a higher dimensional domain than most other related works consider. The gripper values are re-scaled to a $0 - 1$ range, while the joint angles are unnormalized. We temporally down-sample all joint angle data by a constant factor of 20 from the original data frequency of $1 0 0 \\mathrm { H z }$ . ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
173,
|
| 539 |
+
520,
|
| 540 |
+
825,
|
| 541 |
+
645
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 5
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "We randomly sample a train set of 5900 demonstrations from all 20 tasks, with a validation set of 1600 trajectories, and a held-out test set of 850 trajectories. To help evaluate the learned motor programs, we manually annotate a set of 60 test trajectories (3 trajectories from each task) with temporal segmentation annotations, as well as semantic labels of 10 primitives (such as reaching, twisting, pushing, etc.) that occur in these 60 trajectories. Note that these labels are purely for evaluation, our model does not have access to these annotations during training. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
651,
|
| 551 |
+
825,
|
| 552 |
+
736
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "4.1 VISUALIZING THE SPACE OF PRIMITIVES ",
|
| 559 |
+
"text_level": 1,
|
| 560 |
+
"bbox": [
|
| 561 |
+
174,
|
| 562 |
+
757,
|
| 563 |
+
500,
|
| 564 |
+
771
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 5
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "We would first like to evaluate the quality of the learned abstractions in and of themselves, i.e. Is our approach able to discover the space of motor programs, and learn a good representation of this space? We qualitatively answer this question by visualizing the latent representation space of motor primitives learned by our model. We first randomly sample a set of 500 trajectories unseen during training, then pass these trajectories through our model, and retrieve the predicted latent variables $\\{ z \\}$ for each of these trajectories and their corresponding movement sequences $\\{ { \\overline { { \\tau } } } \\}$ . We then embed the latent variables in a 2-dimensional space using T-SNE (van der Maaten & Hinton, 2008), and visualize the corresponding movement sequences at their corresponding position in this 2-D embedded space, as in Fig. 3. We provide a GIF version of Fig. 3 (and other visualizations) at https://sites.google.com/view/discovering-motor-programs/home. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
784,
|
| 574 |
+
825,
|
| 575 |
+
924
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "image",
|
| 581 |
+
"img_path": "images/4160295329ebb5b2736f44a43130310e2f7d0abdf62aba383d1f7de0954fd3bd.jpg",
|
| 582 |
+
"image_caption": [
|
| 583 |
+
"Figure 4: Depiction of execution of the learned primitives on real world Baxter robot. Each row is a single primitive, while columns show progress of the primitive over time. Row 1 depicts a left handed reaching primitive, while row 2 shows a right handed returning primitive. More visualizations provided in supplementary material, and videos are provided in the webpage. "
|
| 584 |
+
],
|
| 585 |
+
"image_footnote": [],
|
| 586 |
+
"bbox": [
|
| 587 |
+
176,
|
| 588 |
+
77,
|
| 589 |
+
821,
|
| 590 |
+
171
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 6
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "We observe that clusters of movement sequences emerge in this embedded space based on the relative motions executed during the course of these trajectory segments (similar latent variables correspond to similar movement sequences and vice versa). While these clusters are not explicitly semantically labelled by our approach, the motions in these clusters correlate highly with traditional notions of skills in robot manipulation, i.e. reaching motions (top and top-left clusters), returning motions (bottom cluster), bi-manual motions (visible to the bottom right of the left most cluster and the bottom of the right most cluster), etc. We visualize a few such primitives (reaching, twisting, grasping, bi-manual pulling, etc.) among these to the right of Fig. 3. This shows our model learns smooth mappings $\\mathcal { M }$ and $\\mathcal { A }$ , and is capable of discovering such primitives in an unsupervised manner without explicit temporal segmentation or semantic labels, which we believe is an encouraging result. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
266,
|
| 600 |
+
825,
|
| 601 |
+
405
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 6
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "Interestingly, the model learns abstractions that pick up on the trend of the motion, rather than distinguishing between whether the left or right hand is used for the motion. This is particularly notable in the case of reaching and returning motions, where both left and right-handed reaching and returning motions appear alongside each other in their respective clusters in the embedded space. ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
174,
|
| 610 |
+
412,
|
| 611 |
+
825,
|
| 612 |
+
468
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 6
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "4.1.1 EXECUTING PRIMITIVES ON A REAL ROBOT ",
|
| 619 |
+
"text_level": 1,
|
| 620 |
+
"bbox": [
|
| 621 |
+
174,
|
| 622 |
+
489,
|
| 623 |
+
532,
|
| 624 |
+
505
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "We would ideally like the learned primitives from our model to be useful on a real Baxter robot platform, and be suitably smooth, feasible, and correspond to the motions executed in simulation (i.e. be largely unaffected by the noise of execution on a real robot). To verify whether our model is indeed able to learn such primitives, we execute a small set of learned primitives on a real Baxter robot, by feeding in the trajectory predicted by the model into a simple position controller. We visualize the results of this execution in Fig. 4, (see project webpage for videos). Despite not explicitly optimizing for feasibility or transfer to a real robot, the use of real-world Baxter data to train our model heavily biases the model towards primitives that are inherently feasible, relatively smooth and can be executed on a real robot without any subsequent modifications. ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
174,
|
| 633 |
+
517,
|
| 634 |
+
825,
|
| 635 |
+
642
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "4.2 SEMANTIC SEGMENTATION TRANSFER USING LEARNED ABSTRACTIONS ",
|
| 642 |
+
"text_level": 1,
|
| 643 |
+
"bbox": [
|
| 644 |
+
178,
|
| 645 |
+
665,
|
| 646 |
+
717,
|
| 647 |
+
680
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "As the ‘recomposed’ trajectory can be aligned to the original demonstration via sequence alignment, our predicted abstractions induce a partitioning of the demonstrated trajectory (corresponding to the aligned boundaries of the predicted primitives). We test whether the predicted abstraction and induced partitions are consistent across different demonstrations from the same task. To this end, we select 3 instances of the “Drop Object” task (Sharma et al., 2018) from the annotated test set, and retrieve the induced segmentations of the demonstration. We then visualize these segmentations and motor programs predicted for each of these 3 demonstrations as depicted in Fig. 5, along with the ground truth semantic labels of primitives for each of the demonstrations. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
694,
|
| 657 |
+
825,
|
| 658 |
+
805
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "The alignment between a recomposed trajectory and the original demonstration also allows us to transfer semantic annotations from a demonstration to the predicted primitives, by simply copying labels from the demonstration to their aligned timepoints in the primitives. Therefore using our small set of annotated demonstrations, we can construct a small library of semantically annotated primitives. Given a novel, unseen demonstration, we can compute its predicted primitives and assign each a semantic label by copying the label of the nearest primitive from the library. This allows us to transfer semantic segmentations from our small annotated test set to unseen demonstrations. Our model’s transfer of semantic segmentation achieves label accuracy on the set of 30 held out trajectories (across all 20 tasks) of $58 \\%$ , while a supervised LSTM baseline that predicts semantic labels from trajectories (trained on 30 annotated test trajectories) achieves $54 \\%$ accuracy. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
813,
|
| 668 |
+
825,
|
| 669 |
+
924
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "image",
|
| 675 |
+
"img_path": "images/d4e449ab823b48a4e05b1f6ad9d15c26b964461e271c2af26c7a74dc4e6bb47d.jpg",
|
| 676 |
+
"image_caption": [
|
| 677 |
+
"Figure 5: Visualization of consistent segmentations. Each row represents a different instance of a “Drop Objects” task from the MIME Dataset, while each column represents a time-step in the demonstration. White frames represent predicted segmentation points, while colored boxes represent ground truth semantic annotations. Red boxes are reaching primitives, blue boxes are grasping, orange boxes are placing, and green boxes are returning primitives. We see our model predicts 4 motor programs - reaching, grasping, placing the object a small distance away, and returning. This is consistent with the true semantic annotations of these demonstrations, and the overall sequence of primitives expected of the “Drop Box” task. "
|
| 678 |
+
],
|
| 679 |
+
"image_footnote": [],
|
| 680 |
+
"bbox": [
|
| 681 |
+
183,
|
| 682 |
+
74,
|
| 683 |
+
816,
|
| 684 |
+
140
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 7
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "image",
|
| 690 |
+
"img_path": "images/775e83c070560161058c437dc3dfea7186217837d18d04253770463cc9b0c65f.jpg",
|
| 691 |
+
"image_caption": [
|
| 692 |
+
"Figure 6: RL training curves with and without motor programs. Solid lines denote mean success rate, while shaded region denotes $\\pm 1$ standard deviation across 10 random seeds. "
|
| 693 |
+
],
|
| 694 |
+
"image_footnote": [],
|
| 695 |
+
"bbox": [
|
| 696 |
+
253,
|
| 697 |
+
273,
|
| 698 |
+
740,
|
| 699 |
+
424
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 7
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "",
|
| 706 |
+
"bbox": [
|
| 707 |
+
174,
|
| 708 |
+
484,
|
| 709 |
+
821,
|
| 710 |
+
513
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 7
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "The consistency of our abstractions coupled with the ability to transfer semantic segmentations across demonstrations shows our model is capable of understanding commonalities across demonstrations, and is able to reason about various demonstrations in terms of motor programs shared across them, despite being trained in an unsupervised manner. ",
|
| 717 |
+
"bbox": [
|
| 718 |
+
174,
|
| 719 |
+
520,
|
| 720 |
+
825,
|
| 721 |
+
577
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 7
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "4.3 COMPOSING PRIMITIVES FOR HIERARCHICAL RL ",
|
| 728 |
+
"text_level": 1,
|
| 729 |
+
"bbox": [
|
| 730 |
+
173,
|
| 731 |
+
617,
|
| 732 |
+
560,
|
| 733 |
+
632
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 7
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "One of our primary motivations for learning motor programs is that they can be composed together to solve downstream robotic tasks. To evaluate whether the motor programs learned by our model are indeed useful for such downstream tasks, we adopt a hierarchical reinforcement learning setup (as described in detail in the supplementary). For a given task, we train a policy to predict the sequence of motor programs to execute. Given the predicted latent representations, each motor program is decoded into its corresponding motion sequence using the previously learned motor program network. We retrieve a sequence of desired joint velocities from this motion sequence and use a joint velocity controller to execute these “low-level” actions on the robot. The motor program network and the joint velocity controller together serve as an “abstraction” of the low-level control that is executed on the robot. Hence, the policy must learn to predict motor programs that correspond to motion sequences useful for solving the task at hand. ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
173,
|
| 742 |
+
652,
|
| 743 |
+
825,
|
| 744 |
+
805
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 7
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "As demonstrated in Fig. 6, training a policy using motor programs is several orders of magnitude more efficient than training with direct low-level actions. For the sparse reaching task, the motor program policy learns within 50 motor program queries, 2 orders of magnitude speedup in low-level control time-steps. For the sparse pushing task, the motor program policy learns within 1000 motor program queries, or a 2X speedup with respect to low-level control time-steps. We note that executing a motor program corresponds to 50 low level control steps (see appendix for details). However, as these motor programs are executed without environment feedback, the improvement in efficiency in terms of environment interactions is all the more significant. ",
|
| 751 |
+
"bbox": [
|
| 752 |
+
174,
|
| 753 |
+
813,
|
| 754 |
+
825,
|
| 755 |
+
924
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 7
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "5 CONCLUSION ",
|
| 762 |
+
"text_level": 1,
|
| 763 |
+
"bbox": [
|
| 764 |
+
176,
|
| 765 |
+
102,
|
| 766 |
+
318,
|
| 767 |
+
117
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 8
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "We have presented an unsupervised approach to discover motor programs from a set of unstructured robot demonstrations. Through the insight that learned motor programs should recompose into the original demonstration while being simplistic, we discover a coherent and diverse latent space of primitives on the MIME (Sharma et al., 2018) dataset. We also observed that the learned primitives were semantically meaningful, and useful for efficiently learning downstream tasks in simulation. We hope that the contributions from our work enable learning and executing primitives in a plethora of real-world robotic tasks. It would also be interesting to leverage the learned motor programs in context of continual learning, to investigate how the discovered space can be adapted and expanded in context of novel robotic tasks. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
133,
|
| 777 |
+
825,
|
| 778 |
+
258
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 8
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "REFERENCES ",
|
| 785 |
+
"text_level": 1,
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
281,
|
| 789 |
+
285,
|
| 790 |
+
296
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 8
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "Jack A Adams. A closed-loop theory of motor learning. Journal of motor behavior, 3(2):111–150, 1971. ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
173,
|
| 799 |
+
305,
|
| 800 |
+
825,
|
| 801 |
+
333
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 8
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Pulkit Agrawal, Ashvin V Nair, Pieter Abbeel, Jitendra Malik, and Sergey Levine. Learning to poke by poking: Experiential learning of intuitive physics. In NIPS, 2016. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
169,
|
| 810 |
+
343,
|
| 811 |
+
823,
|
| 812 |
+
372
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 8
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "Jacob Andreas, Dan Klein, and Sergey Levine. Modular multitask reinforcement learning with policy sketches. In ICML, 2017. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
171,
|
| 821 |
+
382,
|
| 822 |
+
821,
|
| 823 |
+
411
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 8
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"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 NIPS, 2017. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
422,
|
| 833 |
+
825,
|
| 834 |
+
464
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Jozefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, Jonas Schneider, Josh Tobin Szymon Sidor, Peter Welinder, Lilian Weng, and Wojciech Zaremba. Learning dexterous in-hand manipulation. arXiv preprint arXiv:1808.00177, 2018. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
173,
|
| 843 |
+
474,
|
| 844 |
+
825,
|
| 845 |
+
532
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Brenna D Argall, Sonia Chernova, Manuela Veloso, and Brett Browning. A survey of robot learning from demonstration. Robotics and autonomous systems, 2009. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
173,
|
| 854 |
+
541,
|
| 855 |
+
823,
|
| 856 |
+
571
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In AAAI, 2017. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
173,
|
| 865 |
+
580,
|
| 866 |
+
799,
|
| 867 |
+
597
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "Donald J Berndt and James Clifford. Using dynamic time warping to find patterns in time series. In KDD workshop, 1994. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
173,
|
| 876 |
+
606,
|
| 877 |
+
820,
|
| 878 |
+
636
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "John D Co-Reyes, YuXuan Liu, Abhishek Gupta, Benjamin Eysenbach, Pieter Abbeel, and Sergey Levine. Self-consistent trajectory autoencoder: Hierarchical reinforcement learning with trajectory embeddings. arXiv preprint arXiv:1806.02813, 2018. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
173,
|
| 887 |
+
646,
|
| 888 |
+
823,
|
| 889 |
+
689
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 8
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Christian Daniel, Herke Van Hoof, Jan Peters, and Gerhard Neumann. Probabilistic inference for determining options in reinforcement learning. Machine Learning, 2016. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
173,
|
| 898 |
+
699,
|
| 899 |
+
823,
|
| 900 |
+
728
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 8
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Anca D Dragan, Katharina Muelling, J Andrew Bagnell, and Siddhartha S Srinivasa. Movement primitives via optimization. In ICRA, 2015. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
173,
|
| 909 |
+
738,
|
| 910 |
+
823,
|
| 911 |
+
767
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 8
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "Nasser Esmaili, Claude Sammut, and GM Shirazi. Behavioural cloning in control of a dynamic system. IEEE, 1995. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
171,
|
| 920 |
+
776,
|
| 921 |
+
825,
|
| 922 |
+
806
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 8
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Richard E Fikes and Nils J Nilsson. Strips: A new approach to the application of theorem proving to problem solving. Artificial intelligence, 1971. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
171,
|
| 931 |
+
816,
|
| 932 |
+
825,
|
| 933 |
+
845
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 8
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Roy Fox, Sanjay Krishnan, Ion Stoica, and Ken Goldberg. Multi-level discovery of deep options. arXiv preprint arXiv:1703.08294, 2017. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
171,
|
| 942 |
+
856,
|
| 943 |
+
825,
|
| 944 |
+
885
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 8
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. IEEE, 2013. ",
|
| 951 |
+
"bbox": [
|
| 952 |
+
174,
|
| 953 |
+
895,
|
| 954 |
+
823,
|
| 955 |
+
924
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 8
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "Tuomas Haarnoja, Kristian Hartikainen, Pieter Abbeel, and Sergey Levine. Latent space policies for hierarchical reinforcement learning. arXiv preprint arXiv:1804.02808, 2018. ",
|
| 962 |
+
"bbox": [
|
| 963 |
+
171,
|
| 964 |
+
103,
|
| 965 |
+
823,
|
| 966 |
+
132
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 9
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "De-An Huang, Suraj Nair, Danfei Xu, Yuke Zhu, Animesh Garg, Li Fei-Fei, Silvio Savarese, and Juan Carlos Niebles. Neural task graphs: Generalizing to unseen tasks from a single video demonstration. In CVPR, 2019. ",
|
| 973 |
+
"bbox": [
|
| 974 |
+
176,
|
| 975 |
+
141,
|
| 976 |
+
823,
|
| 977 |
+
184
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 9
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "Steven W Keele. Movement control in skilled motor performance. Psychological bulletin, 70(6p1): 387, 1968. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
174,
|
| 986 |
+
194,
|
| 987 |
+
823,
|
| 988 |
+
223
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 9
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "Thomas Kipf, Yujia Li, Hanjun Dai, Vinicius Zambaldi, Alvaro Sanchez-Gonzalez, Edward Grefenstette, Pushmeet Kohli, and Peter Battaglia. Compile: Compositional imitation learning and execution. In ICML, 2019. ",
|
| 995 |
+
"bbox": [
|
| 996 |
+
174,
|
| 997 |
+
233,
|
| 998 |
+
826,
|
| 999 |
+
276
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 9
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "Jens Kober and Jan Peters. Learning motor primitives for robotics. In ICRA, 2009. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
173,
|
| 1008 |
+
285,
|
| 1009 |
+
715,
|
| 1010 |
+
301
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 9
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "George Konidaris and Andrew Barto. Skill chaining: Skill discovery in continuous domains. In the Multidisciplinary Symposium on Reinforcement Learning, Montreal, Canada, 2009. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
174,
|
| 1019 |
+
310,
|
| 1020 |
+
825,
|
| 1021 |
+
340
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 9
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "George Konidaris, Scott Kuindersma, Roderic Grupen, and Andrew Barto. Robot learning from demonstration by constructing skill trees. IJRR, 2012. ",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
176,
|
| 1030 |
+
349,
|
| 1031 |
+
823,
|
| 1032 |
+
378
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 9
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "Sanjay Krishnan, Roy Fox, Ion Stoica, and Ken Goldberg. Ddco: Discovery of deep continuous options for robot learning from demonstrations. arXiv preprint arXiv:1710.05421, 2017. ",
|
| 1039 |
+
"bbox": [
|
| 1040 |
+
173,
|
| 1041 |
+
387,
|
| 1042 |
+
825,
|
| 1043 |
+
417
|
| 1044 |
+
],
|
| 1045 |
+
"page_idx": 9
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"type": "text",
|
| 1049 |
+
"text": "Sanjay Krishnan, Animesh Garg, Sachin Patil, Colin Lea, Gregory Hager, Pieter Abbeel, and Ken Goldberg. Transition state clustering: Unsupervised surgical trajectory segmentation for robot learning. In RR. 2018. ",
|
| 1050 |
+
"bbox": [
|
| 1051 |
+
176,
|
| 1052 |
+
426,
|
| 1053 |
+
821,
|
| 1054 |
+
469
|
| 1055 |
+
],
|
| 1056 |
+
"page_idx": 9
|
| 1057 |
+
},
|
| 1058 |
+
{
|
| 1059 |
+
"type": "text",
|
| 1060 |
+
"text": "Oliver Kroemer, Christian Daniel, Gerhard Neumann, Herke Van Hoof, and Jan Peters. Towards learning hierarchical skills for multi-phase manipulation tasks. In ICRA, 2015. ",
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
173,
|
| 1063 |
+
479,
|
| 1064 |
+
823,
|
| 1065 |
+
508
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 9
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "Karl Spencer Lashley. The problem of serial order in behavior, volume 21. ",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
176,
|
| 1074 |
+
518,
|
| 1075 |
+
665,
|
| 1076 |
+
534
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "Sergey Levine, Chelsea Finn, Trevor Darrell, and Pieter Abbeel. End-to-end training of deep visuomotor policies. JMLR, 2016. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
173,
|
| 1085 |
+
542,
|
| 1086 |
+
823,
|
| 1087 |
+
571
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "Sergey Levine, Peter Pastor, Alex Krizhevsky, Julian Ibarz, and Deirdre Quillen. Learning hand-eye coordination for robotic grasping with deep learning and large-scale data collection. IJRR, 2018. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
174,
|
| 1096 |
+
582,
|
| 1097 |
+
821,
|
| 1098 |
+
612
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 9
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "Corey Lynch, Mohi Khansari, Ted Xiao, Vikash Kumar, Jonathan Tompson, Sergey Levine, and Pierre Sermanet. Learning latent plans from play. arXiv preprint arXiv:1903.01973, 2019. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
173,
|
| 1107 |
+
621,
|
| 1108 |
+
823,
|
| 1109 |
+
650
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 9
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "Franziska Meier, Evangelos Theodorou, Freek Stulp, and Stefan Schaal. Movement segmentation using a primitive library. In 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2011. ",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
174,
|
| 1118 |
+
659,
|
| 1119 |
+
826,
|
| 1120 |
+
703
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 9
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "Adithyavairavan Murali, Animesh Garg, Sanjay Krishnan, Florian T Pokorny, Pieter Abbeel, Trevor Darrell, and Ken Goldberg. Tsc-dl: Unsupervised trajectory segmentation of multi-modal surgical demonstrations with deep learning. In ICRA, 2016. ",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
174,
|
| 1129 |
+
712,
|
| 1130 |
+
825,
|
| 1131 |
+
756
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 9
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "Gerhard Neumann, Christian Daniel, Alexandros Paraschos, Andras Kupcsik, and Jan Peters. Learning modular policies for robotics. Frontiers in computational neuroscience, 8:62, 2014. ",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
173,
|
| 1140 |
+
765,
|
| 1141 |
+
825,
|
| 1142 |
+
795
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 9
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "Monica N Nicolescu and Maja J Mataric. Natural methods for robot task learning: Instructive demonstrations, generalization and practice. In AAMAS, 2003. ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
169,
|
| 1151 |
+
804,
|
| 1152 |
+
823,
|
| 1153 |
+
833
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 9
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "Scott Niekum, Sarah Osentoski, George Konidaris, and Andrew G Barto. Learning and generalization of complex tasks from unstructured demonstrations. IEEE, 2012. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
171,
|
| 1162 |
+
842,
|
| 1163 |
+
823,
|
| 1164 |
+
872
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 9
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "Jan Peters, Jens Kober, Katharina Mülling, Oliver Krämer, and Gerhard Neumann. Towards robot skill learning: From simple skills to table tennis. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 627–631. Springer, 2013. ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
174,
|
| 1173 |
+
881,
|
| 1174 |
+
825,
|
| 1175 |
+
924
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 9
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "Lerrel Pinto and Abhinav Gupta. Supersizing self-supervision: Learning to grasp from $5 0 \\mathrm { k }$ tries and 700 robot hours. In ICRA, 2016. ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
169,
|
| 1184 |
+
103,
|
| 1185 |
+
825,
|
| 1186 |
+
132
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 10
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "Stefan Schaal, Jan Peters, Jun Nakanishi, and Auke Ijspeert. Learning movement primitives. In RR, 2005. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
173,
|
| 1195 |
+
140,
|
| 1196 |
+
825,
|
| 1197 |
+
170
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 10
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "Richard A Schmidt. A schema theory of discrete motor skill learning. Psychological review, 82(4): 225, 1975. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
173,
|
| 1206 |
+
178,
|
| 1207 |
+
825,
|
| 1208 |
+
208
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 10
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
173,
|
| 1217 |
+
215,
|
| 1218 |
+
825,
|
| 1219 |
+
246
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 10
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "Pratyusha Sharma, Lekha Mohan, Lerrel Pinto, and Abhinav Gupta. Multiple interactions made easy (mime): Large scale demonstrations data for imitation. In CoRL, 2018. ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
173,
|
| 1228 |
+
253,
|
| 1229 |
+
823,
|
| 1230 |
+
284
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 10
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "Kyriacos Shiarlis, Markus Wulfmeier, Sasha Salter, Shimon Whiteson, and Ingmar Posner. Taco: Learning task decomposition via temporal alignment for control. arXiv preprint arXiv:1803.01840, 2018. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
176,
|
| 1239 |
+
291,
|
| 1240 |
+
825,
|
| 1241 |
+
335
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 10
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "Matthew Smith, Herke Hoof, and Joelle Pineau. An inference-based policy gradient method for learning options. In ICML, 2018. ",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
171,
|
| 1250 |
+
343,
|
| 1251 |
+
825,
|
| 1252 |
+
372
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 10
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "text",
|
| 1258 |
+
"text": "Shao-Hua Sun, Hyeonwoo Noh, Sriram Somasundaram, and Joseph Lim. Neural program synthesis from diverse demonstration videos. In ICML, 2018. ",
|
| 1259 |
+
"bbox": [
|
| 1260 |
+
174,
|
| 1261 |
+
381,
|
| 1262 |
+
821,
|
| 1263 |
+
410
|
| 1264 |
+
],
|
| 1265 |
+
"page_idx": 10
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"type": "text",
|
| 1269 |
+
"text": "Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 1999. ",
|
| 1270 |
+
"bbox": [
|
| 1271 |
+
173,
|
| 1272 |
+
419,
|
| 1273 |
+
821,
|
| 1274 |
+
449
|
| 1275 |
+
],
|
| 1276 |
+
"page_idx": 10
|
| 1277 |
+
},
|
| 1278 |
+
{
|
| 1279 |
+
"type": "text",
|
| 1280 |
+
"text": "L.J.P. van der Maaten and G.E. Hinton. Visualizing high-dimensional data using t-sne. 2008. ",
|
| 1281 |
+
"bbox": [
|
| 1282 |
+
171,
|
| 1283 |
+
457,
|
| 1284 |
+
784,
|
| 1285 |
+
473
|
| 1286 |
+
],
|
| 1287 |
+
"page_idx": 10
|
| 1288 |
+
},
|
| 1289 |
+
{
|
| 1290 |
+
"type": "text",
|
| 1291 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. 2017. URL https://arxiv.org/ pdf/1706.03762.pdf. ",
|
| 1292 |
+
"bbox": [
|
| 1293 |
+
174,
|
| 1294 |
+
479,
|
| 1295 |
+
825,
|
| 1296 |
+
523
|
| 1297 |
+
],
|
| 1298 |
+
"page_idx": 10
|
| 1299 |
+
},
|
| 1300 |
+
{
|
| 1301 |
+
"type": "text",
|
| 1302 |
+
"text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 1992. ",
|
| 1303 |
+
"bbox": [
|
| 1304 |
+
173,
|
| 1305 |
+
531,
|
| 1306 |
+
823,
|
| 1307 |
+
561
|
| 1308 |
+
],
|
| 1309 |
+
"page_idx": 10
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"type": "text",
|
| 1313 |
+
"text": "Daniel M Wolpert and Mitsuo Kawato. Multiple paired forward and inverse models for motor control. Neural networks, 1998. ",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
174,
|
| 1316 |
+
569,
|
| 1317 |
+
823,
|
| 1318 |
+
599
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 10
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "text",
|
| 1324 |
+
"text": "Danfei Xu, Suraj Nair, Yuke Zhu, Julian Gao, Animesh Garg, Li Fei-Fei, and Silvio Savarese. Neural task programming: Learning to generalize across hierarchical tasks. In ICRA, 2018. ",
|
| 1325 |
+
"bbox": [
|
| 1326 |
+
173,
|
| 1327 |
+
607,
|
| 1328 |
+
823,
|
| 1329 |
+
637
|
| 1330 |
+
],
|
| 1331 |
+
"page_idx": 10
|
| 1332 |
+
},
|
| 1333 |
+
{
|
| 1334 |
+
"type": "text",
|
| 1335 |
+
"text": "A APPENDIX ",
|
| 1336 |
+
"text_level": 1,
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
176,
|
| 1339 |
+
102,
|
| 1340 |
+
297,
|
| 1341 |
+
117
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 11
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "A.1 EXECUTING PRIMITIVES ON A REAL ROBOT ",
|
| 1348 |
+
"text_level": 1,
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
174,
|
| 1351 |
+
133,
|
| 1352 |
+
517,
|
| 1353 |
+
147
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 11
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "We provide additional visualizations of primitives being executed on the real robot below. As mentioned in the main paper, dynamic GIFs of these visualizations may be found at https://sites.google.com/view/discovering-motor-programs/home. ",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
174,
|
| 1362 |
+
160,
|
| 1363 |
+
825,
|
| 1364 |
+
202
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 11
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "image",
|
| 1370 |
+
"img_path": "images/cab74fb8e8d904bb0f8dc85196e36e5ae7698f599953b3da2c77612c8b2206f9.jpg",
|
| 1371 |
+
"image_caption": [
|
| 1372 |
+
"Figure 7: Depiction of execution of additional learned primitives on real world Baxter robot. As in Fig. 4, each row is a single primitive, while columns show progress of the primitive over time. Row 1 depicts a left handed returning primitive, row 2 depicts a right handed pushing primitive, row 3 depicts a left handed pushing primitive (in a different configuration to the left handed one), and finally row 4 depicts a right handed twisting primitive. "
|
| 1373 |
+
],
|
| 1374 |
+
"image_footnote": [],
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
176,
|
| 1377 |
+
215,
|
| 1378 |
+
821,
|
| 1379 |
+
402
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Our results webpage https://sites.google.com/view/discovering-motor-programs/home also contains visualizations of predicted combinations of primitives being executed on the real robot (as well as in simulation), along with corresponding demonstrations for comparison. We note that both the individual primitives, as well as the combinations of primitives are executed quite smoothly and naturally, and lead to motions that correspond highly to the original demonstrations. This indicates such combinations of primitives can indeed be used towards downstream tasks on the real robot. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
174,
|
| 1388 |
+
482,
|
| 1389 |
+
825,
|
| 1390 |
+
565
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "A.2 DETAILS OF HIERARCHICAL REINFORCEMENT LEARNING SETUP ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
176,
|
| 1399 |
+
582,
|
| 1400 |
+
669,
|
| 1401 |
+
597
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "For our hierarchical reinforcement learning experiments, we perform policy learning on two sparse reward (Andrychowicz et al., 2017) tasks on a simulated Baxter Robot: (a) Reaching, and (b) Pushing. For the reaching task, the robot’s end-effector needs to reach a specific location in space, while for the pushing task, the robot needs to push a block on the table to a specific location. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
174,
|
| 1410 |
+
608,
|
| 1411 |
+
825,
|
| 1412 |
+
664
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "For Baxter-Reaching task, the goal is to get the right-hand’s end-effector to a pre-defined goal (x,y,z) state. The reward is a sparse reward with epsilon $\\scriptstyle 1 = 0 . 0 5 \\mathrm { m }$ ; So if the end-effector reaches within $5 \\mathrm { c m }$ of the goal, it gets a reward of $+ 1$ , otherwise it gets a reward of 0. For Baxter-Push, the goal is to get a block (cube) to the desired goal with epsilon $= 0 . 0 5 \\mathrm { m }$ . To do this, the robot needs to hit/push the block to the goal. There is no other dense reward to encourage the robot to hit the block. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
174,
|
| 1421 |
+
671,
|
| 1422 |
+
825,
|
| 1423 |
+
741
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "We train both our motor program policy and the baseline control policy using Proximal Policy Optimization (Schulman et al., 2017). Note that the motor program policy outputs the latent representation $z$ . Each $z$ expands into a 10 length trajectory according the motor program network. To reach each of these trajectory states, a PD velocity controller is used for 5 time-steps. The baseline control policy directly outputs the velocity control action. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
174,
|
| 1432 |
+
748,
|
| 1433 |
+
825,
|
| 1434 |
+
818
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "We note that our PPO baseline implements the same action for 10 timesteps, in a manner similar to frame-skipping, as is common in RL. We found that varying the number of timesteps frame-skipping was applied for did not have a significant effect on the performance of PPO. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
174,
|
| 1443 |
+
825,
|
| 1444 |
+
825,
|
| 1445 |
+
867
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
}
|
| 1449 |
+
]
|